All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernard Pidoux <bpidoux@free.fr>
To: Jarek Poplawski <jarkao2@gmail.com>
Cc: Francois Romieu <romieu@fr.zoreil.com>,
	Linux Netdev List <netdev@vger.kernel.org>,
	Jarek Poplawski <jarkao2@o2.pl>
Subject: Re: [AX25] kernel panic
Date: Thu, 20 Mar 2008 23:58:35 +0100	[thread overview]
Message-ID: <47E2EC1B.9070405@free.fr> (raw)
In-Reply-To: <20080320073021.GA4037@ff.dom.local>


Jarek Poplawski wrote:
> On Wed, Mar 19, 2008 at 09:57:18PM +0100, Bernard Pidoux wrote:
> ...
>> I also tried to revert Jarek's mkiss ax_bump() patch, but this did not  
>> prevent
>> kernel lockup, although this time swapper is involved and not ax25ipd.
> ...
>> BUG: unable to handle kernel paging request at virtual address 6b6b6c2b
>> printing eip: c013fc67 *pde = 00000000
>> Oops: 0002 [#1] SMP
> 
> Well, the rest looks very similarly and not trivial... Probably a
> socket is destructed too soon (or something...). Could you try to
> reproduce this with some debugging turned off, e.g.:
> CONFIG_DEBUG_LOCK_ALLOC, CONFIG_DEBUG_PAGEALLOC, (CONFIG_SLUB_DEBUG?).
> 
> Regards,
> Jarek P.

I recompiled the kernel after turning off the above options.
However there is still a kernel panic documented below.
Does it help ?

Bernard Pidoux



BUG: spinlock bad magic on CPU#0, swapper/0
BUG: unable to handle kernel paging request at virtual address 6b6b6c2f
printing eip: c01e730b *pde = 00000000
Oops: 0000 [#1] SMP
Modules linked in: rose netrom mkiss crc16 ax25 mga drm netconsole 
configfs nfsd exportfs nfs lockd nfs_acl sunrpc af_packet ipv6 
snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss 
snd_mixer_oss binfmt_misc loop usb_storage scsi_mod floppy usbhid 
snd_ens1371 snd_rawmidi snd_seq_device snd_ac97_codec snd_pcm snd_timer 
snd uhci_hcd intel_agp ne2k_pci ide_cd usbcore soundcore snd_page_alloc 
ac97_bus 8390 agpgart genrtc ext3 jbd ide_disk piix ide_core

Pid: 0, comm: swapper Not tainted (2.6.24.3 #8)
EIP: 0060:[<c01e730b>] EFLAGS: 00010002 CPU: 0
EIP is at spin_bug+0xdb/0xf0
EAX: 0000002f EBX: 6b6b6b6b ECX: 6b6b6b6b EDX: 00000082
ESI: c07e5a38 EDI: c0333633 EBP: c0379c78 ESP: c0379c54
  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process swapper (pid: 0, ti=c0378000 task=c0353340 task.ti=c0378000)
Stack: c0333724 c0333633 00000000 c0353509 00000000 00000010 c07e5a38 
00000001
        c7b8abb8 c0379cb0 c01e7409 c11448c8 c1147740 00000000 c11448c0 
c0379cb8
        c114775c c11448c8 c1147740 00000000 00000282 00000001 c7b8abb8 
c0379cbc
Call Trace:
  [<c010527a>] show_trace_log_lvl+0x1a/0x30
  [<c0105339>] show_stack_log_lvl+0xa9/0xd0
  [<c0105427>] show_registers+0xc7/0x1b0
  [<c010561a>] die+0x10a/0x230
  [<c0114855>] do_page_fault+0x2f5/0x600
  [<c02c039a>] error_code+0x72/0x78
  [<c01e7409>] _raw_spin_lock+0x69/0x140
  [<c02c01cc>] _spin_lock_irqsave+0xc/0x20
  [<c0117c9b>] __wake_up+0x1b/0x50
  [<c024badc>] sock_def_write_space+0x9c/0xc0
  [<c024bdcc>] sock_wfree+0x3c/0x50
  [<c024dfc7>] skb_release_all+0x57/0x130
  [<c024d75b>] __kfree_skb+0xb/0x90
  [<c024d7f9>] kfree_skb+0x19/0x40
  [<c8c49e33>] ax25_frames_acked+0x43/0x70 [ax25]
  [<c8c47a30>] ax25_check_iframes_acked+0x40/0x60 [ax25]
  [<c8c4949f>] ax25_std_frame_in+0x6af/0x890 [ax25]
  [<c8c46dbb>] ax25_kiss_rcv+0x2bb/0x7c0 [ax25]
  [<c02531eb>] netif_receive_skb+0x33b/0x420
  [<c0255c1b>] process_backlog+0x6b/0xd0
  [<c025573f>] net_rx_action+0xff/0x1a0
  [<c0122864>] __do_softirq+0x84/0x100
  [<c012291b>] do_softirq+0x3b/0x50
  [<c0122b69>] irq_exit+0x79/0x90
  [<c0106d46>] do_IRQ+0x46/0x80
  [<c0104c67>] common_interrupt+0x23/0x28
  [<c01025f6>] cpu_idle+0x76/0xa0
  [<c02bd8e9>] rest_init+0x49/0x50
  [<c037dd55>] start_kernel+0x2b5/0x330
  [<00000000>] 0x0
  =======================
Code: 00 64 8b 0d 08 f0 3a c0 89 44 24 0c 89 4c 24 08 89 54 24 10 89 7c 
24 04 c7 04 24 24 37 33 c0 e8 5c 6f f3 ff 85 db 8b 4e 08 74 83 <8b> 93 
c4 00 00 00 8d 83 c9 01 00 00 e9 7c ff ff ff 8d 74 26 00
EIP: [<c01e730b>] spin_bug+0xdb/0xf0 SS:ESP 0068:c0379c54
Kernel panic - not syncing: Fatal exception in interrupt
 


  reply	other threads:[~2008-03-20 22:58 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-18 10:44 [AX25] kernel panic Bernard Pidoux F6BVP
2008-03-18 21:25 ` Francois Romieu
2008-03-19  7:36   ` Bernard Pidoux F6BVP
2008-03-19 20:57     ` Bernard Pidoux
2008-03-20  7:30       ` Jarek Poplawski
2008-03-20 22:58         ` Bernard Pidoux [this message]
2008-03-21  0:28           ` Jarek Poplawski
2008-03-21  9:52             ` Bernard Pidoux
2008-03-21 11:22               ` Jarek Poplawski
2008-03-21  9:40           ` Bernard Pidoux
2008-03-22 11:36           ` Jarek Poplawski
2008-03-23 17:00             ` Bernard Pidoux
2008-03-24 20:51               ` Jarek Poplawski
2008-03-25 13:23                 ` Bernard Pidoux
2008-03-25 20:51                   ` Jarek Poplawski
2008-03-26 18:35                   ` Jarek Poplawski
2008-03-28  8:24                     ` Bernard Pidoux
2008-03-28  8:27                     ` Bernard Pidoux
2008-03-28 12:07                     ` Jarek Poplawski
2008-03-29 12:04                       ` Bernard Pidoux
2008-03-29 12:24                         ` Jarek Poplawski
2008-03-30  8:43                           ` Bernard Pidoux
2008-03-30  9:16                             ` Jarek Poplawski
2008-03-30 17:38                               ` Bernard Pidoux
2008-03-30 18:49                                 ` Jarek Poplawski
2008-03-30  9:00                           ` Bernard Pidoux
     [not found]                           ` <47EE38BA.9090500@free.fr>
     [not found]                             ` <20080329130451.GC3407@ami.dom.local>
     [not found]                               ` <47EF6479.7030702@free.fr>
     [not found]                                 ` <20080330115958.GA4975@ami.dom.local>
2008-04-01 20:37                                   ` Bernard Pidoux
2008-04-02  6:41                                     ` [ROSE/AX25] af_rose: rose_release() fix Jarek Poplawski
2008-04-02  6:56                                       ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2009-09-09 22:28 [AX25] kernel panic Bernard Pidoux
2009-09-11 19:21 ` Jarek Poplawski
2009-09-15 10:16   ` Bernard Pidoux
     [not found] ` <20090910142436.GB10547@linux-mips.org>
     [not found]   ` <4AA9288B.2070205@upmc.fr>
     [not found]     ` <20090911120557.GA12175@linux-mips.org>
2009-09-20  8:42       ` Bernard Pidoux
2009-09-20  9:09         ` f8arr
2009-09-20 21:02         ` Jarek Poplawski
2009-09-21  8:44           ` Bernard Pidoux
2009-09-21 20:11 Jarek Poplawski
2009-09-23 21:17 ` Bernard Pidoux F6BVP
2009-09-24  8:07   ` Jarek Poplawski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47E2EC1B.9070405@free.fr \
    --to=bpidoux@free.fr \
    --cc=jarkao2@gmail.com \
    --cc=jarkao2@o2.pl \
    --cc=netdev@vger.kernel.org \
    --cc=romieu@fr.zoreil.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.