LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-01-2009, 12:53 AM   #1
aBiNg
LQ Newbie
 
Registered: Mar 2008
Location: Nanjing, China
Distribution: Debian Wheezy
Posts: 5

Rep: Reputation: 0
no kernel modules found for 2.6.29.6-smp


OK, i'v been installed slackware 13.0, and boot from kernel-huge-smp without any problems. As you know, kernel-generic-smp is better for daily use. So i installed 'kernel-generic-smp' and 'kernel-modules-smp', then run the command 'mkinitrd -c -k 2.6.29.6 -f ext4'(ext4 for / partition), at last edited /etc/lilo.conf as /boot/README.initrd say and run 'lilo -v', nothing wrong occured. But after rebooting, tty said 'no kernel modules found for 2.6.29.6-smp ...' and 'sh:' recovery command line prompt.

Is there anything different between ext4 and ext3 when mkinitrd-ing? Or what steps i missed in the process?

Any help will be appreciated.

BTW, tty becomes darkgray after exiting X. This problem not only exists under slackware 13.0. I am also seeking for suggestions.:-)
 
Old 09-01-2009, 02:45 AM   #2
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 736

Rep: Reputation: 37
Quote:
Originally Posted by aBiNg View Post
OK, i'v been installed slackware 13.0, and boot from kernel-huge-smp without any problems. As you know, kernel-generic-smp is better for daily use. So i installed 'kernel-generic-smp' and 'kernel-modules-smp', then run the command 'mkinitrd -c -k 2.6.29.6 -f ext4'(ext4 for / partition), at last edited /etc/lilo.conf as /boot/README.initrd say and run 'lilo -v', nothing wrong occured. But after rebooting, tty said 'no kernel modules found for 2.6.29.6-smp ...' and 'sh:' recovery command line prompt.

Is there anything different between ext4 and ext3 when mkinitrd-ing? Or what steps i missed in the process?

Any help will be appreciated.

BTW, tty becomes darkgray after exiting X. This problem not only exists under slackware 13.0. I am also seeking for suggestions.:-)
I think the kernel name in the above command should be 2.6.29.6-smp instead of just 2.6.29.6,i.e.
Code:
mkinitrd -c -k 2.6.29.6-smp -f ext4
You could also try the mkinitrd command generator script mentioned in the Changes and Hints to get the appropriate initrd command for your system.
 
Old 09-01-2009, 03:18 AM   #3
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 719
Blog Entries: 3

Rep: Reputation: 76
Hello,

Please read the README.initrd for how to create the initrd.gz image.

The correct syntax would be:

Code:
mkinitrd -c -k 2.6.29.6-smp -m ext4 -f ext4 -r /dev/hda1
Please replace /dev/hda1 with the partition where your root "/" directory is located.
 
Old 09-01-2009, 04:24 AM   #4
aBiNg
LQ Newbie
 
Registered: Mar 2008
Location: Nanjing, China
Distribution: Debian Wheezy
Posts: 5

Original Poster
Rep: Reputation: 0
Solved. Thank you, guys!
Sorry for my carelessness. The '-m' option(what i missed) is very important, at least for ext4.

The darkgray tty problem may be triggered from xorg 1.5 to xorg 1.6 or vise versa. Any ideas?
 
Old 12-19-2011, 10:36 AM   #5
atreios48
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
atreios48

[mod_edit]Foreign language content removed, please re-post in English[/mod_edit]

Last edited by unSpawn; 12-19-2011 at 05:36 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fatal error attempting to install /var/log/mount/slackware/a/kernel-modules-smp-2.6.2 v@ny@ Slackware - Installation 10 05-19-2010 01:40 AM
Non-SMP kernel modules for SMP kernel: Best practice? gargamel Slackware 9 12-29-2008 01:13 PM
No kernel modules found for Linux 2.6.27.7-smp. w1k0 Slackware 11 12-23-2008 02:24 PM
Slamd64. No kernel modules found arubin Slackware 1 03-06-2008 03:09 PM
No kernel modules found davidsrsb Slackware 3 05-17-2006 05:55 AM


All times are GMT -5. The time now is 12:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration