LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-29-2012, 01:12 PM   #1
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,918

Rep: Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035
mkinitrd warnings after kmod addition in current.


Code:
root@ws1:~# mkinitrd -c -u -k 3.4.4-custom -m ext:ehci-hcd:uhci-hcd:usbhid -f ext4 -r /dev/rootvg/lvroot -l uk -L -C /dev/sda5 -o /boot/initrd-new.gz
WARNING: could not open /boot/initrd-tree/lib/modules/3.4.4-custom/modules.order: No such file or directory
WARNING: could not open /boot/initrd-tree/lib/modules/3.4.4-custom/modules.builtin: No such file or directory
24820 blocks
/boot/initrd-new.gz created.
Be sure to run lilo again if you use it.
root@ws1:~# ls -l /boot/initrd-tree/lib/modules/3.4.4-custom
total 28
-rw-r--r-- 1 root root  45 Jun 29 18:59 modules.alias
-rw-r--r-- 1 root root  12 Jun 29 18:59 modules.alias.bin
-rw-r--r-- 1 root root   0 Jun 29 18:59 modules.builtin.bin
-rw-r--r-- 1 root root   0 Jun 29 18:59 modules.dep
-rw-r--r-- 1 root root  12 Jun 29 18:59 modules.dep.bin
-rw-r--r-- 1 root root  52 Jun 29 18:59 modules.devname
-rw-r--r-- 1 root root 131 Jun 29 18:59 modules.softdep
-rw-r--r-- 1 root root  49 Jun 29 18:59 modules.symbols
-rw-r--r-- 1 root root  12 Jun 29 18:59 modules.symbols.bin
I haven't tried booting from this new initrd yet, so I don't know whether this is fatal or not, but I was wondering whether the kmod update is going to require changes to mkinitrd and possibly the mod tools that are in the initrd's busybox?

UPDATE 2: I was incorrect. It doesn't prevent booting after all, as I made a typo in the mkinitrd. Sorry all.

Last edited by GazL; 06-30-2012 at 04:52 AM.
 
Old 06-29-2012, 01:39 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,548

Rep: Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557
Thanks, I have an updated version of mkinitrd from rworkman that should take care of that issue, but it's also going to depend on some other changes elsewhere. Meanwhile, be careful and enjoy -current.
 
3 members found this post helpful.
Old 06-30-2012, 04:04 AM   #3
s1aw0
LQ Newbie
 
Registered: Jun 2012
Posts: 19

Rep: Reputation: Disabled
Yesterday, I compiled two custom kernels for the -current branch: one 3.2.21, another one 3.4.4. In both cases, mkinitrd issued the same warnings but this didn't prevent the kernels from booting.
 
1 members found this post helpful.
Old 06-30-2012, 04:50 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,918

Original Poster
Rep: Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035


No one gets any points for spotting my typo including me. (hint: s/ext/ext4/ )
False alarm! It will boot after all.

s1aw0, thanks for prompting me to take a second-look, and apologies to Pat and the team.
I'll go and sheepishly remove the scary topic title now.

Last edited by GazL; 06-30-2012 at 04:53 AM.
 
  


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
[SOLVED] mkinitrd library load failure, '-s', 13.37 / current / RC3 lazardo Slackware 4 03-24-2011 03:42 PM
script error in mkinitrd with -current bonaire Slackware 7 05-09-2010 06:23 AM
Slackware-current and mkinitrd-1.3.2 prontxo Slackware 4 04-11-2008 11:18 AM
Slackware-current and mkinitrd-1.3.1 prontxo Slackware 8 03-30-2008 06:43 AM
2.6.22 kernel warnings cause mkinitrd to fail jhwilliams Linux - General 1 09-11-2007 05:09 PM

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

All times are GMT -5. The time now is 05:56 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