RE: mx35, gadget, fsl_usb2_udc: link breaks down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Fabio,

Below is fixed by:

commit c5cc5ed86667d4ae74fe40ee4ed893f4b46aba05
Author: Peter Chen <peter.chen@xxxxxxxxxxxxx>
Date:   Thu Feb 16 09:36:25 2012 +0800

    usb: fsl_udc_core: Fix scheduling while atomic dump message
    
    When loading g_ether gadget, there is below message:

The fix has already been in mainline.


Best regards,
Peter Chen


> -----Original Message-----
> From: Fabio Estevam [mailto:festevam@xxxxxxxxx]
> Sent: Tuesday, April 10, 2012 2:34 AM
> To: Chen Peter-B29397
> Cc: Christoph Fritz; Felipe Balbi; Li Yang-R58472; Sascha Hauer; Uwe
> Kleine-König; Hans J. Koch; Daniel Mack; Ido Shayevitz; Estevam Fabio-
> R49496; linux-usb
> Subject: Re: mx35, gadget, fsl_usb2_udc: link breaks down
> 
> On Sun, Apr 8, 2012 at 9:47 AM, Chen Peter-B29397 <B29397@xxxxxxxxxxxxx>
> wrote:
> 
> > I have no available hardware on hand, I am not sure if Fabio can help
> > you test at freescale 3DS board to see if it exists at freescale's
> hardware?
> 
> Just tried it on a 3.3 kernel and I got:
> 
> g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
> BUG: scheduling while atomic: swapper/0/0/0x40010000
> Modules linked in:
> 
> Pid: 0, comm:            swapper/0
> CPU: 0    Not tainted  (3.3.0+ #480)
> PC is at imx3_idle+0x7c/0x80
> LR is at cpu_idle+0xa8/0xe8
> pc : [<80019f60>]    lr : [<8000fb0c>]    psr: 60000013
> sp : 80515f80  ip : 80515f90  fp : 80515f8c
> r10: 803d2f80  r9 : 4117b363  r8 : 8052eed8
> r7 : 00000000  r6 : 803d4d60  r5 : 80554608  r4 : 80514000
> r3 : 00c5387d  r2 : 80515f80  r1 : 00000000  r0 : 00000000
> Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
> Control: 00c5387d  Table: 80004008  DAC: 00000017
> Backtrace:
> [<80012250>] (dump_backtrace+0x0/0x10c) from [<803cf580>]
> (dump_stack+0x18/0x1c)
>  r7:00000000 r6:80514000 r5:8052def8 r4:80515f38
> [<803cf568>] (dump_stack+0x0/0x1c) from [<8000feb4>] (show_regs+0x44/0x50)
> [<8000fe70>] (show_regs+0x0/0x50) from [<8004c914>]
> (__schedule_bug+0x68/0x84)
>  r5:8052def8 r4:80515f38
> [<8004c8ac>] (__schedule_bug+0x0/0x84) from [<803d123c>]
> (__schedule+0x4b0/0x528
> )
>  r5:8052def8 r4:806acd00
> [<803d0d8c>] (__schedule+0x0/0x528) from [<803d136c>]
> (_cond_resched+0x44/0x58)
> [<803d1328>] (_cond_resched+0x0/0x58) from [<800a966c>]
> (dma_pool_alloc+0x208/0x
> 224)
>  r5:87961b00 r4:8798bf00
> [<800a9464>] (dma_pool_alloc+0x0/0x224) from [<802a71fc>]
> (fsl_req_to_dtd+0xac/0
> x180)
> [<802a7150>] (fsl_req_to_dtd+0x0/0x180) from [<802a7408>]
> (fsl_ep_queue+0x138/0x
> 288)
> [<802a72d0>] (fsl_ep_queue+0x0/0x288) from [<802ae040>]
> (rx_submit+0xdc/0x194)
> [<802adf64>] (rx_submit+0x0/0x194) from [<802ae178>] (rx_fill+0x80/0xa4)
> [<802ae0f8>] (rx_fill+0x0/0xa4) from [<802ae1f8>] (eth_start+0x14/0x40)
>  r9:8795fb18 r8:00000000 r7:0000000a r6:878db410 r5:87868900
> r4:878db400
> [<802ae1e4>] (eth_start+0x0/0x40) from [<802ae3a8>]
> (gether_connect+0x184/0x1dc)
>  r5:87868900 r4:878db400
> [<802ae224>] (gether_connect+0x0/0x1dc) from [<802ae81c>]
> (ecm_set_alt+0x13c/0x1
> 94)
>  r9:8795fb18 r8:00000001 r7:00000001 r6:8796e0c0 r5:00000001
> r4:87868900
> [<802ae6e0>] (ecm_set_alt+0x0/0x194) from [<802acb5c>]
> (composite_setup+0x160/0x
> fac)
>  r7:00000001 r6:8795fa00 r5:8796e0c0 r4:87961c00
> [<802ac9fc>] (composite_setup+0x0/0xfac) from [<802a82ec>]
> (fsl_udc_irq+0x8dc/0x
> d24)
> [<802a7a10>] (fsl_udc_irq+0x0/0xd24) from [<800705cc>]
> (handle_irq_event_percpu+
> 0x54/0x188)
> [<80070578>] (handle_irq_event_percpu+0x0/0x188) from [<80070748>]
> (handle_irq_e
> vent+0x48/0x68)
> [<80070700>] (handle_irq_event+0x0/0x68) from [<80073504>]
> (handle_level_irq+0xb
> 4/0x140)
>  r5:80517dd4 r4:80517d80
> [<80073450>] (handle_level_irq+0x0/0x140) from [<80070078>]
> (generic_handle_irq+
> 0x38/0x44)
>  r7:00000025 r6:80512b1c r5:8052b860 r4:80514000
> [<80070040>] (generic_handle_irq+0x0/0x44) from [<8000f4c4>]
> (handle_IRQ+0x54/0x
> b4)
> [<8000f470>] (handle_IRQ+0x0/0xb4) from [<8000861c>]
> (avic_handle_irq+0x34/0x54)
>  r9:4117b363 r8:8052eed8 r7:80515f6c r6:0000ffff r5:80515f38
> r4:80554bd4
> [<800085e8>] (avic_handle_irq+0x0/0x54) from [<8000e680>]
> (__irq_svc+0x40/0x60)
> Exception stack(0x80515f38 to 0x80515f80)
> 5f20:                                                       00000000
> 00000000
> 5f40: 80515f80 00c5387d 80514000 80554608 803d4d60 00000000 8052eed8
> 4117b363
> 5f60: 803d2f80 80515f8c 80515f90 80515f80 8000fb0c 80019f60 60000013
> ffffffff
>  r7:80515f6c r6:ffffffff r5:60000013 r4:80019f60
> [<80019ee4>] (imx3_idle+0x0/0x80) from [<8000fb0c>] (cpu_idle+0xa8/0xe8)
> [<8000fa64>] (cpu_idle+0x0/0xe8) from [<803c41c0>] (rest_init+0x64/0x7c)
>  r9:4117b363 r8:80004008 r7:8052eecc r6:ffffffff r5:80509af8
> r4:8052b6c0
> [<803c415c>] (rest_init+0x0/0x7c) from [<804dc850>]
> (start_kernel+0x258/0x29c)
> [<804dc5f8>] (start_kernel+0x0/0x29c) from [<80008044>] (0x80008044)
>  r6:80509ac8 r5:8052b040 r4:00c5387d
> ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
> .., OK

��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



B and H Foto and Electronics Corp.

[Linux Media]     [Video for Linux]     [Linux Input]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]     [More Archives]

Add to Google Powered by Linux