Port-arm archive

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

Re: (there are no BPF devices)



Hi again,
here we go.....

# sysctl kern.drivers
.... [32 -1 bpf] ....

# modstat bpf
NAME             CLASS      SOURCE     REFS  ADDRESS          SIZE
REQUIRES 
bpf              driver     builtin    8     0                -        -

# fstat | grep bpf
(gives nothing)

# ktrace tcpdump arp
tcpdump: no suitable device found

(kdump skipped)







On Wed, 2013-10-30 at 20:12 -0400, Dennis Ferguson wrote:
> On 30 Oct, 2013, at 17:48 , ASV <asv%inhio.eu@localhost> wrote:
> > Tnx for replying Dennis,
> > 
> > unfortunately that's the problem
> > # ls /dev/bpf*
> > /dev/bpf  /dev/bpf0
> 
> That's too bad.
> 
> To make sure bpf is in the kernel you could try looking at
> 
>    sysctl kern.drivers
> 
> for a mention of bpf, or maybe
> 
>     modstat bpf
> 
> to see what that says.  If it is there you might try
> 
>     fstat | grep bpf
> 
> to see if anything else is using it.  Finally, the output
> of, say
> 
>     ktrace tcpdump arp
>     kdump
> 
> should tell you the system call error which causes it to
> believe that bpf is missing.
> 
> Dennis Ferguson




Home | Main Index | Thread Index | Old Index