Errors between Grub and Password login

Asked by Rich.b

Ubuntu OS 22.04.3 LTS

Errors flashing up between Grub & Password Login.

As the very quick flash message 1sec or so & is intermittent it is very difficult to read.

Is there a log of these messages somewhere in my PC ?

Thanks for any help.

Rich.b

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Rich.b
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does the system work OK despite the message?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

You may see it in the output of:

dmesg

I suggest you reboot so the message will be towards the bottom of the output

Revision history for this message
Rich.b (aybi30) said :
#3

Yes system works normally. The error mgs are intermitant and show sometimes different drives sda or sdb. flashed screen is too fast to yet much more info.

here is the end of dmesg:-

[ 328.228447] audit: type=1107 audit(1719558167.765:248): pid=1679 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.145" pid=6756 label="snap.firefox.firefox" peer_pid=9089 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[ 3371.318684] workqueue: delayed_fput hogged CPU for >10000us 8 times, consider switching to WQ_UNBOUND
[ 6090.941997] workqueue: delayed_fput hogged CPU for >10000us 16 times, consider switching to WQ_UNBOUND
[ 6546.999192] audit: type=1400 audit(1719564386.514:249): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=22953 comm="snap-confine" capability=12 capname="net_admin"
[ 6546.999200] audit: type=1400 audit(1719564386.514:250): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=22953 comm="snap-confine" capability=38 capname="perfmon"
[ 6547.043269] audit: type=1400 audit(1719564386.558:251): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=23009 comm="snap-confine" capability=12 capname="net_admin"
[ 6547.043278] audit: type=1400 audit(1719564386.558:252): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=23009 comm="snap-confine" capability=38 capname="perfmon"
geek@hal-h510m-s2h-v2:~$

Hope is usefull.

Revision history for this message
Rich.b (aybi30) said :
#4

I found these in RED if it helps you.

[ 9.941405] ata2.00: configured for UDMA/133
[ 9.941435] sd 1:0:0:0: [sdb] tag#30 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=5s
[ 9.941445] sd 1:0:0:0: [sdb] tag#30 Sense Key : Illegal Request [current]
[ 9.941452] sd 1:0:0:0: [sdb] tag#30 Add. Sense: Unaligned write command
[ 9.941459] sd 1:0:0:0: [sdb] tag#30 CDB: Read(10) 28 00 00 00 20 00 00 00 08 00
[ 9.941462] I/O error, dev sdb, sector 8192 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[ 9.941649] ata2: EH complete
[ 10.373674] EXT4-fs (dm-0): mounted filesystem 7bdac1c5-3ec2-46dc-9849-9c8742321977 ro with ordered data mode. Quota mode: none.
[ 10.523424] systemd[1]: Inserted module 'autofs4'
[ 10.545022] systemd[1]: systemd 249.11-0ubuntu3.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 10.545087] systemd[1]: Detected architecture x86-64.

[ 4.171146] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 4.171384] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 4.171395] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[ 4.171434] sd 1:0:0:0: [sdb] Write Protect is off
[ 4.171445] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 4.171535] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.171575] scsi 2:0:0:0: Direct-Access ATA ST2000DM008-2UB1 0001 PQ: 0 ANSI: 5
[ 4.171654] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[ 4.172457] sd 2:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 4.172466] sd 2:0:0:0: [sdc] 4096-byte physical blocks
[ 4.172471] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 4.172503] sd 2:0:0:0: [sdc] Write Protect is off
[ 4.172514] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 4.172593] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.172717] sd 2:0:0:0: [sdc] Preferred minimum I/O size 4096 bytes
[ 4.172890] scsi 3:0:0:0: Direct-Access ATA WDC WD20PURX-64P 0A80 PQ: 0 ANSI: 5
[ 4.173654] sd 3:0:0:0: Attached scsi generic sg3 type 0
[ 4.173760] sd 3:0:0:0: [sdd] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 4.173771] sd 3:0:0:0: [sdd] 4096-byte physical blocks
[ 4.173802] sd 3:0:0:0: [sdd] Write Protect is off
[ 4.173811] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[ 4.173851] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.173887] sd 3:0:0:0: [sdd] Preferred minimum I/O size 4096 bytes
[ 4.195771] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 4.199551] sdc: sdc1 sdc2 sdc3 sdc4
[ 4.200028] sd 2:0:0:0: [sdc] Attached SCSI disk
[ 4.207318] sdd: sdd1 < sdd5 sdd6 > sdd2
[ 4.207765] sd 3:0:0:0: [sdd] Attached SCSI disk
[ 4.244786] r8169 0000:02:00.0 enp2s0: renamed from eth0
[ 4.256612] usb 1-2: new low-speed USB device number 3 using xhci_hcd
[ 4.380614] ata2.00: exception Emask 0x50 SAct 0x40000000 SErr 0x4090800 action 0xe frozen
[ 4.380797] ata2.00: irq_stat 0x00400040, connection status changed
[ 4.380922] ata2: SError: { HostInt PHYRdyChg 10B8B DevExch }
[ 4.381033] ata2.00: failed command: READ FPDMA QUEUED
[ 4.381132] ata2.00: cmd 60/08:f0:00:20:00/00:00:00:00:00/40 tag 30 ncq dma 4096 in
                        res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x50 (ATA bus error)
[ 4.381414] ata2.00: status: { DRDY }
[ 4.381489] ata2: hard resetting link

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Launchpad doesn't show colours :)

Which time line(s) did you hightlight? The values in the brackets are the time in seconds since the kernel came online

Revision history for this message
Rich.b (aybi30) said :
#6

all these were red.
[ 4.380614] ata2.00: exception Emask 0x50 SAct 0x40000000 SErr 0x4090800 action 0xe frozen
[ 4.380797] ata2.00: irq_stat 0x00400040, connection status changed
[ 4.380922] ata2: SError: { HostInt PHYRdyChg 10B8B DevExch }
[ 4.381033] ata2.00: failed command: READ FPDMA QUEUED
[ 4.381132] ata2.00: cmd 60/08:f0:00:20:00/00:00:00:00:00/40 tag 30 ncq dma 4096 in
                        res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x50 (ATA bus error)
[ 4.381414] ata2.00: status: { DRDY }

and this one
[ 9.941462] I/O error, dev sdb, sector 8192 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2

Hope this helps.

Rich.b

Revision history for this message
Rich.b (aybi30) said :
#7

I have change SATA connections
replace one of hd a month or two ago.
Disconnected DVD drive added another hd
 now have 1x 2tb ssd hd 3 x 2tb mechanical.

didn't notice any problems after doing this 2 weeks ago.

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

The messages indicate a problem with a storage device.

Maybe one of your hard disks is dying, probably the disk identified as sdb

[ 9.941462] I/O error, dev sdb, sector 8192 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2

Revision history for this message
Rich.b (aybi30) said :
#9

Thanks Andrew for his help.

And

Thank you Manfred , yes that what I was suspecting.

Rich.b