Re: [Qemu-devel] Access to serial port, guest> DOS | host >WinXP

2007-11-14 Thread Dieter Blaas
Thanks a lot for these hints! I'll try as soon as I get linux up and running. Badly enough I do not have much experience with this OS. regards, Dieter -- On 14 Nov 2007 at 13:04, [EMAIL PROTECTED] wrote: Date sent: Wed, 14 Nov 2007 13:04:10 -0

[Qemu-devel] Help needed! dyngen: Unsupported ELF class

2007-11-14 Thread test test
Hi, I am new to QEMU and tried to build qemu 0.9.0. I did ./configure and then make, then I got the following error message: gcc-3.3 -Wall -O2 -g -fno-strict-aliasing -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I.. -I/home/xxx/work/qemu/qemu-0.9.0/target-i386 -I/home/xxx/work/qemu/qem

[Qemu-devel] USB Asynchronous I/O

2007-11-14 Thread Salil Bijur
Hello, I've been testing Bluetooth-USB in QEMU for an arm-based processor with a Linux guest. When a bluetooth dongle is added, there is a continuous sending of bulk and interrupt packets synchronously (using the USBDEVFS_BULK ioctl) making qemu extremely slow and unusable. I wanted to know if it

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Paul Brook
> time_t is only one example. There are similar problems with the > handling of struct target_iovec. There are still other places with > similar problems. > > Yes, special casing can work. There's the possible problem of value > truncation when moving between 32 and 64 bits. My point is that I

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 14:06 -0700, Warner Losh wrote: > From: Paul Brook <[EMAIL PROTECTED]> > Subject: Re: [Qemu-devel] [PATCH] target_posix_types.h > Date: Wed, 14 Nov 2007 20:39:36 + > > > > This means that time_t had to be tracked down on varying architectures > > > to find the size and t

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 20:39 +, Paul Brook wrote: > > This means that time_t had to be tracked down on varying architectures > > to find the size and there was an assumption made that time_t is 32 bits > > - which isn't true for all targets. The next problem is that if the > > target is 32 bit

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Warner Losh
From: Paul Brook <[EMAIL PROTECTED]> Subject: Re: [Qemu-devel] [PATCH] target_posix_types.h Date: Wed, 14 Nov 2007 20:39:36 + > > This means that time_t had to be tracked down on varying architectures > > to find the size and there was an assumption made that time_t is 32 bits > > - which isn'

Re: [Qemu-devel] and now bus error for i386 guest

2007-11-14 Thread Blue Swirl
On 11/14/07, Shaddy Baddah <[EMAIL PROTECTED]> wrote: > Hi again, > > After further culling the target list, I was able to install qemu on my > sun4u host. > > However, running it, I get a bus error. See below for details: > > $ /opt/qemu-cvs/bin/qemu -m 128 -cdrom > ~/KNOPPIX_V5.1.1CD-2007-01-04-E

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Paul Brook
> This means that time_t had to be tracked down on varying architectures > to find the size and there was an assumption made that time_t is 32 bits > - which isn't true for all targets. The next problem is that if the > target is 32 bits but the host is 64 bits then there's a sign extension > prob

[Qemu-devel] PXA board support -MainstoneII

2007-11-14 Thread Armin
Hello, I am new to Qemu and just started to poke around. This morning I pulled my first copy from cvs and noticed many Arm PXA boards being supported. Is anyone working on adding the Intel MainstoneII ? kind regards, Armin

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 20:14 +0100, Fabrice Bellard wrote: > Thayne Harbaugh wrote: > > On Wed, 2007-11-14 at 19:32 +0100, Fabrice Bellard wrote: > >> Thayne Harbaugh wrote: > >>> This patch, 44_target_posix_types.patch provides target specific posix > >>> types. These types improve target structur

Re: [Qemu-devel] [PATCH] Fix TLS support on x86

2007-11-14 Thread Stefan Weil
Fabrice Bellard schrieb: > On Tue, 2007-11-13 at 19:44 +0100, Stefan Weil wrote: >>> Hi, >>> >>> I'd like to test user mode emulation on MIPS host. >>> >>> Do you have newer versions of your patches which match >>> current CVS HEAD? TLS support is still missing there, >>> so QEMU user mode emulatio

[Qemu-devel] qemu/pc-bios README openbios-sparc32 openbios-s...

2007-11-14 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/11/14 19:41:26 Modified files: pc-bios: README openbios-sparc32 openbios-sparc64 Log message: Update OpenBIOS image to SVN revision 176. Changes: r172: Enable boot mode in the excep

[Qemu-devel] qemu/hw sun4m.c sun4u.c firmware_abi.h

2007-11-14 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/11/14 19:35:17 Modified files: hw : sun4m.c sun4u.c Added files: hw : firmware_abi.h Log message: Update OHW interface to version 3. Use common ABI descript

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 20:14 +0100, Fabrice Bellard wrote: > Thayne Harbaugh wrote: > > On Wed, 2007-11-14 at 19:32 +0100, Fabrice Bellard wrote: > >> Thayne Harbaugh wrote: > >>> This patch, 44_target_posix_types.patch provides target specific posix > >>> types. These types improve target structu

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Fabrice Bellard
Thayne Harbaugh wrote: On Wed, 2007-11-14 at 19:32 +0100, Fabrice Bellard wrote: Thayne Harbaugh wrote: This patch, 44_target_posix_types.patch provides target specific posix types. These types improve target structure creation, code similarity to kernel code and improve type casting for assig

[Qemu-devel] Build m68k-linux-user on x86_64

2007-11-14 Thread Thayne Harbaugh
m68k-linux-user fails to build on x86_64. It has never built for me in the last six months. It's a dyngen failure. Does anyone have any patches or suggestions as to how I might fix this? thank you. compile output: gcc-3.4 -Wall -O2 -g -fno-strict-aliasing -I. -I.. -I/home/thayne/dev/c2/olmec

Re: [Qemu-devel] Re: [PATCH] tget/tput deprecation

2007-11-14 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 11:21 -0700, Thayne Harbaugh wrote: > On Wed, 2007-11-14 at 09:03 -0700, Thayne Harbaugh wrote: > > This patch deprecates tget/tput and replaces them with get_user() and > > put_user() which perform proper locking. It also checks return codes > > (in most places) and fails w

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 19:32 +0100, Fabrice Bellard wrote: > Thayne Harbaugh wrote: > > This patch, 44_target_posix_types.patch provides target specific posix > > types. These types improve target structure creation, code similarity > > to kernel code and improve type casting for assignment betwee

[Qemu-devel] qemu/target-ppc cpu.h exec.h

2007-11-14 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/14 18:45:53 Modified files: target-ppc : cpu.h exec.h Log message: Fix PowerPC targets compilation on 32 bits hosts: now that the SPE extension is available for all targets,

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Fabrice Bellard
Thayne Harbaugh wrote: This patch, 44_target_posix_types.patch provides target specific posix types. These types improve target structure creation, code similarity to kernel code and improve type casting for assignment between target and host. Why is it needed ? Fabrice.

Re: [Qemu-devel] Re: [PATCH] tget/tput deprecation

2007-11-14 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 09:03 -0700, Thayne Harbaugh wrote: > This patch deprecates tget/tput and replaces them with get_user() and > put_user() which perform proper locking. It also checks return codes > (in most places) and fails with EFAULT where appropriate. I just noticed that I missed m68k-s

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 17:25 +0100, Jocelyn Mayer wrote: > On Wed, 2007-11-14 at 08:59 -0700, Thayne Harbaugh wrote: > > This patch, 44_target_posix_types.patch provides target specific posix > > types. These types improve target structure creation, code similarity > > to kernel code and improve t

[Qemu-devel] qemu linux-user/main.c linux-user/syscall.c lin...

2007-11-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard07/11/14 18:08:56 Modified files: linux-user : main.c syscall.c syscall_defs.h linux-user/x86_64: syscall.h target-i386: cpu.h helper.c Log message: x86_64 linux us

Re: [Qemu-devel] Access to serial port, guest> DOS | host >WinXP

2007-11-14 Thread penna
Hi, > So far I have tried VMware, VirtualPC, and DOSBox. All > emulate the serial port but the data read in are unreliable or > simply wrong most probably due to timing problems at the com > port (I am far from being an expert). > ... > I now tried QUEMU (host: WinXP, guest: DOS). But I even do

Re: [Qemu-devel] Access to serial port, guest> DOS | host >WinXP

2007-11-14 Thread [EMAIL PROTECTED]
Dieter, believe it or not, but I had very good results with dos programs accessing serial ports with Wine (Way better than $VMWARE). If you get Runtime error 200 it is a C run-time error that can be fixed, which was all I had to do. I used SuSE-8 at the time. I personally dont really like wine

[Qemu-devel] qemu/linux-user strace.c

2007-11-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard07/11/14 18:04:06 Modified files: linux-user : strace.c Log message: printf format fix CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/strace.c?cvsroot=qemu&r1=1.5&r2=1

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Jocelyn Mayer
On Wed, 2007-11-14 at 17:36 +, Thiemo Seufer wrote: > Jocelyn Mayer wrote: > > > > On Wed, 2007-11-14 at 08:59 -0700, Thayne Harbaugh wrote: > > > This patch, 44_target_posix_types.patch provides target specific posix > > > types. These types improve target structure creation, code similarit

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Thiemo Seufer
Jocelyn Mayer wrote: > > On Wed, 2007-11-14 at 08:59 -0700, Thayne Harbaugh wrote: > > This patch, 44_target_posix_types.patch provides target specific posix > > types. These types improve target structure creation, code similarity > > to kernel code and improve type casting for assignment betwee

[Qemu-devel] Kernel panic on Qemu-ed images runned under a live Knoppix distro.

2007-11-14 Thread Alessio Rocchi
Hi everybody. I'm writing to search for help about a problem i'm experiencing. I'm using knoppix as host system for a virtualized computing-grid testbed, implemented as two Scientific Linux (RHEL like) guests launched by the qemu emulator. Two scenarios follow: 1) I boot a Knoppix "vanilla" system

[Qemu-devel] Access to serial port, guest> DOS | host >WinXP

2007-11-14 Thread Dieter Blaas
Hi, I have a sensor that sends frequency modulated data to the serial port. These data are processed by an old program running under DOS. This works well up to Win98 (starting the software from command line) but from Win2k on it does not work any more. So far I have tried VMware, VirtualPC

Re: [Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Jocelyn Mayer
On Wed, 2007-11-14 at 08:59 -0700, Thayne Harbaugh wrote: > This patch, 44_target_posix_types.patch provides target specific posix > types. These types improve target structure creation, code similarity > to kernel code and improve type casting for assignment between target > and host. Hi, This

Re: [Qemu-devel] Re: [PATCH] tget/tput deprecation

2007-11-14 Thread Thayne Harbaugh
I didn't mention that this patch depends on the previous 44_target_posix_types.patch. On Wed, 2007-11-14 at 09:03 -0700, Thayne Harbaugh wrote: > This patch deprecates tget/tput and replaces them with get_user() and > put_user() which perform proper locking. It also checks return codes > (in most

[Qemu-devel] Re: [PATCH] tget/tput deprecation

2007-11-14 Thread Thayne Harbaugh
This patch deprecates tget/tput and replaces them with get_user() and put_user() which perform proper locking. It also checks return codes (in most places) and fails with EFAULT where appropriate. Index: qemu/linux-user/elfload.c ===

[Qemu-devel] [PATCH] target_posix_types.h

2007-11-14 Thread Thayne Harbaugh
This patch, 44_target_posix_types.patch provides target specific posix types. These types improve target structure creation, code similarity to kernel code and improve type casting for assignment between target and host. Index: qemu/linux-user/alpha/target_posix_types.h ===

[Qemu-devel] qemu/linux-user main.c syscall.c i386/syscall.h...

2007-11-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard07/11/14 15:18:40 Modified files: linux-user : main.c syscall.c linux-user/i386: syscall.h linux-user/x86_64: syscall.h Log message: i386 TLS support CVSWeb URLs: http

[Qemu-devel] qemu/linux-user qemu.h

2007-11-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard07/11/14 15:16:52 Modified files: linux-user : qemu.h Log message: always define TARGET_ABI32 if 32 bit user CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/qemu.h?cvsr

Re: [Qemu-devel] and now bus error for i386 guest

2007-11-14 Thread Shaddy Baddah
Hi again, After further culling the target list, I was able to install qemu on my sun4u host. However, running it, I get a bus error. See below for details: $ /opt/qemu-cvs/bin/qemu -m 128 -cdrom ~/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso -vnc :1 Bus error I would really like to be able to get q

Re: [Qemu-devel] cdrom disc type - is this patch correct? (unbreaks recent FreeBSD guest's -cdrom access)

2007-11-14 Thread Jens Axboe
On Tue, Nov 13 2007, Juergen Lock wrote: > Hi! > > Yesterday I learned that FreeBSD 7.0-BETA2 guests will no longer > read from the emulated cd drive, apparently because of this commit: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/atapi-cd.c.diff?r1=1.193;r2=1.193.2.1 > The fo

[Qemu-devel] qemu/linux-user mmap.c

2007-11-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard07/11/14 11:29:07 Modified files: linux-user : mmap.c Log message: fixed target_mmap() if host page size < TARGET_PAGE_SIZE CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-u

[Qemu-devel] sh4: more system emulator patches

2007-11-14 Thread Magnus Damm
qemu-cvs-20071114-sh-timer-intc.patch Description: Binary data

[Qemu-devel] qemu cpu-all.h exec.c linux-user/qemu.h linux-u...

2007-11-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard07/11/14 10:51:01 Modified files: . : cpu-all.h exec.c linux-user : qemu.h syscall.c Log message: suppressed page_unprotect_range() - fixed access_ok() CVSWeb URLs

[Qemu-devel] qemu Makefile tests/Makefile

2007-11-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard07/11/14 10:34:57 Modified files: . : Makefile tests : Makefile Log message: removed obsolete test2 target CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qe

[Qemu-devel] qemu/linux-user uaccess.c

2007-11-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard07/11/14 10:17:35 Modified files: linux-user : uaccess.c Log message: added lock_user() in target_strlen() CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/uaccess.c?cvs

Re: [Qemu-devel] s390 host support

2007-11-14 Thread Bastian Blank
On Tue, Nov 13, 2007 at 03:05:25PM +0100, Ulrich Hecht wrote: > gcc 3.3 (Hammer branch, really vintage stuff) with recent (2.18.50) > binutils. Okay, ancient compiler with the other binutils branch. I did not use them since years. > I am actually suspecting this to be a compiler bug, but I did n

Re: [Qemu-devel] now ppc build failure: dyngen: empty code for op_splatw_T1_64

2007-11-14 Thread Shaddy Baddah
Hi again, Disabling the failed alpha build (from my previous email) via --target-list, I now find that the ppc build fails on sun4u (sun4m userland). A snip of the error is inlined below: ... /home/shaddy/qemu-cvs/qemu/target-ppc/op.c:2924: warning: right shift count >= width of type ../dy