Guest

Preview Tool

Cisco Bug: CSCvv09849 - Need to fix klm_stat_fpga improper clean up when the module fails to load and causing kernel dump.

Last Modified

Sep 08, 2020

Products (1)

  • Cisco ASR 9000 Series Aggregation Services Routers

Known Affected Releases

7.3.1.BASE

Description (partial)

Release-note

Symptom:
On Pot+10C card, while the card is booting up, there is a kernel dump with the below signature and card goes for reload and comes back up fine: BUG: 

unable to handle kernel paging request at 00000000dddddded

Conditions:
As part of card reload trigger - while card is coming up, we see below logs from the kernel dump logs:

[   60.894161] pcieport 0000:04:00.0: BAR 14: can't assign mem (size 0x18000000)
[   60.894165] pcieport 0000:05:04.0: BAR 15: can't assign mem pref (size 0x1000
[   60.894167] pcieport 0000:05:01.0: BAR 15: can't assign mem pref (size 0x1400
[   60.894168] pcieport 0000:05:04.0: BAR 14: can't assign mem (size 0x100000)
[   60.894170] pci 0000:06:00.0: BAR 2: can't assign mem pref (size 0x800000)
[   60.894170] pci 0000:06:00.1: BAR 2: can't assign mem pref (size 0x800000)
[   60.894171] pci 0000:06:00.0: BAR 0: can't assign mem pref (size 0x8000)
[   60.894172] pci 0000:06:00.1: BAR 0: can't assign mem pref (size 0x8000)
[   60.894174] pci 0000:09:00.0: BAR 0: can't assign mem pref (size 0x10000000)
[   60.894175] pci 0000:09:00.0: BAR 2: can't assign mem (size 0x10000)

[   62.202255] BUG: unable to handle kernel paging request at 00000000dddddded
[   62.210034] IP: [<ffffffff9059ae69>] uio_free_minor.isra.5+0x19/0x40
[   62.217138] PGD 0
[   62.219384] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[   62.224456] OBFL DIE_OOPS handler
[   62.228251] Modules linked in: klm_stats_fpga(O+) linux_bcm_knet(O) linux_uselm_isan_kthread(O)
[   62.247599] EMON: tx timer OOPS in progress
[   62.250929] EMON: tx timer OOPS in progress
[   62.258433]  klm_cctrli(PO)
[   62.261551]  klm_i2c_stub(O) klm_sdwrap(O) klm_kpss(PO) klm_tlv(PO) klm_sse(Ofilter ip_tables ubifs x86_pkg_temp_thermal linux_kernel_bde(PO) lpc_ich klm_db_
[   62.295692] CPU: 11 PID: 13575 Comm: udevd Tainted: P        W  O 3.14.23-WR7
[   62.300936] EMON: rx timer OOPS in progress
[   62.300936] EMON: rx timer OOPS in progress
[   62.314738] Hardware name: Insyde Grangeville/Type2 - Board Product Name1, BI
[   62.325330] task: ffff880808dd9840 ti: ffff880816e90000 task.ti: ffff880816e9
[   62.333681] RIP: 0010:[<ffffffff9059ae69>]  [<ffffffff9059ae69>] uio_free_min
[   62.343497] RSP: 0018:ffff880816e93b50  EFLAGS: 00010246
[   62.349429] RAX: ffff880808dd9840 RBX: 00000000dddddded RCX: 0000000000000000
[   62.357398] RDX: ffffffffc112cea8 RSI: ffff88081b5d7000 RDI: ffffffff90cac5e0
[   62.365369] RBP: ffff880816e93b58 R08: ffff88081b5d72f0 R09: ffff88081d8d3138
[   62.373339] R10: 0000000000000000 R11: ffff88084ac3ae00 R12: ffff88081d8d3000
[   62.381301] R13: ffff88081b5d7000 R14: ffff88081b5d7000 R15: ffffffffc112e300
[   62.389270] FS:  00007fa7ea611800(0000) GS:ffff88084bf60000(0000) knlGS:00000
[   62.398309] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   62.404724] CR2: 00000000dddddded CR3: 000000080e95a000 CR4: 00000000003407e0
[   62.412693] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   62.420664] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   62.428633] Stack:
[   62.430872]  00000000dddddddd ffff880816e93b70 ffffffff9059aeb0 ffff88081d8d3
[   62.439152]  ffff880816e93b98 ffffffffc112754f ffff88081d8d3000 ffff88081d8d3
[   62.447433]  ffff88081d8d3520 ffff880816e93c20 ffffffffc112a305 ffff880807595
[   62.455708] Call Trace:
[   62.458436]  [<ffffffff9059aeb0>] uio_unregister_device+0x20/0x50
[   62.465244]  [<ffffffffc112754f>] unmap_bars+0x6f/0x90 [klm_stats_fpga]
[   62.472635]  [<ffffffffc112a305>] probe+0xa45/0xc80 [klm_stats_fpga]
[   62.479740]  [<ffffffff90390e74>] pci_device_probe+0x84/0xf0
[   62.486061]  [<ffffffff9041e0b0>] driver_probe_device+0x90/0x3e0
[   62.492770]  [<ffffffff9041e4cb>] __driver_attach+0x8b/0x90
[   62.498993]  [<ffffffff9041e440>] ? __device_attach+0x40/0x40
[   62.505413]  [<ffffffff9041bf1b>] bus_for_each_dev+0x6b/0xb0
[   62.511733]  [<ffffffff9041dc0e>] driver_attach+0x1e/0x20
[   62.517761]  [<ffffffff9041d6e0>] bus_add_driver+0x180/0x250
[   62.524082]  [<ffffffffc1132000>] ? 0xffffffffc1131fff
[   62.529819]  [<ffffffff9041e954>] driver_register+0x64/0xf0
[   62.536033]  [<ffffffffc1132000>] ? 0xffffffffc1131fff
[   62.541769]  [<ffffffff9039044b>] __pci_register_driver+0x4b/0x50
[   62.548575]  [<ffffffffc113205c>] xdma_init+0x5c/0x70 [klm_stats_fpga]
[   62.555860]  [<ffffffff90000312>] do_one_initcall+0xd2/0x190
[   62.562182]  [<ffffffff90093f52>] ? __blocking_notifier_call_chain+0x52/0x60
[   62.570058]  [<ffffffff900dc3e0>] load_module+0x1f90/0x2420
[   62.576283]  [<ffffffff900d7fd0>] ? store_uevent+0x40/0x40
[   62.582410]  [<ffffffff900d8771>] ? copy_module_from_fd.isra.35+0x111/0x170
[   62.590185]  [<ffffffff900dc9e6>] SyS_finit_module+0x86/0xb0
[   62.596506]  [<ffffffff907c646b>] tracesys+0xdd/0xe2
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.