Subject: Re: newfs trouble
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Roy Bixler <rcbixler@nyx.net>
List: netbsd-users
Date: 11/07/2005 17:17:19
On Mon, Nov 07, 2005 at 05:30:41PM +0100, Manuel Bouyer wrote:
> On Sun, Nov 06, 2005 at 05:52:51PM -0700, Roy Bixler wrote:
> > > Did the kernel print some error message in dmesg or /var/log/messages ?
> > 
> > I just tried again and found that there are no "dmesg" messages when
> > doing a failed "newfs" command.  To further rule out hardware
> > problems, I did "dd if=/dev/zero of=/dev/sd0b bs=8k" under NetBSD and
> > "e2fsck -cc /dev/sda2" under Linux.  Both were successful.
> 
> Could you try using the 2.1 kernel but the 2.0.2 newfs binary,

"newfs" still fails.

> and 2.1 newfs binary with 2.0.2 kernel ?
>
> As you seem to imply that this happens since your 2.1 upgrade,
> this would allow to check if it's kernel or userland related

As I suspected it might, this works.  After all, my trouble started
with unpacking some files, so I figured it must be a kernel issue.

> (the
> 2.0.2 kernel should run without much trouble a 2.1 userland, as I don't
> think there was major interface changes in syscalls between 2.0 and 2.1)

I hope you're right.  I intend to try that.

Thanks!

-- 
Roy Bixler <rcbixler@nyx.net>
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman