From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 11:17:25 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0129A106564A; Mon, 31 Mar 2008 11:17:25 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by mx1.freebsd.org (Postfix) with ESMTP id 7FF9B8FC2C; Mon, 31 Mar 2008 11:17:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay03.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JgI0s-0006t0-M0; Mon, 31 Mar 2008 14:17:23 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m2VBHPQs074040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Mar 2008 14:17:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m2VBHEmB005704; Mon, 31 Mar 2008 14:17:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m2VBHE0A005703; Mon, 31 Mar 2008 14:17:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 31 Mar 2008 14:17:14 +0300 From: Kostik Belousov To: Vince Hoffman Message-ID: <20080331111714.GI21209@deviant.kiev.zoral.com.ua> References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> <47EFCF67.9040601@system.pl> <47F0A577.90800@unsane.co.uk> <20080331092035.GH21209@deviant.kiev.zoral.com.ua> <47F0C75B.9040000@unsane.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HuscSE0D68UGttcd" Content-Disposition: inline In-Reply-To: <47F0C75B.9040000@unsane.co.uk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: cd91eefa7e6da97c48661c56a607d3ec X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 2523 [Mar 31 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: Marcin Cieslak , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 11:17:25 -0000 --HuscSE0D68UGttcd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote: > Kostik Belousov wrote: > > On Mon, Mar 31, 2008 at 09:48:55AM +0100, Vince Hoffman wrote: > >> Marcin Cieslak wrote: > >>> Vince wrote: > >>>> Jeremy Chadwick wrote: > >>>> Regarding the USB serial adapter, I was supplied it though work a wh= ile > >>>> back. I believe from my rather fuzzy memory we got it though these g= uys > >>>> http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html > >>>> Although I wouldn't swear to it. I'll have an ask if anyone remember= s on > >>>> monday. > >>> Can you post a fragment of dmesg output? I am interested whether you > >>> attach it to the ohci or uhci controller. > >>> > >>> --Marcin > >>> > >> Sure, > >> Please not this is now a different usb adapter as I left mine at home = :( > >> but I just tested and it exhibits the same behavior, (only difference I > >> can see is this says its FIDI while my one says its FTDI, possibly a t= ypo?) > >> > >> {root@prawn}#dmesg | grep uhub > >> uhub0: on usb0 > >> uhub0: 2 ports with 2 removable, self powered > >> uhub1: on usb1 > >> uhub1: 2 ports with 2 removable, self powered > >> uhub2: on usb2 > >> uhub2: 2 ports with 2 removable, self powered > >> uhub3: on usb3 > >> uhub3: 2 ports with 2 removable, self powered > >> uhub4: on usb4 > >> uhub4: 8 ports with 8 removable, self powered > >> umass0: >> 2.00/0.01, addr 2> on uhub4 > >> ums0: > >> on uhub2 > >> ucom0: on > >> uhub2 > >> > >> And for what its worth: > >> {root@prawn}#more /var/crash/info.14 > >> Dump header from device /dev/ad0s3b > >> Architecture: i386 > >> Architecture Version: 2 > >> Dump Length: 154411008B (147 MB) > >> Blocksize: 512 > >> Dumptime: Mon Mar 31 09:25:54 2008 > >> Hostname: prawn.unsane.co.uk > >> Magic: FreeBSD Kernel Dump > >> Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008 > >> toor@prawn.unsane.co.uk:/usr/local/obj/usr/src/sys/PRAWN7ULE > >> Panic String: page fault > >> Dump Parity: 1302845723 > >> Bounds: 14 > >> Dump Status: good > >> > >> Happy to provide more information but I'm not a programmer so you'll > >> probably have to ask me slowly and in words of one syllable ;) > >=20 > > I need two things: > > 1. The revision of the sys/kern/kern_conf.c file; in particular, > > I need to know whether you have rev. 1.208.2.1 or 1.208.2.2. > > 2. Regardless of the outcome of the question 1, please show the output > > of the "bt full" from the kgdb loaded with your kernel and crash > > dump. See > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ke= rneldebug.html > > for details on how to obtain useful information from the crash dump. >=20 > 1) > {root@prawn}#grep kern_conf.c sys/kern/kern_conf.c > __FBSDID("$FreeBSD: src/sys/kern/kern_conf.c,v 1.208.2.2 2008/03/24 > 13:09:55 kib Exp $"); >=20 > 2) > [/usr/obj/usr/src/sys/PRAWN7ULE](11:07:33) > {root@prawn}#kgdb kernel.debug /var/crash/vmcore.14 > [GDB will not be able to debug user-mode threads: > /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you = are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for detail= s. > This GDB was configured as "i386-marcel-freebsd". > There is no member named pathname. > (kgdb) bt full > #0 doadump () at pcpu.h:195 > No locals. > #1 0xc05ae391 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c= :409 > _giantcnt =3D Variable "_giantcnt" is not available. > (kgdb) >=20 >=20 > This isnt what I was expecting from the article referenced. Would it be > helpful me to update to the latest stable then reproduce (assuming i > still can.) Compile the ddb into the kernel (instructions are provided at the same web page) and post the output of the console on the panic. --HuscSE0D68UGttcd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkfwyDoACgkQC3+MBN1Mb4h+fwCgvb/jQ53V4u8VbHjraS3aQ8kj OAwAoNRNpHDLT68tkCPn10nq/LsUCDqW =jOwG -----END PGP SIGNATURE----- --HuscSE0D68UGttcd--