Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Installation Support

Post new topic   Reply to topic
switch to kernel-generic
View previous topic :: View next topic  
Author Message
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Wed Aug 01, 2012 7:52 pm    Post subject: switch to kernel-generic Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Wed Aug 01, 2012 8:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Wed Aug 01, 2012 8:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Wed Aug 01, 2012 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Wed Aug 01, 2012 8:58 pm    Post subject: Reply with quote

Ok than. Any how I'll post here my tests just to be sure.

Cheers.
Back to top
View user's profile Send private message
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Wed Aug 08, 2012 12:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Installation Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional