Swap doesn't work
Quoted 1 line
You change hostname inbetween or this is just a typo?
yes, I did ;-)
Quoted 5 lines
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
Quoted 4 lines
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...
Quoted 3 lines
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")
Quoted 2 lines
Oops, you've sent, is pretty useless without decoding. Read
Documentation/oops-tracing.txtfrom 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
[email protected]
Quoted 10 lines · Vladim?r T?ebick?
Quoted 5 lines
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/hda6Badblocks 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.
Quoted 4 lines
Quoted 3 lines
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/syslogwhere should I try to find it? ("SWAP-SPACE" | "SWAPSPACE2")
At the beginning. The searching for it doesn't make sense now.
Quoted 1 line
What mean the problems I (only) once noticed about the signature?
Nothing special. You just have something broken in a particularly unpredictable way.
Quoted 6 lines · Alex Riesen
Quoted 5 lines · Vladim?r T?ebick?
Quoted 5 lines
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
Quoted 8 lines
Quoted 5 lines
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=594373That's not a badblock. That's an kernel IDE bug. Andre Hedrick and Alan Cox will love to see this.
Not on a kernel built with an untrusted hand built tool chain
Quoted 5 lines
Quoted 2 lines
That's not a badblock. That's an kernel IDE bug. Andre Hedrick and Alan Cox will love to see this.
Not on a kernel built with an untrusted hand built tool chain
Well, I don't know what could possibly cause this kind of error except kernel.
No matter what application I use to read or write /dev/hda6. Which part of my tool chain do you have in mind?
Thanks,
Vladimir Trebicky
--
Vladimir Trebicky
[email protected]
Quoted 9 lines · Vladimír Třebický
Quoted 5 lines
Quoted 2 lines
That's not a badblock. That's an kernel IDE bug. Andre Hedrick and Alan Cox will love to see this.
Not on a kernel built with an untrusted hand built tool chain
Well, I don't know what could possibly cause this kind of error except kernel.
No matter what application I use to read or write/dev/hda6. Which part of my tool chain do you have in mind?
gcc and binutils. I get so many weird never duplicated reports from linux from scratch people that don't happen to anyone else that I treat them with deep suspicion. Especially because it sometimes goes away if they instead build the same kernel with Debian/Red Hat/.. binutils/gcc