Booting -current on the z50

View: New views
4 Messages — Rating Filter:   Alert me  

Booting -current on the z50

by Thomas Miller-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi --

I'm hot to use -current to try the audio changes which Elijah
mentioned on this list recently. I installed . .
./NetBSD-daily/HEAD/200809250002Z/hpcmips/binary/sets/kern-GENERIC.tgz,
base.tgz, and etc.tgz to a compact flash card.  The install went
swimmingly. Using the hpcboot.exe which was supplied with the same
build, I can boot the install kernel, run sh and

# mount /dev/wd0a /mnt
# cd /mnt
# /usr/sbin/chroot /mnt

and then I can use the binaries on the cf card. But, when I set the
hpcboot parameters as / and netbsd instead of \Storage Card\ and
netbsd.gz, I get:

[. . .]
boot device: <unknown>
root device:

What's the incantation to get the boot to finish?

Thanks!

Tom

Re: Booting -current on the z50

by elijah rutschman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Sep 28, 2008 at 9:51 PM, Thomas Miller <tilakkhana@...> wrote:
[...]
What's the incantation to get the boot to finish?

Hi Tom,
You'll need to boot up with the install kernel again, then mount both the MSDOS and NetBSD root partitions on your CF Card.  Copy /netbsd to /mnt-msds/ (or wherever you mounted the MSDOS partition).  That way hpcboot will have direct access to the kernel and can load it into memory from within Windows CE, just like it did with the install kernel.  You'll only need to do this once, or again if you install a new kernel later.  Good luck with the audio stuff!

Cheers,
Elijah
http://elijahr.blogspot.com/

Re: Booting -current on the z50

by Thomas Miller-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 29, 2008 at 9:27 AM, elijah rutschman <elijahr@...> wrote:

> On Sun, Sep 28, 2008 at 9:51 PM, Thomas Miller <tilakkhana@...> wrote:
> [...]
>>
>> What's the incantation to get the boot to finish?
>
> Hi Tom,
> You'll need to boot up with the install kernel again, then mount both the
> MSDOS and NetBSD root partitions on your CF Card.  Copy /netbsd to
> /mnt-msds/ (or wherever you mounted the MSDOS partition).  That way hpcboot
> will have direct access to the kernel and can load it into memory from
> within Windows CE, just like it did with the install kernel.  You'll only
> need to do this once, or again if you install a new kernel later.  Good luck
> with the audio stuff!
>
> Cheers,
> Elijah
> http://elijahr.blogspot.com/
>

Hi Elijah!

I tried your suggestion of putting the -current kernel on the msdos
partition of the cf card and I got the same hang in the kernel boot
messages:

[. . .]
boot device: <unknown>
root device:

I think maybe the hang results from changes in the kernel, see
http://mail-index.netbsd.org/port-xen/2008/04/10/msg003557.html. also,
hpcboot seems to be able to find kernels on netbsd / just as well as
on the msdos partition of the cf card.

More ideas on how to get the boot to continue on a z50 with -current?

Thanks!

Tom

Re: Booting -current on the z50

by elijah rutschman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 29, 2008 at 5:19 PM, Thomas Miller <tilakkhana@...> wrote:
[..]
I tried your suggestion of putting the -current kernel on the msdos
partition of the cf card and I got the same hang in the kernel boot
messages:

[. . .]
boot device: <unknown>
root device:

I think maybe the hang results from changes in the kernel, see
http://mail-index.netbsd.org/port-xen/2008/04/10/msg003557.html. also,
hpcboot seems to be able to find kernels on netbsd / just as well as
on the msdos partition of the cf card.

More ideas on how to get the boot to continue on a z50 with -current?

If you can pass parameters to the kernel through the bootloader, try appending "root=wd0" or "root=/dev/wd0"  or "root=wd0a" or "bootdev=/dev/wd0a", etc. to the arguments, depending on where you installed NetBSD.  But, I'm just guessing wildly; I've never passed any parameters to the kernel through the bootloader, I just seem to remember hpcboot having that option somewhere in its tabs, and this may be the kind of thing they are discussing in that thread.

Good luck!
Elijah
http://elijahr.blogspot.com/