From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 1 09:57:33 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9586C16A4CE for ; Mon, 1 Nov 2004 09:57:33 +0000 (GMT) Received: from lion-msrvp.LeidenUniv.nl (lion-msrvp.leidenuniv.nl [132.229.216.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A81743D46 for ; Mon, 1 Nov 2004 09:57:32 +0000 (GMT) (envelope-from graaf@Phys.LeidenUniv.nl) Received: by lion-msrvp.leidenuniv.nl with Internet Mail Service (5.5.2655.55) id ; Mon, 1 Nov 2004 10:57:41 +0100 Message-ID: From: "Graaf, Rob" To: 'Brian Reichert ' , "Graaf, Rob" Date: Mon, 1 Nov 2004 10:57:40 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" cc: "''freebsd-mobile@freebsd.org' '" Subject: RE: usb2 under 5.2, how to use ehci X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 09:57:33 -0000 Hi Brian, I recompiled the kernel, but it doesn't work (yet). I included the following line into the kernel configuration file: device ehci # USB2 So (part of) the configuration files looks like: ------------------------------------------------ # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device urio # Diamond Rio 500 MP3 player device uscanner # Scanners device ehci # USB2 Recompiled the kernel and rebooted. On insert of the LaCie usb harddisk (but also on insert of a memory stick) /var/log/messages says: ------------------------------------------------ Nov 1 10:23:22 dowould kernel: usb3: unrecoverable error, controller halted Nov 1 10:23:22 dowould kernel: usb3: blocking intrs 0x10 Nov 1 10:23:47 dowould kernel: usb3: port reset timeout (The usb mouse works fine) Could you or anybody give me a hint? The dmesg is included below. Regards, Rob de Graaf Here is the dmesg: ------------------------------------------------ Copyright (c) 1992-2004 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 5.2.1-RELEASE #0: Mon Nov 1 09:57:05 GMT 2004 root@dowould.alice.org:/usr/src/sys/i386/compile/MYKERNEL Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a83000. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc0a8321c. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0a832c8. Preloaded elf module "/boot/kernel/linprocfs.ko" at 0xc0a83374. Preloaded elf module "/boot/kernel/linux.ko" at 0xc0a83424. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a834d0. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz (2797.64-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebf9ff real memory = 535597056 (510 MB) avail memory = 510570496 (486 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 10 entries at 0xc00fcbb0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 2 INTA is routed to irq 11 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 29 INTD is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pci0: at device 0.1 (no driver attached) pci0: at device 0.3 (no driver attached) agp0: port 0xc000-0xc007 mem 0xf6f80000-0xf6ffffff,0xe8000000-0xefffffff irq 11 at device 2.0 on pci0 agp0: detected 892k stolen memory agp0: aperture size is 128M pci0: at device 2.1 (no driver attached) uhci0: port 0xbf80-0xbf9f irq 11 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbf40-0xbf5f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbf20-0xbf3f irq 11 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xf6effc00-0xf6efffff irq 11 at device 29.7 on pci0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: (0x8086) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib1: at device 30.0 on pci0 pci2: on pcib1 pcib1: slot 1 INTA is routed to irq 11 bfe0: mem 0xfcffe000-0xfcffffff irq 11 at device 1.0 on pci2 bfe0: Ethernet address: 00:0f:1f:18:de:96 miibus0: on bfe0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto cbb0: at device 4.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib1: slot 4 INTA is routed to irq 11 cbb0: [MPSAFE] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbfa0-0xbfaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pcm0: port 0xcc40-0xcc7f,0xc800-0xc8ff mem 0xf6eff400-0xf6eff4ff,0xf6eff800-0xf6eff9ff irq 11 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) atkbdc0: port 0x66,0x62,0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: flags 0x1000 irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 orm0: