From owner-freebsd-hardware@FreeBSD.ORG Wed Jan 7 15:23:25 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C910E16A4CE for ; Wed, 7 Jan 2004 15:23:25 -0800 (PST) Received: from monkey.interdon.net (monkey.interdon.net [193.178.236.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CB4043D5F for ; Wed, 7 Jan 2004 15:23:23 -0800 (PST) (envelope-from easy@interdon.net) Received: from develop.com (b02-e1-1-0.dip.interdon.net [193.178.236.34]) by monkey.interdon.net (Postfix) with ESMTP id 6CFD043FBE for ; Thu, 8 Jan 2004 01:22:29 +0200 (EET) To: freebsd-hardware@freebsd.org From: andy legkiy Date: Thu, 08 Jan 2004 01:27:23 +0200 Message-ID: <86k743ibl0.fsf@develop.com> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: TEAC 540E R/RW X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 23:23:25 -0000 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: port 0xd000-0xd00f at device 7.1 on pci0 acd0: CDROM at ata1-master PIO4 acd1: CD-RW at ata1-slave PIO4 # atacontrol info 1 Master: acd0 ATA/ATAPI rev 0 Slave: acd1 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 , 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