LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-18-2005, 02:09 PM   #1
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 794

Rep: Reputation: 34
Ripping Cd's


When I try ripping cd's to the hard drive, I get an error saying "access to /dev/cdrom denied"(even as root). I tried using kaudiocreator and konqueror to rip the tracks(recently installed amarok).
Can someone tell me what I am doing wrong?
My laptop specs:
Gateway 7405gx
amd 64 3200
multi-format burner(dvd+- rw/cd-rw)
Thank You
 
Old 01-18-2005, 02:23 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 473Reputation: 473Reputation: 473Reputation: 473Reputation: 473
Silly question, it is mounted, isn't it?
 
Old 01-18-2005, 02:26 PM   #3
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 794

Original Poster
Rep: Reputation: 34
I tried mounting the drive but with a regular music cd in it i get the error "bad fs type....".
 
Old 01-18-2005, 02:34 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 473Reputation: 473Reputation: 473Reputation: 473Reputation: 473
Can you post your fstab file?
 
Old 01-18-2005, 02:50 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
You can't mount Audio CD's thats a red herring.

Do you have a /dev/cdrom device file?

usually its just a symlink to a the actual device say /dev/hdc If you don't have this symlink you can use

cd /dev
ln -s hdc cdrom
 
Old 01-18-2005, 03:09 PM   #6
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 794

Original Poster
Rep: Reputation: 34
It will play dvd's, it will mount and read data cd's, play music cd's(no sound though(no DAE)), the only thing it won't do is rip cd's.
It(cdrom) appears in the /etc/fstab and in the /dev file.

Last edited by quietguy47; 01-18-2005 at 03:12 PM.
 
Old 01-18-2005, 03:18 PM   #7
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
So its there, hmm.
what does ls -l /dev/cdrom give? ( if its a symlink what ls -l of the device it points too).

In Konq does audiocd:/ list the tracks on the CD?
 
Old 01-21-2005, 09:59 AM   #8
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Try this at the command line
Code:
cdparanoia -B
make sure you are in your home directory or the directory where you want to rip the CD to. If you've mounted the CD and entered that directory you'll obviously have a problem writing files there.

After cdparanoia has done its thing you can play the resulting wav files or convert them to smaller mp3 or ogg format files. See
Quote:
man oggenc
for details.

Dennisk
 
Old 01-21-2005, 03:41 PM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Can you do it from the command line?

How about CD copying, ripping and burning? I can't figure it out.
# CD burning copying ripping info
Is it configured and what is the device? Command this to find out:
cdrecord -scanbus

# Recomended GUI front ends for CD burner
XCDRoast
K3b - CD/DVD Kreator for KDE
Adding an IDE CD-Writer to Linux
Linux DVD HOWTO
CD Writing HOWTO
Burning CDs on Linux
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso ; eject

cdrecord -v speed=8 dev=0,0,0 /pub/iso/downloads.iso;eject

# New command for kernel 2-6?
cdrecord -v speed=8 dev=ATAPI:1,1,0 /pub/iso/gnuwinII_August_12_2004.iso ; eject

# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom ; eject
# ISO information
isoinfo -i -d /dev/cdrom
# Generate an ISO from a directory.
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory

mkisofs -vrTJUV "Downloads" -o downloads.iso /pub/dlcd

# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
# cdparanoia - search for a drive with reporting of autosense:
cdparanoia -vsQ
# Rip a complete audio CD with cdparanoia
cdparanoia -B "1-";eject
# Convert wav files to oggvorbis
oggenc somefile.wav
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav;eject

cdrecord -v -audio -pad speed=8 dev=0,0,0 /home/fancy/recordings/*.wav;eject

# Copy CD using cdrdao
cdrdao read-cd --device <your device> --read-raw --datafile mydata.bin -v 99 mydata.cue
cdrdao write --device <your device> --overburn -v 99 --speed <burning speed> mydata.cue
# Erase a CDRW
cdrecord -v dev=<your device> speed=<burning speed> blank=fast
# Mount CD iso images as a filesystem
mount /path/to/foo.iso /mnt/<directory> -t iso9660 -o ro,loop=/dev/loop0
Example:
mount /pub/iso/distros/Mandrake92-cd1-inst.i586.iso /mnt/cdrom -t iso9660 -o ro,loop=/dev/loop0
See man <command> or info <command> for full list of available flags and examples.
 
Old 02-26-2005, 08:44 AM   #10
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.1 and Slackware Arm
Posts: 478

Rep: Reputation: 41
Wow,
Thanks fancypiper, excellent info in there. Just helped me a bunch

mark
 
Old 02-27-2005, 10:16 AM   #11
tormentum
LQ Newbie
 
Registered: May 2003
Location: Perth, Australia
Distribution: Slackware, Ubuntu
Posts: 18

Rep: Reputation: 0
amen to that! thanks dude, answeres a whole lot of questions

Torm
 
Old 03-24-2005, 06:15 PM   #12
resaguk
Member
 
Registered: Aug 2004
Location: Leamington Spa, UK
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
Hmm. I have a similar problem to the OP - even from the command line I cannot rip audio tracks, but I can read data cds in the drive:

Code:
iain@iains:~$ cdparanoia -v -w -B -d /dev/cdrom 1-
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for cooked ioctl() interface
                Unable to open /dev/hdc: Permission denied
        Testing /dev/cdrom for SCSI interface
                /dev/cdrom is not a SCSI device
iain@iains:~$ cdparanoia -v -w -B -d /dev/hdc 1-
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Checking /dev/hdc for cdrom...
        Testing /dev/hdc for cooked ioctl() interface
                Unable to open /dev/hdc: Permission denied
        Testing /dev/hdc for SCSI interface
                /dev/hdc is not a SCSI device
iain@iains:~$ cdparanoia -v -w -B -d /dev/hdd 1-
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Checking /dev/hdd for cdrom...
        Testing /dev/hdd for cooked ioctl() interface
                Unable to open /dev/hdd: Permission denied
        Testing /dev/hdd for SCSI interface
                /dev/hdd is not a SCSI device
iain@iains:~$ cat /etc/fstab
/dev/hda1        swap             swap        defaults         0   0
/dev/hda3        /                reiserfs    defaults         1   1
/dev/hda2        /boot            reiserfs    defaults         1   2
/dev/hda5        /var             reiserfs    defaults         1   2
/dev/hda6        /export          reiserfs    defaults         1   2
/dev/hdb1        /home            reiserfs    defaults         1   2
/dev/hdb2        /opt             reiserfs    defaults         1   2
/dev/hdc         /mnt/dvd         iso9660     noauto,user,ro  0   0
/dev/hdd         /mnt/cdrw        iso9660     noauto,user,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
/dev/sda1        /mnt/usbstick    vfat        user,noauto,umask=0   0 0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
iain@iains:~$ cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) '_NEC    ' 'DVD_RW ND-2510A ' '2.15' Removable CD-ROM
        0,1,0     1) 'GoldStar' 'CD-ROM CRD-8400B' '1.02' Removable CD-ROM
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
iain@iains:~$ ls -l /dev/cdrom
lrwxrwxrwx  1 root root 8 2005-02-17 23:32 /dev/cdrom -> /dev/hdc
iain@iains:~$ ls -l /dev/hdc
brw-rw----  1 root disk 22, 0 2002-06-09 20:27 /dev/hdc
iain@iains:~$ su
Password:
root@iains:/home/iain# cdparanoia -v -w -B -d /dev/cdrom 1-
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for cooked ioctl() interface
                Device /dev/hdc is not a CDROM
        Testing /dev/cdrom for SCSI interface
                /dev/cdrom is not a SCSI device
root@iains:/home/iain# cdparanoia -v -w -B -d /dev/hdd 1-
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Checking /dev/hdd for cdrom...
        Testing /dev/hdd for cooked ioctl() interface
                Device /dev/hdd is not a CDROM
        Testing /dev/hdd for SCSI interface
                /dev/hdd is not a SCSI device
root@iains:/home/iain# cdparanoia -v -w -B -d /dev/hdc 1-
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Checking /dev/hdc for cdrom...
        Testing /dev/hdc for cooked ioctl() interface
                Device /dev/hdc is not a CDROM
        Testing /dev/hdc for SCSI interface
                /dev/hdc is not a SCSI device
root@iains:/home/iain# exit
As you can see above, trying as root makes no difference - any ideas please?

TIA
 
Old 03-24-2005, 07:37 PM   #13
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
What kernel are you running?

uname -r

What modules are loaded?

cat /proc/modules
 
Old 03-25-2005, 07:08 AM   #14
resaguk
Member
 
Registered: Aug 2004
Location: Leamington Spa, UK
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
Ooops! Thought I'd put the kernel in there - 2.4.26 (as installed as standard by the Slack 10.0 set-up).

Modules as follows:

Code:
radeon                 99936   1
snd-pcm-oss            37736   0
snd-mixer-oss          12504   1 [snd-pcm-oss]
snd-es1938             11240   5
gameport                1420   0 [snd-es1938]
snd-pcm                56072   3 [snd-pcm-oss snd-es1938]
snd-page-alloc          6328   0 [snd-pcm]
snd-opl3-lib            5892   0 [snd-es1938]
snd-hwdep               4804   0 [snd-opl3-lib]
snd-timer              13604   0 [snd-pcm snd-opl3-lib]
snd-mpu401-uart         3200   0 [snd-es1938]
snd-rawmidi            12740   0 [snd-mpu401-uart]
snd-seq-device          3888   0 [snd-opl3-lib snd-rawmidi]
snd                    30852   2 [snd-pcm-oss snd-mixer-oss snd-es1938 snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3396   6 [snd]
ne2k-pci                4576   1
8390                    6000   0 [ne2k-pci]
crc32                   2880   0 [8390]
ide-scsi                9328   2
usb-storage            66176   0 (unused)
usb-uhci               22256   0 (unused)
usbcore                59308   1 [usb-storage usb-uhci]
agpgart                43940   3
lp                      6724   0
parport_pc             14788   1
parport                23336   1 [lp parport_pc]
apm                     9580   2
Also relevant line from my lilo.conf:

Code:
append="hdd=ide-scsi hdc=ide-scsi"
I can definitely both read and burn data CDs in both drives (and the same applies to DVDs in the NEC drive)

Thanks for any light you can shed... after getting Wine working I thought I had everything nailed down until I tried to rip a couple of CDs the other day!

Oh, swaret --update && swaret --upgrade -a reports all packages are up to date (using version=current in swaret.conf)

Last edited by resaguk; 03-25-2005 at 07:11 AM.
 
  


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
Playing/Ripping Audio CD's in 10.1 MyNameIsDave Mandriva 6 10-16-2004 03:42 PM
problem ripping cd's thegreatgatsby Linux - Software 3 07-18-2004 05:05 PM
ripping CD's to WAV ? e1000 Linux - Software 6 07-13-2004 06:28 AM
Ripping CD's Bloodspiller Mandriva 2 02-26-2004 11:28 PM
problems ripping cd's nrunge Linux - Software 3 12-08-2003 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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