Subject: Re: Warning: no /dev/console (in 1.4.2...how to fix?)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: NetBSD Bob <nbsdbob@weedcon1.cropsci.ncsu.edu>
List: port-sun3
Date: 06/05/2000 09:34:18
> > > I am still having the ``warning: no /dev/console'' on NetBSD-1.4.2
> > > if I use the tapeboot of NetBSD (no problem using a SunOS boot tape
> > > to load the miniroot). I have to assume it is something to do with
> > > the NetBSD-1.4.2 (and the 1.4P snapshot) ramdisk kernels.
>
> > I don't know about fixes, but I do know that the problem is simply that
> > there's no "/dev/console" on your miniroot. If you're dd'ing the
>
> The 1.4.2 miniroot seems to contain /dev/console:
The miniroot does fine, IFF it can be loaded. I use a sunos boot tape
to load the miniroot. The ramdisk kernel on the NetBSD tape just hangs
at the warning: no /dev/console point.
> > root on md0a dumps on md0b
> > warning: no /dev/console
>
> In this point, the kernel says "root on md0a" so I think
> the problem is in-kernel ramdisk. But the netbsd-RAMDISK kernel
> also seems to contains /dev/console:
Exactly. The ramdisk kernel is where all the problems seem to lie.
1. the no dev console thing.
2. the non-working scsi spinups
> BTW, MakeBootTape script has the following lines:
>
> ---
> # Segment 2 is the Sun3 ramdisk kernel.
> gzip -d -c ../../binary/kernel/netbsd-rd.sun3.gz |
> dd of=$T obs=8k conv=sync
> ---
>
> But there is no netbsd-rd.sun3.gz kernel in 1.4.2 directory.
> There is a netbsd-RAMDISK.gz kernel and 1.4 has netbsd-rd.sun3.gz
> kernel, though. How do people make install boot tapes???
> (I have no experience of tapeboot...)
Hee, Hee......(:+}}... manually, the old fashioned way.....(:+}}...
What I do is have to manually ungzip things, and then rewrite
the makeboottape script to pick up the correct pieces. I have
had to do that on almost all of the scripts. Also, IFF the
things are ungzipped FIRST, then my old sunos crates can easily
stream the data out to tape, uninterrupted. IFF they have to
ungzip then write, they shoeshine considerably.
The best approach I have found is to
1. Ungzip all the files.
2. Rewrite the dd portions of the script.
3. Then cut the tape.
It works for me......
Bob