LinuxQuestions.org
Help answer threads with 0 replies.
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 04-22-2010, 09:32 AM   #16
DonaldUK
Member
 
Registered: Apr 2004
Posts: 106

Original Poster
Rep: Reputation: 15

Richard,

OK, I tried redoing mkinitrd using 2.6.33.2-smp. No success, same errors.

Don
 
Old 04-22-2010, 09:38 AM   #17
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,286

Rep: Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648
Did your initrd-tree change? Does "ls -l /boot/initrd-tree/lib/modules" report a different directory than it did before?
 
Old 04-22-2010, 09:48 AM   #18
DonaldUK
Member
 
Registered: Apr 2004
Posts: 106

Original Poster
Rep: Reputation: 15
Richard,

Yes - 2.6.33.2-smp

Don
 
Old 04-22-2010, 10:17 AM   #19
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,286

Rep: Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648
What does
Code:
zcat /boot/initrd.gz | cpio --list
give you?
 
Old 04-22-2010, 01:31 PM   #20
DonaldUK
Member
 
Registered: Apr 2004
Posts: 106

Original Poster
Rep: Reputation: 15
I get

zcat /boot/initrd.gz | cpio --list
.
sbin
sbin/readprofile
sbin/halt
sbin/klogd
sbin/slattach
sbin/ifdown
sbin/flash_unlock
sbin/swapon
sbin/mdev
sbin/init
sbin/loadkmap
sbin/brctl
sbin/pivot_root
sbin/arp
sbin/setconsole
sbin/chroot
sbin/raidautorun
sbin/depmod
sbin/crond
sbin/switch_root
sbin/flash_eraseall
sbin/hdparm
sbin/setlogcons
sbin/acpid
sbin/ftpd
sbin/ifup
sbin/fbset
sbin/insmod
sbin/mkfs.vfat
sbin/reboot
sbin/start-stop-daemon
sbin/route
sbin/dnsd
sbin/fakeidentd
sbin/fbsplash
sbin/runlevel
sbin/svlogd
sbin/swapoff
sbin/lsmod
sbin/poweroff
sbin/setfont
sbin/mkdosfs
sbin/flash_lock
sbin/vconfig
sbin/loadfont
sbin/freeramdisk
sbin/telnetd
sbin/logread
sbin/mkfs.minix
sbin/findfs
sbin/nameif
sbin/inotifyd
sbin/ifenslave
sbin/chpasswd
sbin/ifconfig
sbin/modprobe
sbin/tunctl
sbin/mkswap
sbin/rmmod
sbin/rdate
sbin/fdisk
sbin/fsck.minix
sbin/watchdog
sbin/sysctl
sbin/blkid
sbin/adjtimex
sbin/syslogd
sbin/rdev
sbin/makedevs
sbin/popmaildir
sbin/getty
sbin/zcip
sbin/sulogin
sbin/losetup
sbin/devmem
sbin/hwclock
sbin/fsck
proc
initrd-name
lukskey
init
bin
bin/time
bin/sv
bin/cryptpw
bin/kbd_mode
bin/chattr
bin/cat
bin/renice
bin/ftpput
bin/hostname
bin/pwd
bin/vlock
bin/cp
bin/dumpkmap
bin/resize
bin/fdflush
bin/ifplugd
bin/false
bin/cpio
bin/telnet
bin/fgrep
bin/id
bin/basename
bin/vi
bin/dnsdomainname
bin/printf
bin/grep
bin/watch
bin/rm
bin/iprule
bin/tar
bin/less
bin/busybox
bin/readahead
bin/ps
bin/beep
bin/zcat
bin/env
bin/tty
bin/awk
bin/ipcalc
bin/lpr
bin/rpm2cpio
bin/lsattr
bin/ip
bin/cmp
bin/sha512sum
bin/wget
bin/dd
bin/eject
bin/rtcwake
bin/mkfifo
bin/free
bin/wc
bin/ttysize
bin/mktemp
bin/mv
bin/runsv
bin/ftpget
bin/killall
bin/reset
bin/getopt
bin/rx
bin/chrt
bin/ipaddr
bin/more
bin/pkill
bin/gunzip
bin/pidof
bin/logger
bin/ar
bin/gzip
bin/true
bin/od
bin/top
bin/passwd
bin/tac
bin/strings
bin/addgroup
bin/whoami
bin/last
bin/bzcat
bin/pipe_progress
bin/unexpand
bin/dirname
bin/ash
bin/dc
bin/ping
bin/setuidgid
bin/login
bin/chgrp
bin/fsync
bin/hd
bin/tcpsvd
bin/hexdump
bin/seq
bin/ping6
bin/comm
bin/unzip
bin/sort
bin/usleep
bin/lzop
bin/envdir
bin/runsvdir
bin/ipcs
bin/[
bin/fold
bin/ionice
bin/sh
bin/udpsvd
bin/chown
bin/nohup
bin/expr
bin/envuidgid
bin/linux64
bin/readlink
bin/nc
bin/lzmacat
bin/nmeter
bin/sync
bin/which
bin/who
bin/pgrep
bin/setarch
bin/uname
bin/umount
bin/chmod
bin/taskset
bin/mesg
bin/tail
bin/expand
bin/test
bin/uniq
bin/patch
bin/run-parts
bin/uptime
bin/unlzop
bin/uncompress
bin/uuencode
bin/netstat
bin/clear
bin/install
bin/softlimit
bin/ln
bin/diff
bin/bzip2
bin/pscan
bin/setkeycodes
bin/sha256sum
bin/traceroute
bin/date
bin/touch
bin/timeout
bin/length
bin/iproute
bin/md5sum
bin/cttyhack
bin/script
bin/openvt
bin/sha1sum
bin/nice
bin/unix2dos
bin/nslookup
bin/uudecode
bin/tr
bin/mount
bin/deallocvt
bin/volname
bin/reformime
bin/[[
bin/bunzip2
bin/fdformat
bin/lzopcat
bin/chvt
bin/egrep
bin/catv
bin/killall5
bin/printenv
bin/logname
bin/kill
bin/head
bin/setsid
bin/find
bin/chpst
bin/crontab
bin/sed
bin/du
bin/xargs
bin/scriptreplay
bin/ipcrm
bin/df
bin/chat
bin/cal
bin/cut
bin/adduser
bin/dmesg
bin/arping
bin/su
bin/mknod
bin/delgroup
bin/sleep
bin/tftp
bin/stty
bin/iplink
bin/deluser
bin/mountpoint
bin/stat
bin/hostid
bin/tee
bin/mkpasswd
bin/unlzma
bin/ether-wake
bin/ed
bin/bbconfig
bin/sum
bin/dos2unix
bin/ls
bin/split
bin/yes
bin/echo
bin/mt
bin/fuser
bin/rmdir
bin/mkdir
bin/linux32
bin/showkey
bin/iptunnel
bin/cksum
bin/realpath
bin/makemime
load_kernel_modules
wait-for-root
sys
luksdev
rootdev
mnt
keymap
rootfs
resumedev
root
dev
dev/tty3
dev/tty1
dev/ram
dev/null
dev/systty
dev/tty2
dev/tty4
dev/console
lib
lib/libc-2.11.1.so
lib/ld-linux.so.2
lib/libnsl.so.1
lib/libnss_compat-2.11.1.so
lib/libc.so.6
lib/libm-2.11.1.so
lib/libm.so.6
lib/ld-2.11.1.so
lib/ld-2.9.so
lib/libnss_compat.so.2
lib/libnsl-2.11.1.so
lib/libnss_files-2.9.so
lib/libnss_files.so.2
lib/libnss_files-2.11.1.so
lib/modules
lib/modules/2.6.33.2-smp
lib/modules/2.6.33.2-smp/kernel
lib/modules/2.6.33.2-smp/kernel/fs
lib/modules/2.6.33.2-smp/kernel/fs/mbcache.ko
lib/modules/2.6.33.2-smp/kernel/fs/ext3
lib/modules/2.6.33.2-smp/kernel/fs/ext3/ext3.ko
lib/modules/2.6.33.2-smp/kernel/fs/jbd
lib/modules/2.6.33.2-smp/kernel/fs/jbd/jbd.ko
lib/libnss_compat-2.9.so
etc
etc/nsswitch.conf
etc/passwd
etc/group
etc/udev
etc/udev/udev.conf
etc/udev/rules.d
6596 blocks
 
Old 04-22-2010, 01:59 PM   #21
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,286

Rep: Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648
Well, the message "No kernel modules found for Linux ...." comes from this bit of code in /boot/initrd-tree/init:
Code:
# Load kernel modules:
if [ ! -d /lib/modules/`uname -r` ]; then
  echo "No kernel modules found for Linux `uname -r`."
elif [ -x ./load_kernel_modules ]; then # use load_kernel_modules script:
  echo "${INITRD}:  Loading kernel modules from initrd image:"
  . ./load_kernel_modules
else # load modules (if any) in order:
  if ls /lib/modules/`uname -r`/*.*o 1> /dev/null 2> /dev/null ; then
    echo "${INITRD}:  Loading kernel modules from initrd image:"
    for module in /lib/modules/`uname -r`/*.*o ; do
      insmod $module
    done
    unset module
  fi
fi
So the message comes out when init cannot find a directory containing modules for the running kernel in your initrd.
 
Old 04-24-2010, 04:09 PM   #22
gabrielmagno
Member
 
Registered: May 2009
Location: Belo Horizonte, Brasil
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
Same problem here.
Slackware-current (x86). Upgrading to Kernel 2.6.33.2, on a Notebook with IDE Hard Disk.
Tried generic, generic-smp, huge e huge-smp. No deal =(.
 
Old 04-24-2010, 05:06 PM   #23
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by gabrielmagno View Post
Same problem here.
Slackware-current (x86). Upgrading to Kernel 2.6.33.2, on a Notebook with IDE Hard Disk.
Tried generic, generic-smp, huge e huge-smp. No deal =(.
If you have an IDE hard drive and upgraded straight from slack 13 there was a change in the kernel config concerning data/IDE drives. Searching the forum will tell you what it was and how to resolve it. I think the change came with the 2.6.32.X kernel.
 
Old 04-24-2010, 07:16 PM   #24
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,286

Rep: Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648
Just to make sure: You folks with the problem are seeing a "No kernel modules found for Linux " followed by a kernel version number. Is that correct?

(There's another matter of your block devices not being available, but the init script is supposed to use a lightweight version of udev to figure that out.)
 
Old 04-24-2010, 07:38 PM   #25
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,192

Rep: Reputation: 1853Reputation: 1853Reputation: 1853Reputation: 1853Reputation: 1853Reputation: 1853Reputation: 1853Reputation: 1853Reputation: 1853Reputation: 1853Reputation: 1853
This looks the same problem reported here. http://www.linuxquestions.org/questi...orking-800757/
It is likely that your initrd.gz does not contain all the necessary modules to support the ext4 file system that is the default in Slackware 13.
When using the generic kernel you need an initrd. See /boot/README.initrd for details.
After a kernel upgrade you need to build a new initrd.gz.
As root, change to /boot and run '/usr/share/mkinitrd/mkinitrd_command_generator.sh -k 2.6.33.2' or -k <whatever kernel version> to get the correct invocation for mkinitrd.
Having run 'mkinitrd' you can then edit '/etc/lilo.conf' to reflect your kernel update changes and then run 'lilo'.
 
Old 04-24-2010, 07:44 PM   #26
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
I can't find any of the old threads I was saying to search for, but I did look through the changelogs for current and found the point when the switch happened. This MIGHT help to figure out if this is what is causing this problem:
Quote:
Mon Jan 4 21:43:02 UTC 2010
New kernels... and this deserves a mention/warning: the last bits of the
"old" IDE/ATA system have been removed now. Everything should be using
the libata based drivers now, so if you have any drives that are currently
running as /dev/hda, /dev/hdb, etc., when you reboot with these kernels all
drives will be renamed as /dev/sda, /dev/sdb, etc. If you had any /dev/sd*
already, they might get renamed. Adjustments may be required in
/etc/lilo.conf, /etc/fstab, the initrd, and elsewhere. Good luck!
 
Old 04-24-2010, 08:40 PM   #27
gabrielmagno
Member
 
Registered: May 2009
Location: Belo Horizonte, Brasil
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
As damgar mentioned, and has been said in this topic too: http://www.linuxquestions.org/questi...-drive-797455/

I just renamed the entry "boot = /dev/hda1" to "boot = /dev/sda1" in /etc/lilo.conf and it's working now.

By the way, this is NOT related to initrd. My partition is ext4, and I've never used initrd.
 
Old 04-24-2010, 08:47 PM   #28
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,286

Rep: Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648
Right. You had a different problem than the original poster.
 
Old 04-25-2010, 03:36 AM   #29
DonaldUK
Member
 
Registered: Apr 2004
Posts: 106

Original Poster
Rep: Reputation: 15
I think I'm going to give up on this one and try to update again from the mirrors from within Ubuntu using chroot - if I can work out why it keeps coming up with an error on the mirrors when I try this.

Don
 
  


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
Problem with update to new kernel masterjml Red Hat 3 05-15-2009 12:04 PM
serious problem after kernel update valemon SUSE / openSUSE 9 03-12-2007 12:46 PM
Kernel update problem redhatbadboi Fedora 2 02-17-2005 05:00 PM
kernel update: problem with X tjuii Linux - General 6 03-15-2004 01:16 PM
modprode problem after update kernel karleong Linux - Newbie 10 09-22-2003 09:07 PM

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

All times are GMT -5. The time now is 08:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration