Date: Sat, 8 Nov 2008 23:42:06 +0100 From: "Paul B. Mahol" <onemda@gmail.com> To: "Hans Petter Selasky" <hselasky@c2i.net> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review Message-ID: <3a142e750811081442kc746a41j41d3d46e6688033f@mail.gmail.com> In-Reply-To: <200811072236.38267.hselasky@c2i.net> References: <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> <20081107.132401.1622434515.imp@bsdimp.com> <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> <200811072236.38267.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/7/08, Hans Petter Selasky <hselasky@c2i.net> wrote: > On Friday 07 November 2008, Paul B. Mahol wrote: >> On 11/7/08, M. Warner Losh <imp@bsdimp.com> wrote: > >> > : > After some time it will appear but will start attaching and >> > : > dettaching all the time: > > How quick is this happening? There has been some changes to the > sys/dev/usb2/core/uhub2.c file recently, which control how HUB is responding > to events. ~3 seconds. I got also this messages: uhci1: LegSup = 0x2f00 uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=0000, sts=0020, intr=0000, frnum=0000, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x00000001 e_next=0x05a7dd00 uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=0000, sts=0020, intr=0000, frnum=0000, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x00000001 e_next=0x05a7dd00 Doesnt looks like hub is source of fault, one from perforce with 152460 comitt is not available in CURRENT and with latest version of usb2_hub.c from perforce problem is still there. > Maybe you can get the date of that file from the build where it works and > the > build where it doesn't work, and I will check the differences. Last time I tested usb2 from svn was before huge modularization.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750811081442kc746a41j41d3d46e6688033f>