From owner-freebsd-usb@FreeBSD.ORG Sun Jul 7 05:51:25 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E5410EF4; Sun, 7 Jul 2013 05:51:24 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 506F211D3; Sun, 7 Jul 2013 05:51:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r675pCpx063057; Sun, 7 Jul 2013 15:51:13 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 7 Jul 2013 15:51:12 +1000 (EST) From: Ian Smith To: Adrian Chadd Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume In-Reply-To: Message-ID: <20130707154526.O26496@sola.nimnet.asn.au> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 05:51:25 -0000 On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote: > On 30 June 2013 07:22, Ian Smith wrote: [..] > > Nothing of note that I can see, if that usb hub-to-bus remapping is > > normal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus. > > Maybe someone who knows might comment on that? Does noone know what that signifies? Maybe it's not relevant to this. > > Just checking: you've tried other USB devices apart from uftdi0? > > Yup, there's no 5v on the port. I was rather taken aback to hear this. Would not this indicate a failure to reinitialise the basic underlying USB hardware on resume? More than a bit bemused, Ian From owner-freebsd-usb@FreeBSD.ORG Sun Jul 7 07:32:56 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 87CF5EBC; Sun, 7 Jul 2013 07:32:56 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 0FF4E1469; Sun, 7 Jul 2013 07:32:55 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 24D177A172; Sun, 7 Jul 2013 09:32:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 084238ED850; Sun, 7 Jul 2013 09:32:53 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZYb+-B2Yc4U0; Sun, 7 Jul 2013 09:32:52 +0200 (CEST) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id C20FE8ED84F; Sun, 7 Jul 2013 09:32:51 +0200 (CEST) Subject: RE: USB ports on Lenovo T400 do not work after a suspend/resume From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Ian_Smith?= , =?utf-8?Q?Adrian_Chadd?= Date: Sun, 7 Jul 2013 09:32:51 +0200 Mime-Version: 1.0 In-Reply-To: <20130707154526.O26496@sola.nimnet.asn.au> References: X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: =?utf-8?Q?freebsd-acpi=40freebsd=2Eorg?= , =?utf-8?Q?freebsd-stable=40freebsd=2Eorg?= , =?utf-8?Q?freebsd-usb=40freebsd=2Eorg?= X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 07:32:56 -0000 Hi,=0D=0A=0D=0AFYI: The USB stack will currently run a complete controlle= r reset upon resume, like during boot.=0D=0A=0D=0A--HPS=20=0D=0A=0D=0A=20= =0D=0A-----Original message-----=0D=0A> From:Ian Smith >=0D=0A> Sent: Sunday 7th July 2013 7= :52=0D=0A> To: Adrian Chadd >=0D=0A> Cc: freebsd-acpi@freebsd.org ; freebsd-stable@freebsd.org ; free= bsd-usb@freebsd.org =20=0D=0A> Subject: R= e: USB ports on Lenovo T400 do not work after a suspend/resume=0D=0A>=20=0D= =0A> On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote:=0D=0A> > On= 30 June 2013 07:22, Ian Smith > wrote:=0D=0A> [..]=0D=0A> > > Nothing of note that I can see= , if that usb hub-to-bus remapping is=0D=0A> > > normal. As you said, '= CPU0: local APIC error 0x40' looks maybe sus.=0D=0A> > > Maybe someone w= ho knows might comment on that=3F=0D=0A>=20=0D=0A> Does noone know what t= hat signifies=3F Maybe it's not relevant to this.=0D=0A>=20=0D=0A> > > = Just checking: you've tried other USB devices apart from uftdi0=3F=0D=0A>= >=20=0D=0A> > Yup, there's no 5v on the port.=0D=0A>=20=0D=0A> I was r= ather taken aback to hear this. Would not this indicate a=20=0D=0A> fail= ure to reinitialise the basic underlying USB hardware on resume=3F=0D=0A>= =20=0D=0A> More than a bit bemused, Ian=0D=0A> __________________________= _____________________=0D=0A> freebsd-acpi@freebsd.org mailing list=0D=0A> http://lists.freebsd.org/mailman/list= info/freebsd-acpi =20=0D=0A> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@fr= eebsd.org "=0D=0A>=20=0D=0A= =0D=0A From owner-freebsd-usb@FreeBSD.ORG Sun Jul 7 07:36:43 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 902ADBD; Sun, 7 Jul 2013 07:36:43 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 9FE6115BB; Sun, 7 Jul 2013 07:36:42 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id B10A67A185; Sun, 7 Jul 2013 09:36:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 9C9518ED852; Sun, 7 Jul 2013 09:36:41 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o6E3vCOiERQs; Sun, 7 Jul 2013 09:36:40 +0200 (CEST) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 0A7CD8ED850; Sun, 7 Jul 2013 09:36:40 +0200 (CEST) Subject: RE: XHCI umass support breaks between r248085 and r252560 on 9-STABLE From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Alexandre_Kovalenko?= , =?utf-8?Q?freebsd-usb=40freebsd=2Eorg?= Date: Sun, 7 Jul 2013 09:36:39 +0200 Mime-Version: 1.0 In-Reply-To: <94A3DD2E-F2E2-4302-8197-BAB213641E2F@gmail.com> References: <94A3DD2E-F2E2-4302-8197-BAB213641E2F@gmail.com> X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: =?utf-8?Q?mav=40freebsd=2Eorg?= , =?utf-8?Q?freebsd-stable=40freebsd=2Eorg?= X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 07:36:43 -0000 Hi,=0D=0A=0D=0ACheck for CAM/SCSI related changes. There has not been so = many USB changes recently. Possibly not USB related.=0D=0A=0D=0AThank you= ,=0D=0A=0D=0A--HPS=0D=0A=20=0D=0A-----Original message-----=0D=0A> From:A= lexandre Kovalenko >=0D= =0A> Sent: Thursday 4th July 2013 20:58=0D=0A> To: freebsd-usb@freebsd.or= g =20=0D=0A> Cc: freebsd-stable@freebsd.o= rg =20=0D=0A> Subject: XHCI umass supp= ort breaks between r248085 and r252560 on 9-STABLE=0D=0A>=20=0D=0A> Three= different external hard drives (Seagate, Western Digital and noname USB = 3.0 enclosure) refused to be recognized as the umass devices. Reverting /= usr/src/sys/dev/bsd/controller to r248085, building and loading just xhci= module makes drives appear again. Below are snippets from the log in bot= h cases:=0D=0A>=20=0D=0A> Non working:=0D=0A>=20=0D=0A> Jul 4 14:35:17 t= winhead kernel: xhci0: mem 0xfddfe000= -0xfddfffff irq 16 at device 0.0 on pci2=0D=0A> Jul 4 14:35:17 twinhead = kernel: xhci0: 64 byte context size.=0D=0A> Jul 4 14:35:17 twinhead kern= el: usbus0 on xhci0=0D=0A> Jul 4 14:35:17 twinhead kernel: usbus0: 5.0Gb= ps Super Speed USB v3.0=0D=0A> Jul 4 14:35:17 twinhead kernel: ugen0.1: = <0x1912> at usbus0=0D=0A> Jul 4 14:35:17 twinhead kernel: uhub0: <0x1912= XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0=0D=0A> Jul 4= 14:35:17 twinhead kernel: uhub0: 8 ports with 8 removable, self powered=0D= =0A> Jul 4 14:35:24 twinhead kernel: ugen0.2: at usbus0=0D=0A>= Jul 4 14:35:24 twinhead kernel: umass0: on usbus0=0D=0A> Jul 4 14:35:29 twinhead kernel: (pr= obe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00=20=0D=0A> Jul 4 = 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB requ= est completed with an error=0D=0A> Jul 4 14:35:29 twinhead kernel: (prob= e0:umass-sim0:0:0:0): Retrying command=0D=0A> Jul 4 14:35:30 twinhead ke= rnel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00=20=0D=0A= > Jul 4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status:= CCB request completed with an error=0D=0A> Jul 4 14:35:30 twinhead kern= el: (probe0:umass-sim0:0:0:0): Retrying command=0D=0A> Jul 4 14:35:35 tw= inhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00= =20=0D=0A> Jul 4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): CA= M status: CCB request completed with an error=0D=0A> Jul 4 14:35:35 twin= head kernel: (probe0:umass-sim0:0:0:0): Retrying command=0D=0A> Jul 4 14= :35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00= 00 24 00=20=0D=0A> Jul 4 14:35:36 twinhead kernel: (probe0:umass-sim0:0= :0:0): CAM status: CCB request completed with an error=0D=0A> Jul 4 14:3= 5:36 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying command=0D=0A> = Jul 4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB:= 12 00 00 00 24 00=20=0D=0A> Jul 4 14:35:41 twinhead kernel: (probe0:uma= ss-sim0:0:0:0): CAM status: CCB request completed with an error=0D=0A> Ju= l 4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): Error 5, Retrie= s exhausted=0D=0A>=20=0D=0A> Working:=0D=0A>=20=0D=0A> Jul 4 14:40:20 tw= inhead kernel: ugen0.2: at usbus0 (disconnected)=0D=0A> Jul 4 = 14:40:20 twinhead kernel: umass0: at uhub0, port 2, addr 1 (disconnected)= =0D=0A> Jul 4 14:40:27 twinhead kernel: ugen0.2: at usbu= s0=0D=0A> Jul 4 14:40:27 twinhead kernel: umass0: on usbus0=0D=0A> Jul 4 14:40:= 27 twinhead kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00= 00 00 00 00 00 00 10 00 00=20=0D=0A> Jul 4 14:40:27 twinhead kernel: (p= robe0:umass-sim0:0:0:0): CAM status: SCSI Status Error=0D=0A> Jul 4 14:4= 0:27 twinhead kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condi= tion=0D=0A> Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): S= CSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code)=0D=0A= > Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): Error 22, U= nretryable error=0D=0A> Jul 4 14:40:27 twinhead kernel: da0 at umass-sim= 0 bus 0 scbus4 target 0 lun 0=0D=0A> Jul 4 14:40:27 twinhead kernel: da0= : Fixed Direct Access SCSI-5 device=20=0D=0A= > Jul 4 14:40:27 twinhead kernel: da0: 400.000MB/s transfers=0D=0A> Jul = 4 14:40:27 twinhead kernel: da0: 190782MB (390721968 512 byte sectors: 2= 55H 63S/T 24321C)=0D=0A> Jul 4 14:40:27 twinhead kernel: da0: quirks=3D0= x2=0D=0A>=20=0D=0A> I can provide additional information or tr= y patches as necessary.=0D=0A>=20=0D=0A> Alexandre "Sunny" Kovalenko (=D0= =9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80 =D0=9A=D0=BE=D0=B2=D0= =B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE)=0D=0A>=20=0D=0A> _____________________= __________________________=0D=0A> freebsd-usb@freebsd.org mailing list=0D=0A> http://lists.freebsd.org/mailman/l= istinfo/freebsd-usb =20=0D=0A> To unsubscribe, send any mail to "freebsd-usb-unsubscribe@fr= eebsd.org "=0D=0A=0D=0A From owner-freebsd-usb@FreeBSD.ORG Sun Jul 7 10:26:42 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 07763A53; Sun, 7 Jul 2013 10:26:42 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by mx1.freebsd.org (Postfix) with ESMTP id B15201E3A; Sun, 7 Jul 2013 10:26:41 +0000 (UTC) Received: from mfilter3-d.gandi.net (mfilter3-d.gandi.net [217.70.178.133]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id AA0BC172071; Sun, 7 Jul 2013 12:26:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter3-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter3-d.gandi.net (mfilter3-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id TiBcnnYtprZp; Sun, 7 Jul 2013 12:26:29 +0200 (CEST) X-Originating-IP: 76.102.14.35 Received: from jdc.koitsu.org (c-76-102-14-35.hsd1.ca.comcast.net [76.102.14.35]) (Authenticated sender: jdc@koitsu.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 09BE7172081; Sun, 7 Jul 2013 12:26:25 +0200 (CEST) Received: by icarus.home.lan (Postfix, from userid 1000) id 46AE973A31; Sun, 7 Jul 2013 03:26:24 -0700 (PDT) Date: Sun, 7 Jul 2013 03:26:24 -0700 From: Jeremy Chadwick To: Ian Smith Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume Message-ID: <20130707102624.GB51445@icarus.home.lan> References: <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> <20130707154526.O26496@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130707154526.O26496@sola.nimnet.asn.au> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org, John Baldwin , freebsd-acpi@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 10:26:42 -0000 On Sun, Jul 07, 2013 at 03:51:12PM +1000, Ian Smith wrote: > On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote: > > On 30 June 2013 07:22, Ian Smith wrote: > [..] > > > Nothing of note that I can see, if that usb hub-to-bus remapping is > > > normal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus. > > > Maybe someone who knows might comment on that? > > Does noone know what that signifies? Maybe it's not relevant to this. It's too vague to know. The error comes from lapic_handle_error(), which is a generic/small routine which pulls the local APIC error status register. (Note I'm saying APIC, not ACPI -- two different things) apic_vector.S sets this up/makes use of this function, and its done as an interrupt handler. I think this is one of those situations where you have to know *what* is being set up/done at that moment in time for the error code to mean something. Maybe booting verbose would give more information as to what was being done that lead up to the line. I've CC'd John Baldwin who might have some ideas. -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-usb@FreeBSD.ORG Sun Jul 7 15:57:56 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 54FBC63E; Sun, 7 Jul 2013 15:57:56 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 948BF1980; Sun, 7 Jul 2013 15:57:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r67FvenY083581; Mon, 8 Jul 2013 01:57:41 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 8 Jul 2013 01:57:40 +1000 (EST) From: Ian Smith To: Jeremy Chadwick Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume In-Reply-To: <20130707102624.GB51445@icarus.home.lan> Message-ID: <20130708010728.I26496@sola.nimnet.asn.au> References: <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> <20130707154526.O26496@sola.nimnet.asn.au> <20130707102624.GB51445@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org, John Baldwin , freebsd-acpi@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 15:57:56 -0000 On Sun, 7 Jul 2013 03:26:24 -0700, Jeremy Chadwick wrote: > On Sun, Jul 07, 2013 at 03:51:12PM +1000, Ian Smith wrote: > > On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote: > > > On 30 June 2013 07:22, Ian Smith wrote: > > [..] > > > > Nothing of note that I can see, if that usb hub-to-bus remapping is > > > > normal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus. > > > > Maybe someone who knows might comment on that? > > > > Does noone know what that signifies? Maybe it's not relevant to this. > > It's too vague to know. The error comes from lapic_handle_error(), > which is a generic/small routine which pulls the local APIC error status > register. (Note I'm saying APIC, not ACPI -- two different things) Indeed; I've been familiar with PICs since c.'79. Googling to check what the 'A' stood for I found this .. from '97 but usefully descriptive perhaps: http://people.freebsd.org/~fsmp/SMP/papers/apicsubsystem.txt I also found this from March 2011 involving Mike Tancsa, you and jhb@ :) http://freebsd.1045724.n5.nabble.com/CPU0-local-APIC-error-0x40-CPU1-local-APIC-error-0x40-td3961805.html > apic_vector.S sets this up/makes use of this function, and its done as > an interrupt handler. Whether an (unserviced?) interrupt error is related to Adrian's symptom - apparent total failure of USB reinitialisation on resume, but only if no USB devices exist in the external slots - remains to be seen. hps@ has just confirmed that it should work the same as on boot, but then this error was flagged on boot - perhaps it also manifests on resume? > I think this is one of those situations where you have to know *what* is > being set up/done at that moment in time for the error code to mean > something. Maybe booting verbose would give more information as to what > was being done that lead up to the line. > > I've CC'd John Baldwin who might have some ideas. Thanks. We have verbose dmesg already. Thread starts (in -stable) at http://lists.freebsd.org/pipermail/freebsd-stable/2013-June/073917.html and amidst some wild goose chases, pointer to verbose dmesg etc is at http://lists.freebsd.org/pipermail/freebsd-stable/2013-June/074018.html cheers, Ian From owner-freebsd-usb@FreeBSD.ORG Sun Jul 7 16:43:25 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CDCCDEF7; Sun, 7 Jul 2013 16:43:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qa0-x230.google.com (mail-qa0-x230.google.com [IPv6:2607:f8b0:400d:c00::230]) by mx1.freebsd.org (Postfix) with ESMTP id 6F2D21B43; Sun, 7 Jul 2013 16:43:25 +0000 (UTC) Received: by mail-qa0-f48.google.com with SMTP id cm16so1894825qab.14 for ; Sun, 07 Jul 2013 09:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=oqRSwjqjtjHnzuZyX+U/6kqA7lnvdRcadvBcb6zCPd0=; b=QHr1MjgupfLnw5jBRAuSYXbY7e+fJdBrzNvUhSlGXm7SftWIobORMdUMKBJH6GlNbv 7gmNrgvdrn65djQVePFACyHNaRb4pBuERhcWbd04P6WBQM7cO4lqehqV4G5RJ2isytN/ KSE563en5GVgaWXX2DGdSzM9rlT2nKhoYKmQ7KfGu9avKVE72nf3dgISwoaWXnjuVtnx UY8fD5Lfr6jHoNYbydhNQWSM2nNNlxji4cPfX1wxAV9YqrbISVJM4kPrwDlAURS/1KDs ZbiTwTZ3JixON+EqWErNpGiYa97s7M2tLsf3in2k+ESbuJaKttmA4DkXO6JySS+TmqI3 C1qQ== MIME-Version: 1.0 X-Received: by 10.224.13.19 with SMTP id z19mr15352480qaz.12.1373215404960; Sun, 07 Jul 2013 09:43:24 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Sun, 7 Jul 2013 09:43:24 -0700 (PDT) In-Reply-To: References: <20130707154526.O26496@sola.nimnet.asn.au> Date: Sun, 7 Jul 2013 09:43:24 -0700 X-Google-Sender-Auth: DxoDALKniHbkuQ_Q2nwEihem8Kg Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-acpi@freebsd.org" , "freebsd-stable@freebsd.org" , Ian Smith , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 16:43:25 -0000 I don't think it's a USB controller issue. Those ports are connected to USB hubs, right? I wonder if there's some ACPI nonsense that's resulting in the hubs not being powered up on resume. -adrian On 7 July 2013 00:32, Hans Petter Selasky wrote: > Hi, > > FYI: The USB stack will currently run a complete controller reset upon > resume, like during boot. > > --HPS > > > > -----Original message----- >> From:Ian Smith >> Sent: Sunday 7th July 2013 7:52 >> To: Adrian Chadd >> Cc: freebsd-acpi@freebsd.org; freebsd-stable@freebsd.org; >> freebsd-usb@freebsd.org >> Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume >> >> On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote: >> > On 30 June 2013 07:22, Ian Smith wrote: >> [..] >> > > Nothing of note that I can see, if that usb hub-to-bus remapping is >> > > normal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus. >> > > Maybe someone who knows might comment on that? >> >> Does noone know what that signifies? Maybe it's not relevant to this. >> >> > > Just checking: you've tried other USB devices apart from uftdi0? >> > >> > Yup, there's no 5v on the port. >> >> I was rather taken aback to hear this. Would not this indicate a >> failure to reinitialise the basic underlying USB hardware on resume? >> >> More than a bit bemused, Ian >> _______________________________________________ >> freebsd-acpi@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi >> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" >> From owner-freebsd-usb@FreeBSD.ORG Sun Jul 7 18:22:10 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5DC812CB; Sun, 7 Jul 2013 18:22:10 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id BD00B1EB9; Sun, 7 Jul 2013 18:22:09 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id C80B27A164; Sun, 7 Jul 2013 20:22:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id B27FD8ED91E; Sun, 7 Jul 2013 20:22:01 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gsTsjjU6WgbT; Sun, 7 Jul 2013 20:22:00 +0200 (CEST) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 779DC8ED91D; Sun, 7 Jul 2013 20:22:00 +0200 (CEST) Subject: RE: USB ports on Lenovo T400 do not work after a suspend/resume From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Adrian_Chadd?= Date: Sun, 7 Jul 2013 20:22:00 +0200 Mime-Version: 1.0 In-Reply-To: References: X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: =?utf-8?Q?freebsd-acpi=40freebsd=2Eorg?= , =?utf-8?Q?freebsd-stable=40freebsd=2Eorg?= , =?utf-8?Q?Ian_Smith?= , =?utf-8?Q?freebsd-usb=40?= =?utf-8?Q?freebsd=2Eorg?= X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 18:22:10 -0000 Hi,=0D=0A=0D=0AThe USB code should re-attach the uhub driver to the root = HUB and any other HUBs after resume. Part of the attach code is to set th= e power on.=0D=0A=0D=0ASee /sys/dev/usb/usb_hub.c=0D=0A=0D=0AAnd:=0D=0A=0D= =0Agrep -r UHF_PORT_POWER /sys/dev/usb/=0D=0A=0D=0A--HPS=0D=0A=20=0D=0A=20= =0D=0A-----Original message-----=0D=0A> From:Adrian Chadd >=0D=0A> Sent: Sunday 7th July 2013 18= :43=0D=0A> To: Hans Petter Selasky >=0D=0A> Cc: freebsd-acpi@freebsd.org= ; freebsd-stable@freebsd.org ; Ian Smith >; freebsd-usb@freebsd.org =20=0D=0A> Subject: Re: USB ports on Lenovo T400 do not work after a = suspend/resume=0D=0A>=20=0D=0A> I don't think it's a USB controller issue= =2E=0D=0A>=20=0D=0A> Those ports are connected to USB hubs, right=3F I wo= nder if there's some=0D=0A> ACPI nonsense that's resulting in the hubs no= t being powered up on=0D=0A> resume.=0D=0A>=20=0D=0A>=20=0D=0A>=20=0D=0A>= -adrian=0D=0A>=20=0D=0A> On 7 July 2013 00:32, Hans Petter Selasky=0D=0A= > > wrote:=0D=0A> > Hi,=0D=0A> >=0D=0A> > FYI: The USB stack will curren= tly run a complete controller reset upon=0D=0A> > resume, like during boo= t.=0D=0A> >=0D=0A> > --HPS=0D=0A> >=0D=0A> >=0D=0A> >=0D=0A> > -----Origi= nal message-----=0D=0A> >> From:Ian Smith >=0D=0A> >> Sent: Sunday 7th July 2013 7:52=0D=0A> >= > To: Adrian Chadd >=0D=0A= > >> Cc: freebsd-acpi@freebsd.org ; fre= ebsd-stable@freebsd.org ;=0D=0A> >> f= reebsd-usb@freebsd.org =20=0D=0A> >> Subj= ect: Re: USB ports on Lenovo T400 do not work after a suspend/resume=0D=0A= > >>=0D=0A> >> On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote:=0D= =0A> >> > On 30 June 2013 07:22, Ian Smith > wrote:=0D=0A> >> [..]=0D=0A> >> > > Nothing of = note that I can see, if that usb hub-to-bus remapping is=0D=0A> >> > > n= ormal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus.=0D=0A= > >> > > Maybe someone who knows might comment on that=3F=0D=0A> >>=0D=0A= > >> Does noone know what that signifies=3F Maybe it's not relevant to t= his.=0D=0A> >>=0D=0A> >> > > Just checking: you've tried other USB devic= es apart from uftdi0=3F=0D=0A> >> >=0D=0A> >> > Yup, there's no 5v on t= he port.=0D=0A> >>=0D=0A> >> I was rather taken aback to hear this. Woul= d not this indicate a=0D=0A> >> failure to reinitialise the basic underly= ing USB hardware on resume=3F=0D=0A> >>=0D=0A> >> More than a bit bemused= , Ian=0D=0A> >> _______________________________________________=0D=0A> >>= freebsd-acpi@freebsd.org mailing list= =0D=0A> >> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi =20=0D=0A> >> To unsubsc= ribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org "=0D=0A> >>=0D=0A> ____________________= ___________________________=0D=0A> freebsd-acpi@freebsd.org mailing list=0D=0A> http://lists.freebsd.org/mailma= n/listinfo/freebsd-acpi =20=0D=0A> To unsubscribe, send any mail to "freebsd-acpi-unsubscr= ibe@freebsd.org "=0D=0A>=20= =0D=0A=0D=0A From owner-freebsd-usb@FreeBSD.ORG Sun Jul 7 20:10:00 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 97C9E4D7; Sun, 7 Jul 2013 20:10:00 +0000 (UTC) (envelope-from bsd.gaijin@gmail.com) Received: from mail-ve0-x233.google.com (mail-ve0-x233.google.com [IPv6:2607:f8b0:400c:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 2FEC112FA; Sun, 7 Jul 2013 20:10:00 +0000 (UTC) Received: by mail-ve0-f179.google.com with SMTP id d10so2988080vea.10 for ; Sun, 07 Jul 2013 13:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:x-priority:in-reply-to:date :cc:message-id:references:to:x-mailer; bh=oKiH05wLm3qn4RP4TRTbr+qFC+Wi6f25ZwqKmWfPmEI=; b=gFs4ZOkEbJuMTNIsetA4sN6Oyt6n8uTkym+l2viW8M8arp2V6QS6Gn+YiOaSroGjmR 64D0mwdArTWNo/bjIGqPt5AUR7WfqLqc4aIcltrCi5M6kEXybrz/bxR+l+IJJodii3M+ aSjzz7C5BcHFk8kDJiRZNDQymfsVBofYW6i54hEr4Ent3KEWlJOySRCFKZY7U7SZjfu4 5WzGk3uRbmH/vtUpCbq5erhG7Ie/DLRxIRFINhPom4Ue+nzct46hTeWPsmpQS976mJxP n30xmCIgJXR3vD3udi6uHEpD6c2lFKtWto+4B/ctuuyYA+IFYTT2ScA5S5N80DTJgcpA 9Eaw== X-Received: by 10.58.34.178 with SMTP id a18mr12145762vej.86.1373227799597; Sun, 07 Jul 2013 13:09:59 -0700 (PDT) Received: from [10.0.3.5] (pool-71-187-55-117.nwrknj.fios.verizon.net. [71.187.55.117]) by mx.google.com with ESMTPSA id sw5sm12668929vdc.4.2013.07.07.13.09.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 07 Jul 2013 13:09:58 -0700 (PDT) Subject: Re: XHCI umass support breaks between r248085 and r252560 on 9-STABLE Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) From: Alexandre Kovalenko X-Priority: 3 (Normal) In-Reply-To: Date: Sun, 7 Jul 2013 16:09:56 -0400 Message-Id: <9478BFAE-550D-485C-97FD-6F669F5B88EE@gmail.com> References: <94A3DD2E-F2E2-4302-8197-BAB213641E2F@gmail.com> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1508) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: mav@freebsd.org, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 20:10:00 -0000 I do apologize for the typo below, which made my message unclear: I = meant to say that I have reverted _/usr/src/sys/dev/usb/controller_ = directory, specifically the following files: root@twinhead:/usr/src/sys/dev/usb/controller # svn diff -r252560 | grep = Index: Index: xhci_pci.c Index: ohci_pci.c Index: xhci.c Index: usb_controller.c Index: xhcireg.h root@twinhead:/usr/src/sys/dev/usb/controller #=20 which (I think) are USB related and not CAM related. Please, let me know = if I am wrong. SIde question (I have been off the lists for a while): is it now = considered polite to top-post? It was frowned upon way back when=E2=80=A6 = if it still is not, I do apologize, but I can see no good way to fix it = at this point. Alexandre "Sunny" Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0= =B4=D1=80 =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE) On Jul 7, 2013, at 3:36 AM, Hans Petter Selasky = wrote: > Hi, >=20 > Check for CAM/SCSI related changes. There has not been so many USB = changes recently. Possibly not USB related. >=20 > Thank you, >=20 > --HPS > =20 > -----Original message----- > > From:Alexandre Kovalenko > > Sent: Thursday 4th July 2013 20:58 > > To: freebsd-usb@freebsd.org > > Cc: freebsd-stable@freebsd.org > > Subject: XHCI umass support breaks between r248085 and r252560 on = 9-STABLE > >=20 > > Three different external hard drives (Seagate, Western Digital and = noname USB 3.0 enclosure) refused to be recognized as the umass devices. = Reverting /usr/src/sys/dev/bsd/controller to r248085, building and = loading just xhci module makes drives appear again. Below are snippets = from the log in both cases: > >=20 > > Non working: > >=20 > > Jul 4 14:35:17 twinhead kernel: xhci0: mem 0xfddfe000-0xfddfffff irq 16 at device 0.0 on pci2 > > Jul 4 14:35:17 twinhead kernel: xhci0: 64 byte context size. > > Jul 4 14:35:17 twinhead kernel: usbus0 on xhci0 > > Jul 4 14:35:17 twinhead kernel: usbus0: 5.0Gbps Super Speed USB = v3.0 > > Jul 4 14:35:17 twinhead kernel: ugen0.1: <0x1912> at usbus0 > > Jul 4 14:35:17 twinhead kernel: uhub0: <0x1912 XHCI root HUB, class = 9/0, rev 3.00/1.00, addr 1> on usbus0 > > Jul 4 14:35:17 twinhead kernel: uhub0: 8 ports with 8 removable, = self powered > > Jul 4 14:35:24 twinhead kernel: ugen0.2: at usbus0 > > Jul 4 14:35:24 twinhead kernel: umass0: on usbus0 > > Jul 4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. = CDB: 12 00 00 00 24 00=20 > > Jul 4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM = status: CCB request completed with an error > > Jul 4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying = command > > Jul 4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. = CDB: 12 00 00 00 24 00=20 > > Jul 4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM = status: CCB request completed with an error > > Jul 4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying = command > > Jul 4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. = CDB: 12 00 00 00 24 00=20 > > Jul 4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM = status: CCB request completed with an error > > Jul 4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying = command > > Jul 4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. = CDB: 12 00 00 00 24 00=20 > > Jul 4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM = status: CCB request completed with an error > > Jul 4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying = command > > Jul 4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. = CDB: 12 00 00 00 24 00=20 > > Jul 4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM = status: CCB request completed with an error > > Jul 4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): Error 5, = Retries exhausted > >=20 > > Working: > >=20 > > Jul 4 14:40:20 twinhead kernel: ugen0.2: at usbus0 = (disconnected) > > Jul 4 14:40:20 twinhead kernel: umass0: at uhub0, port 2, addr 1 = (disconnected) > > Jul 4 14:40:27 twinhead kernel: ugen0.2: at usbus0 > > Jul 4 14:40:27 twinhead kernel: umass0: on usbus0 > > Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): REPORT = LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00=20 > > Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM = status: SCSI Status Error > > Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): SCSI = status: Check Condition > > Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): SCSI = sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) > > Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): Error = 22, Unretryable error > > Jul 4 14:40:27 twinhead kernel: da0 at umass-sim0 bus 0 scbus4 = target 0 lun 0 > > Jul 4 14:40:27 twinhead kernel: da0: = Fixed Direct Access SCSI-5 device=20 > > Jul 4 14:40:27 twinhead kernel: da0: 400.000MB/s transfers > > Jul 4 14:40:27 twinhead kernel: da0: 190782MB (390721968 512 byte = sectors: 255H 63S/T 24321C) > > Jul 4 14:40:27 twinhead kernel: da0: quirks=3D0x2 > >=20 > > I can provide additional information or try patches as necessary. > >=20 > > Alexandre "Sunny" Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD= =D0=B4=D1=80 =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE) > >=20 > > _______________________________________________ > > freebsd-usb@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > > To unsubscribe, send any mail to = "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sun Jul 7 20:50:01 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8149CE88; Sun, 7 Jul 2013 20:50:01 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 4004F161F; Sun, 7 Jul 2013 20:50:00 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 197816A6005; Sun, 7 Jul 2013 22:49:59 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id r67Knw0S069458; Sun, 7 Jul 2013 22:49:58 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id r67KnvSB068983; Sun, 7 Jul 2013 22:49:57 +0200 (CEST) (envelope-from lars) Date: Sun, 7 Jul 2013 22:49:57 +0200 From: Lars Engels To: Adrian Chadd Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume Message-ID: <20130707204957.GD88288@e-new.0x20.net> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jCtUVa7WgqJFqiey" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.4-RELEASE User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 20:50:01 -0000 --jCtUVa7WgqJFqiey Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 30, 2013 at 03:02:57PM -0700, Adrian Chadd wrote: > On 30 June 2013 07:22, Ian Smith wrote: >=20 > > After removing [numbers] (for WITNESS?), diff started making sense. > > The below is between the first and second suspend/resume cycles in > > dmesg-3.txt, encompassing the others. >=20 > Cool! >=20 > > Nothing of note that I can see, if that usb hub-to-bus remapping is > > normal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus. > > Maybe someone who knows might comment on that? > > > > Just checking: you've tried other USB devices apart from uftdi0? >=20 > Yup, there's no 5v on the port. Oh, BTW: can you check if you have power on the ports after the first resume and no power after all next resumes until you reboot your notebook? That's the situation I had and maybe it can lead to something. ;) --jCtUVa7WgqJFqiey Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlHZ1HUACgkQKc512sD3afjaBQCfRFbhECzF/rGjcNvsb6oCYrTc xCsAoKg6UrgtLtAMOLTVstVF18b9Og8V =xpuU -----END PGP SIGNATURE----- --jCtUVa7WgqJFqiey-- From owner-freebsd-usb@FreeBSD.ORG Mon Jul 8 01:47:04 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3420B494; Mon, 8 Jul 2013 01:47:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qa0-x22b.google.com (mail-qa0-x22b.google.com [IPv6:2607:f8b0:400d:c00::22b]) by mx1.freebsd.org (Postfix) with ESMTP id C79551FC6; Mon, 8 Jul 2013 01:47:03 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id d13so5480129qak.9 for ; Sun, 07 Jul 2013 18:47:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Q9kXV1UZOmOglVLUGGHePTC0SKFwfzoN7M43v67FSvw=; b=pTivoVDlc/mWWU6plQuaTNGrcn/1h8cJyniaRiveKPr9UYoYkL1xGs8HMC5861Y9Ej TZXxVCi0kOWVYaPye3vSxJo2nm7kTYsI9Dzn/px+x9hQQSQ/kf+ZU5buDdkqNVrnRKq3 Bg9K7ZUtbHhnXijPkR9LDgiNtiaQwgVmlxIfv4ycC1CRgb9hNQ535UpbCRkGJUe7qNK3 IVTMZMYn9mrIoXDKdJyUHskrO/Si/HHShx46YRevfgrxcGcZRfyJUTD24jQthuW9AsNX Dkjb+GIRhd4hnZfioHCLMM4q3vDDLG/3iXKDJwKVdO5W711+STRRCIc/RcuwstvE9y0G g9bg== MIME-Version: 1.0 X-Received: by 10.49.117.195 with SMTP id kg3mr13929647qeb.68.1373248023418; Sun, 07 Jul 2013 18:47:03 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Sun, 7 Jul 2013 18:47:03 -0700 (PDT) In-Reply-To: <20130707204957.GD88288@e-new.0x20.net> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> <20130707204957.GD88288@e-new.0x20.net> Date: Sun, 7 Jul 2013 18:47:03 -0700 X-Google-Sender-Auth: 0i847bi-sS21nTIFcyBUCzOEboo Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: Lars Engels Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 01:47:04 -0000 Nope, no power after first resume if i have nothing plugged in. Why? -adrian On 7 July 2013 13:49, Lars Engels wrote: > On Sun, Jun 30, 2013 at 03:02:57PM -0700, Adrian Chadd wrote: >> On 30 June 2013 07:22, Ian Smith wrote: >> >> > After removing [numbers] (for WITNESS?), diff started making sense. >> > The below is between the first and second suspend/resume cycles in >> > dmesg-3.txt, encompassing the others. >> >> Cool! >> >> > Nothing of note that I can see, if that usb hub-to-bus remapping is >> > normal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus. >> > Maybe someone who knows might comment on that? >> > >> > Just checking: you've tried other USB devices apart from uftdi0? >> >> Yup, there's no 5v on the port. > > Oh, BTW: can you check if you have power on the ports after the first > resume and no power after all next resumes until you reboot your > notebook? > That's the situation I had and maybe it can lead to something. ;) From owner-freebsd-usb@FreeBSD.ORG Mon Jul 8 05:00:44 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7404ADEE; Mon, 8 Jul 2013 05:00:44 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id A8C3317D3; Mon, 8 Jul 2013 05:00:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r6850XOb012097; Mon, 8 Jul 2013 15:00:34 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 8 Jul 2013 15:00:33 +1000 (EST) From: Ian Smith To: Adrian Chadd Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume In-Reply-To: Message-ID: <20130708140804.R26496@sola.nimnet.asn.au> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> <20130707204957.GD88288@e-new.0x20.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 05:00:44 -0000 On Sun, 7 Jul 2013 18:47:03 -0700, Adrian Chadd wrote: > On 7 July 2013 13:49, Lars Engels wrote: > > On Sun, Jun 30, 2013 at 03:02:57PM -0700, Adrian Chadd wrote: > >> On 30 June 2013 07:22, Ian Smith wrote: > >> > >> > After removing [numbers] (for WITNESS?), diff started making sense. > >> > The below is between the first and second suspend/resume cycles in > >> > dmesg-3.txt, encompassing the others. > >> > >> Cool! > >> > >> > Nothing of note that I can see, if that usb hub-to-bus remapping is > >> > normal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus. > >> > Maybe someone who knows might comment on that? > >> > > >> > Just checking: you've tried other USB devices apart from uftdi0? > >> > >> Yup, there's no 5v on the port. > > > > Oh, BTW: can you check if you have power on the ports after the first > > resume and no power after all next resumes until you reboot your > > notebook? > > That's the situation I had and maybe it can lead to something. ;) > Nope, no power after first resume if i have nothing plugged in. > > Why? Checking one more point .. do the USB ports come up ok if you originally boot with nothing plugged in? If so (or if not), does that local APIC error message appear the same then too? cheers, Ian PS OT: finally found a USB keyboard but I'd forgotten that my friend's machine is an SL500, not T500. Moreover, because its keyboard+trackpad etc is non-working (internally disconnected), I have no way to resume it without the kbd (and the 9.1-R memstick) plugged in. Even with kbd and memstick left in and using acpiconf -s3 it suspends ok but is hung after resume by dabbing power button; no screen and kbd is dead too - sorry, no help there. OTOH my son just bought a refurb T430 ('doze 7, beats 8 anyway) which I should get to play with a bit this week. From owner-freebsd-usb@FreeBSD.ORG Mon Jul 8 11:41:12 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5A39B592 for ; Mon, 8 Jul 2013 11:41:12 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3D90715D9 for ; Mon, 8 Jul 2013 11:41:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r68BeXgo053981 for ; Mon, 8 Jul 2013 11:41:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r68B6hP5046239 for freebsd-usb@FreeBSD.org; Mon, 8 Jul 2013 11:06:43 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Jul 2013 11:06:43 GMT Message-Id: <201307081106.r68B6hP5046239@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 11:41:12 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/180254 usb FreeBSD 9.1 on 384GB memory server o usb/180119 usb FreeBSD 9.1 umass driver does not correctly handle Pan o usb/179505 usb Kernel detaches Arduino Leonardo (and similar) board u o usb/179342 usb Freebsd 10.0-current USB 3.0 not working (xhci_do_coma o usb/179109 usb After detach USB Flash a keyboard does not work. o usb/179107 usb [usb] After detach USB Flash a keyboard does not work. o usb/178773 usb [usbdevs] [patch] Huawei E303 USB 3G modem support o usb/178771 usb [usbdevs] [patch] Western Digital My Passport HD o usb/178722 usb FreeBSD 9.1-STABLE r250561 breaks support for webcam L o usb/178267 usb [usb] USB causing interrupt storm on irq16 o usb/177897 usb [u3g][patch] add support for the Huawei E352 modem o usb/177896 usb man page for usb_quirk suggests adding device to kerne o usb/177895 usb similar 1TB Western Digital "My Passports" - some load o usb/177666 usb [usbdevs] [patch] Add support for Texas Instruments / o usb/176913 usb [ehci] High interrupt load with ehci o usb/176841 usb [umass] Sony DSC-H2 USB connection fails o usb/176417 usb [xhci][cam][umass] kernelpanic while removing plugged o usb/175731 usb detaching USB keyboard freezes other USB keyboards o usb/175639 usb not detect usb netcard D-LINK DUB-E100 rev C1 o usb/175599 usb [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi o usb/175551 usb Seagate 2TB USB extern hard disk have errors with Free o usb/175379 usb usb card-reader problem o usb/175302 usb don't mount virtual driver CD for my phone o usb/174963 usb buffalo wli-uc-gn wireless card sometimes unusable and o usb/174835 usb uaudio fails to create pcm/dsp device file o usb/174814 usb [PATCH] support for MiFi 2200 o usb/174695 usb usb keeps disconnecting mouse or keyboard o usb/174575 usb Interrupt storm error on startup o usb/174464 usb clone MAC address(es) on usb networks cdce(4) && ue[0- o usb/174254 usb MIDI keyboard not recognised o usb/173722 usb [xhci] xhci driver bug after suspend to RAM (ACPI S3 m o usb/173616 usb LG USB DVD-RW USB STALL o usb/173182 usb usbus appears as a network device o usb/172937 usb FreeBSD 9.1-RC2 usb3 port disconnects o usb/172633 usb Sony Cybershot not recognized as USB mem stick o usb/172199 usb [xhci] high interrupts load xhci o usb/171354 usb [umass] Medium not present error on flash drive [regre o usb/171262 usb plug in sdhc via usb reader reboots machine o usb/171197 usb ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1 o usb/170699 usb FreeBSD 9.0 Doesn't list HDD or its partitions in part o usb/170688 usb patch][usbdevs][wlan] Patch for ASUS Black Diamond USB o usb/170606 usb r239222 kernel panic at boot - usb locking issue o usb/170358 usb [ums] Wrong (duplicate) button numbers o usb/170123 usb [umass] HP v210w USB stick not supported o usb/169935 usb [keyboard] Unable use USB keyboard while panic o usb/169789 usb [u3g] [patch] add support for huawei e3131 o usb/169461 usb [ugen] USB2 high-speed device detected as full speed o usb/169428 usb [ugen] ugen not detecting all endpoints on device [reg o usb/168551 usb [umass] Issues with embedded card reader (Laptop ASUS o usb/168132 usb [umass] MATSHITA memory card size reported wrong, moun o usb/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 f usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156726 usb [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke f usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while f kern/153514 usb [cam] [panic] CAM related panic o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack f usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o kern/138292 usb [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202 o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] [patch] Adding usb quirk for Sony USB flash dr o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader f usb/128745 usb [zyd] zyd theoretically supported usb device makes ker o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS f usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o conf/120406 usb [devd] [patch] Handle newly attached pcm devices (eg. o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a f usb/117150 usb [zyd] usb zyd device under moderate load panics system o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg f usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. f usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s s usb/52026 usb [new driver] [request] umass driver support for InSyst s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 308 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jul 8 18:09:22 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 07FED92E; Mon, 8 Jul 2013 18:09:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qa0-x22c.google.com (mail-qa0-x22c.google.com [IPv6:2607:f8b0:400d:c00::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 99A071F9F; Mon, 8 Jul 2013 18:09:21 +0000 (UTC) Received: by mail-qa0-f44.google.com with SMTP id o13so5837972qaj.3 for ; Mon, 08 Jul 2013 11:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=yJydbRwd6PxXwUMlvhN411HLag+l4AamyHGFS8x77c8=; b=FBJsw8DVFVFNWO3SIKSPj9+kO7yrOXZcBM7GlrgM8ag0F18ScN8wIKEWygsFhm3pWH zX6OWoBAkXsNOxZ2r7qrIJUOBmt5APWGlPSbRMkUjv5EyB1b6vqtjQ5kH5fJhiWnw8xG KiJtT05lUQqgOU9lJTsZhF2trDPOt8u9XCtvLM7vcih4rebQexIqMshET2AB69RJzQGl Y1wuF7HyKZgPjaE+N1K1n64Gy1F2bUkCV9yJPBEDxTO5FGTcMHDeTygxHlvBTtu+nELe 5ZSiXFP+iE2blVSPVGtLvdm74RQRSHvAH0ZJhX/0UoTpvJLZJr+qjTTyqP72G2iRmbf0 3O/g== MIME-Version: 1.0 X-Received: by 10.49.98.196 with SMTP id ek4mr17422401qeb.8.1373306960685; Mon, 08 Jul 2013 11:09:20 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Mon, 8 Jul 2013 11:09:20 -0700 (PDT) In-Reply-To: <20130708140804.R26496@sola.nimnet.asn.au> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> <20130707204957.GD88288@e-new.0x20.net> <20130708140804.R26496@sola.nimnet.asn.au> Date: Mon, 8 Jul 2013 11:09:20 -0700 X-Google-Sender-Auth: S_B-uP8VnjrSV5MDjKn5BderDAI Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 18:09:22 -0000 On 7 July 2013 22:00, Ian Smith wrote: > Checking one more point .. do the USB ports come up ok if you originally > boot with nothing plugged in? If so (or if not), does that local APIC Yes. > error message appear the same then too? > No -adrian From owner-freebsd-usb@FreeBSD.ORG Mon Jul 8 21:26:08 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4FDBD70B; Mon, 8 Jul 2013 21:26:08 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2C2361A0F; Mon, 8 Jul 2013 21:26:08 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 1E2F3B93B; Mon, 8 Jul 2013 17:26:07 -0400 (EDT) From: John Baldwin To: freebsd-acpi@freebsd.org Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume Date: Mon, 8 Jul 2013 14:19:42 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <20130630233640.Y23789@sola.nimnet.asn.au> In-Reply-To: <20130630233640.Y23789@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201307081419.42478.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 08 Jul 2013 17:26:07 -0400 (EDT) Cc: freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 21:26:08 -0000 On Sunday, June 30, 2013 10:22:09 am Ian Smith wrote: > On Sat, 29 Jun 2013, Adrian Chadd wrote: > > On 27 June 2013 04:58, Ian Smith wrote: > > > We don't yet know if this is a bus, ACPI &/or USB issue. Home yet? = :) > >=20 > > Yup: > >=20 > > http://people.freebsd.org/~adrian/usb/ > >=20 > > dmesg.boot =3D dmesg at startup > >=20 > > 1 - after powerup, usb device in > > 2 - after acpiconf -s3 suspend/resume, w/ a USB device plugged in > > 3 - after acpiconf -s3 suspend/resume, with a USB device removed > > before suspend/resume >=20 > After removing [numbers] (for WITNESS?), diff started making sense. =20 > The below is between the first and second suspend/resume cycles in=20 > dmesg-3.txt, encompassing the others. >=20 > Nothing of note that I can see, if that usb hub-to-bus remapping is=20 > normal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus. =20 > Maybe someone who knows might comment on that? =46rom sys/amd64/include/apicreg.h: /* fields in ESR */ #define APIC_ESR_SEND_CS_ERROR 0x00000001 #define APIC_ESR_RECEIVE_CS_ERROR 0x00000002 #define APIC_ESR_SEND_ACCEPT 0x00000004 #define APIC_ESR_RECEIVE_ACCEPT 0x00000008 #define APIC_ESR_SEND_ILLEGAL_VECTOR 0x00000020 #define APIC_ESR_RECEIVE_ILLEGAL_VECTOR 0x00000040 #define APIC_ESR_ILLEGAL_REGISTER 0x00000080 Receive illegal vector (if look in Intel's SDM manuals) means it got an interrupt vector < 32 (probably zero). Perhaps it asserted an interrupt in an I/O APIC before the I/O APIC was properly reset? Are you using MSI at all? =2D-=20 John Baldwin From owner-freebsd-usb@FreeBSD.ORG Mon Jul 8 23:09:25 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8784416F; Mon, 8 Jul 2013 23:09:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x22f.google.com (mail-qe0-x22f.google.com [IPv6:2607:f8b0:400d:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 180581E28; Mon, 8 Jul 2013 23:09:25 +0000 (UTC) Received: by mail-qe0-f47.google.com with SMTP id 1so2673118qec.34 for ; Mon, 08 Jul 2013 16:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=BqHtD6EqVhfBpO+713df/dtZ4aqhj/S+USiMeHrxnrI=; b=cMwQGgHOSFtLDV3B1dqvaMeYZxP/gp1zEcqA7rIDrhJoUFAGtSvq8FmLVRiSn/P7mo GXEbvi9He1PSMrmMyujClO0AkRFmtN0L4NGw2n9tdTeAeJxJDglN81VXC46d9vML6z+y Y2maTZLpezR3u2i7uwsIsSOmrmPXjB6uYdnrdfqs62fl6kFuLxWz9V1Bbq0dKOEpzlyo tOO4ptg9eHtQ84+iIOFm9DkUvkHnqHf8/Pb78VRmlQnsmf0e0b9FAFdwJpAU+8h6xxpu KiQLDws7hQonSvpQERReJ50dGkjBt1V4w7eaGpk536x3udtPpZrQhoIoZHAyDDNQMnbu lOGg== MIME-Version: 1.0 X-Received: by 10.49.58.70 with SMTP id o6mr17799524qeq.1.1373324964711; Mon, 08 Jul 2013 16:09:24 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Mon, 8 Jul 2013 16:09:24 -0700 (PDT) In-Reply-To: <201307081419.42478.jhb@freebsd.org> References: <20130630233640.Y23789@sola.nimnet.asn.au> <201307081419.42478.jhb@freebsd.org> Date: Mon, 8 Jul 2013 16:09:24 -0700 X-Google-Sender-Auth: QP0zCszBEe4Geh31Xtl5La1WT_I Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 23:09:25 -0000 On 8 July 2013 11:19, John Baldwin wrote: > From sys/amd64/include/apicreg.h: This system runs an i386 kernel. > /* fields in ESR */ > #define APIC_ESR_SEND_CS_ERROR 0x00000001 > #define APIC_ESR_RECEIVE_CS_ERROR 0x00000002 > #define APIC_ESR_SEND_ACCEPT 0x00000004 > #define APIC_ESR_RECEIVE_ACCEPT 0x00000008 > #define APIC_ESR_SEND_ILLEGAL_VECTOR 0x00000020 > #define APIC_ESR_RECEIVE_ILLEGAL_VECTOR 0x00000040 > #define APIC_ESR_ILLEGAL_REGISTER 0x00000080 > > Receive illegal vector (if look in Intel's SDM manuals) means it > got an interrupt vector < 32 (probably zero). Perhaps it asserted > an interrupt in an I/O APIC before the I/O APIC was properly reset? > Are you using MSI at all? I think iwn uses MSI. I'm sure other hardware in here does. I can dig through it and let you know. -adrian From owner-freebsd-usb@FreeBSD.ORG Tue Jul 9 15:10:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 69AACBEA for ; Tue, 9 Jul 2013 15:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 415D316A2 for ; Tue, 9 Jul 2013 15:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r69FA15n097023 for ; Tue, 9 Jul 2013 15:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r69FA0uD097020; Tue, 9 Jul 2013 15:10:00 GMT (envelope-from gnats) Date: Tue, 9 Jul 2013 15:10:00 GMT Message-Id: <201307091510.r69FA0uD097020@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Bryan Drewery Subject: Re: usb/180254: FreeBSD 9.1 on 384GB memory server X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Bryan Drewery List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2013 15:10:01 -0000 The following reply was made to PR usb/180254; it has been noted by GNATS. From: Bryan Drewery To: bug-followup@FreeBSD.org, mooltw@gmail.com Cc: Subject: Re: usb/180254: FreeBSD 9.1 on 384GB memory server Date: Tue, 09 Jul 2013 10:09:20 -0500 This was fixed on HEAD in r251282 Regards, Bryan Drewery From owner-freebsd-usb@FreeBSD.ORG Wed Jul 10 18:46:36 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BD414D50 for ; Wed, 10 Jul 2013 18:46:36 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x22e.google.com (mail-ea0-x22e.google.com [IPv6:2a00:1450:4013:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 5A5111393 for ; Wed, 10 Jul 2013 18:46:36 +0000 (UTC) Received: by mail-ea0-f174.google.com with SMTP id o10so5128777eaj.33 for ; Wed, 10 Jul 2013 11:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=bTepenPvSgos4uziGIwO4OoB1WuVETbFRzABz5hZ3aA=; b=gQgLH5yRquA5Asx3AwprEUZLbRU1l1J27iyxIESytqOTcT34/GWtYoZu0u5Xoc9zfJ mOQ0a+mafg6Db50vQmSwQGmCAQQZvAe5rpT+vqYWiQqfHuhBpFkX/9co/s0lfeoVvD0X MhnsWEtCrW9TnzbDNSJZxLky22lO+qStV4AxxsVsAGWCBATf4mddn8wv1NPg5WOQ1cu3 hCekZ443DHmhf28D2Rt6uhKOfAYtZ5xw3xXLtYDjmqg8D2RePVFk0pXPWrTvrJpZf0cc tm8NSpAEvNthQxusOBLfbuaIH0xbYxu+T99OtCkbY4DN2Isl9TFmLua6plsrAdRY0EwP p3mg== MIME-Version: 1.0 X-Received: by 10.15.31.9 with SMTP id x9mr37594122eeu.103.1373481995190; Wed, 10 Jul 2013 11:46:35 -0700 (PDT) Received: by 10.14.119.203 with HTTP; Wed, 10 Jul 2013 11:46:35 -0700 (PDT) Date: Wed, 10 Jul 2013 11:46:35 -0700 Message-ID: Subject: Weird fan noise with usb activity From: hiren panchasara To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Hiren X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2013 18:46:36 -0000 Hi All, I have this machine running current: Copyright (c) 1992-2013 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 10.0-CURRENT #0 r252476M: Mon Jul 1 15:20:47 PDT 2013 root@:/usr/obj/usr/home/hirenp/head/sys/GENERIC amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 CPU: Genuine Intel(R) CPU @ 2.00GHz (1995.24-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x206d2 Family = 0x6 Model = 0x2d Stepping = 2 Features=0xbfebfbff Features2=0x1fbee3ff AMD Features=0x2c100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 60129542144 (57344 MB) avail memory = 55965908992 (53373 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 24 CPUs FreeBSD/SMP: 2 package(s) x 6 core(s) x 2 SMT threads beefy% uname -a FreeBSD beefy.corp.yahoo.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r252476M: Mon Jul 1 15:20:47 PDT 2013 root@:/usr/obj/usr/home/hirenp/head/sys/GENERIC amd64 beefy% and everynow and then when machine is not doing anything or none is touching it, the fans go mad for 5-9 seconds and make real loud noise. Whenever that happens, I see following in dmesg: ukbd0: at uhub2, port 4, addr 3 (disconnected) ums0: at uhub2, port 4, addr 3 (disconnected) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT ugen1.3: at usbus1 (disconnected) ugen1.3: at usbus1 ukbd0: on usbus1 kbd2 at ukbd0 ums0: on usbus1 ums0: 3 buttons and [Z] coordinates ID=0 beefy% sudo usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen1.4: at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) ugen1.3: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (0mA) beefy% I am not sure at all how to make sense of these things. Please let me what more information I can provide. Thanks, Hiren (I am not on this list so keep please me in the loop) From owner-freebsd-usb@FreeBSD.ORG Fri Jul 12 13:43:44 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B3BF3A3F for ; Fri, 12 Jul 2013 13:43:44 +0000 (UTC) (envelope-from plaxo@mx.plaxo.com) Received: from plaxomx1.plaxo.com (plaxomx1.plaxo.com [204.15.240.53]) by mx1.freebsd.org (Postfix) with ESMTP id 997301756 for ; Fri, 12 Jul 2013 13:43:44 +0000 (UTC) Received: from 127.0.0.1 ([10.1.2.12]) by plaxomx1.plaxo.com (StrongMail Enterprise 4.1.2(4.1.2-51177)); Fri, 12 Jul 2013 06:43:44 -0700 X-VirtualServer: Pulse-Member, plaxomx1.plaxo.com, 10.1.6.53 X-MailingID: 00000::00000::00000::00000::74-public-0-115966228337-0-20130712::353679 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-usb@freebsd.org X-SMFBL: ZnJlZWJzZC11c2JAZnJlZWJzZC5vcmc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=mx.plaxo.com; s=plaxo; l=6917; t=1373636624; i=@mx.plaxo.com; h=From:To:Subject:Message-Id:X-VirtualServerGroup: X-PlaxoMailType:X-PlaxoMailID:List-Unsubscribe:Reply-To: Errors-To:Date:X-Mailer:Content-Type:MIME-Version; bh=aTz5q8EAzy Tv3ug0PwtrvYVADDM=; b=jlyy5RiKCJK1k6IxFFmc+bJ33EsVGeMA4QwL6cgOnV bUMv241kFxr9tBFAT1FEx6taroJM+nihHLpt34R7rXrsNDbs0LJTSJnuXc00VLS/ U+2JPA/FkGcYa7mgE6lsK6 From: "Tomislav Korda via Plaxo" To: freebsd-usb@freebsd.org Subject: I updated my contact information Message-Id: X-VirtualServerGroup: Pulse-Member X-PlaxoMailType: Pulse-NonMember X-PlaxoMailID: 74-public-0-115966228337-0-20130712 Errors-To: plaxo@mx.plaxo.com Date: Fri, 12 Jul 2013 06:43:44 -0700 X-Mailer: XPM4 v.0.3 < www.xpertmailer.com > MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: noreply@plaxo.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 13:43:44 -0000 Hi,=20 I've shared my latest info with you.=20 Tomislav Korda CEO/Owner, Land of stickers LLC / G11 INVEST IN HEALTH Save my info for free http://www.plaxo.com/profile/show/115966228337?src=3Demail&et=3D74&est=3Dpubli= c&el=3Dhr_hr What is Plaxo? It automatically keeps my address book up-to-date and notifies my important contacts when I change my information. You should check it out. Learn more. http://www.plaxo.com/home?src=3Demail&et=3D74&est=3Dpublic&el=3Dhr_hr This message was sent to you from Tomislav Korda via Plaxo. Don't know Tomislav? Opt-out of these emails http://www.plaxo.com/stop?src=3Demail&et=3D74&est=3Dpublic&el=3Dhr_hr&email=3D= freebsd-usb%40freebsd.org Plaxo, Inc. - 1050 Enterprise Way, Floor 5 - Sunnyvale - CA - 94089 - USA=20 From owner-freebsd-usb@FreeBSD.ORG Sat Jul 13 19:45:57 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3FF1BF1B for ; Sat, 13 Jul 2013 19:45:57 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id C1A6F1E19 for ; Sat, 13 Jul 2013 19:45:56 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 190737A223; Sat, 13 Jul 2013 21:45:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 849808EE854; Sat, 13 Jul 2013 21:45:50 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wB6-3nyZwvDv; Sat, 13 Jul 2013 21:45:49 +0200 (CEST) Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 370C68EE853; Sat, 13 Jul 2013 21:45:49 +0200 (CEST) Message-ID: <51E1AECB.2060907@bitfrost.no> Date: Sat, 13 Jul 2013 21:47:23 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: hiren panchasara Subject: Re: Weird fan noise with usb activity References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jul 2013 19:45:57 -0000 On 07/10/13 20:46, hiren panchasara wrote: > Hi All, > > I have this machine running current: > > Copyright (c) 1992-2013 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 10.0-CURRENT #0 r252476M: Mon Jul 1 15:20:47 PDT 2013 > root@:/usr/obj/usr/home/hirenp/head/sys/GENERIC amd64 > FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 > CPU: Genuine Intel(R) CPU @ 2.00GHz (1995.24-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x206d2 Family = 0x6 Model = 0x2d > Stepping = 2 > Features=0xbfebfbff > Features2=0x1fbee3ff > AMD Features=0x2c100800 > AMD Features2=0x1 > TSC: P-state invariant, performance statistics > real memory = 60129542144 (57344 MB) > avail memory = 55965908992 (53373 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 24 CPUs > FreeBSD/SMP: 2 package(s) x 6 core(s) x 2 SMT threads > > beefy% uname -a > FreeBSD beefy.corp.yahoo.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 > r252476M: Mon Jul 1 15:20:47 PDT 2013 > root@:/usr/obj/usr/home/hirenp/head/sys/GENERIC amd64 > beefy% > > and everynow and then when machine is not doing anything or none is > touching it, the fans go mad for 5-9 seconds and make real loud noise. > Whenever that happens, I see following in dmesg: > > ukbd0: at uhub2, port 4, addr 3 (disconnected) > ums0: at uhub2, port 4, addr 3 (disconnected) > usbd_setup_device_desc: getting device descriptor at addr 3 failed, > USB_ERR_TIMEOUT > usbd_setup_device_desc: getting device descriptor at addr 3 failed, > USB_ERR_TIMEOUT > ugen1.3: at usbus1 (disconnected) > ugen1.3: at usbus1 > ukbd0: on usbus1 > kbd2 at ukbd0 > ums0: on usbus1 > ums0: 3 buttons and [Z] coordinates ID=0 > > beefy% sudo usbconfig > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE (0mA) > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE (0mA) > ugen1.2: at usbus1, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=SAVE (0mA) > ugen0.2: at usbus0, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=SAVE (0mA) > ugen1.4: at usbus1, cfg=0 md=HOST > spd=LOW (1.5Mbps) pwr=ON (100mA) > ugen1.3: at > usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (0mA) > beefy% > > I am not sure at all how to make sense of these things. Please let me > what more information I can provide. > > Thanks, > Hiren > > (I am not on this list so keep please me in the loop) Hi, Can you check the output from: vmstat -i --HPS