linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux kernel 2.6.35 webcam issue
@ 2011-04-12  1:39 Feng Yang
  2011-04-13 17:33 ` Magnus Damm
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Feng Yang @ 2011-04-12  1:39 UTC (permalink / raw)
  To: linux-sh

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

Process: khubd (pid: 193, stack limit = 97050001)
Stack: (0x97051dd8 to 0x97052000)
1dc0:                                                       00000200
00000000
1de0: 97195d20 000000d0 880653e2 970c6418 00000009 000009a5 00000000
000000d0
1e00: 97001420 97001420 8817f08a 00000000 00000009 971fbc00 971fbc64
971fbc00
1e20: 80000380 00000012 00000012 8817dc8e 80000080 00000000 97195c61
971fbc00
1e40: 00000001 00000000 97195d20 00000100 00000000 97195c60 00000001
00001388
1e60: 00000000 971fbe7c 971fbdfc 971fbd3c 00000001 00000000 970c6400
fffffff4
1e80: 8817dd32 971fbc00 00000012 97195c60 881773a2 00000000 00000003
00000040
1ea0: 971fbc00 88336594 971fbc64 00000032 88177aa4 970c6418 970c6230
00000000
1ec0: 971fbc00 00000001 971fbc00 971fbc00 88177d66 00000001 971fbc64
971fbc00
1ee0: 88178f6e 00000001 970c6000 9712db60 8810d462 00000000 97111c1c
97111c1c
1f00: 970c6400 970c6207 970c6230 970c6000 970c6000 9712dbd1 00000000
00000401
1f20: 9712dbf0 9712db68 970c6098 9712db94 9712dba0 9712db9c 9712db98
00000000
1f40: 9707d160 8802791c 97051f48 97051f48 00000401 04010001 00000000
88027622
1f60: 00000000 00000000 00000000 00000000 88178790 00000000 9701ff28
00000000
1f80: 00000000 97051f84 97051f84 88003e92 00000000 00000000 00000000
00000000
1fa0: 00000000 00000000 00000000 00000000 00000000 9701ff28 880275cc
00000000
1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
1fe0: 97051fa4 88003e8c 00000000 40008000 00000000 00000000 00000000
00000000
---[ end trace 5b3af52b71c01a02 ]---
note: khubd[193] exited with preempt_count 1

Regards,
Feng

E-mail: feng.yang.xb@renesas.com
TEL:+886-2-81759685
FAX:+886-2-81759672
URL : http://tw.renesas.com 
Renesas Electronics Taiwan Co., Ltd. 
Engineering Centre Application, Engineering Department 1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Linux kernel 2.6.35 webcam issue
  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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Magnus Damm @ 2011-04-13 17:33 UTC (permalink / raw)
  To: linux-sh

Hi Feng Yang,

On Tue, Apr 12, 2011 at 10:39 AM, Feng Yang <feng.yang.xb@renesas.com> 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"

Which processor or board are you experiencing this on? Which gadget
driver? Maybe you are using the r866597 gadget driver? Any local
patches?

Please provide more information.

Thanks,

/ magnus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Linux kernel 2.6.35 webcam issue
  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
  3 siblings, 0 replies; 5+ messages in thread
From: Feng Yang @ 2011-04-14  4:50 UTC (permalink / raw)
  To: linux-sh

Hi Magnus Damm,

Thanks for your reply.
Following is my platform information.

Processor:SH7724
Platform: Renesas MS7724 platform
Gadget driver:R8A66597
No local patches.

Thanks
Feng

-----Original Message-----
From: Magnus Damm [mailto:magnus.damm@gmail.com] 
Sent: Thursday, April 14, 2011 1:34 AM
To: Feng Yang
Cc: linux-sh@vger.kernel.org
Subject: Re: Linux kernel 2.6.35 webcam issue

Hi Feng Yang,

On Tue, Apr 12, 2011 at 10:39 AM, Feng Yang <feng.yang.xb@renesas.com> 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"

Which processor or board are you experiencing this on? Which gadget
driver? Maybe you are using the r866597 gadget driver? Any local
patches?

Please provide more information.

Thanks,

/ magnus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Linux kernel 2.6.35 webcam issue
  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
  3 siblings, 0 replies; 5+ messages in thread
From: Magnus Damm @ 2011-04-14 13:50 UTC (permalink / raw)
  To: linux-sh

Hi Feng Yang,

> On Tue, Apr 12, 2011 at 10:39 AM, Feng Yang <feng.yang.xb@renesas.com> 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"

On Thu, Apr 14, 2011 at 1:50 PM, Feng Yang <feng.yang.xb@renesas.com> wrote:
> Following is my platform information.
>
> Processor:SH7724
> Platform: Renesas MS7724 platform
> Gadget driver:R8A66597
> No local patches.

Is this a special BSP kernel or is it 2.6.35 from kernel.org?

If you have time, please consider testing latest linux-2.6 git.

Thank you!

/ magnus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Linux kernel 2.6.35 webcam issue
  2011-04-12  1:39 Linux kernel 2.6.35 webcam issue Feng Yang
                   ` (2 preceding siblings ...)
  2011-04-14 13:50 ` Magnus Damm
@ 2011-04-18 10:23 ` Paul Mundt
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Mundt @ 2011-04-18 10:23 UTC (permalink / raw)
  To: linux-sh

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!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-18 10:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).