Advertisement
Guest User

drxvi314 working but stuck on failing bind.

a guest
Sep 7th, 2013
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. Stuck at 'bind failed' with driver drxvi314.ko loaded and apparently working.
  2. Here are the latest status messages.
  3. I need expert interpretation of the resulting messages regarding
  4. a. drxvi314.ko status
  5. b. FATAL ERROR: Listen socket bind failed.
  6. Please.
  7.  
  8. Code pasted from here on.
  9.  
  10. Test 09/07/13:
  11.  
  12. modprobe -a /lib/modules/3.8.0-29-generic/drxvi314
  13. file 'not found'.
  14.  
  15. insmod inserts driver.
  16.  
  17. dmesg after insertion of driver drxvi314:
  18.  
  19. sudo dmesg -c|tail - 55
  20. ==> standard input <==
  21. [ 7055.424420] hub 1-3:1.0: unable to enumerate USB device on port 1
  22. [ 7055.736250] usb 1-3.1: new high-speed USB device number 8 using ehci-pci
  23. [ 7055.829099] usb 1-3.1: New USB device found, idVendor=198f, idProduct=0220
  24. [ 7055.829109] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  25. [ 7055.829116] usb 1-3.1: Product: BCSM250 Mobile WiMAX
  26. [ 7055.829122] usb 1-3.1: Manufacturer: Beceem Communications
  27. [ 7055.829127] usb 1-3.1: SerialNumber: SCG9001305
  28. tail: cannot open ‘55’ for reading: No such file or directory
  29.  
  30. Then:
  31. picocom turned on, set to =2.
  32. 4G power light not on.
  33.  
  34. insmod /lib/modules/3.8.0-29-generic/drxvi314.ko
  35. inserts driver and turns on red power light on 4G. <-------
  36.  
  37. dmesg:
  38. sudo dmesg -c|tail -70
  39. [ 7218.527833] beceem_parse_target_struct:DDR Setting: 3
  40. [ 7218.527836]
  41. [ 7218.527840] beceem_parse_target_struct:Enabling Auto Firmware Download
  42. [ 7218.527843]
  43. [ 7218.527848] beceem_parse_target_struct:HarqCat5Enable : 0x101
  44. [ 7218.527851]
  45. [ 7218.527854] beceem_parse_target_struct:HarqCat5Enable : 0x0
  46. [ 7218.527857]
  47. [ 7218.527861] beceem_parse_target_struct:MIPSConfig : 0x0
  48. [ 7218.527864]
  49. [ 7218.527867] beceem_parse_target_struct:PMU MODE: 0
  50. [ 7218.527871] beceem_parse_target_struct:bDisableFastFlashWrite:0
  51. [ 7218.527875] beceem_parse_target_struct:uiEEPROMFlag : 0x2
  52. [ 7218.527878]
  53. [ 7218.527882] beceem_parse_target_struct:Power Save Mode: 0
  54. [ 7218.527885]
  55. [ 7218.527888] doPowerAutoCorrection:PMU selected ....
  56. [ 7218.527892] beceem_parse_target_struct:LinkUp Config : 0x3
  57. [ 7218.527895]
  58. [ 7218.529685] updateWriteProtectedRegister:Value read from Reg: 0xf000c00 is 0x1f4062
  59. [ 7218.529685]
  60. [ 7218.529693] updateWriteProtectedRegister:Register 0xf000c00 restored successfully, with value 0x1f4062 !!
  61. [ 7218.529697]
  62. [ 7218.529701] updateWriteProtectedRegister:Tried to restore Reg: 0xf000c00, 0 times
  63. [ 7218.529701]
  64. [ 7218.529706] Bcm_kill_all_URBs:Cancelling All Submitted TX Urbs
  65. [ 7218.529709]
  66. [ 7218.529722] Bcm_kill_all_URBs:Cancelling All submitted Rx Urbs
  67. [ 7218.529725]
  68. [ 7218.529738]
  69. [ 7218.529738] <<<<No of tries in the tx side:0>>>
  70. [ 7218.529743]
  71. [ 7218.529743] <<<<No of tries in the Rx side:0>>>
  72. [ 7218.529748] Bcm_kill_all_URBs:TCB: used- 0 cur-0
  73. [ 7218.529751]
  74. [ 7218.529755] Bcm_kill_all_URBs:RCB: used- 0 cur-0
  75. [ 7218.529758]
  76. [ 7218.529761] reset_card_proc:Reseting UMA-B
  77. [ 7218.529764]
  78. [ 7218.529770] ====================>
  79. [ 7218.604194] usb 1-3.1: reset high-speed USB device number 8 using ehci-pci
  80. [ 7218.696664] Do Post chip reset setting here if it is requiredddr_init:Register Count is =48
  81. [ 7218.717896]
  82. [ 7218.731889] InitCardAndDownloadFirmware:CFG file downloaded
  83. [ 7218.737638]
  84. [ 7218.737638] /tmp/kde-peter/ark4hkewN/drxvi314-source/Common/nvm.c:ReadMacAddressFromNVM:441:Buffer dump of size 0x6 in the HEX:
  85. [ 7218.737647] F4 63 49 07 27 9D
  86. [ 7218.737658] register_networkdev:Registering netdevice notifier
  87. [ 7218.737661]
  88. [ 7218.737672] register_networkdev:BCM Notifier got Registered
  89. [ 7218.753020] bcm_notify_event:Register RefCount: 7
  90. [ 7218.753027]
  91. [ 7218.754355] register_networkdev:Beceem Network device name is eth1!
  92. [ 7218.754863] bcm_open:======>
  93. [ 7218.814687] ReadLEDInformationFromEEPROM:GPIO's bit map correspond to LED :0xA000
  94. [ 7218.834120] ReadLEDInformationFromEEPROM:SPIO's bit map correspond to LED :0x0
  95. [ 7218.838666] open_firmware_file:Got file descriptor pointer of /lib/firmware/macxvi350.bin!
  96. [ 7218.838677] BcmFileDownload:Opened file is = /lib/firmware/macxvi350.bin and length =0x2084a0 to be downloaded at =0xbfc00000
  97. [ 7218.838683] BcmFileDownload:download start f9d68799
  98. [ 7219.280673] InterfaceFileDownload:Got end of file!
  99. [ 7219.547258] InterfaceFileReadbackFromChip:Got end of file!
  100. [ 7219.547274] BcmFileDownload:file download done at f9d68a5e
  101. [ 7219.547280] InitCardAndDownloadFirmware:BIN file downloaded
  102. [ 7219.557420] device_run:Sending first interrupt URB down......
  103. [ 7219.557945] device_run:Got the mailbox interrupt ...Registering control interface...
  104. [ 7219.557945]
  105. [ 7219.564288] register_control_device_interface:Got Major No: 249
  106. [ 7219.564400] usbbcm_device_probe:Enabling USB Auto-Suspend
  107. [ 7219.564405]
  108. [ 7219.564491] usbcore: registered new interface driver usbbcm
  109. peter@pjj:~$
  110.  
  111. We have been there before. But:
  112. wimaxd and wimaxc -i give the usual error info.
  113.  
  114. Summary of errors:
  115. "message queue initialized.
  116. Process messages thread started successfully.
  117. Changed state to: Library initialized
  118. FATAL ERROR: Listen socket bind failed <------------------
  119. Timer Periodic Action thread has started.
  120. Timer Check Timeouts thread has started.
  121. Timer Check Timeouts thread has started."
  122.  
  123. Checking for open ports:
  124.  
  125. peter@pjj:~$ lsof -i
  126. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
  127. firefox 2893 peter 71u IPv4 103542 0t0 TCP pjj.local:57929->lax02s19-in-f21.1e100.net:https (ESTABLISHED)
  128. wimaxd 27278 peter 5u IPv4 165308 0t0 TCP localhost:5200 (LISTEN)
  129. chromium- 28413 peter 66u IPv4 180993 0t0 TCP pjj.local:60899->lax04s09-in-f5.1e100.net:http (ESTABLISHED)
  130. chromium- 28413 peter 113u IPv4 181013 0t0 TCP pjj.local:56254->lax02s20-in-f15.1e100.net:http (ESTABLISHED)
  131.  
  132.  
  133. For more listings check as root:
  134. sudo lsof -i
  135. [sudo] password for peter:
  136. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
  137. avahi-dae 905 avahi 13u IPv4 10184 0t0 UDP *:mdns
  138. avahi-dae 905 avahi 14u IPv6 10185 0t0 UDP *:mdns
  139. avahi-dae 905 avahi 15u IPv4 10186 0t0 UDP *:35377
  140. avahi-dae 905 avahi 16u IPv6 10187 0t0 UDP *:56540
  141. cupsd 923 root 9u IPv6 23521 0t0 TCP ip6-localhost:ipp (LISTEN)
  142. cupsd 923 root 10u IPv4 23522 0t0 TCP localhost:ipp (LISTEN)
  143. cups-brow 984 root 6u IPv6 11536 0t0 TCP ip6-localhost:40185->ip6-localhost:ipp (CLOSE_WAIT)
  144. dnsmasq 1496 nobody 4u IPv4 12233 0t0 UDP pjj:domain
  145. dnsmasq 1496 nobody 5u IPv4 12234 0t0 TCP pjj:domain (LISTEN)
  146. master 2317 root 12u IPv4 13288 0t0 TCP *:smtp (LISTEN)
  147. master 2317 root 13u IPv6 13289 0t0 TCP *:smtp (LISTEN)
  148. firefox 2893 peter 71u IPv4 103542 0t0 TCP pjj.local:57929->lax02s19-in-f21.1e100.net:https (ESTABLISHED)
  149. dhclient 22099 root 6u IPv4 102879 0t0 UDP *:bootpc
  150. dhclient 22099 root 20u IPv4 102840 0t0 UDP *:22716
  151. dhclient 22099 root 21u IPv6 102847 0t0 UDP *:33797
  152. wimaxd 27278 peter 5u IPv4 165308 0t0 TCP localhost:5200 (LISTEN)
  153. chromium- 28413 peter 113u IPv4 181013 0t0 TCP pjj.local:56254->lax02s20-in-f15.1e100.net:http (ESTABLISHED)
  154.  
  155. Can anyone interpret this last part for me, please?
  156. wimaxd part that shows something listening on 5200 default port.
  157.  
  158. I need to get past this failure to bind.
  159. A long time ago on one of my first attempts I actually did. wimaxd/wimaxc searched.
  160. Any help solving this impasse.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement