Hoppa till innehåll

Sökresultat Sökningen pågår Sökresultaten dyker upp här efterhand. Du kan fortsätta skriva om du vill begränsa sökningen.
Söker efter användare
Söker efter gallerier
Sök forumtrådar
Stäng

oscam + sasc-ng+ubuntu 11.04

5 svar till detta ämne
  • Vänligen logga in för att kunna svara

#1

Postad 26 juli 2011 - 21:21

bnl
  • bnl
  • Rookie

  • 5 inlägg
  • 0
Ok, försöker få igång cardsharing på ubuntu 11.04.
Lyckas sådär.
Skall ha igång mythtv igen, men vill även ha betalkanalerna...

Installerat
* sacs-ng Version: 0.0.2-3395d051a2c1+
* oscam version 1.20-unstable_svn, build #5730 (i686-pc-linux)

Har tänkt att skapa 3 virtuella adaptrar, men testar med 1, för
enkelhetens skull. Det är ett fire-dtv kort.

Hur vet man caid? har hittat 0500 på nätet men är
osäker på att det är rätt.

Tacksam för åsikter för att få igång det...

Oavsett hur jag gör får jag följande läge,
när jag ska testa med tzap:

bnl@tova:/usr/local/etc$ tzap -a1 -r tv6
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
reading channels from file '/home/bnl/.tzap/channels.conf'
^C
(hänger bara)

bnl@tova:/usr/local/etc$ tzap -a1 -f1 -r tv6
using '/dev/dvb/adapter1/frontend1' and '/dev/dvb/adapter1/demux0'
reading channels from file '/home/bnl/.tzap/channels.conf'
ERROR: failed opening '/dev/dvb/adapter1/frontend1' (Device or resource busy)

Ok, provar original adapter
bnl@tova:/usr/local/etc$ tzap -a0 -r tv6
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file '/home/bnl/.tzap/channels.conf'
ERROR: failed opening '/dev/dvb/adapter0/frontend0' (Device or resource busy)

dödar oscam och sacs-ng
bnl@tova:/usr/local/etc$ tzap -a0 -r tv6
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file '/home/bnl/.tzap/channels.conf'
tuning to 650000000 Hz
video pid 0x0437, audio pid 0x0436
status 1f | signal 5400 | snr 0101 | ber 0000438f | unc 00000000 | FE_HAS_LOCK
status 1f | signal fc00 | snr 0101 | ber 00000000 | unc b76befc0 | FE_HAS_LOCK
status 1f | signal fc00 | snr 0101 | ber 00000000 | unc b76befc0 | FE_HAS_LOCK
^C




Läge 1:
bnl@tova:/usr/local/etc$ ls -la /dev/dvb
totalt 0
drwxr-xr-x 4 root root 80 2011-07-26 12:52 .
drwxr-xr-x 21 root root 4380 2011-07-26 20:45 ..
drwxr-xr-x 2 root root 140 2011-07-26 10:42 adapter0

sudo modprobe dvbloopback

bnl@tova:/usr/local/etc$ ls -la /dev/dvb
totalt 0
drwxr-xr-x 4 root root 80 2011-07-26 12:52 .
drwxr-xr-x 21 root root 4380 2011-07-26 20:45 ..
drwxr-xr-x 2 root root 140 2011-07-26 10:42 adapter0
drwxr-xr-x 2 root root 280 2011-07-26 12:52 adapter1


bnl@tova:/usr/local/etc$ lsmod | head
Module Size Used by
dvbloopback 23302 0
cryptd 19801 0
aes_i586 16956 1
aes_generic 38023 1 aes_i586
binfmt_misc 13213 1
vboxnetadp 13323 0
vboxnetflt 27855 0
vboxdrv 219250 2 vboxnetadp,vboxnetflt
parport_pc 32111 0


startar oscam som root,
sudo oscam -b -d0

startar sacs-ng ssom root,
cd /usr/local/src/sc/contrib/sasc-ng
sudo LD_LIBRARY_PATH=/usr/local/src/sc/contrib/sasc-ng/sc/PLUGINS/lib/ \
./sasc-ng \
-j 0:1 \
--cam-budget \
--sid-allpid \
--sid-nocache \
-l /var/log/sacs-ng.log

oscam.log
[codebox]
-------------------------------------------------------------------------------
>> OSCam << cardserver started at Tue Jul 26 22:00:42 2011
-------------------------------------------------------------------------------
2011/07/26 22:00:42 97064A8 s >> OSCam << cardserver started, version 1.20-unstable_svn, build #5730 (i686-pc-linux)
2011/07/26 22:00:42 97064A8 s version=1.20-unstable_svn, build #5730, system=i686-pc-linux, nice=-1
2011/07/26 22:00:42 97064A8 s client max. idle=120 sec, debug level=0
2011/07/26 22:00:42 97064A8 s max. logsize=200 Kb, loghistorysize=4096 bytes
2011/07/26 22:00:42 97064A8 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
2011/07/26 22:00:42 97064A8 s services reloaded: 0 services freed, 1 services loaded, rejected 0
2011/07/26 22:00:42 97064A8 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2011/07/26 22:00:42 97064A8 s signal handling initialized (type=sysv)
2011/07/26 22:00:42 97064A8 s can&#39;t open file "/usr/local/etc/oscam.srvid" (err=2 No such file or directory), no service-id&#39;s loaded
2011/07/26 22:00:42 97064A8 s can&#39;t open file "/usr/local/etc/oscam.tiers" (err=2 No such file or directory), no tier-id&#39;s loaded
2011/07/26 22:00:42 97064A8 s 35 provid&#39;s loaded
2011/07/26 22:00:42 97064A8 s can&#39;t open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) irdeto guessing not loaded
2011/07/26 22:00:42 97064A8 s monitor: initialized (fd=6, port=8988)
2011/07/26 22:00:42 97064A8 s camd33: disabled
2011/07/26 22:00:42 97064A8 s camd35: disabled
2011/07/26 22:00:42 97064A8 s cs378x: disabled
2011/07/26 22:00:42 97064A8 s newcamd: initialized (fd=7, port=15000, crypted)
2011/07/26 22:00:42 97064A8 s -> CAID: 0500 PROVID: 000000
2011/07/26 22:00:42 97064A8 s radegast: disabled
2011/07/26 22:00:42 97064A8 s http thread started
2011/07/26 22:00:42 97064A8 s reader check thread started
2011/07/26 22:00:42 97064A8 s check thread started
2011/07/26 22:00:42 97064A8 s creating thread for device /dev/ttyUSB0
2011/07/26 22:00:42 97064A8 s loadbalancer: can&#39;t read from file /tmp/.oscam/stat
2011/07/26 22:00:42 97064A8 s waiting for local card init
2011/07/26 22:00:42 970ED28 h HTTP Server listening on port 8888
2011/07/26 22:00:45 9710528 r reader phoenix initialized (device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
2011/07/26 22:00:45 0 phoenix card detected
2011/07/26 22:00:50 9710528 r ATR: 3F 77 18 00 00 C2 47 40 00 68 90 00
2011/07/26 22:00:52 9710528 r Maximum frequency for this card is formally 5 Mhz, clocking it to 3.57 Mhz
2011/07/26 22:00:53 9710528 r [viaccess-reader] using ecm #506 for long viaccess ecm
2011/07/26 22:00:53 9710528 r type: Viaccess (standard atr), caid: 0500, serial: 3187331475
2011/07/26 22:00:54 9710528 r providers: 6 (FFF510,023200,023210,023220,023230,023240)
2011/07/26 22:00:54 9710528 r [viaccess-reader] ready for requests
2011/07/26 22:00:54 9710528 r found cardsystem viaccess
2011/07/26 22:00:54 9710528 r [viaccess-reader] card detected
2011/07/26 22:00:54 9710528 r [viaccess-reader] serial: 3187331475
2011/07/26 22:00:55 9710528 r provider: 1, id: FFF510, name: BOXER, sa: BDFAD193, geo: empty
2011/07/26 22:00:55 9710528 r provider: 2, id: 023200, name: BOXER1, sa: BDFAD193, geo: FF FF FF FF
2011/07/26 22:00:55 9710528 r class: 1E, expiry date: 2011/08/01 - 2011/08/31
2011/07/26 22:00:55 9710528 r class: 23, expiry date: 2011/08/01 - 2011/08/31
2011/07/26 22:00:55 9710528 r class: 1E, expiry date: 2011/07/01 - 2011/07/31
2011/07/26 22:00:55 9710528 r class: 23, expiry date: 2011/07/01 - 2011/07/31
2011/07/26 22:00:55 9710528 r class: 1E, expiry date: 2011/06/01 - 2011/06/30
2011/07/26 22:00:55 9710528 r class: 23, expiry date: 2011/06/01 - 2011/06/30
2011/07/26 22:00:55 9710528 r class: 1E, expiry date: 2011/05/01 - 2011/05/31
2011/07/26 22:00:55 9710528 r class: 23, expiry date: 2011/05/01 - 2011/05/31
2011/07/26 22:00:55 9710528 r class: 1E, expiry date: 2011/04/01 - 2011/04/30
2011/07/26 22:00:55 9710528 r class: 23, expiry date: 2011/04/01 - 2011/04/30
2011/07/26 22:00:56 9710528 r provider: 3, id: 023210, name: BOXER2, sa: BDFAD193, geo: FF FF FF FF
2011/07/26 22:00:56 9710528 r provider: 4, id: 023220, name: BOXER3, sa: BDFAD193, geo: FF FF FF FF
2011/07/26 22:00:57 9710528 r provider: 5, id: 023230, name: BOXER4, sa: BDFAD193, geo: FF FF FF FF
2011/07/26 22:00:57 9710528 r provider: 6, id: 023240, name: BOXER5, sa: BDFAD193, geo: FF FF FF FF
2011/07/26 22:00:58 97064A8 s init for all local cards done
2011/07/26 22:00:58 97064A8 s anti cascading disabled
2011/07/26 22:00:58 97128D0 c client connected to 15000 port
2011/07/26 22:00:58 97128D0 c encrypted newcamd:15000-client 127.0.0.1 granted (test, au=on (1 reader))
2011/07/26 22:00:58 97128D0 c user test authenticated successfully (generic)
2011/07/26 22:00:58 97128D0 c AU enabled for user test on reader phoenix
2011/07/26 22:02:58 97128D0 c WARNING: invalid client tcp_conn_close()
2011/07/26 22:02:58 97128D0 c test disconnected from 127.0.0.1
2011/07/26 22:02:58 97128D0 c thread B77CAB70 ended!
[/codebox]

sacs-ng.log
[codebox]
Jul 26 22:00:44.882 : Version: 0.0.2-3395d051a2c1+
Jul 26 22:00:44.933 CAM: initializing plugin: SoftCam (1.0.0pre-HG-3395d051a2c1+): A software emulated CAM
Jul 26 22:00:44.966 CAM(general.info): SC version 1.0.0pre-HG-3395d051a2c1+ initializing (VDR 1.6.0)
Jul 26 22:00:45.000 CAM: starting plugin:
Jul 26 22:00:45.022 CAM(general.info): SC version 1.0.0pre-HG-3395d051a2c1+ starting (VDR 1.6.0)
Jul 26 22:00:45.045 CAM(core.load): ** Plugin config:
Jul 26 22:00:45.080 CAM(core.load): ** Key updates (AU) are enabled (active CAIDs) (no prestart)
Jul 26 22:00:45.114 CAM(core.load): ** Local systems DON&#39;T take priority over cached remote
Jul 26 22:00:45.147 CAM(core.load): ** Concurrent FF recordings are NOT allowed
Jul 26 22:00:45.192 CAM(core.load): ** Force transfermode with digital audio
Jul 26 22:00:45.226 CAM(core.load): ** ECM cache is set to enabled
Jul 26 22:00:45.259 CAM(core.load): ** TsBufferSize is 4 MB
Jul 26 22:00:45.293 CAM(core.load): ** ScCaps are 1 2 0 0 0 0 0 0 0 0
Jul 26 22:00:45.327 CAM(general.info): loading cardclient config from ./sc_files/cardclient.conf
Jul 26 22:00:45.394 CAM(cardclient.newcamd): now using protocol version 525 (cdLen=8)
Jul 26 22:00:45.461 CAM(cardclient.core): hostname=localhost port=15000 emm=0 emmCaids 0500/ffff
Jul 26 22:00:45.528 CAM(cardclient.core): Newcamd: username=test password=test key=000102030405060708090A0B0C0D
Jul 26 22:00:45.606 CAM(cardclient.core): client &#39;Newcamd&#39; ready
Jul 26 22:00:45.685 CAM(core.net): connecting to localhost:15000/tcp (127.0.0.1)
Jul 26 22:00:58.113 CAM(cardclient.login): Newcamd: CaID=0500 admin=1 srvUA=00000000BDFAD193 provider 023240/00000000BDFAD193 023230/00000000BDFAD193 023220/00000000BDFAD193 023210/00000000BDFAD193 023200/00000000BDFAD193 FFF510/00000000BDFAD193
Jul 26 22:00:58.154 CAM(cardclient.emm): Newcamd: EMM disabled from config
Jul 26 22:00:58.188 CAM(general.error): failed open ./sc_files/SoftCam.Key: No such file or directory
Jul 26 22:00:58.222 CAM(general.error): failed open ./sc_files/smartcard.conf: No such file or directory
Jul 26 22:00:58.255 CAM(general.error): failed open ./sc_files/cardslot.conf: No such file or directory
Jul 26 22:00:58.278 CAM(general.error): failed open ./sc_files/override.conf: No such file or directory
Jul 26 22:00:58.311 CAM(general.error): no keys loaded for softcam!
Jul 26 22:00:58.334 CAM(core.load): ** registered systems:
Jul 26 22:00:58.357 CAM(core.load): ** Cardclient (pri -15)
Jul 26 22:00:58.390 CAM(core.load): ** Conax (pri -10)
Jul 26 22:00:58.424 CAM(core.load): ** ConstCW (pri -20)
Jul 26 22:00:58.457 CAM(core.load): ** Cryptoworks (pri -10)
Jul 26 22:00:58.491 CAM(core.load): ** Irdeto (pri -10)
Jul 26 22:00:58.526 CAM(core.load): ** Irdeto2 (pri -8)
Jul 26 22:00:58.560 CAM(core.load): ** Nagra (pri -10)
Jul 26 22:00:58.593 CAM(core.load): ** Nagra2 (pri -10)
Jul 26 22:00:58.628 CAM(core.load): ** Fake-NDS (pri -12)
Jul 26 22:00:58.661 CAM(core.load): ** SC-Conax (pri -5)
Jul 26 22:00:58.740 CAM(core.load): ** SC-Cryptoworks (pri -5)
Jul 26 22:00:58.840 CAM(core.load): ** SC-Irdeto (pri -5)
Jul 26 22:00:58.908 CAM(core.load): ** SC-Nagra (pri -5)
Jul 26 22:00:58.965 CAM(core.load): ** SC-Seca (pri -5)
Jul 26 22:00:59.032 CAM(core.load): ** SC-Viaccess (pri -5)
Jul 26 22:00:59.077 CAM(core.load): ** SC-VideoGuard2 (pri -5)
Jul 26 22:00:59.143 CAM(core.load): ** Seca (pri -10)
Jul 26 22:00:59.177 CAM(core.load): ** @SHL (pri -10)
Jul 26 22:00:59.211 CAM(core.load): ** Viaccess (pri -10)
Jul 26 22:01:00.249 dvr: Starting thread on /dev/dvb/adapter1/dvr1
The thread scheduling parameters indicate:
policy = 1
priority = 99
Jul 26 22:01:00.249 frontend: Starting thread on /dev/dvb/adapter1/frontend1
The thread scheduling parameters indicate:
policy = 0
priority = 0
Jul 26 22:01:00.249 demux: Starting thread on /dev/dvb/adapter1/demux1
The thread scheduling parameters indicate:
policy = 0
priority = 0
Jul 26 22:01:00.568 : Listening on port 5456
Jul 26 22:02:58.129 CAM(core.net): idle timeout, disconnected localhost:15000
[/codebox]

oscam.conf:
[codebox]
# main configuration
[global]
nice = -1
WaitForCards = 1
preferlocalcards = 1

# logging
logfile = /var/log/oscam/oscam.log
usrfile = /var/log/oscam/oscamuser.log
cwlogdir = /var/log/oscam/cw
maxlogsize = 200 # Logfile reaches to 200 KBytes

## monitor
[monitor]
port = 8988
aulow = 120
monlevel = 1

[anticasc]
enabled = 0

# web interface
[webif]
httpport = 8888
httpuser = admin
httppwd = pass
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255 # Host and range 192.168.0 are allowed

# protocols
[newcamd]
Key = 000102030405060708090A0B0C0D
port = 15000@0500:000000
keepalive = 1
mgclient = 0
allowed = 127.0.0.1,192.168.0.0-192.168.255.255
[/codebox]

oscam.server:
[codebox]
[reader]
label = phoenix
enable = 1
protocol = mouse
device = /dev/ttyUSB0
services = boxer
caid = 0500
ident =
group = 1
emmcache = 1,1,0
blockemm-unknown = 1
blockemm-s = 1
blockemm-g = 1
lb_weight = 100
[/codebox]

oscam.services
[codebox]
[Boxer]
caid = 0500
provid = FFF510,023200,023210,023220,023230,023240
srvid = 0230,0244,0262,02E4,02F8,02EE,030C,0320,0348,035C,0384,038E,03A2,03AC,03B6,03C
[/codebox]

oscam.user
[codebox]
[account]
user = test
pwd = test
uniq = 1
group = 1
au = phoenix
caid = 0500
disabled = 0
services = boxer
ident =
keepalive = 1
[/codebox]

oscam.provid
[codebox]
0500:FFF510|Boxer|Terrestial|Swedish
0500:023200|Boxer|Terrestial|Swedish
0500:023210|Boxer|Terrestial|Swedish
0500:023220|Boxer|Terrestial|Swedish
0500:023230|Boxer|Terrestial|Swedish
0500:023240|Boxer|Terrestial|Swedish
0500:040D00|Boxer|Terrestial|Swedish

0500:0230|Boxer|BBC World|TV|
0500:0262|Boxer|SVT HD|TV|
0500:02e4|Boxer|Comedy Central|TV|
0500:02f8|Boxer|VH-1|TV|
0500:030c|Boxer|TV Finland|TV|
0500:0348|Boxer|Kanal 9|TV|
0500:035c|Boxer|Eurosport|TV|
0500:0384|Boxer|C+ Sport 1 SF|TV|
0500:038e|Boxer|C+ First|TV|
0500:03a2|Boxer|Discovery|TV|
0500:03ac|Boxer|MTV|TV|
0500:03b6|Boxer|Nickelodeon|TV|
0500:03ca|Boxer|C+ Hits Sports|TV|
0500:041a|Boxer|Kanal 5|TV|
0500:042e|Boxer|TV6|TV|
0500:0438|Boxer|Animal planet|TV|
0500:0442|Boxer|TV8|TV|
0500:0456|Boxer|Disney Channel|TV|
0500:046a|Boxer|TV4 Film|TV|
0500:0474|Boxer|TV400|TV|
0500:047e|Boxer|TV4 Plus|TV|
0500:0488|Boxer|CNN|TV|
0500:04a6|Boxer|ZTV|TV|
0500:04c4|Boxer|TV4 Fakta|TV|
0500:1586|Boxer|TV2 ABC|TV|
0500:14d2|Boxer|TV3|TV|
0500:168a|Boxer|TV1|TV|
0500:17de|Boxer|TV4|TV|
[/codebox]

[codebox]
cardclient.conf
newcamd:localhost:15000:0/0500/ffff:test:test:000102030405060708090A0B0C0D
[/codebox]


/Björn

#2

Postad 27 juli 2011 - 15:08

bnl
  • bnl
  • Rookie

  • 5 inlägg
  • 0
Hmm, bytte till usb-sticka, och kopplade ur fire-dtv:n,
och tittade i /var/log/syslog.
Någon som har någon åsikt om krashen?
/Björn

[codebox]
Jul 27 15:54:33 tova kernel: [ 584.252562] dvb-usb: found a &#39;Afatech AF9015 DVB-T USB2.0 stick&#39; in cold state, will try to load a firmware
Jul 27 15:54:33 tova kernel: [ 584.258321] dvb-usb: downloading firmware from file &#39;dvb-usb-af9015.fw&#39;
Jul 27 15:54:33 tova kernel: [ 584.325531] dvb-usb: found a &#39;Afatech AF9015 DVB-T USB2.0 stick&#39; in warm state.
Jul 27 15:54:33 tova kernel: [ 584.325678] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
Jul 27 15:54:33 tova kernel: [ 584.326080] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
Jul 27 15:54:33 tova kernel: [ 584.383892] af9013: firmware version:4.95.0.0
Jul 27 15:54:33 tova kernel: [ 584.388646] DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
Jul 27 15:54:33 tova kernel: [ 584.411045] tda18271 14-00c0: creating new instance
Jul 27 15:54:33 tova kernel: [ 584.417383] TDA18271HD/C2 detected @ 14-00c0
Jul 27 15:54:33 tova kernel: [ 584.698329] Registered IR keymap rc-empty
Jul 27 15:54:33 tova kernel: [ 584.698581] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-4/rc/rc0/input7
Jul 27 15:54:33 tova kernel: [ 584.698776] rc0: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-4/rc/rc0
Jul 27 15:54:33 tova kernel: [ 584.698784] dvb-usb: schedule remote query interval to 500 msecs.
Jul 27 15:54:33 tova kernel: [ 584.698794] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
Jul 27 15:54:33 tova kernel: [ 584.710210] usbcore: registered new interface driver dvb_usb_af9015
Jul 27 15:54:33 tova kernel: [ 584.848217] usbcore: registered new interface driver usbhid
Jul 27 15:54:33 tova kernel: [ 584.848224] usbhid: USB HID core driver
Jul 27 15:55:32 tova kernel: [ 643.566865] /usr/local/src/sc/contrib/sasc-ng/dvbloopback/module/dvb_loopback.c: frontend loopback driver v0.0.1
Jul 27 15:55:32 tova kernel: [ 643.566870] dvbloopback: registering 1 adapters
Jul 27 15:55:32 tova kernel: [ 643.566950] DVB: registering new adapter (DVB-LOOPBACK)
Jul 27 15:55:37 tova sasc-ng: [2334] Netwatcher thread started (pid=2333, tid=-1219208336)
Jul 27 15:55:50 tova sasc-ng: [2441] SC housekeeper thread started (pid=2333, tid=-1227601040)
Jul 27 15:58:49 tova kernel: [ 840.580178] INFO: task sasc-ng:2442 blocked for more than 120 seconds.
Jul 27 15:58:49 tova kernel: [ 840.580187] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 27 15:58:49 tova kernel: [ 840.580194] sasc-ng D c10385b5 0 2442 2298 0x00000000
Jul 27 15:58:49 tova kernel: [ 840.580207] de18ddb4 00200086 de18dd40 c10385b5 de18dd40 00200086 f4f7028c c183a8c0
Jul 27 15:58:49 tova kernel: [ 840.580225] 3e4c0ceb 0000009f f4f70288 c183a8c0 c183a8c0 f5a068c0 f4f70000 e23ee500
Jul 27 15:58:49 tova kernel: [ 840.580242] f6f7bf98 f6d0e864 00000000 de18dd78 c104a100 de18dd80 00000001 de18dd88
Jul 27 15:58:49 tova kernel: [ 840.580259] Call Trace:
Jul 27 15:58:49 tova kernel: [ 840.580277] [<c10385b5>] ? check_preempt_curr+0x65/0x90
Jul 27 15:58:49 tova kernel: [ 840.580289] [<c104a100>] ? default_wake_function+0x10/0x20
Jul 27 15:58:49 tova kernel: [ 840.580299] [<c102d978>] ? default_spin_lock_flags+0x8/0x10
Jul 27 15:58:49 tova kernel: [ 840.580311] [<c1509f0f>] ? _raw_spin_lock_irqsave+0x2f/0x50
Jul 27 15:58:49 tova kernel: [ 840.580321] [<c106d64f>] ? finish_wait+0x4f/0x70
Jul 27 15:58:49 tova kernel: [ 840.580352] [<c1508d86>] __mutex_lock_slowpath+0xd6/0x140
Jul 27 15:58:49 tova kernel: [ 840.580383] [<c15088f5>] mutex_lock+0x25/0x40
Jul 27 15:58:49 tova kernel: [ 840.580409] [<f83e369e>] dvb_device_open+0x1e/0x1a0 [dvb_core]
Jul 27 15:58:49 tova kernel: [ 840.580427] [<c112ab65>] chrdev_open+0xa5/0x1c0
Jul 27 15:58:49 tova kernel: [ 840.580447] [<c1125361>] __dentry_open+0xc1/0x280
Jul 27 15:58:49 tova kernel: [ 840.580455] [<c11266ce>] nameidata_to_filp+0x6e/0x80
Jul 27 15:58:49 tova kernel: [ 840.580464] [<c112aac0>] ? chrdev_open+0x0/0x1c0
Jul 27 15:58:49 tova kernel: [ 840.580473] [<c1133b7f>] finish_open+0xaf/0x1a0
Jul 27 15:58:49 tova kernel: [ 840.580481] [<c1133428>] ? do_path_lookup+0x68/0x120
Jul 27 15:58:49 tova kernel: [ 840.580489] [<c11341c7>] do_filp_open+0x207/0x6e0
Jul 27 15:58:49 tova kernel: [ 840.580498] [<c104a2af>] ? wake_up_state+0xf/0x20
Jul 27 15:58:49 tova kernel: [ 840.580508] [<c1126736>] do_sys_open+0x56/0x120
Jul 27 15:58:49 tova kernel: [ 840.580519] [<f963a030>] ? dvblb_read+0x0/0x330 [dvbloopback]
Jul 27 15:58:49 tova kernel: [ 840.580527] [<c112682e>] sys_open+0x2e/0x40
Jul 27 15:58:49 tova kernel: [ 840.580536] [<c150a194>] syscall_call+0x7/0xb
[/codebox]

#3

Postad 28 juli 2011 - 21:08

Unregistered1dea9639
  • Unregistered1dea9639
  • Lärjunge

  • 269 inlägg
  • 0
Allt detta beror på en ändring som gjorts i DVB drivrutinerna som finns i kärnan. En funktion som heter mutex är det som ställer till det hela. Så man får patcha dvbdev.c och bygga om kärnan eller köra med egna drivrutiner vilket jag tror borde fungera.
MythTV-setup låser sig inte när man angere den virtuella adaptern med egna drivrutiner vilket den däremot gör när man gör detsamma med kärnans inbyggda drivrutiner.

#4

Postad 31 juli 2011 - 00:44

bnl
  • bnl
  • Rookie

  • 5 inlägg
  • 0
hmm, ja, jag hittade
http://www.vanbest.o...ng-linux-2.6.38
vilket resulterade i att ja installerade debian på burken.
Men tiden har gått lite, så jag fick ned kärna 2.6.39 istället,
vilken jag patchade. patchen gick bra, och 30 timmar (!) senare hade jag en ny kärna,
i deb-format. men den gick inte att installera, pga deb-beroenden som inte uppfylldes :-(

men jag ska prova köra myth direkt istället.

Min ursprungliga tanke var att köra dvblast, och strömma alla kanaler,
och låta myth läsa dessa som iptv. men det verkar jag inte ro iland just nu...
/Björn

#5

Postad 31 juli 2011 - 11:00

par-joha
  • par-joha
  • Forumräv

  • 780 inlägg
  • 0

[...]
Men tiden har gått lite, så jag fick ned kärna 2.6.39 istället,
vilken jag patchade. patchen gick bra, och 30 timmar (!) senare hade jag en ny kärna,
i deb-format. men den gick inte att installera, pga deb-beroenden som inte uppfylldes :-(
[...]

Du kanske redan har installerat om, men vad var det för beroenden som inte uppfylldes?

Mvh, Pär

Redigerat av par-joha, 31 juli 2011 - 11:01.


#6

Postad 31 juli 2011 - 19:15

bnl
  • bnl
  • Rookie

  • 5 inlägg
  • 0
Jag skrev aldrig ner det, men jag körde följande kommando som root, i
katalogen som jag kompilerade i (/home/bnl/src/linux-2.6.39)

# dpkg -i \
linux-image-2.6.39-2-686-pae_2.6.39-3.1_i386.deb \
linux-headers-2.6.39-2-all-i386_2.6.39-3.1_i386.deb \
linux-headers-2.6.39-2-all_2.6.39-3.1_i386.deb \
linux-headers-2.6.39-2-686-pae_2.6.39-3.1_i386.deb \
linux-headers-2.6.39-2-common_2.6.39-3.1_i386.deb


då klagade dpkg på att detta skulle förstöra initram-tools package.
dpkg föreslog at jag skulle kasta på --autoconfig(?) , men det hjälpte inte heller.
Jag har alltså kommit så lång att jag har .deb paket, men kan inte installera dem...

så, jag tittar vidare:
http://www.debian.or...ch08s06.html.en
ger

fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image

så jag antar att detta använder min färdiga kernel.
Opps, helt fel, den kör make config, dvs inte ens cursesbaserade configverktyget.
Svara defaultvärden på allt, och nu kompilerar den igen
(Det är en p4, så den står nog 30 timmar igen...)

Fan ,jag har kompilerat ihop en fungerande kärna till en
IBM powerpc med en G3/64 bitars processor, med 10 år på nacken,
och kan inte ens få till en standard kernel på standardhårdvara på debian :-(

Är lätt irriterad nu.

lyckas inte detta, så kör jag vanlig kernel compile...

/Björn



0 användare läser detta ämne

0 medlemmar, 0 gäster, 0 anonyma medlemmar

  • Gille-magi
    genstruktur
    2024-12-06 09:36:40
  • Apollon Hypex NCx500 ST NCOREx Stereo Amplifier
    genstruktur
    2024-12-06 09:32:20
  • Apollon Hypex NCx500 ST NCOREx Stereo Amplifier
    genstruktur
    2024-12-06 09:29:32
  • Centern
    mange87a
    2024-11-26 09:18:15
  • Sub 1 av 3: JTR RS1
    mange87a
    2024-11-26 09:15:27
  • Fler  |  Vilka bilder visas här?
Trendande produkter
Prisjakt © 2000 - 2024 Prisjakt   Cookiepolicy.   Våra regler.   Personuppgiftspolicy.  Hantera cookie-inställningar.