From: Helge Deller <deller@gmx.de>
To: Guenter Roeck <linux@roeck-us.net>, deller@kernel.org
Cc: qemu-devel@nongnu.org, Richard Henderson <richard.henderson@linaro.org>
Subject: Re: [PULL 02/10] hw/hppa/machine: Disable default devices with --nodefaults option
Date: Fri, 2 Feb 2024 10:54:20 +0100 [thread overview]
Message-ID: <a9b2c811-f623-4cf3-ab22-99f98d2d1c55@gmx.de> (raw)
In-Reply-To: <b907f081-5848-4441-a285-f5fca47ace14@roeck-us.net>
Hi Guenter,
On 2/2/24 05:22, Guenter Roeck wrote:
> On Sat, Jan 13, 2024 at 06:57:20AM +0100, deller@kernel.org wrote:
>> From: Helge Deller <deller@gmx.de>
>>
>> Recognize the qemu --nodefaults option, which will disable the
>> following default devices on hppa:
>> - lsi53c895a SCSI controller,
>> - artist graphics card,
>> - LASI 82596 NIC,
>> - tulip PCI NIC,
>> - second serial PCI card,
>> - USB OHCI controller.
>>
>> Adding this option is very useful to allow manual testing and
>> debugging of the other possible devices on the command line.
>>
>
> With this patch in the tree, I get some interesting crashes in Seabios
> if I provide a somewhat unusual command line option. For example,
> something like
>
> -usb -device usb-ehci,id=ehci \
> -device usb-uas,bus=ehci.0,id=uas \
> -device scsi-hd,bus=uas.0,scsi-id=0,lun=0,drive=d0 \
> -drive file= ...
>
> is accepted as command line option but results in
>
> SeaBIOS PA-RISC 32-bit Firmware Version 15 (QEMU 8.2.1)
> Duplex Console IO Dependent Code (IODC) revision 1
> ------------------------------------------------------------------------------
> (c) Copyright 2017-2024 Helge Deller <deller@gmx.de> and SeaBIOS developers.
> ------------------------------------------------------------------------------
> Processor Speed State Coprocessor State Cache Size
> --------- -------- --------------------- ----------------- ----------
> 0 250 MHz Active Functional 0 KB
> 1 250 MHz Idle Functional 0 KB
> 2 250 MHz Idle Functional 0 KB
> 3 250 MHz Idle Functional 0 KB
> Emulated machine: HP C3700 (64-bit PA2.0) with 32-bit PDC
> Available memory: 1024 MB
> Good memory required: 16 MB
> Primary boot path: FWSCSI.0.0
> Alternate boot path: FWSCSI.0.0
> Console path: SERIAL_2.9600.8.none
> Keyboard path: SERIAL_2.9600.8.none
> *ERROR* in SeaBIOS-hppa-v15:
> prepare_boot_path:2898
> SeaBIOS wants SYSTEM HALT.
>
> This is without --nodefaults, and it used to work. Is that intentional ?
This should now be fixed in the upcoming SeaBIOS-hppa-v16 version ("devel" branch):
https://github.com/hdeller/seabios-hppa/tree/devel
Could you test?
If it doesn't work, please give me the full command line.
> If I do use the --nodefaults parameter, I was unable to figure out how
> to configure the serial console. What command line parameter(s) do I need to
> get it ?
You need to add:
-serial mon:stdio
This will create a serial port if it's not yet there.
Thanks for your testing!
Helge
next prev parent reply other threads:[~2024-02-02 9:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-13 5:57 [PULL 00/10] Hppa fixes 8.2 patches deller
2024-01-13 5:57 ` [PULL 01/10] hw/hppa/machine: Allow up to 3840 MB total memory deller
2024-01-13 5:57 ` [PULL 02/10] hw/hppa/machine: Disable default devices with --nodefaults option deller
2024-02-02 4:22 ` Guenter Roeck
2024-02-02 9:54 ` Helge Deller [this message]
2024-02-02 18:04 ` Guenter Roeck
2024-02-02 19:26 ` Helge Deller
2024-02-04 19:26 ` Guenter Roeck
2024-01-13 5:57 ` [PULL 03/10] hw/pci-host/astro: Add missing astro & elroy registers for NetBSD deller
2024-01-13 5:57 ` [PULL 04/10] target/hppa: Fix PDC address translation on PA2.0 with PSW.W=0 deller
2024-01-13 5:57 ` [PULL 05/10] hw/hppa: Move software power button address back into PDC deller
2024-01-13 5:57 ` [PULL 06/10] target/hppa: Avoid accessing %gr0 when raising exception deller
2024-01-13 5:57 ` [PULL 07/10] target/hppa: Export function hppa_set_ior_and_isr() deller
2024-01-13 5:57 ` [PULL 08/10] target/hppa: Fix IOR and ISR on unaligned access trap deller
2024-01-13 5:57 ` [PULL 09/10] target/hppa: Fix IOR and ISR on error in probe deller
2024-01-13 5:57 ` [PULL 10/10] target/hppa: Update SeaBIOS-hppa to version 15 deller
2024-01-16 16:33 ` [PULL 00/10] Hppa fixes 8.2 patches Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a9b2c811-f623-4cf3-ab22-99f98d2d1c55@gmx.de \
--to=deller@gmx.de \
--cc=deller@kernel.org \
--cc=linux@roeck-us.net \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).