Failure writing sector to hd0. Press any key to continue...

Hello Manjaros,
when i open my laptop then this message appear.

error: failure writing sector 0x318e2078 to 'hd0'. Press any key to continue...

My laptop is equipped with 500gb ssd (mm2) and it works perfect. Any solutions or reasons why does it happens?

Also please provide the output of

journalctl -b | grep nvme

and

lsblk
1 Like

Sorry for no providing info

inxi -Fxxxza --no-host*

System:
  Kernel: 5.2.11-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.1.0 
  parameters: ***
  Desktop: Gnome 3.32.2 wm: gnome-shell dm: GDM 3.32.0 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: LENOVO product: 80NV v: Lenovo ideapad Y700-15ISK 
  serial: <filter> Chassis: type: 10 v: Lenovo ideapad Y700-15ISK 
  serial: <filter> 
  Mobo: LENOVO model: Allsparks 5A v: *** WIN serial: <filter> 
  UEFI: LENOVO v: ***
Battery:
  ID-1: BAT0 charge: 40.2 Wh condition: 45.7/60.0 Wh (76%) volts: 15.3/14.8 
  model: SMP L14M4P23 type: Li-ion serial: <filter> status: Discharging 
CPU:
  Topology: Quad Core model: Intel Core i7-6700HQ bits: 64 type: MT MCP 
  arch: Skylake-S family: 6 model-id: 5E (94) stepping: 3 microcode: CC 
  L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 41488 
  Speed: 1600 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 1600 2: 1600 
  3: 1600 4: 1600 5: 1600 6: 1600 7: 1600 8: 1600 
  Vulnerabilities: Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Lenovo driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:191b 
  Device-2: NVIDIA GM107M [GeForce GTX 960M] vendor: Lenovo driver: nouveau 
  v: kernel bus ID: 0*** chip ID: ***
  Display: x11 server: X.org 1.20.5 driver: nouveau compositor: gnome-shell 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) 
  v: 4.5 Mesa 19.1.5 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID:***
  Sound Server: ALSA v: k5.2.11-1-MANJARO 
Network:
  Device-1: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi 
  v: kernel port: *** bus ID: *** chip ID:*** 
  IF: wlp8s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 3000 bus ID: ***
  chip ID: ***
  IF: enp9s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 27.95 GiB (5.9%) 
  ID-1: /dev/sda vendor: LITE-ON model: CV1-8B512 size: 476.94 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 201 scheme: GPT 
Partition:
  ID-1: / raw size: 467.84 GiB size: 459.50 GiB (98.22%) 
  used: 27.92 GiB (6.1%) fs: ext4 dev: /dev/sda2 
  ID-2: swap-1 size: 8.80 GiB used: 38.2 MiB (0.4%) fs: swap 
  swappiness: 60 (default) cache pressure: 100 (default) dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 39.0 C mobo: N/A gpu: nouveau temp: 43 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 237 Uptime: 53m Memory: 15.49 GiB used: 7.22 GiB (46.6%) 
  Init: systemd v: 242 Compilers: gcc: 9.1.0 Shell: bash v: 5.0.9 
  running in: gnome-terminal inxi: 3.0.36

lsblk

AME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0   477G  0 disk 
├─sda1   8:1    0   300M  0 part /boot/efi
├─sda2   8:2    0 467,9G  0 part /
└─sda3   8:3    0   8,8G  0 part [SWAP]

journalctl -b | grep nvme

Nothing

Please edit your post and use preformatted text tags instead of blockquote tags. Use the </> button or put the output between three of these: ```

It does not appear your drive is detected as an NVME as no details about it are listed at all. What's the brand and model?

Model of my ssd

  Hardware Class: disk
  Model: "LITEON CV1-8B512"
  Vendor: "LITEON"

Ah, I saw Lite-On and thought it was an optical drive. I didn't know they made SSD's. :crazy_face:

How about:

sudo dmesg | grep -i 'error\|warn\|exception'

Here you go, Chief! :joy:

[    0.978918] RAS: Correctable Errors collector initialized.
[    3.117197] ACPI Warning: \_SB.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20190509/nsarguments-59)
[    3.117283] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20190509/nsarguments-59)

Those warning aren't related to the issue and probably can be ignored.

Check your BIOS settings under something like SATA Operation and make sure it's set to AHCI.

1 Like

The is no option about this.

I think that AHCI is the only drive mode. So there wont be a configuration option.

Information tab
Product Name and more info
Cpu
Hard Disk
Preinstalled OS licence
Secure boot status

Configuration tab
System time
system date
wireless lan
graphic device
power beep
interl virtual technology
bios back flash
hotkey mode
always on usb

Security tab
Admin password
user password
hdd password
intel platform trust technology
clear intel pit key
secure boot
secure boot status
platform mode
secure boot mode
reset to setup mode
restore factory keys

Boot tab
Boot mode
fast boot
usb boot
pxe boot to lan
ipv4 pxe first
Efi

Well, so much for that idea. Let's see your full dmesg output.

sudo dmesg > dmesg.log

That will save the output to dmesg.log in whatever folder you're in. Paste the contents somewhere like dogbin and link it here.

EDIT: Also make sure you have the latest BIOS installed. It looks like it's a pretty minor update, but you never know. It would be best to search by your serial number just to make sure you find the right one.

Is it safe to share al of this info? :no_mouth:
I have the latest installed from lenovo's support website.

It's just the kernel message buffer output, there shouldn't be any personal information. You can always censor something if needed.

Forum kindly sponsored by