Re: [Qemu-devel] [PATCH] IRQ sharing in PCI bus

2006-09-24 Thread Blue Swirl
As mentioned in the comments for the new code it looks like sparc64 IRQs 
are
totally busted. I couldn't figure out out what the correct implementation 
was

supposed to be, so I made something up.


Sparc64 IRQs are completely unimplemented. I've postponed that until I get 
OpenBIOS to the point where it can do something sensible about this. The 
current OpenBIOS status is that the Unix port runs nicely on native HW, but 
under Qemu the bootable version crashes during Forth execution. But I'd say 
we are not too far from a working BIOS.


If you are interested, the IRQ definitions can be found in Sun document 
805-0087 (UltraSPARC IIi User's Manual, 
http://www.sun.com/processors/manuals/805-0087.pdf), pages 107-126 for 
interrupt controller and 291-334 for PCI/IOMMU/interrupt definitions.


_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/




___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Win32 build

2006-09-24 Thread Alexey Eremenko
On 9/24/06, Kazu [EMAIL PROTECTED] wrote:
Hi,Win32 build has been still broken.Regards,Kazu___Qemu-devel mailing listQemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-develHi Kazu !I have heard, that you are Win32 Qemu maintainer; I am Windows, Linux and Qemu user myself so I would like to work out some issues with  you.
1) I would like to build user-friendly setup for Qemu.2) I would like to have the setup with extras:Qemu-accelerator(s), GUI(s), TAP-Win32 driver, small Linux image etc...If you disagree with #2, then:
3) I can build 2 setups for Qemu - one for minimal Qemu (the official package) and second is Qemu+extras.(for user's convenience)What do you think?
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Physical hard disk drive for win32

2006-09-24 Thread Alexey Eremenko
Is it hard to access raw hardware under Windows ? like Hard Disk...?Under Linux it is easy.
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] [PATCH] Make with dependency checking

2006-09-24 Thread Stefan Weil
This small patch adds dependency checking for QEMU make.
So I no longer have to rebuild all after a cvs update...

Regards
Stefan

diff -u -b -B -r1.128 Makefile.target
--- Makefile.target 23 Sep 2006 17:40:57 -  1.128
+++ Makefile.target 24 Sep 2006 10:15:30 -
@@ -1,4 +1,5 @@
 include config.mak
+-include *.d

 TARGET_BASE_ARCH:=$(TARGET_ARCH)
 ifeq ($(TARGET_ARCH), x86_64)
@@ -19,6 +20,7 @@
 endif
 CFLAGS=-Wall -O2 -g -fno-strict-aliasing
 #CFLAGS+=-Werror
+CFLAGS += -MMD
 LDFLAGS=-g
 LIBS=
 HELPER_CFLAGS=$(CFLAGS)



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] why is not kqemu free?

2006-09-24 Thread Robert Annessi
On 09/24/06 01:23, Mihamina Rakotomandimby wrote:
 I am looking for an explanation about kqemu is not free.

It is free (as in beer), but not open source.
Read the faq:
http://kidsquid.com/cgi-bin/moin.cgi/FrequentlyAskedQuestions#head-7550ed5498dedce0f1b9a50dd47e490db719b76e

Regards,
Robert



signature.asc
Description: OpenPGP digital signature
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Win32 build

2006-09-24 Thread Kazu
Alexey Eremenko wrote:

Hi Kazu !

I have heard, that you are Win32 Qemu maintainer; I am Windows, Linux and
Qemu user myself so I would like to work out some issues with you.

I am not a meaitainer. I only provide binary packages.

1) I would like to build user-friendly setup for Qemu.
2) I would like to have the setup with extras:
Qemu-accelerator(s), GUI(s), TAP-Win32 driver, small Linux image etc...
If you disagree with #2, then:
3) I can build 2 setups for Qemu - one for minimal Qemu (the official
package) and second is Qemu+extras.(for user's convenience)


What do you think?

If you want to provide your binary, do it and announce it in this mailing
list.

Regards,
Kazu



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] Re: Physical hard disk drive for win32

2006-09-24 Thread Ottavio Caruso
 Kazu wote:

 Hi,
 
 An attached patch fixes to use raw access to
 physical hard disk drive for
 win32.
 It can be used as -hdb \\.\PhysicalDrive0 or -hdb
 //./PhysicalDrive0.
 

Any change to see the bianry posted to your site any
soon? Unfortunately I cannot build it myself, but this
is a major breakthrough. Thanks Kazu! 


Ottavio Caruso
--
Please follow up to mailing list!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Physical hard disk drive for win32

2006-09-24 Thread Kazu
Alexey Eremenko wrote:

Is it hard to access raw hardware under Windows ? like Hard Disk...?

Under Linux it is easy.

CVS build cannot access host's physical hard disk drive by -hdb
//./PhysicalDrive0 after AIO was introduced.
So I made a patch to fix it.

Regards,
Kazu



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] sparc32: kernel crash while writing to disk

2006-09-24 Thread Aurelien Jarno
Hi,

I have successfully installed a Debian instable on an emulated
SparcStation 5 by QEMU. Globally it works correctly, but I have
experienced a few kernel crashes, due to a problem with the ESP
controller. It seems to occur while writing a high volume of data to
disk, although that not always crash the kernel. Note that I am using
the CVS version of QEMU.

You will find the kernel log below. Does somebody have an idea? I don't
know how to debug such a thing, but I can make some tests if needed.

Thanks,
Aurelien


esp0: !BSERV after data, probably to msgout
esp0: !BSERV after data, probably to msgout
esp0: Aborting command
esp0: dumping state
esp0: dma -- cond_rega4000211 addrf077d000
esp0: SW [sreg00 sstep04 ireg18]
esp0: HW reread [sreg83 sstep00 ireg10]
esp0: current command [tgt00 lun00 pphaseDATAOUT cphaseDATAOUT]
esp0: disconnected 
esp0: Aborting command
esp0: dumping state
esp0: dma -- cond_rega4000210 addrf077d000
esp0: SW [sreg00 sstep04 ireg18]
esp0: HW reread [sreg03 sstep00 ireg10]
esp0: current command [tgt00 lun00 pphaseUNISSUED cphaseUNISSUED]
esp0: disconnected 
esp0: Resetting scsi bus
esp0: SCSI bus reset interrupt
Unable to handle kernel NULL pointer dereference
tsk-{mm,active_mm}-context = 0023
tsk-{mm,active_mm}-pgd = fc019400
  \|/  \|/
  @'/ ,. \`@
  /_| \__/ |_\
 \__U_/
klogd(2895): Oops [#1]
PSR: 04400fc7 PC: fe61f618 NPC: fe61f61c Y: Not tainted
PC: esp_do_data_finale+0x36c/0x3b8 [esp]
%G:    0014 fd01a000   0040  f1a82000 0001
%O: fe620c00       fff0  f1a83b38 fe61f300
RPC: esp_do_data_finale+0x54/0x3b8 [esp]
%L: f38f98a0    f01f7500     f390c000 000c
%I: f3904a84 000c  0001    0eebb3c0  f1a83ba0 fe61ee28
Caller[fe61ee28]: esp_work_bus+0x5c/0x6c [esp]
Caller[fe61fd3c]: esp_intr+0x1d8/0x310 [esp]
Caller[f0013154]: handler_irq+0x8c/0xd4
Caller[f0010bd0]: patch_handler_irq+0x0/0x24
Caller[f0190eb4]: here+0x10/0x90
Caller[f002fc08]: do_syslog+0x110/0x3e8
Caller[f0069900]: vfs_read+0xa0/0x15c
Caller[f0069e28]: sys_read+0x30/0x64
Caller[f001162c]: syscall_is_too_hard+0x34/0x40
Caller[000119b0]: 0x119b0
Instruction DUMP: c2242118  8400a014  c4242114 c200a010 c2242110  c200a00c  
c224210c  c20e203a  82086007 
Kernel panic - not syncing: Aiee, killing interrupt handler!
 0Press Stop-A (L1-A) to return to the boot prom

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu vl.h hw/apb_pci.c hw/grackle_pci.c hw/pci....

2006-09-24 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 06/09/24 17:01:44

Modified files:
.  : vl.h 
hw : apb_pci.c grackle_pci.c pci.c piix_pci.c 
 prep_pci.c unin_pci.c versatile_pci.c 

Log message:
Implement sun4u PCI IRQ routing.
Allow multiple PCI busses and PCI-PCI bridges.
Fix bugs in Versatile PCI implementation.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemur1=1.152r2=1.153
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/apb_pci.c?cvsroot=qemur1=1.2r2=1.3
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/grackle_pci.c?cvsroot=qemur1=1.2r2=1.3
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pci.c?cvsroot=qemur1=1.30r2=1.31
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/piix_pci.c?cvsroot=qemur1=1.3r2=1.4
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/prep_pci.c?cvsroot=qemur1=1.2r2=1.3
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/unin_pci.c?cvsroot=qemur1=1.2r2=1.3
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/versatile_pci.c?cvsroot=qemur1=1.3r2=1.4


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/pc-bios bios.bin bios.diff

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 18:38:12

Modified files:
pc-bios: bios.bin bios.diff 

Log message:
moved PCI, MP and ACPI init to bios

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/pc-bios/bios.bin?cvsroot=qemurev=1.15
http://cvs.savannah.gnu.org/viewcvs/qemu/pc-bios/bios.diff?cvsroot=qemur1=1.12r2=1.13


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/target-i386 cpu.h exec.h helper.c helper2....

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 18:40:46

Modified files:
target-i386: cpu.h exec.h helper.c helper2.c op.c 
 translate.c 

Log message:
added SMM support

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/cpu.h?cvsroot=qemur1=1.36r2=1.37
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/exec.h?cvsroot=qemur1=1.30r2=1.31
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/helper.c?cvsroot=qemur1=1.69r2=1.70
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/helper2.c?cvsroot=qemur1=1.43r2=1.44
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/op.c?cvsroot=qemur1=1.45r2=1.46
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/translate.c?cvsroot=qemur1=1.60r2=1.61


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu cpu-all.h cpu-exec.c vl.c

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 18:41:56

Modified files:
.  : cpu-all.h cpu-exec.c vl.c 

Log message:
added SMM support

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/cpu-all.h?cvsroot=qemur1=1.58r2=1.59
http://cvs.savannah.gnu.org/viewcvs/qemu/cpu-exec.c?cvsroot=qemur1=1.85r2=1.86
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemur1=1.215r2=1.216


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu Makefile.target hw/acpi-dsdt.hex

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 18:45:12

Modified files:
.  : Makefile.target 
Removed files:
hw : acpi-dsdt.hex 

Log message:
moved ACPI table init to BIOS

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile.target?cvsroot=qemur1=1.128r2=1.129
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/acpi-dsdt.hex?cvsroot=qemur1=1.3r2=0


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/hw acpi-dsdt.dsl

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 18:45:28

Removed files:
hw : acpi-dsdt.dsl 

Log message:
moved ACPI table init to BIOS

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/acpi-dsdt.dsl?cvsroot=qemur1=1.3r2=0


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/hw pc.c

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 18:48:00

Modified files:
hw : pc.c 

Log message:
moved MP table init to BIOS

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pc.c?cvsroot=qemur1=1.61r2=1.62


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/hw piix_pci.c

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 18:49:13

Modified files:
hw : piix_pci.c 

Log message:
moved PCI init to BIOS - added ISA memory mapping registers and SMM 
support

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/piix_pci.c?cvsroot=qemur1=1.4r2=1.5


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu vl.h

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 18:49:43

Modified files:
.  : vl.h 

Log message:
moved PCI init to BIOS

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemur1=1.153r2=1.154


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu Changelog

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 18:49:55

Modified files:
.  : Changelog 

Log message:
update

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/Changelog?cvsroot=qemur1=1.124r2=1.125


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] [BUG?] Duplicate PCI setup?

2006-09-24 Thread Stefan Weil
When I start QEMU for i386 with an emulated PCI network card,
this card's PCI memory space is setup twice:
once by QEMU, a second time from BIOS.

PCI I/O regions both times get the same address:
ne2000_map: region=0, addr=0xc100, size=0x0100, type=1
ne2000_map: region=0, addr=0xc100, size=0x0100, type=1

PCI memory regions get two different addresses.

Maybe the setup by QEMU was needed with an earlier PC BIOS
and is no longer needed today?

Stefan



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] [BUG?] Duplicate PCI setup?

2006-09-24 Thread Paul Brook
On Sunday 24 September 2006 19:52, Stefan Weil wrote:
 When I start QEMU for i386 with an emulated PCI network card,
 this card's PCI memory space is setup twice:
 once by QEMU, a second time from BIOS.

 PCI I/O regions both times get the same address:
 ne2000_map: region=0, addr=0xc100, size=0x0100, type=1
 ne2000_map: region=0, addr=0xc100, size=0x0100, type=1

 PCI memory regions get two different addresses.

So? Why is this a problem?
PCI is designed to allow dynamic resource (re-)configuration.

 Maybe the setup by QEMU was needed with an earlier PC BIOS
 and is no longer needed today?

From hw/piix_pci.c

/*
 * This function initializes the PCI devices as a normal PCI BIOS
 * would do. It is provided just in case the BIOS has no support for
 * PCI.
 */

Paul


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/hw piix_pci.c

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 19:31:43

Modified files:
hw : piix_pci.c 

Log message:
implement i440 instead of i450 ISA memory mappings to be compatible 
with Bochs

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/piix_pci.c?cvsroot=qemur1=1.5r2=1.6


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/pc-bios bios.bin bios.diff

2006-09-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/09/24 19:36:49

Modified files:
pc-bios: bios.bin bios.diff 

Log message:
updated

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/pc-bios/bios.bin?cvsroot=qemurev=1.16
http://cvs.savannah.gnu.org/viewcvs/qemu/pc-bios/bios.diff?cvsroot=qemur1=1.13r2=1.14


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] [BUG?] Duplicate PCI setup?

2006-09-24 Thread Stefan Weil
This was fixed with the latest CVS changes.
Fabrice, you are really fast!

Merci,
Stefan

On Sunday 24 September 2006 19:52, Stefan Weil wrote:

 When I start QEMU for i386 with an emulated PCI network card,
 this card's PCI memory space is setup twice:
 once by QEMU, a second time from BIOS.

 PCI I/O regions both times get the same address:
 ne2000_map: region=0, addr=0xc100, size=0x0100, type=1
 ne2000_map: region=0, addr=0xc100, size=0x0100, type=1

 PCI memory regions get two different addresses.


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel