On 4/14/21 2:32 PM, Xu, Yanfei wrote:
On 4/9/21 9:13 PM, Richard Purdie wrote:
[Please note: This e-mail is from an EXTERNAL e-mail address]
On Fri, 2021-04-09 at 17:03 +0800, Xu, Yanfei wrote:
From: Yanfei Xu <[email protected]>
We can disable floppy drive by BIOS on a hardware, but an empty floppy
drive is connected by default on qemu-system-x86. Linux usually detect
the device and modprode the matched floppy.ko at the boot stage. Due to
we don't specify a floppy deivce in qemu boot arguments, then the errors
about floppy reading comes out.
It is harmless and normal, so we could ignore this error message on
qemux86.
https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg01402.html
Signed-off-by: Yanfei Xu <[email protected]>
---
meta/lib/oeqa/runtime/cases/parselogs.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py
b/meta/lib/oeqa/runtime/cases/parselogs.py
index 4714741aff..1bb0425521 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -88,6 +88,8 @@ qemux86_common = [
'tsc: HPET/PMTIMER calibration failed',
"modeset(0): Failed to initialize the DRI2 extension",
"glamor initialization failed",
+ "blk_update_request: I/O error, dev fd0, sector 0 op 0x0:(READ)",
+ "floppy: error",
] + common_errors
I'm a little puzzled about why we don't see this on the autobuilder.
Are you
configuring qemu differently?
Hi Richard,
I didn't configure my qemu, and I made a comparison between my and
yocto's qemu command line outputted by runqemu. There is no difference.
With the previous email, the error log did exist in yocto's dmesg. But
it's strange why yocto's parselog didn't report it.
Thanks,
Yanfei
Sorry for the late reply.
I build a poky raw project and do some tests:
bitbake core-image-minimal -c testimage //the dmesg don't contain
floppy error, as the kernel-modules package is not install.
Then I add IMAGE_INSTALL_append = " kernel-modules" and use systemd to
instead of sysvinit. The error appears in qemu dmesg.
[ 4.879016] blk_update_request: I/O error, dev fd0, sector 0 op
0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 4.880255] floppy: error 10 while reading block 0
The log
tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/qemu_boot_log.20210414061409
is attached
Best regards,
Yanfei
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#150653):
https://lists.openembedded.org/g/openembedded-core/message/150653
Mute This Topic: https://lists.openembedded.org/mt/81963905/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-