* Bug in master branch: IbmPrep40pMachine.test_factory_firmware_and_netbsd broken @ 2023-03-02 7:47 Thomas Huth 2023-03-02 9:48 ` Cédric Le Goater 0 siblings, 1 reply; 5+ messages in thread From: Thomas Huth @ 2023-03-02 7:47 UTC (permalink / raw) To: QEMU Developers, qemu-ppc@nongnu.org, Peter Maydell, Hervé Poussineau, Philippe Mathieu-Daudé Cc: Richard Henderson, Daniel Henrique Barboza Hi all, seems like we've got another bug that sneaked in during the CI minutes blackout: The avocado test IbmPrep40pMachine.test_factory_firmware_and_netbsd is now broken reliably, see: https://gitlab.com/qemu-project/qemu/-/jobs/3858833617#L300 https://gitlab.com/thuth/qemu/-/jobs/3858727901#L300 https://gitlab.com/thuth/qemu/-/jobs/3857804517#L300 Is anybody already looking into this? Thomas ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug in master branch: IbmPrep40pMachine.test_factory_firmware_and_netbsd broken 2023-03-02 7:47 Bug in master branch: IbmPrep40pMachine.test_factory_firmware_and_netbsd broken Thomas Huth @ 2023-03-02 9:48 ` Cédric Le Goater 2023-03-02 10:27 ` Philippe Mathieu-Daudé 0 siblings, 1 reply; 5+ messages in thread From: Cédric Le Goater @ 2023-03-02 9:48 UTC (permalink / raw) To: Thomas Huth, QEMU Developers, qemu-ppc@nongnu.org, Peter Maydell, Hervé Poussineau, Philippe Mathieu-Daudé Cc: Richard Henderson, Daniel Henrique Barboza On 3/2/23 08:47, Thomas Huth wrote: > > Hi all, > > seems like we've got another bug that sneaked in during the CI minutes blackout: The avocado test IbmPrep40pMachine.test_factory_firmware_and_netbsd is now broken reliably, see: > > https://gitlab.com/qemu-project/qemu/-/jobs/3858833617#L300 > https://gitlab.com/thuth/qemu/-/jobs/3858727901#L300 > https://gitlab.com/thuth/qemu/-/jobs/3857804517#L300 > > Is anybody already looking into this? > > Thomas I tried manually and QEMU reached : >> (builds@wb29, Tue Oct 7 23:59:44 PDT 2008) Boot: Loading in() 3558080+232036 [197696+188133]=0x3fbbf0 start=0x100000 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 4.0.1 (GENERIC) #0: Wed Oct 8 00:46:56 PDT 2008 builds@wb29:/home/builds/ab/netbsd-4-0-1-RELEASE/prep/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/prep/compile/GENERIC Model: IBM PPS Model 6015 total memory = 128 MB avail memory = 119 MB trap: kernel read DSI trap @ 0x7c3042a6 by 0x3e4cf8 (DSISR 0x40000000, err=14), lr 0x377eac panic: trap Stopped in pid 0.1 () at netbsd:cpu_Debugger+0x10: lwz r0, r1, 0 x14 I tried debian with openbios also and it still works. >> ============================================================= >> OpenBIOS 1.1 [Mar 7 2022 23:07] >> Configuration device id QEMU version 1 machine id 0 >> CPUs: 0 >> Memory: 128M >> UUID: 00000000-0000-0000-0000-000000000000 >> CPU type PowerPC,604 milliseconds isn't unique. Welcome to OpenBIOS v1.1 built on Mar 7 2022 23:07 Trying hd:,\\:tbxi... >> Not a bootable ELF image >> switching to new context: loaded at: 04000400 04015218 relocated to: 00800000 00814E18 board data at: 07C9E870 07CA527C relocated to: 0080B130 00811B3C zimage at: 0400B400 0411DC98 avail ram: 00400000 00800000 Linux/PPC load: console=/dev/ttyS0,9600 console=tty0 ether=5,0x210,eth0 ether=11,0x300,eth1 ramdisk_size=8192 root=/dev/sda3 Uncompressing Linux................................................done. Now booting the kernel Debian GNU/Linux 3.0 6015 ttyS0 6015 login: the logs are empty. Curious C. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug in master branch: IbmPrep40pMachine.test_factory_firmware_and_netbsd broken 2023-03-02 9:48 ` Cédric Le Goater @ 2023-03-02 10:27 ` Philippe Mathieu-Daudé 2023-03-02 10:29 ` Cédric Le Goater 2023-03-02 10:36 ` Mark Cave-Ayland 0 siblings, 2 replies; 5+ messages in thread From: Philippe Mathieu-Daudé @ 2023-03-02 10:27 UTC (permalink / raw) To: Cédric Le Goater, Thomas Huth, QEMU Developers, qemu-ppc@nongnu.org, Peter Maydell, Hervé Poussineau, Philippe Mathieu-Daudé Cc: Richard Henderson, Daniel Henrique Barboza, Bernhard Beschow On 2/3/23 10:48, Cédric Le Goater wrote: > On 3/2/23 08:47, Thomas Huth wrote: >> >> Hi all, >> >> seems like we've got another bug that sneaked in during the CI minutes >> blackout: The avocado test >> IbmPrep40pMachine.test_factory_firmware_and_netbsd is now broken >> reliably, see: >> >> https://gitlab.com/qemu-project/qemu/-/jobs/3858833617#L300 >> https://gitlab.com/thuth/qemu/-/jobs/3858727901#L300 >> https://gitlab.com/thuth/qemu/-/jobs/3857804517#L300 >> >> Is anybody already looking into this? >> >> Thomas > > I tried manually and QEMU reached : > >> (builds@wb29, Tue Oct 7 23:59:44 PDT 2008) > Boot: > Loading in() > 3558080+232036 [197696+188133]=0x3fbbf0 > start=0x100000 > Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, > 2005, > 2006, 2007 > The NetBSD Foundation, Inc. All rights reserved. > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > NetBSD 4.0.1 (GENERIC) #0: Wed Oct 8 00:46:56 PDT 2008 > > builds@wb29:/home/builds/ab/netbsd-4-0-1-RELEASE/prep/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/prep/compile/GENERIC > Model: IBM PPS Model 6015 > total memory = 128 MB > avail memory = 119 MB > trap: kernel read DSI trap @ 0x7c3042a6 by 0x3e4cf8 (DSISR > 0x40000000, err=14), lr 0x377eac > panic: trap > Stopped in pid 0.1 () at netbsd:cpu_Debugger+0x10: > lwz r0, r1, 0 > x14 Bisecting using: make print-V \ && ninja qemu-system-ppc \ && AVOCADO_ALLOW_UNTRUSTED_CODE=1 \ avocado --show=app,console \ run --test-runner=nrunner -t slowness:high \ tests/avocado/ppc_prep_40p.py commit cef2e7148e32d61338de0220619d308bf42af770 Author: Philippe Mathieu-Daudé <f4bug@amsat.org> Date: Fri Feb 10 16:05:34 2023 +0100 hw/isa/i82378: Remove intermediate IRQ forwarder When the i82378 model was added in commit a04ff940974 ("prep: Add i82378 PCI-to-ISA bridge emulation") the i8259 model was not yet QOM'ified. This happened later in commit 747c70af78f ("i8259: Convert to qdev"). Directly dispatch ISA IRQs to 'cpu_intr' output IRQ by removing the intermediate i82378_request_out0_irq() handler. Rename ISA IRQs array as 'isa_irqs_in' to emphasize these are input IRQs. Sorry :/ I'll look at this. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug in master branch: IbmPrep40pMachine.test_factory_firmware_and_netbsd broken 2023-03-02 10:27 ` Philippe Mathieu-Daudé @ 2023-03-02 10:29 ` Cédric Le Goater 2023-03-02 10:36 ` Mark Cave-Ayland 1 sibling, 0 replies; 5+ messages in thread From: Cédric Le Goater @ 2023-03-02 10:29 UTC (permalink / raw) To: Philippe Mathieu-Daudé, Cédric Le Goater, Thomas Huth, QEMU Developers, qemu-ppc@nongnu.org, Peter Maydell, Hervé Poussineau, Philippe Mathieu-Daudé Cc: Richard Henderson, Daniel Henrique Barboza, Bernhard Beschow On 3/2/23 11:27, Philippe Mathieu-Daudé wrote: > On 2/3/23 10:48, Cédric Le Goater wrote: >> On 3/2/23 08:47, Thomas Huth wrote: >>> >>> Hi all, >>> >>> seems like we've got another bug that sneaked in during the CI minutes blackout: The avocado test IbmPrep40pMachine.test_factory_firmware_and_netbsd is now broken reliably, see: >>> >>> https://gitlab.com/qemu-project/qemu/-/jobs/3858833617#L300 >>> https://gitlab.com/thuth/qemu/-/jobs/3858727901#L300 >>> https://gitlab.com/thuth/qemu/-/jobs/3857804517#L300 >>> >>> Is anybody already looking into this? >>> >>> Thomas >> >> I tried manually and QEMU reached : >> >> (builds@wb29, Tue Oct 7 23:59:44 PDT 2008) >> Boot: >> Loading in() >> 3558080+232036 [197696+188133]=0x3fbbf0 >> start=0x100000 >> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, >> 2006, 2007 >> The NetBSD Foundation, Inc. All rights reserved. >> Copyright (c) 1982, 1986, 1989, 1991, 1993 >> The Regents of the University of California. All rights reserved. >> NetBSD 4.0.1 (GENERIC) #0: Wed Oct 8 00:46:56 PDT 2008 >> builds@wb29:/home/builds/ab/netbsd-4-0-1-RELEASE/prep/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/prep/compile/GENERIC >> Model: IBM PPS Model 6015 >> total memory = 128 MB >> avail memory = 119 MB >> trap: kernel read DSI trap @ 0x7c3042a6 by 0x3e4cf8 (DSISR 0x40000000, err=14), lr 0x377eac >> panic: trap >> Stopped in pid 0.1 () at netbsd:cpu_Debugger+0x10: lwz r0, r1, 0 >> x14 > > Bisecting using: > > make print-V \ > && ninja qemu-system-ppc \ > && AVOCADO_ALLOW_UNTRUSTED_CODE=1 \ > avocado --show=app,console \ > run --test-runner=nrunner -t slowness:high \ > tests/avocado/ppc_prep_40p.py > > commit cef2e7148e32d61338de0220619d308bf42af770 > Author: Philippe Mathieu-Daudé <f4bug@amsat.org> > Date: Fri Feb 10 16:05:34 2023 +0100 > > hw/isa/i82378: Remove intermediate IRQ forwarder > > When the i82378 model was added in commit a04ff940974 ("prep: > Add i82378 PCI-to-ISA bridge emulation") the i8259 model was > not yet QOM'ified. This happened later in commit 747c70af78f > ("i8259: Convert to qdev"). > > Directly dispatch ISA IRQs to 'cpu_intr' output IRQ > by removing the intermediate i82378_request_out0_irq() > handler. Rename ISA IRQs array as 'isa_irqs_in' to > emphasize these are input IRQs. Yes. Just found the same. > Sorry :/ I'll look at this. Thanks, C. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug in master branch: IbmPrep40pMachine.test_factory_firmware_and_netbsd broken 2023-03-02 10:27 ` Philippe Mathieu-Daudé 2023-03-02 10:29 ` Cédric Le Goater @ 2023-03-02 10:36 ` Mark Cave-Ayland 1 sibling, 0 replies; 5+ messages in thread From: Mark Cave-Ayland @ 2023-03-02 10:36 UTC (permalink / raw) To: Philippe Mathieu-Daudé, Cédric Le Goater, Thomas Huth, QEMU Developers, qemu-ppc@nongnu.org, Peter Maydell, Hervé Poussineau, Philippe Mathieu-Daudé Cc: Richard Henderson, Daniel Henrique Barboza, Bernhard Beschow On 02/03/2023 10:27, Philippe Mathieu-Daudé wrote: > On 2/3/23 10:48, Cédric Le Goater wrote: >> On 3/2/23 08:47, Thomas Huth wrote: >>> >>> Hi all, >>> >>> seems like we've got another bug that sneaked in during the CI minutes blackout: >>> The avocado test IbmPrep40pMachine.test_factory_firmware_and_netbsd is now broken >>> reliably, see: >>> >>> https://gitlab.com/qemu-project/qemu/-/jobs/3858833617#L300 >>> https://gitlab.com/thuth/qemu/-/jobs/3858727901#L300 >>> https://gitlab.com/thuth/qemu/-/jobs/3857804517#L300 >>> >>> Is anybody already looking into this? >>> >>> Thomas >> >> I tried manually and QEMU reached : >> >> (builds@wb29, Tue Oct 7 23:59:44 PDT 2008) >> Boot: >> Loading in() >> 3558080+232036 [197696+188133]=0x3fbbf0 >> start=0x100000 >> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, >> 2006, 2007 >> The NetBSD Foundation, Inc. All rights reserved. >> Copyright (c) 1982, 1986, 1989, 1991, 1993 >> The Regents of the University of California. All rights reserved. >> NetBSD 4.0.1 (GENERIC) #0: Wed Oct 8 00:46:56 PDT 2008 >> builds@wb29:/home/builds/ab/netbsd-4-0-1-RELEASE/prep/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/prep/compile/GENERIC >> >> Model: IBM PPS Model 6015 >> total memory = 128 MB >> avail memory = 119 MB >> trap: kernel read DSI trap @ 0x7c3042a6 by 0x3e4cf8 (DSISR 0x40000000, >> err=14), lr 0x377eac >> panic: trap >> Stopped in pid 0.1 () at netbsd:cpu_Debugger+0x10: lwz r0, r1, 0 >> x14 > > Bisecting using: > > make print-V \ > && ninja qemu-system-ppc \ > && AVOCADO_ALLOW_UNTRUSTED_CODE=1 \ > avocado --show=app,console \ > run --test-runner=nrunner -t slowness:high \ > tests/avocado/ppc_prep_40p.py > > commit cef2e7148e32d61338de0220619d308bf42af770 > Author: Philippe Mathieu-Daudé <f4bug@amsat.org> > Date: Fri Feb 10 16:05:34 2023 +0100 > > hw/isa/i82378: Remove intermediate IRQ forwarder > > When the i82378 model was added in commit a04ff940974 ("prep: > Add i82378 PCI-to-ISA bridge emulation") the i8259 model was > not yet QOM'ified. This happened later in commit 747c70af78f > ("i8259: Convert to qdev"). > > Directly dispatch ISA IRQs to 'cpu_intr' output IRQ > by removing the intermediate i82378_request_out0_irq() > handler. Rename ISA IRQs array as 'isa_irqs_in' to > emphasize these are input IRQs. > > Sorry :/ I'll look at this. Zoltan noticed a similar problem for vt82c686 here: https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg08767.html. I think possibly you need to make use of qdev_connect_gpio_out() rather than using s->cpu_intr directly? ATB, Mark. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-03-02 10:37 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-03-02 7:47 Bug in master branch: IbmPrep40pMachine.test_factory_firmware_and_netbsd broken Thomas Huth 2023-03-02 9:48 ` Cédric Le Goater 2023-03-02 10:27 ` Philippe Mathieu-Daudé 2023-03-02 10:29 ` Cédric Le Goater 2023-03-02 10:36 ` Mark Cave-Ayland
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).