All of lore.kernel.org
 help / color / mirror / Atom feed
* Pygrub crash when trying to edit kernel commandline
@ 2021-09-05  2:30 Bhasker C V
  0 siblings, 0 replies; only message in thread
From: Bhasker C V @ 2021-09-05  2:30 UTC (permalink / raw)
  To: xen-users, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2892 bytes --]

Hi
 When I try to edit kernel command line of domU, pygrub crashes

bcv@bcvibmb1:~$ sudo xl create -c /etc/xen/utils.cfg
Parsing config from /etc/xen/utils.cfg
Using <class 'grub.GrubConf.GrubConfigFile'> to parse /boot/grub/menu.lst

    pyGRUB  version 0.6
 ┌────────────────────────────────────────────────────────────────────────┐
 │ root            (hd0,0)                                                │
 │ kernel          /boot/vmlinuz-4.19.0-17-amd64 root=/dev/xvda2 ro elev> │
 │ initrd          /boot/initrd.img-4.19.0-17-amd64                       │
 │                                                                        │
 │                                                                        │
 │                                                                        │
 │                                                                        │
 │                                                                        │
 └────────────────────────────────────────────────────────────────────────┘
     Use the ↑ and ↓ keys to select which entry is highlighted.
     Press 'b' to boot, 'e' to edit the selected command in the
     boot sequence, 'c' for a command-line, 'o' to open a new line
     after ('O' for before) the selected line, 'd' to remove the
     selected line, or escape to go back to the main menu.


Traceback (most recent call last):
                                    File "/usr/lib/xen-4.14/bin/pygrub",
line 884, in <module>

                      raise RuntimeError("Unable to find partition
containing kernel")
             RuntimeError: Unable to find partition containing kernel
                                                                     libxl:
error: libxl_bootloader.c:648:bootloader_finished: Domain 4:bootloader
failed - consult logfile /var/log/xen/bootloader.4.log
                                                    libxl: error:
libxl_exec.c:117:libxl_report_child_exitstatus: bootloader [1316] exited
with error status 1
         libxl: error: libxl_create.c:1576:domcreate_rebuild_done: Domain
4:cannot (re-)build domain: -3

                            libxl: error:
libxl_domain.c:1182:libxl__destroy_domid: Domain 4:Non-existant domain
libxl: error: libxl_domain.c:1136:domain_destroy_callback: Domain 4:Unable
to destroy guest
libxl: error: libxl_domain.c:1063:domain_destroy_cb: Domain 4:Destruction
of domain failed
bcv@bcvibmb1:~$


Attached is the log
Am I doing something wrong ? or is this a known issue ?

Thanks
Bhasker C V

[-- Attachment #1.2: Type: text/html, Size: 3879 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: bootloader.4.log --]
[-- Type: text/x-log; charset="x-binaryenc"; name="bootloader.4.log", Size: 2606 bytes --]

Using <class 'grub.GrubConf.GrubConfigFile'> to parse /boot/grub/menu.lst
^[(B^[)0^[[1;24r^[[m\x0f^[[?7h^[[?1h^[=^[[H^[[J^[[?1h^[=^[[1B    pyGRUB  version 0.6\r^[[1B ^[[0m\x0elqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk\x0f\r^[[1B ^[[0m\x0ex\x0f ^[[0;7m\x0fDebian GNU/Linux, kernel 4.19.0-17-amd64                              ^[[m\x0f ^[[0m\x0ex\x0f\r^[[1B ^[[0m\x0ex\x0f Debian GNU/Linux, kernel 4.19.0-17-amd64 (single-user mode)^[[12C^[[0m\x0ex\x0f\r^[[1B ^[[0m\x0ex\x0f Debian GNU/Linux 10^[[52C^[[0m\x0ex\x0f\r^[[1B ^[[0m\x0ex\x0f Debian GNU/Linux 10 (Single-User)^[[38C^[[0m\x0ex\x0f\r^[[1B ^[[0m\x0ex\x0f Debian GNU/Linux 10 (Default Kernel)^[[35C^[[0m\x0ex\x0f\r^[[1B ^[[0m\x0ex\x0f Debian GNU/Linux 10 (Default Kernel, Single-User)^[[22C^[[0m\x0ex\x0f\r^[[1B ^[[0m\x0ex\x0f^[[72C^[[0m\x0ex\x0f\r^[[1B ^[[0m\x0ex\x0f^[[72C^[[0m\x0ex\x0f\r^[[1B ^[[0m\x0emqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj\x0f^[[1B^[[70D^[[0m\x0e\x0fUse the ↑ and ↓ keys to select which entry is highlighted.^[[1B^[[58DPress enter to boot the selected OS, 'e' to edit the^[[1B^[[52Dcommands before booting, 'a' to modify the kernel arguments^[[1B^[[59Dbefore booting, or 'c' for a command line.^[[7A^[[26C^[[12B^[[68DWill boot selected entry in  2 seconds^[[?1h^[=\r^[[J^[[12A^[[73C^[[12B^[[68DWill boot selected entry in  1 seconds^[[?1h^[=\r^[[J^[[17A^[[3CDebian GNU/Linux, kernel 4.19.0-17-amd64                              ^[[1B^[[70D^[[0;7m\x0fDebian GNU/Linux, kernel 4.19.0-17-amd64 (single-user mode)           ^[[4B^[[m\x0f^[[13B^[[68D^[[?1h^[=^[[18A\b\b^[[0;7m\x0fDebian GNU/Linux, kernel 4.19.0-17-amd64                              ^[[1B^[[70D^[[m\x0fDebian GNU/Linux, kernel 4.19.0-17-amd64 (single-user mode)           ^[[4B^[[13B^[[68D^[[?1h^[=^[[18A\b\b^[[0;7m\x0froot            (hd0,0)                 ^[[1B^[[40D^[[m\x0fkernel          /boot/vmlinuz-4.19.0-17-amd64 root=/dev/xvda2 ro elev>^[[1B^[[70Dinitrd          /boot/initrd.img-4.19.0-17-amd64^[[1B^[[48D                                 ^[[1B^[[33D                                    ^[[1B^[[36D                                                 ^[[14;12H'b' to boot, 'e' to edit the selected command in the^[[1B^[[58Dboot sequence, 'c' for a command-line, 'o' to open a new line^[[1B^[[61Dafter ('O' for before) the selected line, 'd' to remove the^[[1B^[[59Dselected line, or escape to go back to the main menu.^[[11A^[[15C^[[?1h^[=^[[2A^[[70Droot            (hd0,0)                                               ^[[1B^[[70D^[[0;7m\x0fkernel          /boot/vmlinuz-4.19.0-17-amd64 root=/dev/xvda2 ro elev>^[[1B^[[m\x0f^[[?1h^[=^[[?1l^[>^[[24;1H\r^[[?1l^[>Traceback (most recent call last):
  File "/usr/lib/xen-4.14/bin/pygrub", line 884, in <module>
    raise RuntimeError("Unable to find partition containing kernel")
RuntimeError: Unable to find partition containing kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-05  2:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-05  2:30 Pygrub crash when trying to edit kernel commandline Bhasker C V

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.