Is it platform specific
generic
Importance or Severity
Critical
Description of the bug
Debian 13 sonic image doesn't print time in seconds since boot for kernel logs which is very useful for debugging. This was present in Debian 12 sonic image.
2025-10-29T18:56:17.859374+00:00 sonic kernel: Linux version 6.12.41+deb13-sonic-amd64 ([email protected]) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12)
2025-10-29T18:56:17.859381+00:00 sonic kernel: Command line: BOOT_IMAGE=/image-master_trixie/boot/vmlinuz-6.12.41+deb13-sonic-amd64 root=UUID=71d569e6-ee54-4ffa-a512-771670c645bd rw console=tty0 console=ttyS0,115200n8 quiet processor.max_cstate=1 intel_idle.max_cstate=0 sonic_fips=1 net.ifnames=0 biosdevname=0 loop=image-master_trixie/fs.squashfs loopfstype=squashfs apparmor=1 security=apparmor varlog_size=4096 usbcore.autosuspend=-1 libata.force=noncq tpm_tis.interrupts=0 nosgx
2025-10-29T18:56:17.859383+00:00 sonic kernel: BIOS-provided physical RAM map:
Debian 12
2025-10-29T17:17:15.861703+00:00 sonic kernel: [ 0.000000] Linux version 6.1.0-29-2-amd64 ([email protected]) (gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02)
2025-10-29T17:17:15.861708+00:00 sonic kernel: [ 0.000000] Command line: BOOT_IMAGE=/image-master_debian/boot/vmlinuz-6.1.0-29-2-amd64 root=UUID=71d569e6-ee54-4ffa-a512-771670c645bd rw console=tty0 console=ttyS0,115200n8 quiet processor.max_cstate=1 intel_idle.max_cstate=0 sonic_fips=1 net.ifnames=0 biosdevname=0 loop=image-master_debian/fs.squashfs loopfstype=squashfs systemd.unified_cgroup_hierarchy=0 apparmor=1 security=apparmor varlog_size=4096 usbcore.autosuspend=-1 libata.force=noncq tpm_tis.interrupts=0 nosgx
The kernel ring bugger in dmesg does have these timestamps.
I have also verified that CONFIG_PRINTK_TIME kconfig is already enabled on debian 13
root@sonic:/boot# cat config-6.12.41+deb13-sonic-amd64 | grep "CONFIG_PRINTK_TIME"
CONFIG_PRINTK_TIME=y
Steps to Reproduce
Install Debian 13 sonic image and check /var/log/syslog or /var/log/kern.log files
Actual Behavior and Expected Behavior
Actual Behaviour: Time since boot in seconds doesn't appear in syslog for kernel logs
Expected Behaviour: Time since boot in seconds must appear in syslog for kernel logs
Is it platform specific
generic
Importance or Severity
Critical
Description of the bug
Debian 13 sonic image doesn't print time in seconds since boot for kernel logs which is very useful for debugging. This was present in Debian 12 sonic image.
Debian 12
The kernel ring bugger in dmesg does have these timestamps.
I have also verified that CONFIG_PRINTK_TIME kconfig is already enabled on debian 13
Steps to Reproduce
Install Debian 13 sonic image and check /var/log/syslog or /var/log/kern.log files
Actual Behavior and Expected Behavior
Actual Behaviour: Time since boot in seconds doesn't appear in syslog for kernel logs
Expected Behaviour: Time since boot in seconds must appear in syslog for kernel logs