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 1E2GxV-0004iR-2D for garchives@archives.gentoo.org; Mon, 08 Aug 2005 23:23:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j78NLnbC031996; Mon, 8 Aug 2005 23:21:49 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j78NIEXI032204 for ; Mon, 8 Aug 2005 23:18:14 GMT Received: from ciistr1.ist.utl.pt ([193.136.128.1]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1E2GtA-0007dv-DM for gentoo-user@lists.gentoo.org; Mon, 08 Aug 2005 23:18:37 +0000 Received: from ciistr3.ist.utl.pt (ciistr3.ist.utl.pt [193.136.128.3]) by ciistr1.ist.utl.pt (Postfix) with ESMTP id 35039E546C9 for ; Tue, 9 Aug 2005 00:18:34 +0100 (WEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by ciistr3.ist.utl.pt (Postfix) with ESMTP id 12CAE70003E2 for ; Tue, 9 Aug 2005 00:18:34 +0100 (WEST) Received: from ciistr3.ist.utl.pt ([127.0.0.1]) by localhost (ciistr3 [127.0.0.1]) (amavisd-new, port 10025) with LMTP id 29568-01-84 for ; Tue, 9 Aug 2005 00:18:33 +0100 (WEST) Received: from toutatis.math.ist.utl.pt (toutatis.math.ist.utl.pt [193.136.196.158]) by ciistr3.ist.utl.pt (Postfix) with ESMTP id E03BC700044E for ; Tue, 9 Aug 2005 00:18:33 +0100 (WEST) Received: from toutatis.math.ist.utl.pt (toutatis.math.ist.utl.pt [127.0.0.1]) by toutatis.math.ist.utl.pt (8.13.4/8.13.4) with ESMTP id j78NIXdl010500 for ; Tue, 9 Aug 2005 00:18:33 +0100 Received: from localhost (jalmeida@localhost) by toutatis.math.ist.utl.pt (8.13.4/8.13.4/Submit) with ESMTP id j78NIX0w010497 for ; Tue, 9 Aug 2005 00:18:33 +0100 X-Authentication-Warning: toutatis.math.ist.utl.pt: jalmeida owned process doing -bs Date: Tue, 9 Aug 2005 00:18:33 +0100 (WEST) From: Jorge Almeida To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] sha1sum of cd Message-ID: 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 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ist.utl.pt X-Archives-Salt: 5ef77ff5-b5b6-4d48-884c-1e1cf64c8c43 X-Archives-Hash: b600be61f8003763e61ab70b5cf1dd3d 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 -- gentoo-user@gentoo.org mailing list