* [Qemu-devel] Problem with the -serial option of qemu
@ 2007-07-05 13:07 The MoonSeeker
2007-07-05 15:44 ` Jason Wessel
0 siblings, 1 reply; 4+ messages in thread
From: The MoonSeeker @ 2007-07-05 13:07 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 435 bytes --]
Hi everyone,
I'm on gentoo 2.6.20-gentoo-r8 and I'm trying to send the serial port
of my linux guest to a tcp server. To do that, i use this command :
qemu -hda linux.img -serial tcp::4000,server,nowait
And I get this error :
qemu: could not open serial device 'tcp::4000,server,nowait'
I was using the same command on Ubuntu 6.06 and that was working. I
don't understand what's happen and how can I debug this?
Thx for help!
[-- Attachment #2: Type: text/html, Size: 2092 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Problem with the -serial option of qemu
2007-07-05 13:07 [Qemu-devel] Problem with the -serial option of qemu The MoonSeeker
@ 2007-07-05 15:44 ` Jason Wessel
2007-07-06 9:43 ` The MoonSeeker
0 siblings, 1 reply; 4+ messages in thread
From: Jason Wessel @ 2007-07-05 15:44 UTC (permalink / raw)
To: The MoonSeeker; +Cc: qemu-devel
The MoonSeeker wrote:
> Hi everyone,
>
> I'm on gentoo 2.6.20-gentoo-r8 and I'm trying to send the serial port
> of my linux guest to a tcp server. To do that, i use this command :
>
> qemu -hda linux.img -serial tcp::4000,server,nowait
>
> And I get this error :
>
> qemu: could not open serial device 'tcp::4000,server,nowait'
>
> I was using the same command on Ubuntu 6.06 and that was working. I
> don't understand what's happen and how can I debug this?
>
> Thx for help!
Make sure you are running the same version of QEMU in both places.
Generally speaking if it says it could not open the device, it is
because something else is using the port.
% netstat -an |grep 4000
tcp 0 0 0.0.0.0:4000
0.0.0.0:* LISTEN
% lsof -nP |grep 4000
redirector 15998 jwessel 3u IPv4 1661621 TCP
*:4000 (LISTEN)
In this example I started up an application called redirector on the
port. I do not believe this issue is a qemu defect of any kind.
Cheers,
Jason.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Problem with the -serial option of qemu
2007-07-05 15:44 ` Jason Wessel
@ 2007-07-06 9:43 ` The MoonSeeker
2007-07-11 18:16 ` Jan Marten Simons
0 siblings, 1 reply; 4+ messages in thread
From: The MoonSeeker @ 2007-07-06 9:43 UTC (permalink / raw)
To: Jason Wessel; +Cc: qemu-devel
On my ubuntu I have qemu 0.9.0 And on my Gentoo I have 0.8.1. Now I
don't know howto install qemu 0.9.0 on my gentoo with GCC4 and a
2.6.20 kernel. If I install GCC3, I have to change my kernel. Any
idea to avoid this? And use GCC4 with qemu 9.0.x?
Finally, I don't have anything on the port 4000 :
TinyGentoo ~ # netstat -an | grep 4000
TinyGentoo ~ #
THX
Francis
On Jul 5, 2007, at 5:44 PM, Jason Wessel wrote:
> The MoonSeeker wrote:
>> Hi everyone,
>>
>> I'm on gentoo 2.6.20-gentoo-r8 and I'm trying to send the serial
>> port of my linux guest to a tcp server. To do that, i use this
>> command :
>>
>> qemu -hda linux.img -serial tcp::4000,server,nowait
>>
>> And I get this error :
>>
>> qemu: could not open serial device 'tcp::4000,server,nowait'
>>
>> I was using the same command on Ubuntu 6.06 and that was working.
>> I don't understand what's happen and how can I debug this?
>>
>> Thx for help!
> Make sure you are running the same version of QEMU in both places.
> Generally speaking if it says it could not open the device, it is
> because something else is using the port.
>
> % netstat -an |grep 4000
> tcp 0 0 0.0.0.0:4000
> 0.0.0.0:* LISTEN
> % lsof -nP |grep 4000
> redirector 15998 jwessel 3u IPv4 1661621
> TCP *:4000 (LISTEN)
>
> In this example I started up an application called redirector on
> the port. I do not believe this issue is a qemu defect of any kind.
>
> Cheers,
> Jason.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Problem with the -serial option of qemu
2007-07-06 9:43 ` The MoonSeeker
@ 2007-07-11 18:16 ` Jan Marten Simons
0 siblings, 0 replies; 4+ messages in thread
From: Jan Marten Simons @ 2007-07-11 18:16 UTC (permalink / raw)
To: qemu-devel
The MoonSeeker schrieb:
> On my ubuntu I have qemu 0.9.0 And on my Gentoo I have 0.8.1. Now I
> don't know howto install qemu 0.9.0 on my gentoo with GCC4 and a 2.6.20
> kernel. If I install GCC3, I have to change my kernel. Any idea to avoid
> this? And use GCC4 with qemu 9.0.x?
> Finally, I don't have anything on the port 4000 :
>
You have to select a gcc3-profile without pie or ssp via gcc-config
before quilding qemu-softmmu or qemu-user. for kqemu you have to use the
same compiler used to compile your kernel.
regs,
Jan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-11 18:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-05 13:07 [Qemu-devel] Problem with the -serial option of qemu The MoonSeeker
2007-07-05 15:44 ` Jason Wessel
2007-07-06 9:43 ` The MoonSeeker
2007-07-11 18:16 ` Jan Marten Simons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).