Reference : http://kb.parallels.com/en/10007
問題的描述:
今天在嘗試使用puppetlab 提共的vm到parallels使用時,遇到的kernel panic問題,但卻不知道該如何下手,後來就從paralles上面的論壇找到有關kernal panic的debug 方法,然後再從有問題的debug log中找到原來是找不到lvm 的virtual group,然後繼續找就看到原來他是開機的時候嘗試找尋ide硬碟,但轉換後他卻直接使用scsi,所以造成找不到硬碟,才會顯示kernal panic
重點:
1.安裝虛擬的serial port,並把開機資料導出文字檔案中
2.修改開機指令,讓開機資料導出到虛擬的serial port中
Debug.txt
…serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16450 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16450 brd: module loaded Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH2: IDE controller at PCI slot 0000:00:1f.1 ICH2: chipset revision 5 ICH2: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xe200-0xe207, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xe208-0xe20f, BIOS settings: hdc:DMA, hdd:DMA Probing IDE interface ide0... hda: Virtual DVD-ROM [0], ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... Probing IDE interface ide1... ide-floppy driver 0.99.newide
--------
Activating logical volumes Volume group "vg00" not found Trying to resume from /dev/vg00/swapvol Unable to access resume device (/dev/vg00/swapvol) Creating root device. Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init!
沒有留言:
張貼留言