Re: usb/112461: ehci USB 2.0 doesn't work on nforce4

2007-05-07 Thread Igor Popov
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 [EMAIL PROTECTED]:/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
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SUPERKERNEL
  ACPI APIC Table: Nvidia AWRDACPI
  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=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M
 CA ,CM OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
Features2=0x1SSE3
AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
AMD Features2=0x1LAHF
  real memory  = 536805376 (511 MB)
  avail memory = 507523072 (484 MB)
  ioapic0 Version 1.1 irqs 0-23 on motherboard
  wlan: mac acl policy registered
  ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
  RF5413) acpi0: Nvidia AWRDACPI 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: ACPI CPU on acpi0
  acpi_button0: Power Button on acpi0
  pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
  pci0: ACPI PCI bus on pcib0
  pci0: memory at device 0.0 (no driver attached)
  isab0: PCI-ISA bridge at device 1.0 on pci0
  isa0: ISA bus on isab0
  nfsmb0: nForce2/3/4 MCP SMBus Controller port
  0xe400-0xe41f,0x4c00-0x4c3f,0x4c 40-0x4c7f irq 20 at device 1.1 on pci0
  smbus0: System Management Bus on nfsmb0
  smb0: SMBus generic I/O on smbus0
  nfsmb1: nForce2/3/4 MCP SMBus Controller on nfsmb0
  smbus1: System Management Bus on nfsmb1
  smb1: SMBus generic I/O on smbus1
  ohci0: OHCI (generic) USB controller mem 0xd3104000-0xd3104fff irq 21
  at devic e 2.0 on pci0
  ohci0: [GIANT-LOCKED]
  usb0: OHCI version 1.0, legacy support
  usb0: OHCI (generic) USB controller 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: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-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: NVIDIA nForce4 USB 2.0 controller 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: nVidia nForce4 port 0xdc00-0xdcff,0xe000-0xe0ff mem
  0xd3103000-0xd3103ff f irq 23 at device 4.0 on pci0
  pcm0: Avance Logic ALC850 AC97 Codec
  atapci0: nVidia nForce CK804 UDMA133 controller port
  0x1f0-0x1f7,0x3f6,0x170-0 x177,0x376,0xf000-0xf00f at device 6.0 on pci0
  ata0: ATA channel 0 on atapci0
  ata1: ATA channel 1 on atapci0
  atapci1: nVidia nForce CK804 SATA300 controller port
  0x9f0-0x9f7,0xbf0-0xbf3,0 x970-0x977,0xb70-0xb73,0xd800-0xd80f mem
  0xd3102000-0xd3102fff irq 21 at device 7.0 on pci0
  ata2: ATA channel 0 on atapci1
  ata3: ATA channel 1 on atapci1
  atapci2: nVidia nForce CK804 SATA300 controller port
  0x9e0-0x9e7,0xbe0-0xbe3,0 x960-0x967,0xb60-0xb63,0xc400-0xc40f mem
  0xd3101000-0xd3101fff irq 22 at device 8.0 on pci0
  ata4: ATA channel 0 on atapci2
  ata5: ATA channel 1 on atapci2
  pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
  pci5: ACPI PCI bus on pcib1
  ath0: Atheros 5212 mem 0xd300-0xd300 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: NVIDIA nForce4 CK804 MCP9 Networking Adapter port 0xb000-0xb007
  mem 0xd3 10-0xd3100fff irq 23 at device 10.0 on pci0
  miibus0: MII 

Re: usb/112461: ehci USB 2.0 doesn't work on nforce4

2007-05-07 Thread Igor Popov
The following reply was made to PR usb/112461; it has been noted by GNATS.

From: Igor Popov [EMAIL PROTECTED]
To: Hans Petter Selasky [EMAIL PROTECTED]
Cc: freebsd-usb@freebsd.org,
 [EMAIL PROTECTED]
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 [EMAIL PROTECTED]:/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
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SUPERKERNEL
   ACPI APIC Table: Nvidia AWRDACPI
   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=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M
  CA ,CM OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 Features2=0x1SSE3
 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
 AMD Features2=0x1LAHF
   real memory  = 536805376 (511 MB)
   avail memory = 507523072 (484 MB)
   ioapic0 Version 1.1 irqs 0-23 on motherboard
   wlan: mac acl policy registered
   ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
   RF5413) acpi0: Nvidia AWRDACPI 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: ACPI CPU on acpi0
   acpi_button0: Power Button on acpi0
   pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
   pci0: ACPI PCI bus on pcib0
   pci0: memory at device 0.0 (no driver attached)
   isab0: PCI-ISA bridge at device 1.0 on pci0
   isa0: ISA bus on isab0
   nfsmb0: nForce2/3/4 MCP SMBus Controller port
   0xe400-0xe41f,0x4c00-0x4c3f,0x4c 40-0x4c7f irq 20 at device 1.1 on pci0
   smbus0: System Management Bus on nfsmb0
   smb0: SMBus generic I/O on smbus0
   nfsmb1: nForce2/3/4 MCP SMBus Controller on nfsmb0
   smbus1: System Management Bus on nfsmb1
   smb1: SMBus generic I/O on smbus1
   ohci0: OHCI (generic) USB controller mem 0xd3104000-0xd3104fff irq 21
   at devic e 2.0 on pci0
   ohci0: [GIANT-LOCKED]
   usb0: OHCI version 1.0, legacy support
   usb0: OHCI (generic) USB controller 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: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-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: NVIDIA nForce4 USB 2.0 controller 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: nVidia nForce4 port 0xdc00-0xdcff,0xe000-0xe0ff mem
   0xd3103000-0xd3103ff f irq 23 at device 4.0 on pci0
   pcm0: Avance Logic ALC850 AC97 Codec
   atapci0: nVidia nForce CK804 UDMA133 controller port
   0x1f0-0x1f7,0x3f6,0x170-0 x177,0x376,0xf000-0xf00f at device 6.0 on pci0
   ata0: ATA channel 0 on atapci0
   ata1: ATA channel 1 on atapci0
   atapci1: nVidia nForce CK804 SATA300 controller port
   0x9f0-0x9f7,0xbf0-0xbf3,0 x970-0x977,0xb70-0xb73,0xd800-0xd80f mem
   0xd3102000-0xd3102fff irq 21 at device 7.0 on pci0
   ata2: ATA channel 0 on atapci1
   ata3: ATA channel 1 on atapci1
   atapci2: nVidia nForce CK804 SATA300 controller port
   0x9e0-0x9e7,0xbe0-0xbe3,0 x960-0x967,0xb60-0xb63,0xc400-0xc40f mem
   0xd3101000-0xd3101fff irq 22 at device 8.0 on pci0
   ata4: ATA channel 0 on atapci2
   

Current problem reports assigned to you

2007-05-07 Thread FreeBSD bugmaster
Current FreeBSD problem reports
Critical problems

S Tracker  Resp.  Description

o usb/84750usb[hang] 6-BETA2 reboot/shutdown with root_fs on externa
o usb/91629usbusbd_abort_pipe() may result in infinite loop

2 problems total.

Serious problems

S Tracker  Resp.  Description

o usb/40792usbsignals lead to data loss on device ugen
o usb/46176usb[panic] umass causes kernel panic if device removed be
o i386/46371   usbUSB controller cannot be initialized on IBM Netfinity 
f usb/5usb[ums] system freezes with access to /dev/ums0
o bin/57255usbusbd and multi-function devices
o usb/62088usb[usb] Logitech Cordless/Optical Mouse not working
o usb/62309usb[ugen] [panic] panic: ugen(4) driver
o usb/63621usb[usb] USB MemoryStick Reader stalls/crashes system
o usb/69006usb[patch] Apple Cinema Display hangs USB ports
o usb/71155usb[usb] misbehaving usb-printer hangs processes, causes 
o usb/73307usb[panic] Kernel panics on USB disconnect
o usb/74771usb[umass] mounting write-protected umass device as read/
o usb/75705usb[panic] da0 attach / Optio S4 (with backtrace)
o usb/75797usb5.3-STABLE(2005 1/4) detect USB headset, But can not f
f usb/76204usbpanic while using usb attached modem
o usb/76395usbUSB printer does not work, usbdevs says addr 0 should
o usb/77184usbkernel panic on USB device disconnect
o usb/77294usbucom + ulpcom panic
o usb/77940usb[quirk] [patch] insertion of usb keyboard panics syste
f i386/78218   usb[kue] kue not detected on Sony PCG-F370 VAIO
o usb/78989usbplease add USB keyboard support to install CD's
o usb/79140usbWD Firewire/USB Combo hangs under load on USB interfac
o usb/79269usbUSB ohci da0 plug/unplug causes crashes and lockups.
o usb/79287usbUHCI hang after interrupt transfer
o usb/79524usbprinting to Minolta PagePro 1[23]xxW via USB fails wit
f usb/79656usb[usb] RHSC interrupts lost
o usb/79722usb[usb] wrong alignments in ehci.h
o usb/80040usb[hang] Use of sound mixer causes system freeze with ua
f usb/80260usbTravan USB tape drive fails to write
o usb/80361usbmounting of usb-stick fails
o usb/80829usbpossible panic when loading USB-modules
o usb/80862usb[patch] USB locking issues: missing some Giant calls
o usb/81308usb[ugen] [patch] polling a ugen(4) control endpoint caus
f usb/82198usbPanic on attaching of ONKI N-338 USB MP3 player
f usb/82272usbCan not recognize Casio camera EX-Z40 as a umass devic
o usb/82350usb[usb] null pointer dereference in USB stack
o usb/82520usbReboot when USL101 connected
o usb/82569usb[usb] USB mass storage plug/unplug causes system panic
o usb/82660usbEHCI: I/O stuck in state 'physrd'/panic
o usb/83504usb[usb] SpeedTouch USB stop working on recent current (a
o usb/83563usb[panic] Page Fault while detaching Mpman Usb device
o usb/83677usb[usb] usb controller often not detected (Sun W2100z)
o usb/83756usbMicrosoft Intellimouse Explorer 4.0A doesn't work.
o usb/83977usb[ucom] [panic] ucom1: open bulk out error (addr 2): IN
o usb/84326usb[umass] Panic trying to connect SCSI tape drive via US
o usb/84336usb[usb] [reboot] instant system reboot when unmounting a
o usb/84936usbinstall - usb keyboard not recognized
o usb/86031usbneed support usb nic rt2500 in my 5.4 STABLE
o usb/86767usb[usb] bogus slice starts beyond end of the disk:... 
o usb/87099usbpanic: ohci_add_done: addr 0x000d1bf0 not found
o usb/88743usb[hang] USB makes kernel hang at boot (regression in 6.
o usb/88966usbkldunload ucom.ko returns Device busy error.
o usb/89003usbLaCie Firewire drive not properly supported under 6.0
o usb/89954usb[usb] USB Disk driver race condition?
f usb/89997usb[umass] [panic] panic on iPod mini detach
o usb/90162usb[usb] [patch] Add support for the MS Wireless USB Mous
o usb/90700usbKernel panic on connect/mount/use umass device
o usb/91238usbUSB tape unit fails to write a second tape file to the
o usb/91263usb[patch] USB quirk needed for Logitec USB Hard disk LHD
o usb/91283usbbooting very slow with usb devices connection (regress
o usb/91538usbUnable to print to EPSON CX3500
o usb/91906usbFreeBSD hangs while booting with USB legacy support on

Re: usb/112463: problem with Samsung USB DVD writer, libscg and FreeBSD kernel

2007-05-07 Thread Mark Linimon
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
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb/112461: ehci USB 2.0 doesn't work on nforce4

2007-05-07 Thread Hans Petter Selasky
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 [EMAIL PROTECTED]:/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
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SUPERKERNEL
   ACPI APIC Table: Nvidia AWRDACPI
   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=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
  ,M CA ,CM OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 Features2=0x1SSE3
 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
 AMD Features2=0x1LAHF
   real memory  = 536805376 (511 MB)
   avail memory = 507523072 (484 MB)
   ioapic0 Version 1.1 irqs 0-23 on motherboard
   wlan: mac acl policy registered
   ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
   RF5413) acpi0: Nvidia AWRDACPI 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: ACPI CPU on acpi0
   acpi_button0: Power Button on acpi0
   pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
   pci0: ACPI PCI bus on pcib0
   pci0: memory at device 0.0 (no driver attached)
   isab0: PCI-ISA bridge at device 1.0 on pci0
   isa0: ISA bus on isab0
   nfsmb0: nForce2/3/4 MCP SMBus Controller port
   0xe400-0xe41f,0x4c00-0x4c3f,0x4c 40-0x4c7f irq 20 at device 1.1 on pci0
   smbus0: System Management Bus on nfsmb0
   smb0: SMBus generic I/O on smbus0
   nfsmb1: nForce2/3/4 MCP SMBus Controller on nfsmb0
   smbus1: System Management Bus on nfsmb1
   smb1: SMBus generic I/O on smbus1
   ohci0: OHCI (generic) USB controller mem 0xd3104000-0xd3104fff irq 21
   at devic e 2.0 on pci0
   ohci0: [GIANT-LOCKED]
   usb0: OHCI version 1.0, legacy support
   usb0: OHCI (generic) USB controller 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: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-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: NVIDIA nForce4 USB 2.0 controller 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: nVidia nForce4 port 0xdc00-0xdcff,0xe000-0xe0ff mem
   0xd3103000-0xd3103ff f irq 23 at device 4.0 on pci0
   pcm0: Avance Logic ALC850 AC97 Codec
   atapci0: nVidia nForce CK804 UDMA133 controller port
   0x1f0-0x1f7,0x3f6,0x170-0 x177,0x376,0xf000-0xf00f at device 6.0 on
   pci0 ata0: ATA channel 0 on atapci0
   ata1: ATA channel 1 on atapci0
   atapci1: nVidia nForce CK804 SATA300 controller port
   0x9f0-0x9f7,0xbf0-0xbf3,0 x970-0x977,0xb70-0xb73,0xd800-0xd80f mem
   0xd3102000-0xd3102fff irq 21 at device 7.0 on pci0
   ata2: ATA channel 0 on atapci1
   ata3: ATA channel 1 on atapci1
   atapci2: nVidia nForce CK804 SATA300 controller port
   0x9e0-0x9e7,0xbe0-0xbe3,0 x960-0x967,0xb60-0xb63,0xc400-0xc40f mem
   0xd3101000-0xd3101fff irq 22 at device 8.0 on pci0
   ata4: ATA channel 0 on atapci2
   ata5: ATA channel 1 on atapci2
   pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
   pci5: ACPI PCI bus on pcib1
   ath0: Atheros 5212 mem 0xd300-0xd300 irq 16 at device 6.0 on
   pci5 ath0: Ethernet address: 00:15:e9:a4:58:9b
   ath0: mac 7.9 phy 4.5 

Re: usb/112461: ehci USB 2.0 doesn't work on nforce4

2007-05-07 Thread Hans Petter Selasky
The following reply was made to PR usb/112461; it has been noted by GNATS.

From: Hans Petter Selasky [EMAIL PROTECTED]
To: Igor Popov [EMAIL PROTECTED]
Cc: freebsd-usb@freebsd.org,
 [EMAIL PROTECTED]
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 [EMAIL PROTECTED]:/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
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SUPERKERNEL
ACPI APIC Table: Nvidia AWRDACPI
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=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
   ,M CA ,CM OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x1SSE3
  AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
  AMD Features2=0x1LAHF
real memory  = 536805376 (511 MB)
avail memory = 507523072 (484 MB)
ioapic0 Version 1.1 irqs 0-23 on motherboard
wlan: mac acl policy registered
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
RF5413) acpi0: Nvidia AWRDACPI 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: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
nfsmb0: nForce2/3/4 MCP SMBus Controller port
0xe400-0xe41f,0x4c00-0x4c3f,0x4c 40-0x4c7f irq 20 at device 1.1 on pci0
smbus0: System Management Bus on nfsmb0
smb0: SMBus generic I/O on smbus0
nfsmb1: nForce2/3/4 MCP SMBus Controller on nfsmb0
smbus1: System Management Bus on nfsmb1
smb1: SMBus generic I/O on smbus1
ohci0: OHCI (generic) USB controller mem 0xd3104000-0xd3104fff irq 21
at devic e 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller 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: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-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: NVIDIA nForce4 USB 2.0 controller 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: nVidia nForce4 port 0xdc00-0xdcff,0xe000-0xe0ff mem
0xd3103000-0xd3103ff f irq 23 at device 4.0 on pci0
pcm0: Avance Logic ALC850 AC97 Codec
atapci0: nVidia nForce CK804 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0 x177,0x376,0xf000-0xf00f at device 6.0 on
pci0 ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: nVidia nForce CK804 SATA300 controller port
0x9f0-0x9f7,0xbf0-0xbf3,0 x970-0x977,0xb70-0xb73,0xd800-0xd80f mem
0xd3102000-0xd3102fff irq 21 at device 7.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
atapci2: nVidia nForce CK804 SATA300 controller port

Process of scanning breaks

2007-05-07 Thread Andrew Muhametshin

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 
[EMAIL PROTECTED]:/SHARED/obj.host01/usr/src/sys/HOST01  i386


# grep -E ^u|eh /var/run/dmesg.boot
ehci0: VIA VT6202 USB 2.0 controller mem 0xdf04-0xdf0400ff at 
device 16.2 on pci0

ehci0: [GIANT-LOCKED]
usb0: EHCI version 0.95
usb0: wrong number of companions (2 != 0)
usb0: VIA VT6202 USB 2.0 controller 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: