All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Kernel DomU 2.6.36.1 dont boot PVonHVM
       [not found]   ` <AANLkTi=ZVh0-L9WEzdpzjbk0iRzx4nSr+d42ASQc1i6P@mail.gmail.com>
@ 2010-12-07 13:54     ` Roberto Scudeller
  2010-12-07 17:10       ` Roberto Scudeller
  2010-12-09  5:24     ` Re:Re: [Xen-users] " topperxin
  1 sibling, 1 reply; 3+ messages in thread
From: Roberto Scudeller @ 2010-12-07 13:54 UTC (permalink / raw)
  To: Boris Derzhavets
  Cc: xen-devel, xen-users, Martinx - ジェームズ


[-- Attachment #1.1: Type: text/plain, Size: 5204 bytes --]

Hi all again,

I try other kernel and the problem continues.

My DomU.cfg:
name='ubuntu10.04'
memory=512
vcpus=2
disk=[
'tap2:tapdisk:aio:/PATH/ubuntu10.04/hda,hda,w',
'tap2:tapdisk:aio:/PATH/ubuntu10.04/xvda,xvda,w',
]
boot='c'
on_reboot='restart'
on_shutdown='destroy'
on_crash='destroy'


With the old kernel, 2.6.32.24, with pvdrivers (used this patch:
http://blog.alex.org.uk/tag/xen/ ) this VM boot OK.

I try kernels 2.6.36.1 and 2.6.37-rc4, and the problem continues:
blkfront: xvda: barriers enabled (tag)
 xvda: xvda1
vbd vbd-51712: 16 xlvbd_add at /local/domain/0/backend/vbd/470/51712

Build the new kernel does not seem to be able to view all disk partitions in
xvda disk (I have / on xvda1 and swap on xvda2) with raw disks (sparse). I
try vhd disks and problem continues. These disks contains the partition
table. The xen-blkfront have a problem with the disks right?


Could someone give me some more help?


Cheers,
Roberto Scudeller



2010/12/6 Roberto Scudeller <beto.rvs@gmail.com>

> Hi Boris,
>
> I try mount my root partition in /dev/xvda1 and I receive a new error:
>
> mount: mounting /dev on /root/dev failed: No such file or directory
> mount: mounting /sys on /root/sys failed: No such file or directory
> mount: mounting /proc on /root/proc failed: No such file or directory
> Target filesystem doesn't have /sbin/init
> No init found. Try passing init= bootarg
> (initramfs)
>
> I used a raw disk in my Xen, and this disks have a partition table create
> when I installed a HVM VM.
>
> This machine boot with my old kernel 2.6.32 with a pvdrivers (used this
> patch: http://blog.alex.org.uk/tag/xen/ ).
>
> I created a VM with this parameters for disk:
> 'tap2:tapdisk:aio:/PATH/ubuntu10.04/hda,hda,w' ,
> 'tap2:tapdisk:aio:/PATH/ubuntu10.04/xvda,xvda,w',
>
> This is a xml dump (virsh dumpxml VM):
>     <disk type='file' device='disk'>
>       <driver name='tap' type='tapdisk'/>
>       <source file='aio:/PATH/ubuntu10.04/hda'/>
>       <target dev='hda' bus='ide'/>
>     </disk>
>     <disk type='file' device='disk'>
>       <driver name='tap' type='tapdisk'/>
>       <source file='aio:/PATH/ubuntu10.04/xvda'/>
>       <target dev='xvda' bus='xen'/>
>     </disk>
>
>
> In hda I have my /boot, and xvda I have my / (root partition).
>
> Anyone have any idea?
>
> Cheers,
> Roberto Scudeller
>
>
> 2010/12/4 Boris Derzhavets <bderzhavets@yahoo.com>
>
>  I would try repartitioning with "/" on /dev/xvda1
>>
>>
>> Boris
>>
>> --- On *Fri, 12/3/10, Roberto Scudeller <beto.rvs@gmail.com>* wrote:
>>
>>
>> From: Roberto Scudeller <beto.rvs@gmail.com>
>> Subject: Re: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
>> To: "Boris Derzhavets" <bderzhavets@yahoo.com>
>> Cc: xen-users@lists.xensource.com
>> Date: Friday, December 3, 2010, 3:22 PM
>>
>>
>> Hi Boris,
>>
>> My root partition is /dev/xvda2, in kernel not PVonHVM my root partition
>> is /dev/sda2 and a swap is /dev/sda1.
>>
>>
>> Looks like this kernel not found the second partition (the root
>> partition).
>> This kernel "jump" the swap partition??
>>
>> Thanks for you help.
>>
>>
>> Cheers,
>> Roberto
>>
>>
>> 2010/12/3 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com>
>> >
>>
>> > Cannot find a root partition /dev/xvda2
>> Looks like your root partition is /dev/xvda1
>>
>> Boris.
>>
>> --- On *Fri, 12/3/10, Roberto Scudeller <beto.rvs@gmail.com<http://mc/compose?to=beto.rvs@gmail.com>
>> >* wrote:
>>
>>
>> From: Roberto Scudeller <beto.rvs@gmail.com<http://mc/compose?to=beto.rvs@gmail.com>
>> >
>> Subject: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
>> To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>
>> Date: Friday, December 3, 2010, 12:37 PM
>>
>>
>> Hi all,
>>
>>
>> I try to use kernel 2.6.36.1 in HVM but building the drivers xen-blkfront,
>> xenfs, platform-pci. I used Xen 4.0.2-rc1-pre and a DomU is a ubuntu 10.04
>> and I try with ubuntu 10.10.
>>
>> In boot I receive error "Cannot find a root partition /dev/xvda2" and a
>> prompt (initramfs) appear.
>>
>> In dmesg (initramfs) appear:
>> blkfront: xvda: barriers enabled (tag)
>>  xvda: xvda1
>> vbd vbd-51712: 16 xlvbd_add at /local/domain/0/backend/vbd/470/51712
>>
>>
>> I try to create n initramfs, with any modules and the DomU dont boot.
>> I forgot something? Can someone help me?
>>
>>
>> Thanks for any help.
>>
>>
>> --
>> Roberto Scudeller
>> Especialista Linux/Unix
>>
>> -----Inline Attachment Follows-----
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com>
>> http://lists.xensource.com/xen-users
>>
>>
>>
>>
>>
>> --
>> Roberto Scudeller
>> Especialista Linux/Unix
>> +55 11 8763-6300
>> +55 11 8022-6956
>> beto.rvs@gmail.com <http://mc/compose?to=beto.rvs@gmail.com>
>> beto_rvs@yahoo.com.br <http://mc/compose?to=beto_rvs@yahoo.com.br>
>>
>>
>>
>
>
> --
> Roberto Scudeller
> Especialista Linux/Unix
> +55 11 8763-6300
> +55 11 8022-6956
> beto.rvs@gmail.com
> beto_rvs@yahoo.com.br
>



-- 
Roberto Scudeller
Especialista Linux/Unix
+55 11 8763-6300
+55 11 8022-6956
beto.rvs@gmail.com
beto_rvs@yahoo.com.br

[-- Attachment #1.2: Type: text/html, Size: 8628 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel DomU 2.6.36.1 dont boot PVonHVM
  2010-12-07 13:54     ` Kernel DomU 2.6.36.1 dont boot PVonHVM Roberto Scudeller
@ 2010-12-07 17:10       ` Roberto Scudeller
  0 siblings, 0 replies; 3+ messages in thread
From: Roberto Scudeller @ 2010-12-07 17:10 UTC (permalink / raw)
  To: xen-users, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 5828 bytes --]

I try with the kernel 2.6.34, using this tutorial (
http://bderzhavets.wordpress.com/2010/05/27/pv-on-hvm-at-xen-4-0-on-top-of-fedora-13/
).

My ubuntu fail on boot. "No init found"


Cheers,
Roberto Scudeller


2010/12/7 Roberto Scudeller <beto.rvs@gmail.com>

> Hi all again,
>
> I try other kernel and the problem continues.
>
> My DomU.cfg:
> name='ubuntu10.04'
> memory=512
> vcpus=2
> disk=[
> 'tap2:tapdisk:aio:/PATH/ubuntu10.04/hda,hda,w', 'tap2:tapdisk:aio:/PATH/ubuntu10.04/xvda,xvda,w',
> ]
> boot='c'
> on_reboot='restart'
> on_shutdown='destroy'
> on_crash='destroy'
>
>
> With the old kernel, 2.6.32.24, with pvdrivers (used this patch:
> http://blog.alex.org.uk/tag/xen/ ) this VM boot OK.
>
> I try kernels 2.6.36.1 and 2.6.37-rc4, and the problem continues:
>
> blkfront: xvda: barriers enabled (tag)
>  xvda: xvda1
> vbd vbd-51712: 16 xlvbd_add at /local/domain/0/backend/vbd/470/51712
>
> Build the new kernel does not seem to be able to view all disk partitionsin xvda disk (I have / on xvda1 and swap on xvda2) with raw disks (sparse).
> I try vhd disks and problem continues. These disks contains the partition
> table. The xen-blkfront have a problem with the disks right?
>
>
> Could someone give me some more help?
>
>
> Cheers,
> Roberto Scudeller
>
>
>
> 2010/12/6 Roberto Scudeller <beto.rvs@gmail.com>
>
> Hi Boris,
>>
>> I try mount my root partition in /dev/xvda1 and I receive a new error:
>>
>> mount: mounting /dev on /root/dev failed: No such file or directory
>> mount: mounting /sys on /root/sys failed: No such file or directory
>> mount: mounting /proc on /root/proc failed: No such file or directory
>> Target filesystem doesn't have /sbin/init
>> No init found. Try passing init= bootarg
>> (initramfs)
>>
>> I used a raw disk in my Xen, and this disks have a partition table create
>> when I installed a HVM VM.
>>
>> This machine boot with my old kernel 2.6.32 with a pvdrivers (used this
>> patch: http://blog.alex.org.uk/tag/xen/ ).
>>
>> I created a VM with this parameters for disk:
>> 'tap2:tapdisk:aio:/PATH/ubuntu10.04/hda,hda,w' ,
>> 'tap2:tapdisk:aio:/PATH/ubuntu10.04/xvda,xvda,w',
>>
>> This is a xml dump (virsh dumpxml VM):
>>     <disk type='file' device='disk'>
>>       <driver name='tap' type='tapdisk'/>
>>       <source file='aio:/PATH/ubuntu10.04/hda'/>
>>       <target dev='hda' bus='ide'/>
>>     </disk>
>>     <disk type='file' device='disk'>
>>       <driver name='tap' type='tapdisk'/>
>>       <source file='aio:/PATH/ubuntu10.04/xvda'/>
>>       <target dev='xvda' bus='xen'/>
>>     </disk>
>>
>>
>> In hda I have my /boot, and xvda I have my / (root partition).
>>
>> Anyone have any idea?
>>
>> Cheers,
>> Roberto Scudeller
>>
>>
>> 2010/12/4 Boris Derzhavets <bderzhavets@yahoo.com>
>>
>>  I would try repartitioning with "/" on /dev/xvda1
>>>
>>>
>>> Boris
>>>
>>> --- On *Fri, 12/3/10, Roberto Scudeller <beto.rvs@gmail.com>* wrote:
>>>
>>>
>>> From: Roberto Scudeller <beto.rvs@gmail.com>
>>> Subject: Re: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com>
>>> Cc: xen-users@lists.xensource.com
>>> Date: Friday, December 3, 2010, 3:22 PM
>>>
>>>
>>> Hi Boris,
>>>
>>> My root partition is /dev/xvda2, in kernel not PVonHVM my root partition
>>> is /dev/sda2 and a swap is /dev/sda1.
>>>
>>>
>>> Looks like this kernel not found the second partition (the root
>>> partition).
>>> This kernel "jump" the swap partition??
>>>
>>> Thanks for you help.
>>>
>>>
>>> Cheers,
>>> Roberto
>>>
>>>
>>> 2010/12/3 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com>
>>> >
>>>
>>> > Cannot find a root partition /dev/xvda2
>>> Looks like your root partition is /dev/xvda1
>>>
>>> Boris.
>>>
>>> --- On *Fri, 12/3/10, Roberto Scudeller <beto.rvs@gmail.com<http://mc/compose?to=beto.rvs@gmail.com>
>>> >* wrote:
>>>
>>>
>>> From: Roberto Scudeller <beto.rvs@gmail.com<http://mc/compose?to=beto.rvs@gmail.com>
>>> >
>>> Subject: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
>>> To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>
>>> Date: Friday, December 3, 2010, 12:37 PM
>>>
>>>
>>> Hi all,
>>>
>>>
>>> I try to use kernel 2.6.36.1 in HVM but building the drivers
>>> xen-blkfront, xenfs, platform-pci. I used Xen 4.0.2-rc1-pre and a DomU is a
>>> ubuntu 10.04 and I try with ubuntu 10.10.
>>>
>>> In boot I receive error "Cannot find a root partition /dev/xvda2" and a
>>> prompt (initramfs) appear.
>>>
>>> In dmesg (initramfs) appear:
>>> blkfront: xvda: barriers enabled (tag)
>>>  xvda: xvda1
>>> vbd vbd-51712: 16 xlvbd_add at /local/domain/0/backend/vbd/470/51712
>>>
>>>
>>> I try to create n initramfs, with any modules and the DomU dont boot.
>>> I forgot something? Can someone help me?
>>>
>>>
>>> Thanks for any help.
>>>
>>>
>>> --
>>> Roberto Scudeller
>>> Especialista Linux/Unix
>>>
>>> -----Inline Attachment Follows-----
>>>
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com>
>>> http://lists.xensource.com/xen-users
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Roberto Scudeller
>>> Especialista Linux/Unix
>>> +55 11 8763-6300
>>> +55 11 8022-6956
>>> beto.rvs@gmail.com <http://mc/compose?to=beto.rvs@gmail.com>
>>> beto_rvs@yahoo.com.br <http://mc/compose?to=beto_rvs@yahoo.com.br>
>>>
>>>
>>>
>>
>>
>> --
>> Roberto Scudeller
>> Especialista Linux/Unix
>> +55 11 8763-6300
>> +55 11 8022-6956
>> beto.rvs@gmail.com
>> beto_rvs@yahoo.com.br
>>
>
>
>
> --
> Roberto Scudeller
> Especialista Linux/Unix
> +55 11 8763-6300
> +55 11 8022-6956
> beto.rvs@gmail.com
> beto_rvs@yahoo.com.br
>



-- 
Roberto Scudeller
Especialista Linux/Unix
+55 11 8763-6300
+55 11 8022-6956
beto.rvs@gmail.com
beto_rvs@yahoo.com.br

[-- Attachment #1.2: Type: text/html, Size: 9562 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re:Re: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
       [not found]   ` <AANLkTi=ZVh0-L9WEzdpzjbk0iRzx4nSr+d42ASQc1i6P@mail.gmail.com>
  2010-12-07 13:54     ` Kernel DomU 2.6.36.1 dont boot PVonHVM Roberto Scudeller
@ 2010-12-09  5:24     ` topperxin
  1 sibling, 0 replies; 3+ messages in thread
From: topperxin @ 2010-12-09  5:24 UTC (permalink / raw)
  To: Roberto Scudeller
  Cc: Boris Derzhavets, xen-devel, xen-users,
	Martinx - ジェームズ


[-- Attachment #1.1: Type: text/plain, Size: 4990 bytes --]

Recently, I just use the pvdriver patch of Alex for ubuntu 10.04 2.6.32, but in my opinion, that patch is not generic for all kinks of kernel version, so, if you want to use pvdriver on the target kernel version, you should compile it & debug it on the target kernel version platform, this is a final solution. so now, I'm studying the debug method on xen use gdbsx.
         good luck. 


At 2010-12-07 21:54:24,"Roberto Scudeller" <beto.rvs@gmail.com> wrote:
Hi all again,

I try other kernel and the problem continues.

My DomU.cfg:
name='ubuntu10.04'
memory=512
vcpus=2
disk=[ 'tap2:tapdisk:aio:/PATH/ubuntu10.04/hda,hda,w', 'tap2:tapdisk:aio:/PATH/ubuntu10.04/xvda,xvda,w', ]
boot='c'
on_reboot='restart'
on_shutdown='destroy'
on_crash='destroy'


With the old kernel, 2.6.32.24, with pvdrivers (used this patch:http://blog.alex.org.uk/tag/xen/ ) this VM boot OK.

I try kernels 2.6.36.1 and 2.6.37-rc4, and the problem continues:
blkfront: xvda: barriers enabled (tag)
 xvda: xvda1
vbd vbd-51712: 16 xlvbd_add at /local/domain/0/backend/vbd/470/51712

Build the new kernel does not seem to be able to view all disk partitions in xvda disk (I have / on xvda1 and swap on xvda2) with raw disks (sparse). I try vhd disks and problem continues. These disks contains the partition table. The xen-blkfronthave a problem with the disks right?


Could someone give me some more help?


Cheers,
Roberto Scudeller




2010/12/6 Roberto Scudeller<beto.rvs@gmail.com>
Hi Boris,

I try mount my root partition in /dev/xvda1 and I receive a new error:

mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init
No init found. Try passing init= bootarg
(initramfs)

I used a raw disk in my Xen, and this disks have a partition table create when I installed a HVM VM.

This machine boot with my old kernel 2.6.32 with a pvdrivers (used this patch:http://blog.alex.org.uk/tag/xen/ ).

I created a VM with this parameters for disk:
'tap2:tapdisk:aio:/PATH/ubuntu10.04/hda,hda,w' , 'tap2:tapdisk:aio:/PATH/ubuntu10.04/xvda,xvda,w',

This is a xml dump (virsh dumpxml VM):
    <disk type='file' device='disk'>
      <driver name='tap' type='tapdisk'/>
      <source file='aio:/PATH/ubuntu10.04/hda'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='tap' type='tapdisk'/>
      <source file='aio:/PATH/ubuntu10.04/xvda'/>
      <target dev='xvda' bus='xen'/>
    </disk>


In hda I have my /boot, and xvda I have my / (root partition).

Anyone have any idea?

Cheers,
Roberto Scudeller



2010/12/4 Boris Derzhavets<bderzhavets@yahoo.com>


I would try repartitioning with "/" on /dev/xvda1


Boris

--- OnFri, 12/3/10, Roberto Scudeller<beto.rvs@gmail.com> wrote:


From: Roberto Scudeller <beto.rvs@gmail.com>

Subject: Re: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc:xen-users@lists.xensource.com
Date: Friday, December 3, 2010, 3:22 PM



Hi Boris,

My root partition is /dev/xvda2, in kernel not PVonHVM my root partition is /dev/sda2 and a swap is /dev/sda1.


Looks like this kernel not found the second partition (the root partition).
This kernel "jump" the swap partition??

Thanks for you help.


Cheers,
Roberto



2010/12/3 Boris Derzhavets<bderzhavets@yahoo.com>

> Cannot find a root partition /dev/xvda2

Looks like your root partition is /dev/xvda1

Boris.

--- OnFri, 12/3/10, Roberto Scudeller<beto.rvs@gmail.com> wrote:

From: Roberto Scudeller <beto.rvs@gmail.com>
Subject: [Xen-users] Kernel DomU 2.6.36.1 dont boot PVonHVM
To:xen-users@lists.xensource.com
Date: Friday, December 3, 2010, 12:37 PM



Hi all,


I try to use kernel 2.6.36.1 in HVM but building the drivers xen-blkfront, xenfs, platform-pci. I used Xen 4.0.2-rc1-pre and a DomU is a ubuntu 10.04 and I try with ubuntu 10.10.

In boot I receive error "Cannot find a root partition /dev/xvda2" and a prompt (initramfs) appear.

In dmesg (initramfs) appear:
blkfront: xvda: barriers enabled (tag)
 xvda: xvda1
vbd vbd-51712: 16 xlvbd_add at /local/domain/0/backend/vbd/470/51712


I try to create n initramfs, with any modules and the DomU dont boot.
I forgot something? Can someone help me?


Thanks for any help.


--
Roberto Scudeller
Especialista Linux/Unix



-----Inline Attachment Follows-----



_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users





--
Roberto Scudeller
Especialista Linux/Unix
+55 11 8763-6300
+55 11 8022-6956
beto.rvs@gmail.com
beto_rvs@yahoo.com.br






--
Roberto Scudeller
Especialista Linux/Unix
+55 11 8763-6300
+55 11 8022-6956
beto.rvs@gmail.com
beto_rvs@yahoo.com.br




--
Roberto Scudeller
Especialista Linux/Unix
+55 11 8763-6300
+55 11 8022-6956
beto.rvs@gmail.com
beto_rvs@yahoo.com.br

[-- Attachment #1.2: Type: text/html, Size: 9451 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-09  5:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTimUGr-Mxm11BH_cYQNqz3qA3YU8XLw9uPLsp0fs@mail.gmail.com>
     [not found] ` <204896.51765.qm@web56104.mail.re3.yahoo.com>
     [not found]   ` <AANLkTi=ZVh0-L9WEzdpzjbk0iRzx4nSr+d42ASQc1i6P@mail.gmail.com>
2010-12-07 13:54     ` Kernel DomU 2.6.36.1 dont boot PVonHVM Roberto Scudeller
2010-12-07 17:10       ` Roberto Scudeller
2010-12-09  5:24     ` Re:Re: [Xen-users] " topperxin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.