From mboxrd@z Thu Jan 1 00:00:00 1970 From: kishore kumar Subject: xen-pvops dom0 booting issue Date: Thu, 25 Mar 2010 16:37:11 -0700 Message-ID: <9f975f341003251637i3ef2cb89y776fcf61c1baf25a@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0717084911==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0717084911== Content-Type: multipart/alternative; boundary=00504502b4ff9df3600482a886b3 --00504502b4ff9df3600482a886b3 Content-Type: text/plain; charset=ISO-8859-1 Hi, my grub.conf is as below kernel /xen.gz dom0_mem=1024M loglvl=all guest_loglvl=all sync_console console_to_ring com1=115200,8n1 console=vga,com1 lapic=debug apic_verbosity=debug apic=debug iommu=1 msi=1 module /vmlinuz-2.6.32.10 ro root=/dev/VolGroup00/LogVol01 console=hvc0 earlyprintk=xen nomodeset initcall_debug debug loglevel=10 module /initrd-2.6.32.10.img I tried changing the root=/dev/VolGroup00/LogVol00 as well. ================================ 1. df -h gives me =================================== Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 221G 11G 199G 6% / /dev/sda1 99M 34M 61M 36% /boot tmpfs 1.8G 0 1.8G 0% /dev/shm =================================== 2. pvscan gives me =================================== PV /dev/sda2 VG VolGroup00 lvm2 [232.78 GB / 0 free] Total: 1 [232.78 GB] / in use: 1 [232.78 GB] / in no VG: 0 [0 ] =================================== 3. cat /etc/fstab gives mes =================================== /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 =================================== I get below message while booting =================================== Reading all physical volumes. This may take a while... Activating logical volumes Volume group "VolGroup00" not found Trying to resume from /dev/VolGroup00/LogVol01 Unable to access resume device (/dev/VolGroup00/LogVol01) 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 init used greatest stack depth: 4088 bytes left Kernel panic - not syncing: Attempted to kill init! Pid: 1, comm: init Not tainted 2.6.32.10 #1 Call Trace: [] panic+0xa5/0x167 [] ? xen_force_evtchn_callback+0xd/0xf [] ? do_exit+0x38a/0x701 [] ? xen_restore_fl_direct_end+0x0/0x1 [] ? lock_release+0x179/0x184 [] ? trace_hardirqs_on+0xd/0xf [] ? _write_unlock_irq+0x37/0x3c [] do_exit+0x7e/0x701 [] ? check_events+0x12/0x20 [] sys_exit_group+0x0/0x1b [] sys_exit_group+0x17/0x1b [] system_call_fastpath+0x16/0x1b Can you let me know what should be the grub.conf?? --00504502b4ff9df3600482a886b3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
=A0
my grub.conf is as below
=A0
kernel=A0=A0=A0=A0=A0=A0 /xen.gz dom0_mem=3D1024M loglvl=3Dall guest_l= oglvl=3Dall sync_console console_to_ring com1=3D115200,8n1 console=3Dvga,co= m1 lapic=3Ddebug apic_verbosity=3Ddebug apic=3Ddebug iommu=3D1 msi=3D1
<= span class=3D"anchor" id=3D"line-302">module=A0=A0=A0=A0=A0=A0 /vmli= nuz-2.6.32.10 ro root=3D/dev/VolGroup00/LogVol01 console=3Dhvc0 earlyprintk= =3Dxen nomodeset initcall_debug debug loglevel=3D10
module=A0=A0=A0=A0=A0=A0 /ini= trd-2.6.32.10.img
=A0
I tried changing the root=3D/dev/VolGroup00/LogVol00 as well.
=A0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
1.=A0 df -h gives me

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Filesystem Size Used Avail Use% Mounted on

/dev/mapper/VolGroup00-LogVol00

221G 11G 199G 6% /

/dev/sda1 99M 34M 61M 36% /boot

tmpfs 1.8G 0 1.8G 0% /dev/shm

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
2.=A0 pvscan gives me
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
PV /dev/sda2 VG VolGroup00 lvm2 [232.78 GB / 0 free]=

Total: 1 [232.78 GB] / in use: 1 [232.78 GB] / in no VG: 0 [0 ]

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

3.=A0 cat /etc/fstab gives mes

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1

LABEL=3D/boot /boot ext3 defaults 1 2

tmpfs /dev/shm tmpfs defaults 0 0

devpts /dev/pts devpts gid=3D5,mode=3D620 0 0

sysfs /sys sysfs defaults 0 0

proc /proc proc defaults 0 0

/dev/VolGroup00/LogVol01 swap swap defaults 0 0

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I get below message while booting

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Reading all physical volumes.=A0 This may take a while...
Activating = logical volumes
=A0 Volume group "VolGroup00" not found
Try= ing to resume from /dev/VolGroup00/LogVol01
Unable to access resume devi= ce (/dev/VolGroup00/LogVol01)
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
init used greatest stack depth: 4088 bytes left<= br>Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: ini= t Not tainted 2.6.32.10 #1
Call Trace:
=A0[<ffffffff8105b743>] panic+0xa5/0x167
=A0[<ff= ffffff8100ed91>] ? xen_force_evtchn_callback+0xd/0xf
=A0[<ffffffff= 8105f2af>] ? do_exit+0x38a/0x701
=A0[<ffffffff8100f44f>] ? xen_= restore_fl_direct_end+0x0/0x1
=A0[<ffffffff8108f81f>] ? lock_release+0x179/0x184
=A0[<fffffff= f8108ca21>] ? trace_hardirqs_on+0xd/0xf
=A0[<ffffffff8147e77f>]= ? _write_unlock_irq+0x37/0x3c
=A0[<ffffffff8105efa3>] do_exit+0x7= e/0x701
=A0[<ffffffff8100f462>] ? check_events+0x12/0x20
=A0[<ffffffff8= 105f6c2>] sys_exit_group+0x0/0x1b
=A0[<ffffffff8105f6d9>] sys_e= xit_group+0x17/0x1b
=A0[<ffffffff81012d72>] system_call_fastpath+0= x16/0x1b

Can you let me know what=A0should be the grub.conf??

--00504502b4ff9df3600482a886b3-- --===============0717084911== 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 --===============0717084911==--