View previous topic :: View next topic |
Author |
Message |
keopp Senior Member
Joined: 08 Nov 2008 Posts: 166 Location: Romania
|
Posted: Wed Aug 01, 2012 7:52 pm Post subject: switch to kernel-generic |
|
|
Hello,
By default, after a recent fresh install, I found that SMS boots with huge-smp kernel even if during installation procedure I've chosen the generic kernel. I tryed to switch manually to generic kernel so I properly edited the symlinks in /boot to point accordingly. I also run lilo, than reboot.
In return I got complaints(true) about files missig in /lib/modules/3.2.21. I remember about modules.dep but I can see there are some other extra files in /lib/modules/3.2.21-smp.
I can't find where am I mistaking.... |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Aug 01, 2012 8:07 pm Post subject: |
|
|
Did you run a "depmod -a" usually that runs at first boot from rc.modules.
What complains are you getting?
Can you give me details to reproduce, e.g. SMS-1.6.6 choose kernel generic?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
keopp Senior Member
Joined: 08 Nov 2008 Posts: 166 Location: Romania
|
Posted: Wed Aug 01, 2012 8:44 pm Post subject: |
|
|
I have also depmod -a in my rc.firewall. Unfortunately my goal at that time was to migrate from a machine to another so I didn't stay to much. I've put a mark on this issue and I'll try to reproduce, as soon as i get back the sparring machine. I cleary remember the complaint about missing modules.dep in the /lib/modules/3.2.21 after reboot. I then booted from SMS live, chrooted to the drive and changed back the huge-smp kernel(simliks + lilo).
Now when we're talking I can see as following:
Code: |
ls /lib/modules/3.2.21
build kernel modules.builtin modules.order source
ls /lib/modules/3.2.21-smp
build modules.alias modules.builtin modules.dep modules.devname modules.softdep modules.symbols.bin kernel modules.alias.bin modules.builtin.bin modules.dep.bin modules.order modules.symbols source
|
But I promise to come back soon with exact info. I just thought It's mabe an error in the kernel-generic package...
Don't waste your time just allow me 2-3 days and I'll present you the exact circumstances. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Aug 01, 2012 8:54 pm Post subject: |
|
|
It seems all it needs it's a "depmod -a 3.2.21", I have set in latest kernels
"chroot . /sbin/depmod -a" to install script, so it doesn't happen again...
Also in setup.uuid ran depmod for all kernels and create a initrd.gz.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
keopp Senior Member
Joined: 08 Nov 2008 Posts: 166 Location: Romania
|
Posted: Wed Aug 01, 2012 8:58 pm Post subject: |
|
|
Ok than. Any how I'll post here my tests just to be sure.
Cheers. |
|
Back to top |
|
keopp Senior Member
Joined: 08 Nov 2008 Posts: 166 Location: Romania
|
Posted: Wed Aug 08, 2012 12:09 pm Post subject: |
|
|
Hello back,
You was right.
After changing the symlinks, I did "depmode -a 3.2.21" and after a while /lib/modules/3.2.21 was (re)populated.
After reboot, everything run flawlessly.
Cheers. |
|
Back to top |
|
|