Skip to contentSkip to conversation

Summary of problems with Mandrake 10

Qemu-devel Jean-Michel POURE 7 participants 10 messages Jun 7, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

[Qemu-devel] Status of user-mode networking for win32

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.

#2 lore raw

[Qemu-devel] Using QEMU-fast

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?

#4 lore raw

Re: [Qemu-devel] Status of user-mode networking for win32

In reply to Elefterios Stamatogiannakis
Quoted 1 line · Elefterios Stamatogiannakis

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

ne2000.c 2004-06-07 16:27:14.000000000 +0200 renamed from ne2000.c.orig 2004-06-07 16:14:28.000000000 +0200 +4 -2
@@ -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));
#5 lore raw

[Qemu-devel] CVS repository??

Where can I get latest/unstable version of qemu?

-ishwar

#8 lore raw

Re: [Qemu-devel] Status of user-mode networking for win32

In reply to Renzo Davoli

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.

Quoted 43 lines · Renzo Davoli
Quoted 1 line · Elefterios Stamatogiannakis

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

ne2000.c 2004-06-07 16:27:14.000000000 +0200 renamed from ne2000.c.orig 2004-06-07 16:14:28.000000000 +0200 +4 -2
@@ -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
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#3 lore raw

Re: [Qemu-devel] Using QEMU-fast

In reply to Sander Nagtegaal

From: Sander Nagtegaal <[email protected]>
Date: Mon, 07 Jun 2004 16:07:37 +0200

Quoted 2 lines

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

Signature · 4 lines
Pavel Janík

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

Re: [Qemu-devel] Status of user-mode networking for win32

In reply to Renzo Davoli
Quoted 2 lines · Renzo Davoli

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

#7 lore raw

Re: [Qemu-devel] CVS repository??

In reply to Ishwar Rattan
Quoted 1 line · Ishwar Rattan

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:[email protected]:/cvsroot/qemu
Module :                  qemu
branch tag : (empty)
Working folder : (your folder)

Dsant, Lyon, France