From: Henry N. <Hen...@Ar...> - 2008-05-20 00:15:16
|
Kasprzyk, Nico wrote: > Some days before, I tried to run CoLinux 0.8.0 in one Virtual PC Windows > XP session. Short summary: It did not work. It is not possible for me to > judge whether CoLinux may be corrected to run in Virtual PC or if this > is one real serious problem. > > Thus, i ask the list: Do you think that it will be possible to run > CoLinux with Virtual PC? > > > Best regards, > > Nico > > > An older version did not run with error: > ======================================== > > Cooperative Linux Daemon, 0.8.0 > Daemon compiled on Sun Jan 20 19:01:26 2008 > > PID: 2316 > colinux: booting > Linux version 2.6.22-co-0.8.0 (hn@hn-dt) (gcc version 4.2.1 (SUSE > Linux)) #1 PRE > EMPT Sun Jan 20 18:59:42 CET 2008 > 128MB LOWMEM available. > initrd enabled: start: 0xc7f9a000 size: 0x00065881 > [...] > Calibrating delay loop... WARNING: at > /home/hn/colinux/build/devel-gcc412/linux-2.6.22-source/kernel/softirq.c:122 _local_bh_enable() This ia a line with: WARN_ON_ONCE(!irqs_disabled()); > [<c0103b7a>] show_trace_log_lvl+0x1a/0x30 > [<c0103cb2>] show_trace+0x12/0x20 > [<c0104ae5>] dump_stack+0x15/0x20 > [<c0115cfa>] _local_bh_enable+0x9a/0xb0 > [<c0115d9a>] __do_softirq+0x8a/0xa0 > [<c0115de5>] do_softirq+0x35/0x40 > [<c0116053>] irq_exit+0x43/0x50 > [<c013d154>] co_callback+0x164/0x2f0 > [<c010a681>] proxy_interrupt_handler+0x41/0x50 > [<c0103873>] common_interrupt+0x23/0x30 > [<c0396b65>] start_kernel+0x1c5/0x2b0 > [<00000000>] _stext+0x3fefff50/0x20 > [<c010a30e>] co_start_arch+0xfe/0x170 > [<c0109e95>] co_arch_start_kernel+0x0/0xb > ======================= > colinux: Linux VM terminated > colinux: BUG at > ...vel-gcc412/linux-2.6.22-source/kernel/posix-cpu-timers.c:1295 This is the line BUG_ON(!irqs_disabled()); Think, we can fix it. Our timer callback leaks somethere with enabled interrupts. I'm afraid. As workarround set loops_per_jiffy manualy as kernelparameter and skip the calibration: "lpj=3000000" (see kernel source Documentation/kernel-parameters.txt:910) We currently have kernel 2.6.22.18 and some changes on the proxy interrupt handler. Please give the latest snapshot a try. If that also fails, then send please the new stack trace again. > A newer version stopped working with: > ===================================== > > Cooperative Linux Daemon, 0.8.0 > Daemon compiled on Tue May 13 04:06:17 2008 > > daemon: exit code 83279001 > daemon: error - CO_RC_ERROR_ERROR, line 484, file > src/colinux/user/daemon.c (25) The driver is not loaded correctly. First, please run this and send me your result: * cd C:\colinux * colinux-daemon --status-driver To fix it, please do follow steps * cd C:\colinux * colinux-daemon --remove-driver * colinux-daemon --install-driver * colinux-daemon --status-driver If that not helps, then reboot windows between remove and install. -- Henry N. |