于 2013年06月29日 22:17, Aleksandar Kuktin 写道: >> On Sat, 29 Jun 2013 12:51:03 +0800 >> Chen Qi <[email protected]> wrote: >> >> Hi all, >> >> I've followed all instructions in the LFS stable 7.3 book, and made a >> USB containing my LFS system. >> >> As I don't know exactly which drivers and modules should be compiled >> into my LFS kernel to make it work on my DELL laptop, I made a >> 'allyesconfig' and compiled the kernel. >> >> I thought 'make allyesconfig' would make the kernel work. >> However, when it started up, the kernel was loaded but hung at 'TCP >> established hash table entries'. >> >> A previous message that might appear to be an error was 'ACPI png >> driver unregistered'. >> >> Can somebody give me a hand? >> >> Thanks in advance. >> >> //Chen Qi >> > I think that the best option would be to assume you will have to spend > a few days on this and then manually assemble the kernel options that > work on your system. > > One possible option to speed up this process is to first find which > options are necessary for booting the kernel (AKA the PCI driver, the > USB driver, at least one partition system and the filesystem) and then > make everything else a module. Assuming you have checked "automatic > module loading", when the system boots, you can use `lsmod' to find > which modules were loaded and, therefore, which things you need to > enable and which you don't have to. > > Hi Aleksandar,
Thank you for your suggestions. The problem is how to find out which options are necessary for booting the kernel? Are there some useful resources or documents out there? I made the whole LFS system on a USB and I met the following error when the kernel started up. ''' VFS: Cannot open root device "sdb1" or unknown-block(0,0) ''' Maybe you have read the email which I replied to the list. There's more information in the email regarding this problem. I have 'CONFIG_USB=y' in my config file, is it not enough for booting from a USB device? Best Regards, Chen Qi -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
