2020-05-21 16:04:48 |
Eric Desrochers |
bug |
|
|
added bug |
2020-05-21 16:05:06 |
Eric Desrochers |
tags |
|
seg sts |
|
2020-05-21 16:05:36 |
Eric Desrochers |
description |
kernel get stucks at boot if console=ttyS* is specified in the kernel cmdling and that serial HW isn't available on the system.
Reproduced using Ubuntu kernel (Bionic/v4.15) and mainline kernel v5.6 for now.
Removing the non-existent 'console=ttyS*' fixes the situation.
I tested it using KVM/qemu, but it has been brought to my attention that it was reproducible in VMware as well.
I think it is safe to say that it is unlikely to be specifics to a certain virtualization technology type.
Didn't test on baremetal, but I would suspect the same behaviour (until I'm proving wrong). |
kernel get stucks at boot if console=ttyS* is specified in the kernel cmdling and that serial HW isn't available on the system.
Reproduced with:
4.4 (from Xenial), 4.15 (from Bionic), 5.4 (native, Focal) and 5.7-next (mainline)
Removing the non-existent 'console=ttyS*' fixes the situation.
I tested it using KVM/qemu, but it has been brought to my attention that it was reproducible in VMware as well.
I think it is safe to say that it is unlikely to be specifics to a certain virtualization technology type.
Didn't test on baremetal, but I would suspect the same behaviour (until I'm proving wrong). |
|
2020-05-21 16:05:59 |
Guilherme G. Piccoli |
bug |
|
|
added subscriber Guilherme G. Piccoli |
2020-05-21 16:07:37 |
Eric Desrochers |
description |
kernel get stucks at boot if console=ttyS* is specified in the kernel cmdling and that serial HW isn't available on the system.
Reproduced with:
4.4 (from Xenial), 4.15 (from Bionic), 5.4 (native, Focal) and 5.7-next (mainline)
Removing the non-existent 'console=ttyS*' fixes the situation.
I tested it using KVM/qemu, but it has been brought to my attention that it was reproducible in VMware as well.
I think it is safe to say that it is unlikely to be specifics to a certain virtualization technology type.
Didn't test on baremetal, but I would suspect the same behaviour (until I'm proving wrong). |
kernel get stucks at boot if console=ttyS* is specified in the kernel cmdline and that serial HW isn't available on the system.
Reproduced with:
4.4 (from Xenial), 4.15 (from Bionic), 5.4 (native, Focal) and 5.7-next (mainline)
Removing the non-existent 'console=ttyS*' fixes the situation.
I tested it using KVM/qemu, but it has been brought to my attention that it was reproducible in VMware as well.
I think it is safe to say that it is unlikely to be specifics to a certain virtualization technology type.
Didn't test on baremetal, but I would suspect the same behaviour (until I'm proving wrong). |
|
2020-05-21 16:07:55 |
Eric Desrochers |
description |
kernel get stucks at boot if console=ttyS* is specified in the kernel cmdline and that serial HW isn't available on the system.
Reproduced with:
4.4 (from Xenial), 4.15 (from Bionic), 5.4 (native, Focal) and 5.7-next (mainline)
Removing the non-existent 'console=ttyS*' fixes the situation.
I tested it using KVM/qemu, but it has been brought to my attention that it was reproducible in VMware as well.
I think it is safe to say that it is unlikely to be specifics to a certain virtualization technology type.
Didn't test on baremetal, but I would suspect the same behaviour (until I'm proving wrong). |
kernel get stucks at boot if console=ttyS* is specified in the kernel cmdline and that serial HW isn't available on the system.
Reproduced with:
4.4 (from Xenial), 4.15 (from Bionic), 5.4 (native, Focal) and 5.7-next (mainline)
Removing the non-existent 'console=ttyS*' parameter fixes the situation.
I tested it using KVM/qemu, but it has been brought to my attention that it was reproducible in VMware as well.
I think it is safe to say that it is unlikely to be specifics to a certain virtualization technology type.
Didn't test on baremetal, but I would suspect the same behaviour (until I'm proving wrong). |
|
2020-05-21 16:08:02 |
Guilherme G. Piccoli |
linux (Ubuntu): assignee |
|
Guilherme G. Piccoli (gpiccoli) |
|
2020-05-21 16:08:05 |
Guilherme G. Piccoli |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2020-05-21 16:08:07 |
Guilherme G. Piccoli |
linux (Ubuntu): status |
New |
Confirmed |
|
2020-05-21 16:08:19 |
Eric Desrochers |
description |
kernel get stucks at boot if console=ttyS* is specified in the kernel cmdline and that serial HW isn't available on the system.
Reproduced with:
4.4 (from Xenial), 4.15 (from Bionic), 5.4 (native, Focal) and 5.7-next (mainline)
Removing the non-existent 'console=ttyS*' parameter fixes the situation.
I tested it using KVM/qemu, but it has been brought to my attention that it was reproducible in VMware as well.
I think it is safe to say that it is unlikely to be specifics to a certain virtualization technology type.
Didn't test on baremetal, but I would suspect the same behaviour (until I'm proving wrong). |
kernel get stucks at boot if console=ttyS* is specified in the kernel cmdline and that serial HW isn't available on the system.
Reproduced with:
4.4 (from Xenial), 4.15 (from Bionic), 5.4 (native, Focal) and 5.7-next (mainline)
Removing the non-existent 'console=ttyS*' parameter fixes the situation.
I tested it using KVM/qemu, but it has been brought to my attention that it was reproducible in VMware as well.
I think it is safe to say that it is unlikely to be specifics to a certain virtualization technology type.
Didn't test on baremetal yet. |
|
2020-05-21 16:14:57 |
Eric Desrochers |
linux (Ubuntu): importance |
Medium |
High |
|
2020-05-21 16:17:59 |
Guilherme G. Piccoli |
attachment added |
|
console_issue.txt https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879987/+attachment/5375272/+files/console_issue.txt |
|
2020-05-21 19:43:34 |
Eric Desrochers |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960355 |
|
2020-05-21 19:43:34 |
Eric Desrochers |
bug watch added |
|
https://github.com/systemd/systemd/issues/15783 |
|
2020-05-21 19:43:34 |
Eric Desrochers |
bug watch added |
|
https://github.com/systemd/systemd/issues/15656 |
|
2020-05-21 20:17:37 |
Eric Desrochers |
summary |
kernel get stuck at boot if specified 'console=ttyS* ' doesn't exist. |
machine get stuck at boot if specified 'console=ttyS* ' doesn't exist. |
|
2020-05-21 20:18:04 |
Eric Desrochers |
bug task added |
|
initramfs-tools (Ubuntu) |
|
2020-05-21 20:18:40 |
Eric Desrochers |
bug |
|
|
added subscriber Nivedita Singhvi |
2020-05-21 20:55:29 |
Eric Desrochers |
linux (Ubuntu): status |
Confirmed |
Incomplete |
|
2020-05-21 20:55:32 |
Eric Desrochers |
initramfs-tools (Ubuntu): status |
New |
Confirmed |
|
2020-05-21 20:55:35 |
Eric Desrochers |
initramfs-tools (Ubuntu): importance |
Undecided |
High |
|
2020-05-21 20:55:46 |
Eric Desrochers |
initramfs-tools (Ubuntu): assignee |
|
Guilherme G. Piccoli (gpiccoli) |
|
2020-05-22 20:53:45 |
Guilherme G. Piccoli |
marked as duplicate |
|
1573095 |
|
2020-07-23 13:56:30 |
Guilherme G. Piccoli |
removed duplicate marker |
1573095 |
|
|
2020-07-23 13:56:40 |
Guilherme G. Piccoli |
bug task deleted |
linux (Ubuntu) |
|
|
2020-07-23 13:56:48 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu): status |
Confirmed |
In Progress |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
nominated for series |
|
Ubuntu Eoan |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
bug task added |
|
initramfs-tools (Ubuntu Eoan) |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
nominated for series |
|
Ubuntu Focal |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
bug task added |
|
initramfs-tools (Ubuntu Focal) |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
nominated for series |
|
Ubuntu Bionic |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
bug task added |
|
initramfs-tools (Ubuntu Bionic) |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
nominated for series |
|
Ubuntu Xenial |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
bug task added |
|
initramfs-tools (Ubuntu Xenial) |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
nominated for series |
|
Ubuntu Trusty |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
bug task added |
|
initramfs-tools (Ubuntu Trusty) |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
nominated for series |
|
Ubuntu Groovy |
|
2020-07-23 13:57:12 |
Guilherme G. Piccoli |
bug task added |
|
initramfs-tools (Ubuntu Groovy) |
|
2020-07-23 13:57:23 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Eoan): status |
New |
Won't Fix |
|
2020-07-23 13:57:27 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Trusty): status |
New |
Won't Fix |
|
2020-07-23 13:57:32 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Xenial): status |
New |
In Progress |
|
2020-07-23 13:57:34 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Bionic): status |
New |
In Progress |
|
2020-07-23 13:57:40 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Focal): status |
New |
In Progress |
|
2020-07-23 13:57:45 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Trusty): importance |
Undecided |
High |
|
2020-07-23 13:57:49 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Xenial): importance |
Undecided |
High |
|
2020-07-23 13:57:57 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Trusty): importance |
High |
Low |
|
2020-07-23 13:58:00 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Bionic): importance |
Undecided |
High |
|
2020-07-23 13:58:02 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Focal): importance |
Undecided |
High |
|
2020-07-23 13:58:06 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Eoan): importance |
Undecided |
Low |
|
2020-07-23 13:58:10 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Focal): assignee |
|
Guilherme G. Piccoli (gpiccoli) |
|
2020-07-23 13:58:12 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Eoan): assignee |
|
Guilherme G. Piccoli (gpiccoli) |
|
2020-07-23 13:58:15 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Bionic): assignee |
|
Guilherme G. Piccoli (gpiccoli) |
|
2020-07-23 13:58:17 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Xenial): assignee |
|
Guilherme G. Piccoli (gpiccoli) |
|
2020-07-23 13:58:18 |
Guilherme G. Piccoli |
initramfs-tools (Ubuntu Trusty): assignee |
|
Guilherme G. Piccoli (gpiccoli) |
|
2020-07-23 14:07:46 |
Guilherme G. Piccoli |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962545 |
|
2020-07-23 15:47:09 |
Guilherme G. Piccoli |
description |
kernel get stucks at boot if console=ttyS* is specified in the kernel cmdline and that serial HW isn't available on the system.
Reproduced with:
4.4 (from Xenial), 4.15 (from Bionic), 5.4 (native, Focal) and 5.7-next (mainline)
Removing the non-existent 'console=ttyS*' parameter fixes the situation.
I tested it using KVM/qemu, but it has been brought to my attention that it was reproducible in VMware as well.
I think it is safe to say that it is unlikely to be specifics to a certain virtualization technology type.
Didn't test on baremetal yet. |
[Impact]
* Currently, if users provide the wrong console in kernel command-line (like console=ttyS1, when the right one is ttyS0) *and* "quiet" parameter is not provided, we may face an infinite loop on initramfs-tools, effectively blocking the boot.
* Details are: the _log_msg() functions is "void" typed, which means it returns whatever its last command returns; this function is the basic building block for all error/warning messages in initramfs-tools. In case a bad console was provided to kernel on command-line, printf (and apparently all write()-related functions) returns error, and so this error is carried over in _log_msg().
* Happens that checkfs() function has a loop that runs forever in this scenario (*if* fsck is not present in initramfs, and obviously if "quiet" is not provided in the command-line). The situation is easily reproducible.
* This SRU proposes a pretty simple fix: return zero on _log_msg(). We should definitely not brake the boot due to error log functions.
[Test Case]
* To reproduce this, one must boot a system (virtual machine is good) with the wrong console set on kernel command-line through the "console=" parameter *and* not pass the "quiet" parameter.
* Also, e2fsck tool shouldn't be present in the initrd - for that, the 6th field of /etc/fstab (fs_passno) should be 0 and initrd must be recreated after that. This is the default in Ubuntu, though.
[Regression Potential]
* The regression potential is small, we're just returning 0 after a printf that is executed in error paths, so I don't expect any issues from that. But in case something bad happens after this change, I expect a more friendly" breakage, like an initramfs panic (drop to a shell), not a silent failure or boot-loop. |
|
2020-08-04 14:44:07 |
Guilherme G. Piccoli |
attachment added |
|
groovy_initramfs_lp1879980.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1879987/+attachment/5398702/+files/groovy_initramfs_lp1879980.debdiff |
|
2020-08-04 14:44:23 |
Guilherme G. Piccoli |
attachment added |
|
focal_initramfs_lp1879980.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1879987/+attachment/5398703/+files/focal_initramfs_lp1879980.debdiff |
|
2020-08-04 14:44:39 |
Guilherme G. Piccoli |
attachment added |
|
bionic_initramfs_lp1879980.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1879987/+attachment/5398704/+files/bionic_initramfs_lp1879980.debdiff |
|
2020-08-04 14:45:01 |
Guilherme G. Piccoli |
attachment added |
|
xenial_initramfs_lp1879987.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1879987/+attachment/5398705/+files/xenial_initramfs_lp1879987.debdiff |
|
2020-08-05 18:21:21 |
Guilherme G. Piccoli |
bug |
|
|
added subscriber STS Sponsors |
2020-08-12 18:38:34 |
Guilherme G. Piccoli |
attachment added |
|
bionic_initramfs_lp1879980_V2.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1879987/+attachment/5401089/+files/bionic_initramfs_lp1879980_V2.debdiff |
|
2020-08-27 15:14:46 |
Jose Delarosa |
bug |
|
|
added subscriber Jose Delarosa |
2020-08-31 18:39:21 |
Guilherme G. Piccoli |
attachment added |
|
groovy_initramfs_lp1879980_V2.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1879987/+attachment/5406227/+files/groovy_initramfs_lp1879980_V2.debdiff |
|
2020-08-31 18:39:39 |
Guilherme G. Piccoli |
attachment added |
|
focal_initramfs_lp1879980_V2.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1879987/+attachment/5406228/+files/focal_initramfs_lp1879980_V2.debdiff |
|
2020-09-01 17:58:14 |
Launchpad Janitor |
initramfs-tools (Ubuntu Groovy): status |
In Progress |
Fix Released |
|
2020-09-04 12:13:50 |
Timo Aaltonen |
initramfs-tools (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-09-04 12:13:52 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-09-04 12:13:54 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2020-09-04 12:13:58 |
Timo Aaltonen |
tags |
seg sts |
seg sts verification-needed verification-needed-focal |
|
2020-09-08 16:29:08 |
Guilherme G. Piccoli |
tags |
seg sts verification-needed verification-needed-focal |
sts verification-done verification-done-focal |
|
2020-09-15 15:47:10 |
Launchpad Janitor |
initramfs-tools (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2020-09-15 15:47:24 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-09-21 17:30:23 |
Mauricio Faria de Oliveira |
bug |
|
|
added subscriber Mauricio Faria de Oliveira |
2020-09-23 20:02:07 |
Mauricio Faria de Oliveira |
tags |
sts verification-done verification-done-focal |
sts sts-sponsor-mfo verification-done verification-done-focal |
|
2020-09-23 21:05:30 |
Mauricio Faria de Oliveira |
attachment added |
|
bionic_initramfs-tools_lp1879980_V3.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1879987/+attachment/5413639/+files/bionic_initramfs-tools_lp1879980_V3.debdiff |
|
2020-09-23 21:07:14 |
Mauricio Faria de Oliveira |
attachment added |
|
bionic_initramfs-tools_lp1879980_V3.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1879987/+attachment/5413640/+files/bionic_initramfs-tools_lp1879980_V3.debdiff |
|
2020-09-24 13:56:00 |
Łukasz Zemczak |
initramfs-tools (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2020-09-24 13:56:02 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-09-24 13:56:09 |
Łukasz Zemczak |
tags |
sts sts-sponsor-mfo verification-done verification-done-focal |
sts sts-sponsor-mfo verification-done-focal verification-needed verification-needed-bionic |
|
2020-09-24 13:58:46 |
Łukasz Zemczak |
initramfs-tools (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2020-09-24 13:58:52 |
Łukasz Zemczak |
tags |
sts sts-sponsor-mfo verification-done-focal verification-needed verification-needed-bionic |
sts sts-sponsor-mfo verification-done-focal verification-needed verification-needed-bionic verification-needed-xenial |
|
2020-09-24 20:22:37 |
Mauricio Faria de Oliveira |
tags |
sts sts-sponsor-mfo verification-done-focal verification-needed verification-needed-bionic verification-needed-xenial |
sts sts-sponsor-mfo verification-done-bionic verification-done-focal verification-needed verification-needed-xenial |
|
2020-09-24 20:33:23 |
Mauricio Faria de Oliveira |
tags |
sts sts-sponsor-mfo verification-done-bionic verification-done-focal verification-needed verification-needed-xenial |
sts sts-sponsor-mfo verification-done verification-done-bionic verification-done-focal verification-done-xenial |
|
2020-10-06 08:02:45 |
Launchpad Janitor |
initramfs-tools (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2020-10-06 08:03:03 |
Launchpad Janitor |
initramfs-tools (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|