Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't write cd's anymore since upgrading to kernel 2.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dfuse
Guru
Guru


Joined: 07 Apr 2003
Posts: 395
Location: Belgium

PostPosted: Sat Mar 20, 2004 1:39 pm    Post subject: can't write cd's anymore since upgrading to kernel 2.6 Reply with quote

Hey,

when I upgraded to 2.6 I read that scsi emulation wasn't needed anymore, so I ditched it. I use xcdroast and that wouldn't write anymore, so today I decided to reinsert scsi cdrom & generic support into my kernel (2.6.3-gentoo-r1), but I still can't write cd's. Xcdroast just says there's no medium in the drive.
Cdrecord gives the following:
Code:
 cdrecord dev="1,0,0" speed=16 driveropts=burnfree /usr/share/media/b5s1e01-01.iso
Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

I'm not sure about the "1,0,0", that's what xcdroast is saying about my writer. I don't have a /dev/sg either.

dmesg | grep CD gives me
Code:
hdc: LITE-ON LTR-16102B, ATAPI CD/DVD-ROM drive
hdd: Pioneer DVD-ROM ATAPIModel DVD-106S 011, ATAPI CD/DVD-ROM drive
Uniform CD-ROM driver Revision: 3.20

I don't have a /dev/hdc either, but I do have a /dev/hdd.

I've searched the internet and the forum, but nowhere I could find a clear guide on how to enable atapi writing (or fix my problem to get back to scsi writing)
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Sat Mar 20, 2004 2:19 pm    Post subject: Reply with quote

I think 2.6.3 is bugged about scsi emulation, but I'm not sure... maybe try with 2.6.4-rc1 :)
Back to top
View user's profile Send private message
flavio
Apprentice
Apprentice


Joined: 12 Mar 2004
Posts: 161

PostPosted: Sat Mar 20, 2004 2:24 pm    Post subject: Reply with quote

Run xcdroast as root, go to devices and select "manually add device". Add your IDE cd writer as "/dev/hdc" (or hdd depending on your setup).
Back to top
View user's profile Send private message
dfuse
Guru
Guru


Joined: 07 Apr 2003
Posts: 395
Location: Belgium

PostPosted: Sat Mar 20, 2004 6:11 pm    Post subject: Reply with quote

Thanks for the reply, I was able to add my dvd reader with /dev/hdd, but xcdroast couldn't find my cdwriter with /dev/hdc, although dmesg says it should be on hdc. What else can be wrong?
Back to top
View user's profile Send private message
flavio
Apprentice
Apprentice


Joined: 12 Mar 2004
Posts: 161

PostPosted: Sat Mar 20, 2004 6:17 pm    Post subject: Reply with quote

make sure that you don't have a parameter like: hdc=ide-scsi in your /boot/grub/grub.conf for your current kernel. If that's the case, just remove it and reboot again.

If you're still having problems run:

Code:
dmesg | grep hdc


and post the results.
Back to top
View user's profile Send private message
dfuse
Guru
Guru


Joined: 07 Apr 2003
Posts: 395
Location: Belgium

PostPosted: Sat Mar 20, 2004 6:28 pm    Post subject: Reply with quote

Yes I have that option in my lilo. So adding the device manually in xcdroast is the atapi way and I HAVE to remove the scsi emulation for this? Can't reboot right now I'm ripping a dvd, but I'll try it as soon as I can and hope it will work, I'll post the results. Thanks for the help.
Back to top
View user's profile Send private message
flavio
Apprentice
Apprentice


Joined: 12 Mar 2004
Posts: 161

PostPosted: Sat Mar 20, 2004 6:29 pm    Post subject: Reply with quote

Yes, you need to remove that option as you won't use ide-scsi emulation any more.
Back to top
View user's profile Send private message
dfuse
Guru
Guru


Joined: 07 Apr 2003
Posts: 395
Location: Belgium

PostPosted: Tue Mar 23, 2004 7:46 pm    Post subject: Reply with quote

I finally got to reboot, and it works now, thanks alot!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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