Feng Yang | 12 Apr 03:39 2011

Linux kernel 2.6.35 webcam issue

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
(Continue reading)

Magnus Damm | 13 Apr 19:33 2011
Picon

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 <at> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Feng Yang | 14 Apr 06:50 2011

RE: Linux kernel 2.6.35 webcam issue

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 <at> gmail.com] 
Sent: Thursday, April 14, 2011 1:34 AM
To: Feng Yang
Cc: linux-sh <at> 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 <at> 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
>
(Continue reading)

Magnus Damm | 14 Apr 15:50 2011
Picon

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 <at> 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 <at> 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
--
(Continue reading)

Paul Mundt | 18 Apr 12:23 2011

Re: Linux kernel 2.6.35 webcam issue

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
(Continue reading)


Gmane