LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-07-2006, 05:27 PM   #1
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
FATAL modules not found


I have just finished compiling a 2.6.8 kernel but on boot-up I get the following messages:

FATAL Module ide_cd not found

FATAL Module ide_detect not found

FATAL Module ide_disk not found

Module psmouse not found

The system then continues booting.

I used my existing 2.4 kernel config as a guide to this compile. I have compiled in scsi support for my ide drives and my mouse is USB.

I would be grateful if anyone could shed some light on these error messages?
 
Old 08-07-2006, 05:36 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Does the install work or crash?

I would venture a guess that a config file/boot script is looking for those things as modules. If the boot fails, you probably forgot to compile them as modules. If the boot succeeds, you probably compiled them in as "Y", but some script is looking for it.

What I would personally do is to aptitude install kernel-image-2.6.8-3-686 (or whatever architecture kernel you need). This will give you a stock 2.6.8 kernel from the debian repositories that will hopefully work without any errors. Then if you want to recompile it after that, copy the config-2.6.8-3-686 file from /boot to /usr/src/linux/.config and then rebuild your kernel from that.
 
Old 08-07-2006, 05:48 PM   #3
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
The install doesn't crash in so far as I am posting this reply from it now although I have no sound and haven't tried the DVDrom yet. I think you are right in that I have compiled some things in as "Y" that should have been modules. I like your suggestion about the stock kernel. As it's late here now I will give that a whirl tomorrow.

Thanks

Mikie
 
Old 08-07-2006, 06:25 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
You have no need to use the ide-scsi for cdrom drives anymore access and burning work fine using just a plain ide device with a 2.6 kernel. Make sure you have the alsa-base, alsa-utils and alsa-oss packages installed for the sound those are all that are needed besides the included in kernel module for your sound card that is assuming you enabled it during compile. BTW you should consider consider a newer kernel than 2.6.8 that is rather dated with security problems with it you can try www.backports.org to get IIRC a 2.6.16 kernel built for sarge you may also want some of the other newer packages that are included there.
 
Old 08-08-2006, 08:06 AM   #5
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
Thanks, I didn't install alsa-oss which might explain the lack of sound. I still have a couple of questions though.

Originally posted by HappyTux:
Quote:
You have no need to use the ide-scsi for cdrom drives anymore access and burning work fine using just a plain ide device with a 2.6 kernel
.

Just to get this clear in my head, I have said "Y" to scsi support and have hdc=ide-scsi as a boot option in Grub. Are you saying that I don't need either of these for my DVD-RW to work?

When I did my compile I did "aptitude install kernel-source-2.6.8" then did cd into /usr/src, created the symlink and used make menuconfig and kpkg etc. If I use "aptitude install kernel-image-2.6.xx-x-686" what happens after that? I haven't upgraded my kernel that way before.
 
Old 08-08-2006, 10:04 AM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Quote:
Originally Posted by mikieboy
Are you saying that I don't need either of these for my DVD-RW to work?
Correct. 2.6 kernels don't use scsi emulation for CD/DVD drives anymore. I bet that those grub options are what is causing you to get the module errors since 2.6 kernels don't use those modules for that purpose anymore.
Quote:
Originally Posted by mikieboy
If I use "aptitude install kernel-image-2.6.xx-x-686" what happens after that?
It basically does the dpkg -i kernel-image-blahblah that you do after you use make-kpkg. So it will install the kernel and update grub.
 
Old 08-09-2006, 05:13 AM   #7
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
I had another stab at this yesterday evening.
Firstly I installed alsa-oss and removed the hdc=ide-scsi from my kernel boot line in Grub.
When I rebooted into the 2.6.8 kernel I still got the "Fatal" messages as above but this time as KDE started I had sound. Unfortunately the sound was that of breaking glass accompanying an error message saying that "/dev/cdrom could not be accessed, check that you have permission and that there is a CD in the drive". I checked permissions and restarted X with a cd in the drive but got the same message which, I thought, has to be related to those boot errors. Still, at least I had sound.
Secondly, rather than recompile I decided to take the advice of installing a stock kernel and since I didn't want to complicate things further with a backport I did "aptitude install kernel-image-2.6.8-3-K7". This kernel booted first time without any obvious errors (I haven't studied dmesg) and sound still worked but again the broken glass etc.
As this couldn't have anything to do with the boot errors I suddenly remembered that for scsi emulation I had changed /dev/cdrom to /dev/sr0 in /etc/fstab and symlinked it to /dev/scd0.
It was getting late, but I think I now have to figure out how to put my /etc/fstab right without breaking my system.

Sorry about the length of this post.
 
Old 08-09-2006, 08:25 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Change the /etc/fstab from /dev/sr0 to /dev/hdc, hdd, hdb depending on where on the ide bus the drive is, using dmesg | grep hd should show it in the output.
 
Old 08-09-2006, 04:57 PM   #9
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
I'm trying to think of a way of doing this that won't stop my DVD-RW working with my 2.4 kernel so I can always go back to that if things go wrong. Instead of changing /dev/sr0 to /dev/hdc can I add a new line in /etc/fstab for /dev/hdc and how would I do that without confusing /etc/fstab?
 
Old 08-09-2006, 05:12 PM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by mikieboy
I'm trying to think of a way of doing this that won't stop my DVD-RW working with my 2.4 kernel so I can always go back to that if things go wrong. Instead of changing /dev/sr0 to /dev/hdc can I add a new line in /etc/fstab for /dev/hdc and how would I do that without confusing /etc/fstab?
Put a # at the front of the /dev/sr0 line then when you reboot to 2.4 remove it and put the same # in fornt of the /dev/hdc.
 
  


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
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 05:09 PM
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 06:44 PM
/lib/modules/2.6.8/modules.dep not found killer_bunny Debian 1 10-17-2004 10:06 PM
Modules not found fatal error with alsa jimdaworm Slackware 7 02-18-2004 03:31 PM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 05:40 AM

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

All times are GMT -5. The time now is 06:30 PM.

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