No modules loaded in linux-imx6-3.14.79-3

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

No modules loaded in linux-imx6-3.14.79-3

Postby GAZ082 » Mon May 15, 2017 10:34 pm

That. Had to revert back to linux-imx6-3.14.79-1 to make it work, otherwise it loads ZERO modules. (lsmod returns nothing).
GAZ082
 
Posts: 80
Joined: Tue Jun 17, 2014 3:34 pm

Re: No modules loaded in linux-imx6-3.14.79-3

Postby WarheadsSE » Tue May 16, 2017 12:45 pm

ls -la /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: No modules loaded in linux-imx6-3.14.79-3

Postby GAZ082 » Tue May 16, 2017 2:24 pm

Installed linux-imx6*-3 again (did not reboot) and:

$this->bbcode_second_pass_code('', '/lib/modules/3.14.79-1-ARCH:
total 12
drwxr-xr-x 3 root root 4096 May 16 11:20 .
drwxr-xr-x 5 root root 4096 Jan 31 22:19 ..
lrwxrwxrwx 1 root root 33 Sep 13 2016 build -> ../../../src/linux-3.14.79-1-ARCH
drwxr-xr-x 3 root root 4096 May 16 11:20 kernel

/lib/modules/3.14.79-3-ARCH:
total 2232
drwxr-xr-x 4 root root 4096 May 16 11:20 .
drwxr-xr-x 5 root root 4096 Jan 31 22:19 ..
drwxr-xr-x 2 root root 4096 May 9 22:54 extra
lrwxrwxrwx 1 root root 26 May 9 22:54 extramodules -> ../extramodules-3.14--imx6
drwxr-xr-x 11 root root 4096 May 16 11:20 kernel
-rw-r--r-- 1 root root 628360 May 16 11:20 modules.alias
-rw-r--r-- 1 root root 622025 May 16 11:20 modules.alias.bin
-rw-r--r-- 1 root root 12094 May 9 22:53 modules.builtin
-rw-r--r-- 1 root root 14675 May 16 11:20 modules.builtin.bin
-rw-r--r-- 1 root root 173615 May 16 11:20 modules.dep
-rw-r--r-- 1 root root 267464 May 16 11:20 modules.dep.bin
-rw-r--r-- 1 root root 175 May 16 11:20 modules.devname
-rw-r--r-- 1 root root 84480 May 9 22:53 modules.order
-rw-r--r-- 1 root root 84 May 16 11:20 modules.softdep
-rw-r--r-- 1 root root 194106 May 16 11:20 modules.symbols
-rw-r--r-- 1 root root 246917 May 16 11:20 modules.symbols.bin
')
GAZ082
 
Posts: 80
Joined: Tue Jun 17, 2014 3:34 pm

Re: No modules loaded in linux-imx6-3.14.79-3

Postby WarheadsSE » Tue May 16, 2017 3:47 pm

The modules are there. Are you sure that /boot got updated? Is it mounted properly?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: No modules loaded in linux-imx6-3.14.79-3

Postby GAZ082 » Thu May 18, 2017 12:53 am

What should i check in /boot?
GAZ082
 
Posts: 80
Joined: Tue Jun 17, 2014 3:34 pm

Re: No modules loaded in linux-imx6-3.14.79-3

Postby WarheadsSE » Fri May 19, 2017 12:01 am

Run the `file` command on the kernel files in /boot. Also, check that the partition is mounted (if necessary, it is usually the first partition).
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: No modules loaded in linux-imx6-3.14.79-3

Postby GAZ082 » Mon May 22, 2017 1:23 am

1. Installed again the kernel, but "uname -r" shows the -1 version, not the -3
2. No modules loaded.
3. did a file *:
[root@kraken boot]# file * of /boot
$this->bbcode_second_pass_code('', 'SPL: data
boot.scr: u-boot legacy uImage, U-Boot boot script, Linux/ARM, Script File (Not compressed), 762 bytes, Wed Feb 1 01:18:00 2017, Load Address: 0x00000000, Entry Point: 0x00000000, Header CRC: 0x7CC8617A, Data CRC: 0x17571996
boot.scr2: u-boot legacy uImage, U-Boot boot script, Linux/ARM, Script File (Not compressed), 673 bytes, Sat Feb 11 04:02:48 2017, Load Address: 0x00000000, Entry Point: 0x00000000, Header CRC: 0x078C3CB8, Data CRC: 0x928FCE00
boot.txt: ASCII text
boot.txt2: ASCII text
dtbs: directory
mkscr: Bourne-Again shell script, ASCII text executable
u-boot.img: u-boot legacy uImage, U-Boot 2017.01 for mx6cuboxi boa\270, Firmware/ARM, Firmware Image (Not compressed), 303888 bytes, Sat Feb 11 04:02:46 2017, Load Address: 0x17800000, Entry Point: 0x00000000, Header CRC: 0x069796B4, Data CRC: 0x16DF1F8D
uEnv.txt: ASCII text
zImage: Linux kernel ARM boot executable zImage (little-endian)')
GAZ082
 
Posts: 80
Joined: Tue Jun 17, 2014 3:34 pm

Re: No modules loaded in linux-imx6-3.14.79-3

Postby GAZ082 » Mon May 22, 2017 4:38 pm

This is my boot.txt, perhaps i'd touch something?

$this->bbcode_second_pass_code('', '# After modifying, run ./mkscr

if test -n ${distro_bootpart}; then setenv bootpart ${distro_bootpart}; else setenv bootpart 1; fi
part uuid ${devtype} ${devnum}:${bootpart} uuid

setenv bootargs console=${console},${baudrate} root=PARTUUID=0000993c-02 rw rootwait consoleblank=0 video=mxcfb0:dev=hdmi,1920x1080@60,if=RGB24,bpp=32 dmfc=3 gpumem=256M

if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/zImage; then
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
bootz ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi')
GAZ082
 
Posts: 80
Joined: Tue Jun 17, 2014 3:34 pm

Re: No modules loaded in linux-imx6-3.14.79-3

Postby WarheadsSE » Mon May 22, 2017 7:43 pm

How many partitions does your disk/sdcard contain?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: No modules loaded in linux-imx6-3.14.79-3

Postby GAZ082 » Mon May 22, 2017 10:59 pm

I boot from the HDD (as you may guessed based on the boot.txt)

The SD card is just one, and the HDD 2, root and /mnt/Multimedia

$this->bbcode_second_pass_code('', '
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
|-sda1 8:1 0 923.5G 0 part /mnt/Multimedia
`-sda2 8:2 0 8G 0 part /
mmcblk0 179:0 0 3.7G 0 disk
`-mmcblk0p1 179:1 0 3.7G 0 part
')
GAZ082
 
Posts: 80
Joined: Tue Jun 17, 2014 3:34 pm

Next

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 7 guests