Re: Swap doesn't work

Alex Riesen (Alexander.Riesen@synopsys.com)
Sun, 27 Oct 2002 13:50:21 +0100


On Sun, Oct 27, 2002 at 12:07:44PM +0100, Vladim?r T?ebick? wrote:
> > Wow. Any of the errors above prevents swap partition from being used.
> > How did you manage to see anything in /proc/swaps?
> > I suggest you do:
> > swapoff /dev/hda6
> > badblocks /dev/hda6
> Badblocks finds each time ONE bad block at the end of the partition no
> matter where I create it or how large the partition is. Syslog shows this
> message:
> Oct 27 10:57:45 shunka kernel: attempt to access beyond end of device
> Oct 27 10:57:45 shunka kernel: 03:06: rw=0, want=594376, limit=594373

That's not a badblock. That's an kernel IDE bug. Andre Hedrick and Alan
Cox will love to see this.

> > Look for "SWAP-SPACE" (old swap) or "SWAPSPACE2" (the new one).
> > Just to make sure you've initialized the partition properly.
> > Than turn it on: swapon /dev/hda6; tail /var/log/syslog
> where should I try to find it? ("SWAP-SPACE" | "SWAPSPACE2")

At the beginning. The searching for it doesn't make sense now.

> What mean the problems I (only) once noticed about the signature?

Nothing special. You just have something broken in a particularly
unpredictable way.

-
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/