Date: Thu, 09 May 2002 13:04:22 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: Josef Karthauser <joe@tao.org.uk> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/usb usb_port.h Message-ID: <XFMail.20020509130422.jhb@FreeBSD.org> In-Reply-To: <20020509155333.GA442@genius.tao.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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'). s -- John Baldwin <jhb@FreeBSD.org> <>< 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020509130422.jhb>