LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 02: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, 06: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, 01: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, 03:15 AM   #4
lems
Member
 
Registered: May 2004
Distribution: Slackware x86/x86_64/ARM, NetBSD
Posts: 165

Rep: Reputation: 56
Same problem here.
So I now use cdrecord -scanbus dev=/dev/hdc (ugly, I now, but it works).
 
Old 06-14-2004, 04:03 AM   #5
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

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


All times are GMT -5. The time now is 11:42 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration