[BeagleBone] Missing modules after upgrade

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

[BeagleBone] Missing modules after upgrade

Postby ykmag » Wed Oct 24, 2012 9:05 pm

After I upgraded to linux-am33x, the /usr/lib/modules/3.2.32-1 does not seem familiar

$this->bbcode_second_pass_code('', ' ls /usr/lib/modules/3.2.32-1/
build modules.builtin.bin modules.devname modules.symbols.bin
modules.alias modules.dep modules.softdep
modules.alias.bin modules.dep.bin modules.symbols
')

when i try to upgrade (pacman -S linux-am33x) the output is
$this->bbcode_second_pass_code('', 'warning: linux-am33x-3.2.32-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): linux-am33x-3.2.32-1

Total Installed Size: 20.38 MiB
Net Upgrade Size: 0.00 MiB

Proceed with installation? [Y/n]
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
(1/1) upgrading linux-am33x [#######################] 100%
>>> Updating module dependencies. Please wait ...
WARNING: could not open /lib/modules/3.2.32-1/modules.order: No such file or directory
WARNING: could not open /lib/modules/3.2.32-1/modules.builtin: No such file or directory
')

Sorry I can't resolve this myself..
Last edited by ykmag on Wed Oct 24, 2012 9:23 pm, edited 1 time in total.
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm

Re: Missing modules after upgrade

Postby WarheadsSE » Wed Oct 24, 2012 9:23 pm

Check uname -r to see what it should be looking at.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [BeagleBone] Missing modules after upgrade

Postby ykmag » Wed Oct 24, 2012 9:37 pm

Thanks a lot, I forgot to copy /boot/uImage to /dev/mmcblk0p1

But I still cant get load the "ti_tscadc" module.

And modules.order and modules.builtin is still missing

uname -a returns
$this->bbcode_second_pass_code('', 'Linux bone2 3.2.32-1 #1 PREEMPT Mon Oct 22 16:38:16 UTC 2012 armv7l GNU/Linux')
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm

Re: [BeagleBone] Missing modules after upgrade

Postby WarheadsSE » Wed Oct 24, 2012 9:39 pm

K, now try running
$this->bbcode_second_pass_code('', 'depmod -a')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [BeagleBone] Missing modules after upgrade

Postby ykmag » Wed Oct 24, 2012 9:45 pm

This is the output of depmod -a
$this->bbcode_second_pass_code('', '[root@bone2 kernel]# depmod -a
WARNING: could not open /lib/modules/3.2.32-1/modules.order: No such file or directory
WARNING: could not open /lib/modules/3.2.32-1/modules.builtin: No such file or directory
')

Still no ti_tscadc module loaded
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm

Re: [BeagleBone] Missing modules after upgrade

Postby WarheadsSE » Wed Oct 24, 2012 10:25 pm

Silly question:
$this->bbcode_second_pass_code('', '
ls -l /lib /lib/modules
')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [BeagleBone] Missing modules after upgrade

Postby ykmag » Thu Oct 25, 2012 5:26 am

$this->bbcode_second_pass_code('', '[root@bone2 3.2.32-1]# ls -l /lib /lib/modules
lrwxrwxrwx 1 root root 7 Sep 14 04:26 /lib -> usr/lib

/lib/modules:
total 4
drwxr-xr-x 2 root root 4096 Oct 24 23:43 3.2.32-1
[root@bone2 3.2.32-1]#
')
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm

Re: [BeagleBone] Missing modules after upgrade

Postby pepedog » Thu Oct 25, 2012 8:56 am

ls -l /lib/modules/
What does that say?

What does mount say? I got a feeling if there was an fstab entry of /boot pointing to /dev/partwhereuImageis would stop this
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [BeagleBone] Missing modules after upgrade

Postby ykmag » Thu Oct 25, 2012 4:05 pm

$this->bbcode_second_pass_code('', '[root@bone2 3.2.32-1]# ls -l /lib/modules/
total 4
drwxr-xr-x 2 root root 4096 Oct 24 23:43 3.2.32-1
[root@bone2 3.2.32-1]#
')
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm

Re: [BeagleBone] Missing modules after upgrade

Postby ykmag » Thu Oct 25, 2012 4:06 pm

fstab:
$this->bbcode_second_pass_code('', '[root@bone2 3.2.32-1]# cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
[root@bone2 3.2.32-1]#
')

mount:
$this->bbcode_second_pass_code('', '[root@bone2 3.2.32-1]# mount
/dev/root on / type ext3 (rw,relatime,user_xattr,barrier=1,nodelalloc,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=125484k,nr_inodes=31371,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
[root@bone2 3.2.32-1]#
')
ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm

Next

Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 1 guest