From owner-freebsd-usb@FreeBSD.ORG Mon May 7 07:10:11 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 1CDA716A401 for ; Mon, 7 May 2007 07:10:11 +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 BF38113C458 for ; Mon, 7 May 2007 07:10:10 +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 l477AAR5061291 for ; Mon, 7 May 2007 07:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l477AA0v061290; Mon, 7 May 2007 07:10:10 GMT (envelope-from gnats) Date: Mon, 7 May 2007 07:10:10 GMT Message-Id: <200705070710.l477AA0v061290@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Igor Popov Cc: Subject: Re: usb/112461: ehci USB 2.0 doesn't work on nforce4 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Igor Popov List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 07:10:11 -0000 The following reply was made to PR usb/112461; it has been noted by GNATS. From: Igor Popov To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/112461: ehci USB 2.0 doesn't work on nforce4 Date: Mon, 7 May 2007 09:09:07 +0300 Good morning. > On Sunday 06 May 2007 13:51, Igor Popov wrote: > > >Number: 112461 > > >Category: usb > > >Synopsis: ehci USB 2.0 doesn't work on nforce4 > > >Confidential: no > > >Severity: non-critical > > >Priority: medium > > >Responsible: freebsd-usb > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Sun May 06 12:00:11 GMT 2007 > > >Closed-Date: > > >Last-Modified: > > >Originator: Igor Popov > > >Release: 6.0, 6.1, 6.2 > > >Organization: > > >Environment: > > > > FreeBSD unix.my.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Sat Jan 27 > > 13:01:18 EET 2007 toor@unix.my.net:/usr/obj/usr/src/sys/SUPERKERNEL > > i386 > > > > >Description: > > > > I have motherboard(Asus A8N-E) that built on nforce4 chipset, it has usb > > 2.0 ports, but under FreeBSD with usb 2.0 flashdrive max speed near > > 1.2Mb/s on file copying (my custom kernel has ehci driver), that is > > usb1.[01] speed. But under both linux an windows with the same flashdrive > > speed is near 10Mb/s. > > > > 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: Sat Jan 27 13:01:18 EET 2007 > > toor@unix.my.net:/usr/obj/usr/src/sys/SUPERKERNEL > > ACPI APIC Table: > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: AMD Athlon(tm) 64 Processor 3000+ (1809.28-MHz 686-class CPU) > > Origin = "AuthenticAMD" Id = 0x20ff2 Stepping = 2 > > > > Features=0x78bfbff >CA ,CM OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> > > Features2=0x1 > > AMD Features=0xe2500800 > > AMD Features2=0x1 > > real memory = 536805376 (511 MB) > > avail memory = 507523072 (484 MB) > > ioapic0 irqs 0-23 on motherboard > > wlan: mac acl policy registered > > ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, > > RF5413) acpi0: on motherboard > > acpi_bus_number: can't get _ADR > > acpi_bus_number: can't get _ADR > > acpi0: Power Button (fixed) > > acpi_bus_number: can't get _ADR > > acpi_bus_number: can't get _ADR > > 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 > > pci0: at device 0.0 (no driver attached) > > isab0: at device 1.0 on pci0 > > isa0: on isab0 > > nfsmb0: port > > 0xe400-0xe41f,0x4c00-0x4c3f,0x4c 40-0x4c7f irq 20 at device 1.1 on pci0 > > smbus0: on nfsmb0 > > smb0: on smbus0 > > nfsmb1: on nfsmb0 > > smbus1: on nfsmb1 > > smb1: on smbus1 > > ohci0: mem 0xd3104000-0xd3104fff irq 21 > > at devic e 2.0 on pci0 > > ohci0: [GIANT-LOCKED] > > usb0: OHCI version 1.0, legacy support > > usb0: on ohci0 > > usb0: USB revision 1.0 > > uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub0: 10 ports with 10 removable, self powered > > ehci0: mem 0xfeb00000-0xfeb000ff irq > > 22 at d evice 2.1 on pci0 > > ehci0: [GIANT-LOCKED] > > usb1: EHCI version 1.0 > > usb1: companion controller, 4 ports each: usb0 > > usb1: on ehci0 > > usb1: USB revision 2.0 > > uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > > uhub1: 10 ports with 10 removable, self powered > > pcm0: port 0xdc00-0xdcff,0xe000-0xe0ff mem > > 0xd3103000-0xd3103ff f irq 23 at device 4.0 on pci0 > > pcm0: > > atapci0: port > > 0x1f0-0x1f7,0x3f6,0x170-0 x177,0x376,0xf000-0xf00f at device 6.0 on pci0 > > ata0: on atapci0 > > ata1: on atapci0 > > atapci1: port > > 0x9f0-0x9f7,0xbf0-0xbf3,0 x970-0x977,0xb70-0xb73,0xd800-0xd80f mem > > 0xd3102000-0xd3102fff irq 21 at device 7.0 on pci0 > > ata2: on atapci1 > > ata3: on atapci1 > > atapci2: port > > 0x9e0-0x9e7,0xbe0-0xbe3,0 x960-0x967,0xb60-0xb63,0xc400-0xc40f mem > > 0xd3101000-0xd3101fff irq 22 at device 8.0 on pci0 > > ata4: on atapci2 > > ata5: on atapci2 > > pcib1: at device 9.0 on pci0 > > pci5: on pcib1 > > ath0: mem 0xd3000000-0xd300ffff irq 16 at device 6.0 on > > pci5 ath0: Ethernet address: 00:15:e9:a4:58:9b > > ath0: mac 7.9 phy 4.5 radio 5.6 > > nfe0: port 0xb000-0xb007 > > mem 0xd3 100000-0xd3100fff irq 23 at device 10.0 on pci0 > > miibus0: on nfe0 > > e1000phy0: on miibus0 > > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > > 1000baseTX-FDX, auto nfe0: Ethernet address: 00:17:31:13:8d:3f > > nfe0: [FAST] > > pcib2: at device 11.0 on pci0 > > pci4: on pcib2 > > pcib3: at device 12.0 on pci0 > > pci3: on pcib3 > > pcib4: at device 13.0 on pci0 > > pci2: on pcib4 > > pcib5: at device 14.0 on pci0 > > pci1: on pcib5 > > nvidia0: port 0xa000-0xa07f mem > > 0xd0000000-0xd0ffffff,0xc0 000000-0xcfffffff,0xd1000000-0xd1ffffff irq 18 > > at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] > > acpi_tz0: on acpi0 > > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on > > acpi0 fdc0: [FAST] > > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > > acpi0 sio0: type 16550A > > ppc0: port 0x378-0x37f irq 7 on acpi0 > > ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > > ppbus0: on ppc0 > > lpt0: on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: on ppbus0 > > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > > atkbd0: irq 1 on atkbdc0 > > atkbd0: [GIANT-LOCKED] > > psm0: irq 12 on atkbdc0 > > psm0: [GIANT-LOCKED] > > psm0: model IntelliMouse, device ID 3 > > pmtimer0 on isa0 > > 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 > > Timecounter "TSC" frequency 1809282513 Hz quality 800 > > Timecounters tick every 1.000 msec > > ad0: 238475MB at ata0-master UDMA100 > > acd0: DVDR at ata1-master UDMA66 > > ad1: 190782MB at ata5-master SATA150 > > Trying to mount root from ufs:/dev/ad0s2a > > ath0: link state changed to UP > > nfe0: link state changed to UP > > umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 2 > > da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: Removable Direct Access SCSI-2 device > > da0: 40.000MB/s transfers > > da0: 3920MB (8028160 512 byte sectors: 255H 63S/T 499C) > > This is maybe a SCSI problem. > > If you install the new USB stack [the SVN version], see: > > http://www.turbocat.net/~hselasky/usb4bsd > > Then try to copy some files and turn on debugging: > > sysctl hw.usb.umass.debug=-1 > > You might get a lot of messages. Look for errors. No, it is standard kernel from RELENG_6_2 branch, usb stack is not modified. -- Laugh and the world thinks you're an idiot.