You are not logged in.

#1 2022-01-24 17:02:40

Foxhole
Member
Registered: 2015-08-14
Posts: 37

Baytrail laptop not booting anymore

This is a very weird scenario. Everything worked fine for around a year, 24/7 working, updated weekly (and rebooted after updates).

Yesterday I had found a warning which I don't recall, there was an emergency shell which told me that something failed (i do not remember sorry) . I rebooted it and I have ended up in a error message very similar to https://bbs.archlinux.org/viewtopic.php?id=234336 . I remember that there were the messages "status: { DRDY }" and "failed command: READ FPDMA QUEUED" .

I had a main ssd drive (an 120 G ssd) and a secondary hdd connected.
I had unplugged both of them and i checked them on another computer.
I ran

sudo smartctl -a /dev/sdh

on the ssd and everything looked fine (at least, to me).

smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.12-zen1-1-zen] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     SATA3 120GB SSD
Serial Number:    2021041300082
LU WWN Device Id: 0 000000 000000000
Firmware Version: FW200619
User Capacity:    120.034.123.776 bytes [120 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Jan 24 17:22:33 2022 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (  120) seconds.
Offline data collection
capabilities:                    (0x5d) SMART execute Offline immediate.
                                        No Auto Offline data collection support.
                                        Abort Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0002) Does not save SMART data before
                                        entering power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (   4) minutes.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x0032   100   100   050    Old_age   Always       -       0
  5 Reallocated_Sector_Ct   0x0032   100   100   050    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   050    Old_age   Always       -       4939
 12 Power_Cycle_Count       0x0032   100   100   050    Old_age   Always       -       85
160 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       0
161 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       0
163 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       580
164 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       42490
165 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       119
166 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       8
167 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       54
168 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       0
169 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       0
175 Program_Fail_Count_Chip 0x0032   100   100   050    Old_age   Always       -       50331648
176 Erase_Fail_Count_Chip   0x0032   100   100   050    Old_age   Always       -       468352
177 Wear_Leveling_Count     0x0032   100   100   050    Old_age   Always       -       1171582
178 Used_Rsvd_Blk_Cnt_Chip  0x0032   100   100   050    Old_age   Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   050    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   050    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   050    Old_age   Always       -       48
194 Temperature_Celsius     0x0032   100   100   050    Old_age   Always       -       40
195 Hardware_ECC_Recovered  0x0032   100   100   050    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   100   100   050    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   050    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0032   100   100   050    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   050    Old_age   Always       -       0
232 Available_Reservd_Space 0x0032   100   100   050    Old_age   Always       -       0
241 Total_LBAs_Written      0x0032   100   100   050    Old_age   Always       -       23855
242 Total_LBAs_Read         0x0032   100   100   050    Old_age   Always       -       10468
249 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       43854

SMART Error Log Version: 0
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Offline             Completed without error       00%      4938         -
# 2  Offline             Self-test routine in progress 10%      4938         -
# 3  Offline             Self-test routine in progress 10%      4938         -
# 4  Offline             Self-test routine in progress 10%      4938         -
# 5  Offline             Self-test routine in progress 10%      4938         -
# 6  Offline             Self-test routine in progress 10%      4938         -
# 7  Offline             Self-test routine in progress 10%      4938         -
# 8  Offline             Self-test routine in progress 10%      4938         -
# 9  Offline             Self-test routine in progress 10%      4938         -
#10  Offline             Self-test routine in progress 10%      4938         -
#11  Offline             Self-test routine in progress 10%      4938         -
#12  Offline             Self-test routine in progress 10%      4938         -
#13  Offline             Self-test routine in progress 10%      4938         -
#14  Offline             Self-test routine in progress 10%      4938         -
#15  Offline             Self-test routine in progress 10%      4938         -
#16  Offline             Self-test routine in progress 10%      4938         -
#17  Offline             Self-test routine in progress 10%      4938         -
#18  Offline             Self-test routine in progress 10%      4938         -
#19  Offline             Self-test routine in progress 10%      4938         -
#20  Offline             Self-test routine in progress 10%      4938         -
#21  Offline             Self-test routine in progress 10%      4938         -

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

I ran

sudo smartctl -a /dev/sdh

on the hdd and i got:

smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.12-zen1-1-zen] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Laptop HDD
Device Model:     ST500LT012-1DG142
Serial Number:    W3PCEF3Q
LU WWN Device Id: 5 000c50 07d6da79e
Firmware Version: 0001SDM1
User Capacity:    500.107.862.016 bytes [500 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Jan 24 14:16:23 2022 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (    0) seconds.
Offline data collection
capabilities:                    (0x73) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        ( 104) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x1035) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   117   099   006    Pre-fail  Always       -       142917584
  3 Spin_Up_Time            0x0003   099   099   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       1000
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   064   060   030    Pre-fail  Always       -       51569190855
  9 Power_On_Hours          0x0032   093   093   000    Old_age   Always       -       6322 (184 253 0)
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       872
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   081   055   045    Old_age   Always       -       19 (Min/Max 19/19)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       98
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       5
193 Load_Cycle_Count        0x0032   010   010   000    Old_age   Always       -       180595
194 Temperature_Celsius     0x0022   019   045   000    Old_age   Always       -       19
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   099   099   000    Old_age   Offline      -       1605 (101 71 0)
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       4031286229
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       6399979261
254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%         9         -
# 2  Short offline       Completed without error       00%         9         -
# 3  Short offline       Completed without error       00%         9         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Which may mean that this drive is dying, maybe? Anyway, I have been able to recover all of its content.

Then I have booted the laptop via an archlinux ISO usb with the ssd only, I had removed the fstab entry for the secondary hdd and then I tried booting it with no success.
It always hangs after the "Loading initial ramdisk ..." message.
I used to use linux-zen kernel, i had tried installing the normal linux kernel (from usb booting) but I get the same behaviour.
I deleted nvidia drivers as first (I tried an egpu setup in the past) but probably it was useless doing so.
In journalctl logs there are no relevant entries about any failure at all, it seems like they have not been recorded at all (I have no logs earlier than yesterday's ones before the crash).
I tried booting also with fallbacks and even recovery. Recovery shows more messages than the other two, but they are unreadable (module i915 is required to have them readable). Mainly I expect they were about xhci_pci warnings I had since a long time (USB 3.0 ports were poorly designed, too little power was provided to them).

Still, after booting via usb and arch-chrooting on the ssd, I see nothing on those logs.
in /etc/mkinitcpio.conf i only had module i915 for early loading. I tried adding intel_agp too, but nothing changed (I had regenerated the images with mkinitcpio -P).

I had tried reinstalling grub, recreated the boot partition (gpt + bios, bios does not support efi) but nothing changed.
i tried pacstrap on the system too.
The only boot parameter I had was "intel_idle.max_cstate=1" due to a hardware bug in Baytrail architectures.

Do you have any clue on how could I make it work again? It seems so weird to me that it boots from the usb key but not from the ssd

I have no clue on what other command may I run to provide you more info.

Last edited by Foxhole (2022-01-24 17:55:34)

Offline

#2 2022-01-24 17:42:46

Foxhole
Member
Registered: 2015-08-14
Posts: 37

Re: Baytrail laptop not booting anymore

EDIT: It started with linux-lts.
Did the new kernel broke something?

Offline

#3 2022-01-27 13:27:42

Foxhole
Member
Registered: 2015-08-14
Posts: 37

Re: Baytrail laptop not booting anymore

Edit: it is the same situation better reported here:
https://bbs.archlinux.org/viewtopic.php?id=273295

Offline

Board footer

Powered by FluxBB