LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-01-2005, 12:37 AM   #1
valjoux
LQ Newbie
 
Registered: Sep 2005
Distribution: slackware 10.2
Posts: 7

Rep: Reputation: 0
unable to Mount cdrom in slack 10.2


unable to mount the same cdrom drive that i installed from after upgrading to kernel 2.6.13.2
getting segmentation fault error

: unable to handle Kernel NULL Pointer dereference at virtual address 00000000 "

i have this line in my fstab for the cdrom

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

somebody please help with this one, i've tried everything i can think of
thanks,
josh
 
Old 10-01-2005, 03:57 AM   #2
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
Welcome to LQ.

Quote:
unable to mount the same cdrom drive that i installed from after upgrading to kernel 2.6.13.2
How did you upgrade to the new kernel?

Quote:
getting segmentation fault error
: unable to handle Kernel NULL Pointer dereference at virtual address 00000000 "
When do you get this error?

You need to mount your cd-rom as root under Slackware unless you do some modifications. You will find the Sticky posts under Slackware forum helpful for you.

Here is a quote related to fstab from the sticky post:
Quote:
I Call This Section fstab
12) Edit /etc/fstab. Slackware did a pretty good job of setting things up for me. It missed my cd-rw, but as you can see in my /etc/fstab, it's really easy to add it in.

/dev/hda3 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 /fat-c vfat auto,rw,umask=000 1 0
/dev/cd-rw /mnt/cd-rw iso9660 noauto,user,ro 0 0
/dev/dvd-rom /mnt/dvd-rom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0

You'll notice that for my Windows partition, I've added umask=000. This makes it so that my regular users can use the partition. Also notice that my cd-rw is read only. You don't mount it to burn Cd's, so you don't need write permission in order to use it. I also added the sysfs entry. Something you have to do if you're going to be using the 2.6.xx kernel. I like the 2.6.xx kernel because I no longer need to enable SCSI emulation in order to use my cd-rw. I believe thats all the modifications I had to make to the /etc/fstab file. I also had to create /mnt/cd-rw, /mnt/dvd-rom, /dev/cd-rw, and /dev/dvd-rom. The devices I created are links to /dev/hdc and /dev/hdd . To give you an example of how I did this, you can use a command like "ln -s /dev/hdc /dev/hdd ". While we are working on the optical drives, nows a good time to make sure that /dev/dvd and /dev/cdrom point where you want them to. Also, check to see that users have permission to use all of those devices. Will save you a lot of headaches when you are trying to figure out why you can't listen to Cd's and DVD's.

Last edited by Basel; 10-01-2005 at 04:01 AM.
 
Old 10-04-2005, 07:04 PM   #3
valjoux
LQ Newbie
 
Registered: Sep 2005
Distribution: slackware 10.2
Posts: 7

Original Poster
Rep: Reputation: 0
tried to add the sys mount to fstab, said it was already mounted, changed fstab accordingly... still getting the same problem when trying to mount as either a user or as root - segmentation fault

anybody have any more ideas ?
thanks,
josh
 
  


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
Unable mount CDROM unit. seraph-seph Slackware 5 07-10-2005 07:15 PM
cdrom unable to mount 1/2way thru install tibs4eva Linux - Newbie 7 09-29-2004 04:20 PM
unable to mount cdrom adhara Linux - Hardware 3 12-16-2003 08:32 AM
unable to mount cdrom KalMyster Linux - Newbie 0 09-04-2003 03:46 PM
Unable to mount cdrom jreed Linux - General 11 08-28-2002 02:52 PM


All times are GMT -5. The time now is 05:11 AM.

Main Menu
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