Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#787 - no console in Xen-DomU guests #6598

Closed
openwrt-bot opened this issue May 15, 2017 · 3 comments
Closed

FS#787 - no console in Xen-DomU guests #6598

openwrt-bot opened this issue May 15, 2017 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

SAm0815:

after upgrading my Xen-domU-guest to v17.01.1 I found the console is not working anymore. I can only get the kernellog-output.

My old working system was based on git-c71e13a. I checked V17.01-rc1 which is also broken. Further bisecting gave git-b36e24f39e63 (x86: remove the xen_domu subtarget) causing this.

So it looks like some kernel-options are missing, after this merge of sub-targets. I did not find in the kernel-config the relevant.

my domU-config is as follows:

memory = 64
name = "lede-test"
on_crash = "destroy"
vif = [ "mac=02:00:0a:ff:00:01, bridge=br-lan" ]

bootloader = '/usr/lib/xen-4.4/bin/pygrub'
disk = ["/mnt/xen-images/openwrt/lede-x86-generic-combined-ext4.img,raw,xvda,w"]

Any Ideas?

@openwrt-bot
Copy link
Author

imac:

I also experienced this. Looking to migrate some great NFV functions from OpenWRT to LEDE.

On 17.01.0 (59508e3) and current snapshot (a89c36b) we see this with no console:
[ 5.479550] genirq: Flags mismatch irq 15. 00000000 (hvc_console) vs. 00000000 (pata_legacy.1)
[ 5.479656] hvc_open: request_irq failed with rc -16.

Unfortunately 17.01.2 does not have domu extensions resulting in
xc: error: elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images (Not and ): Invalid kernel

The best I can come up with will be to manually mount the images and pre-config to get them online. Trying to avoid any more older CC15.05 builds.

@openwrt-bot
Copy link
Author

imac:

Also, for anyone looking to mount the 17.01.0 or 17.01.1 images to pre-config, you can use similar. They have the same offset for the second (root) partition.

mount -o loop,rw,offset=17301504 lede-17.01.0-r3205-59508e3-x86-generic-combined-ext4.img /tmp/ian

@openwrt-bot
Copy link
Author

bjonglez:

I have just submitted a patch to fix the serial console: http://patchwork.ozlabs.org/patch/788954/

The second issue (broken Xen support in 17.01.2) is unrelated, let's move to FS#908.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant