Re: Swap doesn't work

=?ISO-8859-2?B?VmxhZGlt7XIgVPhlYmlja/0=?= (guru@cimice.yo.cz)
Sun, 27 Oct 2002 12:07:44 +0100


> You change hostname inbetween or this is just a typo?

yes, I did ;-)

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

> Alternatively, you can try
>
> dd if=/dev/zero of=/dev/hda6; mkswap /dev/hda6
>

the same occurs when I try to
dd if=/dev/zero of=/dev/hda6 bs=1024 count=594373
dd: writing `/dev/hda6': Input/output error
594373+0 records in
594372+0 records out

---
Oct 27 11:40:40 shunka kernel: attempt to access beyond end of device
Oct 27 11:40:40 shunka kernel: 03:06: rw=0, want=594376, limit=594373

I've tried many times to repartition the whole disk...

> 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")

> Oops, you've sent, is pretty useless without decoding. Read > Documentation/oops-tracing.txt from the kernel source tree.

I have some problem with ksymoops - some unresolved symbols. I read about it and problems with binutils and their libraries. I hope, I'll solve this quick.

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

Thanks,

Vladimir Trebicky

--
Vladimir Trebicky
guru@cimice.yo.cz

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