atom feed2 messages in org.freebsd.freebsd-hackerspaging activity on Adaptec 1542B
FromSent OnAttachments
Giuseppe VitillaroJun 12, 1996 2:33 am 
J WunschJun 15, 1996 6:16 am 
Subject:paging activity on Adaptec 1542B
From:Giuseppe Vitillaro (pep@unipg.it)
Date:Jun 12, 1996 2:33:06 am
List:org.freebsd.freebsd-hackers

I'm trying to use an old SCSI Adaptec 1542b controller to setup my new Pentium FreeBSD WS, with FreeBSD 2.1.0R. The controller alredy has the updated 3.20 Adaptec BIOS and firmware.

I'm just testing the configuration using a little program that just produce a lot of paging activity.

Here is the program: ================================================ #include <stdlib.h> #include <stdio.h> #include <time.h>

#define LEN 20*1024*1024

int main ( int argc, char **argv ) { char *p; int i=0,j; time_t t;

p = malloc(LEN); if (!p) { printf("Alloc error\n"); exit(1); }

while(++i) { for ( j=0; j < LEN; j++ ) p[j] = 0xAA;

sleep(60);

time(&t);

printf ("%010d - %s", i, ctime(&t)); fflush(stdout); }

free(p);

return ( 0 ); } ================================================

The machines has 16Mb RAM, so this innocent program is just stressing the machine by continuosly paging in and out.

The machine work fine for one o two days, then panics with messages like:

Jun 11 19:26:04 phoenix /kernel: swap_pager_finish: I/O error, clean of page
2e7000 failed Jun 11 19:26:04 phoenix /kernel: sd0(aha0:0:0): timed out Jun 11 19:26:04 phoenix /kernel: adapter not taking commands.. frozen?! Jun 11 19:26:05 phoenix /kernel: Debugger("aha1542") called. Jun 11 19:26:05 phoenix /kernel: Jun 11 19:26:05 phoenix /kernel: sd0(aha0:0:0): timed out Jun 11 19:26:05 phoenix /kernel: adapter not taking commands.. frozen?! Jun 11 19:26:05 phoenix /kernel: Debugger("aha1542") called. Jun 11 19:26:05 phoenix /kernel: AGAIN Jun 11 19:26:05 phoenix /kernel: aha0: MBO 02 and not 00 (free) Jun 11 19:26:05 phoenix /kernel: sd0(aha0:0:0): timed out Jun 11 19:26:05 phoenix /kernel: adapter not taking commands.. frozen?! Jun 11 19:26:05 phoenix /kernel: Debugger("aha1542") called. Jun 11 19:26:05 phoenix /kernel: Jun 11 19:26:06 phoenix /kernel: sd0(aha0:0:0): timed out Jun 11 19:26:06 phoenix /kernel: adapter not taking commands.. frozen?! Jun 11 19:26:06 phoenix /kernel: Debugger("aha1542") called. Jun 11 19:26:06 phoenix /kernel: AGAIN Jun 11 19:26:06 phoenix /kernel: aha0: MBO 02 and not 00 (free) Jun 11 19:26:06 phoenix /kernel: sd0(aha0:0:0): timed out Jun 11 19:26:06 phoenix /kernel: adapter not taking comman

I already tried to change the disk (thinking an HW error) but I had the same problem again. The problem doesn't seems to present if the machine is not paging so much.

Looking to this list I found another reference (but to a 2940 I believe) on the same problem.

Any idea on what may be wrong? I suspect a SW problem, but may be at the same time an HW problem.

Thank in advance, Peppe.