Jayesh Salvi
2005-Dec-13 06:47 UTC
[Xen-users] is my initramdisk right? also getting ''Error opening /dev/console'' error
Hello, I am getting kernel panic while trying to xm create a domU. Xen version 3.0 Linux kernel 2.6.12.6 Grub entry for dom0: title Xen 3.0 / XenLinux 2.6 kernel /boot/xen- 3.0.gz console=vga module /boot/vmlinuz-2.6-xen0 root=LABEL=/ ro console=tty0 module /boot/initrd-2.6.12.6-xen0.img For domU, my xm file contains: kernel = "/boot/vmlinuz-2.6.12.6-xenU " My root is an ext3 file system on /dev/hda9 I am not sure about the ramdisk. I created a ramdisk by first doing the depmod and then using the mkinitrd command as given in the README file. I use that initramdisk for dom0. Should I use another ramdisk for domU?>From README, the mkinitrd commands goes like:# mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.12.6-xen.img 2.6.12.6-xen Will it make a difference if I change the kernel-version 2.6.12.6-xen to 2.6.12.6-xenU ? The man page of mkinitrd doesn''t tell much about the kernel-version. I however created different ramdisks using different kernel versions. 2.6.12.6-xen, 2.6.12.6-xen0, 2.6.12.6-xenU. Each time I however get the following common error: ERROR opening /dev/console!!!!: 2 error dup2''ing fd of 0 to 0 error dup2''ing fd of 0 to 1 error dup2''ing fd of 0 to 2 unmounting old /proc unmounting old /sys WARNING: can''t access (null) exec of init ((null)) failed!!!: 14 Kernel panic - not syncing: Attempted to kill init! With initrd image 2.6.12.6-xenU, I get the following complete trace: [root@orion ~]# xm create -c mydomain vmid=1 Using config file "/etc/xen/mydomain". Started domain MyDomain Linux version 2.6.12.6-xenU (root@Machine) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #2 SMP Sat Dec 10 20:19:56 CST 2005 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000004000000 (usable) 0MB HIGHMEM available. 72MB LOWMEM available. IRQ lockup detection disabled Built 1 zonelists Kernel command line: root=/dev/hda9 ro 4 Initializing CPU#0 PID hash table entries: 512 (order: 9, 8192 bytes) Xen reported: 1295.792 MHz processor. Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) vmalloc area: c5000000-fb7fe000, maxmem 34000000 Memory: 59460k/73728k available (1817k kernel code, 5920k reserved, 478k data, 136k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Mount-cache hash table entries: 512 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 1024K Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking ''hlt'' instruction... disabled Brought up 1 CPUs checking if image is initramfs... it is Freeing initrd memory: 2166k freed NET: Registered protocol family 16 Brought up 1 CPUs xen_mem: Initialising balloon driver. Grant table initialized *************************************************************** *************************************************************** ** WARNING: Currently emulating unsupported memory accesses ** ** in /lib/tls glibc libraries. The emulation is ** ** slow. To ensure full performance you should ** ** install a ''xen-friendly'' (nosegneg) version of ** ** the library, or disable tls support by executing ** ** the following as root: ** ** mv /lib/tls /lib/tls.disabled ** ** Offending process: hotplug (pid=23) ** *************************************************************** *************************************************************** Continuing... 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 4096K size 1024 blocksize Xen virtual console successfully installed as tty1 Event-channel device installed. netfront: Initialising virtual ethernet driver. NET: Registered protocol family 2 Registering block device major 3 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 3, 32768 bytes) TCP: Hash tables configured (established 4096 bind 4096) NET: Registered protocol family 1 NET: Registered protocol family 17 Freeing unused kernel memory: 136k freed Red Hat nash version 4.2.15 starting Mounted /proc filesystem Mounting sysfs Creating /dev Starting udev Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module Creating root device Mounting root filesystem kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Switching to new root ERROR opening /dev/console!!!!: 2 error dup2''ing fd of 0 to 0 error dup2''ing fd of 0 to 1 error dup2''ing fd of 0 to 2 unmounting old /proc unmounting old /sys WARNING: can''t access (null) exec of init ((null)) failed!!!: 14 Kernel panic - not syncing: Attempted to kill init! I found a couple of references for the error ''ERROR opening /dev/console!!!!: 2'', but they were not deterministically resolved (''yum update'' solve the problem in one case - I am not using yum with xen). I also remember reading ''it might be a udev'' problem. Not sure what it is. Can anyone suggest any solution? And could you tell about which initramdisk should be used for domUs. Thanks. -- Jayesh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jayesh Salvi
2005-Dec-13 16:03 UTC
[Xen-users] Re: is my initramdisk right? also getting ''Error opening /dev/console'' error
Looking at the error message again "ERROR opening /dev/console!!!!: 2" I guess that 2 is the value of errno after open() fails on /dev/console. And I found in linux errno=2 stands for 2 ENOENT +No such file or directory My xm file has this root line: root = "/dev/hda9 ro" Does that mean I am installing the root file system ReadOnly and hence it cannot open /dev/console? LMK Jayesh On 12/13/05, Jayesh Salvi <jayeshsalvi@gmail.com> wrote:> > Hello, > > I am getting kernel panic while trying to xm create a domU. > > Xen version 3.0 > Linux kernel 2.6.12.6 > > Grub entry for dom0: > title Xen 3.0 / XenLinux 2.6 > kernel /boot/xen- 3.0.gz console=vga > module /boot/vmlinuz-2.6-xen0 root=LABEL=/ ro console=tty0 > module /boot/initrd-2.6.12.6-xen0.img > > For domU, my xm file contains: > kernel = "/boot/vmlinuz-2.6.12.6-xenU " > > My root is an ext3 file system on /dev/hda9 > > I am not sure about the ramdisk. I created a ramdisk by first doing the > depmod and then using the mkinitrd command as given in the README file. I > use that initramdisk for dom0. Should I use another ramdisk for domU? > > From README, the mkinitrd commands goes like: > # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > initrd-2.6.12.6-xen.img 2.6.12.6-xen > > Will it make a difference if I change the kernel-version 2.6.12.6-xen to > 2.6.12.6-xenU ? The man page of mkinitrd doesn''t tell much about the > kernel-version. > > I however created different ramdisks using different kernel versions. > 2.6.12.6-xen, 2.6.12.6-xen0, 2.6.12.6-xenU. Each time I however get the > following common error: > > ERROR opening /dev/console!!!!: 2 > error dup2''ing fd of 0 to 0 > error dup2''ing fd of 0 to 1 > error dup2''ing fd of 0 to 2 > unmounting old /proc > unmounting old /sys > WARNING: can''t access (null) > exec of init ((null)) failed!!!: 14 > Kernel panic - not syncing: Attempted to kill init! > > With initrd image 2.6.12.6-xenU, I get the following complete trace: > > [root@orion ~]# xm create -c mydomain vmid=1 > Using config file "/etc/xen/mydomain". > Started domain MyDomain > Linux version 2.6.12.6-xenU (root@Machine) (gcc version 4.0.1 20050727 > (Red Hat 4.0.1-5)) #2 SMP Sat Dec 10 20:19:56 CST 2005 > BIOS-provided physical RAM map: > Xen: 0000000000000000 - 0000000004000000 (usable) > 0MB HIGHMEM available. > 72MB LOWMEM available. > IRQ lockup detection disabled > Built 1 zonelists > Kernel command line: root=/dev/hda9 ro 4 > Initializing CPU#0 > PID hash table entries: 512 (order: 9, 8192 bytes) > Xen reported: 1295.792 MHz processor. > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > vmalloc area: c5000000-fb7fe000, maxmem 34000000 > Memory: 59460k/73728k available (1817k kernel code, 5920k reserved, 478k > data, 136k init, 0k highmem) > Checking if this processor honours the WP bit even in supervisor mode... > Ok. > Mount-cache hash table entries: 512 > CPU: L1 I cache: 32K, L1 D cache: 32K > CPU: L2 cache: 1024K > Enabling fast FPU save and restore... done. > Enabling unmasked SIMD FPU exception support... done. > Checking ''hlt'' instruction... disabled > Brought up 1 CPUs > checking if image is initramfs... it is > Freeing initrd memory: 2166k freed > NET: Registered protocol family 16 > Brought up 1 CPUs > xen_mem: Initialising balloon driver. > Grant table initialized > > *************************************************************** > *************************************************************** > ** WARNING: Currently emulating unsupported memory accesses ** > ** in /lib/tls glibc libraries. The emulation is ** > ** slow. To ensure full performance you should ** > ** install a ''xen-friendly'' (nosegneg) version of ** > ** the library, or disable tls support by executing ** > ** the following as root: ** > ** mv /lib/tls /lib/tls.disabled ** > ** Offending process: hotplug (pid=23) ** > *************************************************************** > *************************************************************** > > Continuing... > > 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 4096K size 1024 blocksize > Xen virtual console successfully installed as tty1 > Event-channel device installed. > netfront: Initialising virtual ethernet driver. > NET: Registered protocol family 2 > Registering block device major 3 > IP: routing cache hash table of 512 buckets, 4Kbytes > TCP established hash table entries: 4096 (order: 3, 32768 bytes) > TCP bind hash table entries: 4096 (order: 3, 32768 bytes) > TCP: Hash tables configured (established 4096 bind 4096) > NET: Registered protocol family 1 > NET: Registered protocol family 17 > Freeing unused kernel memory: 136k freed > Red Hat nash version 4.2.15 starting > Mounted /proc filesystem > Mounting sysfs > Creating /dev > Starting udev > Loading scsi_mod.ko module > SCSI subsystem initialized > Loading sd_mod.ko module > Creating root device > Mounting root filesystem > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > Switching to new root > ERROR opening /dev/console!!!!: 2 > error dup2''ing fd of 0 to 0 > error dup2''ing fd of 0 to 1 > error dup2''ing fd of 0 to 2 > unmounting old /proc > unmounting old /sys > WARNING: can''t access (null) > exec of init ((null)) failed!!!: 14 > Kernel panic - not syncing: Attempted to kill init! > > > I found a couple of references for the error ''ERROR opening > /dev/console!!!!: 2'', but they were not deterministically resolved (''yum > update'' solve the problem in one case - I am not using yum with xen). I also > remember reading ''it might be a udev'' problem. Not sure what it is. > > Can anyone suggest any solution? And could you tell about which > initramdisk should be used for domUs. > > Thanks. > -- > Jayesh > >-- Jayesh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jayesh Salvi
2005-Dec-13 16:16 UTC
[Xen-users] Re: is my initramdisk right? also getting ''Error opening /dev/console'' error
Am I supposed to put the vmlinuz and initrd images in /boot of the root file system of domU? But I verified that putting them on domU''s root or dom0''s root doesn''t make much difference. However my /dev/hda9 which I use as my domU''s root file system, was clean. When I manually create /dev directory on it, the error with /dev/console no longer appears. But it fails at a later point. Here is the trace: ...... Mounted /proc filesystem Mounting sysfs Creating /dev Starting udev Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module Creating root device Mounting root filesystem kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Switching to new root unmounting old /proc unmounting old /sys WARNING: can''t access (null) exec of init ((null)) failed!!!: 14 Kernel panic - not syncing: Attempted to kill init! If 14 is the errno for exec sys call then, it stands for: 14 EFAULT +Bad address ok! null is a bad address indeed. Any more ideas, which init function is this? On 12/13/05, Jayesh Salvi <jayeshsalvi@gmail.com> wrote:> > Looking at the error message again "ERROR opening /dev/console!!!!: 2" > > I guess that 2 is the value of errno after open() fails on /dev/console. > And I found in linux errno=2 stands for > > 2 ENOENT +No such file or directory > > > My xm file has this root line: > root = "/dev/hda9 ro" > > Does that mean I am installing the root file system ReadOnly and hence it > cannot open /dev/console? > > LMK > Jayesh > > On 12/13/05, Jayesh Salvi <jayeshsalvi@gmail.com> wrote: > > > > Hello, > > > > I am getting kernel panic while trying to xm create a domU. > > > > Xen version 3.0 > > Linux kernel 2.6.12.6 > > > > Grub entry for dom0: > > title Xen 3.0 / XenLinux 2.6 > > kernel /boot/xen- 3.0.gz console=vga > > module /boot/vmlinuz-2.6-xen0 root=LABEL=/ ro console=tty0 > > module /boot/initrd-2.6.12.6-xen0.img > > > > For domU, my xm file contains: > > kernel = "/boot/vmlinuz-2.6.12.6-xenU " > > > > My root is an ext3 file system on /dev/hda9 > > > > I am not sure about the ramdisk. I created a ramdisk by first doing the > > depmod and then using the mkinitrd command as given in the README file. I > > use that initramdisk for dom0. Should I use another ramdisk for domU? > > > > From README, the mkinitrd commands goes like: > > # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > > initrd-2.6.12.6-xen.img 2.6.12.6-xen > > > > Will it make a difference if I change the kernel-version 2.6.12.6-xen to > > 2.6.12.6-xenU ? The man page of mkinitrd doesn''t tell much about the > > kernel-version. > > > > I however created different ramdisks using different kernel versions. > > 2.6.12.6-xen, 2.6.12.6-xen0, 2.6.12.6-xenU. Each time I however get the > > following common error: > > > > ERROR opening /dev/console!!!!: 2 > > error dup2''ing fd of 0 to 0 > > error dup2''ing fd of 0 to 1 > > error dup2''ing fd of 0 to 2 > > unmounting old /proc > > unmounting old /sys > > WARNING: can''t access (null) > > exec of init ((null)) failed!!!: 14 > > Kernel panic - not syncing: Attempted to kill init! > > > > With initrd image 2.6.12.6-xenU, I get the following complete trace: > > > > [root@orion ~]# xm create -c mydomain vmid=1 > > Using config file "/etc/xen/mydomain". > > Started domain MyDomain > > Linux version 2.6.12.6-xenU (root@Machine) (gcc version 4.0.1 20050727 > > (Red Hat 4.0.1-5)) #2 SMP Sat Dec 10 20:19:56 CST 2005 > > BIOS-provided physical RAM map: > > Xen: 0000000000000000 - 0000000004000000 (usable) > > 0MB HIGHMEM available. > > 72MB LOWMEM available. > > IRQ lockup detection disabled > > Built 1 zonelists > > Kernel command line: root=/dev/hda9 ro 4 > > Initializing CPU#0 > > PID hash table entries: 512 (order: 9, 8192 bytes) > > Xen reported: 1295.792 MHz processor. > > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > > vmalloc area: c5000000-fb7fe000, maxmem 34000000 > > Memory: 59460k/73728k available (1817k kernel code, 5920k reserved, 478k > > data, 136k init, 0k highmem) > > Checking if this processor honours the WP bit even in supervisor mode... > > Ok. > > Mount-cache hash table entries: 512 > > CPU: L1 I cache: 32K, L1 D cache: 32K > > CPU: L2 cache: 1024K > > Enabling fast FPU save and restore... done. > > Enabling unmasked SIMD FPU exception support... done. > > Checking ''hlt'' instruction... disabled > > Brought up 1 CPUs > > checking if image is initramfs... it is > > Freeing initrd memory: 2166k freed > > NET: Registered protocol family 16 > > Brought up 1 CPUs > > xen_mem: Initialising balloon driver. > > Grant table initialized > > > > *************************************************************** > > *************************************************************** > > ** WARNING: Currently emulating unsupported memory accesses ** > > ** in /lib/tls glibc libraries. The emulation is ** > > ** slow. To ensure full performance you should ** > > ** install a ''xen-friendly'' (nosegneg) version of ** > > ** the library, or disable tls support by executing ** > > ** the following as root: ** > > ** mv /lib/tls /lib/tls.disabled ** > > ** Offending process: hotplug (pid=23) ** > > *************************************************************** > > *************************************************************** > > > > Continuing... > > > > 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 4096K size 1024 blocksize > > Xen virtual console successfully installed as tty1 > > Event-channel device installed. > > netfront: Initialising virtual ethernet driver. > > NET: Registered protocol family 2 > > Registering block device major 3 > > IP: routing cache hash table of 512 buckets, 4Kbytes > > TCP established hash table entries: 4096 (order: 3, 32768 bytes) > > TCP bind hash table entries: 4096 (order: 3, 32768 bytes) > > TCP: Hash tables configured (established 4096 bind 4096) > > NET: Registered protocol family 1 > > NET: Registered protocol family 17 > > Freeing unused kernel memory: 136k freed > > Red Hat nash version 4.2.15 starting > > Mounted /proc filesystem > > Mounting sysfs > > Creating /dev > > Starting udev > > Loading scsi_mod.ko module > > SCSI subsystem initialized > > Loading sd_mod.ko module > > Creating root device > > Mounting root filesystem > > kjournald starting. Commit interval 5 seconds > > EXT3-fs: mounted filesystem with ordered data mode. > > Switching to new root > > ERROR opening /dev/console!!!!: 2 > > error dup2''ing fd of 0 to 0 > > error dup2''ing fd of 0 to 1 > > error dup2''ing fd of 0 to 2 > > unmounting old /proc > > unmounting old /sys > > WARNING: can''t access (null) > > exec of init ((null)) failed!!!: 14 > > Kernel panic - not syncing: Attempted to kill init! > > > > > > I found a couple of references for the error ''ERROR opening > > /dev/console!!!!: 2'', but they were not deterministically resolved (''yum > > update'' solve the problem in one case - I am not using yum with xen). I also > > remember reading ''it might be a udev'' problem. Not sure what it is. > > > > Can anyone suggest any solution? And could you tell about which > > initramdisk should be used for domUs. > > > > Thanks. > > -- > > Jayesh > > > > > > > -- > Jayesh > >-- Jayesh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jayesh Salvi
2005-Dec-14 03:39 UTC
Re: [Xen-users] Re: is my initramdisk right? also getting ''Error opening /dev/console'' error
Yeah it worked. I installed Fedora Core 4 minimal installation on a /dev/hda9. And then it worked. Thanks, Jayesh On 12/14/05, Two KHz <twokhz@gmail.com> wrote:> > Great, all the best...... > > On 12/14/05, Jayesh Salvi <jayeshsalvi@gmail.com> wrote: > > > > LMK is "Let Me Know" :) > > > > Thanks for your patience. I will install right distro on hda9 after I go > > home tonight and let u know. > > > > Thanks again, > > Jayesh > > > > On 12/13/05, Two KHz <twokhz@gmail.com> wrote: > > > > > > Oh my god!!!!!!!!........., > > > it is indeed silly..... > > > Anyways, we all learn by making mistakes...... > > > > > > Yes, you need to have a distro installed in your hda9 partition., you > > > can just copy your dom0 distro into your hda9. or else mount any distro > > > (complete "/")of other machine thru NFS and copy that into hda9, and make > > > appropriate changes to fstab file in your new hda9 partition. > > > > > > dont make any other changes to grub or mydomain conf file. > > > > > > and that should boot your VM beautyfully... > > > believe me, trust me.. Xen is amazing to work on. > > > > > > WELCOME to Xen!!!! > > > > > > btw, whats LMK that you mention in your signature... > > > > > > 2khz > > > > > > On 12/14/05, Jayesh Salvi <jayeshsalvi@gmail.com > wrote: > > > > > > > > A friend of mine just told me that I should have installed some > > > > disto of linux on the /dev/hda9. Is that it then? Very silly mistake I guess > > > > :( > > > > > > > > LMK twokhz what u think. > > > > Thanks > > > > Jayesh > > > > > > > > On 12/13/05, Jayesh Salvi <jayeshsalvi@gmail.com> wrote: > > > > > > > > > > The /etc/fstab on my dom0''s root partition looks like: > > > > > # This file is edited by fstab-sync - see ''man fstab-sync'' for > > > > > details > > > > > LABEL=/ / ext3 > > > > > defaults 1 1 > > > > > none /dev/pts devpts > > > > > gid=5,mode=620 0 0 > > > > > none /dev/shm tmpfs > > > > > defaults 0 0 > > > > > none /proc proc > > > > > defaults 0 0 > > > > > none /sys sysfs > > > > > defaults 0 0 > > > > > /dev/hda7 swap swap > > > > > defaults 0 0 > > > > > /dev/hdc /media/cdrecorder2 auto > > > > > pamconsole,exec,noauto,managed 0 0 > > > > > > > > > > But I don''t have anything on the /dev/hda9 partition. I had > > > > > formatted it clean, installed ext3. There is no /etc directory there. I > > > > > didn''t know what files should I have on this /dev/hda9 (domU''s root) [ Is > > > > > that the silly mistake I have made?]. I only created /dev there manually to > > > > > skip the /dev/device error. > > > > > > > > > > Let me know. > > > > > > > > > > Sorry if it turns out to be very silly mistake. > > > > > Thanks, > > > > > Jayesh > > > > > > > > > > > > > > > > > > > > On 12/13/05, Two KHz < twokhz@gmail.com> wrote: > > > > > > > > > > > > Ok, now this is serious issue.. > > > > > > I am loosing my patience now... > > > > > > can you give me your fstab file in /etc > > > > > > > > > > > > and mount your /dev/hda9 and provide me the fstab file from that > > > > > > mounted partition. > > > > > > > > > > > > let me see whats the issue. > > > > > > > > > > > > On 12/14/05, Jayesh Salvi <jayeshsalvi@gmail.com > wrote: > > > > > > > > > > > > > > I created initrd using the command > > > > > > > # mkinitrd -v -f --with=sd_mod --with=scsi_mod > > > > > > > initrd-2.6.12.6-xenU.img 2.6.12.6-xenU > > > > > > > > > > > > > > Now let me try running it without using initrd. > > > > > > > > > > > > > > ok, I get this: > > > > > > > xm create -c mydomain vmid=1 > > > > > > > Using config file "/etc/xen/mydomain". > > > > > > > Started domain MyDomain > > > > > > > Linux version 2.6.12.6-xenU (root@Machine) (gcc version 4.0.120050727 (Red Hat > > > > > > > 4.0.1-5)) #2 SMP Sat Dec 10 20:19:56 CST 2005 > > > > > > > BIOS-provided physical RAM map: > > > > > > > Xen: 0000000000000000 - 0000000004000000 (usable) > > > > > > > 0MB HIGHMEM available. > > > > > > > 72MB LOWMEM available. > > > > > > > IRQ lockup detection disabled > > > > > > > Built 1 zonelists > > > > > > > Kernel command line: root=/dev/hda9 ro 4 > > > > > > > Initializing CPU#0 > > > > > > > PID hash table entries: 512 (order: 9, 8192 bytes) > > > > > > > Xen reported: 1295.793 MHz processor. > > > > > > > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > > > > > > > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > > > > > > > vmalloc area: c5000000-fb7fe000, maxmem 34000000 > > > > > > > Memory: 61636k/73728k available (1817k kernel code, 3752k > > > > > > > reserved, 478k data, 136k init, 0k highmem) > > > > > > > Checking if this processor honours the WP bit even in > > > > > > > supervisor mode... Ok. > > > > > > > Mount-cache hash table entries: 512 > > > > > > > CPU: L1 I cache: 32K, L1 D cache: 32K > > > > > > > CPU: L2 cache: 1024K > > > > > > > Enabling fast FPU save and restore... done. > > > > > > > Enabling unmasked SIMD FPU exception support... done. > > > > > > > Checking ''hlt'' instruction... disabled > > > > > > > Brought up 1 CPUs > > > > > > > NET: Registered protocol family 16 > > > > > > > Brought up 1 CPUs > > > > > > > xen_mem: Initialising balloon driver. > > > > > > > Grant table initialized > > > > > > > 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 4096K size 1024 > > > > > > > blocksize > > > > > > > Xen virtual console successfully installed as tty1 > > > > > > > Event-channel device installed. > > > > > > > netfront: Initialising virtual ethernet driver. > > > > > > > NET: Registered protocol family 2 > > > > > > > Registering block device major 3 > > > > > > > IP: routing cache hash table of 512 buckets, 4Kbytes > > > > > > > TCP established hash table entries: 4096 (order: 3, 32768 > > > > > > > bytes) > > > > > > > TCP bind hash table entries: 4096 (order: 3, 32768 bytes) > > > > > > > TCP: Hash tables configured (established 4096 bind 4096) > > > > > > > NET: Registered protocol family 1 > > > > > > > NET: Registered protocol family 17 > > > > > > > kjournald starting. Commit interval 5 seconds > > > > > > > EXT3-fs: mounted filesystem with ordered data mode. > > > > > > > VFS: Mounted root (ext3 filesystem) readonly. > > > > > > > Freeing unused kernel memory: 136k freed > > > > > > > Warning: unable to open an initial console. > > > > > > > Kernel panic - not syncing: No init found. Try passing init> > > > > > > option to kernel. > > > > > > > > > > > > > > Any idea what init option is it looking for? > > > > > > > > > > > > > > Thanks for your suggestions so far. > > > > > > > Jayesh > > > > > > > > > > > > > > On 12/13/05, Two KHz < twokhz@gmail.com> wrote: > > > > > > > > > > > > > > > > moreover, line: > > > > > > > > Switching to new root > > > > > > > > shows that it was using intrd and then trying to switch to > > > > > > > > the new root from the harddrive,, but because of some issues in initrd''s > > > > > > > > root, its not able to switch properly > > > > > > > > > > > > > > > > > > > > > > > > On 12/14/05, Two KHz <twokhz@gmail.com> wrote: > > > > > > > > > > > > > > > > > > How was initrd for domU created. you ussually dont need > > > > > > > > > that initrd for a domU because you are not using any scsi harddrives here. > > > > > > > > > try to remove ramdisk=***in mydomain. > > > > > > > > > > > > > > > > > > I believe you dont need all these... > > > > > > > > > ....... > > > > > > > > > Loading scsi_mod.ko module > > > > > > > > > SCSI subsystem initialized > > > > > > > > > Loading sd_mod.ko module > > > > > > > > > ....... > > > > > > > > > > > > > > > > > > these i believe are from initrd. > > > > > > > > > > > > > > > > > > I donno what this error means > > > > > > > > > ----------- > > > > > > > > > WARNING: can''t access (null) > > > > > > > > > exec of init ((null)) failed!!!: 14 > > > > > > > > > ------------- > > > > > > > > > > > > > > > > > > But looking at your boot messages....... > > > > > > > > > ..................... > > > > > > > > > Switching to new root > > > > > > > > > ERROR opening /dev/console!!!!: 2 > > > > > > > > > error dup2''ing fd of 0 to 0 > > > > > > > > > error dup2''ing fd of 0 to 1 > > > > > > > > > > > > > > > > > > I think all these errors are due to initrd of Dom0 being > > > > > > > > > used in DomU > > > > > > > > > > > > > > > > > > Just remove ramdisk line and hope for the best... > > > > > > > > > > > > > > > > > > Regards. > > > > > > > > > 2khz > > > > > > > > > > > > > > > > > > > > > > > > > > > On 12/14/05, Jayesh Salvi <jayeshsalvi@gmail.com > wrote: > > > > > > > > > > > > > > > > > > > > Just tried that. That didn''t work either :( > > > > > > > > > > > > > > > > > > > > Still getting same errors. > > > > > > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > Jayesh > > > > > > > > > > > > > > > > > > > > On 12/13/05, Two KHz < twokhz@gmail.com> wrote: > > > > > > > > > > > > > > > > > > > > > > Can you just try changing the following line in > > > > > > > > > > > mydomain > > > > > > > > > > > disk = [ ''phy:hda9,hda9,w'' ] > > > > > > > > > > > to > > > > > > > > > > > disk = [ ''phy:/dev/hda9,hda9,w'' ] > > > > > > > > > > > > > > > > > > > > > > 2khz > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Jayesh > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Jayesh > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Jayesh > > > > > > > > > > > > > > > > > > > > > > -- > > > > Jayesh > > > > > > > > > > > > > > > > > -- > > Jayesh > > > > >-- Jayesh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users