Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 20:36:02 +0200
From:      Thierry Herbelot <thierry@herbelot.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/57258: 4.9Beta won't boot if a USB mouse is connected
Message-ID:  <200309262036.02153.thierry@herbelot.com>
Resent-Message-ID: <200309261840.h8QIeNiY058904@freefall.freebsd.org>

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

>Number:         57258
>Category:       i386
>Synopsis:       4.9Beta won't boot if a USB mouse is connected
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 26 11:40:23 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     User &
>Release:        FreeBSD 4.9-BETA i386
>Organization:
none
>Environment:
FreeBSD 4.9-BETA #0: Sat Sep 20 04:29:31 GMT 2003
    root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC
>Description:
booting from a CD-ROM with the recent 4.9-BETA iso, the boot process stops 
after probing the USB chips, when the USB mouse is plugged-in. The only way 
out is a power-down of the computer.
when the USB mouse is not plugged, the boot process goes to its correct end.

the computer runs happily with 4.8-Release, and also with 5.1-Release, as long 
as ACPI is not loaded.
ACPI is also broken for Linux Mandrake 9.1, 9.2RC2 and Knoppix 3.2 (it may 
work with Windows 2K)

the verbose boot message when the mouse is not plugged is :

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-BETA #0: Sat Sep 20 04:29:31 GMT 2003
    root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC
Calibrating clock(s) ... TSC clock: 1792799332 Hz, i8254 clock: 1193234 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (1792.73-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 528416768 (516032K bytes)
Physical memory chunk(s):
0x000001000 - 0x00009efff, 647168 bytes (158 pages)
0x000565000 - 0x01f7e7fff, 522727424 bytes (127619 pages)
avail memory = 508743680 (496820K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fdac0
bios32: Entry = 0xfdad0 (c00fdad0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xdaf1
pnpbios: Found PnP BIOS data at 0xc00f7770
pnpbios: Entry = f0000:66fb  Rev = 1.0
Other BIOS signatures found:
ACPI: 000faa20
Preloaded elf kernel "kernel" at 0xc053e000.
Pentium Pro MTRR support enabled
Creating DISK md0
md0: Malloc disk
Math emulator present
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000070
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=06501039)
Using $PIR table, 10 entries at 0xc00f7e80
pcib-: pcib0 exists, using next available unit number
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x1039, dev=0x0650, revid=0x01
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base e0000000, size 27
found->	vendor=0x1039, dev=0x0001, revid=0x00
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x1039, dev=0x0008, revid=0x10
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1039, dev=0x7001, revid=0x07
	class=0c-03-10, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=9
	map[10]: type 1, range 32, base dfffb000, size 12
found->	vendor=0x1039, dev=0x7001, revid=0x07
	class=0c-03-10, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[10]: type 1, range 32, base dfffa000, size 12
found->	vendor=0x1039, dev=0x5513, revid=0xd0
	class=01-01-80, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 0000ff00, size  4
found->	vendor=0x1039, dev=0x7012, revid=0xa0
	class=04-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=c, irq=11
	map[10]: type 1, range 32, base 0000d000, size  8
	map[14]: type 1, range 32, base 0000cc00, size  7
found->	vendor=0x10ec, dev=0x8139, revid=0x10
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[10]: type 1, range 32, base 0000dc00, size  8
	map[14]: type 1, range 32, base dfff9f00, size  8
pci0: <PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0xe0000000-0xe7ffffff at device 0.0 
on pci0
agp0: allocating GATT for aperture of size 128M
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
found->	vendor=0x1039, dev=0x6325, revid=0x00
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base d0000000, size 27
	map[14]: type 1, range 32, base dfee0000, size 17
	map[18]: type 1, range 32, base 00008000, size  7
pci1: <PCI bus> on pcib2
pci1: <SiS model 6325 VGA-compatible display device> (vendor=0x1039, 
dev=0x6325) at 0.0 irq 10
isab0: <SiS 85c503 PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0xdfffb000-0xdfffbfff irq 9 at device 2.2 
on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
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: 2 ports with 2 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xdfffa000-0xdfffafff irq 9 at device 2.3 
on pci0
	using shared irq9.
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
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: 2 ports with 2 removable, self powered
atapci0: <SiS 5591 ATA100 controller> port 0xff00-0xff0f at device 2.5 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xff00
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xff08
ata1: mask=03 ostat0=50 ostat2=00
ata1-master: ATAPI 14 eb
ata1-slave: ATAPI 00 00
ata1: mask=03 stat0=00 stat1=00
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x1039, dev=0x7012) at 2.7 irq 11
rl0: <RealTek 8139 10/100BaseTX> port 0xdc00-0xdcff mem 0xdfff9f00-0xdfff9fff 
irq 9 at device 16.0 on pci0
rl0: Ethernet address: 00:20:ed:6b:12:13
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: rl0 attached
pci-: pci1 exists, using next available unit number
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
ex_isa_identify()
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff on isa0
pmtimer0 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
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
adv0 failed to probe on isa0
bt0: Failed Status Reg Test - 0
bt_isa_probe: Probe failed at 0x330
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x334
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x230
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x234
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x130
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x134
bt0 failed to probe at port 0x134-0x137 on isa0
aha0: Failed Intstat Reg Test
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0 failed to probe at port 0x134-0x137 on isa0
aic0 failed to probe at port 0x140-0x15f on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0065
psm0: strange result for test aux port (1).
psm0: failed to reset the aux device.
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
sio0: irq maps: 0x1001 0x1011 0x1001 0x1001
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x1001 0x1009 0x1001 0x1001
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
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/9 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
ed0: not probed (disabled)
fe0: not probed (disabled)
ie0: not probed (disabled)
lnc0: not probed (disabled)
cs0: not probed (disabled)
sn0: not probed (disabled)
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c240, tty 63009a, net 67029a
bpf: sl0 attached
bpf: faith0 attached
ad0: success setting UDMA5 on SiS chip
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <ST340810A/3.93> ATA-6 disk at ata0-master
ad0: 38166MB (78165360 sectors), 77545 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA100
ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
ata1-master: piomode=4 dmamode=2 udmamode=4 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <HL-DT-STDVD-ROM GDR8161B/0042> DVD-ROM drive at ata1 as master
acd0: read 3445KB/s (4782KB/s), 256KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R, DVD-RAM, packet
acd0: Writes:
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
Mounting root from ufs:/dev/ad0s2e
ad0s1: type 0x7, start 63, end = 10153079, size 10153017 : OK
ad0s2: type 0xa5, start 22523130, end = 55343924, size 32820795 : OK
ad0s3: type 0xa9, start 10153080, end = 22523129, size 12370050 : OK
ad0s4: type 0xf, start 55343925, end = 78156224, size 22812300 : OK
ad0s5: type 0xb, start 55343988, end = 56982554, size 1638567 : OK
ad0<extended>: type 0x5, start 56982617, end = 67232024, size 10249408 : OK
ad0s6: type 0x83, start 56982618, end = 67232024, size 10249407 : OK
ad0<extended>: type 0x5, start 67232087, end = 77481494, size 10249408 : OK
ad0s7: type 0x83, start 67232088, end = 77481494, size 10249407 : OK
ad0<extended>: type 0x5, start 77481557, end = 78156224, size 674668 : OK
ad0s8: type 0x82, start 77481558, end = 78156224, size 674667 : OK
start_init: trying /sbin/init

>How-To-Repeat:
the problem is also seen when booting the GENERIC kernel from the hard disk, 
after a successful install.

>Fix:
install 4.8-Release : here is a boot message, with the USB mouse plugged-in

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.8-RELEASE #0: Thu Apr  3 10:53:38 GMT 2003
    root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (1792.73-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 528416768 (516032K bytes)
avail memory = 508751872 (496828K bytes)
Preloaded elf kernel "kernel" at 0xc053c000.
Preloaded elf module "snd_ich.ko" at 0xc053c09c.
Preloaded elf module "snd_pcm.ko" at 0xc053c13c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 10 entries at 0xc00f7e80
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0xe0000000-0xe7ffffff at device 0.0 
on pci0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <SiS model 6325 VGA-compatible display device> at 0.0 irq 10
isab0: <SiS 85c503 PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0xdfffb000-0xdfffbfff irq 9 at device 2.2 
on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
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: 2 ports with 2 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xdfffa000-0xdfffafff irq 9 at device 2.3 
on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
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: 2 ports with 2 removable, self powered
ums0: Logitech USB Optical Mouse, rev 1.10/21.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
atapci0: <SiS 5591 ATA100 controller> port 0xff00-0xff0f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
rl0: <RealTek 8139 10/100BaseTX> port 0xdc00-0xdcff mem 0xdfff9f00-0xdfff9fff 
irq 11 at device 16.0 on pci0
rl0: Ethernet address: 00:20:ed:6b:12:13
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff 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
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/9 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 38166MB <ST340810A> [77545/16/63] at ata0-master UDMA100
acd0: DVD-ROM <HL-DT-STDVD-ROM GDR8161B> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2e


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



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