LinuxQuestions.org
Review your favorite Linux distribution.
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 06-11-2004, 01:48 AM   #1
beolach
LQ Newbie
 
Registered: Jul 2003
Distribution: Gentoo
Posts: 29

Rep: Reputation: 15
Question 'cdrecord -scanbus dev=ATAPI:' does not work with udev


I run Slackware-current w/ kernel 2.6.6 & the udev-025-i486-6 package (from the Slackware-current tree). Before I installed the udev package, or when I reboot without the rc.udev startup script, I am able to use 'cdrecord dev=ATAPI:" to record CDs on my IDE-ATAPI CD-RW drive, without using ide-scsi and with no problem at all. However I have noticed that when I am running udev to manage /dev, cdrecord is not able to find the ATAPI CD-RW drive. When I run 'cdrecord -scanbus dev=ATAPI:' whith udev, I get:

Code:
bash-2.05b$ cdrecord -scanbus dev=ATAPI:
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
scsidev: 'ATAPI:'
devname: 'ATAPI'
scsibus: -1 target: -1 lun: -1
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
cdrecord: No such file or directory. 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'.
Has anyone else experienced this problem, or know of a way to fix it?

Thanks in advance,
Beolach
 
Old 06-11-2004, 05:07 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Cd burning works for me with the 2.6.7-rc3 kernel and Udev-025. I had to edit /etc/udev/udev.permissions to change the permissions on /dev/hdc to 0666. The line for disks read
Code:
hd*:root:disk:0660
Ichanged it to
Code:
hda*:root:disk:0660
hd*:root:disk:0666
It's possible Udev's config files may be somewhere else on your system. I hope this helps.
 
Old 06-14-2004, 12:22 AM   #3
beolach
LQ Newbie
 
Registered: Jul 2003
Distribution: Gentoo
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for the suggestion, but unfortunatly it does not resolve my problem. My CD-RW drive (/dev/hde) already had 0666 permission. Sorry for not making that clear in my first post.

Code:
brw-rw-rw-  1 root cdrom 33, 0 2004-06-11 23:31 hde
Also I forgot to mention, I have the same problem when running cdrecord as root or a normal user. Any other suggestions welcome.
 
Old 06-14-2004, 02:15 AM   #4
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Same problem here.
So I now use cdrecord -scanbus dev=/dev/hdc (ugly, I now, but it works).
 
Old 06-14-2004, 03:03 AM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I don't know if it can help but on my bootloader (grub) I added 'hdd=ide-cd' in the line with kernel parameters (/dev/hdd is my burning device)
 
  


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
CDrecord -scanbus Gerardoj Linux - Software 4 05-02-2004 09:27 PM
cdrecord -scanbus james.farrow Fedora 2 01-18-2004 10:01 PM
Scanbus doesn't work....how to track down dev number? Trinity22 Linux - General 2 09-22-2003 08:20 AM
cdrecord -scanbus Cybers19 Linux - General 4 05-22-2003 02:22 PM
cdrecord -scanbus problems pmaloney Slackware 5 04-24-2003 02:20 PM

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

All times are GMT -5. The time now is 06:41 AM.

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