Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Stuck at 'bind failed' with driver drxvi314.ko loaded and apparently working.
- Here are the latest status messages.
- I need expert interpretation of the resulting messages regarding
- a. drxvi314.ko status
- b. FATAL ERROR: Listen socket bind failed.
- Please.
- Code pasted from here on.
- Test 09/07/13:
- modprobe -a /lib/modules/3.8.0-29-generic/drxvi314
- file 'not found'.
- insmod inserts driver.
- dmesg after insertion of driver drxvi314:
- sudo dmesg -c|tail - 55
- ==> standard input <==
- [ 7055.424420] hub 1-3:1.0: unable to enumerate USB device on port 1
- [ 7055.736250] usb 1-3.1: new high-speed USB device number 8 using ehci-pci
- [ 7055.829099] usb 1-3.1: New USB device found, idVendor=198f, idProduct=0220
- [ 7055.829109] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
- [ 7055.829116] usb 1-3.1: Product: BCSM250 Mobile WiMAX
- [ 7055.829122] usb 1-3.1: Manufacturer: Beceem Communications
- [ 7055.829127] usb 1-3.1: SerialNumber: SCG9001305
- tail: cannot open ‘55’ for reading: No such file or directory
- Then:
- picocom turned on, set to =2.
- 4G power light not on.
- insmod /lib/modules/3.8.0-29-generic/drxvi314.ko
- inserts driver and turns on red power light on 4G. <-------
- dmesg:
- sudo dmesg -c|tail -70
- [ 7218.527833] beceem_parse_target_struct:DDR Setting: 3
- [ 7218.527836]
- [ 7218.527840] beceem_parse_target_struct:Enabling Auto Firmware Download
- [ 7218.527843]
- [ 7218.527848] beceem_parse_target_struct:HarqCat5Enable : 0x101
- [ 7218.527851]
- [ 7218.527854] beceem_parse_target_struct:HarqCat5Enable : 0x0
- [ 7218.527857]
- [ 7218.527861] beceem_parse_target_struct:MIPSConfig : 0x0
- [ 7218.527864]
- [ 7218.527867] beceem_parse_target_struct:PMU MODE: 0
- [ 7218.527871] beceem_parse_target_struct:bDisableFastFlashWrite:0
- [ 7218.527875] beceem_parse_target_struct:uiEEPROMFlag : 0x2
- [ 7218.527878]
- [ 7218.527882] beceem_parse_target_struct:Power Save Mode: 0
- [ 7218.527885]
- [ 7218.527888] doPowerAutoCorrection:PMU selected ....
- [ 7218.527892] beceem_parse_target_struct:LinkUp Config : 0x3
- [ 7218.527895]
- [ 7218.529685] updateWriteProtectedRegister:Value read from Reg: 0xf000c00 is 0x1f4062
- [ 7218.529685]
- [ 7218.529693] updateWriteProtectedRegister:Register 0xf000c00 restored successfully, with value 0x1f4062 !!
- [ 7218.529697]
- [ 7218.529701] updateWriteProtectedRegister:Tried to restore Reg: 0xf000c00, 0 times
- [ 7218.529701]
- [ 7218.529706] Bcm_kill_all_URBs:Cancelling All Submitted TX Urbs
- [ 7218.529709]
- [ 7218.529722] Bcm_kill_all_URBs:Cancelling All submitted Rx Urbs
- [ 7218.529725]
- [ 7218.529738]
- [ 7218.529738] <<<<No of tries in the tx side:0>>>
- [ 7218.529743]
- [ 7218.529743] <<<<No of tries in the Rx side:0>>>
- [ 7218.529748] Bcm_kill_all_URBs:TCB: used- 0 cur-0
- [ 7218.529751]
- [ 7218.529755] Bcm_kill_all_URBs:RCB: used- 0 cur-0
- [ 7218.529758]
- [ 7218.529761] reset_card_proc:Reseting UMA-B
- [ 7218.529764]
- [ 7218.529770] ====================>
- [ 7218.604194] usb 1-3.1: reset high-speed USB device number 8 using ehci-pci
- [ 7218.696664] Do Post chip reset setting here if it is requiredddr_init:Register Count is =48
- [ 7218.717896]
- [ 7218.731889] InitCardAndDownloadFirmware:CFG file downloaded
- [ 7218.737638]
- [ 7218.737638] /tmp/kde-peter/ark4hkewN/drxvi314-source/Common/nvm.c:ReadMacAddressFromNVM:441:Buffer dump of size 0x6 in the HEX:
- [ 7218.737647] F4 63 49 07 27 9D
- [ 7218.737658] register_networkdev:Registering netdevice notifier
- [ 7218.737661]
- [ 7218.737672] register_networkdev:BCM Notifier got Registered
- [ 7218.753020] bcm_notify_event:Register RefCount: 7
- [ 7218.753027]
- [ 7218.754355] register_networkdev:Beceem Network device name is eth1!
- [ 7218.754863] bcm_open:======>
- [ 7218.814687] ReadLEDInformationFromEEPROM:GPIO's bit map correspond to LED :0xA000
- [ 7218.834120] ReadLEDInformationFromEEPROM:SPIO's bit map correspond to LED :0x0
- [ 7218.838666] open_firmware_file:Got file descriptor pointer of /lib/firmware/macxvi350.bin!
- [ 7218.838677] BcmFileDownload:Opened file is = /lib/firmware/macxvi350.bin and length =0x2084a0 to be downloaded at =0xbfc00000
- [ 7218.838683] BcmFileDownload:download start f9d68799
- [ 7219.280673] InterfaceFileDownload:Got end of file!
- [ 7219.547258] InterfaceFileReadbackFromChip:Got end of file!
- [ 7219.547274] BcmFileDownload:file download done at f9d68a5e
- [ 7219.547280] InitCardAndDownloadFirmware:BIN file downloaded
- [ 7219.557420] device_run:Sending first interrupt URB down......
- [ 7219.557945] device_run:Got the mailbox interrupt ...Registering control interface...
- [ 7219.557945]
- [ 7219.564288] register_control_device_interface:Got Major No: 249
- [ 7219.564400] usbbcm_device_probe:Enabling USB Auto-Suspend
- [ 7219.564405]
- [ 7219.564491] usbcore: registered new interface driver usbbcm
- peter@pjj:~$
- We have been there before. But:
- wimaxd and wimaxc -i give the usual error info.
- Summary of errors:
- "message queue initialized.
- Process messages thread started successfully.
- Changed state to: Library initialized
- FATAL ERROR: Listen socket bind failed <------------------
- Timer Periodic Action thread has started.
- Timer Check Timeouts thread has started.
- Timer Check Timeouts thread has started."
- Checking for open ports:
- peter@pjj:~$ lsof -i
- COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
- firefox 2893 peter 71u IPv4 103542 0t0 TCP pjj.local:57929->lax02s19-in-f21.1e100.net:https (ESTABLISHED)
- wimaxd 27278 peter 5u IPv4 165308 0t0 TCP localhost:5200 (LISTEN)
- chromium- 28413 peter 66u IPv4 180993 0t0 TCP pjj.local:60899->lax04s09-in-f5.1e100.net:http (ESTABLISHED)
- chromium- 28413 peter 113u IPv4 181013 0t0 TCP pjj.local:56254->lax02s20-in-f15.1e100.net:http (ESTABLISHED)
- For more listings check as root:
- sudo lsof -i
- [sudo] password for peter:
- COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
- avahi-dae 905 avahi 13u IPv4 10184 0t0 UDP *:mdns
- avahi-dae 905 avahi 14u IPv6 10185 0t0 UDP *:mdns
- avahi-dae 905 avahi 15u IPv4 10186 0t0 UDP *:35377
- avahi-dae 905 avahi 16u IPv6 10187 0t0 UDP *:56540
- cupsd 923 root 9u IPv6 23521 0t0 TCP ip6-localhost:ipp (LISTEN)
- cupsd 923 root 10u IPv4 23522 0t0 TCP localhost:ipp (LISTEN)
- cups-brow 984 root 6u IPv6 11536 0t0 TCP ip6-localhost:40185->ip6-localhost:ipp (CLOSE_WAIT)
- dnsmasq 1496 nobody 4u IPv4 12233 0t0 UDP pjj:domain
- dnsmasq 1496 nobody 5u IPv4 12234 0t0 TCP pjj:domain (LISTEN)
- master 2317 root 12u IPv4 13288 0t0 TCP *:smtp (LISTEN)
- master 2317 root 13u IPv6 13289 0t0 TCP *:smtp (LISTEN)
- firefox 2893 peter 71u IPv4 103542 0t0 TCP pjj.local:57929->lax02s19-in-f21.1e100.net:https (ESTABLISHED)
- dhclient 22099 root 6u IPv4 102879 0t0 UDP *:bootpc
- dhclient 22099 root 20u IPv4 102840 0t0 UDP *:22716
- dhclient 22099 root 21u IPv6 102847 0t0 UDP *:33797
- wimaxd 27278 peter 5u IPv4 165308 0t0 TCP localhost:5200 (LISTEN)
- chromium- 28413 peter 113u IPv4 181013 0t0 TCP pjj.local:56254->lax02s20-in-f15.1e100.net:http (ESTABLISHED)
- Can anyone interpret this last part for me, please?
- wimaxd part that shows something listening on 5200 default port.
- I need to get past this failure to bind.
- A long time ago on one of my first attempts I actually did. wimaxd/wimaxc searched.
- Any help solving this impasse.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement