coreos / bugs

Issue tracker for CoreOS Container Linux
https://coreos.com/os/eol/
146 stars 30 forks source link

booting pxe image as domU #1518

Open panictom opened 8 years ago

panictom commented 8 years ago

Issue Report

Bug

booting a pxe image of coreos as domU try to use rtc,mce and i8042

CoreOS Version

NAME=CoreOS ID=coreos VERSION=717.3.0 VERSION_ID=717.3.0 BUILD_ID= PRETTY_NAME="CoreOS 717.3.0" ANSI_COLOR="1;32" HOME_URL="https://coreos.com/" BUG_REPORT_URL="https://github.com/coreos/bugs/issues"

Environment

dom0 on gentoo 4.4.16 on xen 4.6.3 used domU config for pxe image: kernel = "coreos_production_pxe.vmlinuz" ramdisk = "coreos_production_pxe_image.cpio.gz" extra = "coreos.autologin rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 LOGLEVEL=1 quiet" disk = [ 'format=raw, vdev=xvda, access=w, target=/dev/vg01/CoreOS-64_pxe' ] vif = [ 'mac=YY:YY:YY:YY:YY:YY,ip=X.X.X.X,bridge=br0' ] memory = 1024 maxmem = 1024 name = "CoreOS-pxe" vcpus = 2 maxvcpus = 2 on_crash = "destroy" on_shutdown = "destroy" on_reboot = "restart"

Expected Behavior

when booting pxe image on paravitualized guest, no hardware is available. I would suggest do not try to enable/use hardware devices if its a domU.

Actual Behavior

message during booting image : i8042: No controller found rtc (null): read_time: rtc_time isn't valid mce: Unable to init device /dev/mcelog (rc: -5) /build/amd64-usr/usr/src/linux-4.0.5/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

domU kernel detects viirtualization: Detected virtualization xen. Detected architecture x86-64. Running in initial RAM disk. boot is successfully and login is possible

testing with: CoreOS stable (1068.9.0) following result: [ 0.053045] dmi: Firmware registration failed. [ 1.727223] mce: Unable to init device /dev/mcelog (rc: -5)

Reproduction Steps

  1. use domU configuration to boot pxe image of coreos
  2. watch boot messages

    Other Information

    Feature Request

crawford commented 8 years ago

717.3.0 is a very old version of CoreOS. Can you try with one of the latest releases?

panictom commented 8 years ago

testet with: localhost login: core (automatic login) CoreOS stable (1122.2.0) Update Strategy: No Reboots core@localhost ~ $

messages now: [ 0.075102] dmi: Firmware registration failed. [ 1.608927] mce: Unable to init device /dev/mcelog (rc: -5) [ 1.781562] systemd-sysctl[107]: Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such file or directory [ 1.867829] systemd-udevd[186]: RUN{builtin}: 'uaccess' unknown /usr/lib64/udev/rules.d/73-seat-late.rules:15