Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 11:25:59 +0200 (CEST)
From:      Volker Stolz <vs@foldr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/36569: umass fails when RiteLink Pocket Disk is connected on boot
Message-ID:  <200203310925.g2V9Pxm00490@lambda.foldr.org>

next in thread | raw e-mail | index | archive | help

>Number:         36569
>Category:       kern
>Synopsis:       umass fails when RiteLink Pocket Disk is connected on boot
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 31 02:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD lambda.foldr.org 4.5-STABLE FreeBSD 4.5-STABLE #5: Sun Mar 31 09:56:55 CEST 2002 root@lambda.foldr.org:/usr/src/sys/compile/MONSTER i386


>Description:
If the RiteLink USB Pocket Disk (supported by umass, although you need to use quirks) is
connected on booting, the following happens:

 - ad0 timeouts waiting for an interrupt (see dmesg below)
 - the umass driver is really unhappy (BBB {reset,bulk-in, bulk-out} timeouts)
      which leads to an unusable USB port
 - if you disconnect the USB memory stick during this phase, you get a trap 12 in
      usbd_transport.

OTOH, connecting the device after boot-up works as expected.

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.5-STABLE #5: Sun Mar 31 09:56:55 CEST 2002
    root@lambda.foldr.org:/usr/src/sys/compile/MONSTER
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (751.71-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268369920 (262080K bytes)
avail memory = 256483328 (250472K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc048c000.
Preloaded elf module "linux.ko" at 0xc048c09c.
Preloaded elf module "agp.ko" at 0xc048c13c.
Preloaded elf module "drm.ko" at 0xc048c1d8.
ccd0-3: Concatenated disk drivers
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00fdd20
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xe8000000-0xefffffff at device 0.0 on pci0
pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <3Dfx Voodoo 3 graphics accelerator> at 0.0 irq 5
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
umass0: vendor 0x0c76 product 0x0003, rev 1.10/1.00, addr 2
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 7.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 7.4
sym0: <810a> port 0xdc00-0xdcff mem 0xf7001000-0xf70010ff irq 11 at device 9.0 on pci0
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
de0: <Digital 21041 Ethernet> port 0xe000-0xe07f mem 0xf7000000-0xf700007f irq 10 at device 10.0 on pci0
de0: 21041 [10Mb/s] pass 2.1
de0: address 00:40:05:a6:fc:01
pcm0: <Creative EMU10K1> port 0xe400-0xe41f irq 5 at device 11.0 on pci0
pci0: <unknown card> (vendor=0x109e, dev=0x036e) at 12.0 irq 11
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 12.1 irq 11
orm0: <Option ROMs> at iomem 0xc0000-0xc9fff,0xcc000-0xcffff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.20 initialized.  Default = block all, Logging = enabled
SMP: AP CPU #1 Launched!
ad0: timeout waiting for interrupt
ad0: 32253MB <MAXTOR 6L040J2> [69899/15/63] at ata0-master UDMA100
ad1: 19623MB <IBM-DTLA-305020> [39870/16/63] at ata0-slave UDMA100
acd0: CD-RW <4X4X32> at ata1-slave PIO4
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
Mounting root from ufs:/dev/ad0s2a
cd0 at sym0 bus 0 target 0 lun 0
cd0: <PIONEER DVD-ROM DVD-303 1.09> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
drm0: <3Dfx Voodoo 3 graphics accelerator> port 0xc000-0xc0ff mem 0xf4000000-0xf5ffffff,0xf0000000-0xf1ffffff irq 5 at device 0.0 on pci1
info: [drm] AGP at 0xe8000000 128MB
info: [drm] Initialized tdfx 1.0.0 20000928 on minor 0
>How-To-Repeat:
Plug in USB device RiteLink Pocket Disk before powering up, boot -> above errors.
>Fix:
Workaround: Do not attach this device before booting. Caveat: makes remote administration
not exactly easy...

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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