From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 25 11:03:57 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3A6D16A474 for ; Sun, 25 Feb 2007 11:03:57 +0000 (UTC) (envelope-from Danovitsch@vitsch.net) Received: from amsfep17-int.chello.nl (amsfep17-int.chello.nl [62.179.120.12]) by mx1.freebsd.org (Postfix) with ESMTP id E47EB13C4D5 for ; Sun, 25 Feb 2007 11:03:54 +0000 (UTC) (envelope-from Danovitsch@vitsch.net) Received: from Tuinhuisje.Vitsch.net ([62.195.87.223]) by amsfep16-int.chello.nl (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20070225104628.FCIS27463.amsfep16-int.chello.nl@Tuinhuisje.Vitsch.net>; Sun, 25 Feb 2007 11:46:28 +0100 Received: from self (f187184.upc-f.chello.nl [80.56.187.184]) (authenticated bits=0) by Tuinhuisje.Vitsch.net (8.13.1/8.13.1) with ESMTP id l1PAkBm4008511; Sun, 25 Feb 2007 11:46:17 +0100 (CET) (envelope-from Danovitsch@vitsch.net) From: "Daan Vreeken [PA4DAN]" Organization: Vitsch Electronics To: "Kip Macy" Date: Sun, 25 Feb 2007 11:46:07 +0100 User-Agent: KMail/1.9.1 References: <6B2A41DC-79FA-42A1-B1BC-BB9F0A74B765@netmusician.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702251146.08150.Danovitsch@vitsch.net> Cc: freebsd-hackers@freebsd.org, Joe Auty , freebsd-questions@freebsd.org Subject: Re: kernel panic at boot on any 6.x OS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 11:03:58 -0000 On Sunday 25 February 2007 08:59, Kip Macy wrote: > It looks as if you've hit a device driver that is trying to print out > a null string. The message you've given doesn't provide any more > information than that. If you install a snapshot kernel it will > probably have ddb compiled in which will allow you to at least get a > backtrace. I'm sorry you're having trouble. Grepping the source tree on 6.2-RELEASE shows this message can only have com from one place : sys/kern/kern_conf.c in the function prep_cdevsw() : if (devsw->d_version != D_VERSION_01) { printf( "WARNING: Device driver \"%s\" has wrong version %s\n", devsw->d_name == NULL ? "???" : devsw->d_name, "and is disabled. Recompile KLD module."); Looks like the kernel and the modules are out of sync. > On 2/24/07, Joe Auty wrote: > > Hello, > > > > (sorry, don't know whether kernel problems should go to questions or > > hackers, or both).. > > > > This has been a long-standing problem of mine, but I always ignored > > it hoping it would go away on its own with a future 6.x release, but > > it remains... > > > > No matter whether I boot into safe mode or regular mode, with all > > kernel extensions disabled in /boot/loader.conf, I get the following > > panic late at boot of a fresh RELENG_6_2 kernel (with only a few > > services left to bring up). The 6.x kernels I've tried all build and > > installed cleanly without any errors... > > > > > WARNING: Device driver " > > > > > > Fatal trap 12: page fault while in kernel mode > > > fault virtual address = 0x400000 > > > fault code = supervisor read, page not present > > > instruction pointer = 0x20:0xc06d4614 > > > stack pointer = 0x28:0xf015491c > > > frame pointer = 0x28:0xf015491c > > > code segment = base 0x0, limit 0xffffff, type 0x1b > > > = DPL 0, pres 1, def32 1, gran 1 > > > processor eflags = interupt enabled, resume, IOPL = 0 > > > current process = 898 (kldload) > > > trap number = 12 > > > panic: page fault > > > uptime: 36s > > > cannot dump. No dump device defined > > > automatic reboot in 15 seconds > > > > This problem does not occur within any 5.x OS for me. I would > > certainly like to resolve this issue now, but this sort of debugging > > is over my head beyond running fsck (which I've tried). Any ideas here? > > > > Thanks in advance for your help! > > > > > > > > > > > > ----------- > > Joe Auty > > NetMusician: web publishing software for musicians > > http://www.netmusician.org > > joe@netmusician.org > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Daan