This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X: GobiNet errors



Dear TI

i am using GobiNet.ko provided by sierra wireless module for MC7455 modem

v03.03  29-Mar-2017  Linux  v4.4.41 
when i load the module i can see this BUG
———————
 81683] BUG: scheduling while atomic: GobiNetThread:0/718/0x00000004                                 
[  212.788523] Modules linked in: GobiNet(O) usbnet GobiSerial(O) usbserial musb_dsps musb_hdrc udc_core usbcore pru_rproc pruss_intc pm33xx snd_soc_simple_card wkup_m3_ipc ecb
[  212.922800] CPU: 0 PID: 718 Comm: GobiNetThread:0 Tainted: G        W  O    4.4.41-gf9f6f0db2d #1                                                                            
[  212.931759] Hardware name: Generic AM33XX (Flattened Device Tree)                                                                                                            
[  212.937898] Backtrace:                                                                                                                                                       
[  212.940388] [<c0013508>] (dump_backtrace) from [<c0013704>] (show_stack+0x18/0x1c)               
[  212.948005]  r7:c0928ac0 r6:00000000 r5:c09271c8 r4:00000000                              0x9c/0x460 [GobiNet])
[  212.953731] [<c00136ec>] (show_stack) from [<c02a8aa8>] (dump_stack+0x24/0x28)    f80
[  212.960992] [<c02a8a84>] (dump_stack) from [<c0051dec>] (__schedule_bug+0x54/0x64)
[  212.968615] [<c0051d98>] (__schedule_bug) from [<c0675bf4>] (__schedule+0x548/0x610)/0xf4)
[  212.976409]  r5:c09271c8 r4:dc59c000                                                                                                                                         
[  212.980011] [<c06756ac>] (__schedule) from [<c0675d10>] (schedule+0x54/0xc4)                                                                                                 
[  212.887098]  r10:00000000 r9:c0928ac0 r8:ffffe000 r7:c0928ac0 r6:c0929300 r5:db481c9c            
[  212.894997]  r4:db480000                                                             
[  212.897548] [<c0675cbc>] (schedule) from [<c0678c68>] (schedule_timeout+0x138/0x1d0) sb_hdrc udc_core usbcore pru_rproc pruss_intc pm33xx snd_soc_simple_card wkup_m3_ipc ecb
[  213.005333]  r5:db481c9c r4:ffffde29                                                 9f6f0db2d #1
[  213.008935] [<c0678b30>] (schedule_timeout) from [<c067691c>] (wait_for_common+0xe0/0x1c4)
[  213.017242]  r10:00000000 r9:00000000 r8:000001f4 r7:db481d38 r6:00000000 r5:00000002     
[  213.025142]  r4:db480000                                                                  
[  213.027691] [<c067683c>] (wait_for_common) from [<c0676a30>] (wait_for_completion_timeout+0x14/0x18)
[  213.036870]  r7:db481d7c r6:00000000 r5:db481d38 r4:db398400                                        
[  213.042834] [<c0676a1c>] (wait_for_completion_timeout) from [<bf0a74d8>] (usb_start_wait_urb+0x70/0xc4 [usbcore])
[  213.053331] [<bf0a7468>] (usb_start_wait_urb [usbcore]) from [<bf0a75d8>] (usb_control_msg+0xac/0xdc [usbcore])  
[  213.063482]  r8:0000000a r7:dc761800 r6:db0a55c0 r5:0000000c r4:db0a54c0                                         
[  213.070401] [<bf0a752c>] (usb_control_msg [usbcore]) from [<bf1b85c8>] (Gobi_usb_control_msg+0x6c/0xac [GobiNet])
[  212.980727]  r10:fffff790 r9:bf1c6f80 r8:db3c4164 r7:db0a55c0 r6:0000000c r5:0000000c                            
[  212.988628]  r4:0000000a                                                                                         
[  212.991227] [<bf1b855c>] (Gobi_usb_control_msg [GobiNet]) from [<bf1b99f8>] (WriteSync+0x238/0x4a4 [GobiNet])    
[  213.101193]  r5:0000000a r4:db3c4000                                                                         
[  213.104856] [<bf1b97c0>] (WriteSync [GobiNet]) from [<bf1bdcfc>] (QMIReady+0x120/0x5c4 [GobiNet])            
[  213.113795]  r10:0000000c r9:db0a55c0 r8:00000002 r7:00000002 r6:db480000 r5:00000000                            
[  213.121685]  r4:db3c4000                                                                                         
[  213.124298] [<bf1bdbdc>] (QMIReady [GobiNet]) from [<bf1bfce0>] (RegisterQMIDevice+0x198/0x6b8 [GobiNet])      
[  213.133917]  r10:00000000 r9:00000000 r8:db480018 r7:00000001 r6:00000001 r5:00000000                            
[  213.141804]  r4:db3c4000                                                                                         
[  213.144413] [<bf1bfb48>] (RegisterQMIDevice [GobiNet]) from [<bf1b2ba4>] (thread_function+0x9c/0x460 [GobiNet])
[  213.154553]  r10:00000000 r9:00000000 r8:00000000 r7:dc761804 r6:db3c5000 r5:bf1c6f80                          
[  213.162447]  r4:db3c4000                                                                                       ])
[  213.065030] [<bf1b2b08>] (thread_function [GobiNet]) from [<c004d95c>] (kthread+0xdc/0xf4)                     
[  213.073340]  r8:00000000 r7:bf1b2b08 r6:db3c4000 r5:db425c40 r4:00000000                         
[  213.080103] [<c004d880>] (kthread) from [<c000fab8>] (ret_from_fork+0x14/0x3c)            38/0x4a4 [GobiNet])
[  213.187364]  r7:00000000 r6:00000000 r5:c004d880 r4:db425c40 
———————
[  222.862626] BUG: scheduling while atomic: GobiNetThread:0/713/0x00000004
[  223.322364] BUG: scheduling while atomic: GobiNetThread:0/718/0x00000005
[  223.662351] BUG: scheduling while atomic: GobiNetThread:0/713/0x00000005
[  224.132352] BUG: scheduling while atomic: GobiNetThread:0/718/0x00000006
[  224.472594] BUG: scheduling while atomic: GobiNetThread:0/713/0x00000006
[  224.952355] BUG: scheduling while atomic: GobiNetThread:0/718/0x00000004
[  225.272421] BUG: scheduling while atomic: GobiNetThread:0/713/0x00000004
[  225.792336] BUG: scheduling while atomic: GobiNetThread:0/718/0x00000005
[  226.131294] BUG: scheduling while atomic: GobiNetThread:0/713/0x00000005
[  226.695286] BUG: scheduling while atomic: GobiNetThread:0/718/0x00000003
[  226.985183] BUG: scheduling while atomic: GobiNetThread:0/713/0x00000003
[  303.852566] BUG: scheduling while atomic: swapper/0/0x00000002
[  304.982373] BUG: scheduling while atomic: swapper/0/0x00000002
[  305.995363] BUG: scheduling while atomic: swapper/0/0x00000002
[  316.982348] BUG: scheduling while atomic: swapper/0/0x00000002
[  317.973882] BUG: scheduling while atomic: swapper/0/0x00000002
[  349.979069] BUG: scheduling while atomic: swapper/0/0x00000002
[  350.969077] BUG: scheduling while atomic: swapper/0/0x00000002
[  414.238439] BUG: scheduling while atomic: swapper/0/0x00000002
[  414.978442] BUG: scheduling while atomic: swapper/0/0x00000002
[  543.013579] BUG: scheduling while atomic: swapper/0/0x00000002
[  543.993703] BUG: scheduling while atomic: swapper/0/0x00000002
[  800.100602] BUG: scheduling while atomic: swapper/0/0x00000002
[  800.990649] BUG: scheduling while atomic: rngd/570/0x00000002
 
 
 
but the same GobiNet works fine on other devices like raspberry pi, SolidRun by NXP
and by the way GobiNet drivers are standard drivers given by Sierra wireless modem 
i have attached the source code for the sierra wireless modem please see
 
can you please help why is this BUG
 
Regards
Nick