From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 14:20:21 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7CC316A406 for ; Wed, 31 Jan 2007 14:20:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 8709F13C461 for ; Wed, 31 Jan 2007 14:20:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0VEKL1Z085973 for ; Wed, 31 Jan 2007 14:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0VEKLaL085972; Wed, 31 Jan 2007 14:20:21 GMT (envelope-from gnats) Date: Wed, 31 Jan 2007 14:20:21 GMT Message-Id: <200701311420.l0VEKLaL085972@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Warren Baker Cc: Subject: Re: usb/91906: FreeBSD hangs while booting with USB legacy support on (MSI 865PE Neo2-P) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Warren Baker List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 14:20:21 -0000 The following reply was made to PR usb/91906; it has been noted by GNATS. From: Warren Baker To: bug-followup@FreeBSD.org, yazar256@yahoo.fr Cc: Subject: Re: usb/91906: FreeBSD hangs while booting with USB legacy support on (MSI 865PE Neo2-P) Date: Wed, 31 Jan 2007 11:49:10 +0200 This is a multi-part message in MIME format. --------------090705020106010804070604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I also am having a similar problem and not sure whether to log a separate bug entry for this. In any case the problem is that I have tried to install FreeBSD 6.1 and FreeBSD 6.2 without any luck on a Dell OptiPlex 320. However it hangs in the boot process once it probes the usb port the usb keyboard is plugged into. Details as follows: ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfff7000 ioapic0: routing intpin 16 (PCI IRQ16) to vector 50 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0xdfff8000-0xdfff8fff irq 17 at device 19.1 on pci0 ohci1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfff8000 ioapic0: routing intpin 7 (PCI IRQ 17) to vector 51 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support At this stage it just hangs. If i boot the PC without the keyboard plugged in and then plug it in once all the usb ports have been probed by FreeBSD it then picks up the keyboard and I can install FreeBSD. That is the usb keyboard is plugged in after the following section in the boot phase: usb5: waiting for BIOS to give up control usb5: EHCI version 1.0 usb5: compnaion controllers, 2 ports each: usb0 usb1 usb2 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub5: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub5: 10 ports with 10 removable, self powered . . . Obviously once it reboots, it hangs again in the same place if the keyboard is left in. I cant test without USB legacy support as the Dell BIOS doesnt offer this option, nor have the luxury of trying to use a PS2 keyboard. I have tried booting with safe mode as well, but no luck. I also tried creating a 6.1 ISO without OHCI support and just EHCI and UHCI support and still no luck. I then recompiled the kernel and created a 6.1 ISO with just UHCI support (no EHCI or OHCI support) and the box then booted ok and i could install the OS. I did not try this approach with 6.2, but im assuming ti would probably behave the same. I have attached a dmesg from a successful 6.2 boot when the keyboard was plugged in after the usb ports had been probed (this is with the GENERIC kernel). By the way I also notice that it reports a bad signature in the MP config table - which you can see in the dmesg. Please let me know if you need anything else. Thanks, Warren --------------090705020106010804070604 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC mptable_probe: MP Config Table has bad signature: \^V\M-+\M-p ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 3.06GHz (3066.79-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf49 Stepping = 9 Features=0xbfebfbff Features2=0x651d> AMD Features=0x20100000 AMD Features2=0x1 real memory = 233160704 (222 MB) avail memory = 218603520 (208 MB) ioapic0: Changing APIC ID to 8 ioapic0 irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) atapci0: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfec0-0xfecf mem 0xdfff6c00-0xdfff6fff irq 22 at device 18.0 on pci0 ata2: on atapci0 ata3: on atapci0 ohci0: mem 0xdfff7000-0xdfff7fff irq 16 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0xdfff8000-0xdfff8fff irq 17 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ohci2: mem 0xdfff9000-0xdfff9fff irq 18 at device 19.2 on pci0 ohci2: [GIANT-LOCKED] usb2: OHCI version 1.0, legacy support usb2: on ohci2 usb2: USB revision 1.0 uhub2: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ohci3: mem 0xdfffa000-0xdfffafff irq 17 at device 19.3 on pci0 ohci3: [GIANT-LOCKED] usb3: OHCI version 1.0, legacy support usb3: on ohci3 usb3: USB revision 1.0 uhub3: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ohci4: mem 0xdfffb000-0xdfffbfff irq 18 at device 19.4 on pci0 ohci4: [GIANT-LOCKED] usb4: OHCI version 1.0, legacy support usb4: on ohci4 usb4: USB revision 1.0 uhub4: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered ehci0: mem 0xdfff6900-0xdfff69ff irq 19 at device 19.5 on pci0 ehci0: [GIANT-LOCKED] usb5: waiting for BIOS to give up control usb5: EHCI version 1.0 usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub5: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub5: 10 ports with 10 removable, self powered pci0: at device 20.0 (no driver attached) atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 20.1 on pci0 ata0: on atapci1 ata1: on atapci1 isab0: at device 20.3 on pci0 isa0: on isab0 pcib2: at device 20.4 on pci0 pci2: on pcib2 fxp0: port 0xdc80-0xdcbf mem 0xdfcbc000-0xdfcbcfff,0xdfcc0000-0xdfcdffff irq 21 at device 1.0 on pci2 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:0e:0c:b8:f9:08 fxp1: port 0xdcc0-0xdcff mem 0xdfcbd000-0xdfcbdfff,0xdfce0000-0xdfcfffff irq 22 at device 2.0 on pci2 miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:0e:0c:b8:f8:7b bfe0: mem 0xdfcbe000-0xdfcbffff irq 21 at device 9.0 on pci2 miibus2: on bfe0 bmtphy0: on miibus2 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:18:8b:88:64:6e ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc9fff,0xca000-0xcbfff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: Microsoft Microsoft Internet Keyboard, rev 1.10/1.00, addr 2, iclass 3/1 kbd2 at ukbd0 uhid0: Microsoft Microsoft Internet Keyboard, rev 1.10/1.00, addr 2, iclass 3/1 Timecounter "TSC" frequency 3066792159 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 ad4: 38146MB at ata2-master UDMA33 Trying to mount root from ufs:/dev/ad4s1a --------------090705020106010804070604--