Subject: Re: i386 1.6.1 iso and post-installation problems
To: <>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 07/22/2003 08:41:32
On Tue, Jul 22, 2003 at 02:02:53AM -0500, Justin Honold wrote:
> my i386.iso (which verifies fine) from ftp.netbsd.org about a week ago 
> has an empty man.tgz and misc.tgz - no big deal.

sysinst has a habit of aborting when sets are missing, so doesn't
run MAKEDEV (and a couple of other, less important things).
(I think the user can continue, but it doesn't make that the default.)

> the big deal was that after my installation i got my screen spammed with 
>   errors from chown/chgrp not being found, followed by a drop to 
> single-user.  my fstab was set up correctly and mount -a worked without 
> a hitch.  i changed  rc_configured to YES and was able to boot (and 
> work) fine in multi-user.

The chown/chgrp errors comw from MAKEDEV - which (tries to) run these
commands which are in /usr.

> odd, i thought, perhaps because i tried to install misc?  i don't know. 
>   at any rate i got more curious and installed a /usr/bin/chgrp and a 
> /usr/sbin/chown on my / partition because the error was clearly occuring 
> before /usr had been mounted.  when i rebooted i was greeted with a 
> barrage of 'syntax error: expected ")"' messages instead of my normal 
> ones complaining about not finding chown/chgrp.

Sounds like the chown/chgrp you found aren't executable by that kernel.
(The shell will then try and treat them as scripts.)

> the system still works fine.  anybody have a clue on this one?  it 
> occurs just after init sets up the mfs /dev and i have nothing in my 
> dmesg about it.  the only reference i find to chown in /etc is in 
> rc.subr as a called subroutine.

Someone is going to have to fix MAKEDEV (or write devfs).

MAKEDEV needs to echo stuff into pax...

	David

-- 
David Laight: david@l8s.co.uk