Hi Mauro, On Tue, 2008-03-18 at 18:04 -0300, Mauro Carvalho Chehab wrote: > On Wed, 19 Mar 2008 05:48:52 +0900 > timf <timf@xxxxxxxxxxxx> wrote: > > > 1) New install ubuntu, extract tip.tgz. > > There's no need for you to reinstall Linux for each test. This is not MS**t ;) > > You don't even need to reboot. > > > [ 40.753552] saa7133[0]: i2c scan: found device @ 0xc2 [???] > > [ 40.864616] tuner' 2-0061: Setting mode_mask to 0x0e > > [ 40.864621] tuner' 2-0061: chip found @ 0xc2 (saa7133[0]) > > [ 40.864624] tuner' 2-0061: tuner 0x61: Tuner type absent > > [ 40.864658] tuner' 2-0061: Calling set_type_addr for type=0, > > addr=0xff, mode=0x02, config=0xffff8100 > > mode=0x02 is radio. > > Try to add this to the struct: > > .radio_type = UNSET, > > > 3) No DVB, installed tvtime - no signal. > > DVB won't work yet. What the demod inside this board? There's no setup for it. > > Cheers, > Mauro 1) A quick look at bttv gallery has the demodulator as "hc4052" 2) Perhaps you can educate me - I simply added .radio_type = UNSET, make, sudo make install, I find the cleanest, simplest way to reload modules is to reboot. Why there are so many re-installs is because of what's happened now - the machine (again) has hung at boot - GDM has died, there is no command line. This, recently, happens often when compiling and building v4l-dvb. Reboot in recovery mode, and it freezes for 5 minutes just after some messages regarding saa7134 and pci go past. I have Debian on another partition, so I copied the dmesg from the failed boot: [ 30.040196] Linux video capture interface: v2.00 [ 30.092989] saa7130/34: v4l2 driver version 0.2.14 loaded [ 30.093557] ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17 [ 30.093604] ACPI: PCI Interrupt 0000:04:09.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17 [ 30.093702] saa7133[0]: found at 0000:04:09.0, rev: 209, irq: 17, latency: 32, mmio: 0xfdbff000 [ 30.093756] saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid TV/Radio (A16D) [card=137,autodetected] [ 30.093813] saa7133[0]: board init: gpio is 2fe00 [ 30.255085] usbcore: registered new interface driver xpad [ 30.255129] /build/buildd/linux-source-2.6.22-2.6.22/drivers/input/joystick/xpad.c: driver for Xbox controllers v0.1.6 [ 30.257329] usbcore: registered new interface driver hiddev [ 30.262947] input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as /class/input/input2 [ 30.263044] input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:0b.0-5 [ 30.265673] saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.266095] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff ff ff ff ff ff [ 30.266503] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 00 08 ff 00 0e ff ff ff ff [ 30.266915] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.267322] saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff ff ff ff ff ff ff [ 30.267728] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.268136] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.268541] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.268945] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.269354] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.269763] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.270171] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.270578] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.270983] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.271389] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.271794] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.293389] saa7133[0]: i2c scan: found device @ 0xa0 [eeprom] [ 30.297857] input: HID 04d9:1203 as /class/input/input3 [ 30.297932] input: USB HID v1.11 Keyboard [HID 04d9:1203] on usb-0000:00:0b.0-6 [ 30.309606] saa7133[0]: i2c scan: found device @ 0xc2 [???] [ 30.326119] input: HID 04d9:1203 as /class/input/input4 [ 30.326202] input: USB HID v1.11 Device [HID 04d9:1203] on usb-0000:00:0b.0-6 [ 30.326295] usbcore: registered new interface driver usbhid [ 30.326334] /build/buildd/linux-source-2.6.22-2.6.22/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver [ 30.430645] tuner' 2-0061: Setting mode_mask to 0x0e [ 30.430650] tuner' 2-0061: chip found @ 0xc2 (saa7133[0]) [ 30.430691] tuner' 2-0061: tuner 0x61: Tuner type absent [ 30.430728] tuner' 2-0061: Calling set_type_addr for type=71, addr=0xff, mode=0x04, config=0x00 [ 30.430731] tuner' 2-0061: set addr for type -1 [ 30.430733] tuner' 2-0061: defining GPIO callback [ 30.430735] xc2028: Xcv2028/3028 init called! [ 30.430739] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner [ 30.430777] tuner' 2-0061: type set to Xceive XC3028 [ 30.430780] tuner' 2-0061: tv freq set to 400.00 [ 30.430782] xc2028 2-0061: xc2028_set_analog_freq called [ 30.430785] xc2028 2-0061: generic_set_freq called [ 30.430788] xc2028 2-0061: should set frequency 400000 kHz [ 30.430790] xc2028 2-0061: check_firmware called [ 30.430792] xc2028 2-0061: xc2028/3028 firmware name not set! [ 30.430831] tuner' 2-0061: saa7133[0] tuner' I2C addr 0xc2 with type 71 used for 0x0e [ 30.433045] xc2028 2-0061: xc2028_set_config called [ 30.433050] tuner' 2-0061: switching to v4l2 [ 30.433053] tuner' 2-0061: tv freq set to 400.00 [ 30.433055] xc2028 2-0061: xc2028_set_analog_freq called [ 30.433057] xc2028 2-0061: generic_set_freq called [ 30.433060] xc2028 2-0061: should set frequency 400000 kHz [ 30.433062] xc2028 2-0061: check_firmware called [ 30.433064] xc2028 2-0061: load_all_firmwares called [ 30.433066] xc2028 2-0061: Reading firmware xc3028-v27.fw [ 30.547951] xc2028 2-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7 [ 30.548013] xc2028 2-0061: Reading firmware type BASE F8MHZ (3), id 0, size=8718. [ 30.548026] xc2028 2-0061: Reading firmware type BASE F8MHZ MTS (7), id 0, size=8712. [ 30.548038] xc2028 2-0061: Reading firmware type BASE FM (401), id 0, size=8562. [ 30.548049] xc2028 2-0061: Reading firmware type BASE FM INPUT1 (c01), id 0, size=8576. [ 30.548060] xc2028 2-0061: Reading firmware type BASE (1), id 0, size=8706. [ 30.548071] xc2028 2-0061: Reading firmware type BASE MTS (5), id 0, size=8682. [ 30.548077] xc2028 2-0061: Reading firmware type (0), id 100000007, size=161. [ 30.548081] xc2028 2-0061: Reading firmware type MTS (4), id 100000007, size=169. [ 30.548085] xc2028 2-0061: Reading firmware type (0), id 200000007, size=161. [ 30.548089] xc2028 2-0061: Reading firmware type MTS (4), id 200000007, size=169. [ 30.548093] xc2028 2-0061: Reading firmware type (0), id 400000007, size=161. [ 30.548097] xc2028 2-0061: Reading firmware type MTS (4), id 400000007, size=169. [ 30.548101] xc2028 2-0061: Reading firmware type (0), id 800000007, size=161. [ 30.548104] xc2028 2-0061: Reading firmware type MTS (4), id 800000007, size=169. [ 30.548108] xc2028 2-0061: Reading firmware type (0), id 3000000e0, size=161. [ 30.548112] xc2028 2-0061: Reading firmware type MTS (4), id 3000000e0, size=169. [ 30.548116] xc2028 2-0061: Reading firmware type (0), id c000000e0, size=161. [ 30.548120] xc2028 2-0061: Reading firmware type MTS (4), id c000000e0, size=169. [ 30.548124] xc2028 2-0061: Reading firmware type (0), id 200000, size=161. [ 30.548127] xc2028 2-0061: Reading firmware type MTS (4), id 200000, size=169. [ 30.548132] xc2028 2-0061: Reading firmware type (0), id 4000000, size=161. [ 30.548135] xc2028 2-0061: Reading firmware type MTS (4), id 4000000, size=169. [ 30.548139] xc2028 2-0061: Reading firmware type D2633 DTV6 ATSC (10030), id 0, size=149. [ 30.548144] xc2028 2-0061: Reading firmware type D2620 DTV6 QAM (68), id 0, size=149. [ 30.548148] xc2028 2-0061: Reading firmware type D2633 DTV6 QAM (70), id 0, size=149. [ 30.548152] xc2028 2-0061: Reading firmware type D2620 DTV7 (88), id 0, size=149. [ 30.548156] xc2028 2-0061: Reading firmware type D2633 DTV7 (90), id 0, size=149. [ 30.548160] xc2028 2-0061: Reading firmware type D2620 DTV78 (108), id 0, size=149. [ 30.548164] xc2028 2-0061: Reading firmware type D2633 DTV78 (110), id 0, size=149. [ 30.548168] xc2028 2-0061: Reading firmware type D2620 DTV8 (208), id 0, size=149. [ 30.548171] xc2028 2-0061: Reading firmware type D2633 DTV8 (210), id 0, size=149. [ 30.548175] xc2028 2-0061: Reading firmware type FM (400), id 0, size=135. [ 30.548179] xc2028 2-0061: Reading firmware type (0), id 10, size=161. [ 30.548182] xc2028 2-0061: Reading firmware type MTS (4), id 10, size=169. [ 30.548185] xc2028 2-0061: Reading firmware type (0), id 1000400000, size=169. [ 30.548189] xc2028 2-0061: Reading firmware type (0), id c00400000, size=161. [ 30.548192] xc2028 2-0061: Reading firmware type (0), id 800000, size=161. [ 30.548195] xc2028 2-0061: Reading firmware type (0), id 8000, size=161. [ 30.548199] xc2028 2-0061: Reading firmware type LCD (1000), id 8000, size=161. [ 30.548202] xc2028 2-0061: Reading firmware type LCD NOGD (3000), id 8000, size=161. [ 30.548206] xc2028 2-0061: Reading firmware type MTS (4), id 8000, size=169. [ 30.548210] xc2028 2-0061: Reading firmware type (0), id b700, size=161. [ 30.548213] xc2028 2-0061: Reading firmware type LCD (1000), id b700, size=161. [ 30.548217] xc2028 2-0061: Reading firmware type LCD NOGD (3000), id b700, size=161. [ 30.548221] xc2028 2-0061: Reading firmware type (0), id 2000, size=161. [ 30.548225] xc2028 2-0061: Reading firmware type MTS (4), id b700, size=169. [ 30.548228] xc2028 2-0061: Reading firmware type MTS LCD (1004), id b700, size=169. [ 30.548232] xc2028 2-0061: Reading firmware type MTS LCD NOGD (3004), id b700, size=169. [ 30.548237] xc2028 2-0061: Reading firmware type SCODE HAS_IF_3280 (60000000), id 0, size=192. [ 30.548241] xc2028 2-0061: Reading firmware type SCODE HAS_IF_3300 (60000000), id 0, size=192. [ 30.548246] xc2028 2-0061: Reading firmware type SCODE HAS_IF_3440 (60000000), id 0, size=192. [ 30.548250] xc2028 2-0061: Reading firmware type SCODE HAS_IF_3460 (60000000), id 0, size=192. [ 30.548255] xc2028 2-0061: Reading firmware type DTV6 ATSC OREN36 SCODE HAS_IF_3800 (60210020), id 0, size=192. [ 30.548260] xc2028 2-0061: Reading firmware type SCODE HAS_IF_4000 (60000000), id 0, size=192. [ 30.548264] xc2028 2-0061: Reading firmware type DTV6 ATSC TOYOTA388 SCODE HAS_IF_4080 (60410020), id 0, size=192. [ 30.548270] xc2028 2-0061: Reading firmware type SCODE HAS_IF_4200 (60000000), id 0, size=192. [ 30.548274] xc2028 2-0061: Reading firmware type MONO SCODE HAS_IF_4320 (60008000), id 8000, size=192. [ 30.548279] xc2028 2-0061: Reading firmware type SCODE HAS_IF_4450 (60000000), id 0, size=192. [ 30.548283] xc2028 2-0061: Reading firmware type SCODE HAS_IF_4500 (60000000), id 2000, size=192. [ 30.548288] xc2028 2-0061: Reading firmware type LCD NOGD IF SCODE HAS_IF_4600 (60023000), id 8000, size=192. [ 30.548294] xc2028 2-0061: Reading firmware type DTV78 ZARLINK456 SCODE HAS_IF_4760 (62000100), id 0, size=192. [ 30.548299] xc2028 2-0061: Reading firmware type SCODE HAS_IF_4940 (60000000), id 0, size=192. [ 30.548304] xc2028 2-0061: Reading firmware type DTV7 ZARLINK456 SCODE HAS_IF_5260 (62000080), id 0, size=192. [ 30.548309] xc2028 2-0061: Reading firmware type MONO SCODE HAS_IF_5320 (60008000), id 800000007, size=192. [ 30.548314] xc2028 2-0061: Reading firmware type DTV8 CHINA SCODE HAS_IF_5400 (64000200), id 0, size=192. [ 30.548320] xc2028 2-0061: Reading firmware type DTV6 ATSC OREN538 SCODE HAS_IF_5580 (60110020), id 0, size=192. [ 30.548326] xc2028 2-0061: Reading firmware type SCODE HAS_IF_5640 (60000000), id 200000007, size=192. [ 30.548331] xc2028 2-0061: Reading firmware type SCODE HAS_IF_5740 (60000000), id 800000007, size=192. [ 30.548336] xc2028 2-0061: Reading firmware type DTV7 DIBCOM52 SCODE HAS_IF_5900 (61000080), id 0, size=192. [ 30.548341] xc2028 2-0061: Reading firmware type MONO SCODE HAS_IF_6000 (60008000), id 10, size=192. [ 30.548346] xc2028 2-0061: Reading firmware type DTV6 QAM F6MHZ SCODE HAS_IF_6200 (68000060), id 0, size=192. [ 30.548352] xc2028 2-0061: Reading firmware type SCODE HAS_IF_6240 (60000000), id 10, size=192. [ 30.548356] xc2028 2-0061: Reading firmware type MONO SCODE HAS_IF_6320 (60008000), id 200000, size=192. [ 30.548361] xc2028 2-0061: Reading firmware type SCODE HAS_IF_6340 (60000000), id 200000, size=192. [ 30.548366] xc2028 2-0061: Reading firmware type MONO SCODE HAS_IF_6500 (60008000), id 4000000, size=192. [ 30.548371] xc2028 2-0061: Reading firmware type DTV6 ATSC ATI638 SCODE HAS_IF_6580 (60090020), id 0, size=192. [ 30.548377] xc2028 2-0061: Reading firmware type SCODE HAS_IF_6600 (60000000), id 3000000e0, size=192. [ 30.548382] xc2028 2-0061: Reading firmware type MONO SCODE HAS_IF_6680 (60008000), id 3000000e0, size=192. [ 30.548388] xc2028 2-0061: Reading firmware type DTV6 ATSC TOYOTA794 SCODE HAS_IF_8140 (60810020), id 0, size=192. [ 30.548393] xc2028 2-0061: Reading firmware type SCODE HAS_IF_8200 (60000000), id 0, size=192. [ 30.548403] xc2028 2-0061: Firmware files loaded. [ 30.548406] xc2028 2-0061: checking firmware, user requested type=F8MHZ MTS (6), id 00000000000000ff, scode_tbl (0), scode_nr 0 [ 30.548429] Unable to handle kernel NULL pointer dereference at 00000000000001c4 RIP: [ 30.548458] [<ffffffff888ee839>] :saa7134:saa7134_tuner_callback +0x9/0x190 [ 30.548578] PGD 65c04067 PUD 66155067 PMD 0 [ 30.548678] Oops: 0000 [1] SMP [ 30.548755] CPU 1 [ 30.548809] Modules linked in: snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm tuner tea5767 tda8290 tda18271 tda827x tuner_xc2028 xc5000 snd_seq_dummy tda9887 tuner_simple tuner_types mt20xx tea5761 snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event usbhid xpad hid saa7134 compat_ioctl32 videodev v4l1_compat v4l2_common videobuf_dma_sg videobuf_core ir_kbd_i2c ir_common serio_raw psmouse ide_cd cdrom snd_seq snd_timer snd_seq_device tveeprom parport_pc parport nvidia(P) pcspkr k8temp shpchp snd soundcore snd_page_alloc i2c_nforce2 i2c_core pci_hotplug evdev ext3 jbd mbcache sg sd_mod amd74xx ide_core sata_nv ohci_hcd forcedeth ata_generic libata scsi_mod ehci_hcd usbcore thermal processor fan fuse apparmor commoncap [ 30.550595] Pid: 3942, comm: modprobe Tainted: P 2.6.22-14-generic #1 [ 30.550635] RIP: 0010:[<ffffffff888ee839>] [<ffffffff888ee839>] :saa7134:saa7134_tuner_callback+0x9/0x190 [ 30.550715] RSP: 0018:ffff810068199a38 EFLAGS: 00010292 [ 30.550752] RAX: 0000000000000007 RBX: 0000000000000001 RCX: 0000000000000000 [ 30.550791] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 30.550830] RBP: ffff8100681ce180 R08: 00000000000091da R09: 0000000000000007 [ 30.550869] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 [ 30.550909] R13: ffff8100681ce1f8 R14: 0000000000000001 R15: 0000000000000001 [ 30.550949] FS: 00002ae61b8ef6e0(0000) GS:ffff8100378e6280(0000) knlGS:0000000000000000 [ 30.550997] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 30.551035] CR2: 00000000000001c4 CR3: 0000000065048000 CR4: 00000000000006e0 [ 30.551075] Process modprobe (pid: 3942, threadinfo ffff810068198000, task ffff810066c254a0) [ 30.551123] Stack: ffff8100681ce180 ffffffff8896b803 ffff810068199b08 ffff810000000002 [ 30.551279] ffff810000000007 ffff810066163400 ffff810066163670 00000000000000ff [ 30.551412] 0000000666163570 17d7840000000004 ffff810066163400 ffff8100681ce220 [ 30.551515] Call Trace: [ 30.551583] [<ffffffff8896b803>] :tuner_xc2028:generic_set_freq +0x593/0x1830 [ 30.551637] [<ffffffff802361fe>] printk+0x4e/0x60 [ 30.551685] [<ffffffff88989a4e>] :tuner:set_tv_freq+0xae/0x1c0 [ 30.551730] [<ffffffff88989bd1>] :tuner:set_freq+0x71/0x1a0 [ 30.551771] [<ffffffff8898afe8>] :tuner:tuner_command+0x198/0x12f0 [ 30.551821] [<ffffffff8816c072>] :i2c_core:i2c_clients_command +0xa2/0xf0 [ 30.551871] [<ffffffff888f6fc0>] :saa7134:saa7134_video_init2 +0x10/0x40 [ 30.551917] [<ffffffff888f07bb>] :saa7134:saa7134_initdev +0x3fb/0x9a0 [ 30.551959] [<ffffffff802e8600>] sysfs_make_dirent+0x30/0x50 [ 30.552002] [<ffffffff803353a1>] pci_device_probe+0xf1/0x170 [ 30.552046] [<ffffffff80391133>] driver_probe_device+0xa3/0x1b0 [ 30.552088] [<ffffffff803913f9>] __driver_attach+0xc9/0xd0 [ 30.552128] [<ffffffff80391330>] __driver_attach+0x0/0xd0 [ 30.552168] [<ffffffff8039030d>] bus_for_each_dev+0x4d/0x80 [ 30.552211] [<ffffffff8039076f>] bus_add_driver+0xaf/0x1f0 [ 30.552252] [<ffffffff80335626>] __pci_register_driver+0x66/0xb0 [ 30.552294] [<ffffffff80256f1b>] sys_init_module+0x19b/0x19b0 [ 30.552346] [<ffffffff80326af1>] __up_write+0x21/0x130 [ 30.552391] [<ffffffff80209e8e>] system_call+0x7e/0x83 [ 30.552434] [ 30.552466] [ 30.552467] Code: 8b 87 c4 01 00 00 83 f8 36 74 0f 83 f8 47 74 27 b8 ea ff ff [ 30.552985] RIP [<ffffffff888ee839>] :saa7134:saa7134_tuner_callback +0x9/0x190 [ 30.553063] RSP <ffff810068199a38> [ 30.553098] CR2: 00000000000001c4 [ 210.088245] loop: module loaded [ 210.112155] lp0: using parport0 (interrupt-driven). [ 210.212346] Adding 9767512k swap on /dev/sda3. Priority:-1 extents:1 across:9767512k [ 210.546581] EXT3 FS on sda4, internal journal [ 211.319417] kjournald starting. Commit interval 5 seconds [ 211.319653] EXT3 FS on sda2, internal journal [ 211.319657] EXT3-fs: mounted filesystem with ordered data mode. 3) It looks really promising with tuner-xc3028 but it won't boot. >From bitter experience with ubuntu and gnome I find it quicker to re-install than search around for what module failed. 4) It's now 6:50AM, I will wait if you have a better suggestion before re-installing, and then compiling v4l-dvb with 3 patches. (Incidentally tip.tgz didn't contain this: case SAA7134_BOARD_AVERMEDIA_CARDBUS_506: case SAA7134_BOARD_AVERMEDIA_M115: case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM: case SAA7134_BOARD_AVERMEDIA_A16D: /* power-up tuner chip */ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff); and when I tried to hg clone v4l-dvb it sat for 45 minutes and died with an Abort. Hence using tip.tgz 5) I hope that explains it. Best regards, Tim _______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb