linux-imx6-3.14.76-1 broken xfs module

Discussion about U-Boot and the kernel.

linux-imx6-3.14.76-1 broken xfs module

Postby DevilCrayon » Sun Aug 21, 2016 5:09 am

$this->bbcode_second_pass_code('', '[root@fraser ~]# modprobe xfs
[ 46.628959] xfs: no symbol version for vfs_fsync_range
[ 46.634180] xfs: Unknown symbol vfs_fsync_range (err -22)
[ 46.640501] xfs: no symbol version for in_group_p
[ 46.645234] xfs: Unknown symbol in_group_p (err -22)
[ 46.650255] xfs: no symbol version for do_sync_read
[ 46.655153] xfs: Unknown symbol do_sync_read (err -22)
[ 46.660872] xfs: no symbol version for current_fs_time
[ 46.666043] xfs: Unknown symbol current_fs_time (err -22)
[ 46.671886] xfs: no symbol version for generic_getxattr
[ 46.677135] xfs: Unknown symbol generic_getxattr (err -22)
modprobe: ERROR: could not insert 'xfs': Invalid argument
')

tried clearing /usr/lib/modules/ and reinstalling the kernel and rebooting.

Still get the above when trying to load the xfs module.
DevilCrayon
 
Posts: 9
Joined: Tue Jun 17, 2014 8:27 am

Re: linux-imx6-3.14.76-1 broken xfs module

Postby moonman » Tue Aug 23, 2016 7:12 am

Don't know what's causing this yet, but next kernel will have xfs and btrfs built in + enabled force module loading so you can modprobe -f <module> . Once loaded the modules do work.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: linux-imx6-3.14.76-1 broken xfs module

Postby DevilCrayon » Wed Aug 24, 2016 3:05 am

Alright. Any idea when the next kernel might be ready?

I've been using an SDcard XFS partition for my /home/ mount in my utilite, so there's not much I can do with it until it's working again.
DevilCrayon
 
Posts: 9
Joined: Tue Jun 17, 2014 8:27 am

Re: linux-imx6-3.14.76-1 broken xfs module

Postby moonman » Wed Aug 24, 2016 3:33 am

It's already in the repo linux-imx6-3.14.77 . The problem with loading some modules is still there, but you can force load a module now and xfs/btrfs is compiled into the kernel so no need to load modules for those.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: linux-imx6-3.14.76-1 broken xfs module

Postby DevilCrayon » Sun Aug 28, 2016 12:00 am

Awesome. Thanks! pacman -Syu-ing it in now.
DevilCrayon
 
Posts: 9
Joined: Tue Jun 17, 2014 8:27 am

Re: linux-imx6-3.14.76-1 broken xfs module

Postby setti » Fri Sep 02, 2016 12:36 pm

Hi, sorry for highjacking this post. But same problem persists with cifs module in linux-imx6-3.14.77-1. Is there any workaround or a fix upcoming?

EDIT: found workaround: $this->bbcode_second_pass_code('', 'modprobe -f cifs')
setti
 
Posts: 26
Joined: Tue Sep 04, 2012 9:49 pm

Re: linux-imx6-3.14.76-1 broken xfs module

Postby moonman » Tue Sep 06, 2016 6:41 pm

Now I know it is binutils 2.27 that's breaking the module loading on this kernel. binutis 2.26.1 works fine.

Here is the kernel compiled with the older version of binutils if somebody wants it:
$this->bbcode_second_pass_code('', 'https://olegtown.pw/Public/ArchLinuxArm/linux-imx6/')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: linux-imx6-3.14.76-1 broken xfs module

Postby setti » Thu Sep 08, 2016 7:00 pm

thx for your effort moonman, ive successfully installed your kernel on my utilite. cifs kernel module works fine after reboot and network shares are mounted automatically.

Is there any way to get this fixed upstream?
setti
 
Posts: 26
Joined: Tue Sep 04, 2012 9:49 pm

Re: linux-imx6-3.14.76-1 broken xfs module

Postby moonman » Thu Sep 08, 2016 8:48 pm

Upstream where? I don't know what's causing it. Mainlinre 3.14 works fine so it must be some freescale commit
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: linux-imx6-3.14.76-1 broken xfs module

Postby moonman » Thu Sep 15, 2016 4:31 am

3.14.79 in the repo has this problem fixed
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 6 guests