Re: BUG while suspending to swap on LVM

Rafael J. Wysocki
2006-08-14T17:30:04Z

Hi,

Thanks for the report.

On Monday 14 August 2006 18:49, Laurent Riffard wrote:
> Hello,
>
> I hit a BUG while I was trying to suspend to a swap device on LVM.
> The call trace looks like this (see attached picture for detailed
> stack trace):
>
> EIP is at _raw_spin_lock
> Call Trace:
> die
> do_page_fault
> error_code
> _spin_lock_irq
> generic_unplug_device
> wait_on_bio_chain
> swap_write_image

This should be swap_write_page().

> swsusp_write
> pm_suspend_disk
> enter_state
> state_store
> susbsys_attr_store
> sysfs_write_file
> vfs_write
> sys_write
> sysenter_past_esp
>
> It was Linux 2.6.18-rc4-mm1 booted with:
> root=/dev/vglinux1/lvroot video=vesafb:mtrr splash=silent resume=/dev/mapper/vglinux1-lvswap init 1

Does the unpatched 2.6.18-rc4 work in this configuration?

Rafael