Доброго здоровья!
Ниче не могу понять: - мастер 2.4 c ядром: [root@localhost usr]# cat /proc/version Linux version 2.6.12-std26-up-alt4 (builder@xeon.office.altlinux.ru) (gcc version 3.4.4 20050526 (ALT Linux, build 3.4.4-alt1)) #1 Tue Aug 16 04:29:11 MSD 2005 [root@localhost usr]#
SkyStar1: 0000:01:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01) Subsystem: Technotrend Systemtechnik GmbH Siemens/Technotrend/Hauppauge DVB card rev1.3 or rev1.5 Flags: bus master, medium devsel, latency 32, IRQ 5 Memory at e5001000 (32-bit, non-prefetchable)
используем modprobe dvd-ttpci В результате dmesg:
aa7146: found saa7146 @ mem d0a12000 (revision 1, irq 5) (0x13c2,0x0000). DVB: registering new adapter (Technotrend/Hauppauge WinTV DVB-S rev1.X). adapter has MAC addr = xx:xx:xx:xx:xx:xx dvb-ttpci: gpioirq unknown type=0 len=0 dvb-ttpci: info @ card 0: firm f0240009, rtsl b0250018, vid 71010068, app 8000261f dvb-ttpci: firmware @ card 0 supports CI link layer interface dvb-ttpci: Crystal audio DAC @ card 0 detected saa7146_vv: saa7146 (0): registered device video0 [v4l2] DVB: registering frontend 0 (ST STV0299 DVB-S)... dvb-ttpci: found av7110-0. ts: Compaq touchscreen protocol output
lsmod: Module Size Used by tsdev 7616 0 joydev 9664 0 evdev 9344 0 dvb_ttpci 88872 0 dvb_core 77736 1 dvb_ttpci l64781 7172 1 dvb_ttpci saa7146_vv 46720 1 dvb_ttpci video_buf 20996 1 saa7146_vv saa7146 17672 2 dvb_ttpci,saa7146_vv v4l1_compat 13956 1 saa7146_vv v4l2_common 5888 1 saa7146_vv videodev 9344 1 saa7146_vv ves1820 5892 1 dvb_ttpci stv0299 11016 1 dvb_ttpci tda8083 6148 1 dvb_ttpci stv0297 8192 1 dvb_ttpci sp8870 7308 1 dvb_ttpci firmware_class 9984 2 dvb_ttpci,sp8870 ves1x93 6788 1 dvb_ttpci ttpci_eeprom 2688 1 dvb_ttpci i2c_core 21008 9 dvb_ttpci,l64781,ves1820,stv0299,tda8083,stv0297,sp8870,ves1x93,ttpci_eeprom nls_koi8_r 5376 1 isofs 35256 1 nls_base 7296 2 nls_koi8_r,isofs zlib_inflate 18560 1 isofs loop 16520 2 lp 12616 0 option 10628 0 usbserial 28520 1 option usbhid 33760 0 uhci_hcd 30864 0 usbcore 114012 5 option,usbserial,usbhid,uhci_hcd 3c59x 39720 0 mii 5760 1 3c59x ohci1394 32948 0 ieee1394 97720 1 ohci1394 floppy 57300 0 parport_pc 38468 1 parport 33864 2 lp,parport_pc 8250 32100 0 serial_core 21120 1 8250 processor 22324 0 button 6800 0 ac 4996 0 battery 9604 0 agpgart 34248 0 rtc 12216 0 ext2 63112 1 mbcache 9476 1 ext2 ide_disk 17024 3 ide_generic 1408 0 [permanent] piix 10244 0 [permanent] ide_core 120856 3 ide_disk,ide_generic,piix
szap: reading channels from file '/usr/local/etc/channels.conf' zapping to 3 'planetsky1': sat 0, frequency = 11057 MHz H, symbolrate 20979000, vpid = 0x0205, apid = 0x0205 using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' status 03 | signal ccac | snr 9e5e | ber 00003b00 | unc 00000000 | status 1f | signal d5c6 | snr d683 | ber 00000200 | unc 00000000 | FE_HAS_LOCK status 1f | signal d83b | snr d680 | ber 00000000 | unc 00000000 | FE_HAS_LOCK status 1f | signal d83d | snr d674 | ber 00000000 | unc 00000000 | FE_HAS_LOCK status 1f | signal d5c3 | snr d653 | ber 00000000 | unc 00000000 | FE_HAS_LOCK status 1f | signal d6f8 | snr d62c | ber 00000000 | unc 00000000 | FE_HAS_LOCK status 1f | signal d700 | snr d69e | ber 00000000 | unc 00000000 | FE_HAS_LOCK status 1f | signal d700 | snr d695 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
Вроде все ОК
[root@localhost root]# dvbnet -p 515
DVB Network Interface Manager Version 1.1.0-TVF (Build Tue Oct 04 18:47:50 2005) Copyright (C) 2003, TV Files S.p.A
Device: /dev/dvb/adapter0/net0 Status: device dvb0_0 for pid 515 created successfully. [root@localhost root]#
[root@localhost root]# dvbnet -l
DVB Network Interface Manager Version 1.1.0-TVF (Build Tue Oct 04 18:47:50 2005) Copyright (C) 2003, TV Files S.p.A
Device: /dev/dvb/adapter0/net0 Query DVB network interfaces: ----------------------------- Found device 0: interface dvb0_0, listening on PID 515 ----------------------------- Found 1 interface(s).
[root@localhost root]#
А вто при попытке сделать ifconfig dvb0_0 192.168.138.138 ядро уходит в паинку!
причем, если сделать ifconfig dvb0_0 то все вроде нормально:
[root@localhost root]# ifconfig dvb0_0 dvb0_0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX BROADCAST NOARP MULTICAST MTU:4096 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Base address:0x203
првда при этом интерфейс не создается. Как быть?