Fdomain + CD ROM access -> kernel panic

Dean Martin Townsley (townsley@physics.ucsb.edu)
Sat, 04 Sep 1999 13:12:21 -0700


I posted this problem a bit back and didn't get much response so I figured I
would try again. I have a Acer CRW6206A ATAPI CD-R/W drive and an Adaptec
AHA 2920 (fdomain) PCI scsi adaptor both attached to a FIC motherboard with
a VIA Apollo MVP3 chipset. If I put in a CD and mount it and do:

bash# cat /mnt/cdrom/updates/* > /dev/null & strace cat /usr/bin/X11/* > /dev/null

the strace stops reporting in the middle of a read within about 2 seconds,
and I then get SCSI timeout errors coming up on the screen eventually ending
with a

Kernel panic: scsi: <fdomain> fdomain_16x0_queue() NOT REENTRANT!
In swapper task - not syncing

Using either the CD or the SCSI without accessing the other works fine. I've
tried all kinds of stuff (moving cards around, changing BIOS settings etc etc)
to no avail. Any suggestions on a way to figure out what is going on would
be much appreciated.

Thanks,
-Dean Townsley
<townsley@physics.ucsb.edu>

P.S. Original message with more info is at:
http://kernelnotes.org/lnxlists/linux-kernel/lk_9908_04/msg01076.html

P.P.S. here are my /proc/pci and bootup (hardware detection) messages for info

PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies VT 82C597 Apollo VP3 (rev 4).
Medium devsel. Fast back-to-back capable. Master Capable.
Latency=16.
Prefetchable 32 bit memory at 0xe0000000 [0xe0000008].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies VT 82C598 Apollo MVP3 AGP (rev 0).
Medium devsel. Master Capable. No bursts. Min Gnt=12.
Bus 0, device 7, function 0:
ISA bridge: VIA Technologies VT 82C586 Apollo ISA (rev 71).
Medium devsel. Master Capable. No bursts.
Bus 0, device 7, function 1:
IDE interface: VIA Technologies VT 82C586 Apollo IDE (rev 6).
Medium devsel. Fast back-to-back capable. Master Capable.
Latency=64.
I/O at 0xe400 [0xe401].
Bus 0, device 8, function 0:
SCSI storage controller: Future Domain TMC-18C30 (rev 0).
Medium devsel. Fast back-to-back capable. IRQ 10.
I/O at 0xe800 [0xe801].
Bus 0, device 9, function 0:
Ethernet controller: Realtek 8029 (rev 0).
Medium devsel. IRQ 11.
I/O at 0xec00 [0xec01].
Bus 1, device 0, function 0:
VGA compatible controller: Matrox Matrox G200 AGP (rev 1).
Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable.
Latency=64. Min Gnt=16.Max Lat=32.
Prefetchable 32 bit memory at 0xe8000000 [0xe8000008].
Non-prefetchable 32 bit memory at 0xe4000000 [0xe4000000].
Non-prefetchable 32 bit memory at 0xe5000000 [0xe5000000].

Linux version 2.2.12 (dean@odysseus) (gcc version egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)) #1 Sat Aug 28 15:30:32 PDT 1999
Detected 350804278 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 699.60 BogoMIPS
Memory: 62972k/65472k available (1052k kernel code, 412k reserved, 996k data,
40k init)
CPU: AMD AMD-K6(tm) 3D processor stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch (rgooch@atnf.csiro.au)
PCI: PCI BIOS revision 2.10 entry at 0xfb320
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: 00:38 [1106/0586]: Work around ISA DMA hangs (00)
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP]
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
ttyS03 at 0x02e8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
lp0: using parport0 (polling).
Real Time Clock Driver v1.09
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xe400-0xe407, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xe408-0xe40f, BIOS settings: hdc:DMA, hdd:DMA
hda: Conner Peripherals 240MB - CP30254, ATA DISK drive
hdd: CRW6206A, ATAPI CDROM drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Conner Peripherals 240MB - CP30254, 240MB w/32kB Cache, CHS=895/10/55
hdd: ATAPI 6X CD-ROM CD-R/RW drive, 512kB Cache
Uniform CDROM driver Revision: 2.55
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
scsi0: <fdomain> No BIOS; using scsi id 7
scsi0: <fdomain> TMC-36C70 (PCI bus) chip at 0xe800 irq 10
scsi0 : Future Domain 16-bit SCSI Driver Version 5.50
scsi : 1 host.
Vendor: FUJITSU Model: M1606S-512 Rev: 6220
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 6, lun 0
scsi : detected 1 SCSI disk total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 2131992 [1041 MB] [1.0 GB]
PPP: version 2.3.7 (demand dialling)
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
ne2k-pci.c:vpre-1.00e 5/27/99 D. Becker/P. Gortmaker
http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html
ne2k-pci.c: PCI NE2000 clone 'RealTek RTL-8029' at I/O 0xec00, IRQ 11.
eth0: RealTek RTL-8029 found at 0xec00, IRQ 11, 00:C0:F0:45:2E:2D.
Partition check:
sda: sda1 sda2
hda: hda1 hda2
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 40k freed
Adding Swap: 31068k swap-space (priority -1)
Adding Swap: 101372k swap-space (priority 1)
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 4.16 detected OK (220)
nfsd_init: initialized fhcache, entries=256

-
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/