[PATCH] speedy boot from usb devices
From: David N. Welton (davidw_at_dedasys.com)
Date: 07/30/04
- Previous message: Jesse Barnes: "Re: Exposing ROM's though sysfs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: linux-kernel@vger.kernel.org Date: 30 Jul 2004 23:25:05 +0200
[ Please CC replies to me - thanks! ]
Hi,
I gather that there isn't much interest in this idea on behalf of the
'mainstream', because initrd is a far more flexible solution, but I
happen to like the idea of booting quickly from a USB device, without
wasting a bunch of time and space for an initrd, and we're using this
in a product as well, so without further ado, I'll point you at
http://dedasys.com/freesoftware/patches/
where you can get blkdev_wakeup.patch
Works like so: whenever a block device comes on line, it
signals this fact to a wait queue, so that the init process
can stop and wait for slow devices, in particular things such
as USB storage devices, which are much slower than IDE
devices. The init process checks the list of available
devices and compares it with the desired root device, and if
there is a match, proceeds with the initialization process,
secure in the knowledge that the device in question has been
brought up. This is useful if one wants to boot quickly from
a USB storage device without a trimmed-down kernel, and
without going through the whole initrd slog.
Comments, critiques, suggestions and ideas are all welcome.
Thankyou for your time,
--
David N. Welton
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
Photos: http://www.dedasys.com/photos/
-
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/
- Previous message: Jesse Barnes: "Re: Exposing ROM's though sysfs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: [PATCH] [3/48] Suspend2 2.1.9.8 for 2.6.12: 301-proc-acpi-sleep-activate-hook.patch
... When the user has an initrd or initramfs, ... image, encryption keys and so
on have been set up, but the root fs has ... probably will result in hard disk corruption
if they echo to do_resume ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: Buggy DSDTs policy ?
... >> The problem is getting the fixed dsdt in use without recompiling ...
>> ones, use vendor kernels. ... The initrd approach seems nicer and more
customisable. ... 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/ ... (Linux-Kernel) - Re: zImage on 2.6?
... 724k as well and succeeds. ... My initrd is using ramdisk, ...
Lab tests show that use of micro$oft causes cancer in lab animals ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel) - Re: zImage on 2.6?
... | 724k as well and succeeds. ... My initrd is using ramdisk, ...
| tmpfs and is populated by .tgz files on other media (The boot time is ... 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/
... (Linux-Kernel) - Re: Booting from USB with initrd
... but it shouldn't matter much since I've not been able to load the initrd ...
to mount on root fs. ... send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel)