Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 09:28:42 +0200 (CEST)
From:      Harti Brandt <brandt@fokus.gmd.de>
To:        Brian Somers <brian@freebsd-services.com>
Cc:        Ian Dowse <iedowse@maths.tcd.ie>, <brian@FreeBSD.ORG>, <current@FreeBSD.ORG>
Subject:   Re: Revision 1.88 of kern_linker.c breaks module loading for diskless
Message-ID:  <20020426092705.X795-100000@beagle.fokus.gmd.de>
In-Reply-To: <200204260112.g3Q1CNxH066034@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Apr 2002, Brian Somers wrote:

BS>The intent is to discover whether there's a filesystem yet (vn_open()
BS>will die horribly otherwise).
BS>
BS>My use of rootdev is (obviously) flawed.  AFAICT, either rootvp
BS>or rootvnode should be used, but I can't tell the difference between
BS>the two at a glance and am lacking development resources right now
BS>(my development box seems to enjoy dropping cores too frequently to
BS>build a kernel at the moment).
BS>
BS>If somebody could test that rootvnode or rootvp are non-NULL after
BS>an NFS-mounted root is set up, I'd thankfully approve the quick
BS>fix... :*)

dlc1# gdb -k /boot/kernel/kernel /dev/mem
(no debugging symbols found)...
IdlePTD at phsyical address 0x00392000
initial pcb at physical address 0x082bdda0
panic messages:
---
---
#0  0xc017b968 in mi_switch ()
(kgdb) p rootdev
$1 = -1
(kgdb) p rootvnode
$2 = -843452416
(kgdb) p rootvp
$3 = -843452416
(kgdb)

They obviously point to the same thing and are non-NULL (root is NFS).

harti
-- 
harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private
              brandt@fokus.fhg.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020426092705.X795-100000>