NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/37736: Attaching USB devices stops working



>Number:         37736
>Category:       kern
>Synopsis:       Attaching USB devices stops working
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 10 09:30:00 +0000 2008
>Originator:     Matthias Scheler
>Release:        NetBSD 4.0
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 4.0 NetBSD 4.0 (COLWYN) #0: Sun Dec 16 
12:33:07 GMT 2007 tron%colwyn.zhadum.org.uk@localhost:/src/sys/compile/COLWYN 
i386
Architecture: i386
Machine: i386
>Description:
I'm using a Seagate USB disks for backups. NetBSD normally recognizes the
disk without problems:

umass0 at uhub2 port 2 configuration 1 interface 0
umass0: Seagate FreeAgent Pro, rev 2.00/0.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, 1 lun per target
sd0 at scsibus2 target 0 lun 0: <Seagate, FreeAgent Pro, 400A> disk fixed
sd0: fabricating a geometry
sd0: 698 GB, 715404 cyl, 64 head, 32 sec, 512 bytes/sect x 1465149168 sectors
sd0: fabricating a geometry

Here are the complete kernel messages from the machine:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0 (COLWYN) #0: Sun Dec 16 12:33:07 GMT 2007
        tron%colwyn.zhadum.org.uk@localhost:/src/sys/compile/COLWYN
total memory = 2046 MB
avail memory = 2005 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xf0010
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium M (Dothan) (686-class), 1995.07 MHz, id 0x6d8
cpu0: features afe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features afe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9fbff<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 2.00GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: using thermal monitor 1
cpu0: Enhanced SpeedStep (1308 mV) 2000 MHz
cpu0: unknown Enhanced SpeedStep CPU.
cpu0: using only highest and lowest power states.
cpu0: Enhanced SpeedStep frequencies available (MHz): 2000 800
cpu0: calibrating local timer
cpu0: apic clock running at 133 MHz
cpu0: 64 page colors
ioapic0 at mainbus0 apid 1 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <A M I ,OEMXSDT ,06000520>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
attimer0 at acpi0 (PNP0100): AT Timer
attimer0: io 0x40-0x43 irq 0
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
pckbc0 at acpi0 (PNP0303): kbd port
pckbc0: io 0x60,0x64 irq 1
pcppi0 at acpi0 (PNP0800)
pcppi0: io 0x61
pcppi0: children must have an explicit unit
midi0 at pcppi0: PC speaker (CPU-intensive output)
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at acpi0 (PNP0C04)
npx0: io 0xf0-0xff irq 13
npx0: reported by CPUID; using exception 16
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
com1 at acpi0 (PNP0501-2)
com1: io 0x2f8-0x2ff irq 3
com1: ns16550a, working fifo
fdc0 at acpi0 (PNP0700)
fdc0: io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
fdc0: expected BUFFER, got 4
lpt0 at acpi0 (PNP0400-1)
lpt0: io 0x378-0x37f irq 7
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C-170): ACPI Power Button
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0: attached to attimer0
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: Intel 82875P Host (rev. 0x02)
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82875P AGP (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: Matrox MGA G550 AGP (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 3 function 0: Intel 82875P PCI-CSA Bridge (rev. 0x02)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
wm0 at pci2 dev 1 function 0: Intel i82547EI 1000BASE-T Ethernet, rev. 0
wm0: interrupting at ioapic0 pin 18 (irq 5)
wm0: Communication Streaming Architecture
wm0: using 82547 Tx FIFO stall work-around
wm0: 65536 word (16 address bits) SPI EEPROM
wm0: Ethernet address 00:11:d8:**:**:**
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
uhci0 at pci0 dev 29 function 0: Intel 82801EB/ER USB UHCI Controller (rev. 
0x02)
uhci0: interrupting at ioapic0 pin 16 (irq 10)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel 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 29 function 1: Intel 82801EB/ER USB UHCI Controller (rev. 
0x02)
uhci1: interrupting at ioapic0 pin 19 (irq 5)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801EB/ER USB EHCI Controller (rev. 
0x02)
ehci0: interrupting at ioapic0 pin 23 (irq 11)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
ppb2 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0xc2)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
fwohci0 at pci3 dev 3 function 0: VIA Technologies VT6306 IEEE 1394 Host 
Controller (rev. 0x80)
fwohci0: interrupting at ioapic0 pin 20 (irq 10)
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:18:00:00:cb:bf:ff
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
icp0 at pci3 dev 10 function 0: Intel Storage RAID controller
icp0: interrupting at ioapic0 pin 22 (irq 11)
icp0: model <SRCS14L>, firmware <Firmware>, 2 channel(s), 64MB memory
icpsp0 at icp0 unit 100: physical SCSI channel 0
scsibus0 at icpsp0: 16 targets, 8 luns per target
icpsp1 at icp0 unit 101: physical SCSI channel 1
scsibus1 at icpsp1: 16 targets, 8 luns per target
ld0 at icp0 unit 0: <PD_A000>, type: RAID-1, status: optimal
ld0: 232 GB, 30340 cyl, 255 head, 63 sec, 512 bytes/sect x 487415808 sectors
ld1 at icp0 unit 1: <PD_B000>, type: RAID-1, status: optimal
ld1: 232 GB, 30340 cyl, 255 head, 63 sec, 512 bytes/sect x 487415808 sectors
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801EB LPC Interface Bridge (rev. 0x02)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801EB IDE Controller (ICH5) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at piixide0 channel 1
Intel 82801EB/ER SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 
31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801EB (ICH5) AC-97 Audio
auich0: interrupting at ioapic0 pin 17 (irq 11)
auich0: ac97: Analog Devices AD1985 codec; headphone, 20 bit DAC, no 3D stereo
auich0: ac97: ext id 3c7<AMAP,LDAC,SDAC,CDAC,SPDIF,DRA,VRA>
isa0 at pcib0
ioapic0: enabling
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <_NEC DVD_RW ND-2500A, , 1.07> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
uhub3 at uhub1 port 1
uhub3: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2
uhub3: 4 ports with 4 removable, self powered
uhub4 at uhub3 port 1
uhub4: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 3
uhub4: 4 ports with 4 removable, self powered
uhidev0 at uhub4 port 1 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 4, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhub5 at uhub4 port 2
uhub5: Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 
1.10/4.10, addr 5
uhub5: 3 ports with 2 removable, bus powered
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)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
uhidev1 at uhub5 port 3 configuration 1 interface 0
uhidev1: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.10, addr 6, 
iclass 3/1
ukbd0 at uhidev1
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub5 port 3 configuration 1 interface 1
uhidev2: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.10, addr 6, 
iclass 3/0
uhidev2: 3 report ids
uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
uhidev3 at uhub3 port 2 configuration 1 interface 0
uhidev3: USB KVM Switch USB KVM Switch, rev 1.10/1.00, addr 7, iclass 3/1
ukbd1 at uhidev3
wskbd2 at ukbd1 mux 1
wskbd2: connecting to wsdisplay0
uhidev4 at uhub3 port 2 configuration 1 interface 1
uhidev4: vendor 0x06f2 product 0x0011, rev 1.10/1.00, addr 7, iclass 3/1
ums1 at uhidev4: 5 buttons and Z dir.
wsmouse1 at ums1 mux 0
uhub4: at uhub3 port 1 (addr 3) disconnected
uhidev0: at uhub4 port 1 (addr 4) disconnected
wsmouse0 detached
ums0 detached
uhidev0 detached
uhub5: at uhub4 port 2 (addr 5) disconnected
uhidev1: at uhub5 port 3 (addr 6) disconnected
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev1 detached
uhidev2: at uhub5 port 3 (addr 6) disconnected
uhid0 detached
uhid1 detached
uhidev2 detached
uhub5 detached
uhub4 detached
uhub4 at uhub3 port 1
uhub4: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 3
uhub4: 4 ports with 4 removable, self powered
uhidev0 at uhub4 port 1 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 4, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhub5 at uhub4 port 2
uhub5: Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 
1.10/4.10, addr 5
uhub5: 3 ports with 2 removable, bus powered
uhidev1 at uhub5 port 3 configuration 1 interface 0
uhidev1: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.10, addr 6, 
iclass 3/1
ukbd0 at uhidev1
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub5 port 3 configuration 1 interface 1
uhidev2: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.10, addr 6, 
iclass 3/0
uhidev2: 3 report ids
uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
uhub4: at uhub3 port 1 (addr 3) disconnected
uhidev0: at uhub4 port 1 (addr 4) disconnected
wsmouse0 detached
ums0 detached
uhidev0 detached
uhub5: at uhub4 port 2 (addr 5) disconnected
uhidev1: at uhub5 port 3 (addr 6) disconnected
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev1 detached
uhidev2: at uhub5 port 3 (addr 6) disconnected
uhid0 detached
uhid1 detached
uhidev2 detached
uhub5 detached
uhub4 detached

There is no message indicating want went wrong with the Seagate disk.

>How-To-Repeat:
Connect and disconnect several USB devices (in my case an Apple keyboard)

>Fix:
None provided.





Home | Main Index | Thread Index | Old Index