gr-gsm icon indicating copy to clipboard operation
gr-gsm copied to clipboard

grgsm_scanner: no results, kernel driver loops over deattach/reattach

Open blackbit42 opened this issue 4 years ago • 3 comments

Hi

I am on Debian 11/amd64 with gr-gsm installed via apt. kalibrate-rtl works as expected. grgsm_scanner seems to be stuck in a loop. Or is this behavior expected? At any rate, it produces no results.

I am not sure how to debug this.

$ grgsm_scanner --args=rtl=0 -b DCS1800 -v -g 40 --debug

Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
^Cterminate called after throwing an instance of 'boost::thread_interrupted'
Aborted

blackbit42 avatar Feb 10 '21 16:02 blackbit42

grgsm_scanner seems to be stuck in a loop. Or is this behavior expected?

The loop is expected as it scans over all frequencies of the selected band -b DCS1800. The process is not fast so wait patiently until it finishes.

Found Elonics E4000 tuner

You have an Elonics tuner so the DCS1800 band should be supported. Just make sure that in the country and region where you live there are active GSM cells in this band.

In case you are testing inside of a big building try moving near a window or outside if possible.

velichkov avatar May 05 '21 14:05 velichkov

Indeed, it finishes after 3 minutes. I ran into this issue, but that was easy to overcome.

However, no results are being printed. I know there are multiple DCS1800 operators here though. What could be wrong?


Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
Args= rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR
Detached kernel driver
Found Elonics E4000 tuner
Exact sample rate is: 2000000.052982 Hz
Allocating 15 zero-copy buffers
Reattached kernel driver
313.38user 12.73system 2:59.43elapsed 181%CPU (0avgtext+0avgdata 497092maxresident)k
0inputs+12464outputs (37795major+81552minor)pagefaults 0swaps```

blackbit42 avatar May 18 '21 16:05 blackbit42

know there are multiple DCS1800 operators here though.

How do you know that?

What could be wrong?

Does it find cells in the default GSM900 band? Do you have a suitable antenna? Have you tried near a window or outside? Have you tried with a different gain setting?

  -g GAIN, --gain=GAIN  Set gain [default=24.0]

velichkov avatar May 19 '21 07:05 velichkov