From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E2HZF-0004eN-Pa for garchives@archives.gentoo.org; Tue, 09 Aug 2005 00:02:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j78NxuHE006321; Mon, 8 Aug 2005 23:59:56 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j78Nu61D028639 for ; Mon, 8 Aug 2005 23:56:07 GMT Received: by zproxy.gmail.com with SMTP id v1so783952nzb for ; Mon, 08 Aug 2005 16:56:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=SVqv9TgKLjZ9KHTBHAdXIVv4m3ax5bJAzKk37ECWWlp8HKPOCyFY339vAam8wF8zyc1dLZDC7PpqQ61uNamwk1Q8ks/KX6rWFE9AmcX1qnlVLeVi21YjAtf6KeFU1IptDv0xb3UMAClgDRjQ2Bp4QpxpjcMQd4wqsDL5aOzfeOw= Received: by 10.36.36.14 with SMTP id j14mr3154567nzj; Mon, 08 Aug 2005 16:56:30 -0700 (PDT) Received: from ?192.168.1.10? ([24.30.171.44]) by mx.gmail.com with ESMTP id p4sm3555117nzc.2005.08.08.16.56.29; Mon, 08 Aug 2005 16:56:30 -0700 (PDT) Message-ID: <42F7F178.8050301@gmail.com> Date: Mon, 08 Aug 2005 16:57:44 -0700 From: Zac Medico User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050804) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] sha1sum of cd References: In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: d2b3081a-3dbe-40c7-8ccf-32abae24aec7 X-Archives-Hash: 9b15e6d7c163c5fdbf045668fa4e9d9a Jorge Almeida wrote: > I've downloaded a KNOPPIX cd and burned it onto a cd via cdrecord (k3b > having recently evolved to > brain death). The command was > cdrecord dev=/dev/hdc KNOPPIX_V3.9-2005-05-27-EN.iso > The sha1sum of the downloaded image is > 51294cb7439a127efd36f819f636208163988972, which is what it's supposed to > be. > The cd boots, but something seems wrong ('ls /etc' hangs forever, and > segfaulted once). So, maybe the burning was not right. I tried > $ cat /dev/hdc|sha1sum > cat: /dev/hdc: Input/output error > 8d792624cfe365a1b8ee1e9f06fe3520c28d91cc - > Then, > $ dd if=/dev/hdc of=knoppix.iso > dd: reading `/dev/hdc': Input/output error > 1425088+0 records in > 1425088+0 records out > > $ sha1sum knoppix.iso > 8d792624cfe365a1b8ee1e9f06fe3520c28d91cc knoppix.iso > Last, I followed Zac Medico's suggestion in the "md5sum error" thread: > $ readcd dev=/dev/hdc sectors=0-$(isoinfo -d -i /dev/cdrom | grep > "Volume size is:" | grep -o "[0-9]*$") f=- | sha1sum > Read speed: 7042 kB/s (CD 40x, DVD 5x). > Write speed: 2818 kB/s (CD 16x, DVD 2x). > Capacity: 356298 Blocks = 712596 kBytes = 695 MBytes = 729 prMB > Sectorsize: 2048 Bytes > Copy from SCSI (1,0,0) disk to file '-' > end: 356296 > addr: 356296 cnt: 84 > Time total: 160.792sec > Read 712592.00 kB at 4431.8 kB/sec. > 51294cb7439a127efd36f819f636208163988972 - > > So, "there is order in this madness". > > Can someone explain the meaning of this? > > > Jorge Almeida Well, readcd works well for a cd while dd and cat do not. ;-) The ls /etc hang and segaufault sounds like a unionfs problem (known bugs). If you do dmesg|tail you will probabably see evidence of a unionfs error/oops. I've been using a unionfs snapshot from 4/19 for the longest time because I have found later versions to be too unstable for my liking. Zac -- gentoo-user@gentoo.org mailing list