Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2019 14:53:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 241470] dummynet: setting bandwidth and delay causes repeatable panic
Message-ID:  <bug-241470-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241470

            Bug ID: 241470
           Summary: dummynet: setting bandwidth and delay causes
                    repeatable panic
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: julius.flohr@gmail.com

Hi, I'm running base r354020 in a bhyve vm. I tried modifying link metrics =
for
a specific IP and came across this reproducible kernel panic. Details how to
reproduce and resulting panic attached below.

Cheers.


jules@freebsd-rtr-1:~ % sudo ipfw list

00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
00400 deny ip from any to ::1
00500 deny ip from ::1 to any
00600 allow ipv6-icmp from :: to ff02::/16
00700 allow ipv6-icmp from fe80::/10 to fe80::/10
00800 allow ipv6-icmp from fe80::/10 to ff02::/16
00900 allow ipv6-icmp from any to any icmp6types 1
01000 allow ipv6-icmp from any to any icmp6types 2,135,136
65000 allow ip from any to any
65535 allow ip from any to any
jules@freebsd-rtr-1:~ % sudo ipfw add 10 pipe 1 ip from 10.42.42.2 to any
00010 pipe 1 ip from 10.42.42.2 to any
jules@freebsd-rtr-1:~ % sudo ipfw add 20 pipe 2 ip from 10.42.42.2 to any
00020 pipe 2 ip from 10.42.42.2 to any
jules@freebsd-rtr-1:~ % sudo ipfw pipe 1 config bw 1Mbit/s delay 20ms
mpanic: Assertion in_epoch(net_epoch_preempt) failed at
/remote/src/sys/netpfil/ipfw/ip_dn_io.c:745
cpuid =3D 0
time =3D 1571927589
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe000b39b=
880
vpanic() at vpanic+0x19d/frame 0xfffffe000b39b8d0
panic() at panic+0x43/frame 0xfffffe000b39b930
dummynet_send() at dummynet_send+0x44/frame 0xfffffe000b39b970
dummynet_task() at dummynet_task+0x335/frame 0xfffffe000b39b9e0
taskqueue_run_locked() at taskqueue_run_locked+0x10c/frame 0xfffffe000b39ba=
40
taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 0xfffffe000b39b=
a70
fork_exit() at fork_exit+0x84/frame 0xfffffe000b39bab0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe000b39bab0
--- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 ---
KDB: enter: panic
[ thread pid 0 tid 100043 ]
Stopped at      kdb_enter+0x3b: movq    $0,kdb_why
db>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241470-227>