Project

General

Profile

Actions

Bug #3035

open

panic: assertion "cpu >= 0 && cpu < ncpus" failed in netisr_cpuport at /usr/src/sys/net/netisr2.h:87

Added by masu almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
05/10/2017
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I stumbled across a problem when using several jails (with ezjail) and alias IP addresses on two Ethernet interfaces (igb) on CURRENT.

The machine is equipped with two Ethernet interfaces that have assigned IPs in different sub nets. In addition each Ethernet interface has IP address aliases defined with a netmask of 0xffffffff.

The system crashes when attempting to start jails with ezjail (dmesg and backtrace output below).

At first I thought that it might be due to ezjail that is currently not supported on DragonFly.
But then after downloading latest ezjail version and bisecting through the git repo I found the commit that causes the crash to be
http://gitweb.dragonflybsd.org/dragonfly.git/commit/869aacee81e9c783c6d38709cfd252d1c441c0af

It is related to UDP traffic and number of CPUs available for socket handling.
The commit message is 'udp: Don't assume power of 2 netisrs.'

When reverting the changes of that commit (assuming power of 2 netisrs) on latest CURRENT the system does not crash anymore.
The applied patch is attached.

How can I help to resolve this issue?

Regards
Matthias

==================================================

Copyright (c) 2003-2017 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
DragonFly v4.9.0.178.g869aac-DEVELOPMENT #62: Wed May 10 12:46:43 CEST 2017
root@server:/usr/obj/usr/src/sys/X86_64_GENERIC
i8254 clock: 1193196 Hz
TSC invariant clock: 2400022296 Hz
CPU: Intel(R) Atom(TM) CPU C2550 @ 2.40GHz (2400.02-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x406d8 Stepping = 8
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRND>
AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
AMD Features2=0x101<LAHF,Prefetch>
Structured Extended Features=0x2282<TSCADJ,SMEP,ENHMOVSB>
Thermal and PM Features=0x7<SENSOR,TURBO,ARAT>
MONITOR/MWAIT Features=0x3<CST,INTBRK>
real memory = 34330433536 (32740 MB)
avail memory = 32181190656 (30690 MB)
lapic: divisor index 0, frequency 50000289 Hz
srat_probe: can't locate SRAT
Initialize MI interrupts
TSC testing MP synchronization ...
TSC is MP synchronized
TSC: cputimer freq 75000696, shift 5
VMM: available, disabled by default
wdog: In-kernel automatic watchdog reset enabled
kbd1 at kbdmux0
md0: Malloc disk
interrupt uses mplock: swi_taskq
ACPI: RSDP 0x00000000000F0490 000024 (v02 ALASKA)
ACPI: XSDT 0x00000000CEDE6098 0000AC (v01 ALASKA A M I 01072009 AMI 00010013)
ACPI: FACP 0x00000000CEDEA258 00010C (v05 ALASKA A M I 01072009 AMI 00010013)
ACPI: DSDT 0x00000000CEDE61D0 004084 (v02 ALASKA A M I 01072009 INTL 20061109)
ACPI: FACS 0x00000000CF4ABF80 000040
ACPI: FPDT 0x00000000CEDEA368 000044 (v01 ALASKA A M I 01072009 AMI 00010013)
ACPI: FIDT 0x00000000CEDEA3B0 00009C (v01 ALASKA A M I 01072009 AMI 00010013)
ACPI: HPET 0x00000000CEDEA450 000038 (v01 ALASKA 00000001 MSFT 01000013)
ACPI: AAFT 0x00000000CEDEA488 00002F (v01 ALASKA OEMAAFT 01072009 MSFT 00000097)
ACPI: SPMI 0x00000000CEDEA4B8 000040 (v05 A M I OEMSPMI 00000000 AMI. 00000000)
ACPI: MCFG 0x00000000CEDEA4F8 00003C (v01 ALASKA A M I 01072009 MSFT 00000097)
ACPI: WDAT 0x00000000CEDEA538 0001AC (v01 ALASKA A M I 01072009 MSFT 00010013)
ACPI: UEFI 0x00000000CEDEA6E8 000042 (v01 00000000 00000000)
ACPI: APIC 0x00000000CEDEA730 000078 (v03 INTEL TIANO 00000001 MSFT 00000000)
ACPI: BDAT 0x00000000CEDEA7A8 000030 (v01 00000000 00000000)
ACPI: SSDT 0x00000000CEDEA7D8 0009F1 (v01 PmRef CpuPm 00003000 INTL 20061109)
ACPI: SPCR 0x00000000CEDEB1D0 000050 (v01 A M I APTIO V 01072009 AMI. 00000005)
ACPI: HEST 0x00000000CEDEB220 0000A8 (v01 INTEL AVOTON B 00000001 INTL 00000001)
ACPI: BERT 0x00000000CEDEB2C8 000030 (v01 INTEL AVOTON B 00000001 INTL 00000001)
ACPI: ERST 0x00000000CEDEB2F8 000230 (v01 INTEL AVOTON B 00000001 INTL 00000001)
ACPI: EINJ 0x00000000CEDEB528 000150 (v01 INTEL AVOTON B 00000001 INTL 00000001)
cryptosoft0: <software crypto> on motherboard
aesni0: <AES-CBC,AES-XTS> on motherboard
padlock0: No ACE support.
rdrand0: <RdRand RNG> on motherboard
acpi0: <ALASKA A M I > on motherboard
ACPI: 2 ACPI AML tables successfully acquired and loaded
ACPI FADT: SCI testing interrupt mode ...
ACPI FADT: SCI select level/high
acpi0: Power Button (fixed)
acpi_timer0 on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
acpi_hpet0: frequency 14318180
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> mem 0xdf640000-0xdf65ffff irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> mem 0xdf620000-0xdf63ffff irq 20 at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> mem 0xdf400000-0xdf41ffff irq 22 at device 0.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib3: No _PRT found, routing with pci
pcib3: No _PRT found, routing with pci
pcib3: No _PRT found, routing with pci
pcib3: No _PRT found, routing with pci
pcib4: <MPTABLE PCI-PCI bridge> irq 23 at device 1.0 on pci3
pci4: <PCI bus> on pcib4
pcib5: <MPTABLE PCI-PCI bridge> irq 23 at device 5.0 on pci3
pci5: <PCI bus> on pcib5
pcib6: <MPTABLE PCI-PCI bridge> irq 23 at device 0.0 on pci5
pci6: <PCI bus> on pcib6
vgapci0: <VGA-compatible display> port 0xc000-0xc07f mem 0xdf000000-0xdf01ffff,0xde000000-0xdeffffff irq 23 at device 0.0 on pci6
vgapci0: Boot video device
pcib7: <MPTABLE PCI-PCI bridge> irq 21 at device 7.0 on pci3
pci7: <PCI bus> on pcib7
igb0: <Intel(R) PRO/1000 I210_COPPER> port 0xb000-0xb01f mem 0xdf380000-0xdf383fff,0xdf300000-0xdf37ffff irq 21 at device 0.0 on pci7
igb0: MAC address: d0:50:99:5a:fb:de
pcib8: <MPTABLE PCI-PCI bridge> irq 23 at device 9.0 on pci3
pci8: <PCI bus> on pcib8
igb1: <Intel(R) PRO/1000 I210_COPPER> port 0xa000-0xa01f mem 0xdf280000-0xdf283fff,0xdf200000-0xdf27ffff irq 23 at device 0.0 on pci8
igb1: MAC address: d0:50:99:5a:fb:df
pcib9: <ACPI PCI-PCI bridge> mem 0xdf600000-0xdf61ffff at device 4.0 on pci0
pci9: <ACPI PCI bus> on pcib9
ahci0: <AHCI-PCI-SATA> port 0xd000-0xd01f,0xd020-0xd023,0xd030-0xd037,0xd040-0xd043,0xd050-0xd057 mem 0xdf510000-0xdf5107ff irq 23 at device 0.0 on pci9
ahci0: Enable 88SE9230 workarounds for broken chip
ahci0: AHCI 1.2 cap 0xc0309f07<S64A,NCQ,PMD>, 8 ports, 32 tags/port, gen 3 (6Gbps)
ahci0.0: Found DISK "MARVELL Raid VD 0 MV.R00-0" serial="30346eb630940010"
ahci0.0: tags=32/32 satacap=010e satacap2=0000 satafea=0000 NCQ=YES capacity=3815335.81MB
ahci0.0: f85=0068 f86=3400 f87=4000 WC=enabled RA=enabled SEC=notsupp
ahci0.4: No device detected
ahci0.3: No device detected
ahci0.1: No device detected
ahci0.6: No device detected
ahci0.5: No device detected
ahci0.2: Found SSD "SanDisk SDSSDXPS480G X21100RL" serial="144334400492"
ahci0.2: tags=32/32 satacap=870e satacap2=0086 satafea=014c NCQ=YES capacity=457862.83MB
ahci0.2: f85=3469 f86=bc09 f87=4163 WC=enabled RA=enabled SEC=frozen
ahci0.7: Found ATAPI "MARVELL VIRTUALL 1.09" serial="HKDP221516WL"
ahci0.7: tags=0/32 satacap=0602 satacap2=0000 satafea=0040 NCQ=NO capacity=1.00MB
ahci0.7: f85=0218 f86=0000 f87=4000 WC=notsupp RA=notsupp SEC=notsupp
ahci0.7: TFES RFIS-34 flg=40 st=50 err=00 dev=00 off=0/35840
pci0: <base peripheral> (vendor 0x8086, dev 0x1f16) at device 15.0 irq 16
pci0: <base peripheral> (vendor 0x8086, dev 0x1f15) at device 19.0 irq 16
ehci0: <Intel Avoton USB 2.0 controller> mem 0xdf663000-0xdf6633ff irq 23 at device 22.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
ahci1: <AHCI-PCI-SATA> port 0xe040-0xe05f,0xe0a0-0xe0a3,0xe0b0-0xe0b7,0xe0c0-0xe0c3,0xe0d0-0xe0d7 mem 0xdf662000-0xdf6627ff irq 19 at device 23.0 on pci0
usbus0: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ahci1: AHCI 1.3 cap 0xc720ff03<S64A,NCQ,SALP,SAL,SCLO,PMD,SSC,PSC> cap2 0x3c<DESO,SADM,SDS,APST>, 4 ports, 32 tags/port, gen 2 (3Gbps)
uhub0: 8 ports with 8 removable, self powered
ugen0.2: <vendor 0x8087> at usbus0
uhub1: <vendor 0x8087 product 0x07db, class 9/0, rev 2.00/0.02, addr 2> on usbus0
uhub1: 4 ports with 4 removable, self powered
ugen0.3: <CHICONY> at usbus0
ukbd0: <CHICONY HP Basic USB Keyboard, class 0/0, rev 1.10/3.00, addr 3> on usbus0
kbd2 at ukbd0
ahci1.2: No device detected
ahci1.1: No device detected
ahci1.3: No device detected
ahci1.0: No device detected
ahci2: <AHCI-PCI-SATA> port 0xe020-0xe03f,0xe060-0xe063,0xe070-0xe077,0xe080-0xe083,0xe090-0xe097 mem 0xdf661000-0xdf6617ff irq 19 at device 24.0 on pci0
ugen0.4: <American Megatrends Inc.> at usbus0
uhub2: <7-port Hub> on usbus0
ahci2: Intel hocus pocus
ahci2: AHCI 1.3 cap 0xc730ff01<S64A,NCQ,SALP,SAL,SCLO,PMD,SSC,PSC> cap2 0x3c<DESO,SADM,SDS,APST>, 2 ports, 32 tags/port, gen 3 (6Gbps)
uhub2: 5 ports with 5 removable, self powered
ugen0.5: <American Megatrends Inc.> at usbus0
ukbd1: <Keyboard Interface> on usbus0
kbd3 at ukbd1
ums0: <Mouse Interface> on usbus0
ums0: 3 buttons and [Z] coordinates ID=0
ahci2.0: Found SSD "M4-CT064M4SSD1 070H" serial="00000000120803310086"
ahci2.0: tags=32/32 satacap=150e satacap2=0006 satafea=004c NCQ=YES capacity=61057.33MB
ahci2.0: f85=7469 f86=bc09 f87=6163 WC=enabled RA=enabled SEC=frozen
ahci2.1: No device detected
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> (vendor 0x8086, dev 0x1f3c) at device 31.3 irq 18
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
cpu0: <ACPI CPU> on acpi0
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFF868B535E80 000490 (v01 PmRef Cpu0Ist 00003000 INTL 20061109)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFF83F80CA000 0001FA (v01 PmRef Cpu0Cst 00003001 INTL 20061109)
cpu_cst0: <ACPI CPU C-State> on cpu0
cpu_pst0: <ACPI CPU P-State> on cpu0
clockmod0: <CPU clock modulation> on cpu0
perfbias0: <CPU perf-energy bias> on cpu0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
cpu1: <ACPI CPU> on acpi0
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFF841B81B500 00047A (v01 PmRef ApIst 00003000 INTL 20061109)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFF80AAA795C0 000119 (v01 PmRef ApCst 00003000 INTL 20061109)
cpu_cst1: <ACPI CPU C-State> on cpu1
cpu_pst1: <ACPI CPU P-State> on cpu1
cpu_pst1: Destroy domain1, force pkg domain0
clockmod1: <CPU clock modulation> on cpu1
perfbias1: <CPU perf-energy bias> on cpu1
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
cpu2: <ACPI CPU> on acpi0
cpu_cst2: <ACPI CPU C-State> on cpu2
cpu_pst2: <ACPI CPU P-State> on cpu2
cpu_pst2: Destroy domain2, force pkg domain0
clockmod2: <CPU clock modulation> on cpu2
perfbias2: <CPU perf-energy bias> on cpu2
coretemp2: <CPU On-Die Thermal Sensors> on cpu2
cpu3: <ACPI CPU> on acpi0
cpu_cst3: <ACPI CPU C-State> on cpu3
cpu_pst3: <ACPI CPU P-State> on cpu3
cpu_pst3: Destroy domain3, force pkg domain0
clockmod3: <CPU clock modulation> on cpu3
perfbias3: <CPU perf-energy bias> on cpu3
coretemp3: <CPU On-Die Thermal Sensors> on cpu3
ACPI: Enabled 1 GPEs in block 00 to 1F
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x500 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
lm0: <Winbond W83627DHG Hardware Monitor> at port 0x290-0x297 on isa0
wbsio0: <Winbond LPC Super I/O NCT6776F rev 0x33> at port 0x2e-0x2f on isa0
wbsio0: hardware monitor iobase is 0x290
device_probe_and_attach: wbsio0 attach returned 6
sio2: can't drain, serial port might not exist, disabling
hpt27xx: no controller detected.
CAM: Configuring 14 busses
ahci0.7: TFES RFIS-34 flg=40 st=50 err=00 dev=00 off=0/35840
CAM: finished configuring all busses
da0 at ahci0 bus 0 target 0 lun 0
da0: <SATA MARVELL Raid VD MV.R> Fixed Direct Access SCSI-4 device
da0: Serial Number 30346eb630940010
da0: 600.000MB/s transfers
da0: 3815335MB (7813807744 512 byte sectors: 255H 63S/T 486387C)
da1 at ahci0 bus 2 target 0 lun 0
da1: <SATA SanDisk SDSSDXPS X211> Fixed Direct Access SCSI-4 device
da1: Serial Number 144334400492
da1: 600.000MB/s transfers
da1: 457862MB (937703088 512 byte sectors: 255H 63S/T 58369C)
da1: supports TRIM
da2 at ahci2 bus 0 target 0 lun 0
da2: <SATA M4-CT064M4SSD1 070H> Fixed Direct Access SCSI-4 device
da2: Serial Number 00000000120803310086
da2: 600.000MB/s transfers
da2: 61057MB (125045424 512 byte sectors: 255H 63S/T 7783C)
da2: supports TRIM
da0: slice >2TB, using media size instead of slice table size
no B_DEVMAGIC (bootdev=0)
Device Mapper version 4.16.0 loaded
dm_target_zero: Successfully initialized
dm_target_crypt: Successfully initialized
dm_target_error: Successfully initialized
Mounting root from hammer:serno/00000000120803310086.s1b
HAMMER recovery check seqno=102c79d0
HAMMER recovery range 300000001e15e708-300000001e15e708
HAMMER recovery nexto 300000001e15e708 endseqno=102c79d1
HAMMER mounted clean, no recovery needed
DMA space used: 14596k, remaining available: 131072k
Mounting devfs
<118>Loading configuration files.
<118>Loading devfs rules:
<118> /etc/defaults/devfs.conf
<118>.
<118>Configuring crypto disks.
<118>Initializing random seed:
<118>done.
<118>dumpon: crash dumps to /dev/serno/144334400492.s1b (29, 0x20009)
<118>Starting file system checks:
<118>/dev/serno/00000000120803310086.s1a:
<118>FILESYSTEM CLEAN; SKIPPING CHECKS
<118>/dev/serno/00000000120803310086.s1a:
<118>clean, 239875 free
<118>(1915 frags, 29745 blocks, 0.4% fragmentation)
<118>Setting hostname: server.
<118>vm.randomize_mmap:
<118>0
<118> ->
<118>1
<118>
<118>machdep.mwait.CX.idle:
<118>C1/0
<118> ->
<118>AUTODEEP
<118>
<118>net.filters_default_to_accept:
<118>0
<118> ->
<118>1
<118>
<118>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
<118> options=43<RXCSUM,TXCSUM,RSS>
<118> inet 127.0.0.1 netmask 0xff000000
<118> inet6 ::1 prefixlen 128
<118> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
<118>igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
<118> options=15b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,RSS,TSO>
<118> inet 192.168.10.50 netmask 0xffffff00 broadcast 192.168.10.255
<118> inet6 fe80::d250:99ff:fe5a:fbde%igb0 prefixlen 64 tentative scopeid 0x1
<118> inet 192.168.10.51 netmask 0xffffffff broadcast 192.168.10.51
<118> inet 192.168.10.55 netmask 0xffffffff broadcast 192.168.10.55
<118> inet 192.168.10.60 netmask 0xffffffff broadcast 192.168.10.60
<118> ether d0:50:99:5a:fb:de
<118> media: Ethernet autoselect <rxpause> (none)
<118> status: no carrier
<118>igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
<118> options=15b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,RSS,TSO>
<118> inet 192.168.128.50 netmask 0xffffff00 broadcast 192.168.128.255
<118> inet6 fe80::d250:99ff:fe5a:fbdf%igb1 prefixlen 64 tentative scopeid 0x2
<118> inet 192.168.128.51 netmask 0xffffffff broadcast 192.168.128.51
<118> inet 192.168.128.52 netmask 0xffffffff broadcast 192.168.128.52
<118> ether d0:50:99:5a:fb:df
<118> media: Ethernet autoselect <rxpause> (none)
<118> status: no carrier
<118>add net default: gateway 192.168.128.1
<118>Additional routing options:
<118>.
<118>Starting devd.
<118>Starting ums0 moused
<118>.
<118>Mounting NFS file systems:
<118>.
<118>Building databases...
<118>Starting syslogd.
<118>May 10 13:14:31 server syslogd: kernel boot file is /boot/kernel/kernel
<118>No core dumps found.
<118>Starting rpcbind.
<118>ELF ldconfig path: /lib /usr/lib /usr/local/lib /usr/local/libdata/ldconfig/perl5
<118>Id Refs Name
<118>207 1 nfs
<118>Starting mountd.
<118>May 10 13:14:31 server mountd609: bad exports list line /usr/jails/samba/shares/data
<118>NFS on reserved port only=YES
<118>Starting nfsd.
<118>Id Refs Name
<118>207 1 nfs
<118>NFS CLIENT:
<118> access_cache_timeout=5
<118> neg_cache_timeout=3
<118>.
<118>Starting statd.
<118>Starting lockd.
<118>Recovering vi editor sessions:
<118>.
<118>Starting dntpd.
<118>Starting local daemons:
<118>.
<118>Updating motd.
<118>Configuring syscons:
<118> keymap
<118> blanktime
<118>.
<118>Starting sshd.
<118>sendmail_submit: /etc/mail/aliases.db not present, generating
<118>newaliases: no recipients
<118>sendmail_clientmqueue: /etc/mail/aliases.db not present, generating
<118>newaliases: no recipients
<118>Starting cron.
<118>Local package initialization:
<118>.
<118>Additional TCP options:
<118>.
<118>
<118>Wed May 10 13:14:32 CEST 2017
<118>May 10 13:19:30 server login: ROOT LOGIN (root) ON ttyv0
<118>May 10 13:19:56 server mountd609: bad exports list line /usr/jails/samba/shares/data
<118>May 10 13:19:59 samba syslogd: kernel boot file is /boot/kernel/kernel
panic: assertion "cpu >= 0 && cpu < ncpus" failed in netisr_cpuport at /usr/src/sys/net/netisr2.h:87
cpuid = 1
Trace beginning at frame 0xffffff868b5a3970
panic() at panic+0x236 0xffffffff805e5b26
panic() at panic+0x236 0xffffffff805e5b26
udp_inswildcardhash_oncpu() at udp_inswildcardhash_oncpu+0x157 0xffffffff80729547
udp_bind() at udp_bind+0x165 0xffffffff8072a4b5
netmsg_service_loop() at netmsg_service_loop+0xa4 0xffffffff806b0474

(kgdb) #0 _get_mycpu () at ./machine/thread.h:69
#1 panic (fmt=fmt@entry=0xffffffff80aa6528 "from debugger")
at /usr/src/sys/kern/kern_shutdown.c:833
#2 0xffffffff802b5b22 in db_panic (addr=<optimized out>,
have_addr=<optimized out>, count=<optimized out>, modif=<optimized out>)
at /usr/src/sys/ddb/db_command.c:444
#3 0xffffffff802b6134 in db_command (
last_cmdp=0xffffffff812b8370 <db_last_command>,
cmd_table=<optimized out>, aux_cmd_tablep=<optimized out>,
aux_cmd_tablep_end=<optimized out>) at /usr/src/sys/ddb/db_command.c:400
#4 db_command_loop () at /usr/src/sys/ddb/db_command.c:467
#5 0xffffffff802b94d2 in db_trap (type=type@entry=3, code=code@entry=0)
at /usr/src/sys/ddb/db_trap.c:71
#6 0xffffffff80a4c596 in kdb_trap (type=3, code=code@entry=0,
regs=regs@entry=0xffffff868b5a38a8)
at /usr/src/sys/platform/pc64/x86_64/db_interface.c:176
#7 0xffffffff80a5396d in trap (frame=0xffffff868b5a38a8)
at /usr/src/sys/platform/pc64/x86_64/trap.c:721
#8 0xffffffff80a3c05f in calltrap ()
at /usr/src/sys/platform/pc64/x86_64/exception.S:188
#9 0xffffffff80a4c81c in breakpoint () at ./cpu/cpufunc.h:70
#10 Debugger (msg=msg@entry=0xffffffff80aa660a "panic")
at /usr/src/sys/platform/pc64/x86_64/db_interface.c:379
#11 0xffffffff805e5b1a in panic (
fmt=fmt@entry=0xffffffff80aebc28 "assertion \"%s\" failed in %s at %s:%u")
at /usr/src/sys/kern/kern_shutdown.c:848
#12 0xffffffff80729547 in netisr_cpuport (cpu=<optimized out>)
at /usr/src/sys/net/netisr2.h:87
#13 udp_inswildcardhash_oncpu (inp=0xffffff8ad266d200, msg=0xffffff8ad371b830)
at /usr/src/sys/netinet/udp_usrreq.c:1302
#14 0xffffffff8072a4b5 in udp_bind (msg=0xffffff8ad371b830)
at /usr/src/sys/netinet/udp_usrreq.c:1461
#15 0xffffffff806b0474 in netmsg_service_loop (arg=<optimized out>)
at /usr/src/sys/net/netisr.c:336
#16 0xffffffff805f7d50 in ?? () at /usr/src/sys/kern/lwkt_thread.c:1693
#17 0x0000000000000000 in ?? ()


Files

patch (2.75 KB) patch bad commit revert patch masu, 05/10/2017 09:36 AM
smime.p7s (2.63 KB) smime.p7s masu, 05/11/2017 01:24 AM
Actions #1

Updated by sepherosa almost 7 years ago

Fixed by:
8280d8f175b06023d940cba972a2c0b714fa21e3

On Thu, May 11, 2017 at 12:39 AM,
<> wrote:

Issue #3035 has been reported by masu.

----------------------------------------
Bug #3035: panic: assertion "cpu >= 0 && cpu < ncpus" failed in netisr_cpuport at /usr/src/sys/net/netisr2.h:87
http://bugs.dragonflybsd.org/issues/3035

  • Author: masu
  • Status: New
  • Priority: Normal
  • Assignee:
  • Category:
  • Target version:
    ----------------------------------------
    Hi,

I stumbled across a problem when using several jails (with ezjail) and alias IP addresses on two Ethernet interfaces (igb) on CURRENT.

The machine is equipped with two Ethernet interfaces that have assigned IPs in different sub nets. In addition each Ethernet interface has IP address aliases defined with a netmask of 0xffffffff.

The system crashes when attempting to start jails with ezjail (dmesg and backtrace output below).

At first I thought that it might be due to ezjail that is currently not supported on DragonFly.
But then after downloading latest ezjail version and bisecting through the git repo I found the commit that causes the crash to be
http://gitweb.dragonflybsd.org/dragonfly.git/commit/869aacee81e9c783c6d38709cfd252d1c441c0af

It is related to UDP traffic and number of CPUs available for socket handling.
The commit message is 'udp: Don't assume power of 2 netisrs.'

When reverting the changes of that commit (assuming power of 2 netisrs) on latest CURRENT the system does not crash anymore.
The applied patch is attached.

How can I help to resolve this issue?

Regards
Matthias

==================================================

Copyright (c) 2003-2017 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
DragonFly v4.9.0.178.g869aac-DEVELOPMENT #62: Wed May 10 12:46:43 CEST 2017
root@server:/usr/obj/usr/src/sys/X86_64_GENERIC
i8254 clock: 1193196 Hz
TSC invariant clock: 2400022296 Hz
CPU: Intel(R) Atom(TM) CPU C2550 @ 2.40GHz (2400.02-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x406d8 Stepping = 8
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRND>
AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
AMD Features2=0x101<LAHF,Prefetch>
Structured Extended Features=0x2282<TSCADJ,SMEP,ENHMOVSB>
Thermal and PM Features=0x7<SENSOR,TURBO,ARAT>
MONITOR/MWAIT Features=0x3<CST,INTBRK>
real memory = 34330433536 (32740 MB)
avail memory = 32181190656 (30690 MB)
lapic: divisor index 0, frequency 50000289 Hz
srat_probe: can't locate SRAT
Initialize MI interrupts
TSC testing MP synchronization ...
TSC is MP synchronized
TSC: cputimer freq 75000696, shift 5
VMM: available, disabled by default
wdog: In-kernel automatic watchdog reset enabled
kbd1 at kbdmux0
md0: Malloc disk
interrupt uses mplock: swi_taskq
ACPI: RSDP 0x00000000000F0490 000024 (v02 ALASKA)
ACPI: XSDT 0x00000000CEDE6098 0000AC (v01 ALASKA A M I 01072009 AMI 00010013)
ACPI: FACP 0x00000000CEDEA258 00010C (v05 ALASKA A M I 01072009 AMI 00010013)
ACPI: DSDT 0x00000000CEDE61D0 004084 (v02 ALASKA A M I 01072009 INTL 20061109)
ACPI: FACS 0x00000000CF4ABF80 000040
ACPI: FPDT 0x00000000CEDEA368 000044 (v01 ALASKA A M I 01072009 AMI 00010013)
ACPI: FIDT 0x00000000CEDEA3B0 00009C (v01 ALASKA A M I 01072009 AMI 00010013)
ACPI: HPET 0x00000000CEDEA450 000038 (v01 ALASKA 00000001 MSFT 01000013)
ACPI: AAFT 0x00000000CEDEA488 00002F (v01 ALASKA OEMAAFT 01072009 MSFT 00000097)
ACPI: SPMI 0x00000000CEDEA4B8 000040 (v05 A M I OEMSPMI 00000000 AMI. 00000000)
ACPI: MCFG 0x00000000CEDEA4F8 00003C (v01 ALASKA A M I 01072009 MSFT 00000097)
ACPI: WDAT 0x00000000CEDEA538 0001AC (v01 ALASKA A M I 01072009 MSFT 00010013)
ACPI: UEFI 0x00000000CEDEA6E8 000042 (v01 00000000 00000000)
ACPI: APIC 0x00000000CEDEA730 000078 (v03 INTEL TIANO 00000001 MSFT 00000000)
ACPI: BDAT 0x00000000CEDEA7A8 000030 (v01 00000000 00000000)
ACPI: SSDT 0x00000000CEDEA7D8 0009F1 (v01 PmRef CpuPm 00003000 INTL 20061109)
ACPI: SPCR 0x00000000CEDEB1D0 000050 (v01 A M I APTIO V 01072009 AMI. 00000005)
ACPI: HEST 0x00000000CEDEB220 0000A8 (v01 INTEL AVOTON B 00000001 INTL 00000001)
ACPI: BERT 0x00000000CEDEB2C8 000030 (v01 INTEL AVOTON B 00000001 INTL 00000001)
ACPI: ERST 0x00000000CEDEB2F8 000230 (v01 INTEL AVOTON B 00000001 INTL 00000001)
ACPI: EINJ 0x00000000CEDEB528 000150 (v01 INTEL AVOTON B 00000001 INTL 00000001)
cryptosoft0: <software crypto> on motherboard
aesni0: <AES-CBC,AES-XTS> on motherboard
padlock0: No ACE support.
rdrand0: <RdRand RNG> on motherboard
acpi0: <ALASKA A M I > on motherboard
ACPI: 2 ACPI AML tables successfully acquired and loaded
ACPI FADT: SCI testing interrupt mode ...
ACPI FADT: SCI select level/high
acpi0: Power Button (fixed)
acpi_timer0 on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
acpi_hpet0: frequency 14318180
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> mem 0xdf640000-0xdf65ffff irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> mem 0xdf620000-0xdf63ffff irq 20 at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> mem 0xdf400000-0xdf41ffff irq 22 at device 0.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib3: No _PRT found, routing with pci
pcib3: No _PRT found, routing with pci
pcib3: No _PRT found, routing with pci
pcib3: No _PRT found, routing with pci
pcib4: <MPTABLE PCI-PCI bridge> irq 23 at device 1.0 on pci3
pci4: <PCI bus> on pcib4
pcib5: <MPTABLE PCI-PCI bridge> irq 23 at device 5.0 on pci3
pci5: <PCI bus> on pcib5
pcib6: <MPTABLE PCI-PCI bridge> irq 23 at device 0.0 on pci5
pci6: <PCI bus> on pcib6
vgapci0: <VGA-compatible display> port 0xc000-0xc07f mem 0xdf000000-0xdf01ffff,0xde000000-0xdeffffff irq 23 at device 0.0 on pci6
vgapci0: Boot video device
pcib7: <MPTABLE PCI-PCI bridge> irq 21 at device 7.0 on pci3
pci7: <PCI bus> on pcib7
igb0: <Intel(R) PRO/1000 I210_COPPER> port 0xb000-0xb01f mem 0xdf380000-0xdf383fff,0xdf300000-0xdf37ffff irq 21 at device 0.0 on pci7
igb0: MAC address: d0:50:99:5a:fb:de
pcib8: <MPTABLE PCI-PCI bridge> irq 23 at device 9.0 on pci3
pci8: <PCI bus> on pcib8
igb1: <Intel(R) PRO/1000 I210_COPPER> port 0xa000-0xa01f mem 0xdf280000-0xdf283fff,0xdf200000-0xdf27ffff irq 23 at device 0.0 on pci8
igb1: MAC address: d0:50:99:5a:fb:df
pcib9: <ACPI PCI-PCI bridge> mem 0xdf600000-0xdf61ffff at device 4.0 on pci0
pci9: <ACPI PCI bus> on pcib9
ahci0: <AHCI-PCI-SATA> port 0xd000-0xd01f,0xd020-0xd023,0xd030-0xd037,0xd040-0xd043,0xd050-0xd057 mem 0xdf510000-0xdf5107ff irq 23 at device 0.0 on pci9
ahci0: Enable 88SE9230 workarounds for broken chip
ahci0: AHCI 1.2 cap 0xc0309f07<S64A,NCQ,PMD>, 8 ports, 32 tags/port, gen 3 (6Gbps)
ahci0.0: Found DISK "MARVELL Raid VD 0 MV.R00-0" serial="30346eb630940010"
ahci0.0: tags=32/32 satacap=010e satacap2=0000 satafea=0000 NCQ=YES capacity=3815335.81MB
ahci0.0: f85=0068 f86=3400 f87=4000 WC=enabled RA=enabled SEC=notsupp
ahci0.4: No device detected
ahci0.3: No device detected
ahci0.1: No device detected
ahci0.6: No device detected
ahci0.5: No device detected
ahci0.2: Found SSD "SanDisk SDSSDXPS480G X21100RL" serial="144334400492"
ahci0.2: tags=32/32 satacap=870e satacap2=0086 satafea=014c NCQ=YES capacity=457862.83MB
ahci0.2: f85=3469 f86=bc09 f87=4163 WC=enabled RA=enabled SEC=frozen
ahci0.7: Found ATAPI "MARVELL VIRTUALL 1.09" serial="HKDP221516WL"
ahci0.7: tags=0/32 satacap=0602 satacap2=0000 satafea=0040 NCQ=NO capacity=1.00MB
ahci0.7: f85=0218 f86=0000 f87=4000 WC=notsupp RA=notsupp SEC=notsupp
ahci0.7: TFES RFIS-34 flg=40 st=50 err=00 dev=00 off=0/35840
pci0: <base peripheral> (vendor 0x8086, dev 0x1f16) at device 15.0 irq 16
pci0: <base peripheral> (vendor 0x8086, dev 0x1f15) at device 19.0 irq 16
ehci0: <Intel Avoton USB 2.0 controller> mem 0xdf663000-0xdf6633ff irq 23 at device 22.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
ahci1: <AHCI-PCI-SATA> port 0xe040-0xe05f,0xe0a0-0xe0a3,0xe0b0-0xe0b7,0xe0c0-0xe0c3,0xe0d0-0xe0d7 mem 0xdf662000-0xdf6627ff irq 19 at device 23.0 on pci0
usbus0: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ahci1: AHCI 1.3 cap 0xc720ff03<S64A,NCQ,SALP,SAL,SCLO,PMD,SSC,PSC> cap2 0x3c<DESO,SADM,SDS,APST>, 4 ports, 32 tags/port, gen 2 (3Gbps)
uhub0: 8 ports with 8 removable, self powered
ugen0.2: <vendor 0x8087> at usbus0
uhub1: <vendor 0x8087 product 0x07db, class 9/0, rev 2.00/0.02, addr 2> on usbus0
uhub1: 4 ports with 4 removable, self powered
ugen0.3: <CHICONY> at usbus0
ukbd0: <CHICONY HP Basic USB Keyboard, class 0/0, rev 1.10/3.00, addr 3> on usbus0
kbd2 at ukbd0
ahci1.2: No device detected
ahci1.1: No device detected
ahci1.3: No device detected
ahci1.0: No device detected
ahci2: <AHCI-PCI-SATA> port 0xe020-0xe03f,0xe060-0xe063,0xe070-0xe077,0xe080-0xe083,0xe090-0xe097 mem 0xdf661000-0xdf6617ff irq 19 at device 24.0 on pci0
ugen0.4: <American Megatrends Inc.> at usbus0
uhub2: <7-port Hub> on usbus0
ahci2: Intel hocus pocus
ahci2: AHCI 1.3 cap 0xc730ff01<S64A,NCQ,SALP,SAL,SCLO,PMD,SSC,PSC> cap2 0x3c<DESO,SADM,SDS,APST>, 2 ports, 32 tags/port, gen 3 (6Gbps)
uhub2: 5 ports with 5 removable, self powered
ugen0.5: <American Megatrends Inc.> at usbus0
ukbd1: <Keyboard Interface> on usbus0
kbd3 at ukbd1
ums0: <Mouse Interface> on usbus0
ums0: 3 buttons and [Z] coordinates ID=0
ahci2.0: Found SSD "M4-CT064M4SSD1 070H" serial="00000000120803310086"
ahci2.0: tags=32/32 satacap=150e satacap2=0006 satafea=004c NCQ=YES capacity=61057.33MB
ahci2.0: f85=7469 f86=bc09 f87=6163 WC=enabled RA=enabled SEC=frozen
ahci2.1: No device detected
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> (vendor 0x8086, dev 0x1f3c) at device 31.3 irq 18
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
cpu0: <ACPI CPU> on acpi0
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFF868B535E80 000490 (v01 PmRef Cpu0Ist 00003000 INTL 20061109)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFF83F80CA000 0001FA (v01 PmRef Cpu0Cst 00003001 INTL 20061109)
cpu_cst0: <ACPI CPU C-State> on cpu0
cpu_pst0: <ACPI CPU P-State> on cpu0
clockmod0: <CPU clock modulation> on cpu0
perfbias0: <CPU perf-energy bias> on cpu0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
cpu1: <ACPI CPU> on acpi0
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFF841B81B500 00047A (v01 PmRef ApIst 00003000 INTL 20061109)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFF80AAA795C0 000119 (v01 PmRef ApCst 00003000 INTL 20061109)
cpu_cst1: <ACPI CPU C-State> on cpu1
cpu_pst1: <ACPI CPU P-State> on cpu1
cpu_pst1: Destroy domain1, force pkg domain0
clockmod1: <CPU clock modulation> on cpu1
perfbias1: <CPU perf-energy bias> on cpu1
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
cpu2: <ACPI CPU> on acpi0
cpu_cst2: <ACPI CPU C-State> on cpu2
cpu_pst2: <ACPI CPU P-State> on cpu2
cpu_pst2: Destroy domain2, force pkg domain0
clockmod2: <CPU clock modulation> on cpu2
perfbias2: <CPU perf-energy bias> on cpu2
coretemp2: <CPU On-Die Thermal Sensors> on cpu2
cpu3: <ACPI CPU> on acpi0
cpu_cst3: <ACPI CPU C-State> on cpu3
cpu_pst3: <ACPI CPU P-State> on cpu3
cpu_pst3: Destroy domain3, force pkg domain0
clockmod3: <CPU clock modulation> on cpu3
perfbias3: <CPU perf-energy bias> on cpu3
coretemp3: <CPU On-Die Thermal Sensors> on cpu3
ACPI: Enabled 1 GPEs in block 00 to 1F
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x500 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
lm0: <Winbond W83627DHG Hardware Monitor> at port 0x290-0x297 on isa0
wbsio0: <Winbond LPC Super I/O NCT6776F rev 0x33> at port 0x2e-0x2f on isa0
wbsio0: hardware monitor iobase is 0x290
device_probe_and_attach: wbsio0 attach returned 6
sio2: can't drain, serial port might not exist, disabling
hpt27xx: no controller detected.
CAM: Configuring 14 busses
ahci0.7: TFES RFIS-34 flg=40 st=50 err=00 dev=00 off=0/35840
CAM: finished configuring all busses
da0 at ahci0 bus 0 target 0 lun 0
da0: <SATA MARVELL Raid VD MV.R> Fixed Direct Access SCSI-4 device
da0: Serial Number 30346eb630940010
da0: 600.000MB/s transfers
da0: 3815335MB (7813807744 512 byte sectors: 255H 63S/T 486387C)
da1 at ahci0 bus 2 target 0 lun 0
da1: <SATA SanDisk SDSSDXPS X211> Fixed Direct Access SCSI-4 device
da1: Serial Number 144334400492
da1: 600.000MB/s transfers
da1: 457862MB (937703088 512 byte sectors: 255H 63S/T 58369C)
da1: supports TRIM
da2 at ahci2 bus 0 target 0 lun 0
da2: <SATA M4-CT064M4SSD1 070H> Fixed Direct Access SCSI-4 device
da2: Serial Number 00000000120803310086
da2: 600.000MB/s transfers
da2: 61057MB (125045424 512 byte sectors: 255H 63S/T 7783C)
da2: supports TRIM
da0: slice >2TB, using media size instead of slice table size
no B_DEVMAGIC (bootdev=0)
Device Mapper version 4.16.0 loaded
dm_target_zero: Successfully initialized
dm_target_crypt: Successfully initialized
dm_target_error: Successfully initialized
Mounting root from hammer:serno/00000000120803310086.s1b
HAMMER recovery check seqno=102c79d0
HAMMER recovery range 300000001e15e708-300000001e15e708
HAMMER recovery nexto 300000001e15e708 endseqno=102c79d1
HAMMER mounted clean, no recovery needed
DMA space used: 14596k, remaining available: 131072k
Mounting devfs
<118>Loading configuration files.
<118>Loading devfs rules:
<118> /etc/defaults/devfs.conf
<118>.
<118>Configuring crypto disks.
<118>Initializing random seed:
<118>done.
<118>dumpon: crash dumps to /dev/serno/144334400492.s1b (29, 0x20009)
<118>Starting file system checks:
<118>/dev/serno/00000000120803310086.s1a:
<118>FILESYSTEM CLEAN; SKIPPING CHECKS
<118>/dev/serno/00000000120803310086.s1a:
<118>clean, 239875 free
<118>(1915 frags, 29745 blocks, 0.4% fragmentation)
<118>Setting hostname: server.
<118>vm.randomize_mmap:
<118>0
<118> ->
<118>1
<118>
<118>machdep.mwait.CX.idle:
<118>C1/0
<118> ->
<118>AUTODEEP
<118>
<118>net.filters_default_to_accept:
<118>0
<118> ->
<118>1
<118>
<118>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
<118> options=43<RXCSUM,TXCSUM,RSS>
<118> inet 127.0.0.1 netmask 0xff000000
<118> inet6 ::1 prefixlen 128
<118> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
<118>igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
<118> options=15b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,RSS,TSO>
<118> inet 192.168.10.50 netmask 0xffffff00 broadcast 192.168.10.255
<118> inet6 fe80::d250:99ff:fe5a:fbde%igb0 prefixlen 64 tentative scopeid 0x1
<118> inet 192.168.10.51 netmask 0xffffffff broadcast 192.168.10.51
<118> inet 192.168.10.55 netmask 0xffffffff broadcast 192.168.10.55
<118> inet 192.168.10.60 netmask 0xffffffff broadcast 192.168.10.60
<118> ether d0:50:99:5a:fb:de
<118> media: Ethernet autoselect <rxpause> (none)
<118> status: no carrier
<118>igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
<118> options=15b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,RSS,TSO>
<118> inet 192.168.128.50 netmask 0xffffff00 broadcast 192.168.128.255
<118> inet6 fe80::d250:99ff:fe5a:fbdf%igb1 prefixlen 64 tentative scopeid 0x2
<118> inet 192.168.128.51 netmask 0xffffffff broadcast 192.168.128.51
<118> inet 192.168.128.52 netmask 0xffffffff broadcast 192.168.128.52
<118> ether d0:50:99:5a:fb:df
<118> media: Ethernet autoselect <rxpause> (none)
<118> status: no carrier
<118>add net default: gateway 192.168.128.1
<118>Additional routing options:
<118>.
<118>Starting devd.
<118>Starting ums0 moused
<118>.
<118>Mounting NFS file systems:
<118>.
<118>Building databases...
<118>Starting syslogd.
<118>May 10 13:14:31 server syslogd: kernel boot file is /boot/kernel/kernel
<118>No core dumps found.
<118>Starting rpcbind.
<118>ELF ldconfig path: /lib /usr/lib /usr/local/lib /usr/local/libdata/ldconfig/perl5
<118>Id Refs Name
<118>207 1 nfs
<118>Starting mountd.
<118>May 10 13:14:31 server mountd609: bad exports list line /usr/jails/samba/shares/data
<118>NFS on reserved port only=YES
<118>Starting nfsd.
<118>Id Refs Name
<118>207 1 nfs
<118>NFS CLIENT:
<118> access_cache_timeout=5
<118> neg_cache_timeout=3
<118>.
<118>Starting statd.
<118>Starting lockd.
<118>Recovering vi editor sessions:
<118>.
<118>Starting dntpd.
<118>Starting local daemons:
<118>.
<118>Updating motd.
<118>Configuring syscons:
<118> keymap
<118> blanktime
<118>.
<118>Starting sshd.
<118>sendmail_submit: /etc/mail/aliases.db not present, generating
<118>newaliases: no recipients
<118>sendmail_clientmqueue: /etc/mail/aliases.db not present, generating
<118>newaliases: no recipients
<118>Starting cron.
<118>Local package initialization:
<118>.
<118>Additional TCP options:
<118>.
<118>
<118>Wed May 10 13:14:32 CEST 2017
<118>May 10 13:19:30 server login: ROOT LOGIN (root) ON ttyv0
<118>May 10 13:19:56 server mountd609: bad exports list line /usr/jails/samba/shares/data
<118>May 10 13:19:59 samba syslogd: kernel boot file is /boot/kernel/kernel
panic: assertion "cpu >= 0 && cpu < ncpus" failed in netisr_cpuport at /usr/src/sys/net/netisr2.h:87
cpuid = 1
Trace beginning at frame 0xffffff868b5a3970
panic() at panic+0x236 0xffffffff805e5b26
panic() at panic+0x236 0xffffffff805e5b26
udp_inswildcardhash_oncpu() at udp_inswildcardhash_oncpu+0x157 0xffffffff80729547
udp_bind() at udp_bind+0x165 0xffffffff8072a4b5
netmsg_service_loop() at netmsg_service_loop+0xa4 0xffffffff806b0474

(kgdb) #0 _get_mycpu () at ./machine/thread.h:69
#1 panic (fmt=fmt@entry=0xffffffff80aa6528 "from debugger")
at /usr/src/sys/kern/kern_shutdown.c:833
#2 0xffffffff802b5b22 in db_panic (addr=<optimized out>,
have_addr=<optimized out>, count=<optimized out>, modif=<optimized out>)
at /usr/src/sys/ddb/db_command.c:444
#3 0xffffffff802b6134 in db_command (
last_cmdp=0xffffffff812b8370 <db_last_command>,
cmd_table=<optimized out>, aux_cmd_tablep=<optimized out>,
aux_cmd_tablep_end=<optimized out>) at /usr/src/sys/ddb/db_command.c:400
#4 db_command_loop () at /usr/src/sys/ddb/db_command.c:467
#5 0xffffffff802b94d2 in db_trap (type=type@entry=3, code=code@entry=0)
at /usr/src/sys/ddb/db_trap.c:71
#6 0xffffffff80a4c596 in kdb_trap (type=3, code=code@entry=0,
regs=regs@entry=0xffffff868b5a38a8)
at /usr/src/sys/platform/pc64/x86_64/db_interface.c:176
#7 0xffffffff80a5396d in trap (frame=0xffffff868b5a38a8)
at /usr/src/sys/platform/pc64/x86_64/trap.c:721
#8 0xffffffff80a3c05f in calltrap ()
at /usr/src/sys/platform/pc64/x86_64/exception.S:188
#9 0xffffffff80a4c81c in breakpoint () at ./cpu/cpufunc.h:70
#10 Debugger (msg=msg@entry=0xffffffff80aa660a "panic")
at /usr/src/sys/platform/pc64/x86_64/db_interface.c:379
#11 0xffffffff805e5b1a in panic (
fmt=fmt@entry=0xffffffff80aebc28 "assertion \"%s\" failed in %s at %s:%u")
at /usr/src/sys/kern/kern_shutdown.c:848
#12 0xffffffff80729547 in netisr_cpuport (cpu=<optimized out>)
at /usr/src/sys/net/netisr2.h:87
#13 udp_inswildcardhash_oncpu (inp=0xffffff8ad266d200, msg=0xffffff8ad371b830)
at /usr/src/sys/netinet/udp_usrreq.c:1302
#14 0xffffffff8072a4b5 in udp_bind (msg=0xffffff8ad371b830)
at /usr/src/sys/netinet/udp_usrreq.c:1461
#15 0xffffffff806b0474 in netmsg_service_loop (arg=<optimized out>)
at /usr/src/sys/net/netisr.c:336
#16 0xffffffff805f7d50 in ?? () at /usr/src/sys/kern/lwkt_thread.c:1693
#17 0x0000000000000000 in ?? ()

---Files--------------------------------
patch (2.75 KB)

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

--
Tomorrow Will Never Die

Actions #2

Updated by masu almost 7 years ago

Actions

Also available in: Atom PDF