Kernel 2.4.18 / aic7xxx 6.2.4 - 'Free block count corrupted'
Tony Clark
tony at rsp.com.au
Mon Mar 25 12:11:41 PST 2002
Hi there,
I'm trying to get a large raid working on 2.4.18 without much luck. I wrote
a little test to see if it worked properly that goes like this:
#!/bin/bash
i=1000
for((i=1000;i != 0;i--)); do
time -p dd if=/dev/zero of=./bigfile.$i bs=2k count=1024
echo $i
done
Which when run goes OK for about 100 files, then:
dd: opening `./bigfile.795': No space left on device
real 0.00
user 0.00
sys 0.00
795
dd: opening `./bigfile.794': No space left on device
real 0.00
user 0.00
sys 0.00
794
In my syslog, I see:
Mar 26 07:16:20 r5 kernel: (scsi0:A:1:0): Locking max tag count at 64
and have previously seen:
Mar 25 21:31:51 r5 kernel: EXT2-fs error (device sd(8,16)):
ext2_free_blocks: bit already cleared for block 3768318
Mar 25 21:31:51 r5 kernel: EXT2-fs error (device sd(8,16)):
ext2_free_blocks: bit already cleared for block 3768319
Mar 25 22:49:22 r5 kernel: EXT2-fs error (device sd(8,16)): ext2_new_block:
Free blocks count corrupted for block group 6
...repeated hunderds of times. All of these things happen on the system
disk and raid unit in the same way.
>From my /proc/scsi/aic7xxx/0:
[root at r5 tmp]# cat /proc/scsi/aic7xxx/0
Adaptec AIC7xxx driver version: 6.2.4
aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
Channel A Target 0 Negotiation Settings
User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 1 Negotiation Settings
User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Goal: 80.000MB/s transfers (40.000MHz, offset 31, 16bit)
Curr: 80.000MB/s transfers (40.000MHz, offset 31, 16bit)
Channel A Target 1 Lun 0 Settings
Commands Queued 18203
Commands Active 0
Command Openings 64
Max Tagged Openings 64
Device Queue Frozen Count 0
I've tried a number of variations on filesystems, etc, but it keeps pointing
back to the scsi driver as the problem. The macihne has the internal AIC
chipset, as well as a 39160 in the pci slot for the external raid.
Is anyone able to suggest how I might move forward with resolving this?
Any help appreciated; I'm feeling desperate...
Thanks,
Tony
--
Tony Clark tony at rsp.com.au
Rising Sun Pictures Tel: +6 18 8364 6074
Adelaide, Australia Fax: +61 8 8364 6075
http://www.rsp.com.au/
To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message
More information about the aic7xxx
mailing list