Bug 99411 - Kernel panic after internet access goes down
Summary: Kernel panic after internet access goes down
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86-64 Linux
: P1 blocking
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-03 14:31 UTC by Marco B
Modified: 2016-02-15 20:24 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.0.4-2
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Full log for the kernel panic (11.55 KB, text/plain)
2015-06-03 14:31 UTC, Marco B
Details

Description Marco B 2015-06-03 14:31:53 UTC
Created attachment 178711 [details]
Full log for the kernel panic

Sometimes during the night the internet connection is reset by the ISP, after some seconds Linux panics with the following:

BUG: unable to handle kernel paging request at ffffffffffffffd8
IP: [<ffffffff81093920>] kthread_data+0x10/0x20
Comment 1 Alexey Dobriyan 2015-06-10 10:17:18 UTC
ffffffffffffffd8 is -40 which is -ELOOP.
Comment 2 Alexey Dobriyan 2015-06-10 10:21:50 UTC
> ffffffffffffffd8 is -40 which is -ELOOP.

scratch that, I can't read


"<49> 8b 45 18" is "mov 0x18(%r13),%rax".

r13 is dead0000001000e8
Comment 3 Alexey Dobriyan 2015-06-10 10:38:29 UTC
l2cap_chan_del
__clear_chan_timer
l2cap_clear_timer
cancel_delayed_work returns !=0
    l2cap_chan_put
    l2cap_chan_destroy
    kfree(chan);
Comment 4 Alexey Dobriyan 2015-06-10 12:04:57 UTC
+0:     jmp    <+8>
+2:     nopl   (%rax)
+5:     mov    %rdx,%r13
+8:     mov    (%rax),%ebx
+10:    mov    -0x38(%rbp),%rcx
+14:    mov    %r14d,%edx
+17:    mov    %r15d,%esi
+20:    mov    %rax,%rdi
+23:    callq  *0x10(%rax)
+26:    test   %eax,%eax
+28:    je     <+41>
+30:    and    $0x1,%ebx
+33:    je     <+41>
+35:    subl   $0x1,-0x3c(%rbp)
+39:    je     <+61>
+41:    mov    0x18(%r13),%rax   <===
+45:    lea    0x18(%r13),%rcx
+49:    cmp    %rcx,%r12
+52:    lea    -0x18(%rax),%rdx
+56:    mov    %r13,%rax
+59:    jne    <+5>
Comment 5 Stephen Hemminger 2015-06-10 15:13:30 UTC
l2cap_chan_del is in bluetooth

Note You need to log in before you can comment on or make changes to this bug.