[Jool-list] jool error: Jool's socket family doesn't seem to exist.

Nico Schottelius nico.schottelius at ungleich.ch
Fri Jan 3 06:18:47 CST 2020


OMG. It was me, all the time. I had /usr/local/bin/jool from an older
installation from source. I basically used an outdated version :-(

It perfectly works now:

[13:17] router1.place6:~# jool instance add --netfilter --pool6 2a0a:e5c0:2:10::/96
[13:18] router1.place6:~# jool instance display
+--------------------+-----------------+-----------+
|          Namespace |            Name | Framework |
+--------------------+-----------------+-----------+
| 0xffffffffb80aeb40 |         default | netfilter |
+--------------------+-----------------+-----------+

Sorry for the noise!



Alberto Leiva <ydahhrk at gmail.com> writes:

> I think I'm the one doing something fundamentally wrong.
>
> I tried again from a clean virtual machine, and now I can't even get
> to the point where the modprobe succeeds in linux-vanilla. You're
> right; jool-tools neither includes the modules nor seems to reference
> a package that does. I don't understand how I made it work. Perhaps
> jool-modules-vanilla existed back when I first tested it, and doesn't
> anymore.
>
> But it does work fine for me in linux-lts...
>
> You seem to be getting the same problem in both kernels. Perhaps your
> modprobe is not working either yet suppresses the error message for
> some reason. Is jool listed when you run `lsmod | grep jool`? Do you
> get an error code after running the modprobe? (echo $?)
>
> I'll try contacting Jakub (Jool's maintainer in Alpine), starting by
> CC'ing him in this response.
>
> (More readable full thread can be found at
> https://mail-lists.nic.mx/pipermail/jool-list/2019-December/000294.html)
>
> On Thu, Jan 2, 2020 at 1:16 PM Nico Schottelius
> <nico.schottelius at ungleich.ch> wrote:
>>
>>
>> Hey Alberto,
>>
>> I've just upgrade & rebooted and still get the same error.
>> Basically, freshly after rebooting I issue:
>>
>> [19:57] router1.place6:~# modprobe jool
>> [19:57] router1.place6:~# jool instance add --netfilter --pool6 2a0a:e5c0:2:10::/96
>> Jool's socket family doesn't seem to exist.
>> (This probably means Jool hasn't been modprobed.)
>> Netlink error message: 'Object not found' (Code -12)
>> [19:57] router1.place6:~# uname -a
>> Linux router1 5.4.7-0-lts #1-Alpine SMP Thu, 02 Jan 2020 11:19:52 UTC x86_64 GNU/Linux
>> [19:57] router1.place6:~#
>> [19:57] router1.place6:~# dmesg | grep jool
>> [  402.223808] jool_common: loading out-of-tree module taints kernel.
>> [19:58] router1.place6:~#
>> [19:59] router1.place6:~# apk list -I | grep jool
>> jool-tools-bash-completion-4.0.6-r1 x86_64 {jool-tools} (GPL-2.0-only) [installed]
>> joold-4.0.6-r1 x86_64 {jool-tools} (GPL-2.0-only) [installed]
>> jool-modules-lts-5.4.7-r0 x86_64 {jool-modules-lts} (GPL-2.0-or-later) [installed]
>> jool-tools-4.0.6-r1 x86_64 {jool-tools} (GPL-2.0-only) [installed]
>> [20:01] router1.place6:~#
>>
>> Am I doing something fundamentally wrong?
>>
>> Cheers,
>>
>> Nico
>>
>>
>> Alberto Leiva <ydahhrk at gmail.com> writes:
>>
>> > I can't reproduce it; it installs and responds fine in my linux-lts.
>> > Admittedly, I got a slightly more recent kernel (5.4.7-0-lts), but I
>> > think that has a pretty meager chance of being the cause.
>> >
>> > Did it work on your end?
>> >
>> > On Sun, Dec 29, 2019 at 9:50 PM Alberto Leiva <ydahhrk at gmail.com> wrote:
>> >>
>> >> > I removed the linux-vanilla package and that regenerates the
>> >> > /boot/extlinux.conf which then boots into -lts.
>> >>
>> >> Ok, thanks. Will test further once the holidays are over.
>> >>
>> >> On Thu, Dec 26, 2019 at 12:55 PM Nico Schottelius
>> >> <nico.schottelius at ungleich.ch> wrote:
>> >> >
>> >> >
>> >> > I removed the linux-vanilla package and that regenerates the
>> >> > /boot/extlinux.conf which then boots into -lts.
>> >> >
>> >> > I'll try to switch back to -vanilla and retest. I'm on the alpine edge
>> >> > repositories, but have been there for a while.
>> >> >
>> >> >
>> >> > Alberto Leiva <ydahhrk at gmail.com> writes:
>> >> >
>> >> > >> This is on alpine using the -lts kernel. Mainly using the -lts kernel,
>> >> > >> beccause I did not see jool modules for the regular kernel :-)
>> >> > >
>> >> > > Odd.
>> >> > >
>> >> > > When I install jool-tools on linux-vanilla, it also fetches the proper
>> >> > > kernel modules automatically. So simply running `apk add jool-tools`
>> >> > > should be all you need. (Aside from the community repository thing.)
>> >> > >
>> >> > >> apk add linux-lts
>> >> > >
>> >> > > How do you boot into this kernel?
>> >> > >
>> >> > > It doesn't change anything from me, even after another setup-linux and a reboot.
>> >> > >
>> >> > > On Wed, Dec 25, 2019 at 4:03 AM Nico Schottelius
>> >> > > <nico.schottelius at ungleich.ch> wrote:
>> >> > >>
>> >> > >>
>> >> > >> Good morning Alberto,
>> >> > >>
>> >> > >> Alberto Leiva <ydahhrk at gmail.com> writes:
>> >> > >>
>> >> > >> > Looks like a bug. Which distro are you using?
>> >> > >>
>> >> > >> This is on alpine using the -lts kernel. Mainly using the -lts kernel,
>> >> > >> beccause I did not see jool modules for the regular kernel :-)
>> >> > >>
>> >> > >> > (And if that's not the default kernel, what did you do to install it?)
>> >> > >>
>> >> > >> apk add linux-lts
>> >> > >>
>> >> > >> I have no problem of going with linux-vanilla, but this is the search
>> >> > >> result I get at the moment:
>> >> > >>
>> >> > >> [11:02] router1.place6:~# apk search jool
>> >> > >> jool-tools-static-4.0.6-r3
>> >> > >> jool-modules-virt-5.4.6-r0
>> >> > >> jool-tools-4.0.6-r3
>> >> > >> jool-tools-bash-completion-4.0.6-r3
>> >> > >> jool-tools-doc-4.0.6-r3
>> >> > >> jool-tools-openrc-4.0.6-r3
>> >> > >> jool-modules-lts-5.4.6-r0
>> >> > >> [11:02] router1.place6:~#
>> >> > >>
>> >> > >> HTH!
>> >> > >>
>> >> > >> Nico
>> >> > >>
>> >> > >>
>> >> > >> --
>> >> > >> Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch
>> >> >
>> >> >
>> >> > --
>> >> > Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch
>>
>>
>> --
>> Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch


--
Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch


More information about the Jool-list mailing list