/proc/bus/pci odd behavior

Tymm Twillman (tymm@coe.missouri.edu)
Thu, 15 Oct 1998 05:00:34 -0500


While digging through some of the /proc files, I stumbled across some
interesting behavior in /proc/bus/pci. This doesn't seem to be very
serious, as things recover just fine after a few seconds, and it only
works as root, but reading a file in /proc/bus/pci/00 on my system (09.0
in this case) causes my SCSI controller to flip. Here's the console
messages from 2 succesive reads:

ncr53c875J-0: SCSI parity error detected: SCR1=65 DBC=50000000 SSTAT1=f
scsi : aborting command due to timeout : pid 75486, scsi0, channel 0, id 0, lun 0 Write (6) 04 14 e8 02 00
ncr53c8xx_abort: pid=75486 serial_number=75544 serial_number_at_timeout=75544
ncr53c875J-0: abort ccb=c0004020 (cancel)
scsi : aborting command due to timeout : pid 75487, scsi0, channel 0, id 0, lun 0 Read (10) 00 00 23 88 7a 00 00 10 00
ncr53c8xx_abort: pid=75487 serial_number=75545 serial_number_at_timeout=75545
ncr53c875J-0: abort ccb=c7bbb020 (cancel)
SCSI host 0 abort (pid 75487) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
ncr53c8xx_reset: pid=75487 reset_flags=2 serial_number=75545 serial_number_at_timeout=75545
ncr53c875J-0: resetting, command processing suspended for 2 seconds
ncr53c875J-0: restart (scsi reset).
ncr53c875J-0: enabling clock multiplier
ncr53c875J-0: Downloading SCSI SCRIPTS.
ncr53c875J-0: command processing resumed
ncr53c875J-0-<0,*>: WIDE SCSI (16 bit) enabled.
ncr53c875J-0-<0,*>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 15)
ncr53c875J-0: SCSI parity error detected: SCR1=65 DBC=50000000 SSTAT1=7
ncr53c875J-0: SCSI phase error fixup: CCB already dequeued (0xc7ec7820)
ncr53c875J-0: resetting, command processing suspended for 2 seconds
ncr53c875J-0: restart (scsi reset).
ncr53c875J-0: enabling clock multiplier
ncr53c875J-0: Downloading SCSI SCRIPTS.
ncr53c875J-0: command processing resumed
ncr53c875J-0-<0,*>: WIDE SCSI (16 bit) enabled.
ncr53c875J-0-<0,*>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 15)

I assume that the files correspond to irqs (I have a Diamond Fireport 40
as the card that's complaining, plus a Compaq Symbios 53c875 card of some
sort, and a Diamond G460 sharing irq 9). Motherboard is a Gigabyte
5AX (with an award bios that seems to like nothing more than
throwing lots of devices on a single IRQ). Kernel is 2.1.125 with the ac1
patch installed.

-Tymm

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/