Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: unable to cross-compile kernel?



> Both the distribution GENERIC.MP kernel and my cross-compiled one
> boot and run fine, as long as they are called "netbsd".  Booting them
> explicitly with a different filenames results in a bit of disk
> activity and then "error 5".

!!  That's a pretty major regression in my opinion; I've never yet
myself run into a NetBSD version which doesn't support booting kernels
under more-or-less arbitrary names.

Thought: could this be related to some code I saw mentioned for
treating directories (containing kernel and modules and maybe other
stuff) as if they were kernels?  I've already run into one situation
where booting success depends on...something like that.  (Specifically,
when PXE booting i386 and/or amd64, I find that it fails with "boot -s"
but works fine with "boot netbsd -s".  Still haven't tracked it down.
May well be related to one of my 5.2 patches.)

> Another thing that bothers me just a bit is that the kernels are of
> different sizes:

> $ ls -l netbsd-*
> -rwxr-xr-x 1 mcguire other 5579496 Jul  4 12:08 netbsd-GENERIC.MP-xbuild
> -rwxr-xr-x 1 mcguire other 5555948 Jul  4 19:33 netbsd-GENERIC.MP
> $

It might be interesting to objdump them with the option to disassemble
instructions (-d, I think?) and then diff the results.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index