Re: File system won't wake up

From: Thorben Grosser (thorben_at_iceberg.lu)
Date: 06/23/05


Date: Thu, 23 Jun 2005 23:29:09 +0200

Peter T. Breuer wrote:

>>> # dd if=/dev/hdd > /dev/null
>>
>>okay, zero in, zero out, seems to be a real problem or how shall I
>>understand that?
>
> The "disk" is not readable. You would give me slightly more data by
> telling me the error reported (use strace, and/or test the error retorn
> value from the dd).

okay, actually I am not familliar with strace, but I hope I did it right
(cf. [1]). Actually I reached the borders of my knowledge as I don't
really see more information in the Output, maybe you can, or maybe I
just did it wrong, sorry for bugging you :)

>>Jun 22 13:47:04 gosingen kernel: Symbols match kernel version 2.4.18.
>>Jun 22 13:47:04 gosingen kernel: Loaded 489 symbols
>>51hlJHzUffE4d0tDgB/Vu+qU9svSHeiJHToOa9HNtPb (and so on...)
>>
>>Jun 23 20:13:53 gosingen kernel: end_request: I/O error, dev 16:40
>>(hdd), sector 6
>
>
> 16:40. Hmm.
> Yep. 16+6=22. 4*16=64. Hdd. Bad disk. You might try writing to sector 6

I am really impressed what you can get out of those messages.

> to see if it can swap in a replacement sector. The partition table is
> in sector 0, so it should be OK.

I have no clue about that. It seems that the problem reaches far beyond
my knowledge. What do you mean?

I am very sorry for being so unaware about that stuff as in NG's on
things I am better aware of the subject I often am not amused about the
same questions returning all the time, but I had no clue how to figure
it out, even google didn't seem to find the right thing. So I feel sorry
for wasting your time, but I am quite nervous as there is some not
unimportant but not yet backed up data on the drive.

t

[1]
gosingen:~ # dd if=/dev/hdd > /dev/null
dd: reading `/dev/hdd': Input/output error
0+0 records in
0+0 records out
gosingen:~ # strace dd if=/dev/hdd > /dev/null
execve("/bin/dd", ["dd", "if=/dev/hdd"], [/* 42 vars */]) = 0
uname({sys="Linux", node="gosingen", ...}) = 0
brk(0) = 0x804fc64
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=20471, ...}) = 0
old_mmap(NULL, 20471, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\330\332"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1394302, ...}) = 0
old_mmap(NULL, 1210880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001c000
mprotect(0x40139000, 43520, PROT_NONE) = 0
old_mmap(0x40139000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x11c000) = 0x40139000
old_mmap(0x40140000, 14848, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40140000
close(3) = 0
munmap(0x40017000, 20471) = 0
brk(0) = 0x804fc64
brk(0x804fc8c) = 0x804fc8c
brk(0x8050000) = 0x8050000
open("/usr/share/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/locale/en_US/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/locale/en/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file
or directory)
close(0) = 0
open("/dev/hdd", O_RDONLY|O_LARGEFILE) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x804945c, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {0x804945c, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {0x804945c, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGUSR1, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x80494c0, [], 0x4000000}, NULL, 8) = 0
brk(0x8053000) = 0x8053000
brk(0x8055000) = 0x8055000
read(0, 0x8050000, 512) = -1 EIO (Input/output error)
write(2, "dd: ", 4dd: ) = 4
write(2, "reading `/dev/hdd\'", 18reading `/dev/hdd') = 18
write(2, ": Input/output error", 20: Input/output error) = 20
write(2, "\n", 1
) = 1
write(2, "0+0 records in\n", 150+0 records in
) = 15
write(2, "0+0 records out\n", 160+0 records out
) = 16
close(0) = 0
close(1) = 0
_exit(2) = ?



Relevant Pages

  • Re: Changing a Motherboard and processor and Windows XP
    ... zero wrote: ... my project includes Windows Media Center and there is no CD that came with the system. ... I tried to call from phone and I get the data squawk okay. ... I called the Activate phone number and went through the voice response automation and fell out the other side "Installation ID" does not verify, and was passed on to "a real live person". ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: cant install Netscape 7.2
    ... I did manage to install it by logging in as root rather than ... > Data written on a null or zero special file is discarded. ... properly as does su and the installer for netscape works okay now. ...
    (alt.os.linux.suse)
  • Re: cant install Netscape 7.2
    ... Okay, thanks. ... > null, zero - data sink ... > Data written on a null or zero special file is discarded. ...
    (alt.os.linux.suse)
  • Re: teeny little weird grammar question
    ... > Okay. ... I think the thing that was making it hard is that the POV ... > the real problem is deeper, a conceptual problem, or a story telling ... Sometimes I get stuck with way too many dangling modifiers. ...
    (rec.arts.sf.composition)
  • Re: Perpetually Perplexed
    ... >> To be more clear about what Peoria, Josh, Joe, ... > Okay. ... >> the expected dosage in the recipient) is given by ... valid when p is exactly zero. ...
    (sci.bio.evolution)