On Wednesday 02 November 2005 20:31, Ashley Gould wrote:
> systemimager 3.5.3
> goldenclient: SuSE SLES9 2.6.5-7.201-smp
> Using kernel and initrd.img created by UseYourOwnKernel.pm.
>
> Plugging right along here.  Got past the /dev problems with the
> help of John J.  Then had to hack the check_version script.  Now
> I'm trying to load modules.
>
> from etc/init.d/functions:
>   # Load any modules that were placed in the my_modules directory prior to
>   # running "make initrd.gz".  -BEF-
>   load_my_modules() {
>       logmsg
>       logmsg load_my_modules
>       cd /my_modules || shellout
>       sh ./INSMOD_COMMANDS
>   }
>
> This fails with:
>   sh ./INSMOD_COMMANDS: line 25: insmod: not found
>   sh ./INSMOD_COMMANDS: line 26: insmod: not found
>   sh ./INSMOD_COMMANDS: line 27: insmod: not found
>   sh ./INSMOD_COMMANDS: line 28: insmod: not found
>   [cut]
>   sh ./INSMOD_COMMANDS: line 72: insmod: not found
>   sh ./INSMOD_COMMANDS: line 72: insmod: not found
>
>
> running /sbin/insmod directly from the shell:
>   /my_modules # insmod e100.ko
>   sh insmod: not found
>
>
> insmod does exist and is executable:
>   / # ls -l sbin/insmod
>   -rwxr-xr-x  1 root root 6404 Oct 24 12:32 sbin/insmod
what does "which insmod" show at this point?  path problem?
>
>
> Why can't the shell find this command?  It can't find modprobe either.
> but it can find all the others in sbin:
>   / # ls -l sbin
>   total 3403
>   drwxr-xr-x   2 root root   1024 Nov  2 15:22 .
>   drwxr-xr-x  15 root root   1024 Oct 25 15:52 ..
>   -rwxr-xr-x   1 root root 101772 Oct 24 12:32 devfsd
>   -rwxr-xr-x   1 root root 138288 Oct 24 12:32 dhclient
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 halt
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 ifconfig
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 init
>   -rwxr-xr-x   1 root root   6404 Oct 24 12:32 insmod
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 klogd
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 lsmod
>   -rwxr-xr-x   1 root root  23084 Oct 24 12:32 modprobe
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 pivot_root
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 poweroff
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 reboot
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 route
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 swapoff
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 swapon
>   -rwxr-xr-x   1 root root 265468 Oct 24 12:32 syslogd
>
>
> Could it be it is not staticly compiled:
>   penny:/tftpboot/tmp/mnt1 # file sbin/insmod
>   sbin/insmod: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
> penny:/tftpboot/tmp/mnt1 #
>   penny:/tftpboot/tmp/mnt1 # ls lib/
>   .  ..

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Sisuite-users mailing list
Sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to