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

Boottime hangup when ohci driver enabled (i386)



Hello OpenBSD devs,
I recently installed OpenBSD 3.4 (standard filesets from ftp) on a P4 
PC, and a slight problem arose:
With the OHCI driver enabled, the boot process hangs after completing all 
the kernel probing and autoconfiguration stuff (right afterr printing the 
root device info), and doesn't continue to call init.
It responds to nothing and I have to reset the machine.
The OHCI module is on-chip in an SiS651/962-based motherboard (made by 
ASUS if that's relevant).
When I disabled ohci with ukc ( boot> bsd -c ) things went smoothly, but 
ofcourse I couldn't use my USB mouse (a Logitech).

The attached file dmesg.txt is the dmesg output with ohci disabled.

Later I tried enabling ohci, but disconnecting the mouse at boottime.
This worked, and when I reconnected the mouse after the system was up it 
was detected and now works perfectly with wsmoused.
The attached dmesg-usb.txt is, ofcourse, the outcome of that attempt 
(mouse detection messages at the very end, after the system's already up).

With the mouse attached at boottime, there's one extra line for each USB 
hub probed: "SMM does not respond, resetting".


ohci0 at pci0 dev 3 function 0 "SIS 5597/5598 USB" rev 0x0f: irq 9, OHCI 
version 1.0, legacy support
ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SIS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci0 dev 3 function 1 "SIS 5597/5598 USB" rev 0x0f: irq 9, OHCI 
version 1.0, legacy support
ohci1: SMM does not respond, resetting
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: SIS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci2 at pci0 dev 3 function 2 "SIS 5597/5598 USB" rev 0x0f: irq 9, OHCI 
version 1.0, legacy support
ohci2: SMM does not respond, resetting
usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: SIS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered




Hope this can be of any use.

Thanks in advance,
Ido.
OpenBSD 3.4 (GENERIC) #18: Wed Sep 17 03:34:47 MDT 2003
    deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium 4 ("GenuineIntel" 686-class) 1.70 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SIMD,SIMD2,SS,HTT,TM
real mem  = 234450944 (228956K)
avail mem = 211251200 (206300K)
using 2887 buffers containing 11825152 bytes (11548K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(18) BIOS, date 06/11/03, BIOS32 rev. 0 @ 0xf1120
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x1752
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf16c0/144 (7 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1039 product 0x0962
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "SIS 651 Host-PCI" rev 0x01
ppb0 at pci0 dev 1 function 0 "SIS 86C201 Host-AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SIS 650 VGA" rev 0x00: aperture at 0xf0000000, size 0x400000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SIS 962 Host-PCI" rev 0x04
pciide0 at pci0 dev 2 function 5 "SIS 5513 EIDE" rev 0x00: 651: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD400EB-00CPF0>
wd0: 16-sector PIO, LBA, 38166MB, 16383 cyl, 16 head, 63 sec, 78165360 sectors
wd1 at pciide0 channel 0 drive 1: <ST36421A>
wd1: 16-sector PIO, LBA, 6150MB, 13330 cyl, 15 head, 63 sec, 12596850 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <ATAPI-CD, ROM-DRIVE-52MAX, 52DA> SCSI0 5/cdrom removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <HL-DT-ST, CD-RW GCE-8160B, 2.01> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, DMA mode 2
auich0 at pci0 dev 2 function 7 "SIS 7012 AC97 Audio" rev 0xa0: irq 12, SiS7012 AC97
ac97: codec id 0x434d4941
audio0 at auich0
ohci0 at pci0 dev 3 function 0 "SIS 5597/5598 USB" rev 0x0f: irq 9, OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SIS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci0 dev 3 function 1 "SIS 5597/5598 USB" rev 0x0f: irq 9, OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: SIS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci2 at pci0 dev 3 function 2 "SIS 5597/5598 USB" rev 0x0f: irq 9, OHCI version 1.0, legacy support
usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: SIS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
"SIS 7002 USB" rev 0x00 at pci0 dev 3 function 3 not configured
sis0 at pci0 dev 4 function 0 "SIS 900 10/100BaseTX" rev 0x91: irq 5 address ff:ff:ff:ff:ff:ff
ukphy0 at sis0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000020, model 0x0020, rev. 1
unknown vendor 0x1131 product 0x3400 (class communications subclass modem, rev 0x01) at pci0 dev 15 function 0 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c240 netmask c260 ttymask c2e2
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd1a
rootdev=0x10 rrootdev=0x310 rawdev=0x312
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhidev0: at uhub0 port 2 (addr 2) disconnected
wsmouse0 detached
ums0 detached
uhidev0 detached
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
OpenBSD 3.4 (GENERIC) #18: Wed Sep 17 03:34:47 MDT 2003
    deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium 4 ("GenuineIntel" 686-class) 1.70 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SIMD,SIMD2,SS,HTT,TM
real mem  = 234450944 (228956K)
avail mem = 211251200 (206300K)
using 2887 buffers containing 11825152 bytes (11548K) of memory
User Kernel Config
UKC> find ohci
110 ohci* at pci* dev -1 function -1 flags 0x0
UKC> disable 110
110 ohci* disabled
UKC> exit
Continuing...
mainbus0 (root)
bios0 at mainbus0: AT/286+(18) BIOS, date 06/11/03, BIOS32 rev. 0 @ 0xf1120
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x1752
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf16c0/144 (7 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1039 product 0x0962
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x4000!
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "SIS 651 Host-PCI" rev 0x01
ppb0 at pci0 dev 1 function 0 "SIS 86C201 Host-AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SIS 650 VGA" rev 0x00: aperture at 0xf0000000, size 0x400000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SIS 962 Host-PCI" rev 0x04
pciide0 at pci0 dev 2 function 5 "SIS 5513 EIDE" rev 0x00: 651: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD400EB-00CPF0>
wd0: 16-sector PIO, LBA, 38166MB, 16383 cyl, 16 head, 63 sec, 78165360 sectors
wd1 at pciide0 channel 0 drive 1: <ST36421A>
wd1: 16-sector PIO, LBA, 6150MB, 13330 cyl, 15 head, 63 sec, 12596850 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <ATAPI-CD, ROM-DRIVE-52MAX, 52DA> SCSI0 5/cdrom removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <HL-DT-ST, CD-RW GCE-8160B, 2.01> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, DMA mode 2
auich0 at pci0 dev 2 function 7 "SIS 7012 AC97 Audio" rev 0xa0: irq 5, SiS7012 AC97
ac97: codec id 0x434d4941
audio0 at auich0
"SIS 5597/5598 USB" rev 0x0f at pci0 dev 3 function 0 not configured
"SIS 5597/5598 USB" rev 0x0f at pci0 dev 3 function 1 not configured
"SIS 5597/5598 USB" rev 0x0f at pci0 dev 3 function 2 not configured
"SIS 7002 USB" rev 0x00 at pci0 dev 3 function 3 not configured
sis0 at pci0 dev 4 function 0 "SIS 900 10/100BaseTX" rev 0x91: irq 9 address ff:ff:ff:ff:ff:ff
ukphy0 at sis0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000020, model 0x0020, rev. 1
unknown vendor 0x1131 product 0x3400 (class communications subclass modem, rev 0x01) at pci0 dev 15 function 0 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c040 netmask c240 ttymask c2c2
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd1a
rootdev=0x10 rrootdev=0x310 rawdev=0x312



Visit your host, monkey.org