You are not logged in.

#26 2020-11-26 16:53:42

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

My windows partition is not mounted, how can i access to the file from linux ?

And am i not already on the LTS kernel ? Didn't understood this part too ...

Sorry, i'm still a noob at arch hmm

Offline

#27 2020-11-26 17:11:08

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

nov. 26 16:40:13 ArchWaker kernel: Linux version 5.9.10-arch1-1 (linux@archlinux) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Sun, 22 Nov 2020 14:16:59 +0000

https://www.archlinux.org/packages/core … linux-lts/ & https://www.archlinux.org/packages/extr … vidia-lts/

how can i access to the file from linux

https://wiki.archlinux.org/index.php/Fi … ile_system

Offline

#28 2020-11-26 17:21:28

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 185

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

nov. 26 16:40:13 ArchWaker kernel: Kernel command line: rw nomodeset root=/dev/nvme0n1p5 resume=7808b6ae-f52e-4b69-8112-341fb5fcd101 resume_offset=12816384 initrd=\initramfs-linux.img
nov. 26 16:40:13 ArchWaker kernel: You have booted with nomodeset. This means your GPU drivers are DISABLED
nov. 26 16:40:13 ArchWaker kernel: Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly
nov. 26 16:40:13 ArchWaker kernel: Unless you actually understand what nomodeset does, you should reboot without enabling it

What if you remove nomodeset from command line?

Online

#29 2020-11-26 17:25:02

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

So it was juste mounting the windows partition lol.

GeorgeJP wrote:

What if you remove nomodeset from command line?

If i remove nomodeset, i just can't see my screen anymore, from the first install it's a hardware incompatibility which make a blackscreen just after the boot, whether linux is on a DE or on console...

There is the stats of hibernate.sys :

[walid@ArchWaker windows]$ stat hiberfil.sys 
  Fichier : hiberfil.sys
   Taille : 6843146240	Blocs : 13365520   Blocs d'E/S : 4096   fichier
Périphérique : 10303h/66307d	Inœud : 50          Liens : 1
Accès : (0777/-rwxrwxrwx)  UID : (    0/    root)   GID : (    0/    root)
 Accès : 2020-11-26 17:14:01.980670700 +0100
Modif. : 2020-11-26 17:14:01.980670700 +0100
Changt : 2020-11-26 17:14:01.980670700 +0100
  Créé : -

Juste a sec and i install LTS again

Offline

#30 2020-11-26 17:31:09

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

I have a problem, when i try to install linux lts, after the mkinitcpio scripts, it says me :

 
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
gzip: stdout: No space left on device
bsdtar: Write error
bsdtar: Write error
==> ERROR: Image generation FAILED: bsdtar (step 1) reported an error

And i see with df that my boot partition is full.

What can i do ? delete manually the initramfs files ?

Offline

#31 2020-11-26 17:52:20

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

So, i deleted the initramfs manually, and then ran again pacman -S linux-lts

My windows boot is properly shutdown, booted on the lts initramfs, but when i hibernate, still the same problem, didn't changed a thing.

Last edited by hswmk (2020-11-26 22:40:15)

Offline

#32 2020-11-26 21:16:42

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

Please don't bump. Just edit your previous post when nobody has replied inbetween.

The hiberfil.sys was last written today 17:14:01 CET but you claimed to have "just disabled it" today 12:36 CET - this smells like windows fast boot is not actually disabled and certainly wasn't at some point (17:14) after you claimed to have disabled it.
Try to shutdown windows from cmd.exe

shutdown /s /f /t 0

and see whether that has any impact. Also watch the hiberfil.sys timestamps again.

Offline

#33 2020-11-26 23:21:19

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

Oh sorry for the post bump.

So, i did the shutdown on windows with your command line, and when i went on linux, i couldn't mount the windows partition because .... The system was hibernating !!

I'm sure at 1000% i disabled it on windows, and then i remembered, there is a fast boot option in my Bios settings.

I just disabled it, tonight i will shutdown my windows part with the command line, and the we will see tomorrow the hiberfil.sys timestamps.

Thanks for all your help so far.

Offline

#34 2020-11-27 08:03:09

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

This is why windows sucks ;-)

The BIOS fast-boot is unrelated, it (typically) skips some lengthy memory checks.
Boot back into windows and shutdown again at least once (but feel free to do it twice or thrice to please the ACPI voodoo gods) before booting linux again to hopefully get into a consistent state.

Offline

#35 2020-11-27 12:33:57

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

Hello, so i used your command line yesterday, and when i went this morning to mount the windows partition ... Again hibernating.

Then i tried like 4 times to reboot windows with the command line, to make sure it was properly shutdown, and i'm 100% sure i disabled fast boot in windows menus, then ran linux... and again !

Windows is hibernated, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)

At this point i just want to know why it isn't working and reinstall a cleaner arc sad

Offline

#36 2020-11-27 13:26:25

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

Possibly not hibernation but an unclean shutdown, try a bit more relaxed:

shutdown /s

Offline

#37 2020-11-27 14:12:19

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

Still the same, unable to mount...

Offline

#38 2020-11-27 14:20:18

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

Try to run a filesystem check…

Offline

#39 2020-11-27 14:29:05

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

I don't understand, i have fsck enable in my mkinitcpio, so it runs automatically at every boot if i understood how it works ?

Offline

#40 2020-11-27 14:30:44

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

"On windows"
It's an ntfs partition, isn't? And you're also not automounting it either, are you?

Offline

#41 2020-11-27 14:48:54

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

Oh yeah right,

So there's the outcome :

C:\Windows\system32>DISM.exe /Online /Cleanup-image /Restorehealth

Outil Gestion et maintenance des images de déploiement
Version : 10.0.19041.572

Version de l’image : 10.0.19041.630

[==========================100.0%==========================] La restauration a été effectuée.
L’opération a réussi.

C:\Windows\system32>sfc /scannow

Début de l’analyse du système. Cette opération peut nécessiter un certain temps.

Démarrage de la phase de vérification de l’analyse du système.
La vérification est à 100% terminée.

La Protection des ressources Windows a détecté des fichiers corrompus et les a réparés.
Pour les réparations en ligne, les détails sont inclus dans le fichier journal de CBS situé à l'emplacement suivant :
windir\Logs\CBS\CBS.log. Exemple : C:\Windows\Logs\CBS\CBS.log. Pour les réparations
hors connexion, les détails sont inclus dans le fichier journal fourni par l'indicateur /OFFLOGFILE.

Going to try to mount the partition now after shutdown windows.

Edit :

Still can't mount ...

 
Windows is hibernated, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)

I really don't understand what happening here.

Last edited by hswmk (2020-11-27 14:53:54)

Offline

#42 2020-11-27 17:31:35

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

How exactly did you disable windows fast-start?
Try to also disable hibernation (ie. the actual explicit feature, follow-up link on tenforums.com)

Offline

#43 2020-11-27 17:46:01

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

In the power settings in windows as said in your link.

The hibernation is already disabled, i tried that, and i don't have hibernate option anymore in windows menu since yesterday.

Offline

#44 2020-11-28 14:58:06

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

When you shutdown windows "normally", can you mount the FS?
What if you "reboot" windows , but reboot into linux?

Offline

#45 2020-11-29 23:09:52

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

Hello, Indeed with a normal shutdown the mounting was possible (I gave you the hiberfile.sys like this).

FYI i finally reinstalled the archlinux part, was a little bit fed up with this not working, then i found that even with the brand new archlinux, it still do the same rebooting !!

Then i saw in this link : https://wiki.archlinux.org/index.php/Du … th_Windows

For the same reason, if you share one EFI System Partition between Windows and Linux, then the EFI System Partition may be damaged if you hibernate (or shutdown with Fast Startup enabled) and then start Linux, or hibernate Linux and then start Windows.

Is there a possibility that the problem was something between the EFI and refind, with a corrupted EFI which make the system partially works ?

Offline

#46 2020-11-30 15:10:47

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

I'm not sure whether a corrupted EFI partition could cause an ACPI error, but would certainly fsck it.

Offline

#47 2020-12-02 19:21:16

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

I did even better lol.
So, I ran some test, and the fun thing is :
    - I first reinstalled Archlinux, the problem was still there.
    - Then i reinstalled Windows, still the same problem.
    - Finally, as i have a NVME ssd and a normal SSD, i reinstalled windows with his ESP on the nvme, and Arch with his ESP in the other SSD. I installed Refind on the Archlinux ESP and booting on Refind.

And then .... STILL same problem !

I'm starting to think that it is a linux version problem maybe ?

I think i will give up on hibernate and just start normally my pc, even i have to get used again to not use the hibernate functionality...

Last edited by hswmk (2020-12-02 19:22:34)

Offline

#48 2020-12-02 21:39:52

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

What if you lie and pass

acpi_osi=! acpi_osi="Windows 2009"

to the kernel paraeters? (you can also try 2012 ad 2013)

Offline

#49 2021-04-11 09:12:42

hswmk
Member
Registered: 2020-11-26
Posts: 24

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

Hello, after some month without ArchLinux, i'M BACK big_smile

I used to have this problem, and the Archwiki solved it, so i came to link the problem i was having :
https://wiki.archlinux.org/index.php/Po … om_suspend

The problem was that my usb devices (mouse and keyboard), was interacting bad with the ACPI wakeup triggers, and tweaking the file made it goes smoothly into hibernate.

We were close seth, thank you for all the time you spent on the case, even if i droped it before we found the solution.

Offline

#50 2021-04-11 13:13:27

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [SOLVED] Hibernate Reboot instead of sleep after linux update

Cool.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB