[arch-general] cdrecord instead of wodim
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Wed Feb 18 11:00:33 EST 2009
Joerg Schilling wrote:
> dev=ATAPI is a dirty trick that was needed in 2001 because the linus kernel
> guys have been unable to fix their kernel panics with PC-Card connected writers.
>
> Just use the _official_ SCSI address syntax. There is no need to specify
> anything additional. dev=1,0,0 or similar is sufficient.
>
> Jörg
>
>
OK Jörg thanks.
Something that I was unclear, because the documentation does not talk
about the devices names /dev/sr0 (SCSI CDROM)
Seems that for use this sintax official sintax (n,n,n) the sg (SCSI
generic) module needs to be loaded, unlike the use of _bad_ sintax
/dev/sr0 not need the sg module is loaded
cdrecord -scanbus (without sg module don't work)
I am interested not load the module sg, sg as the module not only
enables access to the cd-roms, but also hard drives
##For example without "sg" (only "sr_mod")
# cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a57 (i686-pc-linux-gnu) Copyright (C)
1995-2009 Jörg Schilling
...
##Using the cdrecord -scanbus -dev=ATAPI work
# cdrecord -scanbus dev=ATAPI
Cdrecord-ProDVD-ProBD-Clone 2.01.01a57 (i686-pc-linux-gnu) Copyright (C)
1995-2009 Jörg Schilling
...
scsibus0:
0,0,0 0) 'HL-DT-ST' 'DVDRAM GH20NS15 ' 'IL00' Removable CD-ROM
scsibus1:
1,0,0 100) 'HL-DT-ST' 'DVD-ROM GDR8163B' '0L23' Removable CD-ROM
# cdrecord dev=/dev/sr0 -checkdrive #*Works* (remember only sr_mod is
loaded)
##Now with sg module loaded...
# cdrecord -scanbus | grep "0,0"
Linux sg driver version: 3.5.34
0,0,0 0) 'ATA ' 'WDC WD6400AAKS-6' '01.0' Disk
1,0,0 100) 'ATA ' 'WDC WD6400AAKS-0' '01.0' Disk
2,0,0 200) 'ATA ' 'WDC WD5000AAKS-0' '12.0' Disk
3,0,0 300) 'ATA ' 'WDC WD5000AAKS-0' '12.0' Disk
4,0,0 400) 'HL-DT-ST' 'DVDRAM GH20NS15 ' 'IL00' Removable CD-ROM
6,0,0 600) 'HL-DT-ST' 'DVD-ROM GDR8163B' '0L23' Removable CD-ROM
and this is what we do not want to, I see the hard drives here, so I
avoid using the module sg.
Then my last question is, and I will be more than grateful: Is there any
way to use the syntax dev=n,n,n without using the module sg, and only
with the sr_mod module?
Many thanks Jörg for the support, will not give personalized support to
the public, thanks for the exception :)
PS (for Jörg): I hope not to be annoying.
PS (for Arch ML): Apologize to the list, but I think this is interesting
that they can read it publicly.
--
Gerardo Exequiel Pozzi ( djgera )
http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
More information about the arch-general
mailing list