Bug 588354 - Fails to resume from disk, and fails to mount root if resume= line is present
Summary: Fails to resume from disk, and fails to mount root if resume= line is present
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 13
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-03 14:37 UTC by Matthew Garrett
Modified: 2013-01-10 07:49 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-05-12 09:20:24 UTC


Attachments (Terms of Use)

Description Matthew Garrett 2010-05-03 14:37:41 UTC
Description of problem:

If a resume= parameter is added to the kernel command line, dracut does not trigger a resume from disk. Further, it then fails to mount the root filesystem.

Version-Release number of selected component (if applicable):

dracut-005-3.fc13

How reproducible:

Always

Steps to Reproduce:

Add an entry like resume=/dev/mapper/vg_hostname-lv_swap to the kernel commandline and attempt to resume or boot.
  
Actual results:

Machine fails to resume. Machine also fails to boot.

Expected results:

Machine resumes. If machine fails to resume, machine should attempt to boot.

Comment 1 Matthew Garrett 2010-05-03 14:50:09 UTC
Booting to rdshell shows that lv_root is active but all other lvs are inactive. Running lvm vgchange -ay vg_hostname results in the machine resuming.

Comment 2 Matthew Garrett 2010-05-03 14:50:28 UTC
lvchange, not vgchange.

Comment 3 Harald Hoyer 2010-05-12 09:20:24 UTC
(In reply to comment #0)
> Add an entry like resume=/dev/mapper/vg_hostname-lv_swap to the kernel
> commandline and attempt to resume or boot.

the you also have to add rd_LVM_LV=vg_hostname/lv_swap ... or remove all rd_LVM_* parameters

anaconda should add that to the kernel command line.


Note You need to log in before you can comment on or make changes to this bug.