Xen PV drivers for FreeBSD

Yuriy Kohut ykohut at onapp.com
Tue Nov 30 15:07:19 UTC 2010


Hi, ones more

Here is some results of my investigation running FreeBSD amd64 HVM Xen DomU with PV drivers installed (XENHVM config is used).
.
FreeBSD was booted on "Boot FreeBSD with verbose logging" mode.

Custom kernel was built using
-  8.1-RELEASE sources from src/sys installed with sysinstall
- RELENG_8_1 get with csup/cvsup 
- RELENG_8 get with csup/cvsup

Every time the same error got, and boot stops:
------------
ata1: New device: 00020001
ata1-slave: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire
...
ata1: reinit done ..
unknown: FAILURE - ATA_IDENTIFY timed aut LBA=0
------------
The next messages are CDROM detection. And after that boot stops.



Here is config I'm using for DomU:
------------
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
#shadow_memory = 8
name = "freebsd-8.1"
vif = [ 'bridge=eth0', ]
disk = [ 
'tap:aio:/opt/images/freebsd-8.1-test.img,hda,w', 
"tap:aio:/opt/images/freebsd-8.1-swap.img,hdb,w",
#"phy:/dev/vg0/lvol18,ioemu:hdb,w", 
'file:/opt/iso/boot-freebsd.iso,hdd:cdrom,r' ]
device_model = "/usr/lib64/xen/bin/qemu-dm"
boot="cd"
sdl=0
vnc=1
vncpasswd=''
stdvga=0
serial='pty'
acpi=1
apic=1
stdvga=0
------------


Justin, I'm still not seing your update with csup for sys/kern/subr_autoconf.c in RELENG_8
---
Yura

On Nov 30, 2010, at 1:26 PM, Yuriy Kohut wrote:

> Just built XENHVM based on RELENG_8 and got kernel panic.
> 
> Please find VNC console snapshot attached.
> 
> 
> 
> Unfortunately I have no way to copy/paste from VNC.
> ---
> Yura
> 
> On Nov 30, 2010, at 11:36 AM, Yuriy Kohut wrote:
> 
>> Hi, Justin,
>> 
>> I'm using cvsup (csup) and still didn't see the merge on the RELENG_8...
>> 
>> ---
>> Yura
>> 
>> On Nov 29, 2010, at 5:29 PM, Yuriy Kohut wrote:
>> 
>>> Ok, I'll check and let you know results
>>> 
>>> Thank you
>>> ---
>>> Yura
>>> 
>>> On Nov 29, 2010, at 5:06 PM, Justin T. Gibbs wrote:
>>> 
>>>> On 11/29/2010 6:50 AM, Yuriy Kohut wrote:
>>>>> Hi,
>>>>> 
>>>>> I have just build XENHVM from RELANG_8 cvs tag.
>>>>> 
>>>>> VM stuck on booting too. The last message in VNC console was:
>>>>> -----
>>>>> xctrl0: <Xen Control Device> on xenstore0
>>>>> -----
>>>>> 
>>>>> Could somebody please suggest ?
>>>> 
>>>> I neglected to merge SVN revision 211236 into -stable, and this
>>>> should be the cause of your hang.  I just submitted the merge,
>>>> but it will take a little while for it to be replicated into
>>>> CVS.  Once you've pulled down this revision (it updates
>>>> sys/kern/subr_autoconf.c), can you rebuild, test, and report
>>>> your results?
>>>> 
>>>> Thanks,
>>>> Justin
>>> 
>>> _______________________________________________
>>> freebsd-xen at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
>>> To unsubscribe, send any mail to "freebsd-xen-unsubscribe at freebsd.org"
>> 
>> _______________________________________________
>> freebsd-xen at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
>> To unsubscribe, send any mail to "freebsd-xen-unsubscribe at freebsd.org"
> 
> _______________________________________________
> freebsd-xen at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscribe at freebsd.org"



More information about the freebsd-xen mailing list