Hi all,
i have a Compaq Presario 2510EA laptop, with a QSI SBW-241 combo drive and a
2.6.9 kernel without scsi emulation
# hdparm -i /dev/hdc |fgrep Model
Model=QSI CD-RW/DVD-ROM SBW-241, FwRev=VY02, SerialNo=
This drive is know to work badly under linux, expecially with CD-RW media (it
can't erase CD-RW under linux, but it can write them), try to search with
google 'QSI SBW-241 linux'
I've installed the Debian package udftools (1.0.0b3-5) that includes the Peter
Osterlund's patch but i can't format the CD-RW. I get this:
# cdrwtool -d /dev/hdc -q
using device /dev/hdc
1568KB internal buffer
setting write speed to 12x
Settings for /dev/hdc:
Fixed packets, size 32
Mode-2 disc
I'm going to do a quick setup of /dev/hdc. The disc is going to be blanked and
formatted with one big track. All data on the device will be lost!! Press
CTRL-Cto cancel now.
ENTER to continue.
Initiating quick disc blank
wait_cmd: Input/output error
Command failed: a1 01 00 00 00 00 00 00 00 00 00 00 - sense 05.24.00
blank disc: Illegal seek
now, i'm noticed that error is similar to the cdrecord ones:
# cdrecord blank=all
Cdrecord-Clone 2.01a38 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg
Schilling
.......
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'QSI '
Identifikation : 'CDRW/DVD SBW-241'
Revision : 'VY02'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 10 in real BLANK mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
cdrecord: Success. blank unit: scsi sendcmd: no error
CDB: A1 00 00 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 9600s
cdrecord: Cannot blank disk, aborting.
because the cdrwtool's Command failed and the cdrecord's CDB are similar, and
the sense is the same (5 - 24 - 0).
I discovered now that i can erase CD-RWs with cdrecord with the -immed flag,
from the cdrecord manpage:
-immed
Tell cdrecord to set the SCSI IMMED flag in certain commands
(load/eject/blank/close_track/close_session). This can be useful on broken
systems with ATAPI harddisk and CD/DVD writer on the same bus or with SCSI
systems that don't use disconnect/reconnect. These systems will freeze while
blanking or fixating a CD/DVD or while a DVD writer is filling up a session
to the minimum amount (approx. 800 MB). Setting the -immed flag will request
the command to return immediately while the operation proceeds in background,
making the bus usable for the other devices and avoiding the system freeze.
This is an experimental feature which may work or not, depending on the model
of the CD/DVD writer. A correct solution would be to set up a correct cabling
but there seem to be notebooks around that have been set up the wrong way by
the manufacturer. As it is impossible to fix this problem in notebooks, the
-immed option has been added.
This issue is related to many laptops, (SONY, HP, Compaq, Acer, etc..) since
they use all this stupid drive.
Can the cdrwtool have such a function, to allow formatting CD-RWs with these
drives?
P.S. i tried also upgrading the firmware... nothing to do
Regards
Matteo Croce
--
.""`. Matteo Croce