[Qemu-devel] Re: Qemu PPC ethernet checksum bug
On Sat, 2007-03-17 at 07:53 -0700, Wessel, Jason wrote: Hi Jocelyn, Previously it was mentioned that there is a regression that was introduced by your original merge on March 8, 2007. I tested this latest code and it is still there. The nature of the problem is that the networking does not work when booting QEMU and using the built in slirp networking. A dhcp packet will work but the udp and tcp packets do not appear to send. It appears that the packet check sum computed by the Linux network stack is incorrect. When the code in slirp/ip_input.c checks the checksum of the udp or tcp packet it throws the packet away because the checksum was invalid. I took the code from March 7, 2007 in cvs for target-ppc/* and used it with the latest of everything else and the packet checksums are computed correct and the target boots with networking. This points to the problem being what ever instructions the kernel is using to compute the checksum are not being translated correctly by your latest changes. The next step will be to take a closer look at which instructions are used to compute the checksum. I thought I might send out some further analysis of the original stated problem in case you had an idea of where to look to fix the problem off the top of your head. If you have any ideas, please drop me some e-mail. Also with regard to the 2.6.21 kernel and the ppc-prep machine, I patched the kernel to make it send PCI interrupts the same way the prior kernels did. It seems there is a regression there inside the kernel in the way that the IRQ acknowledgements are handled. It could be that the emulation is not right in QEMU, but I figure that mystery is one for another day. If you need a kernel that boots on the ppc-prep please let me know. I also patched the prep loader in the linux kernel so I could boot an image that was larger than 4 megs. Hi, My concern is I cannot reproduce your problem for the following reasons: - the PREP machine (and the heathrow too...) is broken and cannot even boot. PCI and/or IRQ are broken, so the Linux kernel hangs. - when using the known to work Linux distributions on the mac99 machine (please take a look at the STATUS file), I am able to download a kernel from www.kernel.org, which makes me think TCP packets are sent and received correctly, with valid checksums. Then, it would be a great thing if you could isolate the failing routine and, for example, make a test case usable with linux-user emulation. This would be a great help to solve this issue. Thanks by advance. -- J. Mayer [EMAIL PROTECTED] Never organized ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] Latest SVN fails to build on Fedora Core 6 (same with 0.9.0)
Am Sun, 18 Mar 2007 00:45:00 -0400 schrieb Tony Nelson [EMAIL PROTECTED]: We at SourceMage GNU/Linux got reports of failed builds with that error that are apparently fixed by reducing -march cflag to pentium-mmx as opposed to pentium2,3,4 or pentium-m as well as any athlon. Any sse flags also seem to trigger this error. qemu 0.8.6 built without probs with -march=pentium-m, for example (we still use the same compiler gcc-3.4.6 for this). Could this be caused by having a 586 kernel installed? There's a bug in FC6 anaconda that causes it to sometimes install the 586 kernel when it should have installed the 686 kernel. The fix is to install the 686 kernel. Now that surprises me. The chosen cpu setting for the kernel triggers an error in _compiling_ qemu? Or is this a special bug with the Fedora i586 kernel? Well, my laptop system, where this also is reproducable, is totally compiled with -march=pentium-m and the kernel is configured for a Pentium-M. Do you have more information on how the kernel triggering this is possible? And why it is happening with wemu-0.9.0 but not with 0.8.6? Thomas. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu/target-ppc op.c op_helper.c op_helper.h op...
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/03/18 08:47:10 Modified files: target-ppc : op.c op_helper.c op_helper.h op_helper_mem.h op_mem.h translate.c Log message: As icbi is not a priviledge instruction and is treated as a load by the MMU it needs to be implemented for every MMU translation mode. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op.c?cvsroot=qemur1=1.24r2=1.25 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.19r2=1.20 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.h?cvsroot=qemur1=1.2r2=1.3 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper_mem.h?cvsroot=qemur1=1.8r2=1.9 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_mem.h?cvsroot=qemur1=1.9r2=1.10 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemur1=1.45r2=1.46 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] Latest SVN fails to build on Fedora Core 6 (same with 0.9.0)
Could this be caused by having a 586 kernel installed? There's a bug in FC6 anaconda that causes it to sometimes install the 586 kernel when it should have installed the 686 kernel. The fix is to install the 686 kernel. The first part is true, the second is not, in that I already upgraded to the 686 kernel, so the qemu build on FC6 is not fixed by installing the 686 kernel. -Nigel -- Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk begin:vcard fn:Nigel Horne n:Horne;Nigel org:NJH Music email;internet:[EMAIL PROTECTED] tel;fax:+44 870 705 9334 note:Skype: nigelhorne x-mozilla-html:FALSE version:2.1 end:vcard ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu hw/mips_int.c hw/mips_timer.c target-mips/...
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 07/03/18 12:43:41 Modified files: hw : mips_int.c mips_timer.c target-mips: helper.c op.c Log message: Fix BD flag handling, cause register contents, implement some more bits for R2 interrupt handling. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mips_int.c?cvsroot=qemur1=1.1r2=1.2 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mips_timer.c?cvsroot=qemur1=1.2r2=1.3 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/helper.c?cvsroot=qemur1=1.26r2=1.27 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op.c?cvsroot=qemur1=1.26r2=1.27 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu/hw gt64xxx.c mips_malta.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 07/03/18 22:18:43 Modified files: hw : gt64xxx.c mips_malta.c Log message: A VGA card for the Malta board. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/gt64xxx.c?cvsroot=qemur1=1.5r2=1.6 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mips_malta.c?cvsroot=qemur1=1.16r2=1.17 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu Makefile.target configure
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 07/03/18 23:23:31 Modified files: . : Makefile.target configure Log message: Disable compiler options dangerous for op compilation. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile.target?cvsroot=qemur1=1.149r2=1.150 http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cvsroot=qemur1=1.130r2=1.131 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] qemu Makefile Makefile.target configure
Thiemo Seufer [EMAIL PROTECTED] wrote: CVSROOT: /sources/qemu Module name: qemu Changes by: Thiemo Seufer ths 07/03/17 15:00:38 Modified files: . : Makefile Makefile.target configure Log message: Better way to select -lrt, by Andrzei Zaborowski. Unfortunately, this introduced a regression in Solaris. Solaris needs -lrt. This was fixed a couple of weeks back, but this patch was posted back in november and wasn't regressed on the current code. I can post a patch, but we just need the solaris check taken out of the configure script for AIO_LIBS Thanks, Ben CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemur1=1.113r2=1.114 http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile.target?cvsroot=qemur1=1.147r2=1.148 http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cvsroot=qemur1=1.129r2=1.130 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] please review this scsi patch
thanks diff Description: Binary data ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel