Alain Knaff wrote:
On 14/12/09 15:58, ael wrote:
Any point in running under strace?

Yes, this would be useful, especially for analyzing the "Invalid argument"
issue.

Looks as if that was something to do with my command line. Below is the strace giving the IO error which probably isn't much help :-)


 # strace fdrawcmd readid 0 repeat=18 2>&1 |tee fdrawcmd.dump|less

--------------fdrawcmd.dump--------------------execve("/usr/bin/fdrawcmd", ["fdrawcmd", "readid", "0", "repeat=18"], [/* 34 vars */]) = 0
brk(0)                                  = 0x804b000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb777d000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=94365, ...}) = 0
mmap2(NULL, 94365, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7765000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/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\260l\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1331684, ...}) = 0
mmap2(NULL, 1337704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb761e000 mmap2(0xb775f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x141) = 0xb775f000 mmap2(0xb7762000, 10600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7762000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb761d000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb761d6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb775f000, 8192, PROT_READ)   = 0
mprotect(0xb779b000, 4096, PROT_READ)   = 0
munmap(0xb7765000, 94365)               = 0
open("/dev/fd0", O_ACCMODE|O_NONBLOCK)  = 3
gettimeofday({1260803901, 152148}, NULL) = 0
ioctl(3, FDRAWCMD, 0xbf8ce620)          = -1 EIO (Input/output error)
dup(2)                                  = 4
fcntl64(4, F_GETFL)                     = 0x1 (flags O_WRONLY)
close(4)                                = 0
write(2, "raw cmd: Input/output error\n", 28raw cmd: Input/output error
) = 28
exit_group(1)                           = ?
 --------------------------------------------------------------------------


Do I need to give strace some flags?

ael




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to