Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2004 21:03:52 +0100
From:      Holger Kipp <hk@intserv.int1.b.intern>
To:        stable@freebsd.org
Subject:   umass panic (after detaching/attaching card-reader 3 times)
Message-ID:  <20040306210352.A6806@intserv.int1.b.intern>
In-Reply-To: <20040229164031.A56175@intserv.int1.b.intern>; from Holger.Kipp@alogis.com on Sun, Feb 29, 2004 at 04:40:31PM %2B0100
References:  <Pine.BSF.4.21.0402271745150.23658-100000@InterJet.elischer.org> <20040229141720.GA447@tuatara.fishballoon.org> <20040229164031.A56175@intserv.int1.b.intern>

next in thread | previous in thread | raw e-mail | index | archive | help
Greetings,

I experience a very repeatably but unwanted behaviour with umass/usb:

System hangs/panics after detaching and attaching 8-in-1 Card Reader
several times. Card Reader is attached to Cypress Semiconductor Slim
Hub (ie not directly), but using the built-in hub give the same 
results.

Please not that currently this happens _without_ any card inserted
into the card-reader.

Please let me know if additional information is needed (syslog below).

Regards,
Holger Kipp




This is what var/log/messages has to say:

Mar  6 20:28:40 katrin /kernel: Copyright (c) 1992-2003 The FreeBSD Project.
Mar  6 20:28:40 katrin /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Mar  6 20:28:40 katrin /kernel: The Regents of the University of California. All rights reserved.
Mar  6 20:28:40 katrin /kernel: FreeBSD 4.9-STABLE #37: Sat Mar  6 18:32:33 CET 2004
Mar  6 20:28:40 katrin /kernel: root@katrin:/usr/obj/usr/src/sys/KATRIN
Mar  6 20:28:40 katrin /kernel: Timecounter "i8254"  frequency 1193182 Hz
Mar  6 20:28:40 katrin /kernel: CPU: AMD Duron(tm) Processor (1300.23-MHz 686-class CPU)
Mar  6 20:28:40 katrin /kernel: Origin = "AuthenticAMD"  Id = 0x671  Stepping = 1
Mar  6 20:28:40 katrin /kernel: Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
Mar  6 20:28:40 katrin /kernel: AMD Features=0xc0400000<AMIE,DSP,3DNow!>
Mar  6 20:28:40 katrin /kernel: real memory  = 536805376 (524224K bytes)
Mar  6 20:28:40 katrin /kernel: avail memory = 518230016 (506084K bytes)
Mar  6 20:28:40 katrin /kernel: Preloaded elf kernel "kernel" at 0xc03fe000.
Mar  6 20:28:40 katrin /kernel: Pentium Pro MTRR support enabled
Mar  6 20:28:40 katrin /kernel: md0: Malloc disk
Mar  6 20:28:40 katrin /kernel: npx0: <math processor> on motherboard
Mar  6 20:28:40 katrin /kernel: npx0: INT 16 interface
Mar  6 20:28:40 katrin /kernel: pcib0: <Host to PCI bridge> on motherboard
Mar  6 20:28:40 katrin /kernel: pci0: <PCI bus> on pcib0
Mar  6 20:28:40 katrin /kernel: pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0
Mar  6 20:28:40 katrin /kernel: pci1: <PCI bus> on pcib1
Mar  6 20:28:40 katrin /kernel: pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 11
Mar  6 20:28:40 katrin /kernel: bktr0: <BrookTree 848> mem 0xdddff000-0xdddfffff irq 10 at device 10.0 on pci0
Mar  6 20:28:40 katrin /kernel: iicbb0: <I2C bit-banging driver> on bti2c0
Mar  6 20:28:40 katrin /kernel: iicbus0: <Philips I2C bus> on iicbb0 master-only
Mar  6 20:28:40 katrin /kernel: iicbus1: <Philips I2C bus> on iicbb0 master-only
Mar  6 20:28:40 katrin /kernel: smbus0: <System Management Bus> on bti2c0
Mar  6 20:28:40 katrin /kernel: bktr0: Hauppauge Model 56304 D
Mar  6 20:28:40 katrin /kernel: bktr0: Hauppauge WinCast/TV, Temic PAL tuner.
Mar  6 20:28:40 katrin /kernel: rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xdfffff00-0xdfffffff irq 11 at device 12.0 on pci0
Mar  6 20:28:40 katrin /kernel: rl0: Ethernet address: 00:50:fc:96:57:d3
Mar  6 20:28:40 katrin /kernel: miibus0: <MII bus> on rl0
Mar  6 20:28:40 katrin /kernel: rlphy0: <RealTek internal media interface> on miibus0
Mar  6 20:28:40 katrin /kernel: rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Mar  6 20:28:40 katrin /kernel: uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 11 at device 16.0 on pci0
Mar  6 20:28:40 katrin /kernel: usb0: <VIA 83C572 USB controller> on uhci0
Mar  6 20:28:40 katrin /kernel: usb0: USB revision 1.0
Mar  6 20:28:40 katrin /kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Mar  6 20:28:40 katrin /kernel: uhub0: 2 ports with 2 removable, self powered
Mar  6 20:28:40 katrin /kernel: uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2
Mar  6 20:28:40 katrin /kernel: uhci1: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 10 at device 16.1 on pci0
Mar  6 20:28:40 katrin /kernel: usb1: <VIA 83C572 USB controller> on uhci1
Mar  6 20:28:40 katrin /kernel: usb1: USB revision 1.0
Mar  6 20:28:40 katrin /kernel: uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Mar  6 20:28:40 katrin /kernel: uhub1: 2 ports with 2 removable, self powered
Mar  6 20:28:40 katrin /kernel: uhub1: port error, restarting port 1
Mar  6 20:28:40 katrin /kernel: uhub1: port error, giving up port 1
Mar  6 20:28:40 katrin /kernel: uhub2: Cypress Semiconductor Slim Hub, class 9/0, rev 2.00/0.08, addr 2
Mar  6 20:28:40 katrin /kernel: uhub2: 4 ports with 4 removable, self powered
Mar  6 20:28:40 katrin /kernel: umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 3
Mar  6 20:28:40 katrin /kernel: uhub1: port error, restarting port 2
Mar  6 20:28:40 katrin /kernel: uhub1: port error, giving up port 2
Mar  6 20:28:40 katrin /kernel: ums0: vendor 0x1241 product 0x1122, rev 1.00/1.00, addr 4, iclass 3/1
Mar  6 20:28:40 katrin /kernel: ums0: 5 buttons and Z dir.
Mar  6 20:28:40 katrin /kernel: uhci2: <VIA 83C572 USB controller> port 0xe800-0xe81f irq 10 at device 16.2 on pci0
Mar  6 20:28:40 katrin /kernel: usb2: <VIA 83C572 USB controller> on uhci2
Mar  6 20:28:40 katrin /kernel: usb2: USB revision 1.0
Mar  6 20:28:40 katrin /kernel: uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Mar  6 20:28:40 katrin /kernel: uhub3: 2 ports with 2 removable, self powered
Mar  6 20:28:40 katrin /kernel: uhub3: port error, restarting port 1
Mar  6 20:28:40 katrin /kernel: uhub3: port error, giving up port 1
Mar  6 20:28:40 katrin /kernel: uhub3: port error, restarting port 2
Mar  6 20:28:40 katrin /kernel: uhub3: port error, giving up port 2
Mar  6 20:28:40 katrin /kernel: pci0: <USB controller> at 16.3 irq 11
Mar  6 20:28:40 katrin /kernel: isab0: <PCI to ISA bridge (vendor=1106 device=3177)> at device 17.0 on pci0
Mar  6 20:28:40 katrin /kernel: isa0: <ISA bus> on isab0
Mar  6 20:28:40 katrin /kernel: atapci0: <VIA 8235 ATA133 controller> port 0xfc00-0xfc0f at device 17.1 on pci0
Mar  6 20:28:40 katrin /kernel: ata0: at 0x1f0 irq 14 on atapci0
Mar  6 20:28:40 katrin /kernel: ata1: at 0x170 irq 15 on atapci0
Mar  6 20:28:40 katrin /kernel: pcm0: <VIA VT8235> port 0xdc00-0xdcff irq 10 at device 17.5 on pci0
Mar  6 20:28:40 katrin /kernel: pcm0: <VIA Technologies VIA1612A AC97 Codec>
Mar  6 20:28:40 katrin /kernel: vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd800-0xd8ff mem 0xdffffd00-0xdffffdff irq 11 at device 18.0 on pci0
Mar  6 20:28:40 katrin /kernel: vr0: Ethernet address: 00:e0:18:ad:3a:7f
Mar  6 20:28:40 katrin /kernel: miibus1: <MII bus> on vr0
Mar  6 20:28:40 katrin /kernel: ukphy0: <Generic IEEE 802.3u media interface> on miibus1
Mar  6 20:28:40 katrin /kernel: ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Mar  6 20:28:40 katrin /kernel: pmtimer0 on isa0
Mar  6 20:28:40 katrin /kernel: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Mar  6 20:28:40 katrin /kernel: fdc0: FIFO enabled, 8 bytes threshold
Mar  6 20:28:40 katrin /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Mar  6 20:28:40 katrin /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
Mar  6 20:28:40 katrin /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Mar  6 20:28:40 katrin /kernel: kbd0 at atkbd0
Mar  6 20:28:40 katrin /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Mar  6 20:28:40 katrin /kernel: sc0: <System console> at flags 0x100 on isa0
Mar  6 20:28:40 katrin /kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Mar  6 20:28:40 katrin /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Mar  6 20:28:40 katrin /kernel: sio0: type 16550A
Mar  6 20:28:40 katrin /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
Mar  6 20:28:40 katrin /kernel: sio1: type 16550A
Mar  6 20:28:40 katrin /kernel: ppc0: <Parallel port> at port 0x278-0x27f irq 7 on isa0
Mar  6 20:28:40 katrin /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
Mar  6 20:28:40 katrin /kernel: ppc0: FIFO with 16/16/9 bytes threshold
Mar  6 20:28:40 katrin /kernel: plip0: <PLIP network interface> on ppbus0
Mar  6 20:28:40 katrin /kernel: lpt0: <Printer> on ppbus0
Mar  6 20:28:40 katrin /kernel: lpt0: Interrupt-driven port
Mar  6 20:28:40 katrin /kernel: ppi0: <Parallel I/O> on ppbus0
Mar  6 20:28:40 katrin /kernel: ad0: 58644MB <Maxtor 6Y060L0> [119150/16/63] at ata0-master UDMA133
Mar  6 20:28:40 katrin /kernel: acd0: DVD-ROM <DV-516E> at ata1-master UDMA33
Mar  6 20:28:40 katrin /kernel: Mounting root from ufs:/dev/ad0s1a
Mar  6 20:28:40 katrin /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Mar  6 20:28:40 katrin /kernel: da0: <SMSC 223 U HS-CF 1.95> Removable Direct Access SCSI-0 device
Mar  6 20:28:40 katrin /kernel: da0: 650KB/s transfers
Mar  6 20:28:40 katrin /kernel: da0: Attempt to query device size failed: NOT READY, Medium not present
Mar  6 20:28:41 katrin lpd[101]: lpd startup: logging=0
Mar  6 20:29:43 katrin /kernel: umass0: at uhub2 port 4 (addr 3) disconnected
Mar  6 20:29:43 katrin /kernel: (da0:umass-sim0:0:0:0): lost device
Mar  6 20:29:43 katrin /kernel: (da0:umass-sim0:0:0:0): removing device entry
Mar  6 20:29:43 katrin /kernel: umass0: detached
Mar  6 20:29:53 katrin /kernel: umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 3
Mar  6 20:29:56 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:29:56 katrin /kernel: umass0: at uhub2 port 4 (addr 3) disconnected
Mar  6 20:29:56 katrin /kernel: umass0: detached
Mar  6 20:30:03 katrin /kernel: umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 3
Mar  6 20:30:10 katrin login: 1 LOGIN FAILURE ON ttyv0
Mar  6 20:30:18 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:30:18 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:30:18 katrin /kernel: uhub2: at uhub1 port 1 (addr 2) disconnected
Mar  6 20:30:18 katrin /kernel: umass0: detached
Mar  6 20:30:18 katrin /kernel: uhub2: detached
Mar  6 20:30:23 katrin /kernel: uhub2: Cypress Semiconductor Slim Hub, class 9/0, rev 2.00/0.08, addr 2
Mar  6 20:30:23 katrin /kernel: uhub2: 4 ports with 4 removable, self powered
Mar  6 20:30:24 katrin /kernel: umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 3
Mar  6 20:43:41 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:43:41 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:43:41 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:43:41 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:43:41 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:43:41 katrin /kernel: umass0: at uhub2 port 4 (addr 3) disconnected
Mar  6 20:43:41 katrin /kernel: umass0: detached
Mar  6 20:43:41 katrin /kernel: (null): BBB bulk-out clear stall failed, CANCELLED
Mar  6 20:43:41 katrin /kernel: umass-sim:0:0:0:func_code 0x0901: Invalid target (target needed)
Mar  6 20:43:41 katrin last message repeated 2 times
Mar  6 20:43:41 katrin /kernel: panic: (null): Unknown state 0
Mar  6 20:43:41 katrin /kernel:
Mar  6 20:43:41 katrin /kernel:
Mar  6 20:43:41 katrin /kernel: syncing disks... 10 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Mar  6 20:43:41 katrin /kernel: giving up on 1 buffers
Mar  6 20:43:41 katrin /kernel: Uptime: 2m13s
Mar  6 20:43:41 katrin /kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Mar  6 20:43:41 katrin /kernel: --> Press a key on the console to reboot,
Mar  6 20:43:41 katrin /kernel: --> or switch off the system now.


Testing without external usb-hub also gives

Mar  6 20:57:40 katrin /kernel: umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 2
Mar  6 20:57:57 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB reset failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: BBB bulk-out clear stall failed, STALLED
Mar  6 20:57:57 katrin /kernel: umass0: at uhub3 port 1 (addr 2) disconnected
Mar  6 20:57:57 katrin /kernel: umass0: detached



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040306210352.A6806>