Skip to content

oscam keeps on crashing with Viasat (090F:0000) card and pcsc card reader

= Revision oscam-1.20-unstable_svn-r11065 on Linux chenbro 4.2.0-16-generic #19 (closed)-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

= Issue Description oscam keeps on crasching with following error message in syslog:

Oct 28 22:05:24 chenbro kernel: [259982.710351] wr04-myreader[24521]: segfault at 0 ip 000000000044c2b7 sp 00007f3a91a26700 error 4 in oscam-1.20-unstable_svn11065-x86_64-linux-gnu-ssl-pcsc.debug[400000+d8000]

= When the issue occurs just after start of oscam with Viasat (090F:0000) card in pcsc reader (OMNIKEY CardMan (076B:3021) and/or Gemalto PC Twin Reader (3BDEDD5E))

= Additional information untill yesterday I had no issues with oscam-1.00-unstable_svn4318-x86_64-pc-linux-pcsc-libusb-webif which ran up to my Ubuntu update to 15.10

pcsc_scan gives me following:

PC/SC device scanner V 1.4.24 (c) 2001-2011, Ludovic Rousseau ludovic.rousseau@free.fr Compiled with PC/SC lite version: 1.8.11 Using reader plug'n play mechanism Scanning present readers... 0: OMNIKEY CardMan (076B:3021) 3021 00 00 1: Gemalto PC Twin Reader (3BDEDD5E) 00 00

Wed Oct 28 22:19:22 2015 Reader 0: OMNIKEY CardMan (076B:3021) 3021 00 00 Card state: Card removed, Reader 1: Gemalto PC Twin Reader (3BDEDD5E) 00 00 Card state: Card inserted, ATR: 3F 7F 11 25 03 33 B0 09 69 FF 4A 50 70 00 00 56 54 01 00 00

ATR: 3F 7F 11 25 03 33 B0 09 69 FF 4A 50 70 00 00 56 54 01 00 00

  • TS = 3F --> Inverse Convention
  • T0 = 7F, Y(1): 0111, K: 15 (historical bytes) TA(1) = 11 --> Fi=372, Di=1, 372 cycles/ETU 10752 bits/s at 4 MHz, fMax for Fi = 5 MHz => 13440 bits/s TB(1) = 25 --> Programming Param P: 5 Volts, I: 1 milliamperes TC(1) = 03 --> Extra guard time: 3
  • Historical bytes: 33 B0 09 69 FF 4A 50 70 00 00 56 54 01 00 00 Category indicator byte: 33 (proprietary format)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt): 3F 7F 11 25 03 33 B0 09 69 FF 4A 50 70 00 00 56 54 01 00 00 Viasat Baltic (satellite card, NDS)