by calzon65 » Mon Nov 05, 2012 1:42 am
pepedog, are you sure you want me to run that command ... mv /usr/modules /usr/lib/modules will create /usr/lib/modules/modules.
So before I moved the directory, here is the ls -l from my existing structure.
$this->bbcode_second_pass_code('', '[root@BeagleBone modules]# ls -l /usr/lib/modules
total 4
drwxr-xr-x 2 root root 4096 Nov 3 12:42 3.2.32-3
')
$this->bbcode_second_pass_code('', '[root@BeagleBone modules]# ls -l /usr/lib/modules/3.2.32-3
total 0
lrwxrwxrwx 1 root root 27 Nov 3 12:42 build -> ../../../src/linux-3.2.32-3
')
$this->bbcode_second_pass_code('', '[root@BeagleBone modules]# ls -l /usr/modules
total 8
drwxr-xr-x 3 root root 4096 Nov 3 12:42 3.2.32-3
drwxr-xr-x 2 root root 4096 Nov 3 12:41 extramodules-3.2--am33x
[root@BeagleBone modules]#
')
$this->bbcode_second_pass_code('', '[root@BeagleBone modules]# ls -l /usr/modules/3.2.32-3
total 1356
lrwxrwxrwx 1 root root 26 Nov 3 12:41 extramodules -> ../extramodules-3.2--am33x
drwxr-xr-x 9 root root 4096 Nov 3 12:40 kernel
-rw-r--r-- 1 root root 319869 Nov 3 12:41 modules.alias
-rw-r--r-- 1 root root 338585 Nov 3 12:41 modules.alias.bin
-rw-r--r-- 1 root root 7235 Nov 3 12:40 modules.builtin
-rw-r--r-- 1 root root 9299 Nov 3 12:42 modules.builtin.bin
-rw-r--r-- 1 root root 115923 Nov 3 12:41 modules.dep
-rw-r--r-- 1 root root 180917 Nov 3 12:41 modules.dep.bin
-rw-r--r-- 1 root root 171 Nov 3 12:42 modules.devname
-rw-r--r-- 1 root root 58223 Nov 3 12:40 modules.order
-rw-r--r-- 1 root root 131 Nov 3 12:42 modules.softdep
-rw-r--r-- 1 root root 128436 Nov 3 12:42 modules.symbols
-rw-r--r-- 1 root root 163980 Nov 3 12:42 modules.symbols.bin
')
EDIT:
WarheadsSE you caught that too. I'm glad because it makes me believe I'm not losing my mind. I noticed that a few posts back but was not sure if it was relevant since nobody commented on it. I can see from the depmod -a results, it's looking for a version (directory) that has -ARCH appended to the end. Also, I don't remember seeing -ARCH appended to the version release from previous releases (e.g., a few months ago), I wonder if the -ARCH extension is new.
$this->bbcode_second_pass_code('', '[root@BeagleBone modules]# uname -a
Linux BeagleBone 3.2.21-3-ARCH #1 PREEMPT Tue Jul 24 05:32:19 UTC 2012 armv7l GNU/Linux
')
$this->bbcode_second_pass_code('', '[root@BeagleBone modules]# depmod -a
ERROR: could not open directory /lib/modules/3.2.21-3-ARCH: No such file or directory
FATAL: could not search modules: No such file or directory
')