LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2002, 02:44 PM   #1
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
cdrom mount freezes


From when i reinstalled everything on my computer almost everytime when i try to mount a cdrom (mount /dev/hdc /cdrom) the system freezes and i have to restart it manually cuz keyboard doesnt respond anymore to any key combination.
This happens with all kernels im using (2.4.5. , 2.2.19 and 2.4.17) and its really annoying since i NEED to mount the cd to install software...
What can be causing this, or how can i solve it?
Any ideas?

Thanks in advance

-Nskl
 
Old 03-10-2002, 02:52 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
could be hardware causing this to freeze up.. have you tried a different cdrom to test with ?? that is what i would try if it is happening on any kernel, distro..etc you have used ..

-trickykid
 
Old 03-11-2002, 09:36 AM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 47
no, it used to work fine with slack before, its just from when i reinstalled everything that this happens. I am wondering could it be due to an error in /etc/fstab. The last two entries in /etc/fstab are two numbers that i do not know what they do. I just set them to 0 0 so that might be the problem. Here is my /etc/fstab and if someone can please post theirs so i can see if i set up mine correctly.
Thanks

/etc/fstab

/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 / ext2 defaults 1 1
/dev/hdb3 /home ext2 defaults 1 1
/dev/hdb4 /usr ext2 defaults 1 1
/dev/hda1 /win vfat defaults 1 0
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
/dev/cdrom /cdrom iso9660 ro,user 0 0
/dev/fd0 /floppy auto defaults,user 0 0
/dev/sda1 /zip auto defaults,user 0 0
 
Old 03-11-2002, 10:08 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
those two 0's at the end are fine... according to you fstab, you have your /dev/hdc linked to /dev/cdrom

have you tried mounting using mount /dev/cdrom /cdrom?

-trickykid
 
Old 03-11-2002, 03:10 PM   #5
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 47
Yeah i tried mounting in every possible way it always freezes and i have to reboot holding the power button cuz the keyboard is tottaly not responding.
So if its not /etc/fstab and it's not a hardware problem for sure cuz i can mount just fine with one (of two) 2.4.5 kernels and with 2.2.19 it's the other 2.4.5 and the new 2.4.17 kernels that have this problem. This leads me to think it has to be a problem in Kernel configuration. Is it possible that the kernel automounter somehow causes this to happen, or maybe it somehow sliped me to include ISO9660 support, but even then the kernel shouldnt freeze!!
I'll try recompiling again and hopefully it'll work, but it is very strange indeed since i can perfectly mount any other device (zip, HD, etc) it's just cd rom that has this problem...
Anywayz thanks for help!!

-NSKL
 
Old 03-11-2002, 10:07 PM   #6
jdctx
Member
 
Registered: Feb 2002
Posts: 71

Rep: Reputation: 15
For a while I had such an issue with my cdrom. This occured between Mandrake 7.0-7.2 perhaps some of the same kernels you've used. What was happening is I was getting interrupt errors. You could see this in you log. Before going any further I noticed in you fstab

/dev/cdrom /cdrom iso9660 ro,user 0 0

if you cdrom is attached to the second ide and not slaved shouldn't it read

/dev/hdc /cdrom iso9660 ro,user 0 0

to be certain you could do a hdparm /dev/hdc as root and see what it says.

If all this seems right and the cdrom is hooked up correctly and such. I would suggest looking at the kernel. Your cdrom may have extra support needed. Most kernels include this but load it as module. I would maybe recompile and add the support needed for you cdrom straight into kernel.
 
Old 03-13-2002, 11:54 AM   #7
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 47
DAMN! I re-compiled 2.4.17, i downloaded and compiled 2.4.18 and it freezes as well. Everyting freezes, console, X and the keyboard, only way is to reboot with the power button...
The only Kernel that mounts the cds normally witout problems is 2.4.5 and i cant figure out why?!?!
Please if someone has a clue what might be casing this let me know cuz its really driving me crazy now.

Thanks

-nskl
 
Old 03-13-2002, 12:05 PM   #8
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 47
Posted ^ that twice by mistake...

Last edited by NSKL; 03-14-2002 at 05:16 AM.
 
Old 03-13-2002, 10:46 PM   #9
jdctx
Member
 
Registered: Feb 2002
Posts: 71

Rep: Reputation: 15
Someone would have to help me on this but I believe there's a way to use the same kernel configuration for 2.4.5 and apply the same settings to 2.4.17 or any other kernel. Since is worked with 2.4.5 maybe with the same settings it will work with 2.4.17


During recompile you'll probably have to do a make dep make modules and make modules_install again.
 
Old 03-14-2002, 05:15 AM   #10
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 47
Yeah when i recompile i do: make mrproper, make clean, make menuconfig, make dep, make bzImage, make modules, make modules_install...
Im wondering if i make oldconfig in /usr/src/linux-2.4.5 and then copy the .config file to /usr/src/linux-2.4.17 and make menuconfig use that .config file will that work?
Basically can i use .config from 2.4.5 and load it into .2.4.17 or is the format of the file different?
Thanks for help
-nskl
 
Old 05-15-2002, 10:28 AM   #11
Eraser02
LQ Newbie
 
Registered: May 2002
Distribution: Red Hat 7.2
Posts: 5

Rep: Reputation: 0
Arrow

I've been having the same problem with Redhat 7.2 but I did find in another post here someone (and I wish I remember who it was so they got the credit for this link) found a link to a place with a reference to turn off DMA in at least Redhat, it may not cover Slackware, but here it is you may want to give it a try.

http://www.exocore.com/technologies/linux/rhl71dma/





Eraser
 
Old 05-15-2002, 03:52 PM   #12
Sfin
Member
 
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
to use the old .config file, copy it over to the linux direcory, and type in:

make oldconfig

that will use the old config file settings.
 
  


Reply



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
CDROM refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 10:43 PM
Can't mount cdrom ust Linux - General 12 08-07-2004 12:09 AM
CDROM won't mount... RedHatMasta Linux - Software 0 02-06-2004 05:33 PM
cdrom freezes linux thelight1 Linux - Hardware 9 05-11-2003 09:12 AM
REdHat 7.2 freezes with cdrom U. Elias Linux - General 1 01-17-2002 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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