retitle 317479 hibernate does not play well with XFS /boot
thanks

also sprach Cameron Patrick <[EMAIL PROTECTED]> [2005.07.09.0550 +0200]:
> > title WARNING: Linux 2.6.12-wing is suspended via Software Suspend!"
> 
> Does getting rid of the trailing quote on the second title line help?

Oh, that issue. No, it does not fix it, but it's a separate bug.

No, this time round it's really weird.

If I suspend, the grub prompt is shown.
If I reboot normally, the menu is shown.

I once rebooted shortly after the kernel started loading after
seeing the prompt and then got the menu.

Thus I think something must be happening at the early stages of
initialisation which makes grub work on subsequent reboots.

Here's another peculiarity:

In the grub prompt, I can

  cat /grub/menu.lst.working

(that's a backup copy), but when I do

  cat /grub/menu.lst

I get: Error 2: Bad file or directory type
"This error is returned if a file requested is not a regular file,
but something like a symbolic link, directory, or FIFO."

But I cannot determine what the problem is. Booting off a CD and
mounting the /boot filesystem shows a normal file.

And now I found something even more interesting. This is probably
the same as #246111 and all the merged blocks. My /boot is an XFS
filesystem, and menu.lst does not get committed in time. If
I repair a filesystem dump:

wing:/tmp# xfs_repair -L part1
[...]
imap claims in-use inode 136 is free, correcting imap
[...]
entry "menu.lst" at block 0 offset 1608 in directory inode 132 references free 
inode 156
  clearing inode number in entry at offset 1608...
[...]
disconnected inode 136, moving to lost+found
[...]

you can guess what inode 136 holds... menu.lst.

I don't know of a fix to this problem, but I have contacted the XFS
mailing list about it.

-- 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
 
whatever you do will be insignificant,
but it is very important that you do it.
                                                     -- mahatma gandhi

Attachment: signature.asc
Description: Digital signature

Reply via email to