From owner-freebsd-usb@FreeBSD.ORG Sun May 6 09:51:47 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B914116A403 for ; Sun, 6 May 2007 09:51:47 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out5.starman.ee [85.253.0.7]) by mx1.freebsd.org (Postfix) with ESMTP id 41A7113C46E for ; Sun, 6 May 2007 09:51:47 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx2.starman.ee (mx2.starman.ee [62.65.192.9]) by smtp-gw1.starman.ee (Postfix) with ESMTP id 72B5EA21BAB for ; Sun, 6 May 2007 12:34:07 +0300 (EEST) X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Received: from [192.168.2.100] (pc197.host50.starman.ee [62.65.242.197]) by mx2.starman.ee (Postfix) with ESMTP id 3FE353F4094 for ; Sun, 6 May 2007 12:34:07 +0300 (EEST) From: Andrei Kolu To: freebsd-usb@freebsd.org Date: Sun, 6 May 2007 12:34:06 +0300 User-Agent: KMail/1.9.5 References: <20070504180628.B14D845042@ptavv.es.net> <200705051510.39046.hselasky@c2i.net> <463CB80B.10003@samsco.org> In-Reply-To: <463CB80B.10003@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705061234.06899.antik@bsd.ee> Subject: Re: New USB drivers X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2007 09:51:47 -0000 On Saturday 05 May 2007 19:59, Scott Long wrote: > Hans Petter Selasky wrote: > > On Friday 04 May 2007 20:06, Kevin Oberman wrote: > >> I have now been running the Hans Petter's USB drivers for about a week > >> and they have been working pretty well. > >> > >> That said, I have seen two things that concern me. > >> > >> 1. Today I connected a USB disk to the system. It ran fine, but then I > >> dismounted it (using nautilus and hald), the window informing me that > >> the device could be safely removed popped up and I unplugged the > >> drive. > >> > >> At that point, my system live-locked. I did see some updates to > >> windows, but I could not change focus to a different window nor could > >> I move to a different desktop. I tried CTRL-ALT-BS to kill X, but it > >> would not work. I tried CTRL-ALT-DEL to reboot the system. No joy. > >> > >> The system was at least partly alive as the disk activity LED would > >> flash now and then. I eventually had to power-cycle it. :-( As a > >> result I have pretty much no information to help track this one down. > > > > This is a problem in the CAM layer. It does not really support detaching > > the SIM I think. > > > > Scott: When will this issue be fixed ? > > I've tested pulling USB drives in the MPSAFE CAM stack in 7-CURRENT. > It's not as solid as I would like, but it does work most of the time. > I'll continue to work on it, but it's not my highest priority > unfortunately. And, I'll say it again, what needs to happen is for > the umass driver to be split into a SIM that attaches to each USB bus, > and a target that attaches when the umass device is inserted. If no > one else does it, I'll probably wind up rewriting the driver myself to > do that. > > Scott > _______________________________________________ My problem is that USB is slow as hell especially when reading files from external USB drive and FAT32 filesystem (3,5MB/s max)- tested with FreeBSD 6.1 p11 and 6.2 p3. From same drive with NTFS filesystem I have read speed up to 5MB/s but unable to read files over 4GB size- only first 300MB is read and then silently dropped- no error message or whatsoever (I guess this is related to FreeBSD filesystem layer not USB) but with same drive I can read/write both filesystems up to 13MB/s in Windows XP SP2- 4GB files are read without any problem. Interesting that with UFS2 filesystem I got same speed as in windows under FreeBSD. Anyone have clue how can I debug what is wrong? From owner-freebsd-usb@FreeBSD.ORG Sun May 6 11:50:03 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 53F4216A403 for ; Sun, 6 May 2007 11:50:03 +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 339FE13C46C for ; Sun, 6 May 2007 11:50:03 +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 l46Bo3l9081725 for ; Sun, 6 May 2007 11:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l46Bo2hC081722; Sun, 6 May 2007 11:50:02 GMT (envelope-from gnats) Resent-Date: Sun, 6 May 2007 11:50:02 GMT Resent-Message-Id: <200705061150.l46Bo2hC081722@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Igor Popov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1175D16A400 for ; Sun, 6 May 2007 11:49:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id E8DFC13C455 for ; Sun, 6 May 2007 11:49:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l46BnPMO094137 for ; Sun, 6 May 2007 11:49:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l46BiOba076831; Sun, 6 May 2007 11:44:24 GMT (envelope-from nobody) Message-Id: <200705061144.l46BiOba076831@www.freebsd.org> Date: Sun, 6 May 2007 11:44:24 GMT From: Igor Popov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: usb/112460: ehci USB 2.0 doesn't work on nforce4 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2007 11:50:03 -0000 >Number: 112460 >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 11:50:02 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 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) >How-To-Repeat: always >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sun May 6 12:00:12 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 3722616A404 for ; Sun, 6 May 2007 12:00:12 +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 186D413C45B for ; Sun, 6 May 2007 12:00:12 +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 l46C0BOU082069 for ; Sun, 6 May 2007 12:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l46C0Boh082068; Sun, 6 May 2007 12:00:11 GMT (envelope-from gnats) Resent-Date: Sun, 6 May 2007 12:00:11 GMT Resent-Message-Id: <200705061200.l46C0Boh082068@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Igor Popov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE7A016A402 for ; Sun, 6 May 2007 11:56:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id C222A13C44B for ; Sun, 6 May 2007 11:56:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l46Bu8VU058993 for ; Sun, 6 May 2007 11:56:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l46Bp4e9013742; Sun, 6 May 2007 11:51:04 GMT (envelope-from nobody) Message-Id: <200705061151.l46Bp4e9013742@www.freebsd.org> Date: Sun, 6 May 2007 11:51:04 GMT From: Igor Popov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: 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 List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2007 12:00:12 -0000 >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 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) >How-To-Repeat: always >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sun May 6 12:25:19 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A22716A403 for ; Sun, 6 May 2007 12:25:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.swip.net [212.247.155.1]) by mx1.freebsd.org (Postfix) with ESMTP id B929013C458 for ; Sun, 6 May 2007 12:25:18 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [81.191.58.152] (account mc467741@c2i.net HELO laptop.lan) by mailfe09.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 312931792; Sun, 06 May 2007 14:25:12 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 6 May 2007 14:24:56 +0200 User-Agent: KMail/1.9.5 References: <200705061151.l46Bp4e9013742@www.freebsd.org> In-Reply-To: <200705061151.l46Bp4e9013742@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705061424.56687.hselasky@c2i.net> Cc: Igor Popov , freebsd-gnats-submit@freebsd.org 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 List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2007 12:25:19 -0000 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,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. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun May 6 13:30:10 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 12F5616A401 for ; Sun, 6 May 2007 13:30:10 +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 025D613C458 for ; Sun, 6 May 2007 13:30: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 l46DU91M086676 for ; Sun, 6 May 2007 13:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l46DU9av086675; Sun, 6 May 2007 13:30:09 GMT (envelope-from gnats) Date: Sun, 6 May 2007 13:30:09 GMT Message-Id: <200705061330.l46DU9av086675@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky 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: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2007 13:30:10 -0000 The following reply was made to PR usb/112461; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Igor Popov , freebsd-gnats-submit@freebsd.org Subject: Re: usb/112461: ehci USB 2.0 doesn't work on nforce4 Date: Sun, 6 May 2007 14:24:56 +0200 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,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. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon May 7 07:03:59 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB37D16A402; Mon, 7 May 2007 07:03:59 +0000 (UTC) (envelope-from igorpopov@newmail.ru) Received: from mx1.mail.wbt.ru (mx3.mail.wbt.ru [80.250.64.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5A80613C455; Mon, 7 May 2007 07:03:59 +0000 (UTC) (envelope-from igorpopov@newmail.ru) Received: from moon.wbt.ru ([80.250.66.38]) by mx1.mail.wbt.ru (Exim) with esmtp sent from id 1HkwPH-000P6N-SF; Mon, 07 May 2007 09:09:11 +0300 From: Igor Popov Organization: Home To: Hans Petter Selasky Date: Mon, 7 May 2007 09:09:07 +0300 User-Agent: KMail/1.9.6 References: <200705061151.l46Bp4e9013742@www.freebsd.org> <200705061424.56687.hselasky@c2i.net> In-Reply-To: <200705061424.56687.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705070909.08032.igorpopov@newmail.ru> X-ACL-Warn: X-AV 1 1178518151 X-ACL-Warn: X-AV 2 1178518151 X-ACL-Warn: X-AV 3 1178518151 X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-SpamTest-Info: Not protected Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org 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 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:04:00 -0000 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. 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. From owner-freebsd-usb@FreeBSD.ORG Mon May 7 11:08:51 2007 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C126216A401 for ; Mon, 7 May 2007 11:08:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id AEE8D13C45E for ; Mon, 7 May 2007 11:08:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l47B8pqn078831 for ; Mon, 7 May 2007 11:08:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l47B8nTU078827 for freebsd-usb@FreeBSD.org; Mon, 7 May 2007 11:08:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 May 2007 11:08:49 GMT Message-Id: <200705071108.l47B8nTU078827@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 11:08:51 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/40792 usb signals lead to data loss on device ugen o usb/46176 usb [panic] umass causes kernel panic if device removed be o i386/46371 usb USB controller cannot be initialized on IBM Netfinity f usb/55555 usb [ums] system freezes with access to /dev/ums0 o bin/57255 usb usbd and multi-function devices o usb/62088 usb [usb] Logitech Cordless/Optical Mouse not working o usb/62309 usb [ugen] [panic] panic: ugen(4) driver o usb/63621 usb [usb] USB MemoryStick Reader stalls/crashes system o usb/69006 usb [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [usb] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] mounting write-protected umass device as read/ o usb/75705 usb [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, But can not f f usb/76204 usb panic while using usb attached modem o usb/76395 usb USB printer does not work, usbdevs says "addr 0 should o usb/77184 usb kernel panic on USB device disconnect o usb/77294 usb ucom + ulpcom panic o usb/77940 usb [quirk] [patch] insertion of usb keyboard panics syste f i386/78218 usb [kue] kue not detected on Sony PCG-F370 VAIO o usb/78989 usb please add USB keyboard support to install CD's o usb/79140 usb WD Firewire/USB Combo hangs under load on USB interfac o usb/79269 usb USB ohci da0 plug/unplug causes crashes and lockups. o usb/79287 usb UHCI hang after interrupt transfer o usb/79524 usb printing to Minolta PagePro 1[23]xxW via USB fails wit f usb/79656 usb [usb] RHSC interrupts lost o usb/79722 usb [usb] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua f usb/80260 usb Travan USB tape drive fails to write o usb/80361 usb mounting of usb-stick fails o usb/80829 usb possible panic when loading USB-modules o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/81308 usb [ugen] [patch] polling a ugen(4) control endpoint caus f usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 player f usb/82272 usb Can not recognize Casio camera EX-Z40 as a umass devic o usb/82350 usb [usb] null pointer dereference in USB stack o usb/82520 usb Reboot when USL101 connected o usb/82569 usb [usb] USB mass storage plug/unplug causes system panic o usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic o usb/83504 usb [usb] SpeedTouch USB stop working on recent current (a o usb/83563 usb [panic] Page Fault while detaching Mpman Usb device o usb/83677 usb [usb] usb controller often not detected (Sun W2100z) o usb/83756 usb Microsoft Intellimouse Explorer 4.0A doesn't work. o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84936 usb install - usb keyboard not recognized o usb/86031 usb need support usb nic rt2500 in my 5.4 STABLE o usb/86767 usb [usb] bogus "slice starts beyond end of the disk:..." o usb/87099 usb panic: ohci_add_done: addr 0x000d1bf0 not found o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. o usb/88966 usb kldunload ucom.ko returns "Device busy" error. o usb/89003 usb LaCie Firewire drive not properly supported under 6.0 o usb/89954 usb [usb] USB Disk driver race condition? f usb/89997 usb [umass] [panic] panic on iPod mini detach o usb/90162 usb [usb] [patch] Add support for the MS Wireless USB Mous o usb/90700 usb Kernel panic on connect/mount/use umass device o usb/91238 usb USB tape unit fails to write a second tape file to the o usb/91263 usb [patch] USB quirk needed for Logitec USB Hard disk LHD o usb/91283 usb booting very slow with usb devices connection (regress o usb/91538 usb Unable to print to EPSON CX3500 o usb/91906 usb FreeBSD hangs while booting with USB legacy support on o usb/92052 usb usbd causes defunct process with busy file-handle o kern/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors from usb drivers o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/93408 usb hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes choppy m f usb/93496 usb USB2.0 umass stalls on VIA o usb/93640 usb device ehci causes interrupt storm on this MSI amd64 m o usb/93828 usb ohci causes panic on boot (HP Pavillion d4100e) o usb/94166 usb btx halted with a flashcard plugged o usb/94384 usb kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94742 usb [umass] [patch] umass driver does not recognise YANO e o usb/94813 usb mounting write-protected umass device freezes computer o usb/94897 usb Kernel Panic when cleanly unmounting USB disk o usb/95131 usb Boot/setup process does not accept key strokes o usb/95348 usb USB keyboard unplug causes noise on screen o usb/95562 usb Write Stress in USB Mass drive cause: [vinvalbuf: dir o usb/95636 usb [boot] 5 minute delay at boot when using VT6205 based o usb/96120 usb USB mouse not always detected o usb/96224 usb [usb] mount_msdosfs cause page fault in syncer process o usb/96457 usb fatback on umass = reboot o usb/97286 usb MS Wireless Intellimouse Explorer 2.0 doesn't work o usb/99431 usb FreeBSD on MSI 6566E (Intel 845E motherboards) doesn't o usb/101096 usb [if_ural] USB WLAN occasionally causes kernel-panics d o usb/101752 usb [panic] 6.1-RELEASE kernel panic on usb device inserti o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/102096 usb /usr/sbin/usbd does not handle multiple devices in one o usb/103025 usb [usb] wrong detection of USB device for FreeBSD 6.1 an o usb/104292 usb system lockup on forced umount of usb-storage device o usb/104830 usb system crashes when copying data to umass devices o usb/105186 usb USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106648 usb [hang] USB Floppy on D1950 10 min Hang on Insert w/o F o usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107101 usb [umass] [patch] Quirk for Denver MP3 player o usb/107116 usb [usb] panic while accessing usb msdos pccard o usb/107128 usb [usb] panic while accessing usb msdos flashkey o usb/107248 usb [PATCH] scsi_da.c quirk for Cowon iAUDIO X5 MP3 player o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [panic] ohci_add_done addr not found o usb/107848 usb problem with samsung flash o usb/107924 usb [patch] usbd(8) does not call detach o usb/108097 usb [usbgen] [patch] ADMtek 851X USB-to-LAN adapter o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regr o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/109397 usb [panic] on boot from USB flash o usb/110122 usb [ugen] [patch] usb_interrupt_read does not respect tim o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o kern/111753 usb [uhid] Replicable system panic involving UHID driver 113 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem s usb/32653 usb Added patches to improve USB scanner supportOB o usb/40948 usb [usb] USB HP CDW8200 does not work f usb/41415 usb [usb] [patch] Some USB scanners cannot talk to uscanne o usb/48342 usb [PATCH] usbd dynamic device list. o kern/51958 usb [usb] [patch] update for urio driver o kern/52026 usb [usb] feature request: umass driver support for InSyst o usb/53025 usb [ugen] [patch] ugen does not allow O_NONBLOCK for inte o usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fails to work o kern/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio f usb/60248 usb [patch] Problem with USB printer HP LaserJet 1300 o usb/61234 usb [usb] [patch] usbhidaction(1) doesn't support using an o usb/63837 usb [uhid] [patch] USB: hid_is_collection() only looks for o kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops input on usb- o kern/66547 usb [usb] Palm Tungsten T USB does not initialize correctl o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB MP3 player o usb/70523 usb [usb] [patch] umct sending/receiving wrong characters o usb/70942 usb [usb] Genius Wireless USB mouse: moused doesn't work c o usb/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) detach is no o usb/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) communicatio o usb/71455 usb [usb] Slow USB umass performance of 5.3 o usb/71605 usb [umass] [patch] umass doesn't recognize multiple slots o usb/72380 usb [usb] USB does not work [dual Celeron Abit] o usb/72732 usb [patch] Kyocera 7135 quirk. o usb/72733 usb Kyocera 7135 Palm OS connection problem. o usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse not working in o usb/74211 usb USB flash drive causes CAM status 0x4 on 4.10Release f usb/74358 usb [umass] unplugging at boot time an umass device crashe o usb/74453 usb Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) doe o usb/74557 usb imation 500mb usb key can only be written halfway on f o usb/74609 usb [umodem] [patch] allowing cdma modems to work at full o usb/74849 usb [usbdevs] [patch] Samsung SPH-i500 does not attach pro o usb/74880 usb [usb] [patch] Samsung N400 cellphone/acm fails to atac o kern/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb ucom1: init failed STALLED error in time of sync with o usb/75928 usb Cytronix SmartMedia card (SMC) reader has problems whe o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76732 usb Mouse problems with USB KVM Switch f usb/78371 usb Philips Wearable Audio Player (128) fails to attach f usb/78984 usb Creative MUVO umass failure o usb/79723 usb [usb] prepare for high speed isochronous transfers o usb/79725 usb [usb] [patch] USB device speed is not double-checked o usb/79893 usb [umass] [patch] new usbdevs/umass quirks derived from o usb/80010 usb [aue] [patch] add support for the AEI USB to LAN adapt f usb/80773 usb "usbd_get_string()" could have taken a length paramete o usb/80774 usb have "usbd_find_desc" in line with the other "usbd_fin o usb/80776 usb [udav] UDAV device driver shouldn't use usb_add_task o usb/80777 usb usb_rem_task() should wait for callback to complete? o usb/80854 usb suggestion for new iface-no-probe mechanism o usb/80935 usb uvisor.c is not work with CLIE TH55. f usb/81621 usb external hd hangs under load on ehci o usb/82436 usb [usbdevs] [patch] USL101 Host-to-Host bridge support o o usb/83022 usb ALI USB 2.0 EHCI Controller is not detected o usb/83863 usb Communication problem between opensc/openct via USB wi o usb/85067 usb Cannot attach ScanJet 4300C to usb device o usb/85992 usb [uhid] [patch] USB stops working when trying to read f o usb/86195 usb [usbdevs] [patch] allow USB Ethernet Adaptor "ELECOM L o usb/86298 usb Known good USB mouse won't work with correct settings o usb/86438 usb Fix for non-working iPod over USB is in NetBSD CVS o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb [axe] axe0 read PHY failed o usb/88939 usb [usbdevs] [patch] Fix cheapy Myson USB-IDE adapter f usb/89087 usb usb external harddrive hangs with BBB reset failed, TI f usb/91191 usb HP LaserJet 1020 (USB printer) not recognized f usb/91516 usb [umass] umass0 problems, with Freecom Classic SL Hard o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb Compact Flash in HP Photosmart 2610 return " Medium n o usb/91896 usb Serial Number of USB Memory Sticks is not passed throu o usb/92306 usb [quirk] [patch] Support for iRiver U10 USB media playe o usb/92403 usb [uplcom] uplcom.c needs new entry for 4.00 revision of o usb/92852 usb Vertical scroll not working properly on A4Tech WOP-49 o usb/93389 usb Digital Camera Pentax S60 don't work o usb/93872 usb [patch] SCSI quirk required for ELTA 8061 OL USB memor o usb/94132 usb [patch] quirk for CENTURY EX35QUAT disk enclosure o usb/94148 usb [usbdevs] [patch] Make if_cdce work with ARM linux han o usb/94311 usb [ugen][PATCH] allow interrupt IN transactions to be af o usb/94439 usb [patch] Add support for JNC MP3 Player o usb/94946 usb [uhub] [patch] code dynamic status size for status cha o usb/95037 usb USB disk didnt recognized on hot-plug. o usb/95173 usb [usb] cannot mount external usb harddisk VIA Technolog o usb/95241 usb [patch] add USB ID for OEM Pharos 360 GPS o usb/95803 usb [patch] Add support for AnyData ADU-E100H o usb/95805 usb [patch] Add Support for Siemens ES75 modem o usb/96381 usb [patch] add a quirk table entry for a flash ram usb st p usb/96546 usb [usb] [patch] Add support (quirk) for EasyMP3 EM732X U o usb/96714 usb [usbdevs] [patch] Update uvisor to support the Fossil o usb/97175 usb USB cardreader hangs system o usb/97472 usb [patch] add support for Olympus C150,D390 o usb/98343 usb BBB reset failed errors with Creative Muvo MP3 player; o usb/99419 usb external usb harddrive slow to accept o usb/99538 usb [kbd] while using USB keyboard default params of atkbd o usb/100746 usb [kbd] system does not boot due to USB keyboard problem o usb/101757 usb [patch] uhid.4: correct structure field names to match o usb/101761 usb [patch] usb.h: increase maximal size of report descrip o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102678 usb [kbd] Dell PowerEdge DRAC5 USB Keyboard does not work o usb/102976 usb Casio Exilim Digital Camera cause panic o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103289 usb USB 2.0 problems on AMD LX-800 CPU and CS-5536 chipset o usb/103418 usb [usb] [patch] usbhidctl: add ability to write output a o usb/103917 usb USB driver reports "Addr 0 should never happen" o usb/104290 usb [patch] quirk: TOSHIBA DVD-RAM drive (libretto DVD Doc o usb/104352 usb [ural] ural driver doesnt work o usb/104645 usb Rave C-201 MP3 player does not communicate o usb/105065 usb [sata] SATA - USB Bridge o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105518 usb [patch] epson perfection 3490 usb scanner def o usb/106041 usb FreeBSD does not recognise Mustek BearPaw 2400TA usb s o usb/106070 usb devd recognizes ucom, but ttyU is the device actually o usb/106462 usb [usbdevs] Motorola U6 PEBL not recognized by system vi o usb/106538 usb [patch] Can not burn DVD on Sony DRX-820UL external US o usb/106621 usb [usb] DLINK DUB-E100 support broken o usb/106861 usb [PATCH]: usbdevs update: Add product ACER Zeevo BT-500 o usb/107243 usb [patch] Apacer USB Flash Drive quirk o usb/107388 usb [PATCH] Add utoppy device from NetBSD o usb/107496 usb USB device problem on RELENG_6_2 (SHORT_XFER) (regress o usb/107526 usb [usbdevs] Patch to support the Crystalfontz CFA-635 20 o usb/107642 usb [patch] add Ralink Technology RT2501USB/RT2601USB chip o kern/107665 usb [usb] [patch] uscanner support for epson stylus DX5050 o usb/107701 usb usbd ignores "detach" o usb/107935 usb [uplcom] panic while accessing /dev/cuaU0 o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108427 usb [patch] quirk: Samsung MP0402H o usb/108509 usb [hang] FreeBSD hang at startup after ehci0 detected (C o usb/108810 usb [patch] quirk for I/O Magic USB flash drive "Giga Bank o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC o usb/110477 usb [usbdevs] [patch] add Benq 3300U/4300U support to Free o usb/110681 usb [ukbd][patch] multiple keys will be repeated o usb/110991 usb [patch] QUIRK: Super Top IDE DEVICE (depends on usb/11 o usb/110992 usb [uftdi] [patch] Add Tactrix Openport support in uftdi o usb/111710 usb [patch] [usb] add support for Option GlobeTrotter 3G+ o usb/112161 usb [usbdevs] [patch] Option N.V. Fusion UMTS Quad-GPRS o usb/112392 usb [usbdevs] [patch] Make Epson Perfection 3490 recognize o usb/112460 usb ehci USB 2.0 doesn't work on nforce4 o usb/112461 usb ehci USB 2.0 doesn't work on nforce4 138 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon May 7 12:04:32 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 14C0316A407; Mon, 7 May 2007 12:04:31 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id E2BCD13C4C6; Mon, 7 May 2007 12:04:30 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l47C4UiS084944; Mon, 7 May 2007 12:04:30 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l47C4UFp084940; Mon, 7 May 2007 12:04:30 GMT (envelope-from linimon) Date: Mon, 7 May 2007 12:04:30 GMT From: Mark Linimon Message-Id: <200705071204.l47C4UFp084940@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/112463: problem with Samsung USB DVD writer, libscg and FreeBSD kernel X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 12:04:32 -0000 Old Synopsis: Samsung USB DVD writer, libscg and FreeBSD kernel New Synopsis: problem with Samsung USB DVD writer, libscg and FreeBSD kernel Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Mon May 7 12:03:43 UTC 2007 Responsible-Changed-Why: Reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=112463 From owner-freebsd-usb@FreeBSD.ORG Mon May 7 13:13:08 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B471216A402 for ; Mon, 7 May 2007 13:13:08 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id D86E513C448 for ; Mon, 7 May 2007 13:13:07 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.lan) by mailfe04.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 481787993; Mon, 07 May 2007 15:13:05 +0200 From: Hans Petter Selasky To: Igor Popov Date: Mon, 7 May 2007 15:12:50 +0200 User-Agent: KMail/1.9.5 References: <200705061151.l46Bp4e9013742@www.freebsd.org> <200705061424.56687.hselasky@c2i.net> <200705070909.08032.igorpopov@newmail.ru> In-Reply-To: <200705070909.08032.igorpopov@newmail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705071512.50827.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org 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 List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 13:13:08 -0000 On Monday 07 May 2007 08:09, Igor Popov wrote: > 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 > >,M 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. You have to compile a new USB kernel with "options USB_DEBUG". My new USB stack has that flag set by default. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon May 7 14:20:07 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 374E416A401 for ; Mon, 7 May 2007 14:20:07 +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 DCBA813C448 for ; Mon, 7 May 2007 14:20:06 +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 l47EK6do093288 for ; Mon, 7 May 2007 14:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l47EK6RF093287; Mon, 7 May 2007 14:20:06 GMT (envelope-from gnats) Date: Mon, 7 May 2007 14:20:06 GMT Message-Id: <200705071420.l47EK6RF093287@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky 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: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 14:20:07 -0000 The following reply was made to PR usb/112461; it has been noted by GNATS. From: Hans Petter Selasky To: Igor Popov 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 15:12:50 +0200 On Monday 07 May 2007 08:09, Igor Popov wrote: > 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 > >,M 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. You have to compile a new USB kernel with "options USB_DEBUG". My new USB stack has that flag set by default. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon May 7 17:01:31 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA5A416A401 for ; Mon, 7 May 2007 17:01:31 +0000 (UTC) (envelope-from andrew@dobrohot.org) Received: from smtp-8.masterhost.ru (smtp-8.masterhost.ru [83.222.24.108]) by mx1.freebsd.org (Postfix) with SMTP id D8B7B13C448 for ; Mon, 7 May 2007 17:01:30 +0000 (UTC) (envelope-from andrew@dobrohot.org) Received: (qmail 51964 invoked from network); 7 May 2007 16:34:33 -0000 Received: from ns.km10433.keymachine.de (HELO inspirra.localdomain) (izdat%dobrohot.org@62.141.50.149) by smtp1.masterhost.ru with SMTP; 7 May 2007 16:34:34 -0000 Received: from inspirra.localdomain (inspirra.localdomain [192.168.2.1]) by inspirra.localdomain (8.13.8/8.13.8) with ESMTP id l47GXqjb096012 for ; Mon, 7 May 2007 20:33:52 +0400 (MSD) (envelope-from andrew@dobrohot.org) Message-ID: <463F54F0.4080009@dobrohot.org> Date: Mon, 07 May 2007 20:33:52 +0400 From: Andrew Muhametshin Organization: =?windows-1251?Q?=C0=CD=CE_=22=C4=EE=E1=F0=EE=F5=EE=F2=22?= User-Agent: Thunderbird 2.0.0.0 (X11/20070423) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit Subject: Process of scanning breaks X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 17:01:31 -0000 Hello. It is not possible to take advantage of the scanner(Epson Pervection 2400 Photo). Scanning constantly breaks and it is necessary to disconnect and anew to include the scanner. I start process of scanning... Àfter a while, process interrupts. Process of scanning comes to an end successfully very seldom. Usually, successful scanning probably only on small images which can be transferred from the scanner in a computer for time, without a suspension of process of scanning for data transmission. But sometimes, lags occur even during preliminary scanning. =================START===================================== # uname -a FreeBSD host01 6.2-STABLE FreeBSD 6.2-STABLE #1: Sun May 6 08:11:31 MSD 2007 root@inspirra.localdomain:/SHARED/obj.host01/usr/src/sys/HOST01 i386 # grep -E "^u|eh" /var/run/dmesg.boot ehci0: mem 0xdf040000-0xdf0400ff at device 16.2 on pci0 ehci0: [GIANT-LOCKED] usb0: EHCI version 0.95 usb0: wrong number of companions (2 != 0) usb0: on ehci0 usb0: USB revision 2.0 uhub0: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ugen0: EPSON EPSON Scanner, rev 2.00/1.00, addr 2 # scanimage --version scanimage (sane-backends) 1.0.18; backend version 1.0.18 # scanimage -L device `epson:libusb:/dev/usb0:/dev/ugen0' is a Epson GT-9300 flatbed scanner # sysctl hw.usb.debug=15 # scanimage -v -p --quick-format CD --resolution 500 --mode Color > /dev/null scanimage: rounded value of resolution from 500 to 480 scanimage: scanning image of size 2264x2268 pixels at 24 bits/pixel scanimage: acquiring RGB frame Progress: 18.7% scanimage: min/max graylevel value = 64/255 scanimage: sane_read: Error during device I/O =================The end================================== Completely, debugging messages can be loaded from here: http://www.dobrohot.org/hw.usb.debug.txt =================START===================================== May 7 16:25:55 host01 kernel: usb_event_thread: woke up May 7 16:25:55 host01 kernel: usb_discover May 7 16:26:05 host01 kernel: usbd_alloc_xfer() = 0xc37ab000 May 7 16:26:05 host01 kernel: usbd_transfer: xfer=0xc37ab000, flags=6, pipe=0xc3752800, running=0 May 7 16:26:05 host01 kernel: usbd_dump_queue: pipe=0xc3752800 May 7 16:26:05 host01 kernel: usb_allocmem: use frag=0xc37a3c40 size=2 May 7 16:26:05 host01 kernel: usb_insert_transfer: pipe=0xc3752800 running=0 timeout=5000 May 7 16:26:05 host01 kernel: usb_transfer_complete: pipe=0xc3752800 xfer=0xc37ab000 status=0 actlen=2 May 7 16:26:05 host01 kernel: usb_freemem: frag=0xc37a3c40 May 7 16:26:05 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:26:05 host01 kernel: usbd_start_next: pipe=0xc3752800, xfer=0 May 7 16:26:05 host01 kernel: usbd_free_xfer: 0xc37ab000 May 7 16:26:05 host01 kernel: usbd_alloc_xfer() = 0xc37ab000 <...>skip 84 lines<...> May 7 16:26:05 host01 kernel: usbd_alloc_xfer() = 0xc37ab000 May 7 16:26:05 host01 kernel: usbd_transfer: xfer=0xc37ab000, flags=6, pipe=0xc3f06780, running=0 May 7 16:26:05 host01 kernel: usbd_dump_queue: pipe=0xc3f06780 May 7 16:26:05 host01 kernel: usb_allocmem: use frag=0xc37a3c40 size=32 May 7 16:26:05 host01 kernel: usb_insert_transfer: pipe=0xc3f06780 running=0 timeout=1000 May 7 16:26:05 host01 kernel: usb_schedsoftintr: polling=0 May 7 16:26:05 host01 kernel: usb_transfer_complete: pipe=0xc3f06780 xfer=0xc37ab000 status=0 actlen=32 May 7 16:26:05 host01 kernel: usb_freemem: frag=0xc37a3c40 May 7 16:26:05 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:26:05 host01 kernel: usbd_start_next: pipe=0xc3f06780, xfer=0 May 7 16:26:05 host01 kernel: usbd_free_xfer: 0xc37ab000 May 7 16:26:05 host01 kernel: All threads purged from ugen0.1 May 7 16:26:05 host01 kernel: All threads purged from ugen0.2 May 7 16:26:05 host01 kernel: usbd_open_pipe: iface=0xc4272380 address=0x2 flags=0x0 May 7 16:26:05 host01 kernel: usbd_setup_pipe: dev=0xc44eec00 iface=0xc4272380 ep=0xc3a32ccc pipe=0xd58d5944 May 7 16:26:05 host01 kernel: usbd_alloc_xfer() = 0xc37ab000 May 7 16:26:05 host01 kernel: usbd_bulk_transfer: start transfer 2 bytes May 7 16:26:05 host01 kernel: usbd_transfer: xfer=0xc37ab000, flags=0, pipe=0xc44ee080, running=0 May 7 16:26:05 host01 kernel: usbd_dump_queue: pipe=0xc44ee080 May 7 16:26:05 host01 kernel: usb_allocmem: use frag=0xc37a3c40 size=2 May 7 16:26:05 host01 kernel: usb_insert_transfer: pipe=0xc44ee080 running=0 timeout=0 May 7 16:26:05 host01 kernel: usb_schedsoftintr: polling=0 May 7 16:26:05 host01 kernel: usb_transfer_complete: pipe=0xc44ee080 xfer=0xc37ab000 status=0 actlen=2 <...>skip 7235 lines<...> May 7 16:26:33 host01 kernel: usb_transfer_complete: pipe=0xc44f1780 xfer=0xc37ab000 status=0 actlen=1024 May 7 16:26:33 host01 kernel: usb_freemem: large free May 7 16:26:33 host01 kernel: usb_block_freemem: size=4096 May 7 16:26:33 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:26:33 host01 kernel: usbd_start_next: pipe=0xc44f1780, xfer=0 May 7 16:26:33 host01 kernel: usbd_bulk_transfer: transferred 1024 May 7 16:26:33 host01 kernel: usbd_bulk_transfer: start transfer 1024 bytes May 7 16:26:33 host01 kernel: usbd_transfer: xfer=0xc37ab000, flags=4, pipe=0xc44f1780, running=0 May 7 16:26:33 host01 kernel: usbd_dump_queue: pipe=0xc44f1780 May 7 16:26:33 host01 kernel: usb_allocmem: large alloc 1024 May 7 16:26:33 host01 kernel: usb_block_allocmem: size=4096 align=1 May 7 16:26:33 host01 kernel: usb_block_allocmem: free list size=4096 May 7 16:26:33 host01 kernel: usb_insert_transfer: pipe=0xc44f1780 running=0 timeout=30000 May 7 16:26:33 host01 kernel: usb_schedsoftintr: polling=0 May 7 16:26:33 host01 kernel: usb_transfer_complete: pipe=0xc44f1780 xfer=0xc37ab000 status=0 actlen=1024 May 7 16:26:33 host01 kernel: usb_freemem: large free May 7 16:26:33 host01 kernel: usb_block_freemem: size=4096 May 7 16:26:33 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:26:33 host01 kernel: usbd_start_next: pipe=0xc44f1780, xfer=0 May 7 16:26:33 host01 kernel: usbd_bulk_transfer: transferred 1024 May 7 16:26:33 host01 kernel: usbd_bulk_transfer: start transfer 1024 bytes May 7 16:26:33 host01 kernel: usbd_transfer: xfer=0xc37ab000, flags=4, pipe=0xc44f1780, running=0 May 7 16:26:33 host01 kernel: usbd_dump_queue: pipe=0xc44f1780 May 7 16:26:33 host01 kernel: usb_allocmem: large alloc 1024 May 7 16:26:33 host01 kernel: usb_block_allocmem: size=4096 align=1 May 7 16:26:33 host01 kernel: usb_block_allocmem: free list size=4096 May 7 16:26:33 host01 kernel: usb_insert_transfer: pipe=0xc44f1780 running=0 timeout=30000 ************Approximately in this place, process of scanning has broken.******************* May 7 16:26:33 host01 kernel: usb_schedsoftintr: polling=0 May 7 16:26:33 host01 kernel: usb_transfer_complete: pipe=0xc44f1780 xfer=0xc37ab000 status=0 actlen=1024 May 7 16:26:33 host01 kernel: usb_freemem: large free May 7 16:26:33 host01 kernel: usb_block_freemem: size=4096 May 7 16:26:33 host01 kernel: usb_transfer_complete: repeat=0 new head <...>skip 58 lines<...> May 7 16:27:00 host01 kernel: usb_allocmem: use frag=0xc37a3c40 size=4 May 7 16:27:00 host01 kernel: usb_insert_transfer: pipe=0xc44f1780 running=0 timeout=30000 May 7 16:27:00 host01 kernel: usb_transfer_complete: pipe=0xc3752600 xfer=0xc37ab100 status=0 actlen=1 May 7 16:27:00 host01 kernel: usb_transfer_complete: repeat=1 new head=0xc37ab100 May 7 16:27:00 host01 kernel: usb_needs_explore May 7 16:27:00 host01 kernel: usb_schedsoftintr: polling=0 May 7 16:27:00 host01 kernel: usb_transfer_complete: pipe=0xc44f1780 xfer=0xc37ab000 status=13 actlen=0 May 7 16:27:00 host01 kernel: usb_freemem: frag=0xc37a3c40 May 7 16:27:00 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:27:00 host01 kernel: usbd_start_next: pipe=0xc44f1780, xfer=0 May 7 16:27:00 host01 kernel: usbd_bulk_transfer: transferred 0 May 7 16:27:00 host01 kernel: usbd_bulk_transfer: error=13 May 7 16:27:00 host01 kernel: usbd_clear_endpoint_stall May 7 16:27:00 host01 kernel: usbd_alloc_xfer() = 0xc375bc00 May 7 16:27:00 host01 kernel: usbd_transfer: xfer=0xc375bc00, flags=2, pipe=0xc3f06780, running=0 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc3f06780 May 7 16:27:00 host01 kernel: usb_insert_transfer: pipe=0xc3f06780 running=0 timeout=5000 May 7 16:27:00 host01 kernel: usb_event_thread: woke up May 7 16:27:00 host01 kernel: usb_discover May 7 16:27:00 host01 kernel: usbd_alloc_xfer() = 0xc4325100 May 7 16:27:00 host01 kernel: usbd_transfer: xfer=0xc4325100, flags=2, pipe=0xc3752800, running=0 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc3752800 May 7 16:27:00 host01 kernel: usb_allocmem: use frag=0xc37a3c40 size=4 May 7 16:27:00 host01 kernel: usb_insert_transfer: pipe=0xc3752800 running=0 timeout=5000 May 7 16:27:00 host01 kernel: usb_transfer_complete: pipe=0xc3752800 xfer=0xc4325100 status=0 actlen=4 May 7 16:27:00 host01 kernel: usb_freemem: frag=0xc37a3c40 May 7 16:27:00 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:27:00 host01 kernel: usbd_start_next: pipe=0xc3752800, xfer=0 May 7 16:27:00 host01 kernel: usbd_free_xfer: 0xc4325100 May 7 16:27:00 host01 kernel: usbd_alloc_xfer() = 0xc4325100 May 7 16:27:00 host01 kernel: usbd_transfer: xfer=0xc4325100, flags=2, pipe=0xc3752800, running=0 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc3752800 May 7 16:27:00 host01 kernel: usb_allocmem: use frag=0xc37a3c40 size=4 May 7 16:27:00 host01 kernel: usb_insert_transfer: pipe=0xc3752800 running=0 timeout=5000 May 7 16:27:00 host01 kernel: usb_transfer_complete: pipe=0xc3752800 xfer=0xc4325100 status=0 actlen=4 May 7 16:27:00 host01 kernel: usb_freemem: frag=0xc37a3c40 May 7 16:27:00 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:27:00 host01 kernel: usbd_start_next: pipe=0xc3752800, xfer=0 May 7 16:27:00 host01 kernel: usbd_free_xfer: 0xc4325100 May 7 16:27:00 host01 kernel: usbd_alloc_xfer() = 0xc4325100 May 7 16:27:00 host01 kernel: usbd_transfer: xfer=0xc4325100, flags=2, pipe=0xc3752800, running=0 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc3752800 May 7 16:27:00 host01 kernel: usb_insert_transfer: pipe=0xc3752800 running=0 timeout=5000 May 7 16:27:00 host01 kernel: usb_transfer_complete: pipe=0xc3752800 xfer=0xc4325100 status=0 actlen=0 May 7 16:27:00 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:27:00 host01 kernel: usbd_start_next: pipe=0xc3752800, xfer=0 May 7 16:27:00 host01 kernel: usbd_free_xfer: 0xc4325100 May 7 16:27:00 host01 kernel: usbd_alloc_xfer() = 0xc4325100 May 7 16:27:00 host01 kernel: usbd_transfer: xfer=0xc4325100, flags=2, pipe=0xc3752800, running=0 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc3752800 May 7 16:27:00 host01 kernel: usb_insert_transfer: pipe=0xc3752800 running=0 timeout=5000 May 7 16:27:00 host01 kernel: usb_transfer_complete: pipe=0xc3752800 xfer=0xc4325100 status=0 actlen=0 May 7 16:27:00 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:27:00 host01 kernel: usbd_start_next: pipe=0xc3752800, xfer=0 May 7 16:27:00 host01 kernel: usbd_free_xfer: 0xc4325100 May 7 16:27:00 host01 kernel: uhub_disconnect: up=0xc37526c4 dev=0xc44eec00 port=2 May 7 16:27:00 host01 kernel: usb_disconnect_port: disconnect subdevs May 7 16:27:00 host01 kernel: ugen0: at uhub0 port 2 (addr 2) disconnected May 7 16:27:00 host01 kernel: usbd_ar_pipe: pipe=0xc44f1780 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc44f1780 May 7 16:27:00 host01 kernel: usbd_ar_pipe: pipe=0xc44f1880 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc44f1880 May 7 16:27:00 host01 kernel: All threads purged from ugen0.2 May 7 16:27:00 host01 kernel: Purging 2 threads from ugen0.1 May 7 16:27:00 host01 kernel: usbd_ar_pipe: pipe=0xc44f1780 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc44f1780 May 7 16:27:00 host01 kernel: usb_schedsoftintr: polling=0 May 7 16:27:00 host01 kernel: usb_transfer_complete: pipe=0xc3f06780 xfer=0xc375bc00 status=13 actlen=0 May 7 16:27:00 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:27:00 host01 kernel: usbd_start_next: pipe=0xc3f06780, xfer=0 May 7 16:27:00 host01 kernel: usbd_free_xfer: 0xc375bc00 May 7 16:27:00 host01 kernel: usbd_free_xfer: 0xc37ab000 May 7 16:27:00 host01 kernel: All threads purged from ugen0.1 May 7 16:27:00 host01 kernel: All threads purged from ugen0 May 7 16:27:00 host01 kernel: ugen0: detached May 7 16:27:00 host01 kernel: usbd_ar_pipe: pipe=0xc3f06780 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc3f06780 May 7 16:27:00 host01 kernel: usbd_alloc_xfer() = 0xc37ab000 May 7 16:27:00 host01 kernel: usbd_transfer: xfer=0xc37ab000, flags=2, pipe=0xc3752800, running=0 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc3752800 May 7 16:27:00 host01 kernel: usb_insert_transfer: pipe=0xc3752800 running=0 timeout=5000 May 7 16:27:00 host01 kernel: usb_transfer_complete: pipe=0xc3752800 xfer=0xc37ab000 status=0 actlen=0 May 7 16:27:00 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:27:00 host01 kernel: usbd_start_next: pipe=0xc3752800, xfer=0 May 7 16:27:00 host01 kernel: usbd_free_xfer: 0xc37ab000 May 7 16:27:00 host01 kernel: usbd_alloc_xfer() = 0xc37ab000 May 7 16:27:00 host01 kernel: usbd_transfer: xfer=0xc37ab000, flags=2, pipe=0xc3752800, running=0 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc3752800 May 7 16:27:00 host01 kernel: usb_allocmem: use frag=0xc37a3c40 size=4 May 7 16:27:00 host01 kernel: usb_insert_transfer: pipe=0xc3752800 running=0 timeout=5000 May 7 16:27:00 host01 kernel: usb_transfer_complete: pipe=0xc3752800 xfer=0xc37ab000 status=0 actlen=4 May 7 16:27:00 host01 kernel: usb_freemem: frag=0xc37a3c40 May 7 16:27:00 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:27:00 host01 kernel: usbd_start_next: pipe=0xc3752800, xfer=0 May 7 16:27:00 host01 kernel: usbd_free_xfer: 0xc37ab000 May 7 16:27:00 host01 kernel: usbd_alloc_xfer() = 0xc37ab000 May 7 16:27:00 host01 kernel: usbd_transfer: xfer=0xc37ab000, flags=2, pipe=0xc3752800, running=0 May 7 16:27:00 host01 kernel: usbd_dump_queue: pipe=0xc3752800 May 7 16:27:00 host01 kernel: usb_allocmem: use frag=0xc37a3c40 size=4 May 7 16:27:00 host01 kernel: usb_insert_transfer: pipe=0xc3752800 running=0 timeout=5000 May 7 16:27:00 host01 kernel: usb_transfer_complete: pipe=0xc3752800 xfer=0xc37ab000 status=0 actlen=4 May 7 16:27:00 host01 kernel: usb_freemem: frag=0xc37a3c40 May 7 16:27:00 host01 kernel: usb_transfer_complete: repeat=0 new head=0 May 7 16:27:00 host01 kernel: usbd_start_next: pipe=0xc3752800, xfer=0 May 7 16:27:00 host01 kernel: usbd_free_xfer: 0xc37ab000 May 7 16:27:00 host01 kernel: usb_schedsoftintr: polling=0 May 7 16:27:59 host01 kernel: usb_event_thread: woke up May 7 16:27:59 host01 kernel: usb_discover =================The end=================================== From owner-freebsd-usb@FreeBSD.ORG Tue May 8 06:19:54 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 316E116A401; Tue, 8 May 2007 06:19:54 +0000 (UTC) (envelope-from igorpopov@newmail.ru) Received: from mx1.mail.wbt.ru (mx3.mail.wbt.ru [80.250.64.36]) by mx1.freebsd.org (Postfix) with ESMTP id 70B6D13C45A; Tue, 8 May 2007 06:19:52 +0000 (UTC) (envelope-from igorpopov@newmail.ru) Received: from moon.wbt.ru ([80.250.66.38]) by mx1.mail.wbt.ru (Exim) with esmtp sent from id 1HlJ38-000MQQ-A2; Tue, 08 May 2007 09:19:50 +0300 From: Igor Popov Organization: Home To: Hans Petter Selasky Date: Tue, 8 May 2007 09:19:44 +0300 User-Agent: KMail/1.9.6 References: <200705061151.l46Bp4e9013742@www.freebsd.org> <200705070909.08032.igorpopov@newmail.ru> <200705071512.50827.hselasky@c2i.net> In-Reply-To: <200705071512.50827.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200705080919.45417.igorpopov@newmail.ru> X-ACL-Warn: X-AV 1 1178605190 X-ACL-Warn: X-AV 2 1178605190 X-ACL-Warn: X-AV 3 1178605190 X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-SpamTest-Info: Not protected Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org 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 List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 06:19:54 -0000 =D0=92 =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BE=D1=82 = Monday 07 May 2007 16:12:50 Hans Petter Selasky =D0=BD=D0=B0=D0=BF=D0=B8=D1= =81=D0=B0=D0=BB(=D0=B0): > On Monday 07 May 2007 08:09, Igor Popov wrote: > > 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 =20 > > > > 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), th= at > > > > 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 =3D "AuthenticAMD" Id =3D 0x20ff2 Stepping =3D 2 > > > > > > > > Features=3D0x78bfbff > > >GE ,M CA ,CM OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> > > > > Features2=3D0x1 > > > > AMD Features=3D0xe2500800 > > > > AMD Features2=3D0x1 > > > > real memory =3D 536805376 (511 MB) > > > > avail memory =3D 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=3D0x300> > > > > 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=3D-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. > > You have to compile a new USB kernel with "options USB_DEBUG". My new USB > stack has that flag set by default. > =20 Recompiled kernel with makeoptions DEBUG=3D-DUSB_DEBUG # sysctl hw.usb hw.usb.ehci.debug: 1 hw.usb.ohci.debug: 1 hw.usb.ugen.debug: 1 hw.usb.uhci.debug: 1 hw.usb.uhci.loop: 0 hw.usb.uhid.debug: 0 hw.usb.uhub.debug: 0 hw.usb.ukbd.debug: 0 hw.usb.ulpt.debug: 0 hw.usb.umass.debug: 1 hw.usb.ums.debug: 0 hw.usb.debug: 1 ehci_pcd: change=3D0x02 ehci after reset, status=3D0x00001005 ehci port 1 reset, status =3D 0x00001005 usbd_new_device bus=3D0xc3b51000 port=3D1 depth=3D1 speed=3D3 usbd_new_device: adding unit addr=3D2, rev=3D200, class=3D0, subclass=3D0, = protocol=3D0,=20 maxpacket=3D64, len=3D18, speed=3D3 usbd_new_device: new dev (addr 2), dev=3D0xc4c35900, parent=3D0xc3b3f900 usbd_probe_and_attach: trying device specific drivers usbd_probe_and_attach: no device specific driver found usbd_probe_and_attach: looping over 1 configurations usbd_set_config_index: (addr 1) cno=3D2 attr=3D0x80, selfpowered=3D0, power= =3D98 usbd_set_config_index: set config 1 umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 2 umass0: SCSI over Bulk-Only; quirks =3D 0x0000 umass0:0:0:-1: Attached to scbus0 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) umass0: BBB reset failed, IOERROR ehci_device_clear_toggle: epipe=3D0xc4c35180 status=3D0x80008d00 usbd_dump_pipe: pipe=3D0xc4c35180 usbd_dump_iface: iface=3D0xc40bb020 device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 usbd_dump_device: dev=3D0xc4c35900 bus=3D0xc3b51000 default_pipe=3D0xc4c35800 address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 lang= id=3D1033 usbd_dump_endpoint: endp=3D0xc3d12dcc edesc=3D0xc433fe19 refcnt=3D1 bEndpointAddress=3D0x82 (usbd_dump_pipe:) refcnt=3D1 running=3D0 aborting=3D0 intrxfer=3D0, repeat=3D0, interval=3D-1 umass0: BBB bulk-in clear stall failed, IOERROR ehci_device_clear_toggle: epipe=3D0xc4c35000 status=3D0x801f8049 usbd_dump_pipe: pipe=3D0xc4c35000 usbd_dump_iface: iface=3D0xc40bb020 device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 usbd_dump_device: dev=3D0xc4c35900 bus=3D0xc3b51000 default_pipe=3D0xc4c35800 address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 lang= id=3D1033 usbd_dump_endpoint: endp=3D0xc3d12dc0 edesc=3D0xc433fe12 refcnt=3D1 bEndpointAddress=3D0x01 (usbd_dump_pipe:) refcnt=3D1 running=3D0 aborting=3D0 intrxfer=3D0, repeat=3D0, interval=3D-1 umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR ehci_device_clear_toggle: epipe=3D0xc4c35180 status=3D0x8d00 usbd_dump_pipe: pipe=3D0xc4c35180 usbd_dump_iface: iface=3D0xc40bb020 device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 usbd_dump_device: dev=3D0xc4c35900 bus=3D0xc3b51000 default_pipe=3D0xc4c35800 address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 lang= id=3D1033 usbd_dump_endpoint: endp=3D0xc3d12dcc edesc=3D0xc433fe19 refcnt=3D1 bEndpointAddress=3D0x82 (usbd_dump_pipe:) refcnt=3D1 running=3D0 aborting=3D0 IOERROR on mount, so I have to turn of debug, unplug and plug usbdrive, mou= nt=20 it and turn on debug. On file copying there were no kernel messages. =2D-=20 If it heals good, say it. From owner-freebsd-usb@FreeBSD.ORG Tue May 8 06:20:14 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 A6E4E16A402 for ; Tue, 8 May 2007 06:20:14 +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 50B1513C448 for ; Tue, 8 May 2007 06:20:14 +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 l486KD16051834 for ; Tue, 8 May 2007 06:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l486KD6x051833; Tue, 8 May 2007 06:20:13 GMT (envelope-from gnats) Date: Tue, 8 May 2007 06:20:13 GMT Message-Id: <200705080620.l486KD6x051833@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: Tue, 08 May 2007 06:20:14 -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: Tue, 8 May 2007 09:19:44 +0300 =D0=92 =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BE=D1=82 = Monday 07 May 2007 16:12:50 Hans Petter Selasky =D0=BD=D0=B0=D0=BF=D0=B8=D1= =81=D0=B0=D0=BB(=D0=B0): > On Monday 07 May 2007 08:09, Igor Popov wrote: > > 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 =20 > > > > 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), th= at > > > > 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 =3D "AuthenticAMD" Id =3D 0x20ff2 Stepping =3D 2 > > > > > > > > Features=3D0x78bfbff > > >GE ,M CA ,CM OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> > > > > Features2=3D0x1 > > > > AMD Features=3D0xe2500800 > > > > AMD Features2=3D0x1 > > > > real memory =3D 536805376 (511 MB) > > > > avail memory =3D 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=3D0x300> > > > > 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=3D-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. > > You have to compile a new USB kernel with "options USB_DEBUG". My new USB > stack has that flag set by default. > =20 Recompiled kernel with makeoptions DEBUG=3D-DUSB_DEBUG # sysctl hw.usb hw.usb.ehci.debug: 1 hw.usb.ohci.debug: 1 hw.usb.ugen.debug: 1 hw.usb.uhci.debug: 1 hw.usb.uhci.loop: 0 hw.usb.uhid.debug: 0 hw.usb.uhub.debug: 0 hw.usb.ukbd.debug: 0 hw.usb.ulpt.debug: 0 hw.usb.umass.debug: 1 hw.usb.ums.debug: 0 hw.usb.debug: 1 ehci_pcd: change=3D0x02 ehci after reset, status=3D0x00001005 ehci port 1 reset, status =3D 0x00001005 usbd_new_device bus=3D0xc3b51000 port=3D1 depth=3D1 speed=3D3 usbd_new_device: adding unit addr=3D2, rev=3D200, class=3D0, subclass=3D0, = protocol=3D0,=20 maxpacket=3D64, len=3D18, speed=3D3 usbd_new_device: new dev (addr 2), dev=3D0xc4c35900, parent=3D0xc3b3f900 usbd_probe_and_attach: trying device specific drivers usbd_probe_and_attach: no device specific driver found usbd_probe_and_attach: looping over 1 configurations usbd_set_config_index: (addr 1) cno=3D2 attr=3D0x80, selfpowered=3D0, power= =3D98 usbd_set_config_index: set config 1 umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 2 umass0: SCSI over Bulk-Only; quirks =3D 0x0000 umass0:0:0:-1: Attached to scbus0 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) umass0: BBB reset failed, IOERROR ehci_device_clear_toggle: epipe=3D0xc4c35180 status=3D0x80008d00 usbd_dump_pipe: pipe=3D0xc4c35180 usbd_dump_iface: iface=3D0xc40bb020 device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 usbd_dump_device: dev=3D0xc4c35900 bus=3D0xc3b51000 default_pipe=3D0xc4c35800 address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 lang= id=3D1033 usbd_dump_endpoint: endp=3D0xc3d12dcc edesc=3D0xc433fe19 refcnt=3D1 bEndpointAddress=3D0x82 (usbd_dump_pipe:) refcnt=3D1 running=3D0 aborting=3D0 intrxfer=3D0, repeat=3D0, interval=3D-1 umass0: BBB bulk-in clear stall failed, IOERROR ehci_device_clear_toggle: epipe=3D0xc4c35000 status=3D0x801f8049 usbd_dump_pipe: pipe=3D0xc4c35000 usbd_dump_iface: iface=3D0xc40bb020 device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 usbd_dump_device: dev=3D0xc4c35900 bus=3D0xc3b51000 default_pipe=3D0xc4c35800 address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 lang= id=3D1033 usbd_dump_endpoint: endp=3D0xc3d12dc0 edesc=3D0xc433fe12 refcnt=3D1 bEndpointAddress=3D0x01 (usbd_dump_pipe:) refcnt=3D1 running=3D0 aborting=3D0 intrxfer=3D0, repeat=3D0, interval=3D-1 umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR ehci_device_clear_toggle: epipe=3D0xc4c35180 status=3D0x8d00 usbd_dump_pipe: pipe=3D0xc4c35180 usbd_dump_iface: iface=3D0xc40bb020 device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 usbd_dump_device: dev=3D0xc4c35900 bus=3D0xc3b51000 default_pipe=3D0xc4c35800 address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 lang= id=3D1033 usbd_dump_endpoint: endp=3D0xc3d12dcc edesc=3D0xc433fe19 refcnt=3D1 bEndpointAddress=3D0x82 (usbd_dump_pipe:) refcnt=3D1 running=3D0 aborting=3D0 IOERROR on mount, so I have to turn of debug, unplug and plug usbdrive, mou= nt=20 it and turn on debug. On file copying there were no kernel messages. =2D-=20 If it heals good, say it. From owner-freebsd-usb@FreeBSD.ORG Tue May 8 18:52:31 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 3821516A407; Tue, 8 May 2007 18:52:31 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1083913C487; Tue, 8 May 2007 18:52:31 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (maxim@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l48IqUfX006387; Tue, 8 May 2007 18:52:30 GMT (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l48IqUfS006383; Tue, 8 May 2007 18:52:30 GMT (envelope-from maxim) Date: Tue, 8 May 2007 18:52:30 GMT From: Maxim Konovalov Message-Id: <200705081852.l48IqUfS006383@freefall.freebsd.org> To: fulda@seznam.cz, maxim@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/95803: [patch] Add support for AnyData ADU-E100H X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 18:52:31 -0000 Synopsis: [patch] Add support for AnyData ADU-E100H State-Changed-From-To: open->patched State-Changed-By: maxim State-Changed-When: Tue May 8 18:52:02 UTC 2007 State-Changed-Why: COmmitted to HEAD. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=95803 From owner-freebsd-usb@FreeBSD.ORG Tue May 8 19:00:16 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 17F0B16A400 for ; Tue, 8 May 2007 19:00:16 +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 B8D0613C447 for ; Tue, 8 May 2007 19:00:15 +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 l48J0Fax006573 for ; Tue, 8 May 2007 19:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l48J0FVQ006572; Tue, 8 May 2007 19:00:15 GMT (envelope-from gnats) Date: Tue, 8 May 2007 19:00:15 GMT Message-Id: <200705081900.l48J0FVQ006572@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/95803: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 19:00:16 -0000 The following reply was made to PR usb/95803; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/95803: commit references a PR Date: Tue, 8 May 2007 18:51:48 +0000 (UTC) maxim 2007-05-08 18:51:40 UTC FreeBSD src repository Modified files: sys/dev/usb ubsa.c usbdevs share/man/man4 ubsa.4 Log: o Add AnyData ADU-E100H modem. Sort a list of ubsa(4) supported devices. PR: usb/95803 Submitted by: Jindrich Fucik Tested by: R.Mahmatkhanov MFC after: 2 weeks Revision Changes Path 1.10 +5 -3 src/share/man/man4/ubsa.4 1.23 +2 -0 src/sys/dev/usb/ubsa.c 1.294 +4 -0 src/sys/dev/usb/usbdevs _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Tue May 8 21:31:18 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13F3016A404 for ; Tue, 8 May 2007 21:31:18 +0000 (UTC) (envelope-from andrew@dobrohot.org) Received: from smtp-18.masterhost.ru (smtp-18.masterhost.ru [83.222.24.118]) by mx1.freebsd.org (Postfix) with SMTP id 6471C13C447 for ; Tue, 8 May 2007 21:31:16 +0000 (UTC) (envelope-from andrew@dobrohot.org) Received: (qmail 49653 invoked from network); 8 May 2007 21:30:59 -0000 Received: from ns.km10433.keymachine.de (HELO inspirra.localdomain) (izdat%dobrohot.org@62.141.50.149) by smtp1.masterhost.ru with SMTP; 8 May 2007 21:30:59 -0000 Received: from inspirra.localdomain (inspirra.localdomain [192.168.2.1]) by inspirra.localdomain (8.13.8/8.13.8) with ESMTP id l48LSVlr038913 for ; Wed, 9 May 2007 01:28:31 +0400 (MSD) (envelope-from andrew@dobrohot.org) Message-ID: <4640EB7F.9090308@dobrohot.org> Date: Wed, 09 May 2007 01:28:31 +0400 From: Andrew Muhametshin Organization: =?windows-1251?Q?=C0=CD=CE_=22=C4=EE=E1=F0=EE=F5=EE=F2=22?= User-Agent: Thunderbird 2.0.0.0 (X11/20070423) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: No scanners were identified, with new USB driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 21:31:18 -0000 Hello I have tried to take advantage of new usb-driver (http://www.turbocat.net/~hselasky/usb4bsd/index.html). But there were problems -- program (sane) cannot find out the device... =================START===================================== # sysctl hw.usb.debug=15 # tail -n 0 -f /var/log/messages.log | tee ./hw.usb.debug-02.txt The file with the debugging information can be loaded from here: http://www.dobrohot.org/hw.usb.debug-02.txt # kldload ugen ------------/var/log/messages.log----------------------- <...> May 9 00:50:43 host01 kernel: ugen0: <...> May 9 00:50:43 host01 kernel: usbd_start_hardware: xfer=0xc437cc20, pipe=0xc37db800 len=10 dir=out May 9 00:51:43 host01 kernel: usb_event_thread: woke up May 9 00:51:43 host01 kernel: usb_discover ------------/var/log/messages.log----------------------- # usbdevs -v Controller /dev/usb0: addr 126: high speed, self powered, config 1, EPSON Scanner(0x011b), EPSON(0x04b8), rev 1.00 addr 127: high speed, self powered, config 1, EHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 powered port 2 addr 126: high speed, self powered, config 1, EPSON Scanner(0x011b), EPSON(0x04b8), rev 1.00 port 3 powered port 4 powered ------------/var/log/messages.log----------------------- <...> May 9 00:53:36 host01 kernel: usbd_transfer_done: xfer=0xc496f420 pipe=0xc3aae800 status=0 actlen=36 May 9 00:53:36 host01 kernel: usbd_transfer_done: xfer=0xc496f420 pipe=0xc3aae800 status=5 actlen=36 May 9 00:53:36 host01 kernel: usbd_mem_free_sub: 0xd7c22000 ------------/var/log/messages.log----------------------- # grep -vE "^#" /usr/local/etc/sane.d/epson.conf usb 0x04b8 0x011b usb /dev/ugen0 # scanimage -v -L No scanners were identified. <...> * send file "./hw.usb.debug-02.txt" to "http://www.dobrohot.org/hw.usb.debug-02.txt" =================_THE END_================================== * With the standard driver, the program (scanimage -L) finds out the scanner (look my previous message:http://lists.freebsd.org/pipermail/freebsd-usb/2007-May/003288.html). P.S. I am sorry for my English. I am compelled to use the electronic translator. From owner-freebsd-usb@FreeBSD.ORG Wed May 9 16:53:12 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B03216A402 for ; Wed, 9 May 2007 16:53:12 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swip.net [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC6D13C465 for ; Wed, 9 May 2007 16:53:11 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [81.191.58.152] (account mc467741@c2i.net HELO [192.168.1.123]) by mailfe13.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 92216357; Wed, 09 May 2007 18:53:10 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 9 May 2007 18:52:54 +0200 User-Agent: KMail/1.9.5 References: <4640EB7F.9090308@dobrohot.org> In-Reply-To: <4640EB7F.9090308@dobrohot.org> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705091852.54827.hselasky@c2i.net> Cc: Subject: Re: No scanners were identified, with new USB driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2007 16:53:12 -0000 On Tuesday 08 May 2007 23:28, Andrew Muhametshin wrote: > Hello > > I have tried to take advantage of new usb-driver > (http://www.turbocat.net/~hselasky/usb4bsd/index.html). > But there were problems -- program (sane) cannot find out the device... > Did you try "kldload uscanner" ? Then re-plug your scanner and see if it doesn't show up. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu May 10 11:40:03 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 6A6B616A400 for ; Thu, 10 May 2007 11:40:03 +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 48EE213C43E for ; Thu, 10 May 2007 11:40:03 +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 l4ABe3Pm083223 for ; Thu, 10 May 2007 11:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4ABe3wr083219; Thu, 10 May 2007 11:40:03 GMT (envelope-from gnats) Resent-Date: Thu, 10 May 2007 11:40:03 GMT Resent-Message-Id: <200705101140.l4ABe3wr083219@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gu Xianjie Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4225416A400 for ; Thu, 10 May 2007 11:34:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 337F813C44C for ; Thu, 10 May 2007 11:34:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4ABYqTa017217 for ; Thu, 10 May 2007 11:34:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l4ABTpiY016463; Thu, 10 May 2007 11:29:51 GMT (envelope-from nobody) Message-Id: <200705101129.l4ABTpiY016463@www.freebsd.org> Date: Thu, 10 May 2007 11:29:51 GMT From: Gu Xianjie To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: usb/112568: USB mode may wrong when mounting psp X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 11:40:03 -0000 >Number: 112568 >Category: usb >Synopsis: USB mode may wrong when mounting psp >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 10 11:40:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Gu Xianjie >Release: 6.2-RELEASE-p4 >Organization: NetEase HZ CN >Environment: FreeBSD datastream.people.163.org 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: USB mode have some problems when I try to mount sony psp. It likes this: ~> sudo mount_msdosfs /dev/da0s1 /mnt/ mount_msdosfs: /dev/da0s1: Input/output error And dmesg: 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-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x441d> real memory = 1072103424 (1022 MB) avail memory = 1040134144 (991 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard 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 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: port 0xed98-0xed9f mem 0xe8000000-0xefffffff,0xfeb80000-0xfebfffff irq 16 at device 2.0 on pci0 agp0: detected 892k stolen memory agp0: aperture size is 128M uhci0: port 0xff80-0xff9f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] 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 0xff60-0xff7f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] 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 0xff20-0xff3f irq 16 at device 29.3 on pci0 uhci2: [GIANT-LOCKED] 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 0xffa80800-0xffa80bff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: wrong number of companions (4 != 3) usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 8 ports with 8 removable, self powered pcib1: at device 30.0 on pci0 pci1: on pcib1 fxp0: port 0xdf40-0xdf7f mem 0xfeaff000-0xfeafffff irq 20 at device 8.0 on pci1 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:13:20:d9:77:d1 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf mem 0xfeb7fc00-0xfeb7ffff irq 18 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 18 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 pci0: at device 31.3 (no driver attached) pcm0: port 0xee00-0xeeff,0xedc0-0xedff mem 0xfeb7fa00-0xfeb7fbff,0xfeb7f900-0xfeb7f9ff irq 17 at device 31.5 on pci0 pcm0: primary codec not ready! pcm0: 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,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 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xca7ff,0xca800-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 ums0: vendor 0x0461 USB Optical Mouse, rev 2.00/2.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 2793014154 Hz quality 800 Timecounters tick every 1.000 msec ad0: 38146MB at ata0-master UDMA100 acd0: CDROM at ata1-master UDMA33 ukbd0: Dell Dell USB Keyboard, rev 1.10/3.01, addr 3, iclass 3/1 kbd2 at ukbd0 Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /home was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted IP Filter: v4.1.13 initialized. Default = pass all, Logging = enabled drmsub0: : (child of agp_i810.c) on agp0 info: [drm] AGP at 0xe8000000 128MB info: [drm] Initialized i915 1.4.0 20060119 umass0: Sony PSP Type A, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 3846MB (7876608 512 byte sectors: 255H 63S/T 490C) netsmb_dev: loaded umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR >How-To-Repeat: Keep usb cable on same usb interface. Set psp on usb mode then mount the psp,umount it soon.when I try to mount psp again,where an error. >Fix: usb cable plus on other usb interface. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Thu May 10 11:50:04 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 B15F716A400 for ; Thu, 10 May 2007 11:50:04 +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 9352513C487 for ; Thu, 10 May 2007 11:50:04 +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 l4ABo4A6084046 for ; Thu, 10 May 2007 11:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4ABo4vG084040; Thu, 10 May 2007 11:50:04 GMT (envelope-from gnats) Resent-Date: Thu, 10 May 2007 11:50:04 GMT Resent-Message-Id: <200705101150.l4ABo4vG084040@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gu Xianjie Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 283DF16A47A for ; Thu, 10 May 2007 11:40:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 1969D13C45B for ; Thu, 10 May 2007 11:40:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4ABe6hX017944 for ; Thu, 10 May 2007 11:40:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l4ABZ5Lm017244; Thu, 10 May 2007 11:35:05 GMT (envelope-from nobody) Message-Id: <200705101135.l4ABZ5Lm017244@www.freebsd.org> Date: Thu, 10 May 2007 11:35:05 GMT From: Gu Xianjie To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: usb/112569: USB mode may wrong when mounting psp X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 11:50:04 -0000 >Number: 112569 >Category: usb >Synopsis: USB mode may wrong when mounting psp >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 10 11:50:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Gu Xianjie >Release: 6.2-RELEASE-p4 >Organization: NetEase HZ CN >Environment: FreeBSD datastream.people.163.org 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: USB mode have some problems when I try to mount sony psp. It likes this: ~> sudo mount_msdosfs /dev/da0s1 /mnt/ mount_msdosfs: /dev/da0s1: Input/output error And dmesg: 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-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x441d> real memory = 1072103424 (1022 MB) avail memory = 1040134144 (991 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard 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 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: port 0xed98-0xed9f mem 0xe8000000-0xefffffff,0xfeb80000-0xfebfffff irq 16 at device 2.0 on pci0 agp0: detected 892k stolen memory agp0: aperture size is 128M uhci0: port 0xff80-0xff9f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] 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 0xff60-0xff7f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] 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 0xff20-0xff3f irq 16 at device 29.3 on pci0 uhci2: [GIANT-LOCKED] 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 0xffa80800-0xffa80bff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: wrong number of companions (4 != 3) usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 8 ports with 8 removable, self powered pcib1: at device 30.0 on pci0 pci1: on pcib1 fxp0: port 0xdf40-0xdf7f mem 0xfeaff000-0xfeafffff irq 20 at device 8.0 on pci1 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:13:20:d9:77:d1 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf mem 0xfeb7fc00-0xfeb7ffff irq 18 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 18 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 pci0: at device 31.3 (no driver attached) pcm0: port 0xee00-0xeeff,0xedc0-0xedff mem 0xfeb7fa00-0xfeb7fbff,0xfeb7f900-0xfeb7f9ff irq 17 at device 31.5 on pci0 pcm0: primary codec not ready! pcm0: 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,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 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xca7ff,0xca800-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 ums0: vendor 0x0461 USB Optical Mouse, rev 2.00/2.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 2793014154 Hz quality 800 Timecounters tick every 1.000 msec ad0: 38146MB at ata0-master UDMA100 acd0: CDROM at ata1-master UDMA33 ukbd0: Dell Dell USB Keyboard, rev 1.10/3.01, addr 3, iclass 3/1 kbd2 at ukbd0 Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /home was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted IP Filter: v4.1.13 initialized. Default = pass all, Logging = enabled drmsub0: : (child of agp_i810.c) on agp0 info: [drm] AGP at 0xe8000000 128MB info: [drm] Initialized i915 1.4.0 20060119 umass0: Sony PSP Type A, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 3846MB (7876608 512 byte sectors: 255H 63S/T 490C) netsmb_dev: loaded umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR >How-To-Repeat: Keep usb cable on same usb interface. Set psp on usb mode then mount the psp,umount it soon.when I try to mount psp again,where an error. >Fix: usb cable plus on other usb interface. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Thu May 10 12:04:19 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B18F16A403 for ; Thu, 10 May 2007 12:04:19 +0000 (UTC) (envelope-from andrew@dobrohot.org) Received: from smtp-18.masterhost.ru (smtp-18.masterhost.ru [83.222.24.118]) by mx1.freebsd.org (Postfix) with SMTP id 9950A13C469 for ; Thu, 10 May 2007 12:04:18 +0000 (UTC) (envelope-from andrew@dobrohot.org) Received: (qmail 16611 invoked from network); 10 May 2007 12:04:01 -0000 Received: from ns.km10433.keymachine.de (HELO inspirra.localdomain) (izdat%dobrohot.org@62.141.50.149) by smtp1.masterhost.ru with SMTP; 10 May 2007 12:04:01 -0000 Received: from inspirra.localdomain (inspirra.localdomain [192.168.2.1]) by inspirra.localdomain (8.13.8/8.13.8) with ESMTP id l4AC3JBC091032 for ; Thu, 10 May 2007 16:03:19 +0400 (MSD) (envelope-from andrew@dobrohot.org) Message-ID: <46430A07.6000505@dobrohot.org> Date: Thu, 10 May 2007 16:03:19 +0400 From: Andrew Muhametshin Organization: =?windows-1251?Q?=C0=CD=CE_=22=C4=EE=E1=F0=EE=F5=EE=F2=22?= User-Agent: Thunderbird 2.0.0.0 (X11/20070423) MIME-Version: 1.0 CC: freebsd-usb@freebsd.org References: <4640EB7F.9090308@dobrohot.org> <200705091852.54827.hselasky@c2i.net> In-Reply-To: <200705091852.54827.hselasky@c2i.net> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: No scanners were identified, with new USB driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 12:04:19 -0000 Hans Petter Selasky wrote: > On Tuesday 08 May 2007 23:28, Andrew Muhametshin wrote: > >> Hello >> >> I have tried to take advantage of new usb-driver >> (http://www.turbocat.net/~hselasky/usb4bsd/index.html). >> But there were problems -- program (sane) cannot find out the device... >> >> > > Did you try "kldload uscanner" ? > > Then re-plug your scanner and see if it doesn't show up. > > --HPS > Yes, thanks, with the module "uscanner", scanner is defined and works. But too, not without problems. Each sixth-seventh scanning terminates in failure. Sometimes, scanning interrupts during process. And sometimes, lags after moving a scanning CCD-element to initial position. ==================_START ttyv1_==================== # tail -n 0 -f /var/log/messages.log | tee ./hw.usb.debug-04.txt ==================_THE END_====================== *The log-file can be loaded from here: http://www.dobrohot.org/hw.usb.debug-04.txt.bz2 (28Kb) or here: http://www.dobrohot.org/hw.usb.debug-04.txt (7.5Mb) ==================_START ttyv2_==================== $ for (( X=1 ; X <= 10 ; X++ )) ; do \ > echo $X ; \ > sleep 3 && scanimage -v -p --quick-format CD --resolution 800 --mode Color > /dev/null ; \ > done 1 scanimage: scanning image of size 3776x3780 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 55/255 scanimage: read 42819840 bytes in total 2 scanimage: scanning image of size 3776x3780 pixels at 24 bits/pixel ...skipping... 7 scanimage: scanning image of size 3776x3780 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 54/255 scanimage: read 42819840 bytes in total 8 scanimage: scanning image of size 3776x3780 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 55/255 scanimage: sane_read: Invalid argument ==================_THE END_====================== And as, some programs do not work with the module uscanner (only with ugen) for example, "/usr/ports/sysutils/scanbuttond". With the best regards, Andrew M. From owner-freebsd-usb@FreeBSD.ORG Fri May 11 00:20:47 2007 Return-Path: X-Original-To: usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C9B816A406 for ; Fri, 11 May 2007 00:20:47 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id A13A213C45B for ; Fri, 11 May 2007 00:20:46 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id BD85B690924 for ; Fri, 11 May 2007 00:57:14 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 7C19969092E; Fri, 11 May 2007 00:57:14 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (87-196-119-163.net.novis.pt [87.196.119.163]) by core.fnop.net (Postfix) with ESMTP id 1781D690924 for ; Fri, 11 May 2007 00:57:14 +0100 (WEST) Date: Fri, 11 May 2007 00:57:15 +0100 Message-ID: <86wszg5j1g.wl%rpaulo@fnop.net> From: Rui Paulo To: usb@FreeBSD.org User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Mac USB keyboards X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2007 00:20:47 -0000 Hi, I'm having some troubles with the Fn key on Apple keyboards. According to the Linux source, I need to find the hid like this: /* * Locate the Fn key on Apple keyboards. */ [...] if (hid_locate(desc, size, HID_USAGE2(HUP_CUSTOM, HUC_FNKEY), hid_input, &sc->sc_loc_fn, &flags)) { printf("%s: Fn key.\n", device_get_nameunit(sc->sc_dev)); sc->sc_flags |= UKBD_FN; } else printf("%s: Fn key not found.\n", device_get_nameunit(sc->sc_dev)); [...] The key is found. The problem is: during the interrupt routine, I have to read the data on that HID location to figure out whether the Fn key is pressed or not. Should be something like: if (sc && sc->sc_flags & UKBD_FN) { sc->sc_fn = hid_get_data(ibuf, &sc->sc_loc_fn); if (sc->sc_fn) printf("Fn key value %d\n", sc->sc_fn); } Now the fun part: When I press Fn + key1, it doesn't print anything, but if I press Fn + key1 + key2 (all at the same time), sc_fn value is 1. Now the wildest part: key1 and key2 are not random keys. Here's a table for clarity: key1 | key2 Up Down Left Right These keys, when Fn is pressed, should map to Page up, Page down, Home and End. Now the wildest-funnier part: When I press Fn + Fkey (F1-F12) it doesn't work. It also doesn't work for Fn + Fkey1 + Fkey2 It only works for Fn + Fkey1 + Fkey2 + Fkey3 + Fkey4 So, I'm cleary doing something plain dumb reagarding to HID functions. Does the code I posted makes sense? There are only two HID descriptors in this keyboard: HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_KEYBOARD) 0x00010006 HID_USAGE2(HUP_CUSTOM, HUC_FNKEY) 0xffff0003 Any ideas? Thanks in advance.