qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Summary of problems with Mandrake 10
@ 2004-06-07 13:28 Jean-Michel POURE
  2004-06-07 14:01 ` [Qemu-devel] Status of user-mode networking for win32 Elefterios Stamatogiannakis
  0 siblings, 1 reply; 10+ messages in thread
From: Jean-Michel POURE @ 2004-06-07 13:28 UTC (permalink / raw)
  To: qemu-devel

Dear all,

Mandrake 10 final version is available for download from 
http://www.mandrakelinux.com/en/ftp.php3

The installation CD has two boot options:
- alt1: kernel 2.6.3
- alt0: kernel 2.4.25

alt0 always results in "No CDROM device found".

alt1 results in:
- segfault if qemu started in frame buffer mode (no pci)
- segfault of X11 is qemu is started with -pci -cirrusvga. Installation 
continues in text mode.

Today, the only way to install Mandrake 10 is to start qemu in PCI mode with 
Cirrusvga and type alt1.

Maybe it would be nice to debug this Mandrake10 problems and understand the 
underlying causes. Just my 0.01 euro. I really would like to be able to 
install a Mandrake 10 distro under Qemu...

Cheers,
Jean-Michel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Qemu-devel] Status of user-mode networking for win32
  2004-06-07 13:28 [Qemu-devel] Summary of problems with Mandrake 10 Jean-Michel POURE
@ 2004-06-07 14:01 ` Elefterios Stamatogiannakis
  2004-06-07 14:07   ` [Qemu-devel] Using QEMU-fast Sander Nagtegaal
  2004-06-07 14:45   ` [Qemu-devel] Status of user-mode networking for win32 Renzo Davoli
  0 siblings, 2 replies; 10+ messages in thread
From: Elefterios Stamatogiannakis @ 2004-06-07 14:01 UTC (permalink / raw)
  To: qemu-devel

  I managed to boot the slax live-cd with user mode networking with host 
win2k.

  It discovers the ne2000 as a RealTek RTL-8029 (found at 0xc000, IRQ 9, 
52:54:00:12:34:56)

  It gets an ip address from dhcp (it gets: 10.0.2.15 from the dhcp 
server:10.0.2.2, gateway:10.0.2.2).

  The problem is that it doesn't seem to connect to the outside world.

  Any idea on what else to check?.

  thanks.

  teris.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Qemu-devel] Using QEMU-fast
  2004-06-07 14:01 ` [Qemu-devel] Status of user-mode networking for win32 Elefterios Stamatogiannakis
@ 2004-06-07 14:07   ` Sander Nagtegaal
  2004-06-07 15:50     ` Pavel Janík
  2004-06-07 14:45   ` [Qemu-devel] Status of user-mode networking for win32 Renzo Davoli
  1 sibling, 1 reply; 10+ messages in thread
From: Sander Nagtegaal @ 2004-06-07 14:07 UTC (permalink / raw)
  To: qemu-devel

How to run QEMU in the fast mode? I compiled qemu using ./configure | make | 
make install and when I type qemu-fast my computer doesn't recognize the 
command. Only qemu and qemu-i386 work. How to use qemu-fast? Or how to enable 
it?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] Status of user-mode networking for win32
  2004-06-07 14:01 ` [Qemu-devel] Status of user-mode networking for win32 Elefterios Stamatogiannakis
  2004-06-07 14:07   ` [Qemu-devel] Using QEMU-fast Sander Nagtegaal
@ 2004-06-07 14:45   ` Renzo Davoli
  2004-06-07 14:57     ` [Qemu-devel] CVS repository?? Ishwar Rattan
                       ` (2 more replies)
  1 sibling, 3 replies; 10+ messages in thread
From: Renzo Davoli @ 2004-06-07 14:45 UTC (permalink / raw)
  To: qemu-devel

On Mon, Jun 07, 2004 at 05:01:35PM +0300, Elefterios Stamatogiannakis wrote:
>  The problem is that it doesn't seem to connect to the outside world.
I have seen with a packet sniffer that the packet payload was 16 bits
misaligned.

I have tried the workaround here included as a patch and 
Win98+vdeqemu pci works.

I am trying to figure out if this is a correct patch or it is the 
writel/readl call parameter to be wrong. (word sized transfers should be
aligned...)

renzo
---------------
--- hw/ne2000.c.orig    2004-06-07 16:14:28.000000000 +0200
+++ hw/ne2000.c 2004-06-07 16:27:14.000000000 +0200
@@ -401,7 +401,8 @@
 static inline void ne2000_mem_writel(NE2000State *s, uint32_t addr, 
                                      uint32_t val)
 {
-    addr &= ~3; /* XXX: check exact behaviour if not even */
+    /*addr &= ~3; XXX: check exact behaviour if not even */
+    addr &= ~1; /* XXX: check exact behaviour if not even */
     if (addr < 32 || 
         (addr >= NE2000_PMEM_START && addr < NE2000_MEM_SIZE)) {
         *(uint32_t *)(s->mem + addr) = cpu_to_le32(val);
@@ -431,7 +432,8 @@
 
 static inline uint32_t ne2000_mem_readl(NE2000State *s, uint32_t addr)
 {
-    addr &= ~3; /* XXX: check exact behaviour if not even */
+    /*addr &= ~3;  XXX: check exact behaviour if not even */
+    addr &= ~1; /* XXX: check exact behaviour if not even */
     if (addr < 32 || 
         (addr >= NE2000_PMEM_START && addr < NE2000_MEM_SIZE)) {
         return le32_to_cpu(*(uint32_t *)(s->mem + addr));

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Qemu-devel] CVS repository??
  2004-06-07 14:45   ` [Qemu-devel] Status of user-mode networking for win32 Renzo Davoli
@ 2004-06-07 14:57     ` Ishwar Rattan
  2004-06-07 15:48       ` Pavel Janík
  2004-06-07 20:16       ` vaise
  2004-06-07 15:00     ` [Qemu-devel] Status of user-mode networking for win32 Elefterios Stamatogiannakis
  2004-06-07 17:14     ` Renzo Davoli
  2 siblings, 2 replies; 10+ messages in thread
From: Ishwar Rattan @ 2004-06-07 14:57 UTC (permalink / raw)
  To: qemu-devel


Where can I get latest/unstable version of qemu?

-ishwar

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] Status of user-mode networking for win32
  2004-06-07 14:45   ` [Qemu-devel] Status of user-mode networking for win32 Renzo Davoli
  2004-06-07 14:57     ` [Qemu-devel] CVS repository?? Ishwar Rattan
@ 2004-06-07 15:00     ` Elefterios Stamatogiannakis
  2004-06-07 17:14     ` Renzo Davoli
  2 siblings, 0 replies; 10+ messages in thread
From: Elefterios Stamatogiannakis @ 2004-06-07 15:00 UTC (permalink / raw)
  To: qemu-devel

  Mmmmmm.

  If i understand correctly ne2000 links the guest with the host.

  This connection works for me because i can get a dhcp lease from the 
qemu-slirp throught ne2000.

  I can also ping the dhcp server.

  My problem is with the host -> internet connection from what i can 
understand.

  Qemu doesn't seem to open a "real" socket with the outside world at all.

  Also all the above are using win2k as a host with linux as a guest.

  teris.


Renzo Davoli wrote:

> On Mon, Jun 07, 2004 at 05:01:35PM +0300, Elefterios Stamatogiannakis wrote:
> 
>> The problem is that it doesn't seem to connect to the outside world.
> 
> I have seen with a packet sniffer that the packet payload was 16 bits
> misaligned.
> 
> I have tried the workaround here included as a patch and 
> Win98+vdeqemu pci works.
> 
> I am trying to figure out if this is a correct patch or it is the 
> writel/readl call parameter to be wrong. (word sized transfers should be
> aligned...)
> 
> renzo
> ---------------
> --- hw/ne2000.c.orig    2004-06-07 16:14:28.000000000 +0200
> +++ hw/ne2000.c 2004-06-07 16:27:14.000000000 +0200
> @@ -401,7 +401,8 @@
>  static inline void ne2000_mem_writel(NE2000State *s, uint32_t addr, 
>                                       uint32_t val)
>  {
> -    addr &= ~3; /* XXX: check exact behaviour if not even */
> +    /*addr &= ~3; XXX: check exact behaviour if not even */
> +    addr &= ~1; /* XXX: check exact behaviour if not even */
>      if (addr < 32 || 
>          (addr >= NE2000_PMEM_START && addr < NE2000_MEM_SIZE)) {
>          *(uint32_t *)(s->mem + addr) = cpu_to_le32(val);
> @@ -431,7 +432,8 @@
>  
>  static inline uint32_t ne2000_mem_readl(NE2000State *s, uint32_t addr)
>  {
> -    addr &= ~3; /* XXX: check exact behaviour if not even */
> +    /*addr &= ~3;  XXX: check exact behaviour if not even */
> +    addr &= ~1; /* XXX: check exact behaviour if not even */
>      if (addr < 32 || 
>          (addr >= NE2000_PMEM_START && addr < NE2000_MEM_SIZE)) {
>          return le32_to_cpu(*(uint32_t *)(s->mem + addr));
> 
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] CVS repository??
  2004-06-07 14:57     ` [Qemu-devel] CVS repository?? Ishwar Rattan
@ 2004-06-07 15:48       ` Pavel Janík
  2004-06-07 20:16       ` vaise
  1 sibling, 0 replies; 10+ messages in thread
From: Pavel Janík @ 2004-06-07 15:48 UTC (permalink / raw)
  To: qemu-devel

   From: Ishwar Rattan <ishwar@pali.cps.cmich.edu>
   Date: Mon, 7 Jun 2004 10:57:43 -0400 (EDT)

   > Where can I get latest/unstable version of qemu?

Search for "CVS" at QEMU's homepage (http://fabrice.bellard.free.fr/qemu/).
-- 
Pavel Janík

-EINVAL    ISO madness, if this happens: Log off and go home.
                  -- Error code description in Linux's USB code

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] Using QEMU-fast
  2004-06-07 14:07   ` [Qemu-devel] Using QEMU-fast Sander Nagtegaal
@ 2004-06-07 15:50     ` Pavel Janík
  0 siblings, 0 replies; 10+ messages in thread
From: Pavel Janík @ 2004-06-07 15:50 UTC (permalink / raw)
  To: qemu-devel

   From: Sander Nagtegaal <trunks-carracho@planet.nl>
   Date: Mon, 07 Jun 2004 16:07:37 +0200

   > How to run QEMU in the fast mode? I compiled qemu using ./configure |
   > make | make install

Really? ;-)

Please show us the output of configure, especially line containing the
string "target list".
-- 
Pavel Janík

Make sure comments and code agree.
                  --  The Elements of Programming Style (Kernighan & Plaugher)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] Status of user-mode networking for win32
  2004-06-07 14:45   ` [Qemu-devel] Status of user-mode networking for win32 Renzo Davoli
  2004-06-07 14:57     ` [Qemu-devel] CVS repository?? Ishwar Rattan
  2004-06-07 15:00     ` [Qemu-devel] Status of user-mode networking for win32 Elefterios Stamatogiannakis
@ 2004-06-07 17:14     ` Renzo Davoli
  2 siblings, 0 replies; 10+ messages in thread
From: Renzo Davoli @ 2004-06-07 17:14 UTC (permalink / raw)
  To: qemu-devel

On Mon, Jun 07, 2004 at 04:45:51PM +0200, Renzo Davoli wrote:
> I have tried the workaround here included as a patch and 
> Win98+vdeqemu pci works.
I have tried the patch also with -user-net and it seems  to work.

Windows 98 has a strange behavior with DHCP.
If it remembers an old lease it tries twice to have the address renewed
and regardless of the NAK or new address from DHCP it sends a ping (ICMP
echo), if nobody answers it picks up the old address.
TO solve this problem from a MS-DOS console window type the following commands

ipconfig /release 1
ipconfig /renew 1

renzo

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] CVS repository??
  2004-06-07 14:57     ` [Qemu-devel] CVS repository?? Ishwar Rattan
  2004-06-07 15:48       ` Pavel Janík
@ 2004-06-07 20:16       ` vaise
  1 sibling, 0 replies; 10+ messages in thread
From: vaise @ 2004-06-07 20:16 UTC (permalink / raw)
  To: qemu-devel

On Monday 07 June 2004 15:57, Ishwar Rattan wrote:
> Where can I get latest/unstable version of qemu?

Or you can use the graphical cervisia program.
Go to the "Repository" menu, then "Checkout"

fill the lines : 
Repository :           :ext:anoncvs@savannah.nongnu.org:/cvsroot/qemu
Module :                  qemu
branch tag : (empty)
Working folder : (your folder)

Dsant, Lyon, France

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-06-07 19:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-07 13:28 [Qemu-devel] Summary of problems with Mandrake 10 Jean-Michel POURE
2004-06-07 14:01 ` [Qemu-devel] Status of user-mode networking for win32 Elefterios Stamatogiannakis
2004-06-07 14:07   ` [Qemu-devel] Using QEMU-fast Sander Nagtegaal
2004-06-07 15:50     ` Pavel Janík
2004-06-07 14:45   ` [Qemu-devel] Status of user-mode networking for win32 Renzo Davoli
2004-06-07 14:57     ` [Qemu-devel] CVS repository?? Ishwar Rattan
2004-06-07 15:48       ` Pavel Janík
2004-06-07 20:16       ` vaise
2004-06-07 15:00     ` [Qemu-devel] Status of user-mode networking for win32 Elefterios Stamatogiannakis
2004-06-07 17:14     ` Renzo Davoli

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).