From owner-freebsd-current@FreeBSD.ORG Thu Nov 3 08:30:56 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E9B71065676 for ; Thu, 3 Nov 2011 08:30:56 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id 14B338FC17 for ; Thu, 3 Nov 2011 08:30:55 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 23933984; Thu, 03 Nov 2011 09:30:52 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 3 Nov 2011 09:27:55 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EB1602C.6030807@janh.de> In-Reply-To: <4EB1602C.6030807@janh.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201111030927.55637.hselasky@c2i.net> Cc: Jan Henrik Sylvester Subject: Re: USB3 express card panics on 9.0-RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2011 08:30:56 -0000 On Wednesday 02 November 2011 16:22:20 Jan Henrik Sylvester wrote: > I have bought a "Super-speed Express Card To USB 3.0 1-Port" to connect > an USB3 hard disk to my Thinkpad T510, which only has USB2. > > Trying to hot plug the express card did nothing, but I guess that is > expected. Hence, I booted with the express card already inserted, only > to receive a panic upon xhci0 initialization, see below. > > This is on FreeBSD 9.0-RC1/amd64 with a generic kernel installed from > the official DVD. > > I guess I could test 226803 mentioned in > http://lists.freebsd.org/pipermail/freebsd-usb/2011-October/010746.html > , which happened after RC1, but from the commit message, it only fixes > suspend and resume. > > As I do not have much time now, should I test 226803, find a Linux CD to > actually identify the device, or anything else? > > Cheers, > Jan Henrik > > > usbus0: 480 Mbps High Speed USB v2.0 > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x18 > fault code = supervisor write data, page not present > instruction ponter = 0x20:0xffffffff806e80aa > stack pointer = 0x28:0xffffff810ee50bc0 > frame pointer = 0x28:0xffffff810ee50bf0 > code segment = base 0x0, limit 0xfffff, type 0x16 > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 15 (xhci0) > trap number = 12 > panic: page fault > cpuid = 0 > Uptime = 1s > Automatic reboot in 15 seconds - press a key on the console to abort Hi, This looks like a NULL-pointer issue inside "xhci_configure_msg()" which probably should be easy to fix. Could you compile and boot a kernel with kernel debugging enable so that you get a backgtrace? --HPS