Subject: check condition and unresponsiveness
To: None <port-i386@netbsd.org>
From: nmanisca <nmanisca@vt.edu>
List: port-i386
Date: 09/27/2002 00:10:53
Hey all, first, thanks for 1.6.  It's quite nice.

Now to the nitty gritty...

I was running cda today (came from xmcd in pkgsrc) in prep for ripping
some waves from a cd I had burned (CDR), and my system seemed to lock
up, hard.  No mouse movement, didn't respond to pings, etc.

After 10-30 the system unwedged itself and I appeared to have control
again... about 10 more seconds and it re-wedged... this cycled repeated
until I shutdown.

I noticed a bunch of these in /var/log/messages:
Sep 26 19:51:54 anomaly /netbsd: cd0(pciide0:1:0):  Check Condition on CDB: 
0x28 00 00 00 00 00 00 00 01 00
Sep 26 19:51:54 anomaly /netbsd:     SENSE KEY:  Illegal Request
Sep 26 19:51:54 anomaly /netbsd:      ASC/ASCQ:  Illegal Mode For This Track
Sep 26 19:51:54 anomaly /netbsd: 
Sep 26 19:51:54 anomaly /netbsd: cd0: dos partition I/O error

on the console I saw

pciide0:1:0: piomode timed out
pciide0:1:0: reset failed
pciide0:1:0: lost interrupt
        type: atapi tc_bcount: 0 tc_skip: 0
pciide0:1:0: piomode timed out
pciide0:1:0: reset failed

I've repeated with with three different burned cds, haven't tried a non burned
cd just yet (but I plan to).

Can someone explain what is happening?  I've included dmesg output at the
end of this email.  I'm happy to provide information that would aid in
tracking this down, just ask.

Thank you,
Nicholas Maniscalco



NetBSD 1.6 (ANOMALY) #1: Tue Sep 17 03:07:12 UTC 2002
    fb@anomaly.stupid.net:/usr/src/sys/arch/i386/compile/ANOMALY
cpu0: AMD Athlon Model 6 (Palomino) (686-class), 1666.30 MHz
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 256 KB 64b/line 16-way
cpu0: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 383fbff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 383fbff<FXSR,SSE>
total memory = 1023 MB
avail memory = 944 MB
using 6144 buffers containing 52508 KB of memory
BIOS32 rev. 0 found at 0xf1a70
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies VT8366 (Apollo KT266) CPU-PCI Bridge (rev. 0x00)
agp0 at pchb0: aperture at 0xe0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8366 CPU-AGP Bridge (rev. 
0x00
)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Matrox MGA G400 AGP (rev. 0x85)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
cmpci0 at pci0 dev 5 function 0: C-Media Electronics Inc CMI8738/C3DX PCI 
Audio 
Device (rev. 0x10)
cmpci0: interrupting at irq 10
audio0 at cmpci0: full duplex, mmap, independent
opl0 at cmpci0: model OPL3: LR swapped
midi0 at opl0: CMPCI Yamaha OPL3
mpu0 at cmpci0
midi1 at mpu0: CMPCI MPU-401 MIDI UART
Texas Instruments product 0x8023 (Firewire serial bus, interface 0x10) at pci0 
d
ev 7 function 0 not configured
uhci0 at pci0 dev 9 function 0: VIA Technologies VT83C572 USB Controller (rev. 
0
x50)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 9 function 1: VIA Technologies VT83C572 USB Controller (rev. 
0
x50)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
VIA Technologies product 0x3104 (USB serial bus, interface 0x20, revision 
0x51) 
at pci0 dev 9 function 2 not configured
tlp0 at pci0 dev 15 function 0: DECchip 21140A Ethernet, pass 2.2
tlp0: interrupting at irq 5
tlp0: Ethernet address 00:00:e8:40:9e:c6
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 0
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp1 at pci0 dev 16 function 0: DECchip 21140A Ethernet, pass 2.2
tlp1: interrupting at irq 9
tlp1: Ethernet address 00:00:e8:3b:27:c9
lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev. 0
lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 17 function 0
pcib0: VIA Technologies VT8233A PCI-ISA Bridge (rev. 0x00)
pciide0 at pci0 dev 17 function 1: VIA Technologies VT8233A ATA133 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <WDC WD1200BB-00CAA1>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 111 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA 
data
 transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <YAMAHA  CRW3200E, , 1.0b> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA 
data 
transfers)
uhci2 at pci0 dev 17 function 2: VIA Technologies VT83C572 USB Controller 
(rev. 
0x23)
uhci2: interrupting at irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 17 function 3: VIA Technologies VT83C572 USB Controller 
(rev. 
0x23)
uhci3: interrupting at irq 9
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
biomask eb45 netmask eb65 ttymask fbe7
Kernelized RAIDframe activated
uhub0: port error, restarting port 1
uhub0: port error, restarting port 2
uhub1: port error, restarting port 1
uhub1: port error, restarting port 2
uhub2: port error, restarting port 1
uhub2: port error, restarting port 2
uhub3: port error, restarting port 1
uhub3: port error, restarting port 2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
IP Filter: v3.4.27 initialized.  Default = pass all, Logging = enabled
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)