[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 3) whats your kernel command line?
> 
> # cat /proc/cmdline
> BOOT_IMAGE=/boot/vmlinuz-6.12.12-amd64
> root=PARTUUID=add96c19-7043-4bb1-8899-ca970a7d33c8 ro console=tty0
> console=ttyS0,115200 earlyprintk=ttyS0,115200 consoleblank=0
  ^^^^^^^^^^^^^

> [..] After I sent this bug report yesterday, I also found out that
> someone has reported what I believe is the same bug to
> upstream a while ago ( https://github.com/util-linux/util-linux/issues/3304
> ) but so far nobody has commented on that report.

Yeah, this seems like the same issue.

> Note that in the strace log I attached, it tries to open / access the file
> at /run/credentials/serial-getty@ttyS0.service. My VM does not have a serial
> port (since Proxmox VMs apparently don't have one by default). If I add a
> serial port to the VM and then boot it, the errors are gone. So maybe it
> tries to provide a serial console on ttyS0 due to the "console=ttyS0,115200"
> in the kernel command line (I didn't put it there, maybe it's the default?)
> and that fails because it doesn't exist?

> execve("/sbin/agetty2", ["/sbin/agetty2", "-o", "-- \\u", "--noreset", "--noclear", "--keep-baud", "115200,57600,38400,9600", "-", "vt220"], 0x7fff7671f090 /* 11 vars */) = 0
[..]
> openat(AT_FDCWD, "/run/credentials/serial-getty@ttyS0.service", O_RDONLY|O_CLOEXEC) = 3
[..]
> ioctl(0, TCGETS, 0x7fff9faad2e0)        = -1 EIO (Input/output error)
> ioctl(1, TCGETS, 0x7fff9faad2e0)        = -1 EIO (Input/output error)
> ioctl(2, TCGETS, 0x7fff9faad2e0)        = -1 EIO (Input/output error)
[..]


Chris





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux