On Thursday 25 November 2004 04:44 pm, Anders Lind wrote:
> Hello friends,
>
> I have experienced something strange, after upgrading to 10.0
> from 9.1 my CD/DVD-writer has stopped being reckognised as a
> SCSI-device, cdrecord -scanbus gives me this info:
>
> scsidev: 'ATA'
> devname: 'ATA'
> scsibus: -2 target: -2 lun: -2
> Warning: Using badly designed ATAPI via /dev/hd* interface.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.8'.
> cdrecord: Warning: using inofficial libscg transport code
> version (warly-scsi-linux-sg.c-1.80-mdk '@(#)scsi-linux-sg.c
> 1.80 04/03/08 Copyright 1997 J. Schilling'). scsibus1:
> 1,0,0 100) '_NEC ' 'DVD+RW ND-1100A ' '1.80'
> Removable CD-ROM 1,1,0 101) *
> 1,2,0 102) *
> 1,3,0 103) *
> 1,4,0 104) *
> 1,5,0 105) *
> 1,6,0 106) *
> 1,7,0 107) *
>
> there are no /dev/sg after what I can see in the treesystem and
> no /dev/scd0 either, interestingly enough it seems that
/dev/scd* is no longer used. 2.6.x kernels no longer use scsi
emulation.
Make sure you are using udev by running (you might need to do
a 'urpmi udev' first)
tom # service udev status
udev is running [ OK ]
.... if not, run 'service udev start' and try again.
Then 'urpme devfs' and remove any devfs=mount statement
from lilo.conf (or you can change it to devfs=nomount )
Then.....
> X-CD-Roast seems to reckognise the burner as a burner but
> refuses to burn with it. Gnometoaster just give me the
> errormessage to do the scanbus. I suspect I am missing
> something somewhere, but I am not sure what...or maybe I do, it
> seems also that I have a append = "hdc=ide-scsi" in lilo.conf
^^^^^^^^^^^^
No, remove that from lilo.conf and run 'lilo' after all the
above edits.
> as well, I am at a loss here
>
> /Anders
Run 'cdrecord dev=ATA -scanbus' You might see it
recommended to use 'dev=ATAPI' but that is deprecated already.
'dev=ATA' is the more correct form. Eg, here's mine;
tom # cdrecord dev=ATA -scanbus
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C)
1995-2004 J�rg Schilling
Note: This version is an unofficial (modified) version with DVD
support
Note: and therefore may have bugs that are not present in the
original.
Note: Please send bug reports or support requests to
<[EMAIL PROTECTED]>.
Note: The author of cdrecord should not be bothered with problems
in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
#################################################################
Warning: Using ATAPI via /dev/hd* interface. Use dev=ATA:X,Y,Z
or dev=/dev/hdX
#################################################################
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version
(warly-Mandrakelinux-scsi-linux-sg '@(#)scsi-linux-sg.c
1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'TEAC ' 'DV-516E ' '3.01'
Removable CD-ROM
1,1,0 101) 'PLEXTOR ' 'CD-R PREMIUM ' '1.05'
Removable CD-ROM
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
Notice my burner is 1,1,0 So;
cdrecord -v -eject speed=24 dev=ATA:1,1,0 .......
....is my basic form for burning CDr's. speed= can be omitted
and your burner should try an use it's fastest speed, but I'd
suggest you use 1/2 of the lesser; your burner's speed or the
media you use. My burner is 52x, and I use 52x media, so I burn
at 24x. Notice from the "Warning:" that I could also use the
form 'dev=/dev/hdc' (burner is primary on the 2nd IDE channel).
I'd recommend usin 'dev=ATA:X,Y,Z'
You might also have somethin like this in /etc/modprobe.conf
# This file is autogenerated from /etc/modules.conf using
# generate-modprobe.conf command
install scsi_hostadapter /sbin/modprobe sata_via; /bin/true
You could have this if you'd done a fresh install. Since you
upgraded you can try running 'generate-modprobe.conf' That will
try to convert your existing modules.conf (2.4.x kernels) into a
suitable modprobe.conf (2.6.x kernels). Backup your existing
modprobe.conf first.
Either way you might need a line like this with the appropriate
driver for your burner. (Mine is 'sata_via' for an IDE/SATA
combo VIA mobo). I'm not positive on this, as my SATA drive also
uses SCSI emulation. IOW's, the modprobe.conf line above might
not be needed on your system. So if you don't have it, try a
test burn without it.
--
Tom Brinkman Corpus Christi, Texas
Proud to be an American
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________