tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: npf module not loading?



OK, this seems not to be a recent code change.

My previous setup had been running dhcpcd which auto-loaded bpf, so when blacklistd tried to auto-load npf, the required dependency was already loaded. Now that I removed bpf, the dependency is exposed.

I have updated the npf module to explicitly list the dependency on bpf, so this should not happen in the future.



On Fri, 21 Jul 2017, Paul Goyette wrote:

Did something change recently (some time in the last four weeks), to make npf depend on bpf?

With an update to yesterday's 8.99.1 I am getting

kobj_checksyms, 974: [npf]: linker error: symbol `bpf_create' not found
kobj_checksyms, 974: [npf]: linker error: symbol `bpf_destroy' not found
kobj_checksyms, 974: [npf]: linker error: symbol `bpf_validate_ext' not found
kobj_checksyms, 974: [npf]: linker error: symbol `bpf_jit_freecode' not found
kobj_checksyms, 974: [npf]: linker error: symbol `bpf_jit_generate' not found
kobj_checksyms, 974: [npf]: linker error: symbol `bpf_set_extmem' not found
kobj_checksyms, 974: [npf]: linker error: symbol `bpf_set_cop' not found
kobj_checksyms, 974: [npf]: linker error: symbol `bpf_filter_ext' not found
WARNING: module error: unable to affix module `npf', error 8


As near as I can tell, this is right before /etc/rc tries to start blacklistd.

It was working file with sources from 2017-06-28


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index