PROBLEM: test7-pre3 INITRD and RAMDISK No handle found

From: Michael Peddemors (michael@wizard.ca)
Date: Mon Aug 14 2000 - 20:25:10 EST


I hacked a little to find out where this kernel was breaking, Trying to
confirm that one should be found at this point normally..
and in

<linuxsrc>/fs/super.c I get "No Handle found"
Confirmed support for initrd ramdisk and minix are in the kernel.

        handle = devfs_find_handle (NULL, ROOT_DEVICE_NAME,
                                    MAJOR (ROOT_DEV), MINOR (ROOT_DEV),
                                    DEVFS_SPECIAL_BLK, 1);
        if (handle) /* Sigh: bd*() functions only paper over the cracks */
        {
            unsigned major, minor;
            printk("Found a handle\n");
            devfs_get_maj_min (handle, &major, &minor);
            ROOT_DEV = MKDEV (major, minor);
        } else printk("No Handle found for MAJOR (ROOT_DEV) - MINOR, %d -
%d\n",MAJOR (ROOT_DEV), MINOR (ROOT_DEV));

It returns "No Handle found for MAJOR (ROOT_DEV) -MINOR, 1 -0"
Hmm.. checked a little farther and see that I get a retval of -6 from
blkdev_get(bdev, mode, 0, BDEV_FS) which relates to "No such device or
address"

And now I am stumped...
             
And using syslinux with the loader calls as root=/dev/ram0, load_ramdisk=1,
initrd_archive=minix, ramdisk_size=8192

Now this configuration works perfectly with my 2.2.14 kernels, just change
the kernel and it stops working. with the familiar 'VFS: Cannot open root
device "ram0" or 01:00'

Can't test the kernel without this support :>

-- 
--------------------------------------------------------
Michael Peddemors - Senior Consultant
Unix Administration - WebSite Hosting
Network Services - Programming
Wizard Internet Services http://www.wizard.ca
Linux Support Specialist - http://www.linuxmagic.com
--------------------------------------------------------
(604) 589-0037 Beautiful British Columbia, Canada
--------------------------------------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:35 EST