I update here to bitkeeper of yesterday (2004/10/05) and I got the oops below. The rpm is working fine and test program posted before prints lots of dots only. I''ll keep my eye on it. Linux version 2.6.8.1-xenU (fbl@domain1.localdomain) (gcc version 3.4.2) #1 Wed Oct 6 11:26:53 BRT 2004 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000010000000 (usable) 0MB HIGHMEM available. 256MB LOWMEM available. On node 0 totalpages: 65536 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 61440 pages, LIFO batch:15 HighMem zone: 0 pages, LIFO batch:1 DMI not present. Built 1 zonelists Kernel command line: ip=dhcp root=/dev/sda1 ro 3 panic=30 Initializing CPU#0 PID hash table entries: 2048 (order 11: 16384 bytes) Xen reported: 2799.259 MHz processor. Using tsc for high-res timesource Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 256468k/262144k available (1643k kernel code, 5340k reserved, 399k data, 96k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 5583.66 BogoMIPS Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: After all inits, caps: beebcbf1 00000000 00000000 00000080 CPU: Intel(R) Xeon(TM) CPU 2.80GHz stepping 07 Enabling unmasked SIMD FPU exception support... done. Checking ''hlt'' instruction... disabled NET: Registered protocol family 16 Initializing Cryptographic API RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Xen virtual console successfully installed as tty Event-channel device installed. [XEN] Initialising virtual block device driver Using anticipatory io scheduler [XEN] Initialising virtual ethernet driver. [XEN] Netfront recovered tx=0 rxfree=0 NET: Registered protocol family 2 IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) NET: Registered protocol family 1 NET: Registered protocol family 17 IP-Config: Guessing netmask 255.0.0.0 IP-Config: Complete: device=eth0, addr=62.0.0.0, mask=255.0.0.0, gw=255.255.255.255, host=62.0.0.0, domain=, nis-domain=(none), bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath[XEN:vbd_update:drivers/xen/blkfront/blkfront.c:130] > [XEN:vbd_update:drivers/xen/blkfront/blkfront.c:131] < [XEN:vbd_update:drivers/xen/blkfront/blkfront.c:130] > [XEN:vbd_update:drivers/xen/blkfront/blkfront.c:131] < VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 96k freed *************************************************************** *************************************************************** ** WARNING: Currently emulating unsupported memory accesses ** ** in /lib/tls libraries. The emulation is very ** ** slow, and may not work correctly with all ** ** programs (e.g., some may ''Segmentation fault''). ** ** TO ENSURE FULL PERFORMANCE AND CORRECT FUNCTION, ** ** YOU MUST EXECUTE THE FOLLOWING AS ROOT: ** ** mv /lib/tls /lib/tls.disabled ** *************************************************************** *************************************************************** Pausing... 5Pausing... 4Pausing... 3Pausing... 2Pausing... 1Continuing... ------------[ cut here ]------------ kernel BUG at mm/rmap.c:251! invalid operand: 0000 [#1] PREEMPT Modules linked in: CPU: 0 EIP: 0061:[<c014e0b6>] Not tainted EFLAGS: 00010246 (2.6.8.1-xenU) EIP is at page_referenced+0xe6/0x170 eax: cfef0000 ebx: c101f198 ecx: 00000004 edx: c13729b8 esi: c101f180 edi: c13729b8 ebp: 00000000 esp: cfef1e48 ds: 0069 es: 0069 ss: 0069 Process kswapd0 (pid: 18, threadinfo=cfef0000 task=cfedabd0) Stack: c1009ba0 ceef1660 cfef1e68 c11c6840 c1195200 c118b4e0 00000001 c11622c0 00000001 cfef0000 c02c8f20 00000000 c01428d5 c101f198 c101f180 c02c8f20 cfef0000 c01447c5 c101f180 cfef0000 c02c9044 c02c8f3c 00000001 00000020 Call Trace: [<c01428d5>] __pagevec_release+0x25/0x30 [<c01447c5>] refill_inactive_zone+0x555/0x650 [<c0144944>] shrink_zone+0x84/0xd0 [<c0144dc6>] balance_pgdat+0x1e6/0x2a0 [<c0144f4a>] kswapd+0xca/0xd0 [<c011b8f0>] autoremove_wake_function+0x0/0x60 [<c010dda2>] ret_from_fork+0x6/0x14 [<c011b8f0>] autoremove_wake_function+0x0/0x60 [<c0144e80>] kswapd+0x0/0xd0 [<c010f6b5>] kernel_thread_helper+0x5/0x10 Code: 0f 0b fb 00 dc 4b 2a c0 89 f6 8d 5a c8 eb 26 89 5c 24 04 8d <6>note: kswapd0[18] exited with preempt_count 2 ------------[ cut here ]------------ kernel BUG at mm/rmap.c:251! invalid operand: 0000 [#2] PREEMPT Modules linked in: CPU: 0 EIP: 0061:[<c014e0b6>] Not tainted EFLAGS: 00010246 (2.6.8.1-xenU) EIP is at page_referenced+0xe6/0x170 eax: cfb70000 ebx: c1018a18 ecx: 00000004 edx: c13729b8 esi: c1018a00 edi: c13729b8 ebp: 00000000 esp: cfb71c74 ds: 0069 es: 0069 ss: 0069 Process cc1plus (pid: 21166, threadinfo=cfb70000 task=c1b21260) Stack: 00000001 c10a1320 c109f060 c10555e0 c11e5680 c109dde0 00000001 c11e5660 00000001 c109ef60 c109c280 c1055360 c1055520 c1018a18 c1018a00 c02c8f20 cfb70000 c01447c5 c1018a00 cfb70000 c02c9044 c02c8f3c 00000001 00000020 Call Trace: [<c01447c5>] refill_inactive_zone+0x555/0x650 [<c0144944>] shrink_zone+0x84/0xd0 [<c01449e3>] shrink_caches+0x53/0x70 [<c0144acf>] try_to_free_pages+0xcf/0x1e0 [<c013c0ab>] __alloc_pages+0x1bb/0x300 [<c013991b>] generic_file_aio_write_nolock+0x2fb/0xb90 [<c013bf92>] __alloc_pages+0xa2/0x300 [<c0148f10>] do_no_page+0x70/0x490 [<c013a21d>] generic_file_write_nolock+0x6d/0x90 [<c01264ea>] run_timer_softirq+0x1ea/0x200 [<c013a346>] generic_file_write+0x56/0x70 [<c0158c46>] vfs_write+0x116/0x160 [<c0158d61>] sys_write+0x51/0x80 [<c010def3>] syscall_call+0x7/0xb Code: 0f 0b fb 00 dc 4b 2a c0 89 f6 8d 5a c8 eb 26 89 5c 24 04 8d <6>note: cc1plus[21166] exited with preempt_count 2 bad: scheduling while atomic! [<c02994d8>] schedule+0x4b8/0x4f0 [<c0147303>] unmap_page_range+0x53/0x90 [<c014750c>] unmap_vmas+0x1cc/0x1e0 [<c014c27c>] exit_mmap+0x7c/0x160 [<c011bbd2>] mmput+0x62/0x90 [<c0120351>] do_exit+0x151/0x400 [<c010b1d0>] do_invalid_op+0x0/0xc0 [<c010aea8>] die+0x118/0x120 [<c010b270>] do_invalid_op+0xa0/0xc0 [<c014e0b6>] page_referenced+0xe6/0x170 [<c013c29c>] __pagevec_free+0x1c/0x30 [<c014295d>] __pagevec_release_nonlru+0x7d/0x90 [<c010e049>] error_code+0x2d/0x38 [<c014e0b6>] page_referenced+0xe6/0x170 [<c01447c5>] refill_inactive_zone+0x555/0x650 [<c0144944>] shrink_zone+0x84/0xd0 [<c01449e3>] shrink_caches+0x53/0x70 [<c0144acf>] try_to_free_pages+0xcf/0x1e0 [<c013c0ab>] __alloc_pages+0x1bb/0x300 [<c013991b>] generic_file_aio_write_nolock+0x2fb/0xb90 [<c013bf92>] __alloc_pages+0xa2/0x300 [<c0148f10>] do_no_page+0x70/0x490 [<c013a21d>] generic_file_write_nolock+0x6d/0x90 [<c01264ea>] run_timer_softirq+0x1ea/0x200 [<c013a346>] generic_file_write+0x56/0x70 [<c0158c46>] vfs_write+0x116/0x160 [<c0158d61>] sys_write+0x51/0x80 [<c010def3>] syscall_call+0x7/0xb -- Flávio Bruno Leitner <fbl@conectiva.com.br> [ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ] ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
I have two domains 0 and 1. Domain 1 is locked up, and I want to issue a command to run in domain 1 from domain 0''s console. Is there a command for this? If not, which files should I look at to implement this? I''m using Xen 2.0 and Linux 2.4.27. Thanks, tong ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> > I update here to bitkeeper of yesterday (2004/10/05) and I got > the oops below. > > The rpm is working fine and test program posted before prints lots of > dots only. I''ll keep my eye on it.Can you please retry with writable page tables disabled? Rebuild you kernel image after disabling ''Xen'' -> ''writable pagetables'' in the kernel build configuration. The crash you see is pretty serious -- must be memory corruption or similar, and we already know that there is definitely a problem with writable page tables. It''d be nice to be sure that they are the cause here. -- Keir ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Ian Pratt
2004-Oct-06 20:26 UTC
Re: [Xen-devel] How to run domain x''s program from domain 0
> I have two domains 0 and 1. Domain 1 is locked up, and I want to issue a > command to run in domain 1 from domain 0''s console. Is there a command for > this?If the console for the other domain is also locked up (as well as sshd etc), then I expect the domain is toast anyhow. (You can grab the console with ''xm console <domain_name>''> If not, which files should I look at to implement this? I''m using > Xen 2.0 and Linux 2.4.27.You could hook something of the debug interrupt, but I doubt much good will come of it... Ian ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Wed, Oct 06, 2004 at 08:30:24PM +0100, Keir Fraser wrote:> > > > I update here to bitkeeper of yesterday (2004/10/05) and I got > > the oops below. > > > > The rpm is working fine and test program posted before prints lots of > > dots only. I''ll keep my eye on it. > > Can you please retry with writable page tables disabled? Rebuild you > kernel image after disabling ''Xen'' -> ''writable pagetables'' in the > kernel build configuration.Ok, recompiling with writeable page tables disabled right now.> The crash you see is pretty serious -- must be memory corruption or > similar, and we already know that there is definitely a problem with > writable page tables. It''d be nice to be sure that they are the cause > here.Is there anything that I could do here to help fix this one? -- Flávio Bruno Leitner <fbl@conectiva.com.br> [ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ] ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Flavio, A serious writable pagetable bug was fixed last night, so the best thing to do is try out the latest version of the repository WITH writable pagetables! I expect that your crashes will disappear. -- Keir> On Wed, Oct 06, 2004 at 08:30:24PM +0100, Keir Fraser wrote: > > > > > > I update here to bitkeeper of yesterday (2004/10/05) and I got > > > the oops below. > > > > > > The rpm is working fine and test program posted before prints lots of > > > dots only. I''ll keep my eye on it. > > > > Can you please retry with writable page tables disabled? Rebuild you > > kernel image after disabling ''Xen'' -> ''writable pagetables'' in the > > kernel build configuration. > > Ok, recompiling with writeable page tables disabled right now. > > > > The crash you see is pretty serious -- must be memory corruption or > > similar, and we already know that there is definitely a problem with > > writable page tables. It''d be nice to be sure that they are the cause > > here. > > Is there anything that I could do here to help fix this one? > > > -- > Flávio Bruno Leitner <fbl@conectiva.com.br> > [ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ]------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thu, Oct 07, 2004 at 01:11:08PM +0100, Keir Fraser wrote:> > Flavio, > > A serious writable pagetable bug was fixed last night, so the best > thing to do is try out the latest version of the repository WITH > writable pagetables!I''m running with writeable pagetables disabled without any problem until now. Later I''ll update bk tree and try with writable enabled again. BTW, almost all crashes in xenU make ''xm'' command run 99.9% cpu usage and I can''t do anything to stop it, even kill. -- Flávio Bruno Leitner <fbl@conectiva.com.br> [ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ] ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thu, Oct 07, 2004 at 10:56:58AM -0300, Flavio Leitner wrote:> On Thu, Oct 07, 2004 at 01:11:08PM +0100, Keir Fraser wrote: > > A serious writable pagetable bug was fixed last night, so the best > > thing to do is try out the latest version of the repository WITH > > writable pagetables! > > I''m running with writeable pagetables disabled without any problem > until now. Later I''ll update bk tree and try with writable enabled > again.Still running without problems. Should I update to test the fix? -- Flávio Bruno Leitner <fbl@conectiva.com.br> [ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ] ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> On Thu, Oct 07, 2004 at 10:56:58AM -0300, Flavio Leitner wrote: > > On Thu, Oct 07, 2004 at 01:11:08PM +0100, Keir Fraser wrote: > > > A serious writable pagetable bug was fixed last night, so the best > > > thing to do is try out the latest version of the repository WITH > > > writable pagetables! > > > > I''m running with writeable pagetables disabled without any problem > > until now. Later I''ll update bk tree and try with writable enabled > > again. > > Still running without problems. Should I update to test the fix?Yes please! -- Keir ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Fri, Oct 08, 2004 at 04:59:31PM +0100, Keir Fraser wrote:> > On Thu, Oct 07, 2004 at 10:56:58AM -0300, Flavio Leitner wrote: > > > On Thu, Oct 07, 2004 at 01:11:08PM +0100, Keir Fraser wrote: > > > > A serious writable pagetable bug was fixed last night, so the best > > > > thing to do is try out the latest version of the repository WITH > > > > writable pagetables! > > > > > > I''m running with writeable pagetables disabled without any problem > > > until now. Later I''ll update bk tree and try with writable enabled > > > again. > > > > Still running without problems. Should I update to test the fix? > > Yes please!I update xen today (13/10/04) and it hard lock right after the message: mice: PS/2 mouse device common for all mice I disabled writeable pagetable and works fine until now. Any other test? Debug? -- Flávio Bruno Leitner <fbl@conectiva.com.br> [ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ] ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Fri, Oct 08, 2004 at 04:59:31PM +0100, Keir Fraser wrote:> > On Thu, Oct 07, 2004 at 10:56:58AM -0300, Flavio Leitner wrote: > > > On Thu, Oct 07, 2004 at 01:11:08PM +0100, Keir Fraser wrote: > > > > A serious writable pagetable bug was fixed last night, so the best > > > > thing to do is try out the latest version of the repository WITH > > > > writable pagetables! > > > > > > I''m running with writeable pagetables disabled without any problem > > > until now. Later I''ll update bk tree and try with writable enabled > > > again. > > > > Still running without problems. Should I update to test the fix? > > Yes please!I update xen today (13/10/04) and it hard lock right after the message: mice: PS/2 mouse device common for all mice I disabled writeable pagetable and works fine until now. Any other test? Debug? ... the dmesg of working xen0 is below Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0 SCSI device sdc: 71687355 512-byte hdwr sectors (36704 MB) SCSI device sdc: drive cache: write back sdc: sdc1 sdc2 sdc3 Attached scsi disk sdc at scsi0, channel 0, id 2, lun 0 mice: PS/2 mouse device common for all mice <<--------------------- locks here. serio: i8042 AUX port at 0x60,0x64 irq 12 input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1 serio: i8042 KBD port at 0x60,0x64 irq 1 input: AT Translated Set 2 keyboard on isa0060/serio0 md: raid0 personality registered as nr 2 md: raid1 personality registered as nr 3 md: raid5 personality registered as nr 4 raid5: automatically using best checksumming function: pIII_sse pIII_sse : 1584.000 MB/sec raid5: using function: pIII_sse (1584.000 MB/sec) md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com -- Flávio Bruno Leitner <fbl@conectiva.com.br> [ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ] ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel