[Bug 226676] New: Can't load ztdummy in Xen domU
https://bugzilla.novell.com/show_bug.cgi?id=226676 Summary: Can't load ztdummy in Xen domU Product: openSUSE 10.2 Version: RC 5 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Xen AssignedTo: cgriffin@novell.com ReportedBy: jfunk@funktronics.ca QAContact: qa@suse.de I'm trying to load the ztdummy driver from the zaptel-kmp-xen package under a domU with the 2.6.18.2-33-xen kernel. Here's the info from dmesg: kernel BUG at kernel/timer.c:200! invalid opcode: 0000 [#1] SMP last sysfs file: /power/state Modules linked in: ztdummy zaptel crc_ccitt ipv6 autofs4 hidp rfcomm l2cap bluetooth sunrpc af_packet ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables binfmt_misc dm_mirror lp parport_pc parport nvram usbcore dm_snapshot dm_mod ext3 jbd mbcache reiserfs xenblk xennet CPU: 0 EIP: 0061:[<c012849c>] Tainted: G U VLI EFLAGS: 00010046 (2.6.18.2-33-xen #1) EIP is at __mod_timer+0xbc/0xd0 eax: 00000000 ebx: 00000000 ecx: 000000fa edx: ffff16bd esi: c0450d94 edi: cf6739cc ebp: ffff16bd esp: cdc91e2c ds: 007b es: 007b ss: 0069 Process modprobe (pid: 1901, ti=cdc90000 task=c050b8f0 task.ti=cdc90000) Stack: 00000001 cf74f540 00000000 ffff16b8 cf6739cc 00000016 c023fd9c 00000001 cdc91ec0 ffffffff 00000000 00000000 00000000 0000000a ffffffff ffffffff 00000002 00000000 3098cec7 cf673138 00000002 ffffffff ffffffff 7affffff Call Trace: [<c023fd9c>] rtc_do_ioctl+0x6fc/0x750 [<c02e6918>] _spin_lock_irqsave+0x8/0x30 [<d119b19a>] init_module+0x13a/0x1c0 [ztdummy] [<c013b79b>] sys_init_module+0x15b/0x1c40 [<c0104f73>] syscall_call+0x7/0xb Code: 89 f2 89 d8 e8 46 ec ff ff 89 d8 8b 54 24 04 e8 1b e5 1b 00 8b 04 24 8b 5c 24 08 8b 74 24 0c 8b 7c 24 10 8b 6c 24 14 83 c4 18 c3 <0f> 0b c8 00 78 0b 30 c0 e9 59 ff ff ff 8d b4 26 00 00 00 00 83 EIP: [<c012849c>] __mod_timer+0xbc/0xd0 SS:ESP 0069:cdc91e2c -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 jbeulich@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from jbeulich@novell.com 2006-12-07 09:54 MST ------- While I agree that this shouldn't oops, may I ask what you intend to do with this in a domU? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 jbeulich@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jfunk@funktronics.ca ------- Comment #2 from jbeulich@novell.com 2006-12-07 10:11 MST ------- Could you provide the domain's /var/log/boot.msg and the relevant portion of /var/log/messages? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 jfunk@funktronics.ca changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jfunk@funktronics.ca | ------- Comment #3 from jfunk@funktronics.ca 2006-12-07 10:59 MST ------- ztdummy is used for timing in Asterisk when real zaptel hardware is not available. Asterisk needs a high resolution timer to handle voice conferencing. I will attach the requested logfiles -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 ------- Comment #4 from jfunk@funktronics.ca 2006-12-07 11:00 MST ------- Created an attachment (id=108737) --> (https://bugzilla.novell.com/attachment.cgi?id=108737&action=view) boot.msg from domU -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 ------- Comment #5 from jfunk@funktronics.ca 2006-12-07 11:00 MST ------- Created an attachment (id=108738) --> (https://bugzilla.novell.com/attachment.cgi?id=108738&action=view) /var/log/messages from domU -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 ------- Comment #6 from jbeulich@novell.com 2006-12-08 01:17 MST ------- In response to #3: How do you suppose this would work? Briefly looking at the driver code it assumes it can use either the RTC or HPET (which both aren't visible to a domU) and USB (that one you could make work with making a UHCI device visible to the domain, but I don't think we officially support this, yet). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 ------- Comment #7 from jbeulich@novell.com 2006-12-08 04:09 MST ------- Created an attachment (id=108825) --> (https://bugzilla.novell.com/attachment.cgi?id=108825&action=view) proposed fix -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 jbeulich@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |lbendixs@novell.com ------- Comment #8 from jbeulich@novell.com 2006-12-08 04:11 MST ------- Can you please notify James when a build with the patch is available for his testing? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 lbendixs@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|lbendixs@novell.com |jfunk@funktronics.ca ------- Comment #9 from lbendixs@novell.com 2006-12-12 16:25 MST ------- James has been notified and now we just need to find out his results. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 jbeulich@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jfunk@funktronics.ca | ------- Comment #10 from jbeulich@novell.com 2006-12-14 00:49 MST ------- (mail response from James) On Wednesday 13 December 2006 7:46 pm, Lynn Bendixsen wrote:
I posted some source to the mentioned location, sorry for the delay.
Thanks. I rebuilt the zaptel RPM under this kernel to get the zaptel-kmp-xen package and ztdummy loads without an oops. Unfortunately, the /dev/zap/pseudo device does not work. There's a zttest program in zaptel that is not installed in the SUSE RPM for some reason. Here is the output of that program on a non-Xen system (it keeps testing until Ctrl-C is pressed): maus:/home/jfunk/zaptel-1.2.10 # ./zttest Opened pseudo zap interface, measuring accuracy... 99.938965% 99.963379% 99.938965% 99.963379% 99.938965% 99.963379% 99.963379% 99.938965% --- Results after 8 passes --- Best: 99.963379 -- Worst: 99.938965 -- Average: 99.951172 However, the first read on a Xen domain never returns: opensuse:/usr/src/packages/BUILD/zaptel-1.2.10 # ./zttest Opened pseudo zap interface, measuring accuracy... --- Results after 0 passes --- Best: 0.000000 -- Worst: 100.000000 -- Average: 100.000000 -- James Oakley jfunk@funktronics.ca -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226676 jbeulich@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #11 from jbeulich@novell.com 2006-12-14 00:51 MST ------- Issue is fixed then. The device not working is a non-issue in domU as far as I can see (as pointed out before, there's no RTC available to the domU, and the driver gets built in a way that assumes there's one). If that is a problem for you, please open a separate bug against the zaptel package (this is not a Xen issue). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com