WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: modprobe: can't load module ipv6 (kernel.tclocal/net/ipv6/ipv6.ko.gz): Invalid a  (Read 605 times)

Offline halma

  • Full Member
  • ***
  • Posts: 138
on a remastered TC 9x x64, when i try to
Code: [Select]
sudo modprobe bridge
NET: Registered protocol family 10
NET: Unregistered protocol family 10
modprobe: can't load module ipv6 (kernel.tclocal/net/ipv6/ipv6.ko.gz): Invalid argument

Code: [Select]
sudo find / -name "ipv6.ko.gz"
/usr/local/lib/modules/4.14.10-tinycore64/kernel/net/ipv6/ipv6.ko.gz

whats wrong ?  maybe it comes from the problem, while symlinking from
Code: [Select]
sudo ln -s /usr/local/lib/modules/"$KERNEL_VERSION-tinycore64"/kernel $BUILDDIR/lib/modules/"$KERNEL_VERSION-tinycore64"/kernel.tclocal at the building stage ?
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1677
I believe you need to run something like
Code: [Select]
sudo depmod -a -b "$BUILDDIR" $KERNEL_VERSION-tinycore64
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9849
The module looks incompatible with your kernel. dmesg may have more info.
The only barriers that can stop you are the ones you create yourself.

Offline halma

  • Full Member
  • ***
  • Posts: 138
i have recompiled the 4.14.10 kernel with the official kernel .config file from tinycorelinux team and only with these changes so far, now it works. Thanks a lot to all

Code: [Select]
echo "enable loop devices builtin"
sed -i -re 's/^(CONFIG_BLK_DEV_LOOP=.*|# CONFIG_BLK_DEV_LOOP is not set)/CONFIG_BLK_DEV_LOOP=y/' .config

echo "enable bridge support builtin"
sed -i -re 's/^(CONFIG_BRIDGE=.*|# CONFIG_BRIDGE is not set)/CONFIG_BRIDGE=y/;
            s/^(CONFIG_STP=.*|# CONFIG_STP is not set)/CONFIG_STP=y/' .config

echo "enable IPV6 support builtin"
sed -i -re 's/^(CONFIG_IPV6=.*|# CONFIG_IPV6 is not set)/CONFIG_IPV6=y/' .config
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol