From jrhoden@elkanah.its.unimelb.edu.au  Mon Jul 14 22:07:43 2003
Return-Path: <jrhoden@elkanah.its.unimelb.edu.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E0A7437B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Jul 2003 22:07:43 -0700 (PDT)
Received: from elkanah.its.unimelb.edu.au (elkanah.its.unimelb.edu.au [128.250.18.41])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ECA5443FA3
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Jul 2003 22:07:42 -0700 (PDT)
	(envelope-from jrhoden@elkanah.its.unimelb.edu.au)
Received: from elkanah.its.unimelb.edu.au (jarjam@localhost [127.0.0.1])
	by elkanah.its.unimelb.edu.au (8.12.9/8.12.8) with ESMTP id h6F57eHZ008838;
	Tue, 15 Jul 2003 15:07:40 +1000 (EST)
	(envelope-from jrhoden@elkanah.its.unimelb.edu.au)
Received: (from jrhoden@localhost)
	by elkanah.its.unimelb.edu.au (8.12.9/8.12.8/Submit) id h6F57eG1008837;
	Tue, 15 Jul 2003 15:07:40 +1000 (EST)
Message-Id: <200307150507.h6F57eG1008837@elkanah.its.unimelb.edu.au>
Date: Tue, 15 Jul 2003 15:07:40 +1000 (EST)
From: Jacob Rhoden <jrhoden@elkanah.its.unimelb.edu.au>
Reply-To: Jacob Rhoden <jrhoden@elkanah.its.unimelb.edu.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jrhoden@unimelb.edu.au
Subject: Intel D845EPT2 Motherboard USB driver problem
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54490
>Category:       kern
>Synopsis:       Intel D845EPT2 Motherboard USB driver problem
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    joe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 14 22:10:17 PDT 2003
>Closed-Date:    Wed Aug 20 14:25:36 PDT 2003
>Last-Modified:  Wed Aug 20 14:25:36 PDT 2003
>Originator:     Jacob Rhoden
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
>Description:
	The usbd driver fails to recognise when devices are attached. 
	All of the usb ports are listed as detected in the dmesg file.
	usbd -dd does not report any error messages at all.
>How-To-Repeat:
	Install FreeBSD on a computer with this motherboard, run
	the usbd daemon, and attach any usb device. Tested with
	lots of usb devices which work on other FreeBSD 4.8 computers.
>Fix:

	


>Release-Note:
>Audit-Trail:

From: JacobRhoden <jrhoden@unimelb.edu.au>
To: freebsd-gnats-submit@FreeBSD.org,
	jrhoden@elkanah.its.unimelb.edu.au
Cc:  
Subject: Re: kern/54490: Intel D845EPT2 Motherboard USB driver problem
Date: Tue, 15 Jul 2003 15:38:06 +1000

 Further investigation revealed the following.
 
 Whenever you attach ANY device to ANY port you recieve the following
 error in dmesg:
   uhub0: device problem, disabling port 1
   uhub2: device problem, disabling port 1
   uhub2: device problem, disabling port 2
   uhub2: device problem, disabling port 1
   uhub0: device problem, disabling port 1
 
 This is a message generated in:
   /usr/src/sys/dev/usb/uhub.c
 
 I am not experienced in debugging so I am not sure exactly how to work out why 
 this is happening.
 

From: JacobRhoden <jrhoden@unimelb.edu.au>
To: freebsd-gnats-submit@FreeBSD.org,
	jrhoden@elkanah.its.unimelb.edu.au
Cc:  
Subject: Re: kern/54490: Intel D845EPT2 Motherboard USB driver problem
Date: Wed, 16 Jul 2003 09:06:30 +1000

 The USB chip I think is a Intel=AE 82801DB, the documentation for which is =
 at:
   http://developer.intel.com/design/chipsets/datashts/290744.htm
 (not that I understand a word of it mind you).
 
 My DMESG output is as follows:
 =46reeBSD 4.8-STABLE #3: Mon Jul 14 11:02:34 EST 2003
     jrhoden@elkanah.its.unimelb.edu.au:/usr/obj/usr/src/sys/JOAB2
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz (1599.96-MHz 686-class CPU)
   Origin =3D "GenuineIntel"  Id =3D 0xf12  Stepping =3D 2=20
 =46eatures=3D0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
 E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
 real memory  =3D 536084480 (523520K bytes)
 avail memory =3D 515932160 (503840K bytes)
 Preloaded elf kernel "kernel" at 0xc0586000.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Using $PIR table, 10 entries at 0xc00f4670
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Intel 82845 Host to PCI bridge> on motherboard
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0
 pci1: <PCI bus> on pcib1
 pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 11
 uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xe800-0xe81f irq 1=
 1=20
 at device 29.0 on pci0
 usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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: <Intel 82801DB (ICH4) USB controller USB-B> port 0xe880-0xe89f irq 9=
  at=20
 device 29.1 on pci0
 usb1: <Intel 82801DB (ICH4) USB controller USB-B> 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: <Intel 82801DB (ICH4) USB controller USB-C> port 0xec00-0xec1f irq 1=
 0=20
 at device 29.2 on pci0
 usb2: <Intel 82801DB (ICH4) USB controller USB-C> 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
 pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
 pci2: <PCI bus> on pcib2
 ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xdc00-0xdc1f irq 10 at devi=
 ce=20
 2.0 on pci2
 ed0: address 00:50:ba:f2:33:79, type NE2000 (16 bit)
 fxp0: <Intel 82801DB (ICH4) Pro/100 VE Ethernet> port 0xd880-0xd8bf mem=20
 0xfeaff000-0xfeafffff irq 11 at device 8.0 on pci2
 fxp0: Ethernet address 00:03:47:2a:2f:61
 inphy0: <i82562ET 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 isab0: <PCI to ISA bridge (vendor=3D8086 device=3D24c0)> at device 31.0 on =
 pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel ICH4 ATA100 controller> port=20
 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 ichsmb0: <SMBus controller> port 0xe000-0xe01f irq 5 at device 31.3 on pci0
 pcm0: <Intel 82801DB (ICH4)> port 0xe080-0xe0bf,0xe400-0xe4ff mem=20
 0xfebff800-0xfebff8ff,0xfebffc00-0xfebffdff irq 5 at device 31.5 on pci0
 pcm0: <unknown ac97 codec> (id=3D0x41445372)
 orm0: <Option ROM> at iomem 0xc0000-0xc8fff on isa0
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model IntelliMouse Explorer, device ID 4
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=3D0x300>
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode=20
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 unknown: <PNP0000> can't assign resources
 unknown: <PNP0501> can't assign resources
 unknown: <PNP0501> can't assign resources
 unknown: <PNP0700> can't assign resources
 unknown: <PNP0400> can't assign resources
 unknown: <PNP0c02> can't assign resources
 unknown: <PNP0303> can't assign resources
 unknown: <PNP0f13> can't assign resources
 IP packet filtering initialized, divert disabled, rule-based forwarding=20
 enabled, default to accept, logging limited to 100 packets/entry by default
 ad0: 76319MB <ST380021A> [155061/16/63] at ata0-master UDMA100
 acd0: CD-RW <CD-RW 24X10X40> at ata0-slave PIO4
 acd1: MODE_SENSE_BIG command timeout - resetting
 ata1: resetting devices .. done
 acd1: MODE_SENSE_BIG command timeout - resetting
 ata1: resetting devices .. done
 acd1: MODE_SENSE_BIG command timeout - resetting
 ata1: resetting devices .. done
 acd1: MODE_SENSE_BIG command timeout - resetting
 ata1: resetting devices .. done
 acd1: CDROM <SONY CD-ROM CDU523 1> at ata1-master PIO4
 Mounting root from ufs:/dev/ad0s2a
 /dev/vmmon: Module vmmon: registered with major=3D200 minor=3D0 tag=3D$Name=
 :=20
 build-570 $
 /dev/vmmon: Module vmmon: initialized
 uhub0: device problem, disabling port 1
 uhub2: device problem, disabling port 1
 uhub2: device problem, disabling port 2
 uhub2: device problem, disabling port 1
 uhub0: device problem, disabling port 1

From: JacobRhoden <jrhoden@unimelb.edu.au>
To: freebsd-gnats-submit@FreeBSD.org,
	jrhoden@elkanah.its.unimelb.edu.au
Cc:  
Subject: Re: kern/54490: Intel D845EPT2 Motherboard USB driver problem
Date: Wed, 16 Jul 2003 13:29:08 +1000

 Below is the message output when you compile uhub with the maximum debug 
 level, and attach a device (in this case its a mouse).
 
   /kernel: uhub_intr: sc=0xc21e0d90
   /kernel: uhub_explore dev=0xc21eae80 addr=1
   /kernel: uhub_explore: port 1 status 0x0100 0x0000
   /kernel: uhub_explore: port=1 !C_CONNECT_STATUS
   /kernel: uhub_explore: port 2 status 0x0301 0x0001
   /kernel: uhub_explore: status change hub=1 port=2
   /kernel: uhub_explore: usb_new_device failed, error=TIMEOUT
   /kernel: uhub_explore: usb_new_device failed, error=TIMEOUT
   /kernel: uhub2: device problem, disabling port 2
 
  
 Jacob Rhoden            Phone: +61 3 8344 4478
 ITS Division            Email: jrhoden@unimelb.edu.au
 Melbourne University   Mobile: +61 403 788 386
Responsible-Changed-From-To: freebsd-bugs->joe 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Jul 17 17:27:50 PDT 2003 
Responsible-Changed-Why:  
Assign to USB maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54490 

From: JacobRhoden <jrhoden@unimelb.edu.au>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/54490: Intel D845EPT2 Motherboard USB driver problem
Date: Thu, 7 Aug 2003 11:11:47 +1000

 While doing some of my regular googling on this motherboard to try and get it 
 to work, I discovered a new bios patch which made it work! People with a 
 problem with this motherboard should upgrade to the bios patch version 8 (i 
 had patch version 3 or something). That should solve everyones problems!
 
 _______________________________________
 Jacob Rhoden - http://rhoden.id.au/
State-Changed-From-To: open->closed 
State-Changed-By: joe 
State-Changed-When: Wed Aug 20 14:24:59 PDT 2003 
State-Changed-Why:  
It turned out to be a bios problem so there's no point in keeping 
this PR open. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54490 
>Unformatted:
 >System: FreeBSD elkanah.its.unimelb.edu.au 4.8-STABLE FreeBSD 4.8-STABLE #3: Mon Jul 14 11:02:34 EST 2003 jrhoden@elkanah.its.unimelb.edu.au:/usr/obj/usr/src/sys/JOAB2 i386
 
