LinuxQuestions.org
Help answer threads with 0 replies.
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-01-2006, 03:05 AM   #1
Svip
Member
 
Registered: May 2005
Distribution: Slackware GNU/Linux 10.2
Posts: 31

Rep: Reputation: 15
:< Why doesn't it know of my main cd-rom drive?!


Okay, I have two cd-rom drives, one's a burner, the other is a somewhat broken DVD-drive (it works now and then). But for some reason, the installation haven't created a /dev file for the main cd-rom drive. What's up with that?

Not only did that become an issue, it kept complaining about lacking of permissions to view the cd-rom drive (even after I tried to configure it correctly in the dropline GNOME's user and group configuration (I couldn't be arsed to do it using text-based)).

What I am trying to do is to get an iPod inserted, then being able to add/extract music from it. But I also want to get some music from CDs I have. Shouldn't seem to so complicated to me, even with hotplug subsystem running. But obviously, that isn't the case.

On another note, it seems dropline GNOME only wish to run twice during an uptime, after I closed it a couple of times, it simply wouldn't start up with X. And lastly, X still complains about the missing module "nvidia" (which the NVIDIA .run package didn't fix), so I am running on "vesa" now - which is kinda slow, sadly.

I hope any of you can help - and I hope I didn't sound too annoying.
 
Old 06-01-2006, 03:29 AM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
But for some reason, the installation haven't created a /dev file for the main cd-rom drive. What's up with that?
You might need to access the cd drive directly with the actual device names. I'm not sure if you are using udev because this might change things a bit, but this is usually how IDE devices are assigned.

/dev/hda = Primary Master
/dev/hdb = Primary Slave
/dev/hdc = Secondary Master
/dev/hdd = Secondary Slave

The last two of which are probably your cd devices. To mount them, you will need to create a directory to mount it to. As root:
Code:
mkdir /mnt/cdrom2
chown youruser.users /mnt/cdrom*
This will allow the user you specify to mount the cdrom

Then make sure this is in our /etc/fstab file:
Code:
/dev/hdc   /mnt/cdrom     auto  noauto,owner,ro  0   0
/dev/hdd   /mnt/cdrom2    auto  noauto,owner,ro  0   0
If you want all memebers of the group 'users' to be able to mount cd drives with 'mount /mnt/cdrom' or 'mount /mnt/cdrom2', change owner to users.

Quote:
still complains about the missing module "nvidia" (which the NVIDIA .run package didn't fix)
You need to tell X11 to use your nvidia driver. As root, open up your /etc/X11/xorg.conf file and find the "Driver" section for your display device and replace whatever is there with "nvidia". If you do not get the nvidia splash screen when you start X, you will need to do 'modprobe nvidia'.


Let me know if you need any further assistance.

regards,
...drkstr

Last edited by drkstr; 06-01-2006 at 03:30 AM.
 
Old 06-01-2006, 04:11 AM   #3
Svip
Member
 
Registered: May 2005
Distribution: Slackware GNU/Linux 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by drkstr
You need to tell X11 to use your nvidia driver. As root, open up your /etc/X11/xorg.conf file and find the "Driver" section for your display device and replace whatever is there with "nvidia". If you do not get the nvidia splash screen when you start X, you will need to do 'modprobe nvidia'.


Let me know if you need any further assistance.

regards,
...drkstr
Thanks, but I am quite aware of that. When I set xorg.conf to the driver "nvidia", it starts up, but "crashes" as it cannot find the module (which the driver is pointed at), so I point it back to "vesa" which was what it originally came with.

So that is the not the exact case of my problem. Interestingly enough, I did have the nvidia driver working before I tried installing Xgl (which as well didn't work so well either :\).
 
Old 06-01-2006, 09:13 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,971
Blog Entries: 46

Rep: Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195
Quote:
Originally Posted by Svip
Thanks, but I am quite aware of that. When I set xorg.conf to the driver "nvidia", it starts up, but "crashes" as it cannot find the module (which the driver is pointed at), so I point it back to "vesa" which was what it originally came with.

So that is the not the exact case of my problem. Interestingly enough, I did have the nvidia driver working before I tried installing Xgl (which as well didn't work so well either :\).
Hi,

Then I would check and make sure your driver is not the problem.

Update the driver or you might have to roll back.
 
Old 06-01-2006, 09:24 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
You may find rebooting after installing nvidia driver will help. The module is actually loaded during boot up if you watch the messages fly by.
 
Old 06-01-2006, 11:34 AM   #6
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
But for some reason, the installation haven't created a /dev file for the main cd-rom drive. What's up with that?
do a "dmesg |grep CD" and identify your device, (or simply dmesg |more ) it iwll be listed like /dev/hdc /dev/hdd like that, then add it to fstab as "drkstr" pointed
Quote:
X still complains about the missing module "nvidia"
i think you havent installed the "nvidia modules". if so go this link http://www.nvidia.com/object/unix.html downlaod teh corresponding driver and run it ("sh NVIDIA-Linux-x86-1.0-8762-pkg1.run") you dont even need to edit the xorg.conf, then reboot
 
Old 06-01-2006, 06:54 PM   #7
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
Thanks, but I am quite aware of that. When I set xorg.conf to the driver "nvidia", it starts up, but "crashes" as it cannot find the module
Run 'lsmod' and see if the 'nvidia' module is loaded. If it isn't, then 'modprobe nvidia'. If it still tells you there is no module then something got botched on the driver install and you need to do it again.

regards,
...drkstr
 
Old 06-01-2006, 10:30 PM   #8
alienmagic
Member
 
Registered: Feb 2006
Distribution: Slackware 10.2, (2.6.16.16), FC 5
Posts: 109

Rep: Reputation: 15
On the CD drive issue.....

One of the PCs that I run Slack on has a cd writer and a dvd rom,just like you described. The Slack install mis-symbolic-linked (is that a new word?) the cd drive. Every time I would mount using either /dev/cdrom or /dev/dvd I found that the dvd drive was getting mounted either way. I did a long listing of /dev and saw that both /dev/cdrom and /dev/dvd were linked to /dev/hdc. I just corrected the link for the cd drive to point to /dev/hdd and all was well.

This may have nothing to do with your issue, but if you know the actual device, just manually create the symbolic link for cdrom since it didn't get created automatically like it should have.
 
Old 06-02-2006, 12:48 AM   #9
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Newer versions of HAL require that you comment out or remove any entries in tour fstab for removable media. It only complicates the mounting process. This is why you are having problems mounting your CDROM drive. You can keep symlinked device nodes in the fstab (e.g. /dev/cdrom ) and HAL will ignore these. It will only pay attention to the real physical nodes ( e.g. /dev/hdX ).

You should visit the dropline forums and search there or ask additional questions.
 
Old 06-04-2006, 10:20 AM   #10
Svip
Member
 
Registered: May 2005
Distribution: Slackware GNU/Linux 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
Thank you for all your replies.

CD issue:
I have tried what you have said. But /dev/hdc is referring to the DVD, while /dev/hdd is referring to... well, nothing I guess? This is what I get when I stat it:
Code:
$ stat /dev/hdd
  File: `/dev/hdd'
  Size: 0               Blocks: 0          IO Block: 4096   block special file
Device: 301h/769d       Inode: 327703      Links: 1     Device type: 16,40
Access: (0660/brw-rw----)  Uid: (    0/    root)   Gid: (    6/    disk)
Access: 2006-05-20 16:09:43.000000000 +0200
Modify: 2002-06-09 21:27:55.000000000 +0200
Change: 2006-05-20 16:09:44.000000000 +0200
I am somewhat lost for ideas. :\

nVidia module issue:
I ran lsmod, and found nvidia on the list, listed as "unused". I tried to remove it and insert it again, but when I insert it, I get the following warning:
Code:
# /sbin/modprobe nvidia
Warning: loading /lib/modules/2.4.31/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module nvidia loaded, with warnings
Even then, and when I get the .run file from nVidia to configure the xorg.conf file, X complains about the missing modules; "glx" and "nvidia". Despite "nvidia" actually being loaded. Strange...
 
Old 06-04-2006, 12:06 PM   #11
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Thumbs up allmost done

Quote:
But /dev/hdc is referring to the DVD, while /dev/hdd is referring to... well, nothing I guess? This is what I get when I stat it:
u can check the device simply by
Code:
#eject /dev/hdc or #eject /dev/hdd
and identify the devices correctly

let me assume that ur devices are "/dev/hdc" is dvd and "/dev/hdd" is cdrom

is ur cdrom a burner??if so that is a different issue, for the time being let us forgot about writing..!!

let us configure ur devices
1. create 2 directories if not exist,
Code:
mkdir /mnt/dvd ;mkdir /mnt/cdrom
2. remove the simlinks in dev and create new
Code:
ln -sf /dev/hdc /dev/dvd;ln -sf /dev/hdd /dev/cdrom
these 2 steps are for consistency

3. dvd drive, i hope it is almost configured, so that you have an entry in fstab like this.
Code:
/dev/hdc   /mnt/cdrom     auto  noauto,owner,ro  0   0
and i assume that this is not a writer!!

if u want u can change it like this
Code:
/dev/dvd   /mnt/dvd     auto  noauto,user,ro  0   0
4. cdrom and ur device is "/dev/hdd"
so do this first
Code:
/dev/cdrom   /mnt/cdrom     auto  noauto,user,ro  0   0
and you are done, if your cdrom is a writer?, mention that, if so i need the information about your, kernel, which kernel you are using ;0) best of luck
 
Old 06-04-2006, 12:14 PM   #12
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
when I get the .run file from nVidia to configure the xorg.conf file, X complains about the missing modules; "glx" and "nvidia".
specific to the bold line

jsut run the .run file, it will automatically make modules if you have the corresponding source for the kernel, it wil edit the xorg.conf file, there is a seperate section in nvidia support page about manually editing xorg.conf file.

is the nvidia module you uare using, is crated by the NVIDAxxx.run file???
please post ur kernel version too
 
Old 06-04-2006, 06:42 PM   #13
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
Warning: loading /lib/modules/2.4.31/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module nvidia loaded, with warnings
didn't you say you were using 2.6 kernel? Looks like you compiled the nvidia modules before you upgraded your kernel. YOu need to rebuild nvidia modules again any time you change kernels.

regards,
...drkstr
 
  


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
Partitioning main hard drive NikToo Linux - Hardware 5 01-20-2006 08:17 PM
main hard drive won't boot...read-only mode? mr_a_ali Linux - General 14 04-23-2005 08:03 AM
expand main partition to another hard drive? halo14 Red Hat 3 08-09-2004 05:54 PM
cd-rom drive working in knoppix Hard drive installation dj_dubbbz Linux - Newbie 5 03-02-2004 11:58 AM
Installed Linux on Main Drive, can't access 2000 taiter Linux - Newbie 4 12-30-2003 02:52 PM

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

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