Re: Oops on suspend

From: Rafael J. Wysocki
Date: Tue Aug 15 2006 - 09:08:02 EST


On Tuesday 15 August 2006 14:56, Antonino A. Daplas wrote:
> On Tue, 2006-08-15 at 11:53 +0200, Rafael J. Wysocki wrote:
> > On Tuesday 15 August 2006 02:52, Antonino A. Daplas wrote:
> > > Anyone see this oops on suspend to disk? Copied by hand only.
> > >
> > > EIP is at swap_type_of
> > >
> > > swsusp_write
> > > pm_suspend_disk
> > > enter_state
> > > state_store
> > > subsys_attr_store
> > > sysfs_write_file
> > > vfs_write
> > > sys_write
> > > sysenter_past_EIP
> > >
> > > openSUSE-10.2-Alpha3 (2.6.18-rc4), but I see this also with stock
> > > 2.6.18-rc4-mm1.
> >
> > Are there two swap partitions on your system? Is any of them on an LVM?
>
> I have two swap partitions, /dev/hda3 and /dev/hdc1. resume=/dev/hdc1.
>
> If both partitions are mounted, suspend fails with a message of "cannot
> determined swap partition", or something to that effect.
>
> If I do swapoff /dev/hda3, then suspend to disk, I get the oops.
>
> No LVM.
>
> I'll try removing /dev/hda3 and try again. Hold on...

OK

Could you please try the patch I posted earlier today
(http://marc.theaimsgroup.com/?l=linux-kernel&m=115563697203025&q=raw)?

Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/