Repository for using Microchip EVB-KSZ9477 board. Product Supported: KSZ9477, KSZ9567, KSZ9897, KSZ9896, KSZ8567, KSZ8565, KSZ9893, KSZ9563, KSZ8563, LAN9646, Phys(KSZ9031/9131, LAN8770
76
stars
78
forks
source link
BUG: Bad page state in process irq/109-spi1.0 when using IBA register access #47
Open
danglin44 opened 4 years ago
The following kernel backtrace is sometimes triggered on telnet/ssh login:
BUG: Bad page state in process irq/109-spi1.0 pfn:2e8e8 page:cffccd00 count:-1 mapcount:0 mapping: (null) index:0x0 flags: 0x0() page dumped because: nonzero _count Modules linked in: CPU: 0 PID: 600 Comm: irq/109-spi1.0 Not tainted 4.9.234 #1 Hardware name: Atmel SAMA5 [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (bad_page+0xe8/0x14c)
[] (bad_page) from [] (get_page_from_freelist+0x758/0x894)
[] (get_page_from_freelist) from [] (alloc_pages_nodemask+0xb0/0xa44)
[] ( alloc_pages_nodemask) from [] (alloc_page_frag+0x94/0x174)
[] ( alloc_page_frag) from [] (netdev_alloc_skb+0x64/0x108)
[] ( netdev_alloc_skb) from [] (gem_rx_refill+0x94/0x1b8)
[] (gem_rx_refill) from [] (gem_rx+0x25c/0x2bc)
[] (gem_rx) from [] (macb_poll+0x44/0xf4)
[] (macb_poll) from [] (net_rx_action+0x1c8/0x2b0)
[] (net_rx_action) from [] (do_softirq+0xd8/0x1f4)
[] (__do_softirq) from [] ( handle_domain_irq+0x58/0xa8)
[] (handle_domain_irq) from [] ( irq_svc+0x6c/0x90)
[] (__irq_svc) from [] (schedule_timeout+0xd8/0x148)
[] (schedule_timeout) from [] (wait_for_common+0x80/0x118)
[] (wait_for_common) from [] (iba_reqs+0x150/0x1c8)
[] (iba_reqs) from [] (iba_r+0x9c/0xdc)
[] (iba_r) from [] (iba_r8+0x18/0x20)
[] (iba_r8) from [] (sw_change+0x518/0x668)
[] (sw_change) from [] (sw_interrupt+0x1c/0x24)
[] (sw_interrupt) from [] (irq_thread_fn+0x1c/0x5c)
[] (irq_thread_fn) from [] (irq_thread+0x114/0x170)
[] (irq_thread) from [] (kthread+0xf4/0x10c)
[] (kthread) from [] (ret_from_fork+0x14/0x24)
Disabling lock debugging due to kernel taint
Haven't seen it with iba=0.
The error suggests a double free or something similar.