[Fedora-xen] Can't create PV domain guest using regular file

Tatsuro Enokura fj7716hz at aa.jp.fujitsu.com
Tue Mar 20 10:05:06 UTC 2007


Hi,

When I try creating a paravirt domain and install Fedora7 test2
over ftp / http with virt-install, the guest domain's kernel
said EIP message as follows:

Mar  8 14:57:56 coolmint kernel: kernel BUG at
drivers/xen/blktap/blktapmain.c:1203!
Mar  8 14:57:56 coolmint kernel: invalid opcode: 0000 [#1]
Mar  8 14:57:56 coolmint kernel: SMP
Mar  8 14:57:56 coolmint kernel: last sysfs file:
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/irq
Mar  8 14:57:56 coolmint kernel: Modules linked in: xt_physdev
iptable_filter ip_tables x_tables i915 drm bridge netloop
netbk blktap blkbk autofs4 hidp rfcomm l2cap bluetooth sunrpc dm_mirror
dm_mod video sbs i2c_ec button battery asus_acpi
ac ipv6 lp snd_hda_intel snd_hda_codec snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device parport_pc
snd_pcm_oss snd_mixer_oss ide_cd parport i2c_i801 irda cdrom snd_pcm
serio_raw sky2 sg crc_ccitt i2c_core snd_timer
pcspkr snd soundcore iTCO_wdt snd_page_alloc serial_core joydev ata_piix
libata sd_mod scsi_mod ext3 jbd ehci_hcd
ohci_hcd uhci_hcd
Mar  8 14:57:56 coolmint kernel: CPU:    1
Mar  8 14:57:56 coolmint kernel: EIP:    0061:[<ee510fab>]    Not
tainted VLI
Mar  8 14:57:56 coolmint kernel: EFLAGS: 00010246
(2.6.19-1.2898.2.3.fc7xen #1)
Mar  8 14:57:56 coolmint kernel: EIP is at
dispatch_rw_block_io+0x96/0x853 [blktap]
Mar  8 14:57:56 coolmint kernel: eax: e34d1e40   ebx: ebde79a4   ecx:
e8f00801   edx: 00000000
Mar  8 14:57:56 coolmint kernel: esi: ee554b38   edi: ec3ddfbc   ebp:
ebde79b4   esp: ec3ddb9c
Mar  8 14:57:56 coolmint kernel: ds: 007b   es: 007b   ss: 0069
Mar  8 14:57:56 coolmint kernel: Process xvd 1 (pid: 3234, ti=ec3dd000
task=e855a590 task.ti=ec3dd000)
Mar  8 14:57:56 coolmint kernel: Stack: 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000
Mar  8 14:57:56 coolmint kernel:        ec3ddc9c 00000000 00000000
e8f00800 ec3ddf50 ebde79a4 00000001 00000000
Mar  8 14:57:56 coolmint kernel:        00000000 00000000 01000000
000000b0 004f2755 00000000 00000002 00000002
Mar  8 14:57:56 coolmint kernel: Call Trace:
Mar  8 14:57:56 coolmint kernel:  [<ee5120aa>]
tap_blkif_schedule+0x29f/0x3df [blktap]
Mar  8 14:57:56 coolmint kernel:  [<c0431928>] kthread+0xc0/0xec
Mar  8 14:57:56 coolmint kernel:  [<c040580f>] kernel_thread_helper+0x7/0x10
Mar  8 14:57:56 coolmint kernel:  =======================
Mar  8 14:57:56 coolmint kernel: Code: 50 c7 44 24 70 00 00 00 00 81 38
00 00 ad de 74 10 ff 44 24 70 83 c0 04 83 7c 24
70 20 74 0c eb e8 81 7c 24 70 00 00 ad de 75 0d <0f> 0b b3 04 19 25 51
ee e9 80 07 00 00 8b 44 24 30 8a 40 01 0f
Mar  8 14:57:56 coolmint kernel: EIP: [<ee510fab>]
dispatch_rw_block_io+0x96/0x853 [blktap] SS:ESP 0069:ec3ddb9c

To do that I did the following steps
1) Exceute the virt-install command as follows:
  virt-install --name=F7test2_PV --file=/root/F7test2_PV.img \
  --file-size=5 --ram=512 --paravirt \
  --location=http://10.131.236.20/f7test2_x86 --nographics

The virtual disk is a regular file. This happens while anaconda
is formatting the filesystem or installing packages.


The same problem as this one exists in Bugzilla #229850.
It was commented that this problem was solved by the following patches
applied.
  [Xen-devel] [Patch] blktap modular build fix

http://lists.xensource.com/archives/html/xen-changelog/2006-11/msg00464.html

When the kernel-xen package which applies the patch is provided?

Thanks,
Tatsuro Enokura





More information about the Fedora-xen mailing list