<helicoterus-elih@yahoo.it>
2007-Dec-21 19:04 UTC
[Xen-users] VFS: Cannot open root device and Kernel panic
It is the third times that I try to use Xen. I install opensuse 10.2 with its 2.6.18.2-34-xen kernel. I have got a domain0. I would like to build a new domainU. I install opensuse 10.2 in /dev/hdb5 (ext3) as /, and it uses /dev/sda2 as swap partition (shared with dom0 opensuse). I do not know what assign to root param and disk. I tried root ="/dev/hda1 ro" and disk = [ ''phy:/dev/hdb5,hda,w''] ; but does not work. kernel = "/boot/vmlinuz-xen" root= "/dev/hdb5 ro" disk = [ ''phy:/dev/hdb5,hdb5,w''] memory = 64 vcpus = 1 builder = ''linux'' name = ''vm1'' vif = [ ''mac=00:16:3e:65:3a:ca'' ] localtime = 0 on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' extra = '' TERM=xterm'' This is what appears when I launch the domain: linux-wsbh:/home/vale # xm create -c /etc/xen/vm/vm1 Using config file "/etc/xen/vm/vm1". Started domain vm1 Linux version 2.6.18.2-34-xen (geeko@buildhost) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000004800000 (usable) 0MB HIGHMEM available. 72MB LOWMEM available. ACPI in unprivileged domain disabled Allocating PCI resources starting at 10000000 (gap: 04800000:fb800000) Xen reported: 1503.407 MHz processor. Built 1 zonelists. Total pages: 18432 Kernel command line: root=/dev/hdb5 ro TERM=xterm Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 512 (order: 9, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Software IO TLB disabled vmalloc area: c5000000-fb7fe000, maxmem 33ffe000 Memory: 61096k/73728k available (1950k kernel code, 4372k reserved, 930k data, 184k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 3771.38 BogoMIPS (lpj=7542763) Security Framework v1.0.0 initialized Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 256K Compat vDSO mapped to fbffd000. Checking ''hlt'' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs migration_cost=0 Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. Setting mem allocation to 65536 kiB PCI: System does not support PCI PCI: System does not support PCI NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 2048 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 2048) TCP reno registered audit: initializing netlink socket (disabled) audit(1198262879.124:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) rtc: IRQ 8 is not free. Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?) Failed to obtain physical IRQ 6 floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize Xen virtual console successfully installed as tty1 Event-channel device installed. PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 NET: Registered protocol family 1 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/837 XENBUS: Device with no driver: device/vif/0 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. VFS: Cannot open root device "hdb5" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) <6>Time: xen clocksource has been installed. Thank you all. --------------------------------- --------------------------------- L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
<helicoterus-elih@yahoo.it>
2007-Dec-22 20:52 UTC
Re: [Xen-users] VFS: Cannot open root device and Kernel panic
OK, I added ramdisk parameter. _In this moment_ I have another problem: [...] Freeing unused kernel memory: 184k freed Time: xen clocksource has been installed. Boot logging started on /dev/tty1(/dev/console) at Sat Dec 22 21:23:39 2007 Creating device nodes with udev netfront: Initialising virtual ethernet driver. Loading xennet netfront: device eth0 has flipping receive path. Loading xenblk Registering block device major 3 blkfront: hdb5: barriers enabled Loading reiserfs Waiting for device /dev/hdb5 to appear: ok Mounting root /dev/hdb5 mount: unknown filesystem type ''ext3'' umount: /dev: device is busy umount: /dev: device is busy umount: /dev/pts: device is busy umount: /dev/pts: device is busy Kernel panic - not syncing: Attempted to kill init! I use in dom0 a reiser filesystem. /dev/hdb5 is on an ext3 partition filesystem. --------------------------------- --------------------------------- L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Caz Yokoyama
2007-Dec-22 20:59 UTC
RE: [Xen-users] VFS: Cannot open root device and Kernel panic
Does your initrd have ext3 filesystem module? Expand your initrd by "gunzip <YourInitrd> | cpio -id" and look at /lib/module/../kernel/fs/ext3. Thank you. -Caz Yokoyama, caz@caztech.com _____ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of helicoterus-elih@yahoo.it Sent: Saturday, December 22, 2007 12:52 PM To: xen list Subject: Re: [Xen-users] VFS: Cannot open root device and Kernel panic OK, I added ramdisk parameter. _In this moment_ I have another problem: [...] Freeing unused kernel memory: 184k freed Time: xen clocksource has been installed. Boot logging started on /dev/tty1(/dev/console) at Sat Dec 22 21:23:39 2007 Creating device nodes with udev netfront: Initialising virtual ethernet driver. Loading xennet netfront: device eth0 has flipping receive path. Loading xenblk Registering block device major 3 blkfront: hdb5: barriers enabled Loading reiserfs Waiting for device /dev/hdb5 to appear: ok Mounting root /dev/hdb5 mount: unknown filesystem type ''ext3'' umount: /dev: device is busy umount: /dev: device is busy umount: /dev/pts: device is busy umount: /dev/pts: device is busy Kernel panic - not syncing: Attempted to kill init! I use in dom0 a reiser filesystem. /dev/hdb5 is on an ext3 partition filesystem. _____ _____ L''email della prossima generazione? Puoi averla con la nuova <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http:/it .docs.yahoo.com/nowyoucan.html> Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
<helicoterus-elih@yahoo.it>
2007-Dec-22 21:13 UTC
Re: [Xen-users] VFS: Cannot open root device and Kernel panic
gunzip: /boot/initrd-2.6.18.2-34-xen: unknown suffix -- ignored cpio: premature end of archive --------------------------------- --------------------------------- L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail --0-1483935987-1198357995=:77258 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit gunzip: /boot/initrd-2.6.18.2-34-xen: unknown suffix -- ignored<br>cpio: premature end of archive<br><br><br><BR><BR><p>  <hr size=1><font face="Arial" size="2"><hr size=1><font face="Arial" size="2">L''email della prossima generazione? Puoi averla con la <a href="http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html">nuova Yahoo! Mail</a></font> --0-1483935987-1198357995=:77258-- --0-1935451374-1198357995=:77258 Content-Type: message/rfc822 Content-Transfer-Encoding: 8bit X-Apparently-To: helicoterus-nemo@yahoo.it via 217.12.10.148; Sat, 22 Dec 2007 13:10:25 -0800 X-Originating-IP: [217.12.11.95] Authentication-Results: mta186.mail.re3.yahoo.com from=yahoo.it; domainkeys=pass (ok) Received: from 217.12.11.95 (HELO smtp006.mail.ukl.yahoo.com) (217.12.11.95) by mta186.mail.re3.yahoo.com with SMTP; Sat, 22 Dec 2007 13:10:25 -0800 Received: (qmail 49959 invoked from network); 22 Dec 2007 21:10:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-YMail-OSG:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=mN4RFaP9uD1XMqaRBY3P6Pp3k/Uy33p+GxERYRORlGRwM+ntYFTadpNg+mJn6tDTC0ddgQS14QWFFx1p97jkCwlr+OLGInNp926mWAmVs2Cca6EY1imRLN/f5M8IVJWCbLXW4VZlox/2qEbRD6daxIRoww+TUqVYxtqbbtnalms ; Received: from unknown (HELO ?212.171.128.166?) (grisu46@212.171.128.166 with plain) by smtp006.mail.ukl.yahoo.com with SMTP; 22 Dec 2007 21:10:23 -0000 X-YMail-OSG: h2qE7Y4VM1n4kl9gQea9jT9mRcHCuck3BZHmgBKKkLcu8ksWUPMzT9amZxc20foYwOT5ronVLXL7KSPNCbHa4yvyaurpzd1sroyKpGbXQb7p0aSKuwohI6hG21Y- Date: Sat, 22 Dec 2007 22:10:22 +0100 From: grisu46 <grisu46@yahoo.it> User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: helicoterus-nemo@yahoo.it Subject: Re: [Xen-users] VFS: Cannot open root device and Kernel panic References: <588064.98101.qm@web25510.mail.ukl.yahoo.com> <015801c844dd$8a7df1b0$27095d85@ventus> In-Reply-To: <015801c844dd$8a7df1b0$27095d85@ventus> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Length: 996 Caz Yokoyama ha scritto:> Does your initrd have ext3 filesystem module? Expand your initrd by > âgunzip <YourInitrd> | cpio âidâ and look at /lib/module/â¦./kernel/fs/ext3. > > > > Thank you. > > -Caz Yokoyama, caz@caztech.com <mailto:caz@caztech.com> > > ------------------------------------------------------------------------ > > *From:* xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] *On Behalf Of > *helicoterus-elih@yahoo.it > *Sent:* Saturday, December 22, 2007 12:52 PM > *To:* xen list > *Subject:* Re: [Xen-users] VFS: Cannot open root device and Kernel panic > > > > OK, I added ramdisk parameter. > > _In this moment_ I have another problem: > > > > [...] > > > > Freeing unused kernel memory: 184k freed > > Time: xen clocksource has been installed. > > Boot logging started on /dev/tty1(/dev/console) at Sat Dec 22 21:23:39 2007 > > Creating device nodes with udev > > netfront: Initialising virtual ethernet driver. > > Loading xennet > > netfront: device eth0 has flipping receive path. > > Loading xenblk > > Registering block device major 3 > > blkfront: hdb5: barriers enabled > > Loading reiserfs > > Waiting for device /dev/hdb5 to appear: ok > > Mounting root /dev/hdb5 > > mount: unknown filesystem type ''ext3'' > > umount: /dev: device is busy > > umount: /dev: device is busy > > umount: /dev/pts: device is busy > > umount: /dev/pts: device is busy > > Kernel panic - not syncing: Attempted to kill init! > > > > > > I use in dom0 a reiser > > filesystem. /dev/hdb5 is on an ext3 partition > > filesystem. > > > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > > L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail > <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http:/it.docs.yahoo.com/nowyoucan.html> >Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com --0-1935451374-1198357995=:77258 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --0-1935451374-1198357995=:77258--
Nico Kadel-Garcia
2007-Dec-22 23:14 UTC
Re: [Xen-users] VFS: Cannot open root device and Kernel panic
helicoterus-elih@yahoo.it wrote:> gunzip: /boot/initrd-2.6.18.2-34-xen: unknown suffix -- ignored > cpio: premature end of archiveOK, the naming of various Linux kernels as "vmlinuz" is one of the stupider moves in the Linux world. They should be named "vmlinux.igz", or something similar, and gunzip to "vmlinux.img". The initrd files should be "initrd-[number].cgz" and gunzip to "initrd-[number].cpi" for a cpio image. You need to use something like "gzcat /boot/initrd-2.6.18.2-34-xen > initrd-2.6.18.2-34-xen.cpio". _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Caz Yokoyama
2007-Dec-23 13:10 UTC
RE: [Xen-users] VFS: Cannot open root device and Kernel panic
I mean Gunzip < <YourInitrd> | cpio -id Thank you. -Caz Yokoyama, caz@caztech.com, CazYokoyama@gmail.com, +1-503-804-1028(m) _____ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of helicoterus-elih@yahoo.it Sent: Saturday, December 22, 2007 1:13 PM To: xen list Subject: Re: [Xen-users] VFS: Cannot open root device and Kernel panic gunzip: /boot/initrd-2.6.18.2-34-xen: unknown suffix -- ignored cpio: premature end of archive _____ _____ L''email della prossima generazione? Puoi averla con la nuova <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http:/it .docs.yahoo.com/nowyoucan.html> Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
<helicoterus-elih@yahoo.it>
2007-Dec-23 15:10 UTC
RE: [Xen-users] VFS: Cannot open root device and Kernel panic
_Thank_. I copied the vmlinuz and its initrd from root of domU and I used these file (they have ext3 support). It works. :) Now I would like to copy all partition in a file. I read the Xen User''s manual v3 (pages 52-53-54). But when I launch the xm create command, it can not find root: it wants /dev/hdb5. Using config file "/etc/xen/vm/vm1". Started domain vm1 Linux version 2.6.18.2-34-xen (geeko@buildhost) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000004800000 (usable) 0MB HIGHMEM available. 72MB LOWMEM available. ACPI in unprivileged domain disabled Allocating PCI resources starting at 10000000 (gap: 04800000:fb800000) Xen reported: 1503.407 MHz processor. Built 1 zonelists. Total pages: 18432 Kernel command line: ip=:::::eth0:dhcp TERM=xterm Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 512 (order: 9, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Software IO TLB disabled vmalloc area: c5000000-fb7fe000, maxmem 33ffe000 Memory: 53940k/73728k available (1950k kernel code, 11532k reserved, 930k data, 184k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 3766.91 BogoMIPS (lpj=7533826) Security Framework v1.0.0 initialized Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 256K Compat vDSO mapped to fbffd000. Checking ''hlt'' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed checking if image is initramfs... it is Freeing initrd memory: 7157k freed Brought up 1 CPUs migration_cost=0 Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. Setting mem allocation to 65536 kiB PCI: System does not support PCI PCI: System does not support PCI NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 2048 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 2048) TCP reno registered audit: initializing netlink socket (disabled) audit(1198423615.330:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) rtc: IRQ 8 is not free. Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?) Failed to obtain physical IRQ 6 floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize Xen virtual console successfully installed as tty1 Event-channel device installed. PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 NET: Registered protocol family 1 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/769 XENBUS: Device with no driver: device/vbd/770 XENBUS: Device with no driver: device/vif/0 Freeing unused kernel memory: 184k freed Time: xen clocksource has been installed. Boot logging started on /dev/tty1(/dev/console) at Sun Dec 23 15:26:58 2007 Creating device nodes with udev Loading xennet netfront: Initialising virtual ethernet driver. netfront: device eth0 has flipping receive path. Loading xenblk Registering block device major 3 blkfront: hda1: barriers enabled blkfront: hda2: barriers enabled Loading jbd Loading mbcache Loading ext3 Waiting for device /dev/hdb5 to appear: ........... I installed into image grub and I changed /etc/fstab. This is the config file for domU: kernel = "/home/me/vmlinuz-2.6.18.2-34-xen" ramdisk = "/home/me/initrd-2.6.18.2-34-xen" disk = [ ''file:/home/me/hd.img,hda1,w'', ''file:/home/me/swap.img,hda2,w''] root= "/dev/hda1 ro" memory = 64 vcpus = 1 builder = ''linux'' name = ''vm1'' vif = [ ''mac=00:16:3e:65:3a:ca, bridge=xenbr0'' ] dhcp= ''dhcp'' localtime = 0 on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' extra = '' TERM=xterm'' --------------------------------- --------------------------------- L''email della prossima generazione? Puoi averla con la nuova Yahoo! Mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users