Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-01-2006, 03:05 AM
|
#1
|
Member
Registered: May 2005
Distribution: Slackware GNU/Linux 10.2
Posts: 31
Rep:
|
:< 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.
|
|
|
06-01-2006, 03:29 AM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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.
|
|
|
06-01-2006, 04:11 AM
|
#3
|
Member
Registered: May 2005
Distribution: Slackware GNU/Linux 10.2
Posts: 31
Original Poster
Rep:
|
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 :\).
|
|
|
06-01-2006, 09:13 AM
|
#4
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,971
|
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.
|
|
|
06-01-2006, 09:24 AM
|
#5
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
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.
|
|
|
06-01-2006, 11:34 AM
|
#6
|
Member
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654
Rep:
|
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
|
|
|
06-01-2006, 06:54 PM
|
#7
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
06-01-2006, 10:30 PM
|
#8
|
Member
Registered: Feb 2006
Distribution: Slackware 10.2, (2.6.16.16), FC 5
Posts: 109
Rep:
|
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.
|
|
|
06-02-2006, 12:48 AM
|
#9
|
Member
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378
Rep:
|
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.
|
|
|
06-04-2006, 10:20 AM
|
#10
|
Member
Registered: May 2005
Distribution: Slackware GNU/Linux 10.2
Posts: 31
Original Poster
Rep:
|
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...
|
|
|
06-04-2006, 12:06 PM
|
#11
|
Member
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654
Rep:
|
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
|
|
|
06-04-2006, 12:14 PM
|
#12
|
Member
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654
Rep:
|
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 
|
|
|
06-04-2006, 06:42 PM
|
#13
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|