4.9 Boot Hang when USB Devices Attached

Joe Kelsey joek at mail.flyingcroc.net
Fri Sep 26 09:28:41 PDT 2003


I have a system running

FreeBSD zircon.zircon.seattle.wa.us 4.9-PRERELEASE FreeBSD 
4.9-PRERELEASE #20: Fri Sep 19 12:55:28 PDT 2003 
joe at zircon.zircon.seattle.wa.us:/usr/obj/usr/src/sys/ZIRCON  i386

When I upgraded to fix the OpenSSH problems, the system started hanging 
at boot time right after the USB/OHCI messages whenever I had devices 
plugged into the USB ports (mainly a USB mouse).  Now, in order to boot, 
I have to unplug the mouse and wait for the system to pass the USB part 
of boot before replugging.

Due to lack of attention on my part, I had previously built a kernel 
around 25 August which also exhibited this same symptom, but I had never 
actually booted it.  So, when I reverted to kernel.old, I got the same 
hang.  I had an old GENERIC kernel that I booted from to experiment with 
solving the problems.

It seems a little more than inconvenient to have to unplug and replug 
USB devices in order to boot.  Does anyone have any insight to offer?

dmesg output attached.

/Joe
-------------- next part --------------
Copyright (c) 1992-2003 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.9-PRERELEASE #20: Fri Sep 19 12:55:28 PDT 2003
    joe at zircon.zircon.seattle.wa.us:/usr/obj/usr/src/sys/ZIRCON
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(TM) XP 1800+ (1533.39-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 536854528 (524272K bytes)
avail memory = 518144000 (506000K bytes)
Preloaded elf kernel "kernel" at 0xc0421000.
Preloaded elf module "snd_cmi.ko" at 0xc042109c.
Preloaded elf module "snd_pcm.ko" at 0xc042113c.
Preloaded elf module "usb.ko" at 0xc04211dc.
Preloaded elf module "ums.ko" at 0xc0421278.
Preloaded elf module "umass.ko" at 0xc0421314.
Copyright (c) 1992-2003 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.9-PRERELEASE #20: Fri Sep 19 12:55:28 PDT 2003
    joe at zircon.zircon.seattle.wa.us:/usr/obj/usr/src/sys/ZIRCON
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(TM) XP 1800+ (1533.40-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 536854528 (524272K bytes)
avail memory = 518144000 (506000K bytes)
Preloaded elf kernel "kernel" at 0xc0421000.
Preloaded elf module "snd_cmi.ko" at 0xc042109c.
Preloaded elf module "snd_pcm.ko" at 0xc042113c.
Preloaded elf module "usb.ko" at 0xc04211dc.
Preloaded elf module "ums.ko" at 0xc0421278.
Preloaded elf module "umass.ko" at 0xc0421314.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1e30
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <Matrox MGA G550 AGP graphics accelerator> at 0.0 irq 11
isab0: <PCI to ISA bridge (vendor=1039 device=0018)> at device 2.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0xf2800000-0xf2800fff irq 6 at device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xf2000000-0xf2000fff irq 9 at device 2.3 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: <SiS 5591 ATA100 controller> port 0xd800-0xd80f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <CMedia CMI8738> port 0xb000-0xb0ff irq 10 at device 5.0 on pci0
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xa800-0xa8ff mem 0xf1800000-0xf1800fff irq 10 at device 9.0 on pci0
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs
de0: <Digital 21140A Fast Ethernet> port 0xa400-0xa47f mem 0xf1000000-0xf100007f irq 5 at device 10.0 on pci0
de0: 21140A [10-100Mb/s] pass 2.0
de0: address 00:40:05:31:ea:13
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc8fff,0xcc000-0xcc7ff on isa0
pmtimer0 on isa0
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 MouseMan+, device ID 0
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: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pca0 at port 0x40 on isa0
joy0 at port 0x201 on isa0
IPsec: Initialized Security Association Processing.
ad0: 58644MB <IC35L060AVVA07-0> [119150/16/63] at ata0-master UDMA100
ad1: 58644MB <IC35L060AVVA07-0> [119150/16/63] at ata0-slave UDMA100
acd0: DVD-ROM <DVD-ROM DDU1621> at ata1-master PIO4
Waiting 2 seconds for SCSI devices to settle
de0: enabling Full Duplex 100baseTX port
pt0 at ahc0 bus 0 target 3 lun 0
pt0: <HP C5100A R032> Fixed Processor SCSI-2 device 
pt0: 3.300MB/s transfers
Mounting root from ufs:/dev/ad0s1a
cd1 at ata1 bus 0 target 0 lun 0
cd1: <SONY DVD-ROM DDU1621 S1.6> Removable CD-ROM SCSI-0 device 
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ahc0 bus 0 target 4 lun 0
cd0: < CD-R/RW RW7060S 1.20> Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
WARNING: / was not properly dismounted
ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.


More information about the freebsd-stable mailing list