Hello, I am using kernel 2.4.17 with the corresponding packet writing patch. When I try to move big files to the cd I get a bounch of error messages like this: device 0b:01 not ready: cmd=0, sector=9864, nr_sectors=120 Anyhow the files seem to be OK at the end. Although, once the kernel hang and I had to reboot. Is this a known problem? Is there something I can do to avoid these errors? Thanks, Paulo -- Paulo José da Silva e Silva Professor Assistente do Dep. de Ciência da Computação (Assistant Professor of the Computer Science Dept.) Universidade de São Paulo - Brazil e-mail: rsilva@ime.usp.br Web: http://www.ime.usp.br/~rsilva Teoria é o que não entendemos o (Theory is something we don't) suficiente para chamar de prática. (understand well enough to call practice)
Hi Everbidy, I have installed Kernel- 2.4.17 along with packet writing patch.. While formating the disk I am getting error... I generated the trace for the command..which is as follows # strace cdrwtool -d /dev/scd0 -q --------------------------------------------------- execve("./cdrwtool", ["./cdrwtool", "-d", "/dev/scd0", "-q"], [/* 19 vars */]) = 0 brk(0) = 0x80519d4 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=19066, ...}) = 0 old_mmap(NULL, 19066, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0755, st_size=4101324, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\210\212"..., 4096) = 4096 old_mmap(NULL, 1001564, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001a000 mprotect(0x40107000, 30812, PROT_NONE) = 0 old_mmap(0x40107000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xec000) = 0x40107000 old_mmap(0x4010b000, 14428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4010b000 close(3) = 0 mprotect(0x4001a000, 970752, PROT_READ|PROT_WRITE) = 0 mprotect(0x4001a000, 970752, PROT_READ|PROT_EXEC) = 0 munmap(0x40015000, 19066) = 0 personality(PER_LINUX) = 0 getpid() = 876 gettimeofday({1014618869, 356517}, NULL) = 0 brk(0) = 0x80519d4 brk(0x80519fc) = 0x80519fc brk(0x8052000) = 0x8052000 open("/etc/localtime", O_RDONLY) = 3 read(3, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"..., 44) = 44 read(3, "\312\333\206\260\314\5q\30\314\2252\250\322t\22\230\1\2"..., 20) = 20 fstat64(0x3, 0xbffff638) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000 read(3, "\0\0R\320\0\0\0\0[h\0\4\0\0MX\0\t\0\0[h\1\tHMT\0BURT"..., 4096) = 45 close(3) = 0 munmap(0x40015000, 4096) = 0 brk(0x8053000) = 0x8053000 fstat64(0x1, 0xbffff0b0) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000 ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0 write(1, "using device /dev/scd0\n", 23) = 23 open("/dev/scd0", O_RDONLY|O_NONBLOCK) = 3 ioctl(3, CDROM_DRIVE_STATUS, 0x7fffffff) = 4 ioctl(3, CDROM_DISC_STATUS, 0xbffffbe4) = 101 ioctl(3, CDROM_CLEAR_OPTIONS, 0x8) = 5 ioctl(3, 0x5329, 0x1) = 0 ioctl(3, 0x5393, 0xbffff850) = 0 write(1, "4085KB internal buffer\n", 23) = 23 ioctl(3, 0x5393, 0xbffff814) = 0 ioctl(3, 0x5393, 0xbffff80c) = 0 write(1, "setting write speed to 12x\n", 27) = 27 ioctl(3, 0x5393, 0xbffff850) = 0 ioctl(3, 0x5393, 0xbffff804) = 0 ioctl(3, 0x5393, 0xbffff7fc) = 0 ioctl(3, 0x5393, 0xbffff80c) = 0 write(1, "Settings for /dev/scd0:\n", 24) = 24 write(1, "\tFixed packets, size 32\n", 24) = 24 write(1, "\tMode-2 disc\n", 13) = 13 write(1, "\n", 1) = 1 write(1, "I\'m going to do a quick setup of"..., 195) = 195 fstat64(0, 0xbffff700) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0 read(0, "\n", 4096) = 1 write(1, "Initiating quick disc blank\n", 28) = 28 ioctl(3, 0x5393, 0xbffff7b0) = 0 ioctl(3, 0x5393, 0xbffff7b4) = 0 ioctl(3, 0x5393, 0xbffff7b4) = 0 ioctl(3, 0x5393, 0xbffff7b0) = 0 write(1, "Disc capacity is 275744 blocks ("..., 48) = 48 write(1, "Formatting track\n", 17) = 17 ioctl(3, 0x5393, 0xbffff7b0) = 0 brk(0x8054000) = 0x8054000 brk(0x8055000) = 0x8055000 brk(0x805e000) = 0x805e000 brk(0x805f000) = 0x805f000 write(1, "start=0, blocks=16, type=RESERVE"..., 35) = 35 write(1, "start=16, blocks=3, type=VRS \n", 30) = 30 write(1, "start=19, blocks=237, type=USPAC"..., 35) = 35 write(1, "start=256, blocks=1, type=ANCHOR"..., 34) = 34 write(1, "start=257, blocks=31, type=USPAC"..., 35) = 35 write(1, "start=288, blocks=32, type=PVDS "..., 33) = 33 write(1, "start=320, blocks=32, type=LVID "..., 33) = 33 write(1, "start=352, blocks=32, type=STABL"..., 35) = 35 write(1, "start=384, blocks=1024, type=SSP"..., 37) = 37 write(1, "start=1408, blocks=274048, type="..., 40) = 40 write(1, "start=275456, blocks=31, type=US"..., 38) = 38 write(1, "start=275487, blocks=1, type=ANC"..., 37) = 37 write(1, "start=275488, blocks=160, type=U"..., 39) = 39 write(1, "start=275648, blocks=32, type=ST"..., 38) = 38 write(1, "start=275680, blocks=32, type=RV"..., 36) = 36 write(1, "start=275712, blocks=31, type=US"..., 38) = 38 write(1, "start=275743, blocks=1, type=ANC"..., 37) = 37 write(1, "Writing UDF structures to disc\n", 31) = 31 brk(0x8070000) = 0x8070000 ioctl(3, 0x5393, 0xbffff740) = 0 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) open("/usr/share/locale/locale.alias", O_RDONLY) = 4 fstat64(0x4, 0xbfffb004) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 read(4, "# Locale name alias data base.\n#"..., 4096) = 2265 read(4, "", 4096) = 0 close(4) = 0 munmap(0x40017000, 4096) = 0 open("/usr/share/i18n/locale.alias", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 00 01 0"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 00 01 2"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 00 01 4"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 00 01 6"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 00 05 8"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 00 05 a"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 00 05 c"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 00 05 e"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 00 06 0"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 04 34 0"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 04 34 c"..., 69) = 69 ioctl(3, 0x5393, 0xbffff740) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 04 34 e"..., 69) = 69 ioctl(3, 0x5393, 0xbffff770) = -1 EINVAL (Invalid argument) write(2, "wait_cmd: Invalid argument\n", 27wait_cmd: Invalid argument ) = 27 write(1, "Command failed: 2a 00 00 04 35 0"..., 69) = 69 ioctl(3, 0x5393, 0xbffff7b0) = 0 write(1, "Quick setup complete!\n", 22) = 22 ioctl(3, 0x5329, 0) = 0 ioctl(3, CDROM_SET_OPTIONS, 0x8) = 13 munmap(0x40015000, 4096) = 0 _exit(0) = ? ------------------------------------------------------ Can anyone please tell me what is the probable problem... Thanks in advance Regards suman ===== ----------------------------- Shailendra Kr. Suman Satyam Computer Services Ltd. #98, 2nd Main, 5th Cross MSR Nagar, Bangalore-54 Phone: 080-2231696 (5663) Mobile:09845007836 __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
participants (2)
-
Paulo José da Silva e Silva
-
shailendra suman