View previous topic :: View next topic |
Author |
Message |
berkowski Tux's lil' helper
Joined: 17 Mar 2004 Posts: 134
|
Posted: Fri Feb 18, 2005 9:26 pm Post subject: cd burning questions (eject command wierdness). |
|
|
at first
gave me nothing as root or user.
there seems to be a lot of conflicting directions for getting your cdburner to work. Some say use scsi emulation for 2.6 kernels, others say you don't need to, and then others say "well, true - but for some programs you do."
I ended up I following this thread: https://forums.gentoo.org/viewtopic-t-239570
and now cdrecord -scanbus spits out:
Code: | Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.9-gentoo-r1
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
cdrecord: Warning: SCSI transport does no longer work for suid root programs.
cdrecord: Warning: if cdrecord fails, try to run it from a root account.
Linux sg driver version: 3.5.31
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CD-R/RW SW-252B ' 'R701' Removable CD-ROM
|
for both users and root. So I thought I was good to go. I use udev, and since sticking the "hdc=scsi-ide" line in grub.conf as mentioned in the above link I lost both /dev/hdc & /dev/cdroms/cdrom0. I also don't have /dev/scd0 as mentioned in the link.
dmesg reports:
Code: |
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SAMSUNG Model: CD-R/RW SW-252B Rev: R701
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 52x/52x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
|
which I'm curious about. I don't know how to implement the use ide-cd suggestion. I guess that's another question. But anyway my cdrom looks to be on sr0 now - but I can't open the tray. typing
yields nothing. No error and certainly no opening of the tray. and
gives me "eject: unable to eject, last error: Operation not permitted"
I updated to udev-045 (latested marked stable) and rules I've regained /dev/cdrom & /dev/cdrw, both pointing back to sr0 but the problem still remains.
Actually eject /dev/sr0 WILL work if there's a cd in the bay, but eject -t /dev/sr0 will not close thd tray regardless.
So the two questions:
1) What's up with this eject behaviour?
2) is that deprecatd statement in dmesg that bad? And if so, how do I make it better
I should point out that burning works (at least so far) for root and users. |
|
Back to top |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
Posted: Fri Feb 18, 2005 9:46 pm Post subject: Re: cd burning questions. |
|
|
berkowski wrote: | there seems to be a lot of conflicting directions for getting your cdburner to work. Some say use scsi emulation for 2.6 kernels, others say you don't need to, and then others say "well, true - but for some programs you do."
I ended up I following this thread: https://forums.gentoo.org/viewtopic-t-239570 |
I use an atapi burner without ide-scsi support anymore, and it works fine. This might be referring to if you want to use an older software that was made for scsi emulation, I'm not sure, but if your software is current - you won't need it. ide-cd support just means have support in your kernel for standard ide cdroms: CONFIG_BLK_DEV_IDECD=y
berkowski wrote: | So the two questions:
1) What's up with this eject behaviour?
2) is that deprecatd statement in dmesg that bad? And if so, how do I make it better |
Some cdroms do not support the -t option. Did this work before? Try it after disabling scsi emulation and see if it works or try "eject -t /dev/hdc" (or whatever your ide device is). Your depecated warning should also disappear if you do that.
Hope that helps |
|
Back to top |
|
|
berkowski Tux's lil' helper
Joined: 17 Mar 2004 Posts: 134
|
Posted: Fri Feb 18, 2005 10:06 pm Post subject: Re: cd burning questions. |
|
|
lookinin wrote: |
I use an atapi burner without ide-scsi support anymore, and it works fine. This might be referring to if you want to use an older software that was made for scsi emulation, I'm not sure, but if your software is current - you won't need it. ide-cd support just means have support in your kernel for standard ide cdroms: CONFIG_BLK_DEV_IDECD=y
|
Hmm, if its just a matter of older software only I'll look into switching once more. I do have CONFIG_BLK_DEV_IDECD=y already. I'll try removing the hdc=scsi-ide line again. But right now the burner *is* working, which is the main part.
Quote: |
berkowski wrote: | So the two questions:
1) What's up with this eject behaviour?
2) is that deprecatd statement in dmesg that bad? And if so, how do I make it better |
Some cdroms do not support the -t option. Did this work before? Try it after disabling scsi emulation and see if it works or try "eject -t /dev/hdc" (or whatever your ide device is). Your depecated warning should also disappear if you do that.
|
Yeah, it worked before. I could eject -t both /dev/cdrom and /dev/hdc. I'll see if switching back fixes things. |
|
Back to top |
|
|
berkowski Tux's lil' helper
Joined: 17 Mar 2004 Posts: 134
|
Posted: Fri Feb 18, 2005 11:39 pm Post subject: |
|
|
Ok, back on atapi - I've got hdc and /dev/cdroms/cdrom0 back and eject + eject -t works once more. cdrecord now gives:
Code: | Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.9-gentoo-r1
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
cdrecord: Warning: SCSI transport does no longer work for suid root programs.
cdrecord: Warning: if cdrecord fails, try to run it from a root account.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CD-R/RW SW-252B ' 'R701' Removable CD-ROM
|
What's this about no dma & slow opperations? Does it make that much a difference?[/code] |
|
Back to top |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
Posted: Sat Feb 19, 2005 12:20 am Post subject: |
|
|
What does it say if you run the command as root? If it gives output without that warning, you probably just have to add your user to the cdrw/cdrom groups. |
|
Back to top |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|