LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2005, 02:13 PM   #16
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30

Well, I have a DVD/CD-RW drive if that helps. I posted the /etc/mtab, but God knows what that was for! I'm not sure what to point it to.../dev/hdc? /dev/hdd? /dev/hde? I'm quite confused, so I don't now which one to point it to. Pleae may you tell me how I can find out which one I need to point it to? Thanks,

J_K9
 
Old 03-14-2005, 02:14 PM   #17
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
do this in a terminal:

dmesg | grep hd

here's mine:

dmesg | grep hd
Kernel command line: BOOT_IMAGE=Slack ro root=341 hdc=ide-scsi
ide_setup: hdc=ide-scsi
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdcMA, hddMA
hda: WDC WD600BB-00CAA1, ATA DISK drive
hdb: WDC WD200EB-11BHF0, ATA DISK drive
hdc: LTN301, ATAPI CD/DVD-ROM drive
hdd: 48X12X50 CD-RW 1.02 20021009, ATAPI CD/DVD-ROM drive

hda: attached ide-disk driver.
hda: host protected area => 1
hda: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=7297/255/63, UDMA(100)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=2434/255/63, UDMA(100)
hdd: attached ide-cdrom driver.
hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
hda: hda1 hda2 hda3 hda4
hdb: hdb1 hdb2 hdb3 < hdb5 >

from this you can see hda and hdb are hard drives, hdc is a cd drive, and hdd is a cd-rw drive. so if I wanted xine to access the cd-rw drive, I would have to specify /dev/hdd, or if I wanted it to access the other cdrom drive, I would tell it /dev/hdc

also, If I wanted a /dev/cdrom generic identifier, it would be pointing back to either /dev/hdc or /dev/hdd, in other words it's not a device itself but a pointer back to a device.

Last edited by __J; 03-14-2005 at 02:16 PM.
 
Old 03-14-2005, 02:46 PM   #18
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Here is the output of it on my laptop:
Quote:
EXT3 FS on hdc1, internal journal
SELinux: initialized (dev hdc1, type ext3), uses xattr
SCSI device sda: 1024000 512-byte hdwr sectors (524 MB)
SCSI device sda: 1024000 512-byte hdwr sectors (524 MB)
SCSI device sdb: 1024000 512-byte hdwr sectors (524 MB)
SCSI device sdb: 129024 512-byte hdwr sectors (66 MB)
SELinux: initialized (dev hda, type iso9660), uses genfs_contexts
I hope this makes sense to you! Thanks in advance,

J_K9
 
Old 03-14-2005, 02:59 PM   #19
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
hmm,

alright, check /etc/fstab for lines like:

/dev/hdc /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/sr0 /mnt/cdrom iso..............................................................
/dev/scd0 /mnt/cdrom etc............


or something similar..
 
Old 03-14-2005, 03:04 PM   #20
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Here is my fstab:
Quote:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrecorder auto pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
The only line I can see that resembles something like my CD Drive is /dev/hda, but isn't that meant to be my HDD?

J_K9
 
Old 03-14-2005, 03:09 PM   #21
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
no actually it looks like your device

it's assigning /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 as your root partition on your harddrive.

toss a data cd like one of your install cd's in your drive, and type(as root):

mount /dev/hda


then check /media/cdrecorder and see if it has the files inside
 
Old 03-14-2005, 03:24 PM   #22
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Here is what it said when I tried to mount it:
Quote:
[maniac@gobledee ~]$ mount /dev/hda
mount: /dev/hda already mounted or /media/cdrecorder busy
mount: according to mtab, /dev/hda is already mounted on /media/cdrecorder
And yes, there were files in /media/cdrecorder! The only problem is that when I tried to make Grip read from /dev/hda, it came up with the same error message! Is there something I am doing wrong? Thanks again,

J_K9
 
Old 03-14-2005, 03:28 PM   #23
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
are you running grip as root or a user
 
Old 03-14-2005, 03:38 PM   #24
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
As a user
 
Old 03-14-2005, 03:41 PM   #25
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you /dev/hda file probably does not have the right permissions to access it as a user. This can be changed, or you can use sudo or su -c to run these programs as root ( k3b or other cd/dvd recording programs will fall into the same boat). sudo has to be set up, there are good guides around the net for that. or in a terminal launch grip like:

su -c /usr/bin/grip ( or wherever it is)
<passwd>

and grip will run as root.

try that and see if it helps.
 
Old 03-14-2005, 03:56 PM   #26
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
I tried su -c /us/bin/grip, and grip opened (in root, as you said). Then I changed the config to read from /dev/hda, but grip said there was no disc. So then I changed it to /media/cdrecorder, but that didn't work either. If you are still able to help me, because you seem to be a very intelligent person, then please reply, but I'm sorry that I won't be able to reply until 0700 GMT because the network shuts down at 2200 GMT. Thanks for your help so far!

J_K9
 
Old 03-14-2005, 04:23 PM   #27
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
try a different disc and see if that helps.
 
Old 03-15-2005, 01:15 AM   #28
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Hi,

I tried a different disk, but the same error came up! So, I decided to fiddle around with it a bit, so in terminal I typed in "dmesg" by itself, and one of the lines of output was this:
Quote:
hda:ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
So I think we now know for sure that it is my CD drive! But, even then Grip and CD Player think there is no disk....Any ideas?

J_K9
 
Old 03-15-2005, 07:26 AM   #29
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Please may someone help me, because as you have probably already worked out, I am unable to play any music CDs or DVD using any media player. I would like to try and fix Grip and xine so that I can play these. Please can someone help me? Thanks in advance,

J_K9
 
  


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
problems with installing grip tale Linux - Software 8 07-24-2005 07:25 AM
problems installing k3b-mp3 for FC3 and k3b-0.11.18 Rockgod2099 Linux - Software 8 01-09-2005 06:38 PM
Grip/curl problems Wynd Linux - Software 5 01-08-2005 05:33 PM
problems with Grip, and now i can't bring up my terminal! madmax8484 Linux - Software 0 08-24-2004 12:03 AM
Problems with Grip, Konquerer and cdrw zenhues Linux - Newbie 5 12-01-2002 06:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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