LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-23-2003, 09:12 PM   #1
thane777
LQ Newbie
 
Registered: Oct 2003
Location: Packerland
Distribution: Redhat/Mandrake
Posts: 19

Rep: Reputation: 0
k3b and scsi cd-rw hangs


I have been searching around for info on getting k3b to run and all of them refer to using scsi emulation to get k3b to see your burner. Thing is I actually have a scsi burner on
/dev/scd0.

I am not at my home computer so I cannot be more specific at this time but does anyone know were some good info regarding this might be.

By the way I am running Mandrake 9.2. Xcdroast worked fine under Mandrake9.0. I did a clean install when I went to 9.2

Thanks in advance-

Thane
 
Old 10-24-2003, 06:58 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
k3b should see your scsi burner provided that SCSI CD support is enabled in the kernel.
 
Old 10-25-2003, 11:29 PM   #3
thane777
LQ Newbie
 
Registered: Oct 2003
Location: Packerland
Distribution: Redhat/Mandrake
Posts: 19

Original Poster
Rep: Reputation: 0
Guy -

I have scsi support in my kernel - I have watched it load the scsi driver and I can use said burner to read cdroms all day.

Anyway, I tried xcdroast as it worked in Mdk9.0 and it too hung while scaning for burners. It must be a 9.2 bug. I suppose I ought to check the errata.

Thanks!

Thane.
 
Old 10-25-2003, 11:34 PM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
maybe try disabling supermount (?) for your burner.
 
Old 10-26-2003, 05:48 AM   #5
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
a) Are you running as a normal user?
b) Does /dev/scd0 have write permissions?

Post the output of
ls -l /dev/scd*
And that may give us a clue as to what's going on.
Guy
 
Old 10-26-2003, 08:34 AM   #6
thane777
LQ Newbie
 
Registered: Oct 2003
Location: Packerland
Distribution: Redhat/Mandrake
Posts: 19

Original Poster
Rep: Reputation: 0
/dev/scd0 is merely a link in this system:

dave@Linbox dave]$ ls -l /dev/scd0
lr-xr-xr-x 1 root root 31 Oct 25 23:09 /dev/scd0 -> scsi/host0/bus0/target1/lun0/cd

I then checked the actual file that it is linked to:

[dave@Linbox dave]$ ls -l /dev/scsi/host0/bus0/target1/lun0/cd brw-rw---- 1 dave cdrom 11, 0 Dec 31 1969 /dev/scsi/host0/bus0/target1/lun0/cd

I chmod'd it and changed it but have yet to try to scan it using either xcdroast or k3b:

[root@Linbox dave]# chmod 777 /dev/scd0 [root@Linbox dave]# ls -l /dev/scd0 lr-xr-xr-x 1 root root 31 Oct 25 23:09 /dev/scd0 -> scsi/host0/bus0/target1/lun0/cd [root@Linbox dave]# ls -l /dev/scsi/host0/bus0/target1/lun0/cd brwxrwxrwx 1 dave cdrom 11, 0 Dec 31 1969 /dev/scsi/host0/bus0/target1/lun0/cd

I have no idea if that will help.

And to answer your other question, when I am running the burner software setup program I am running as root.

Thanks!

Thane
 
Old 10-26-2003, 09:46 AM   #7
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Well, your /dev/scd0 isn't writable, so you may not be able to use it with a CD burner. I'm not too sure, but if I were you, I'd try the following:
1) Remove the /dev/scd0 symlink
2) Set the permissions correctly on the actual device (/dev/scsi/host0/bus0/target1/lun0/cd)
3) Set your umask to 0666 (I think this is right, maybe wait until someone else confirms it?)
4) Re-create the link

Hopefully that wlil help. The device at the moment seems to have alright permissions (as long as you want anyone to be able to access it) so you might just be able to tell 3kb that that is the device name.
Guy
 
Old 10-28-2003, 05:16 PM   #8
thane777
LQ Newbie
 
Registered: Oct 2003
Location: Packerland
Distribution: Redhat/Mandrake
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks Guy.


That appears to be the problem. I added write perms to the actual device (/dev/scsi/host0/bus0/target1/lun0/cd) then ran cdrecord -scanbus as root and it saw my burner. I then ran k3bsetup as root and all is well!

Thane.
 
  


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
K3b Hangs on Startup Nick1787 Linux - Software 2 12-29-2004 09:07 PM
K3B SCSI Emulation LinuxSeeker Mandriva 1 03-16-2004 04:08 PM
Problems with SCSI emulation and k3b atheist Linux - Software 2 03-03-2004 03:01 PM
k3b scsi emulation? gavinbeatty Linux - Newbie 10 01-01-2004 04:57 PM
Cd drives and K3b. Scsi emulation?? ludeKing Linux - Hardware 2 10-15-2003 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:18 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