Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2007 23:07:29 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        freebsd-emulation@freebsd.org
Subject:   Re: new experimental qemu-devel port update, please test!
Message-ID:  <46035281.10105@centtech.com>
In-Reply-To: <20070322201110.GA14875@saturn.kn-bremen.de>
References:  <45DB10D3.8040807@centtech.com> <200702241917.l1OJHNlC008923@saturn.kn-bremen.de> <20070224192754.GA9905@saturn.kn-bremen.de> <200703031932.l23JWt6m039021@saturn.kn-bremen.de> <45FEE0A8.50000@centtech.com> <20070322201110.GA14875@saturn.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/22/07 15:11, Juergen Lock wrote:
> On Mon, Mar 19, 2007 at 02:12:40PM -0500, Eric Anderson wrote:
>> On 03/03/07 13:32, Juergen Lock wrote:
>>> In article <45E5CDE3.7030509@centtech.com> anderson@centtech.com (Eric 
>>> Anderson)writes:
>>>
>>>> On 02/24/07 13:27, Juergen Lock wrote:
>>>>> On Sat, Feb 24, 2007 at 08:17:23PM +0100, Juergen Lock wrote:
>>>>>> In article <45DB10D3.8040807@centtech.com> you write:
>>>>>>> Is anyone else experiencing a nearly useless qemu experience with the 
>>>>>>> latest versions?
>>>>>>>
>>>>>>> I'm running -CURRENT from yesterday, and the latest qemu port (and 
>>>>>>> kqemu).
>>>>>>>
>>>>>>> These combinations segfault:
>>>>>>>
>>>>>>> Anything with the -vnc option, when disconnecting the vnc viewer, will 
>>>>>>> segfault:
>>>>>>> sudo qemu -hda /alt/images/fs.img -hdb /alt/images/swapfile -net nic 
>>>>>>> -net tap -snapshot -vnc :1 -serial /dev/ttyv8 -kernel-kqemu
>>>>>>>
>>>>>>> This used to work nicely, now it dies when I connect to port 1111:
>>>>>>> sudo qemu -hda /alt/images/fs.img -hdb /alt/images/swapfile -net nic 
>>>>>>> -net tap -snapshot -serial telnet::1111,server,nowait -std-vga 
>>>>>>> -monitor stdio -full-screen -kernel-kqemu
>>>>>>>
>>>>>>> Which, when it dies, ktrace shows me:
>>>>>>> ...
>>>>>> Hmm I don't know much about the code in question, you may have more
>>>>>> luck reposting this on the qemu list:
>>>>>> 	http://lists.gnu.org/mailman/listinfo/qemu-devel
>>>>> And just when I posted this...  There were just patches posted on that
>>>>> list that fix vnc disconnect segfaults, so I think the next port update
>>>>> will fix at least that problem.
>>>> Thanks!  I've been hoping to see the update, but still not there yet.. 
>>>> :(  Oh well.
>>> Sorry things are going a little slow around here...  But now I have
>>> the following update for you all to test:
>>>
>>> 1. copy the qemu port dir (/usr/ports/emulators/qemu) to
>>>   emulators/qemu-devel
>>> 2. apply the patch below in emulators
>>> 3. deinstall qemu
>>> 3. run `make install' in the new qemu-devel port dir (you probably
>>>   cannot use portinstall/portupgrade unless you add the new port to
>>>   INDEX yourself, that is until it is committed...)
>>> 4. test!
>>>
>>> Should you want to go back, deinstall qemu-devel and then install the
>>> originall qemu port again.
>>>
>>>>   I wonder if that will also fix my telnet issue with qemu.
>>> Not sure, but now you should be able to check yourself. :)
>>
>> I see you now have an official qemu-devel port.  I just started using it 
>>  after my port updated, and now tap networking does not work.
>>
>> I get:
>> Could not initialize device 'tap'
>>
>> When starting like:
>> sudo qemu \
>> -hda /alt/images/swapfile \
>> -localtime \
>> -boot n \
>> -net nic,model=rtl8139 \
>> -net tap \
>> -option-rom /alt/images/eb-5.4.2-rtl8139.zrom \
>> -kernel-kqemu \
>> -serial telnet::1111,server,nowait \
>> -parallel none \
>> -monitor stdio  \
>> -vnc 10.99.99.1:9 \
>> -usb" &
>>
>> Which has been working fine with the previous qemu-devel "port" you 
>> posted here.
>>
>> kldstat shows if_tap is getting loaded, and my qemu-ifup script is 
>> running, setting up the tap interface.
> 
> Hmm.  There was a tap commit in the meantime, could you try the
> following experimental update?  Everyone else is also invited to
> test for regressions etc...


Works beautifully.. All my functions work fine.  I did do another cvs 
update and kernel build at the same time, but all is well so I'm happy 
again :)

Thanks!!!!
Eric



-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
An undefined problem has an infinite number of solutions.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46035281.10105>