lkml.org 
[lkml]   [1999]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Complete system hang bug report

Hi,

I tried using isosize, and that caused the machine to hang as before.

Gary

> Gary,
> With regards to your linux-kernel report, your "dd" command may be
> a little under specified. This in itself should _not_ cause your system
> to hang.
>
> A utility called "isosize" will tell you the actual length of an iso9660
> file system. Seen from the SCSI perspective (about which I am more
> familiar than IDE) that isosize length will usually be a few blocks less
> than is reported by SCSI's READ CAPACITY command. Trying to read
> those last few blocks can cause an IO error (but not a lockup). Also the
> block size of a CDROM iso9660 fs is usually 2048 bytes and should
> be specified to "dd". [Some drives have a jumper selecting between
> 512 and 2048 byte blocks.]
>
> Isosize is available in several distros and in the cdrecord package.
>
> Example:
> # isosize /dev/hdc
> ... 252837888 bytes
>
> Therefore number of 2048 bytes blocks is 123456
> and the "dd" becomes
> # dd if=/dev/hdc of=isi.img bs=2048 count=123456
>
>
> Doug Gilbert
>
>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.024 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site