Public bug reported:

Binary package hint: linux-image-2.6.22-12-xen

So, this is what happens:

I start an HVM domain on the Xen system (it seems not matter which kind
of it is), I can reproduce this with either Windows or Linux systems.
Here is the configuration of one of them:

#Kernel and memory size
kernel = '/usr/lib/xen-ioemu-3.1/boot/hvmloader'
device_model = '/usr/lib/xen-ioemu-3.1/bin/qemu-dm'
builder = 'hvm'
memory  = '1024'
#disk    = [ 'phy:/dev/slc4/slc4_disk,ioemu:hda,w', 
'file:/home/rabello/tmp/iso/SLC45_i386_dvd.iso,ioemu:hdc:cdrom,r' ]
disk    = [ 'phy:/dev/slc4/slc4_disk,ioemu:hda,w' ]

#  Hostname and Networking
name    = 'pcuw32slc4'
vif  = [ 'type=ioemu, bridge=xenbr0' ]

#  Behaviour
boot='c'  #d is cdrom boot, c is disk boot.
vnc=0
#vncviewer=1
sdl=1

So, it uses SDL and not VNC. I choose SDL because with VNC the same
problem happens much faster, as soon as I create the hosted system.

Well, the domain boots and so and after a few instants, the windows
session on dom0 (the ubuntu host) has the mouse frozen. The keyboard
continues to work. Occasionally, I see that the mouse starts misbehaving
(left clicks not working properly) before it dies as described above.

If I try to go into the console and back into the X server, the keyboard
stops also to work.

If I unconnect the mouse and reconnect, it does not come back (by the
way, it is an USB mouse), but the keyboard goes back to life.

The problem does not affect running applications, but if I try to
reboot, the kernel panics saying:

Oct  3 15:34:36 pcuw32 kernel: kernel BUG at 
/build/buildd/linux-source-2.6.22-2.6.22/debian/build/custom-source-xen/arch/i386/mm/pageattr.c:172!
Oct  3 15:34:36 pcuw32 kernel: invalid opcode: 0000 [#1]
Oct  3 15:34:36 pcuw32 kernel: SMP 
Oct  3 15:34:36 pcuw32 kernel: Modules linked in: xt_physdev iptable_filter 
ip_tables x_tables tun af_packet i915 drm binfmt_misc rfcomm l2cap bluetooth 
bridge ppdev ipv6 container dock ac sbs video button battery loop sbp2 lp 
snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss 
snd_seq_midi snd_rawmidi snd_seq_midi_event sr_mod cdrom snd_seq snd_timer 
firewire_ohci firewire_core crc_itu_t snd_seq_device 8250_pnp 8250 serial_core 
iTCO_wdt iTCO_vendor_support intel_agp agpgart parport_pc parport serio_raw snd 
soundcore snd_page_alloc tsdev heci ext3 jbd mbcache sg sd_mod usbhid hid 
ff_memless pata_marvell usb_storage ohci1394 generic ide_core ieee1394 ahci 
ehci_hcd libata scsi_mod uhci_hcd usbcore e1000 dm_mirror dm_snapshot dm_mod 
thermal processor fan fuse apparmor commoncap
Oct  3 15:34:36 pcuw32 kernel: CPU:    1
Oct  3 15:34:36 pcuw32 kernel: EIP:    0061:[change_page_attr+1120/1718]    Not 
tainted VLI
Oct  3 15:34:36 pcuw32 kernel: EFLAGS: 00210046   (2.6.22-12-xen #1)
Oct  3 15:34:36 pcuw32 kernel: EIP is at change_page_attr+0x460/0x6b6
Oct  3 15:34:36 pcuw32 kernel: eax: 00000000   ebx: 2793a063   ecx: 80000001   
edx: 80000001
Oct  3 15:34:36 pcuw32 kernel: esi: 2793a063   edi: c1ca0ff8   ebp: c1d0a400   
esp: ecf83ea4
Oct  3 15:34:36 pcuw32 kernel: ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 
0069
Oct  3 15:34:36 pcuw32 kernel: Process Xorg (pid: 7960, ti=ecf82000 
task=c1a61ab0 task.ti=ecf82000)
Oct  3 15:34:36 pcuw32 kernel: Stack: e7dff000 00000001 00000000 80000001 
00000001 c21ccfe0 00000000 00000000 
Oct  3 15:34:36 pcuw32 kernel:        00000000 00000000 e7dff000 c1ca0ff8 
00000000 00000000 00000000 00007ff0 
Oct  3 15:34:36 pcuw32 kernel:        00000000 00000063 80000000 00000000 
00007ff0 00000000 2793a063 80000001 
Oct  3 15:34:36 pcuw32 kernel: Call Trace:
Oct  3 15:34:36 pcuw32 kernel:  [free_hot_cold_page+194/381] 
free_hot_cold_page+0xc2/0x17d
Oct  3 15:34:36 pcuw32 kernel:  [<ee2963c0>] agp_generic_destroy_page+0x49/0x70 
[agpgart]
Oct  3 15:34:36 pcuw32 kernel:  [<ee296c05>] agp_free_memory+0xb3/0xe8 [agpgart]
Oct  3 15:34:36 pcuw32 kernel:  [<ee296377>] agp_generic_destroy_page+0x0/0x70 
[agpgart]
Oct  3 15:34:36 pcuw32 kernel:  [<ee295981>] agp_release+0x7e/0x143 [agpgart]
Oct  3 15:34:36 pcuw32 kernel:  [__fput+171/353] __fput+0xab/0x161
Oct  3 15:34:36 pcuw32 kernel:  [filp_close+81/88] filp_close+0x51/0x58
Oct  3 15:34:36 pcuw32 kernel:  [sys_close+110/165] sys_close+0x6e/0xa5
Oct  3 15:34:36 pcuw32 kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Oct  3 15:34:36 pcuw32 kernel:  =======================
Oct  3 15:34:36 pcuw32 kernel: Code: f3 89 7c 24 0c 8b 4c 24 0c 89 7c 24 5c 8b 
7c 24 2c 89 44 24 08 89 74 24 58 8b 07 8b 57 04 f0 0f c7 0f 75 f5 8b 45 0c 85 
c0 75 04 <0f> 0b eb fe 48 89 45 0c eb 04 0f 0b eb fe 8b 45 00 f6 c4 04 0f 
Oct  3 15:34:36 pcuw32 kernel: EIP: [change_page_attr+1120/1718] 
change_page_attr+0x460/0x6b6 SS:ESP 0069:ecf83ea4

Or, sometimes, this:

Oct  3 14:12:50 pcuw32 kernel: BUG: unable to handle kernel paging request at 
virtual address 00100104
Oct  3 14:12:50 pcuw32 kernel:  printing eip:
Oct  3 14:12:50 pcuw32 kernel: c018397b
Oct  3 14:12:50 pcuw32 kernel: 2bada000 -> *pde = 00000001:112b2001
Oct  3 14:12:50 pcuw32 kernel: 1a8b2000 -> *pme = 00000000:00000000
Oct  3 14:12:50 pcuw32 kernel: Oops: 0000 [#1]
Oct  3 14:12:50 pcuw32 kernel: SMP 
Oct  3 14:12:50 pcuw32 kernel: Modules linked in: xt_physdev iptable_filter 
ip_tables tun x_tables af_packet i915 drm binfmt_misc rfcomm l2cap bluetooth 
bridge ppdev ipv6 container dock ac sbs video button battery loop sbp2 lp 
snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss 
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device 
firewire_ohci firewire_core iTCO_wdt iTCO_vendor_support crc_itu_t 8250_pnp 
8250 serial_core snd parport_pc parport tsdev intel_agp agpgart serio_raw 
soundcore snd_page_alloc heci usbhid hid ff_memless ext3 jbd mbcache sg 
pata_marvell sd_mod generic ide_core ohci1394 ieee1394 ahci libata scsi_mod 
ehci_hcd uhci_hcd usbcore e1000 dm_mirror dm_snapshot dm_mod thermal processor 
fan fuse apparmor commoncap
Oct  3 14:12:50 pcuw32 kernel: CPU:    0
Oct  3 14:12:50 pcuw32 kernel: EIP:    0061:[block_invalidatepage+51/173]    
Not tainted VLI
Oct  3 14:12:50 pcuw32 kernel: EFLAGS: 00210213   (2.6.22-12-xen #1)
Oct  3 14:12:50 pcuw32 kernel: EIP is at block_invalidatepage+0x33/0xad
Oct  3 14:12:50 pcuw32 kernel: eax: ffffffff   ebx: 00100100   ecx: 00000002   
edx: c224d314
Oct  3 14:12:50 pcuw32 kernel: esi: c2236b80   edi: c224d314   ebp: ffffffff   
esp: e160bd7c
Oct  3 14:12:50 pcuw32 kernel: ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 
0069
Oct  3 14:12:50 pcuw32 kernel: Process qemu-dm (pid: 15257, ti=e160a000 
task=e1972030 task.ti=e160a000)
Oct  3 14:12:50 pcuw32 kernel: Stack: 00000000 00100100 c0183948 00027591 
00000000 00025335 c014d262 c2236b80 
Oct  3 14:12:50 pcuw32 kernel:        c014d523 c2236b80 c014d5de 0000000e 
00c4cbd8 0000000e 00000000 00000000 
Oct  3 14:12:50 pcuw32 kernel:        c1c4cbd8 00000000 ffffffff 0000000e 
00000000 c2236b80 c20992a0 c2115e60 
Oct  3 14:12:50 pcuw32 kernel: Call Trace:
Oct  3 14:12:50 pcuw32 kernel:  [block_invalidatepage+0/173] 
block_invalidatepage+0x0/0xad
Oct  3 14:12:50 pcuw32 kernel:  [do_invalidatepage+22/24] 
do_invalidatepage+0x16/0x18
Oct  3 14:12:50 pcuw32 kernel:  [truncate_complete_page+36/63] 
truncate_complete_page+0x24/0x3f
Oct  3 14:12:50 pcuw32 kernel:  [truncate_inode_pages_range+160/603] 
truncate_inode_pages_range+0xa0/0x25b
Oct  3 14:12:50 pcuw32 kernel:  [truncate_inode_pages+23/26] 
truncate_inode_pages+0x17/0x1a
Oct  3 14:12:50 pcuw32 kernel:  [__blkdev_put+68/259] __blkdev_put+0x44/0x103
Oct  3 14:12:50 pcuw32 kernel:  [__fput+171/353] __fput+0xab/0x161
Oct  3 14:12:50 pcuw32 kernel:  [filp_close+81/88] filp_close+0x51/0x58
Oct  3 14:12:50 pcuw32 kernel:  [put_files_struct+95/167] 
put_files_struct+0x5f/0xa7
Oct  3 14:12:50 pcuw32 kernel:  [do_exit+572/1862] do_exit+0x23c/0x746
Oct  3 14:12:50 pcuw32 kernel:  [recalc_sigpending+11/29] 
recalc_sigpending+0xb/0x1d
Oct  3 14:12:50 pcuw32 kernel:  [sys_exit_group+0/13] sys_exit_group+0x0/0xd
Oct  3 14:12:50 pcuw32 kernel:  [get_signal_to_deliver+976/1040] 
get_signal_to_deliver+0x3d0/0x410
Oct  3 14:12:50 pcuw32 kernel:  [do_notify_resume+132/1582] 
do_notify_resume+0x84/0x62e
Oct  3 14:12:50 pcuw32 kernel:  [vma_merge+241/376] vma_merge+0xf1/0x178
Oct  3 14:12:50 pcuw32 kernel:  [copy_to_user+37/60] copy_to_user+0x25/0x3c
Oct  3 14:12:50 pcuw32 kernel:  [sys_select+353/391] sys_select+0x161/0x187
Oct  3 14:12:50 pcuw32 kernel:  [work_notifysig+19/26] work_notifysig+0x13/0x1a
Oct  3 14:12:50 pcuw32 kernel:  =======================
Oct  3 14:12:50 pcuw32 kernel: Code: 08 89 14 24 8b 00 a8 01 75 04 0f 0b eb fe 
8b 06 f6 c4 08 0f 84 85 00 00 00 8b 06 f6 c4 08 75 04 0f 0b eb fe 8b 7e 0c 31 
c0 89 fb <8b> 53 04 89 c5 03 6b 14 39 04 24 89 54 24 04 77 43 e8 68 8f 13 
Oct  3 14:12:50 pcuw32 kernel: EIP: [block_invalidatepage+51/173] 
block_invalidatepage+0x33/0xad SS:ESP 0069:e160bd7c
Oct  3 14:12:50 pcuw32 kernel: Fixing recursive fault but reboot is needed!

I can check any other stuff on request.

** Affects: linux-source-2.6.22 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Mouse Input X freezes with XEN/HVM hosts
https://bugs.launchpad.net/bugs/148584
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to