symlink to /proc/mounts
devine at iie.cnam.fr
Thu Jan 2 02:43:11 PST 2003
Bill Maltby - LFS Related <lfsbill at wlmcs.com> wrote:
> OMG! Should not be. Have you checked for patches? There are several
> related to Adaptec HAs (which I have) and some related to queue handling,
Well, I have the following model:
- from dmesg:
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.4
<Adaptec 2940 Ultra SCSI adapter>
aic7880: Single Channel A, SCSI Id=7, 16/253 SCBs
- from /proc/pci:
Bus 0, device 18, function 0:
SCSI storage controller: Adaptec AIC-7881U (rev 0).
Master Capable. Latency=64. Min Gnt=8.Max Lat=8.
I/O at 0xe800 [0xe8ff].
Non-prefetchable 32 bit memory at 0xef000000 [0xef000fff].
Do you think patching the kernel would make things better ?
If so, I'm _really_ interested by those patches :-)
I know the disk is not faulty because some time ago, on another
machine (with another SCSI controller, not an Adaptec btw), it did
work just fine. And now, the kernel sometimes fails to read a sector,
which results in read-only remounts, or often this:
$ ls -A /tmp
/bin/ls: Input/output error
$ ls -A /tmp
I get the following message in my kernel log:
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
Current sd08:02: sns = 70 1
Raw sense data:0x70 0x00 0x01 0x00 0x00 0x00 0x00 0x0e 0x00 0x00 0x00 0x00 0x5d 0x32 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
I/O error: dev 08:02, sector 85968
> Also, the kernel config help warns against certain "adjustments" from the
> default queue size (8 for the adaptec, IIRC).
I believe I leaved that parameter untouched; however I did set
CONFIG_AIC7XXX_RESET_DELAY_MS=1000 so that the kernel justs waits 1s
(instead of 15) waiting for SCSI devices to set up.
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message
More information about the lfs-dev