[parisc-linux] Non-bootable kernel problems

Richard Hirst rhirst@linuxcare.com
Thu, 13 Jul 2000 00:35:33 +0100


Current cvs kernel source doesn't boot.  Looks like a linker problem
or bits of the kernel loaded in the wrong place to me...

I added the following to the end of net/ipv4/devinet.c:

void check_devinet(void)
{
        printk("**  devinet_sysctl.devinet_root_dir = %p\n", devinet_sysctl.devinet_root_dir);
        printk("**  devinet_sysctl.devinet_root_dir[0].procname = %p\n", devinet_sysctl.devinet_root_dir[0].procname);
        printk("**  devinet_sysctl.devinet_root_dir[0].procname = %s\n", devinet_sysctl.devinet_root_dir[0].procname);
}


and then added a call to check_devinet() to init/main.c() just after
printk(linux_banner).  It should report procname as "net" from the table
in net/ipv4/devinet.c, but:

Linux version 2.3.99-pre8 (rhirst@rhirst.linuxcare.com) (gcc version 2.96.0614) #660 Thu Jul 13 00:21:59 BST 2000
**  devinet_sysctl.devinet_root_dir = c0279814
**  devinet_sysctl.devinet_root_dir[0].procname = c0143228
**  devinet_sysctl.devinet_root_dir[0].procname = Multiply assigned logical unit
pagetable_init


Someone else can pick it up now while I sleep ;-)

Richard