qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!


From: BALATON Zoltan
Subject: Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!
Date: Wed, 13 Mar 2019 18:04:11 +0100 (CET)
User-agent: Alpine 2.21.9999 (BSF 287 2018-06-16)

On Tue, 12 Mar 2019, Markus Armbruster wrote:
   = hw/mips/mips_fulong2e.c =
   Aleksandar Markovic <address@hidden> (odd fixer:Fulong 2E)
   Aleksandar Rikalo <address@hidden> (reviewer:Fulong 2E)
   Aurelien Jarno <address@hidden> (maintainer:MIPS)

I could not yet boot Linux on it but I'm interested in this machine because I want to use it to cross-check my patches so don't drop it just yet. Currently it seems to panic because of my newly added radeon emulation that I need to fix:

Linux version 4.15.10-fuloong2e (compiled with 
arch/mips/configs/fuloong2e_defconfig)

pci_host_data: pci_data_read: ati-vga: addr=3c val=00000000 len=4
pci_host_data: pci_data_read: ati-vga: addr=3c val=00000000 len=4
pci_host_data: pci_data_write: ati-vga: addr=3c val=00000000 len=4
pci_host_data: pci_data_read: ati-vga: addr=04 val=00000000 len=4
PCI: Enabling device 0000:00:06.0 (0000 -> 0003)
pci_host_data: pci_data_read: ati-vga: addr=04 val=00000000 len=4
pci_host_data: pci_data_write: ati-vga: addr=04 val=00000003 len=4
pci_update_mappings: adding bar 0 to pci.mem @ 0x14000000
pci_update_mappings: adding bar 1 to io @ 0x4000
pci_update_mappings: adding bar 2 to pci.mem @ 0x15050000
pci_host_data: pci_data_read: ati-vga: addr=3c val=00000000 len=4
Data bus error, epc == ffffffff80418f88, ra == ffffffff80418f68
Oops[#1]:
CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.10-fuloong2e #1
$ 0   : 0000000000000000 0000000000000000 9000000000000000 9000000015050000
$ 4   : 0000000000000000 980000000f258f00 0000000015053fff 00000000000003a8
$ 8   : 980000000f1923e0 0000000000000003 0000000000000001 000000000000000f
$12   : 0000000000000000 ffffffff8062971c ffffffff808c0000 980000000f1666c7
$16   : 980000000f166398 980000000f192000 980000000f166000 980000000f1666b8
$20   : 0000000000000000 ffffffff80693c88 ffffffff818d0000 ffffffff80882170
$24   : 980000000f1666ea fffffffffffffff8
$28   : 980000000f0ac000 980000000f0afc00 0000000000000007 ffffffff80418f68
Hi    : 0000000000000002
Lo    : ffffffffc000000b
epc   : ffffffff80418f88 radeonfb_pci_register+0x178/0x11b0
ra    : ffffffff80418f68 radeonfb_pci_register+0x158/0x11b0
Status: 1400a4e3        KX SX UX KERNEL EXL IE
Cause : 0000001c (ExcCode 07)
PrId  : 00006302 (ICT Loongson-2)
Modules linked in:
Process swapper (pid: 1, threadinfo=        (ptrval), task=        (ptrval), 
tls=0000000000000000)
Stack : 000000001400a4e1 ffffffff8080b490 ffffffff80693c88 000000000000000
        980000000f192098 980000000f192000 ffffffff8080b420 ffffffff8080b490
        ffffffff80693c88 0000000000000000 ffffffff818d0000 ffffffff80882170
        0000000000000007 ffffffff803f7360 980000000f192098 ffffffff818d0000
        0000000000000000 ffffffff8080b490 0000000000000000 ffffffff8045fdd8
        980000000f192098 ffffffff8080b490 980000000f1920f8 ffffffff8080a770
        ffffffff808b0000 0000000000000008 ffffffff808b0000 ffffffff8045ff60
        0000000000000000 ffffffff8080b490 ffffffff8045fe80 ffffffff8045dba4
        980000000f010e90 980000000f131760 ffffffff8080b490 980000000f248b00
        0000000000000000 ffffffff8045efb8 ffffffff807669c0 ffffffff8080b490
        ...
Call Trace:
[<        (ptrval)>] radeonfb_pci_register+0x178/0x11b0
[<        (ptrval)>] pci_device_probe+0xd0/0x190
[<        (ptrval)>] driver_probe_device+0x2c8/0x370
[<        (ptrval)>] __driver_attach+0xe0/0xe8
[<        (ptrval)>] bus_for_each_dev+0x6c/0xb8
[<        (ptrval)>] bus_add_driver+0x120/0x260
[<        (ptrval)>] driver_register+0x84/0x130
[<        (ptrval)>] radeonfb_init+0x64/0x260
[<        (ptrval)>] do_one_initcall+0x40/0x160
[<        (ptrval)>] kernel_init_freeable+0x174/0x22c
[<        (ptrval)>] kernel_init+0x10/0x110
[<        (ptrval)>] ret_from_kernel_thread+0x14/0x1c
Code: 0062182d  1060036d  fe030368 <8c620148> 920407d8  ae0007dc  00021400  
0002103c  0002103e

---[ end trace ebeaa57659174cf9 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Maybe I need to implement VGA access windows in ati-vga once I figure out how that works but if anyone knows don't keep it a secret.

If I remove GPU it seems to have problem with bmdma that may be a problem with via-ide that I've recently tried to change to implement native mode but seems DMA mode is not yet correct (PIO works as it reads data before switching to DMA mode).

I'll try to fix these to bring this machine in better working order but help from someone more knowledgeable about these is welcome.

Regards,
BALATON Zoltan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]