From owner-freebsd-hackers Mon Jul 6 10:58:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20077 for freebsd-hackers-outgoing; Mon, 6 Jul 1998 10:58:02 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gatewaya.anheuser-busch.com (gatewaya.anheuser-busch.com [151.145.250.252]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA19966; Mon, 6 Jul 1998 10:57:53 -0700 (PDT) (envelope-from Matthew.Alton@anheuser-busch.com) Received: by gatewaya.anheuser-busch.com; id MAA10576; Mon, 6 Jul 1998 12:55:38 -0500 Received: from stlabcexg004.anheuser-busch.com(unknown 151.145.101.160) by gatewaya via smap (V2.1) id xma010567; Mon, 6 Jul 98 12:55:31 -0500 Received: by stlabcexg004.anheuser-busch.com with Internet Mail Service (5.5.1960.3) id <3CR6WWH3>; Mon, 6 Jul 1998 18:58:32 +0100 Message-ID: <31B3F0BF1C40D11192A700805FD48BF901776600@STLABCEXG011> From: "Alton, Matthew" To: "'Erick Engelke'" Cc: "'hackers@freebsd.org'" , "'freebsd-fs@freebsd.org'" , "Smallie, Scott" Subject: RE: lfs Date: Mon, 6 Jul 1998 18:58:50 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Erick Engelke [SMTP:erick@dark.uwaterloo.ca] > Sent: Friday, July 03, 1998 4:54 PM > To: Alton, Matthew > Subject: RE: lfs > > > > On Tue, 30 Jun 1998, Alton, Matthew wrote: > > > Like others in the past, I'm interested in seeing LFS completed. > > > I've been mucking around with this for awhile. We should cooperate. > > Sure, but this will be a bit embarrassing for the first message or > two. > > The first steps I've taken were obvious... even for me as a FreeBSD > kernal > new guy (all my other kernel work has been various RTOS, Microsoft and > OS/2)... compile this as a LKM and try her out. > > I see that a newlfs'd partition shows up nicely with the ifile log > file > and lost+found. But as soon as sync happens, whether timed or due to > a > umount or file i/o, we have a panic. [Alton, Matthew] Are you getting a core dump for kgdb? I don't have a scratch box running this code right now. I've got a nasty old 486/33 almost up for testing purposes but its imbecilic BIOS won't boot with an NE2000 clone in the bus. > > Since successive boots don't notice the updates, I'm assuming the log > is > never being updated. Possibly the kernel pages are not mapped to > backing > store... as a first guess. I'll try lfsdump to investigate. > > I've started adding debugging code to figure out how far we get. > Hmmm, where do printfs send their output... nowhere I happen to be > looking? [Alton, Matthew] I thought they went to /dev/console but the relevant descriptors may be closed when lfs is using them. Can anybody provide the correct poop on kernel-mode debug output to /dev/console before I go and spontaneously reinvent the wheel? > Also, how do I make this pop into the kernel debugger? [Alton, Matthew] See http://www.freebsd.org/handbook/handbook297.html#627 > Sorry for the startup questions. [Alton, Matthew] Don't apologise, for crying out loud. I've been starting up for 17 years ;-) > Erick > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message