Date: Thu, 08 Jan 2004 01:27:23 +0200 From: andy legkiy <easy@interdon.net> To: freebsd-hardware@freebsd.org Subject: TEAC 540E R/RW Message-ID: <86k743ibl0.fsf@develop.com>
next in thread | raw e-mail | index | archive | help
Hello! Some mistake appeared while I try to copy iso image to HDD. # uname -a FreeBSD develop.com 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #0: Fri Jan 2 23:51:27 EET 2004 root@develop.com:/usr/obj/usr/src/sys/PIII i386 from dmesg atapci0: <VIA 82C686B UDMA100 controller> port 0xd000-0xd00f at device 7.1 on pci0 acd0: CDROM <CD-540E> at ata1-master PIO4 acd1: CD-RW <CD-W540E> at ata1-slave PIO4 # atacontrol info 1 Master: acd0 <CD-540E/1.0A> ATA/ATAPI rev 0 Slave: acd1 <CD-W540E/1.0H> ATA/ATAPI rev 5 `burncd` utility write CD data correct (without any error) but, after that i write it back by `dd` and at the end of writing got error message in the log. # ls -la 98304 Source.iso # burncd -e -s 4 -v -f /dev/acd1c data Source.iso fixate adding type 0x08 file Source.iso size 96 KB 48 blocks next writeable LBA 0 addr = 0 size = 98304 blocks = 48 writing from file Source.iso size 96 KB written this track 96 KB (100%) total 96 KB fixating CD, please wait.. # dd if=/dev/acd1c of=Test1.iso bs=2048 kernel: acd1: READ_BIG - MEDIUM ERROR asc=0x11 ascq=0x00 error=0x00 # ls -la 100352 Test1.iso Dest file is bigger on one block (2048bytes). It block filled by zeroes (0x00) in Test1.iso Trying to do the same at <CD-540E/1.0A>, and so on: # dd if=/dev/acd0c of=Test0.iso kernel: acd0: READ_BIG - ILLEGAL REQUEST asc=0x64 ascq=0x00 error=0x04 But now dest file has correct size: 98304 Test0.iso It's looks for me, like `dd` want to take exess block from device. But, when i mount any of the `acd`, `df` shows correct size of mounted filesystem. # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/acd1 96 96 0 100% /cdrom1 96/2= 48 blocks Only one ISO is dump with `dd` normally (with out any error messages). FREEBSD-5.1 RELEASE. But it burning not on my TEAC (on LG CD-RW by Neuro BurningRom, which are now inaccesible for me). If i rewrite this "correct" compact disk on another CD, new copy readed with the same error messages. Other CD-ROM burned by me and not, reading with such error (when trying to get exess block). I probe reading from acdXc with various ISO image (burn and then read). AFAIR, my ATA controller and CD-R/CD-RW (both) is supported by 5.x FreeBSD. But, maby i mistaken. :( The same things happens on Linux at the same machine, but at that time i not concern on this trouble. Greeting any suggestions Thank you very much, and sorry for bad english -- andy legkiy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k743ibl0.fsf>