Dialogic ISDN card vendor-driver kernel-module fails to load after meltdown/spectre kernel versions were released
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Hey everyone,
did a brief evaluation of the problem in #ubuntu-kernel with user "klebers".
Also failed to find appropriate matches during a quick search in the filed bug-reports here.
Could really need some help on this one :)
### Problem description:
One of my linux machines running 14.04 in 32bit is having problems loading isdn-card drivers which are built from the drivers package available from the manufacturer (Dialogic).
The problems started since we upgraded the kernel to 3.13.0-139-generic, same for ...141-generic. It was working fine for years up to 3.13.0-137-generic.
I tried 3 different versions of this drivers-package, including the latest Diva4Linux_
In our setup the machine normally loads 6 modules of this diva-suite in orchestration, one of them fails to load with a segmentation fault.
I disabled all of the startup routines and then tested the module loads manually.
Not sure if the cause of the problem lies within the drivers software, but for sure it started to be a problem with the meltdown/spectre changes in early january 2018.
I would really appreciate your help and input on the problem. Kind of lost at the moment... :/
Will try to raise a support ticket at the hardware vendor too.
### System Outputs:
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
# uname -a
Linux MACHINES_HOSTNAME 3.13.0-141-generic #190-Ubuntu SMP Fri Jan 19 12:53:50 UTC 2018 i686 i686 i686 GNU/Linux
# cat /proc/version_
Ubuntu 3.13.0-
# lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IB (ICH9) 2 port SATA Controller [IDE mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] (rev 02)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01)
02:06.0 ISA bridge: Integrated Technology Express, Inc. IT8888F/G PCI to ISA Bridge with SMB [Golden Gate] (rev 03)
02:0c.0 Network controller: Dialogic Corporation PRI (rev 01)
02:0d.0 Network controller: Dialogic Corporation PRI (rev 01)
02:0f.0 PCI bridge: Pericom Semiconductor PCI to PCI Bridge (rev 02)
03:03.0 RAID bus controller: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID (rev 01)
03:06.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06)
# lspci -vvvnn
00:00.0 Host bridge [0600]: Intel Corporation 82Q35 Express DRAM Controller [8086:29b0] (rev 02)
Subsystem: Intel Corporation 82Q35 Express DRAM Controller [8086:29b0]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller [0300]: Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b2] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b2]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 42
Region 0: Memory at fc680000 (32-bit, non-prefetchable) [size=512K]
Region 1: I/O ports at bc00 [size=8]
Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]
Region 3: Memory at fc500000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Kernel driver in use: i915
00:1a.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Optiplex 755 [8086:2937]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 4: I/O ports at b880 [size=32]
Kernel driver in use: uhci_hcd
00:1a.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Optiplex 755 [8086:2938]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 21
Region 4: I/O ports at b800 [size=32]
Kernel driver in use: uhci_hcd
00:1a.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin D routed to IRQ 19
Region 4: I/O ports at b480 [size=32]
Kernel driver in use: uhci_hcd
00:1a.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 02) (prog-if 20 [EHCI])
Subsystem: Intel Corporation Optiplex 755 [8086:293c]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin C routed to IRQ 18
Region 0: Memory at fc67bc00 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: ehci-pci
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fc700000-fc7fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 23
Region 4: I/O ports at b400 [size=32]
Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 19
Region 4: I/O ports at b080 [size=32]
Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin C routed to IRQ 18
Region 4: I/O ports at b000 [size=32]
Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 02) (prog-if 20 [EHCI])
Subsystem: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 23
Region 0: Memory at fc67b800 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 92) (prog-if 01 [Subtractive decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=02, subordinate=03, sec-latency=32
I/O behind bridge: 0000d000-0000efff
Memory behind bridge: fc800000-febfffff
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
00:1f.0 ISA bridge [0601]: Intel Corporation 82801IB (ICH9) LPC Interface Controller [8086:2918] (rev 02)
Subsystem: Intel Corporation 82801IB (ICH9) LPC Interface Controller [8086:2918]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Kernel driver in use: lpc_ich
00:1f.2 IDE interface [0101]: Intel Corporation 82801IB (ICH9) 2 port SATA Controller [IDE mode] [8086:2921] (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corporation 82801IB (ICH9) 2 port SATA Controller [IDE mode] [8086:2921]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 19
Region 0: I/O ports at 01f0 [size=8]
Region 1: I/O ports at 03f4
Region 2: I/O ports at 0170 [size=8]
Region 3: I/O ports at 0374
Region 4: I/O ports at ff90 [size=16]
Region 5: I/O ports at ffa0 [size=16]
Kernel driver in use: ata_piix
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 02)
Subsystem: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin C routed to IRQ 10
Region 0: Memory at fc67b400 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports at 0400 [size=32]
00:1f.5 IDE interface [0101]: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] [8086:2926] (rev 02) (prog-if 85 [Master SecO PriO])
Subsystem: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] [8086:2926]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 19
Region 0: I/O ports at a880 [size=8]
Region 1: I/O ports at a800 [size=4]
Region 2: I/O ports at a480 [size=8]
Region 3: I/O ports at a400 [size=4]
Region 4: I/O ports at a080 [size=16]
Region 5: I/O ports at a000 [size=16]
Kernel driver in use: ata_piix
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168]
Physical Slot: 0
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 41
Region 0: I/O ports at c800 [size=256]
Region 2: Memory at fc7ff000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at fc7c0000 [disabled] [size=128K]
Kernel driver in use: r8169
02:06.0 ISA bridge [0601]: Integrated Technology Express, Inc. IT8888F/G PCI to ISA Bridge with SMB [Golden Gate] [1283:8888] (rev 03)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
02:0c.0 Network controller [0280]: Dialogic Corporation PRI [1133:e01c] (rev 01)
Subsystem: Dialogic Corporation Diva PRI/E1-30 PCI(e) v3 [1133:1c03]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 10
Region 0: Memory at fdfffc00 (32-bit, non-prefetchable) [size=512]
Region 1: I/O ports at d800 [size=256]
Region 2: Memory at fd000000 (32-bit, non-prefetchable) [size=8M]
Region 3: Memory at fdf80000 (32-bit, non-prefetchable) [size=256K]
Kernel driver in use: divas
02:0d.0 Network controller [0280]: Dialogic Corporation PRI [1133:e01c] (rev 01)
Subsystem: Dialogic Corporation Diva PRI/E1-30 PCI(e) v3 [1133:1c03]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 7
Region 0: Memory at fdfff800 (32-bit, non-prefetchable) [size=512]
Region 1: I/O ports at d400 [size=256]
Region 2: Memory at fc800000 (32-bit, non-prefetchable) [size=8M]
Region 3: Memory at fdf40000 (32-bit, non-prefetchable) [size=256K]
Kernel driver in use: divas
02:0f.0 PCI bridge [0604]: Pericom Semiconductor PCI to PCI Bridge [12d8:8150] (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 32 bytes
Bus: primary=02, secondary=03, subordinate=03, sec-latency=64
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: fe000000-febfffff
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
03:03.0 RAID bus controller [0104]: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID [13c1:1001] (rev 01)
Subsystem: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID [13c1:1001]
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (2250ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: I/O ports at ec00 [size=16]
Region 1: Memory at febffc00 (32-bit, non-prefetchable) [size=16]
Region 2: Memory at fe000000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at febe0000 [disabled] [size=64K]
Kernel driver in use: 3w-xxxx
03:06.0 Ethernet controller [0200]: VIA Technologies, Inc. VT86C100A [Rhine] [1106:3043] (rev 06)
Subsystem: D-Link System Inc DFE-530TX PCI Fast Ethernet Adapter (rev. A) [1186:1400]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (29500ns min, 38000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 19
Region 0: I/O ports at e880 [size=128]
Region 1: Memory at febff800 (32-bit, non-prefetchable) [size=128]
Expansion ROM at febd0000 [disabled] [size=64K]
Kernel driver in use: via-rhine
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Pentium(R) Dual-Core CPU E5700 @ 3.00GHz
stepping : 10
microcode : 0xa07
cpu MHz : 2992.648
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : 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 ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 5985.29
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Pentium(R) Dual-Core CPU E5700 @ 3.00GHz
stepping : 10
microcode : 0xa07
cpu MHz : 2992.648
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : 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 ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 5985.29
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
NOTE!: the lsmod-stated "diva.*" modules are from the drivers suite. Module "diva_mtpx.ko" is not yet loaded.
# lsmod
Module Size Used by
divas 239480 0
diva_idi 56477 0
divacapi 405998 0
divadidd 82841 4 divas,diva_
xt_tcpudp 12756 22
iptable_filter 12706 1
ip_tables 18051 1 iptable_filter
x_tables 22456 3 ip_tables,
i915 710018 2
gpio_ich 13229 0
coretemp 13195 0
video 18903 1 i915
drm_kms_helper 48868 1 i915
kvm_intel 132651 0
kvm 388316 1 kvm_intel
drm 244037 3 i915,drm_kms_helper
i2c_algo_bit 13197 1 i915
serio_raw 13230 0
lpc_ich 16864 0
shpchp 32128 0
lp 13299 0
parport 40836 1 lp
via_rhine 27653 0
3w_xxxx 30066 2
r8169 61562 0
mii 13654 2 r8169,via_rhine
pata_acpi 12886 0
Trying to manually load the problematic module "diva_mtpx.ko" built under and running as "3.13.0-
# insmod /usr/lib/
Segmentation fault
# strace insmod /usr/lib/
execve(
brk(0) = 0xb8853000
access(
mmap2(NULL, 4096, PROT_READ|
access(
open("/
fstat64(3, {st_mode=
mmap2(NULL, 15, PROT_READ|
close(3) = 0
open("/
read(3, "\177ELF\
fstat64(3, {st_mode=
mmap2(NULL, 8280, PROT_READ|
mmap2(0xb7798000, 8192, PROT_READ|
close(3) = 0
munmap(0xb779a000, 15) = 0
open("/
fstat64(3, {st_mode=
mmap2(NULL, 24397, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7791000
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat64(3, {st_mode=
mmap2(NULL, 1772156, PROT_READ|
mmap2(0xb778b000, 12288, PROT_READ|
mmap2(0xb778e000, 10876, PROT_READ|
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat64(3, {st_mode=
mmap2(NULL, 16512, PROT_READ|
mmap2(0xb75de000, 8192, PROT_READ|
close(3) = 0
mmap2(NULL, 4096, PROT_READ|
set_thread_
mprotect(
mprotect(
mprotect(
mprotect(
mprotect(
munmap(0xb7791000, 24397) = 0
brk(0) = 0xb8853000
brk(0xb8874000) = 0xb8874000
uname({sys="Linux", node="MACHINES_
open("/
read(3, "BOOT_IMAGE=
read(3, "", 4012) = 0
close(3) = 0
stat64(
open("/
fstat64(3, {st_mode=
mmap2(NULL, 682104, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7534000
finit_module(0x3, 0xb77dc317, 0 <unfinished ...>
+++ killed by SIGSEGV +++
Segmentation fault
Output of kernel log afterwards
# dmesg
(....)
[ 7449.209569] ------------[ cut here ]------------
[ 7449.209609] kernel BUG at /build/
[ 7449.209654] invalid opcode: 0000 [#1] SMP
[ 7449.209685] Modules linked in: divas(OX) diva_idi(OX) divacapi(OX) divadidd(OX) xt_tcpudp iptable_filter ip_tables x_tables gpio_ich coretemp joydev i915 mac_hid kvm_intel kvm video drm_kms_helper drm serio_raw shpchp i2c_algo_bit lpc_ich lp parport hid_generic usbhid hid r8169 via_rhine pata_acpi mii 3w_xxxx
[ 7449.209926] CPU: 0 PID: 1806 Comm: insmod Tainted: G OX 3.13.0-141-generic #190-Ubuntu
[ 7449.209974] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./To be filled by O.E.M., BIOS 080015 11/18/2008
[ 7449.210034] task: f5ca6800 ti: f1dda000 task.ti: f1dda000
[ 7449.210063] EIP: 0060:[<c1015795>] EFLAGS: 00010216 CPU: 0
[ 7449.210100] EIP is at apply_alternati
[ 7449.210128] EAX: 00000003 EBX: 00000003 ECX: 0c00e3bd EDX: 00000500
[ 7449.210161] ESI: 00000003 EDI: f947fcbd EBP: f1ddbe40 ESP: f1ddbcfc
[ 7449.210194] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 7449.210223] CR0: 8005003b CR2: 0805d822 CR3: 0787c000 CR4: 000407f0
[ 7449.210256] Stack:
[ 7449.210270] c19af1c0 000202d2 00000000 000002d2 f1ddbdc4 c112daeb c19afd00 00000002
[ 7449.210336] 00000141 f947fcc8 00000000 1447fb5d 9947fb4a ae0f0000 f19066f0 00000000
[ 7449.210401] f94c6024 f1ddbd48 c10c32d0 f1ddbd68 c13093a5 f94c6024 fa7a21e5 00000001
[ 7449.210465] Call Trace:
[ 7449.210485] [<c112daeb>] ? __alloc_
[ 7449.210520] [<c10c32d0>] ? cmp_name+0x10/0x20
[ 7449.210548] [<c13093a5>] ? bsearch+0x45/0x70
[ 7449.210573] [<c10c3454>] ? find_symbol_
[ 7449.210605] [<c10c32c0>] ? __module_
[ 7449.210637] [<c10c3420>] ? mod_find_
[ 7449.210668] [<c10c3ea4>] ? each_symbol_
[ 7449.210705] [<c10c32d0>] ? cmp_name+0x10/0x20
[ 7449.210732] [<c13093a5>] ? bsearch+0x45/0x70
[ 7449.210756] [<c10c3454>] ? find_symbol_
[ 7449.210788] [<c10c32c0>] ? __module_
[ 7449.210818] [<c1141201>] ? pcpu_free_
[ 7449.210850] [<c10c3420>] ? mod_find_
[ 7449.210880] [<c10c3f0c>] ? each_symbol_
[ 7449.210910] [<c10c42d1>] ? check_version.
[ 7449.210945] [<c10425e4>] module_
[ 7449.210976] [<c10c748e>] load_module+
[ 7449.211007] [<c10c8235>] SyS_finit_
[ 7449.211037] [<c113e43b>] ? vm_mmap_
[ 7449.211066] [<c166f08d>] sysenter_
[ 7449.211094] Code: 00 00 00 8d 85 f4 fe ff ff 89 8d e8 fe ff ff c6 85 f2 fe ff ff eb e8 fb fb ff ff b8 02 00 00 00 8b 8d e8 fe ff ff e9 0f ff ff ff <0f> 0b 0f 0b 85 c9 0f 84 63 fe ff ff 8b 85 ec fe ff ff c7 04 24
[ 7449.211369] EIP: [<c1015795>] apply_alternati
[ 7449.272622] ---[ end trace fc61485e8ab7fa04 ]---
(....)
An Example of a successful module load, built under and running as "3.13.0-
# uname -a
Linux MACHINES_HOSTNAME 3.13.0-137-generic #186-Ubuntu SMP Mon Dec 4 19:12:26 UTC 2017 i686 i686 i686 GNU/Linux
# strace insmod /usr/lib/
execve(
brk(0) = 0xb8a51000
access(
mmap2(NULL, 4096, PROT_READ|
access(
open("/
fstat64(3, {st_mode=
mmap2(NULL, 15, PROT_READ|
close(3) = 0
open("/
read(3, "\177ELF\
fstat64(3, {st_mode=
mmap2(NULL, 8280, PROT_READ|
mmap2(0xb7783000, 8192, PROT_READ|
close(3) = 0
munmap(0xb7785000, 15) = 0
open("/
fstat64(3, {st_mode=
mmap2(NULL, 24340, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb777c000
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat64(3, {st_mode=
mmap2(NULL, 1772156, PROT_READ|
mmap2(0xb7776000, 12288, PROT_READ|
mmap2(0xb7779000, 10876, PROT_READ|
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat64(3, {st_mode=
mmap2(NULL, 16512, PROT_READ|
mmap2(0xb75c9000, 8192, PROT_READ|
close(3) = 0
mmap2(NULL, 4096, PROT_READ|
set_thread_
mprotect(
mprotect(
mprotect(
mprotect(
mprotect(
munmap(0xb777c000, 24340) = 0
brk(0) = 0xb8a51000
brk(0xb8a72000) = 0xb8a72000
uname({sys="Linux", node="MACHINES_
open("/
read(3, "BOOT_IMAGE=
read(3, "", 4012) = 0
close(3) = 0
stat64(
open("/
fstat64(3, {st_mode=
mmap2(NULL, 682104, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb751f000
finit_module(0x3, 0xb77c7317, 0) = 0
munmap(0xb751f000, 682104) = 0
close(3) = 0
exit_group(0) = ?
+++ exited with 0 +++
After all modules are loaded successfully, it results in:
# lsmod | grep -i div
Divatty 346051 0
divacapi 405998 2
diva_mtpx 542952 0
diva_idi 56477 4
divas 239480 0
divadidd 78745 7 divas,diva_
### Manufacturer URLs:
The cards are "Dialogic Corporation Diva PRI/E1-30 PCI(e) v3", which may be looked up here
https:/
Diva System Release is available for download here
https:/
NOTE: Just recognized, when preparing the URLs for this ticket:
There is a notification popping up saying that the Diva Card Product Series were shifted to a company called Sangoma Technologies by mid of Jan 2018, but the download does still work.
In the meantime I will try and figure out if there is more recent software available at Sangoma Technologies and update my results here.
Thanks for having a look into this
Best Regards,
Michael
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1746713
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.