+ -
当前位置:首页 → 问答吧 → LFS启动错误

LFS启动错误

时间:2009-10-06

来源:互联网

各位成功人士,有没有谁在启动LFS(6.4)的时候,出现:
Root-NFS:no NFS server available,giving up
VFS:unable to mount root fs via NFS,trying floppy
VFS:cannot open rootdevice "sda7" or unknown-block(2,0)
please append a correct "root=" boot option;.....
kernel panic -not syncing:VFS:unable to mount root fs on unknown -block (2,0)
前面的工作早就做好了,就是到了这里怎么也不行了。
在配置kernel(2.6.27.4)的时候,大家是怎么配置的,安装手册上对这个只字未提。
还有就是在安装完kernel后,要运行grub,在lfs中无论 root(hd0,0)-(hd0,8),都是该设备不存在(the device does not exist),怎么办呀

作者: yzj19870824   发布时间: 2009-10-06

有没有把dev等系统分区mount上?

作者: hpo3   发布时间: 2009-10-07

按照安装手册上说的,最后不是要把这些虚拟文件系统umount掉吗

作者: yzj19870824   发布时间: 2009-10-07

我在这里回复吧,看到楼主回了很多帖子,虽然是挖坟,但是提问的精神还是值得提倡的。

1.关于虚拟文件系统 mount 的问题
因为grub需要访问硬件才能获得分区数据,并且需要访问硬件才能写入引导数据,而你的操作系统是通过 /dev 来访问硬件的,所以必须把宿主系统的 /dev mount到子系统LFS的/dev下,这样grub才能访问硬件。在安装完grub,重设root密码后再 umount /dev 等目录。

2.不能mount / 分区的问题
访问分区首先要支持该硬盘的接口,其次要支持该文件格式。这两个东西每个人电脑上都不同,如果不把你自己的硬件信息发出来,我们也没办法帮你解决内核配置这个问题。因此我建议你在宿主系统运行 dmesg,之后把信息发出来,或者在windows里面运行everest软件,得到一个详细的硬件资料。一般配置内核都是要得到详细的硬件资料才能配置内核的,因为表面上同样500G硬盘,2G 的CPU,在具体信息上会有很大不同,内核配置也会截然不同。
在你前面回复的两个帖子里面,贴出了你的一些内核配置,但是不清楚你的内核配置是不是适合硬件,所以也就没有人能给你答案。

可能你刚开始接触linux,碰到问题把具体的信息弄出来别人才能给你答案,因为同样的问题,原因可能会有很大差别。

作者: hpo3   发布时间: 2009-10-08

附件中有我的硬件配置,谢谢楼上的耐心解答。
上传的附件
硬件配置.bz2 (7.5 KB, 4 次查看)

作者: yzj19870824   发布时间: 2009-10-08

我的硬件配置如下:
# dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.24-24-generic (buildd@palmer) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)) #1 SMP Sat Aug 22 01:06:14 UTC 2009 (Ubuntu 2.6.24-24.60-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
[ 0.000000] BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[ 0.000000] 127MB HIGHMEM available.
[ 0.000000] 896MB LOWMEM available.
[ 0.000000] found SMP MP-table at 000f5950
[ 0.000000] Entering add_active_range(0, 0, 262128) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 229376
[ 0.000000] HighMem 229376 -> 262128
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 262128
[ 0.000000] On node 0 totalpages: 262128
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 1760 pages used for memmap
[ 0.000000] Normal zone: 223520 pages, LIFO batch:31
[ 0.000000] HighMem zone: 255 pages used for memmap
[ 0.000000] HighMem zone: 32497 pages, LIFO batch:7
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] DMI 2.2 present.
[ 0.000000] ACPI: RSDP signature @ 0xC00F72B0 checksum 0
[ 0.000000] ACPI: RSDP 000F72B0, 0014 (r0 AWARD )
[ 0.000000] ACPI: RSDT 3FFF3000, 002C (r1 AWARD AWRDACPI 42302E31 AWRD 0)
[ 0.000000] ACPI: FACP 3FFF3040, 0074 (r1 AWARD AWRDACPI 42302E31 AWRD 0)
[ 0.000000] ACPI: DSDT 3FFF30C0, 3B8D (r1 AWARD AWRDACPI 1000 MSFT 100000E)
[ 0.000000] ACPI: FACS 3FFF0000, 0040
[ 0.000000] ACPI: APIC 3FFF6C80, 0068 (r1 AWARD AWRDACPI 42302E31 AWRD 0)
[ 0.000000] ACPI: PM-Timer IO Port: 0x1008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 15:2 APIC version 20
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 dfl dfl)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
[ 0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260081
[ 0.000000] Kernel command line: root=UUID=b1dd8e67-1fa9-4772-ac5e-cb0c73d5659d ro quiet splash
[ 0.000000] mapped APIC to ffffb000 (fee00000)
[ 0.000000] mapped IOAPIC to ffffa000 (fec00000)
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[ 0.000000] Detected 2806.508 MHz processor.
[ 14.349692] Console: colour VGA+ 80x25
[ 14.349696] console [tty0] enabled
[ 14.350226] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 14.350761] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 14.381236] Memory: 1027352k/1048512k available (2181k kernel code, 20464k reserved, 1006k data, 368k init, 131008k highmem)
[ 14.381246] virtual kernel memory layout:
[ 14.381247] fixmap : 0xfff4b000 - 0xfffff000 ( 720 kB)
[ 14.381248] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 14.381249] vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
[ 14.381250] lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
[ 14.381251] .init : 0xc0423000 - 0xc047f000 ( 368 kB)
[ 14.381252] .data : 0xc0321578 - 0xc041cdc4 (1006 kB)
[ 14.381253] .text : 0xc0100000 - 0xc0321578 (2181 kB)
[ 14.381256] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[ 14.381310] SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
[ 14.461145] Calibrating delay using timer specific routine.. 5617.27 BogoMIPS (lpj=11234544)
[ 14.461180] Security Framework initialized
[ 14.461191] SELinux: Disabled at boot.
[ 14.461209] AppArmor: AppArmor initialized
[ 14.461214] Failure registering capabilities with primary security module.
[ 14.461224] Mount-cache hash table entries: 512
[ 14.461394] Initializing cgroup subsys ns
[ 14.461400] Initializing cgroup subsys cpuacct
[ 14.461415] CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 00000000
[ 14.461428] CPU: Trace cache: 12K uops, L1 D cache: 8K
[ 14.461431] CPU: L2 cache: 512K
[ 14.461433] CPU: Hyper-Threading is disabled
[ 14.461437] CPU: After all inits, caps: bfebfbff 00000000 00000000 00043080 00004400 00000000 00000000 00000000
[ 14.461450] Compat vDSO mapped to ffffe000.
[ 14.461467] Checking 'hlt' instruction... OK.
[ 14.477549] SMP alternatives: switching to UP code
[ 14.479199] Freeing SMP alternatives: 11k freed
[ 14.479341] Early unpacking initramfs... done
[ 14.784345] ACPI: Core revision 20070126
[ 14.784422] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 14.787697] CPU0: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
[ 14.787733] Total of 1 processors activated (5617.27 BogoMIPS).
[ 14.787840] ENABLING IO-APIC IRQs
[ 14.788017] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 14.932091] Brought up 1 CPUs
[ 14.932113] CPU0 attaching sched-domain:
[ 14.932116] domain 0: span 01
[ 14.932118] groups: 01
[ 14.932324] net_namespace: 64 bytes
[ 14.932332] Booting paravirtualized kernel on bare hardware
[ 14.932875] Time: 11:34:06 Date: 10/09/09
[ 14.932905] NET: Registered protocol family 16
[ 14.933133] EISA bus registered
[ 14.933159] ACPI: bus type pci registered
[ 14.971822] PCI: PCI BIOS revision 2.10 entry at 0xfb520, last bus=1
[ 14.971825] PCI: Using configuration type 1
[ 14.971830] Setting up standard PCI resources
[ 14.983142] ACPI: EC: Look up EC in DSDT
[ 14.986679] ACPI: Interpreter enabled
[ 14.986682] ACPI: (supports S0 S1 S4 S5)
[ 14.986697] ACPI: Using IOAPIC for interrupt routing
[ 14.991417] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 14.992349] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 15.007661] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 *10 11 14 15)
[ 15.007760] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 14 15) *0, disabled.
[ 15.007869] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 14 15)
[ 15.007968] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11 14 15) *0, disabled.
[ 15.008068] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 *10 11 14 15)
[ 15.008169] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11 14 15)
[ 15.008268] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 *9 10 11 14 15)
[ 15.008365] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 6 7 9 10 11 14 15)
[ 15.008495] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 15.008531] pnp: PnP ACPI init
[ 15.008541] ACPI: bus type pnp registered
[ 15.011425] pnp: PnP ACPI: found 13 devices
[ 15.011428] ACPI: ACPI bus type pnp unregistered
[ 15.011433] PnPBIOS: Disabled by ACPI PNP
[ 15.011707] PCI: Using ACPI for IRQ routing
[ 15.011710] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 15.047808] NET: Registered protocol family 8
[ 15.047810] NET: Registered protocol family 20
[ 15.047892] AppArmor: AppArmor Filesystem Enabled
[ 15.051756] Time: tsc clocksource has been installed.
[ 15.059784] system 00:00: iomem range 0xd0000-0xd3fff has been reserved
[ 15.059788] system 00:00: iomem range 0xda800-0xdbfff has been reserved
[ 15.059790] system 00:00: iomem range 0xf0000-0xfbfff could not be reserved
[ 15.059793] system 00:00: iomem range 0xfc000-0xfffff could not be reserved
[ 15.059795] system 00:00: iomem range 0x3fff0000-0x3fffffff could not be reserved
[ 15.059798] system 00:00: iomem range 0xffff0000-0xffffffff could not be reserved
[ 15.059801] system 00:00: iomem range 0x0-0x9ffff could not be reserved
[ 15.059805] system 00:00: iomem range 0x100000-0x3ffeffff could not be reserved
[ 15.059808] system 00:00: iomem range 0xffee0000-0xffefffff could not be reserved
[ 15.059811] system 00:00: iomem range 0xfffe0000-0xfffeffff could not be reserved
[ 15.059813] system 00:00: iomem range 0xfec00000-0xfecfffff could not be reserved
[ 15.059816] system 00:00: iomem range 0xfee00000-0xfeefffff could not be reserved
[ 15.059824] system 00:02: ioport range 0x4d0-0x4d1 has been reserved
[ 15.059826] system 00:02: ioport range 0x800-0x805 has been reserved
[ 15.059828] system 00:02: ioport range 0x290-0x297 has been reserved
[ 15.090233] PCI: Bridge: 0000:00:01.0
[ 15.090235] IO window: disabled.
[ 15.090242] MEM window: e0000000-e1ffffff
[ 15.090247] PREFETCH window: d8000000-dfffffff
[ 15.090271] NET: Registered protocol family 2
[ 15.127667] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 15.128009] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 15.128858] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 15.129433] TCP: Hash tables configured (established 131072 bind 65536)
[ 15.129438] TCP reno registered
[ 15.139744] checking if image is initramfs... it is
[ 15.590488] Switched to high resolution mode on CPU 0
[ 15.731109] Freeing initrd memory: 7320k freed
[ 15.731745] audit: initializing netlink socket (disabled)
[ 15.731762] audit(1255088046.248:1): initialized
[ 15.731970] highmem bounce pool size: 64 pages
[ 15.734013] VFS: Disk quotas dquot_6.5.1
[ 15.734115] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 15.734266] io scheduler noop registered
[ 15.734268] io scheduler anticipatory registered
[ 15.734270] io scheduler deadline registered
[ 15.734284] io scheduler cfq registered (default)
[ 15.817919] Boot video device is 0000:01:00.0
[ 15.818219] isapnp: Scanning for PnP cards...
[ 16.171247] isapnp: No Plug & Play device found
[ 16.202973] Real Time Clock Driver v1.12ac
[ 16.203084] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 16.203210] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 16.203365] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 16.204106] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 16.204485] 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 16.205406] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 16.205482] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 16.205601] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 16.205894] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 16.205900] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 16.213096] mice: PS/2 mouse device common for all mice
[ 16.213225] EISA: Probing bus 0 at eisa.0
[ 16.213234] Cannot allocate resource for EISA slot 1
[ 16.213243] Cannot allocate resource for EISA slot 4
[ 16.213258] EISA: Detected 0 cards.
[ 16.213261] cpuidle: using governor ladder
[ 16.213264] cpuidle: using governor menu
[ 16.213367] NET: Registered protocol family 1
[ 16.213400] Using IPI No-Shortcut mode
[ 16.213437] registered taskstats version 1
[ 16.213528] Magic number: 13:893:579
[ 16.213667] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 16.213669] EDD information not available.
[ 16.214007] Freeing unused kernel memory: 368k freed
[ 16.214030] Write protecting the kernel read-only data: 802k
[ 16.252875] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 17.466251] fuse init (API version 7.9)
[ 17.482751] ACPI: Fan [FAN] (on)
[ 17.490195] ACPI Exception (processor_core-0824): AE_NOT_FOUND, Processor Device is not present [20070126]
[ 17.491812] ACPI: Thermal Zone [THRM] (40 C)
[ 18.008949] SCSI subsystem initialized
[ 18.080411] libata version 3.00 loaded.
[ 18.084505] usbcore: registered new interface driver usbfs
[ 18.084536] usbcore: registered new interface driver hub
[ 18.104387] usbcore: registered new device driver usb
[ 18.109535] via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
[ 18.109543] via-rhine: Broken BIOS detected, avoid_D3 enabled.
[ 18.109611] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 16
[ 18.117060] eth0: VIA Rhine III at 0xe3003000, 00:13:46:90:51:28, IRQ 16.
[ 18.117769] eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
[ 18.119763] ACPI: PCI Interrupt 0000:00:02.5[A] -> GSI 16 (level, low) -> IRQ 17
[ 18.119823] ACPI: PCI interrupt for device 0000:00:02.5 disabled
[ 18.132400] pata_sis 0000:00:02.5: version 0.5.2
[ 18.132440] ACPI: PCI Interrupt 0000:00:02.5[A] -> GSI 16 (level, low) -> IRQ 17
[ 18.139728] scsi0 : pata_sis
[ 18.148263] 8139too Fast Ethernet driver 0.9.28
[ 18.153255] scsi1 : pata_sis
[ 18.153883] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x4000 irq 14
[ 18.153886] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x4008 irq 15
[ 18.165305] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 18.220137] Floppy drive(s): fd0 is 1.44M
[ 18.243744] FDC 0 is a post-1991 82077
[ 18.380021] ata1.00: HPA unlocked: 156299375 -> 156301488, native 156301488
[ 18.380029] ata1.00: ATA-6: ST380011A, 3.06, max UDMA/100
[ 18.380032] ata1.00: 156301488 sectors, multi 16: LBA48
[ 18.396202] ata1.00: configured for UDMA/100
[ 18.715222] ata2.00: ATAPI: CD-ROM CCD-7T48, 66S7, max UDMA/33
[ 18.878809] ata2.00: configured for UDMA/33
[ 18.878958] scsi 0:0:0:0: Direct-Access ATA ST380011A 3.06 PQ: 0 ANSI: 5
[ 18.879616] scsi 1:0:0:0: CD-ROM CD-ROM CCD-7T48 66S7 PQ: 0 ANSI: 5
[ 18.879848] ACPI: PCI Interrupt 0000:00:0e.0[A] -> GSI 18 (level, low) -> IRQ 16
[ 18.880493] eth1: RealTek RTL8139 at 0xec00, 00:11:5b:42:cc:bd, IRQ 16
[ 18.880496] eth1: Identified 8139 chip type 'RTL-8100B/8139D'
[ 18.882635] ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 18
[ 18.882651] ohci_hcd 0000:00:03.0: OHCI Host Controller
[ 18.883043] ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1
[ 18.883066] ohci_hcd 0000:00:03.0: irq 18, io mem 0xe3004000
[ 18.885041] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 18.894311] Driver 'sd' needs updating - please use bus_type methods
[ 18.894441] sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
[ 18.894457] sd 0:0:0:0: [sda] Write Protect is off
[ 18.894460] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 18.894481] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 18.894539] sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
[ 18.894551] sd 0:0:0:0: [sda] Write Protect is off
[ 18.894554] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 18.894574] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 18.894577] sda:<4>Driver 'sr' needs updating - please use bus_type methods
[ 18.913178] sda1 sda2 < sda5 sda6<6>usb usb1: configuration #1 chosen from 1 choice
[ 18.940455] hub 1-0:1.0: USB hub found
[ 18.940466] hub 1-0:1.0: 3 ports detected
[ 18.949456] sda7 sda8 sda9 >
[ 18.972604] sd 0:0:0:0: [sda] Attached SCSI disk
[ 18.980200] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 18.980223] sr 1:0:0:0: Attached scsi generic sg1 type 5
[ 18.982269] sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
[ 18.982276] Uniform CD-ROM driver Revision: 3.20
[ 18.982349] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 19.042204] ACPI: PCI Interrupt 0000:00:03.1[b] -> GSI 21 (level, low) -> IRQ 19
[ 19.042223] ohci_hcd 0000:00:03.1: OHCI Host Controller
[ 19.042250] ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 2
[ 19.042270] ohci_hcd 0000:00:03.1: irq 19, io mem 0xe3000000
[ 19.100037] usb usb2: configuration #1 chosen from 1 choice
[ 19.100068] hub 2-0:1.0: USB hub found
[ 19.100078] hub 2-0:1.0: 3 ports detected
[ 19.201797] ACPI: PCI Interrupt 0000:00:03.2[C] -> GSI 22 (level, low) -> IRQ 20
[ 19.201817] ohci_hcd 0000:00:03.2: OHCI Host Controller
[ 19.201845] ohci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 3
[ 19.201863] ohci_hcd 0000:00:03.2: irq 20, io mem 0xe3001000
[ 19.259796] usb usb3: configuration #1 chosen from 1 choice
[ 19.259827] hub 3-0:1.0: USB hub found
[ 19.259837] hub 3-0:1.0: 2 ports detected
[ 19.361779] ACPI: PCI Interrupt 0000:00:03.3[D] -> GSI 23 (level, low) -> IRQ 21
[ 19.361799] ehci_hcd 0000:00:03.3: EHCI Host Controller
[ 19.361835] ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 4
[ 19.361872] PCI: cache line size of 128 is not supported by device 0000:00:03.3
[ 19.361882] ehci_hcd 0000:00:03.3: irq 21, io mem 0xe3002000
[ 19.373273] ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 19.373419] usb usb4: configuration #1 chosen from 1 choice
[ 19.373448] hub 4-0:1.0: USB hub found
[ 19.373456] hub 4-0:1.0: 8 ports detected
[ 19.537994] Attempting manual resume
[ 19.537999] swsusp: Resume From Partition 8:8
[ 19.538001] PM: Checking swsusp image.
[ 19.538221] PM: Resume from disk failed.
[ 19.566038] kjournald starting. Commit interval 5 seconds
[ 19.566059] EXT3-fs: mounted filesystem with ordered data mode.
[ 29.883663] Linux agpgart interface v0.102
[ 30.011450] input: PC Speaker as /devices/platform/pcspkr/input/input2
[ 30.051533] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 30.083239] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 30.139346] agpgart: Detected SiS chipset - id:1608
[ 30.149141] agpgart: AGP aperture is 128M @ 0xd0000000
[ 30.278846] input: Power Button (FF) as /devices/virtual/input/input3
[ 30.297049] ACPI: Power Button (FF) [PWRF]
[ 30.297143] input: Power Button (CM) as /devices/virtual/input/input4
[ 30.306627] ACPI: Power Button (CM) [PWRB]
[ 30.306727] input: Sleep Button (CM) as /devices/virtual/input/input5
[ 30.322561] ACPI: Sleep Button (CM) [FUTS]
[ 31.208082] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input6
[ 31.330295] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 31.811716] parport_pc 00:0a: reported by Plug and Play ACPI
[ 31.811793] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 31.947543] ACPI: PCI Interrupt 0000:00:02.7[C] -> GSI 18 (level, low) -> IRQ 16
[ 32.133928] NET: Registered protocol family 10
[ 32.134222] lo: Disabled Privacy Extensions
[ 32.269860] intel8x0_measure_ac97_clock: measured 54818 usecs
[ 32.269865] intel8x0: clocking to 48000
[ 33.814966] lp0: using parport0 (interrupt-driven).
[ 33.881179] Adding 1951856k swap on /dev/sda8. Priority:-1 extents:1 across:1951856k
[ 34.438222] EXT3 FS on sda9, internal journal
[ 35.764864] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 36.151302] No dock devices found.
[ 37.240695] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
[ 37.240701] apm: overridden by ACPI.
[ 37.374963] ppdev: user-space parallel port driver
[ 37.537839] audit(1255059268.846:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=4794 profile="/usr/sbin/cupsd" namespace="default"
[ 39.270601] eth1: link down
[ 39.273081] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 39.406143] Bluetooth: Core ver 2.11
[ 39.408019] NET: Registered protocol family 31
[ 39.408025] Bluetooth: HCI device and connection manager initialized
[ 39.408030] Bluetooth: HCI socket layer initialized
[ 39.436380] Bluetooth: L2CAP ver 2.9
[ 39.436385] Bluetooth: L2CAP socket layer initialized
[ 39.553070] Bluetooth: RFCOMM socket layer initialized
[ 39.553091] Bluetooth: RFCOMM TTY layer initialized
[ 39.553093] Bluetooth: RFCOMM ver 1.8
[ 42.185634] eth0: no IPv6 routers present
[ 94.496835] Drcom-Kernel 0.0.1 module loaded
[ 98.184388] Drcom-Kernel: Authentication Started.
[ 586.609140] kjournald starting. Commit interval 5 seconds
[ 586.609450] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
[ 586.610052] EXT3 FS on sda7, internal journal
[ 586.610059] EXT3-fs: mounted filesystem with ordered data mode.
我已经把所有关于非IDE的选项和FILE SYSTEMS里面的选项都包含编译了。.config文件已经有9.9M了,可是还是一无既往的出现上面的错误呀。还有一个现象是,有时选项选择不同后,运行的有效分区竟然不一样,但就是没有sda7。该怎么办呀。

作者: yzj19870824   发布时间: 2009-10-09

接着上一帖,我系统中只有一个硬盘,不知道有效分区(这个kernel panic处显示的)却是这样的:
0800 8192 sda driver:sd
0810 78149687 sdb drvier:sd
0811 10490413 sdb1
0812 1 sdb2
0boo 1048575 sr0 driver:sr

作者: yzj19870824   发布时间: 2009-10-09

老天,我终于可以把LFS6.4运行起来了。说是解决这个问题不如说是逃避了这个问题。如果你遇到上面的问题,而又只是想着赶快让它启动,请到 http://hi.csdn.net/link.php?url=http...%2Fyzj19870824来,看一下我的方法。如果您持之以恒的要从正面解决问题-通过内核配置,那么等到你成功的时候请告诉我们一下。

作者: yzj19870824   发布时间: 2009-10-09

泼句冷水,楼主别以为系统能起动了就代表问题解决了

你的问题在於你不懂得正确配置内核引起的,试想清楚手册啥时候教过你用 initrd?为什麽别人可以不用 initrd 来附助却能启动?

说句不忠听的,阁下的方法在 LFS 的角度来看,并不值得参考,因为你还不会配置好内核,仍未掌握 LFS 的精髓

作者: d00m3d   发布时间: 2009-10-10