From: Cam Macdonell <cam-edFDblaTWIyXbbII50Afww@public.gmane.org>
To: dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [virtio-net][PATCH] Don't arm tx hrtimer with a constant 500us each transmit
Date: Tue, 18 Dec 2007 16:38:06 -0700 [thread overview]
Message-ID: <476859DE.80208@cs.ualberta.ca> (raw)
In-Reply-To: <47681499.8080205-edFDblaTWIyXbbII50Afww@public.gmane.org>
Cam Macdonell wrote:
> Cam Macdonell wrote:
>> Dor Laor wrote:
>>> Cam Macdonell wrote:
>>>> Dor Laor wrote:
>>>>> Christian Borntraeger wrote:
>>>>>> Am Mittwoch, 12. Dezember 2007 schrieb Dor Laor:
>>>>>>> Christian Borntraeger wrote:
>>>>>>>> Am Mittwoch, 12. Dezember 2007 schrieb Dor Laor:
>>>>>>>>> --- a/drivers/net/virtio_net.c
>>>>>>>>> +++ b/drivers/net/virtio_net.c
>>>>>>>>> @@ -406,10 +405,10 @@ again:
>>>>>>>> Hmm, while I agree in general with the patch, I fail to find the
>>>>>> proper
>>>>>>>> version of virtio_net where this patch applies. I tried kvm.git and
>>>>>>>> linux-2.6.git from kernel.org. Can you give me a pointer to the
>>>>>> repository
>>>>>>>> where you work on virtio?
>>>>>>>>
>>>>>>> Sorry for that, I added some debug prints of my one.
>>>>>>> Here it is: *git clone
>>>>>>> git*://kvm.*qumranet*.com/home/*dor*/src/linux-2.6-nv use branch
>>>>>> 'virtio'.
>>>>>>
>>>> Hi Dor,
>>>>
>>>> Which userspace repo is usable with the above repo?
>>>>
>>>> Thanks,
>>>> Cam
>>>>
>>> git://kvm.qumranet.com/home/dor/src/kvm-nv use branch
>> Hi Dor,
>>
>> I think you forgot a word after branch above. Also, I get the following
>> error when I try clone the userspace repo.
>>
>> cam@madhatter:~/src/KVM$ git clone
>> git://kvm.qumranet.com/home/dor/src/kvm-nv
>> Initialized empty Git repository in /home/cam/src/KVM/kvm-nv/.git/
>> fatal: The remote end hung up unexpectedly
>> fetch-pack from 'git://kvm.qumranet.com/home/dor/src/kvm-nv' failed.
>>
>
> Ok, it works now, however, I'm getting an unknown symbol error when
> loading kvm in to kernel
>
> cam@madhatter:~/src/KVM/dor$ sudo modprobe kvm
> FATAL: Error inserting kvm
> (/lib/modules/2.6.22-14-generic/extra/kvm.ko): Unknown symbol in module,
> or unknown parameter (see dmesg)
>
> dmesg output:
> [89681.960000] kvm: Unknown symbol __fls
>
Hi Dor,
It seems this is a 32 v 64-bit issue. I'm running a 32-bit system. The
asm-x86/bitops_64.h defines __fls whereas asm-x86/bitops_32.h defines
fls. Simply replacing __fls with fls allows the module to load into the
kernel and I am able to boot VMs with it.
I hope that helps.
Cam
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
next prev parent reply other threads:[~2007-12-18 23:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-12 12:54 [virtio-net][PATCH] Don't arm tx hrtimer with a constant 500us each transmit Dor Laor
2007-12-12 13:19 ` [kvm-devel] " Christian Borntraeger
2007-12-12 14:17 ` Dor Laor
2007-12-12 16:33 ` Christian Borntraeger
[not found] ` <200712121733.07804.borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-12-13 8:44 ` Dor Laor
[not found] ` <4760F0EA.7010004-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-14 17:19 ` Cam Macdonell
[not found] ` <4762BB1A.4020905-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-12-16 10:13 ` Dor Laor
[not found] ` <4764FA5E.3070104-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-17 20:40 ` Cam Macdonell
[not found] ` <4766DEB2.5050601-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-12-18 12:50 ` Dor Laor
2007-12-18 18:42 ` Cam Macdonell
[not found] ` <47681499.8080205-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-12-18 23:38 ` Cam Macdonell [this message]
[not found] ` <476859DE.80208-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-12-19 8:25 ` Dor Laor
2007-12-18 0:01 ` Rusty Russell
[not found] ` <200712181101.14916.rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2007-12-18 5:30 ` Avi Kivity
[not found] ` <47675AE0.8050808-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-18 7:24 ` Rusty Russell
2007-12-18 12:55 ` Dor Laor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=476859DE.80208@cs.ualberta.ca \
--to=cam-edfdblatwiyxbbii50afww@public.gmane.org \
--cc=dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox