Re: [FIX, please test] Re: 2.5.70-bk16 - nfs interferes with s4bios suspend

Pavel Machek (pavel@suse.cz)
Wed, 18 Jun 2003 12:35:28 +0200


Hi!

> > > > Turn it off. You don't want to debug preempt and nfs at the same time.
> > >
> > > And this is with preempt off:
> > >
> > > Stopping tasks: XFree86 entered refrigerator
> > > =pdflush entered refrigerator
> > ...
> > > =init entered refrigerator
> > > =procmail entered refrigerator
> > > =|
> > > Freeing memory: .........................|
> > > Syncing disks before copy
> > > Suspending devices
> > > Suspending device c052c48c
> > > Suspending devices
> > > Suspending device c052c48c
> > > suspending: hda ------------[ cut here ]------------
> > > kernel BUG at drivers/ide/ide-disk.c:1110!
> >
> > Okay, you hit some ide problems, but freezing NFS worked okay. Did you
> > have active NFS mounts at this point?
>
> Yup. I upgraded to .72 and tried again (using the new taskfile stuff) and
> this time it suspended. On resume though, the framebuffer console wasn't
> really functioning. I had to switch to X and then switch back again before
> it was all groovy.

Thanx.

> Ponderance: Why did it do a full s/w suspend when I asked for the bios
> to handle it? I have s4bios showing up in /proc/acpi/sleep and the bios
> is set to suspend to disk. I've even got an a0 partition fully formatted
> and it still ignored it all.

I don't know, try looking at drivers/acpi/sleep/main.c, and if
neccessary insert some printk()s to see what's going on.

> I was using the following line to activate it:
>
> echo 4b >/proc/acpi/sleep

That seems right.

Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/