LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-27-2004, 05:53 PM   #1
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Rep: Reputation: 30
Sony CD-RW recognize, but not possible to use it


I just installed a Sony CD-RW, but I can't use it in k3b
Linux recognize what type it is, but can't manage to do anything with it (well, k3b couldn't)


Anyone can help me?!

Here is some information:
Code:
root@AliTriX:/home/dbzgt# cdrecord --scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'SONY    ' 'CD-RW  CRX210E1 ' '2YS1' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
Part of dmesg:
Code:
hda: ST340824A, ATA DISK drive
hdb: ST380011A, ATA DISK drive
blk: queue c03afd20, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03afe5c, I/O limit 4095Mb (mask 0xffffffff)
hdc: JLMS DVD-ROM LTD-165H, ATAPI CD/DVD-ROM drive
hdd: SONY CD-RW CRX210E1, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(66)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(66)
hdc: attached ide-cdrom driver.
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda2 < hda5 hda6 hda7 hda8 hda9 hda10 > hda3
 hdb: hdb1 hdb2 < hdb5 >

Info I get when I start k3b:
Code:
(K3bDeviceManager) scanning fstab: /dev/cdrom
(K3bDeviceManager) found device for /dev/cdrom: /dev/hdc
(K3bDeviceManager) scanning fstab: /dev/sr0
could not open device /dev/sr0 (Permission denied)
Devices:
------------------------------
Blockdevice:    /dev/scd0
Vendor:         SONY
Description:    CD-RW  CRX210E1
Version:        2YS1
MountDevice:
Mountpoint:
Write speed:    48
Profiles:       CD-ROM; CD-R; CD-RW
Devicetype:     CD-R; CD-RW; CD-ROM
Writing modes:  SAO; TAO; RAW; SAO/R16; RAW/R96P; RAW/R96R
Reader aliases: /dev/scd0
------------------------------
Blockdevice:    /dev/hdc
Vendor:         JLMS
Description:    DVD-ROM LTD-165H
Version:        CH0U
MountDevice:    /dev/cdrom
Mountpoint:     /mnt/cdrom
Write speed:    0
Profiles:       DVD-ROM; CD-ROM
Devicetype:     CD-ROM; DVD-ROM
Writing modes:  None
Reader aliases: /dev/hdc, /dev/cdrom
------------------------------
In k3b itself it's listed as a writer as well, but when I try to write any data I get a error that there isn't a CD-RW device, so only making a IMAGE is possible
 
Old 12-27-2004, 05:59 PM   #2
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
Have you tried burning an image from the command line to see if that works? it could be just a problem with k3b.

cdrecord -dev=0,0,0 your_image.iso

(add -dummy if you want to just do a test without actually burning)
see man cdrecord for more options
 
Old 12-27-2004, 06:12 PM   #3
gian2oo1
Member
 
Registered: Oct 2004
Location: Rhode Island, USA
Distribution: Slackware... Simplicity is bliss.
Posts: 62

Rep: Reputation: 15
Are you using a 2.4.x kernel? I think there have been major problems with burning in kernels > 2.4.x
 
Old 12-27-2004, 09:07 PM   #4
aeNeo
Member
 
Registered: Jul 2004
Distribution: Slackware 10.0
Posts: 57

Rep: Reputation: 15
Have you tried it as root?
 
Old 12-28-2004, 02:17 AM   #5
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
Lets answer some questions:

cdrecord -dev=0,0,0 your_image.iso -dummy
Code:
dbzgt@AliTriX:~$ mkisofs -o fluxbox.iso fluxbox/
Using KNOB_000.XPM;1 for  fluxbox/volume.app-1.1a/knob-gamma4.xpm (knob-gamma3.xpm)
Using KNOB_001.XPM;1 for  fluxbox/volume.app-1.1a/knob-gamma3.xpm (knob-gamma2.xpm)
Using KNOB_002.XPM;1 for  fluxbox/volume.app-1.1a/knob-gamma2.xpm (knob-gamma1.xpm)
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 2048
Path table size(bytes): 30
Max brk space used 65a4
560 extents written (1 Mb)
dbzgt@AliTriX:~$
Code:
dbzgt@AliTriX:~$ cdrecord -dummy -v dev=0,0,0 fs=8m speed=4 fluxbox.iso
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'SONY    '
Identifikation : 'CD-RW  CRX210E1 '
Revision       : '2YS1'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1895168 = 1850 KB
FIFO size      : 8388608 = 8192 KB
Track 01: data     1 MB
Total size:        1 MB (00:07.49) = 562 sectors
Lout start:        1 MB (00:09/37) = 562 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 0
  Reference speed: 0
  Is not unrestricted
  Is erasable
  Disk sub type: Ultra High speed Rewritable media (2)
  ATIP start of lead in:  -11613 (97:27/12)
  ATIP start of lead out: 335925 (74:41/00)
  1T speed low: 16 1T speed high: 16
  2T speed low:  8 2T speed high: 24
  power mult factor: 4 5
  recommended erase/write power: 5
  A1 values: 66 4A D9
  A2 values: 38 80 00
  A3 values: 04 C5 A8
Disk type:    Phase change
Manuf. index: 18
Manufacturer: Plasmon Data systems Ltd.
Blocks total: 335925 Blocks current: 335925 Blocks remaining: 335363
Forcespeed is OFF.
cdrecord: Trying to use ultra high speed medium on improper writer.
cdrecord: fifo had 19 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 0%.
As I read from the error: Trying to use ultra high speed medium on improper writer
This Sony can take 48x for a CD-R and 12x for a CD-RW!!
What's the prob

Prove of concept
Code:
dbzgt@AliTriX:~$ dmesg | grep scsi
Kernel command line: root=/dev/hda7 hdd=ide-scsi vga=792 ro mem=196608K
ide_setup: hdd=ide-scsi
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
hdd: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 12x/40x writer cd/rw xa/form2 cdda tray
As the sr0 line says, 40x (even that isn't true, but 40x is OK to me as well :P)



Are you using a 2.4.x kernel? I think there have been major problems with burning in kernels > 2.4.x
Yes, I use kernel 2.4.23
And I just checked the website of cdrecord (http://www.fokus.gmd.de/research/cc/.../cdrecord.html)
Quote:
Important information: Linux-2.6.8.1 breaks CD/DVD writing for suid root applications
If you have related problems, try to call cdrecord as real root or go back to Linux-2.4
Guess it's not smart to upgrade to 2.6 ?

And btw, I tryed to compile 2.6 and run it on Slackware but not working (Maybe I will start a new topic about that)

Tried it as root
Yeah, same prob

//EDIT
Btw, just checked the list of supported Sony CD-RW's, and guess what my version isn't listed
List: http://www.cdrfaq.org/faq05.html#S5-1-2
Code:
.....
CRX220A1 (52x52x24/2MB;IDE)
CRX225A (52x52x24/2MB;IDE)
CRX230AD/K (52x52x32/2MB;IDE)
.....
//EDIT
Hm, just found a report on the cdrecord website that my version works with 2.4 kernel
http://wt.xpilot.org/cgi-bin/winni/s...10467094233490

(Upading cdrtools, maybe this can fix my problems)

Last edited by alitrix; 12-28-2004 at 02:41 AM.
 
Old 12-28-2004, 08:08 AM   #6
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,263

Rep: Reputation: 54
I have an old cdrw from Sony that isn't supported by anyone now. I will never buy another Sony.
 
Old 12-29-2004, 03:10 AM   #7
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
See, it isn't that big deal

You can buy a Sony CD-RW/DVD-RW, but buy one that is supported by cdrecord
Check the URL that I have paste in a few posts ago where there is a list of all the supported RW's
 
Old 12-29-2004, 09:13 AM   #8
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
Code:
root@AliTriX:~# cdrecord dev=ATAPI -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'JLMS    ' 'DVD-ROM LTD-165H' 'CH0U' Removable CD-ROM
        0,1,0     1) 'SONY    ' 'CD-RW  CRX210E1 ' '2YS1' Removable CD-ROM
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
root@AliTriX:~#
Btw, after I removed hdd=ide-scsi from grub/menu.list now my CD-RW is recognized as /dev/hdd
But I still can't write data to my CD (couldn't do this with 2.4.26 as well )

Code:
root@AliTriX:~# cdrecord -dummy -v dev=/dev/hdd speed=4 /home/dbzgt/fluxbox.iso
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdd'
devname: '/dev/hdd'
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.7'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'SONY    '
Identifikation : 'CD-RW  CRX210E1 '
Revision       : '2YS1'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1895168 = 1850 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data     1 MB
Total size:        1 MB (00:07.49) = 562 sectors
Lout start:        1 MB (00:09/37) = 562 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 0
  Reference speed: 0
  Is not unrestricted
  Is erasable
  Disk sub type: Ultra High speed Rewritable media (2)
  ATIP start of lead in:  -11613 (97:27/12)
  ATIP start of lead out: 335925 (74:41/00)
  1T speed low: 16 1T speed high: 16
  2T speed low:  8 2T speed high: 24
  power mult factor: 4 5
  recommended erase/write power: 5
  A1 values: 66 4A D9
  A2 values: 38 80 00
  A3 values: 04 C5 A8
Disk type:    Phase change
Manuf. index: 18
Manufacturer: Plasmon Data systems Ltd.
Blocks total: 335925 Blocks current: 335925 Blocks remaining: 335363
Forcespeed is OFF.
cdrecord: Trying to use ultra high speed medium on improper writer.
cdrecord: fifo had 10 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 0%.
root@AliTriX:~#
Isn't this Sony CD-RW not supported by kernel/cdrecord ?
If not, isn't there another one that supports it?

Last edited by alitrix; 12-29-2004 at 09:14 AM.
 
Old 12-30-2004, 11:23 AM   #9
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
Ok i dont know if you got this working yet. But what it seems like that your trying to do scsi emulation. Did you add the line in liloconf? append='scsi-ide'? something like that? did you add that? did you put the device name like /dev/sr0? in your fstab? did you make sure scsi emualtion is seeing it when you boot so it should say something like NAME OF YOUR DEVICE: /dev/sr0 something lik ethat then you put that in the fstab? am i making any sense? if you upgrade to 2.6.4 you dont need scsi emulation so it might help you out!! If you decide to upgrade and it doesnt work you can always switch back over to 2.4.2x. If cdrecord can see it when you do a cdrecord -scanbus then you should be able to burn! If you need help just tell me i should be able to help you getting it working! Hope this helps!

Matt
 
Old 12-30-2004, 04:09 PM   #10
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
Tnx man for the help!
I fixed it already!

(Other topic of my http://www.linuxquestions.org/questi...hreadid=271515)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant get FC3 to recognize my Sony 1280x800 monitor dasoberdick Linux - Laptop and Netbook 0 11-05-2005 12:16 PM
Sony Vaio VGN-B1XP / sony driver question kentri9 Linux - Laptop and Netbook 0 12-27-2004 11:00 AM
help me install linux on sony sony vaio pcg-r505gl heina Linux - Newbie 4 10-10-2004 10:36 PM
How to recognize CDR svar Linux - General 33 08-02-2004 06:05 AM
K3B does not recognize cr-rw aeruzcar Linux - Software 0 09-24-2003 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration