Linux - SoftwareThis 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
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.
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.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
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?
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 ..
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
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
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
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!!
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.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
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.
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.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.