Quoting Matthew French <mfrench42 at yahoo.co.uk>:
> I am trying to recompile the kernel for my SuSe 7.3 box. I can get the
> compile to work fine and the new kernel will boot. However, it hangs right
> after mounting the root disk. There are no error messages.
>> I suspect it is a problem with the 'init' process? If I specify the wrong
> root drive, the kernel will panic as expected. I can create an 'initrd' as
> well, but this does not solve the problem.
>> The standard SuSe 2.4.14 kernels boot without problems. I am trying to
> build
> a customised 2.4.18 kernel, although I have tried the default configuration
> as well.
>> I am not completely familiar with SuSe and it has options to install a 2.2
> kernel so I am worried that the version of init might be old. The version
> of
> gcc is also 2.92.3, and the kernel compile seems to use a special version
> of
> gcc.
IIRC, the kernel must always be sparc64 code (v9?), the apps always sparc32
(v8?). Hence two versions of gcc.
> One other complication is that I am building this on a sparc64 box while
> all
> the applications are sparc32. But this should not be a real issue as the
> SuSe kernels are also sparc64 and I have configured the ELF32
> 'compatibility
> layer' into my customised kernel.
But if init isn't ELF32.... crunch at the point you indicated. (anybody know
this one?)
Ok.... try leaving ELF32 compatibility *out* and SWH. Is the config used to
build the default kernel to be found anywhere?
Ronan
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!