bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dd bug


From: Buciuman Adrian
Subject: Re: dd bug
Date: Thu, 18 Sep 2003 16:50:42 +0300

> It could be a GNU dd bug; or it could be a kernel or driver bug.
> To help decide this, can you please run the following shell command,
> and then email the contents of the file 'trace' to
> <address@hidden>?  Thanks.
>
> strace -o trace dd if=/dev/fd0 of=test bs=720k conv=sync,noerror
>

Yes . The resulting test file was 2211840 bytes long.


execve("/usr/local/bin/dd", ["dd", "if=/dev/fd0", "of=test", "bs=720k",
"conv=sync,noerror"], [/* 28 vars */]) = 0
brk(0)                                  = 0x804e788
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=62731, ...}) = 0
old_mmap(NULL, 62731, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
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\0p\\\1\000"..., 1024)
= 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1435624, ...}) = 0
old_mmap(NULL, 1256740, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40025000
mprotect(0x4014f000, 36132, PROT_NONE)  = 0
old_mmap(0x4014f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x12a000) = 0x4014f000
old_mmap(0x40154000, 15652, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40154000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40158000
munmap(0x40015000, 62731)               = 0
brk(0)                                  = 0x804e788
brk(0x804f788)                          = 0x804f788
brk(0x8050000)                          = 0x8050000
close(0)                                = 0
open("/dev/fd0", O_RDONLY|O_LARGEFILE)  = 0
close(1)                                = 0
open("test", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 1
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x804920c, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {0x804920c, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {0x804920c, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGUSR1, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x8049260, [], 0x4000000}, NULL, 8) = 0
old_mmap(NULL, 749568, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40159000
read(0, "1                               "..., 737280) = 36864
write(1, "1                               "..., 737280) = 737280
read(0, 0x4015a000, 737280)             = -1 EIO (Input/output error)
write(2, "dd: ", 4)                     = 4
write(2, "reading `/dev/fd0\'", 18)     = 18
write(2, ": Input/output error", 20)    = 20
write(2, "\n", 1)                       = 1
write(2, "0+1 records in\n", 15)        = 15
write(2, "1+0 records out\n", 16)       = 16
_llseek(0, 737280, [774144], SEEK_CUR)  = 0
write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
737280) = 737280
read(0, "1513                            "..., 737280) = 700416
write(1, "1513                            "..., 737280) = 737280
read(0, "", 737280)                     = 0
munmap(0x40159000, 749568)              = 0
write(2, "0+3 records in\n", 15)        = 15
write(2, "3+0 records out\n", 16)       = 16
close(0)                                = 0
close(1)                                = 0
semget(IPC_PRIVATE, 0, 0)               = -1 ENOSYS (Function not
implemented)
_exit(0)                                = ?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]