From owner-freebsd-stable@FreeBSD.ORG Wed Jun 28 04:50:09 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D01D16A400 for ; Wed, 28 Jun 2006 04:50:09 +0000 (UTC) (envelope-from evan@proc.to) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9153144623 for ; Wed, 28 Jun 2006 04:50:08 +0000 (GMT) (envelope-from evan@proc.to) Received: by py-out-1112.google.com with SMTP id t32so69939pyc for ; Tue, 27 Jun 2006 21:50:07 -0700 (PDT) Received: by 10.35.78.13 with SMTP id f13mr56581pyl; Tue, 27 Jun 2006 21:50:07 -0700 (PDT) Received: by 10.35.59.18 with HTTP; Tue, 27 Jun 2006 21:50:07 -0700 (PDT) Message-ID: Date: Wed, 28 Jun 2006 14:50:07 +1000 From: "Evan Clarke" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Strange mouse issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 04:50:09 -0000 Hello I am running -STABLE (checked out Tue Jun 27), and have come across a strange issue regarding my mouse. The mouse is a Logitech MX500 connected via USB. My kernel is custom (GENERIC, just minus the unneeded CPU lines). An important thing to note is that I do not have a floppy drive installed. When I boot with floppy drive enabled in tbe BIOS - my mouse will work correctly. The boot process pauses approx 10-20 seconds just after probing my discs and before checking and mounting the drives. When I boot with floppy drive disabled in the BIOS - the mouse does not work. The boot process looses this long pause as well (boots really fast!). To me it seems to be an issue of maybe the mouse is not being given enough time to power up before moused attaches, but it appears fine in the boot log. It seems strange that it doesn't work when the BIOS is set incorrectly. Any ideas; I would like to leave the floppy disabled and get the quick boot times as this is a system where it is turned off when not in use. Also it seems to be the more correct way to set things up. dmesg with floppy enabled (where it pauses I have marked with a ** PAUSE**): Copyright (c) 1992-2006 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 6.1-STABLE #0: Tue Jun 27 17:43:26 EST 2006 evan@localhost.localdomain:/usr/obj/usr/src/sys/JUMPMAN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Duron(tm) Processor (1109.89-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x670 Stepping = 0 Features=0x383f9ff AMD Features=0xc0440800,MMX+,3DNow+,3DNow> real memory = 385859584 (367 MB) avail memory = 368111616 (351 MB) kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf8000000-0xfb ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x3 76,0xd800-0xd80f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: on atapci0 ata1: on atapci0 uhci0: port 0xd400-0xd41f irq 6 at device 7.2 on pci 0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd000-0xd01f irq 6 at device 7.3 on pci 0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at device 7.4 (no driver attached) pcm0: port 0xb800-0xb8ff,0xb400-0xb403,0xb000-0xb003 irq 5 at de vice 7.5 on pci0 pcm0: uhci2: port 0xa400-0xa41f irq 10 at device 14.0 on p ci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xa000-0xa01f irq 5 at dev i0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xea800000-0xea8000ff i 14.2 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 4 ports with 4 removable, self powered pci0: at device 15.0 (no driver attached) fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 fdc0: does not respond device_attach: fdc0 attach returned 6 ppc0: port 0x378-0x37f,0x778-0x77b irq pi0 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 0x sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x60,0x64 irq 1 on acp atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 fdc0: does not respond device_attach: fdc0 attach returned 6 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xca7ff,0xcc000-0xcffff o sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff ums0: B16_b_02 USB-PS/2 Optical Mouse, rev 2.00/98.02, addr 2, icl ums0: 8 buttons and Z dir. Timecounter "TSC" frequency 1109889762 Hz quality 800 Timecounters tick every 1.000 msec ad0: 114473MB at ata0-master UDMA10 acd0: DVDROM at at 66 ad3: 76319MB at ata1-slave UDMA100 ** PAUSE ** Trying to mount root from ufs:/dev/ad0s1a dmesg with floppy enabled: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993 The Regents of the University of California. All rights re FreeBSD 6.1-STABLE #0: Tue Jun 27 17:43:26 EST 2006 evan@localhost.localdomain:/usr/obj/usr/src/sys/JUMPMAN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Duron(tm) Processor (1109.89-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x670 Stepping = 0 Features=0x383f9ff AMD Features=0xc0440800,MMX+,3DNow+,3DNow> real memory = 385859584 (367 MB) avail memory = 368111616 (351 MB) kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on a cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0 ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0 76,0xd800-0xd80f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: on atapci0 ata1: on atapci0 uhci0: port 0xd400-0xd41f irq 9 at dev 0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd000-0xd01f irq 9 at dev 0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at device 7.4 (no driver attached) pcm0: port 0xb800-0xb8ff,0xb400-0xb403,0xb000-0xb0 vice 7.5 on pci0 pcm0: uhci2: port 0xa400-0xa41f at device 14 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xa000-0xa01f at device 14 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xea800000-0xea8000ff a on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 4 ports with 4 removable, self powered pci0: at device 15.0 (no driver attached) fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77b irq pi0 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 0x sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x60,0x64 irq 1 on acp atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xca7ff,0xcc000-0xcffff o sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff ums0: B16_b_02 USB-PS/2 Optical Mouse, rev 2.00/98.02, addr 2, icl ums0: 8 buttons and Z dir. Timecounter "TSC" frequency 1109891010 Hz quality 800 Timecounters tick every 1.000 msec ad0: 114473MB at ata0-master UDMA10 acd0: DVDROM at at 66 ad3: 76319MB at ata1-slave UDMA100 Trying to mount root from ufs:/dev/ad0s1a