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