Re: Using USB floppy drive for root floppy

Pete Zaitcev (zaitcev@redhat.com)
Sun, 23 Dec 2001 03:34:17 -0500


>[...]
> Originally, I just downloaded the standard boot and root floppies. I booted
> and got the "Insert root floppy disk to be loaded into RAM disk and press
> ENTER" message. Upon inserting the root disk and pressing ENTER I get a
> message saying "Unable to mount root fs on 02:00".
>[...]
> To get around this problem I compiled my own kernel (2.4.12) with USB and
> SCSI floppy support. Upon booting that kernel, linux recognizes the USB
> floppy drive and apparently assigns it to sda. I then tried booting with
> root=/dev/fd0 which caused the "Unable to mount root fs on 02:00" again. I
> then tried root=/dev/sda which caused the kernel to panic with "Unable to
> mount root fs on 08:00".

There must be a delay before an attempt to mount is made.
Insert schedule_timeout(5*HZ) there (mdelay won't work because
it locks out khubd).

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