View previous topic :: View next topic |
Author |
Message |
bonedaddyhimself Tux's lil' helper
Joined: 24 Jan 2004 Posts: 101
|
Posted: Sun Mar 21, 2004 2:55 am Post subject: I've got a serious problem! |
|
|
My /lib/modules only has a 2.4.22 directory. I upgraded recently from 2.4.22 to 2.6.1. Then I moved to 2.6.4-rc1. Everything to seems to work ok but Alsa stopped working. So I lsmod and nothing shows up but alsa loads. I compiled Alsa and my sblive into my kernel. I re-compiled with Alsa as a module and still not luck.
What really worries me is that when I try to modprobe my sound card, I get an error stating that 'FATAL: Could not load /lib/modules/2.6.1/modules.dep: No such file or directory' I'm now using 2.6.4-rc1.
Have I royaly screwed myself? All of my errors are below:
root@dune bonedaddy # modules-update Warning: could not generate etc/modprobe.conf!
root@dune bonedaddy # lsmod
Module Size Used by
Cheers,
bd |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Mar 21, 2004 3:06 am Post subject: Re: I've got a serious problem! |
|
|
bonedaddyhimself wrote: | I'm now using 2.6.4-rc1. |
Probably not.
Check the output of "uname -a" |
|
Back to top |
|
|
merclude Tux's lil' helper
Joined: 29 Jan 2004 Posts: 85 Location: Michigan
|
Posted: Sun Mar 21, 2004 8:48 am Post subject: |
|
|
did you do a "make modules_install" when you compiled the kernel ? this sounds like a problem i had once when i forgot to do so. _________________ -merc
my site: http://escalated.net |
|
Back to top |
|
|
bonedaddyhimself Tux's lil' helper
Joined: 24 Jan 2004 Posts: 101
|
Posted: Sun Mar 21, 2004 3:19 pm Post subject: |
|
|
Well, both of you were right.
uname -a tells me that I'm running 2.6.1 yet only 2.6.4-rc1 is in my boot config and grub is pointing to 2.6.4-rc1.
What can I do to correct this?
I had previously used make install so it would place all of the files into boot for me.
I ran make modules_install and I now have a /lib/modules/2.6.4-rc1
What should I do? I'm still having the same problem. Apparently something is not linked correctly because:
root@dune modules # modprobe snd-card-0 snd-emu10k1
FATAL: Could not load /lib/modules/2.6.1/modules.dep: No such file or directory |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Mar 21, 2004 3:36 pm Post subject: |
|
|
Did you "mount /boot" before running "make install" and editing /boot/grub/grub.conf ? |
|
Back to top |
|
|
bonedaddyhimself Tux's lil' helper
Joined: 24 Jan 2004 Posts: 101
|
Posted: Sun Mar 21, 2004 8:26 pm Post subject: |
|
|
cyrillic,
Once again you were correct. Using make install and not mounting /boot screwed everything up.
All is well now and finally everything is working! Sound, atapi cd/dvd burning with k3b.
root@dune bonedaddy # uname -a
Linux dune 2.6.4-rc1 #3 Sat Mar 20 21:16:21 EST 2004 i686 AMD Athlon(TM) XP 1600+ AuthenticAMD GNU/Linux
Cheers!
bd |
|
Back to top |
|
|
2gen Tux's lil' helper
Joined: 09 Feb 2004 Posts: 89
|
Posted: Mon Mar 22, 2004 4:50 am Post subject: |
|
|
will i not faced this kind of problem if i have boot created under root rather than by it's own partition as per the install manual? |
|
Back to top |
|
|
bonedaddyhimself Tux's lil' helper
Joined: 24 Jan 2004 Posts: 101
|
Posted: Mon Mar 22, 2004 1:23 pm Post subject: |
|
|
If you follow the Gentoo install instructions you should be fine. I read on a post here somewhere that you could simply do a 'make install' and all files would be copied to /boot with the appropriate file names given to the kernel and system.map. Problem was that I didn't mount /boot first with this command, nor did it create the modules directory in /lib/modules. That kept my sound from working and also led me to believe that I was using kernel 2.6.4-rc1 when I wasn't
If you're like me and still a n00b, stick to the manual. I didn't and got burned for it.
bd |
|
Back to top |
|
|
|