From: "Vladimír Třebický" <guru@cimice.yo.cz>
To: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: Swap doesn't work
Date: Sun, 27 Oct 2002 12:07:44 +0100 [thread overview]
Message-ID: <002501c27da9$2524d0f0$4500a8c0@cybernet.cz> (raw)
> 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
next reply other threads:[~2002-10-27 11:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-27 11:07 Vladimír Třebický [this message]
2002-10-27 12:50 ` Swap doesn't work Alex Riesen
2002-10-27 13:12 ` Alan Cox
2002-10-27 14:48 ` Vladimír Třebický
2002-10-27 15:21 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2002-10-27 19:41 Tim Tassonis
2002-10-27 20:03 ` Christoph Hellwig
2002-10-27 20:13 ` Tim Tassonis
2002-10-27 21:17 ` Alan Cox
2002-10-28 12:22 ` Tim Tassonis
2002-10-26 15:14 Vladimír Třebický
2002-10-26 15:44 ` Alan Cox
2002-10-27 9:23 ` Alex Riesen
2002-10-27 8:51 ` Vladimír Trebický
2002-10-27 9:34 ` Alexander Puchmayr
2002-10-27 10:28 ` Alex Riesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002501c27da9$2524d0f0$4500a8c0@cybernet.cz' \
--to=guru@cimice.yo.cz \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox