Subject: Re: 2.1 Kernels do not boot when booted with bootloaderotherthan netbsd
To: None <port-cobalt@NetBSD.org>
From: Izumi Tsutsui <email@example.com>
Date: 11/23/2005 07:28:28
In article <438395A6.firstname.lastname@example.org>
> My problem is that I can't build a kernel that would be loaded over the
> network with CoLo or builtin bootloader.
I think it's bootloader's problem, so there is nothing to do
on netbsd kernels.
> Somehow the kernels that work
> from hard disk do not work when loaded over the network. The difference
> is that from hard disk they are booted with ntbsd bootloader and from
> the network with colo or builtin bootloader.
I don't know about colo, but builtin bootloader can load
only small kernels:
so GENERIC won't boot with it though INSTALL kernel works for me.
> Kernel 1.6.1 that is on the restore cd can be booted with colo. Also all
> the GENERIC kernels I tryed including 3.0, 2.1, 1.6.2, booted with colo.
> Some to the root mounting others to some earlier point.
2.x and 3.x kernels have more sections than 1.6.x, so
it might cause problem, but I'm not sure.
# size -Ax /netbsd
section size addr
.text 0x153b10 0x80001000
.rodata 0x22f70 0x80154b10
link_set_pools 0xf8 0x80177a80
link_set_domains 0x10 0x80177b78
link_set_sysctl_funcs 0x84 0x80177b88
link_set_vfsops 0x14 0x80177c0c
link_set_malloc_types 0xf8 0x80177c20
link_set_dkwedge_methods 0x4 0x80177d18
link_set_bufq_strats 0xc 0x80177d1c
link_set_evcnts 0x3c 0x80177d28
link_set_vfs_hooks 0x4 0x80177d64
.reginfo 0x18 0x80177d68
.data 0x5ce0 0x80177d80
.sdata 0x10 0x8017da60
.bss 0xf068 0x8017da70
.pdr 0x1ef60 0x0
.mdebug.abi32 0x0 0x0
.comment 0x3408 0x0
.ident 0x467a 0x0