From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: Linux kernel 2.6.35 webcam issue
Date: Mon, 18 Apr 2011 10:23:22 +0000 [thread overview]
Message-ID: <20110418102322.GK32457@linux-sh.org> (raw)
In-Reply-To: <35FC1A56EEC91A42A0EB92079193ED8D0335279D@ASISML10.asia-idc.local>
On Tue, Apr 12, 2011 at 09:39:47AM +0800, Feng Yang wrote:
> Hi
> I have trouble in load uvc(USB Video Class) driver on SH platform.
> I build kernel config option as below.
> <*> USB Gadget Support --->
> <M> USB Gadget Drivers
> <M> USB Webcam Gadget
>
> #insmod /lib/modules/2.6.35/kernel/drivers/usb/gadget/g_webcam.ko
> I insert USB cable form webcam, then I get error message as below.
> The webcam brand is "Logitech C270"
>
> ------------[ cut here ]------------
> kernel BUG at mm/slab.c:3058!
> Kernel BUG: 003e [#1]
> last sysfs file: /sys/class/usb_device/usbdev1.2/dev
> Modules linked in: g_webcam
>
> Pid : 193, Comm: khubd
> CPU : 0 Not tainted (2.6.35 #4)
>
> PC : 88065038 SP : 97051dd8 SR : 400081f1 TEA : c000f7ec
> R0 : 970032e8 R1 : 97195cc0 R2 : 0000000c R3 : 00000001
> R4 : 97001420 R5 : 000000d0 R6 : 970032e8 R7 : ffffffff
> R8 : 97001420 R9 : 9700b1a0 R10 : 000000d0 R11 : 00000000
> R12 : 970032e0 R13 : 970032f0 R14 : 00000000
> MACH: 00000010 MACL: 1bb01000 GBR : 00000000 PR : 880653e2
>
> Call trace:
> [<880653e2>] 0x880653e2
> [<8817f08a>] 0x8817f08a
> [<8817dc8e>] 0x8817dc8e
> [<8817dd32>] 0x8817dd32
> [<881773a2>] 0x881773a2
> [<88177aa4>] 0x88177aa4
> [<88177d66>] 0x88177d66
> [<88178f6e>] 0x88178f6e
> [<8810d462>] 0x8810d462
> [<8802791c>] 0x8802791c
> [<88027622>] 0x88027622
> [<88178790>] 0x88178790
> [<88003e92>] 0x88003e92
> [<880275cc>] 0x880275cc
> [<88003e8c>] 0x88003e8c
>
You've unfortunately not enabled debug info, so this backtrace is useless
without the corresponding System.map.
If you're able to reproduce this, you may wish to rebuild with both
CONFIG_DEBUG_INFO and CONFIG_DEBUG_BUGVERBOSE set, and post the more
detailed log.
In any event, 2.6.35 is a very old kernel, so you can save yourself a lot
of trouble by testing a new kernel and seeing if the problem persists --
backporting fixes is always less work than debugging something that has
already been debugged!
prev parent reply other threads:[~2011-04-18 10:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-12 1:39 Linux kernel 2.6.35 webcam issue Feng Yang
2011-04-13 17:33 ` Magnus Damm
2011-04-14 4:50 ` Feng Yang
2011-04-14 13:50 ` Magnus Damm
2011-04-18 10:23 ` Paul Mundt [this message]
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=20110418102322.GK32457@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).