Hi all I have dom0 happy now but am having real issues with domU. Hardware - IBM HS20 Blade (884325M) - 2G RAM - 36G sda (hardware RAID1) Software - RHEL ES4 update 2 - Xen 3.0.0 pre-built binaries for x86_64 (untar''s to ''xen-unsatble-install'') Config kernel = "/boot/vmlinuz-2.6.xenU" memory = 256 name = "vm1" disk = [ ''phy:rootvg/xen_vm1,sda1,w'' ] hostname = "vm1" root = "/dev/sda1 ro" domU fstab /dev/sda1 / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 dom0''s / (/dev/rootvg/root) has been copied to /dev/rootvg/xen_vm1 and the relevent mods made. Do I need to roll my own initrd? How do I do this for Xen? I''ve read about Debian and debootstrap, does this apply to me? Any ideas? Thanks Colin Coe Store Systems Team Leader Bunnings Pty Ltd Phone: +61 8 9365 1555 (ext 737) Mobile: 0407 089 115 ************************************************************************ Bunnings Legal Disclaimer: 1) This email is confidential and may contain legally privileged information. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this email in error, please notify us immediately by return email and delete the document. 2) All emails sent to and sent from Bunnings Group Limited. are scanned for content. Any material deemed to contain inappropriate subject matter will be reported to the email administrator of all parties concerned. ************************************************************************ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''ve had some progress with this. I''ve found that an initrd is indeed required but I''ve been unable to build one that works on the Blade servers in domU. Can someone whos got this working on an IBM Blade advise how this is done? I keep getting ''unknown symbol errors'' when loading the modules in the initrd. Thanks CC -----Original Message----- From: Colin Coe [mailto:CCoe@bunnings.com.au] Sent: Tuesday, 20 December 2005 2:01 PM To: xen-users@lists.xensource.com Subject: [Xen-users] No init found. Hi all I have dom0 happy now but am having real issues with domU. Hardware - IBM HS20 Blade (884325M) - 2G RAM - 36G sda (hardware RAID1) Software - RHEL ES4 update 2 - Xen 3.0.0 pre-built binaries for x86_64 (untar''s to ''xen-unsatble-install'') Config kernel = "/boot/vmlinuz-2.6.xenU" memory = 256 name = "vm1" disk = [ ''phy:rootvg/xen_vm1,sda1,w'' ] hostname = "vm1" root = "/dev/sda1 ro" domU fstab /dev/sda1 / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 dom0''s / (/dev/rootvg/root) has been copied to /dev/rootvg/xen_vm1 and the relevent mods made. Do I need to roll my own initrd? How do I do this for Xen? I''ve read about Debian and debootstrap, does this apply to me? Any ideas? Thanks Colin Coe Store Systems Team Leader Bunnings Pty Ltd Phone: +61 8 9365 1555 (ext 737) Mobile: 0407 089 115 ************************************************************************ Bunnings Legal Disclaimer: 1) This email is confidential and may contain legally privileged information. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this email in error, please notify us immediately by return email and delete the document. 2) All emails sent to and sent from Bunnings Group Limited. are scanned for content. Any material deemed to contain inappropriate subject matter will be reported to the email administrator of all parties concerned. ************************************************************************ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users ************************************************************************ Bunnings Legal Disclaimer: 1) This email is confidential and may contain legally privileged information. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this email in error, please notify us immediately by return email and delete the document. 2) All emails sent to and sent from Bunnings Group Limited. are scanned for content. Any material deemed to contain inappropriate subject matter will be reported to the email administrator of all parties concerned. ************************************************************************ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I struggled with this for while too. Got it going now though. Ok, I''m not on 100% identical hardware (it is HS20 but with AoE SAN), nor on Xen 3 (still running 2), but I think it''s more of an initrd issue than anything else. I found the Fedora and CentOS Xen manulas to be very helpful. Besides that, I wrote a howto for myself (http://www.armorica.net/index.php?id=57) that may be helpful. It deals with initrd (and what to leave out). Maybe it helps. Regards, Paul Tap -- Armorica - Open Source Software / Consultancy Berkelstraat 91 3522 EL Utrecht T +31 30 289 4890 M +31 653 269 629 F +31 30 289 6150 E paul.tap@armorica.nl W www.armorica.nl> Message: 2 > Date: Tue, 20 Dec 2005 22:12:52 +0800 > From: Colin Coe <CCoe@bunnings.com.au> > Subject: RE: [Xen-users] No init found. > To: xen-users@lists.xensource.com > Message-ID: > <1FB25FFEAA977540B5BC43D9F5F607F7081D2307@mail2-wa.bunnings.com.au> > Content-Type: text/plain; charset="iso-8859-1" > > > I''ve had some progress with this. I''ve found that an initrd is indeed > required but I''ve been unable to build one that works on the Blade servers > in domU. Can someone whos got this working on an IBM Blade advise how this > is done? I keep getting ''unknown symbol errors'' when loading the modules in > the initrd. > > Thanks > > CC > > -----Original Message----- > From: Colin Coe [mailto:CCoe@bunnings.com.au] > Sent: Tuesday, 20 December 2005 2:01 PM > To: xen-users@lists.xensource.com > Subject: [Xen-users] No init found. > > > > Hi all > > I have dom0 happy now but am having real issues with domU. > > Hardware > - IBM HS20 Blade (884325M) > - 2G RAM > - 36G sda (hardware RAID1) > > Software > - RHEL ES4 update 2 > - Xen 3.0.0 pre-built binaries for x86_64 (untar''s to > ''xen-unsatble-install'') > > Config > kernel = "/boot/vmlinuz-2.6.xenU" > memory = 256 > name = "vm1" > disk = [ ''phy:rootvg/xen_vm1,sda1,w'' ] > hostname = "vm1" > root = "/dev/sda1 ro" > > domU fstab > /dev/sda1 / ext3 defaults > 1 1 > none /dev/pts devpts gid=5,mode=620 > 0 0 > none /proc proc defaults > 0 0 > none /dev/shm tmpfs defaults > 0 0 > > dom0''s / (/dev/rootvg/root) has been copied to /dev/rootvg/xen_vm1 and the > relevent mods made. > > Do I need to roll my own initrd? How do I do this for Xen? I''ve read about > Debian and debootstrap, does this apply to me? Any ideas? > > Thanks > > > Colin Coe > Store Systems Team Leader > Bunnings Pty Ltd > > Phone: +61 8 9365 1555 (ext 737) > Mobile: 0407 089 115 > > ************************************************************************ > Bunnings Legal Disclaimer: > > 1) This email is confidential and may contain legally privileged > information. If you are not the intended recipient, you must not > disclose or use the information contained in it. If you have received > this email in error, please notify us immediately by return email and > delete the document. > > 2) All emails sent to and sent from Bunnings Group Limited. > are scanned for content. Any material deemed to contain inappropriate > subject matter will be reported to the email administrator of all > parties concerned. > ************************************************************************ > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > ************************************************************************ > Bunnings Legal Disclaimer: > > 1) This email is confidential and may contain legally privileged > information. If you are not the intended recipient, you must not > disclose or use the information contained in it. If you have received > this email in error, please notify us immediately by return email and > delete the document. > > 2) All emails sent to and sent from Bunnings Group Limited. > are scanned for content. Any material deemed to contain inappropriate > subject matter will be reported to the email administrator of all > parties concerned. > ************************************************************************_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 2005-12-20 at 14:00 +0800, Colin Coe wrote:> Hi all > > I have dom0 happy now but am having real issues with domU. > > Hardware > - IBM HS20 Blade (884325M) > - 2G RAM > - 36G sda (hardware RAID1) > > Software > - RHEL ES4 update 2 > - Xen 3.0.0 pre-built binaries for x86_64 (untar''s to > ''xen-unsatble-install'') > > Config > kernel = "/boot/vmlinuz-2.6.xenU" > memory = 256 > name = "vm1" > disk = [ ''phy:rootvg/xen_vm1,sda1,w'' ] > hostname = "vm1" > root = "/dev/sda1 ro" > > domU fstab > /dev/sda1 / ext3 defaults > 1 1 > none /dev/pts devpts gid=5,mode=620 > 0 0 > none /proc proc defaults > 0 0 > none /dev/shm tmpfs defaults > 0 0 > > dom0''s / (/dev/rootvg/root) has been copied to /dev/rootvg/xen_vm1 and the > relevent mods made. > > Do I need to roll my own initrd? How do I do this for Xen? I''ve read aboutNot necessarily. domU initrd aren''t usually necessary as far as I know, but I have made several of them on the same distribution and version as you on that type of blade with commands like cd /lib/modules depmod 2.6.12.6-xenU mkinitrd --omit-scsi-modules /boot/initrd-2.6.12.6-xenU.img 2.6.12.6- xenU Can you post output from ''xm create -c'' for your domU as well as the domU configuration? Good luck. Andrew> Debian and debootstrap, does this apply to me? Any ideas? > > Thanks > > > Colin Coe > Store Systems Team Leader > Bunnings Pty Ltd > > Phone: +61 8 9365 1555 (ext 737) > Mobile: 0407 089 115 > > ************************************************************************ > Bunnings Legal Disclaimer: > > 1) This email is confidential and may contain legally privileged > information. If you are not the intended recipient, you must not > disclose or use the information contained in it. If you have received > this email in error, please notify us immediately by return email and > delete the document. > > 2) All emails sent to and sent from Bunnings Group Limited. > are scanned for content. Any material deemed to contain inappropriate > subject matter will be reported to the email administrator of all > parties concerned. > ************************************************************************ > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi all xm create -c vm1 Using config file "/etc/xen/vm1". Started domain vm1 Linux version 2.6.12.6-xenU (root@tarpon.bbs.bunnings.com.au) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Dec 19 15:44:16 WST 2005 kernel direct mapping tables upto 10800000 @ 43d000-4c3000 Built 1 zonelists Kernel command line: ip=172.30.13.120:1.2.3.4:172.30.13.254:255.255.255.0:vm1:eth0:off root=/dev/sda1 ro 1 Initializing CPU#0 PID hash table entries: 2048 (order: 11, 65536 bytes) Xen reported: 3200.112 MHz processor. Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Memory: 252796k/270336k available (1659k kernel code, 16904k reserved, 561k data, 132k init) Mount-cache hash table entries: 256 CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 2048K CPU: Physical Processor ID: 3 Brought up 1 CPUs NET: Registered protocol family 16 xen_mem: Initialising balloon driver. Grant table initialized IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $ audit: initializing netlink socket (disabled) audit(1135100047.227:0): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize Xen virtual console successfully installed as tty1 Event-channel device installed. netfront: Initialising virtual ethernet driver. md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27 NET: Registered protocol family 2 Registering block device major 8 IP: routing cache hash table of 1024 buckets, 16Kbytes TCP established hash table entries: 16384 (order: 6, 262144 bytes) TCP bind hash table entries: 16384 (order: 6, 262144 bytes) TCP: Hash tables configured (established 16384 bind 16384) Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 IP-Config: Complete: device=eth0, addr=172.30.13.120, mask=255.255.255.0, gw=172.30.13.254, host=vm1, domain=, nis-domain=(none), bootserver=1.2.3.4, rootserver=1.2.3.4, rootpathmd: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Kernel panic - not syncing: No init found. Try passing init= option to kernel. (adding ''init=/sbin/init'' to extras in the config makes no difference) Note that no disks are found. This is why I think I need an initrd with the modules for the SCSI control (LSI MPT Fusion). Note also that after the panic, a ''xm list'' shows vm1 *not* in a crashed state, is this correct? Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 251 1 r----- 16.8 vm1 6 256 1 r----- 22.9 My config is: kernel = "/boot/vmlinuz-2.6-xenU" memory = 256 name = "vm1" vcpus = 1 disk = [ ''phy:rootvg/xen_vm1,sda1,w'' ] ip = "172.30.13.120" netmask = "255.255.255.0" gateway = "172.30.13.254" hostname = "vm1" root = "/dev/sda1 ro" extra = "1" on_crash = ''destroy'' I had a troll through the linux-2.6.12-xenU tree under xen-3.0.0 src and found that the kernel config has PCI disabled, why is this? Thanks CC -----Original Message----- From: Andrew D. Ball [mailto:aball@us.ibm.com] Sent: Wednesday, 21 December 2005 2:11 AM To: Colin Coe; xen-users@lists.xensource.com Subject: Re: [Xen-users] No init found.> Not necessarily. domU initrd aren''t usually necessary as far as I know, > but I have made several of them on the same distribution and version as > you on that type of blade with commands like > > cd /lib/modules > depmod 2.6.12.6-xenU > mkinitrd --omit-scsi-modules /boot/initrd-2.6.12.6-xenU.img 2.6.12.6-xenU> > Can you post output from ''xm create -c'' for your domU as well as the > domU configuration? > > Good luck. > Andrew************************************************************************ Bunnings Legal Disclaimer: 1) This email is confidential and may contain legally privileged information. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this email in error, please notify us immediately by return email and delete the document. 2) All emails sent to and sent from Bunnings Group Limited. are scanned for content. Any material deemed to contain inappropriate subject matter will be reported to the email administrator of all parties concerned. ************************************************************************ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users