lkml.org 
[lkml]   [2004]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.4.27rc2, DVD-RW support broke DVD-RAM writes
Date
> what you see in 2.4.27-rc3 when you try:
> sudo blockdev --getro /dev/hd*

Sorry, never mind, I can now reproduce this effect myself, because
Michael Tilelli kindly lent me a PATAPI DVD-RAM drive.

We must have an asymmetry in 2.4 drivers/ide/ide-cd.c vs.
drivers/scsi/sr.c. I see 2.4.26 work, but then 2.4.27-rc3 chokes:

$ uname -msr
Linux 2.4.27-rc4 i686
$
$ sudo rrd scan /dev/hdd
/dev/hdd is MATSHITA DVD-RAM A127 not RRD
$
$ sudo dd if=/dev/hdd bs=32K skip=0 count=1 | hexdump -C
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
*
1+0 records in
1+0 records out
00008000
$ sudo dd of=/dev/hdd bs=32K skip=0 count=1 <xae.bin
dd: opening `/dev/hdd': Read-only file system
$ sudo blockdev --getro /dev/hdd
0
$
Pat LaVarre

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

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2011 Jasper Spaans