请教rehat9启动过程中的疑难问题
借五一假期,我前日更新了我办公室机子的kernel,原来是kernle- 2.4.20,更新后为2.6.10, uname提供的系统信息为:Linux info218 2.6.10 #1 SMP Thu May 5 22:14:28 CST 2005 i686 athlon i386 GNU/Linux
系统更新后曾正常工作了一天,但系统启动时屏幕提示会长时间停留在 “Kernel command line: ro root=/dev/hdb5 elevator=deadline ”,然后直接进入x windows的登录窗口。也就是说,"Initializing CPU#0 ....................."等之后的信息不能显示在屏幕上,我想(应该是init或rc.d等文件出了问题,但我查了一下,没有发现问题所在。 但总之机器是可以正常使用的。
前晚我又试图更新gcc,原来是3.2.2 20030222,我试图更新为4.0版本。我是家里进行远程更新的,在远程发送命令init 6后,过一段时间发现能够重新远程登录,表明系统已经成功重新启动,升级成功,非常高兴。随后便init 0关机。
但第二天我到办公室启动电脑时,发现屏幕长时间停在Kernel command line: ro root=/dev/hdb5 elevator=deadline. 经过硬盘灯在不停闪动,表明系统仍然运作。还可以看到软区和光驱的灯会亮一会儿,经过这一番折腾后,然后就消停了,似乎是正常的系统启动过程。但屏幕仍然停在"Kernel command line: ro root=/dev/hdb5 elevator=deadline". 点击鼠标和敲打键盘无任何反应。
起初我以后系统当了,正准备重新装机。带着侥幸心理从我的本本进行远程登录试试,发现竟然成功了。也就是说,虽然在本地机器上,屏幕上无任何反应,但系统的确启动了。我可以远程登录,安装程序等。 于是我做了一些补救措施,将gcc恢复到3.2.2 20030222,升级XFree86到最新版本,但都无济于是。其中碰到的一个问题是,vim不能启动,说是某些lib文件(*.so.1之类的)找不支,我更新安装了gtk2后解决这个问题。
现在我的机子仍然不能无法从本地进入,启动后屏幕就一直停在"Kernel command line: ro root=/dev/hdb5 elevator=deadline"'上,所以只能远程登录:-)。
希望各位高手不吝赐教,一是让屏幕显示“ Kernel command line: ro root=/dev/hdb5 elevator=deadline”之后的启动过程,就是显示"Initializing CPU#0 .....................";二是让本地机能够起到x windows,正常使用(我不能够总是远程登录呀!)。
非常感谢!!
下面是我的dmesg信息,供高手参考:
Linux version 2.6.10 (root@info218) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 SMP Thu May 5 22:14:28 CST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 262128
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 225280 pages, LIFO batch:16
HighMem zone: 32752 pages, LIFO batch:7
DMI 2.2 present.
ACPI: RSDP (v000 VIA694 ) @ 0x000f70a0
ACPI: RSDT (v001 VIA694 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3000
ACPI: FADT (v001 VIA694 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3040
ACPI: DSDT (v001 VIA694 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
Built 1 zonelists
Kernel command line: ro root=/dev/hdb5 elevator=deadline
^^^^^^^^^^^^^屏幕一直停在这个地方,下面的信息不能显示
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (0184d000)
Initializing CPU#0
CPU 0 irqstacks, hard=c05a6000 soft=c059e000
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 1470.350 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1033544k/1048512k available (3139k kernel code, 14392k reserved, 1305k data, 256k init, 131008k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2891.77 BogoMIPS (lpj=1445888)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383f9ff c1cbf9ff 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff c1cbf9ff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383f9ff c1cbf9ff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0e20)
CPU0: AMD Athlon(tm) MP 1700+ stepping 02
per-CPU timeslice cutoff: 731.14 usecs.
task migration cache decay timeout: 1 msecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
CPU0:
domain 0: span 01
groups: 01
domain 1: span 01
groups: 01
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb460, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20041105
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically. If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device(). As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior. If this argument makes the device work again,
** please email the output of "lspci" to [email protected]
** so I can fix the driver.
Machine check exception polling timer started.
audit: initializing netlink socket (disabled)
audit(1115416001.691:0): initialized
highmem bounce pool size: 64 pages
Installing knfsd (copyright (C) 1996 [email protected]).
mdacon: MDA with 8K of memory detected.
Console: switching consoles 1-16 to mono MDA-2 80x25
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb0: VGA16 VGA frame buffer device
ACPI: Power Button (FF)
ACPI: Sleep Button (CM)
ACPI: Fan (on)
ACPI: Processor (supports C1 C2)
ACPI: Processor (supports 2 throttling states)
ACPI: Thermal Zone (54 C)
mdacon: MDA with 8K of memory detected.
Console: switching consoles 1-16 to mono MDA-2 80x25
lp: driver loaded but no devices found
Linux agpgart interface v0.100 (c) Dave Jones
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7
lp0: using parport0 (interrupt-driven).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Ethernet Channel Bonding Driver: v2.6.1 (October 29, 2004)
bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.
ACPI: PCI Interrupt Link enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI interrupt 0000:00:0b.0 -> GSI 10 (level, low) -> IRQ 10
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:0b.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xd000. Vers LK1.1.19
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: ST360021A, ATA DISK drive
hdb: IBM-DPTA-372050, ATA DISK drive
Probing IDE interface ide1...
ide1: Wait for ready failed before probe !
hdd: ATAPI-CD ROM-DRIVE-50MAX, ATAPI CD/DVD-ROM drive
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=65535/16/63
hda: cache flushes not supported
hda: hda1 hda2 < hda5 hda6 hda7 >
hdb: max request size: 128KiB
hdb: 40088160 sectors (20525 MB) w/1961KiB Cache, CHS=39770/16/63
hdb: cache flushes not supported
hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 >
hdd: ATAPI 50X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.20
libata version 1.10 loaded.
ieee1394: raw1394: /dev/raw1394 device initialized
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:11.2 -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:11.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:11.2: irq 10, io base 0xd800
uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:11.3 -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:11.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:11.3: irq 10, io base 0xdc00
uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:11.4 -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:11.4: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
uhci_hcd 0000:00:11.4: irq 10, io base 0xe000
uhci_hcd 0000:00:11.4: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1
md: raid0 personality registered as nr 2
md: raid5 personality registered as nr 4
raid5: automatically using best checksumming function: pIII_sse
pIII_sse : 3980.000 MB/sec
raid5: using function: pIII_sse (3980.000 MB/sec)
md: multipath personality registered as nr 7
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.3.0-ioctl (2004-09-30) initialised: [email protected]
Via 686a/8233/8235 audio driver 1.9.1-ac4-2.5
ACPI: PCI Interrupt Link enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI interrupt 0000:00:11.5 -> GSI 5 (level, low) -> IRQ 5
via82cxxx: Six channel audio available
PCI: Setting latency timer of device 0000:00:11.5 to 64
ac97_codec: AC97 Audio codec, id: ALG16 (ALC200/200P)
via82cxxx: board #1 at 0xE400, IRQ 5
Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
can't register device seq
ALSA device list:
No soundcards found.
oprofile: using timer interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
ip_conntrack version 2.1 (8191 buckets, 65528 max) - 304 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost . http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI wakeup devices:
SLPB PCI0 USB0 USB1 USB2 UAR1 LPT1
ACPI: (supports S0 S1 S4 S5)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 256k freed
kjournald starting. Commit interval 5 seconds
EXT3 FS on hdb5, internal journal
Adding 2040244k swap on /dev/hdb3. Priority:-1 extents:1
kjournald starting. Commit interval 5 seconds
EXT3 FS on hdb2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
页:
[1]