All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Anoop P.A." <Anoop_P.A@pmc-sierra.com>
To: <linux-mips@linux-mips.org>
Subject: blast_dcache32 problem with PREEMPT kernel
Date: Fri, 26 Feb 2010 03:41:34 -0800	[thread overview]
Message-ID: <A7DEA48C84FD0B48AAAE33F328C020140497CB0F@BBY1EXM11.pmc_nt.nt.pmc-sierra.bc.ca> (raw)
In-Reply-To: <6ec4247d1002251934h2168a03fqdcb8e6f0132aa547@mail.gmail.com>

Hi list,

I am hitting following bug with CONFIG_PREEMP enabled VSMP kernel (
2.6.24) compiled for mips34K core.


BUG: using smp_processor_id() in preemptible [00000001] code:
usb-storage/190
caller is blast_dcache32+0x30/0x25c
Call Trace:
[<8012f338>] vprintk+0x2e8/0x584
[<8012f354>] vprintk+0x304/0x584
[<801111a0>] blast_dcache32+0x30/0x25c
[<80387d5c>] debug_smp_processor_id+0xcc/0xe0
[<801111a0>] blast_dcache32+0x30/0x25c
[<80387d5c>] debug_smp_processor_id+0xcc/0xe0
[<801111a0>] blast_dcache32+0x30/0x25c
[<8010d9e4>] dma_map_sg+0x128/0x144
[<80410a84>] urb_destroy+0x0/0x38
[<801827b0>] kfree+0x8c/0x20c
[<80411944>] usb_sg_init+0x310/0x324
[<8042a708>] usb_stor_bulk_transfer_sg+0xd0/0x174
[<8042a914>] usb_stor_Bulk_transport+0x168/0x324
[<80121a94>] enqueue_entity+0xcc/0x130
[<8042a3f4>] usb_stor_invoke_transport+0x38/0x27c
[<80149ee8>] remove_wait_queue+0x1c/0x60
[<8054568c>] _spin_unlock_irqrestore+0x24/0x44
[<805425fc>] __down_interruptible+0x144/0x1e4
[<801239f0>] default_wake_function+0x0/0x8
[<8042bd58>] usb_stor_control_thread+0x268/0x320
[<801497c0>] kthread+0x0/0xa4
[<80149800>] kthread+0x40/0xa4
[<801241d8>] complete+0x4c/0x6c
[<8042baf0>] usb_stor_control_thread+0x0/0x320
[<80149818>] kthread+0x58/0xa4
[<8010476c>] kernel_thread_helper+0x10/0x18

Any pointers to debug this / fix this will be greatly appreciated.

Thanking you,

Anoop

WARNING: multiple messages have this Message-ID (diff)
From: "Anoop P.A." <Anoop_P.A@pmc-sierra.com>
To: linux-mips@linux-mips.org
Subject: blast_dcache32 problem with PREEMPT kernel
Date: Fri, 26 Feb 2010 03:41:34 -0800	[thread overview]
Message-ID: <A7DEA48C84FD0B48AAAE33F328C020140497CB0F@BBY1EXM11.pmc_nt.nt.pmc-sierra.bc.ca> (raw)
Message-ID: <20100226114134.6SrenCvnQvDWc8UbMGzrJ_98GZYDZXGe6GrrJFBCsCY@z> (raw)
In-Reply-To: <6ec4247d1002251934h2168a03fqdcb8e6f0132aa547@mail.gmail.com>

Hi list,

I am hitting following bug with CONFIG_PREEMP enabled VSMP kernel (
2.6.24) compiled for mips34K core.


BUG: using smp_processor_id() in preemptible [00000001] code:
usb-storage/190
caller is blast_dcache32+0x30/0x25c
Call Trace:
[<8012f338>] vprintk+0x2e8/0x584
[<8012f354>] vprintk+0x304/0x584
[<801111a0>] blast_dcache32+0x30/0x25c
[<80387d5c>] debug_smp_processor_id+0xcc/0xe0
[<801111a0>] blast_dcache32+0x30/0x25c
[<80387d5c>] debug_smp_processor_id+0xcc/0xe0
[<801111a0>] blast_dcache32+0x30/0x25c
[<8010d9e4>] dma_map_sg+0x128/0x144
[<80410a84>] urb_destroy+0x0/0x38
[<801827b0>] kfree+0x8c/0x20c
[<80411944>] usb_sg_init+0x310/0x324
[<8042a708>] usb_stor_bulk_transfer_sg+0xd0/0x174
[<8042a914>] usb_stor_Bulk_transport+0x168/0x324
[<80121a94>] enqueue_entity+0xcc/0x130
[<8042a3f4>] usb_stor_invoke_transport+0x38/0x27c
[<80149ee8>] remove_wait_queue+0x1c/0x60
[<8054568c>] _spin_unlock_irqrestore+0x24/0x44
[<805425fc>] __down_interruptible+0x144/0x1e4
[<801239f0>] default_wake_function+0x0/0x8
[<8042bd58>] usb_stor_control_thread+0x268/0x320
[<801497c0>] kthread+0x0/0xa4
[<80149800>] kthread+0x40/0xa4
[<801241d8>] complete+0x4c/0x6c
[<8042baf0>] usb_stor_control_thread+0x0/0x320
[<80149818>] kthread+0x58/0xa4
[<8010476c>] kernel_thread_helper+0x10/0x18

Any pointers to debug this / fix this will be greatly appreciated.

Thanking you,

Anoop

  reply	other threads:[~2010-02-26 11:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25  6:28 [PATCH 0/3] XBurst JZ4730 support Graham Gower
2010-02-25  6:29 ` [PATCH 1/3] Add " Graham Gower
2010-02-25  6:30 ` [PATCH 2/3] 8250: serial driver changes for XBurst SoCs Graham Gower
2010-02-25  6:31 ` [PATCH 3/3] net: add driver for JZ4730 ethernet controller Graham Gower
2010-02-25  7:52 ` [PATCH 0/3] XBurst JZ4730 support Florian Fainelli
2010-02-25 21:12   ` Graham Gower
2010-02-26  1:51     ` Lars-Peter Clausen
2010-02-26  3:34       ` Graham Gower
2010-02-26 11:41         ` Anoop P.A. [this message]
2010-02-26 11:41           ` blast_dcache32 problem with PREEMPT kernel Anoop P.A.

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=A7DEA48C84FD0B48AAAE33F328C020140497CB0F@BBY1EXM11.pmc_nt.nt.pmc-sierra.bc.ca \
    --to=anoop_p.a@pmc-sierra.com \
    --cc=linux-mips@linux-mips.org \
    /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.