From owner-cvs-all Thu May 9 18:53:45 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 2CE3137B400 for ; Thu, 9 May 2002 18:53:28 -0700 (PDT) Received: (qmail 3096 invoked from network); 10 May 2002 01:53:27 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 10 May 2002 01:53:27 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4A1rQF40302; Thu, 9 May 2002 21:53:26 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020509201833.GA403@genius.tao.org.uk> Date: Thu, 09 May 2002 21:53:23 -0400 (EDT) From: John Baldwin To: Josef Karthauser Subject: Re: cvs commit: src/sys/dev/usb usb_port.h Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 09-May-2002 Josef Karthauser wrote: > On Thu, May 09, 2002 at 01:04:22PM -0400, John Baldwin wrote: >> >> >> If you have kernel.debug lying around for this one, try using >> >> addr2line (or gdb) to get the file and line of those addresses >> >> in the backtrace. Probably just the first one is needed as this >> >> is a simple NULL pointer dereference. >> > >> > Ok. Here's a trace from a remote debug: >> > >> > Program received signal SIGSEGV, Segmentation fault. >> > sysctl_find_oidname (name=0xc02e50ce "ata_dma", list=0x0) >> > at /usr/src/sys/kern/kern_sysctl.c:79 >> > 79 SLIST_FOREACH(oidp, list, oid_link) { >> > (gdb) bt >> > #0 sysctl_find_oidname (name=0xc02e50ce "ata_dma", list=0x0) >> > at /usr/src/sys/kern/kern_sysctl.c:79 >> > #1 0xc01ef62c in sysctl_register_oid (oidp=0xc0333380) >> > at /usr/src/sys/kern/kern_sysctl.c:104 >> > #2 0xc01efb70 in sysctl_register_all (arg=0x0) >> > at /usr/src/sys/kern/kern_sysctl.c:402 >> > #3 0xc01cf7c5 in mi_startup () at /usr/src/sys/kern/init_main.c:208 >> > (gdb) >> > >> > Joe >> >> I don't see how this can happen. Can you try doing a make clean to delete >> all the .o's and rebuild the kernel from scratch? Also, can you run 'nm' >> on the resulting kernel to make sure there aren't any unresolved symbols? >> (unresolved symbols have a type of 'U'). > > Yes, you're right. I've done a nice clean kernel build and this problem > has gone away; coupled with the env fix I've now got a system that > boots. > > Sweet! Great, thanks for testing. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message