loading saa7134 driver leads to hang on boot

Bug #216659 reported by -error
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.24-16-generic

recently i've upgraded kubuntu 7.10 to 8.04 beta and faced this trouble. Booting hangs right after driver for my AverMedia AverTV Studio 305 loaded.
Those messages are on screen at this moment:
[... cut ...]
Apr 12 12:26:24 netfinity-3500 kernel: [ 2316.971368] Linux video capture interface: v2.00
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.219362] saa7130/34: v4l2 driver version 0.2.14 loaded
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.222146] ACPI: PCI Interrupt 0000:00:0e.0[A] -> GSI 18 (level, l
ow) -> IRQ 16
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.222177] saa7130[0]: quirk: PCIPCI_NATOMA
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.222192] saa7130[0]: found at 0000:00:0e.0, rev: 1, irq: 16, lat
ency: 208, mmio: 0xf7dfdc00
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.222211] saa7130[0]: subsystem: 1461:2115, board: AverMedia Aver
TV Studio 305 [card=35,autodetected]
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.222253] saa7130[0]: board init: gpio is 10610
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.235293] input: saa7134 IR (AverMedia AverTV St as /devices/pci0
000:00/0000:00:0e.0/input/input6
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.413313] saa7130[0]: i2c eeprom 00: 61 14 15 21 ff ff ff ff ff f
f ff ff ff ff ff ff
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.413359] saa7130[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff f
f ff ff ff ff ff ff
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.413391] saa7130[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff f
f ff ff ff ff ff ff
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.413424] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff f
f ff ff ff ff ff ff
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.413456] saa7130[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff f
f ff ff ff ff ff ff
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.413488] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff f
f ff ff ff ff ff ff
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.413520] saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff f
f ff ff ff ff ff ff
Apr 12 12:26:24 netfinity-3500 kernel: [ 2317.413553] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff f
f ff ff ff ff ff ff
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.590031] tuner 0-0043: chip found @ 0x86 (saa7130[0])
Apr 12 12:26:25 netfinity-3500 NetworkManager: <debug> [1207988785.098135] nm_hal_device_added(): New device
added (hal udi is '/org/freedesktop/Hal/devices/pci_1131_7130_logicaldev_input').
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.590184] tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.590198] tuner 0-0043: type set to tda9887
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.599607] tuner 0-0061: chip found @ 0xc2 (saa7130[0])
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.599704] tuner-simple 0-0061: type set to 51 (Philips PAL/SECAM_
D (FM 1256 I-H3))
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.599718] tuner 0-0061: type set to Philips PAL/SECAM_D
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.599731] tuner-simple 0-0061: type set to 51 (Philips PAL/SECAM_
D (FM 1256 I-H3))
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.599742] tuner 0-0061: type set to Philips PAL/SECAM_D
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.616871] saa7130[0]: registered device video0 [v4l2]
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.617032] saa7130[0]: registered device vbi0
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.617220] saa7130[0]: registered device radio0
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.791463] saa7134 ALSA driver for DMA sound loaded
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.791580] saa7130[0]/alsa: saa7130[0] at 0xf7dfdc00 irq 16 regist
ered as card -2
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.791858] BUG: unable to handle kernel NULL pointer dereference a
t virtual address 00000001
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.791877] printing eip: e0af9745 *pde = 00000000
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.791899] Oops: 0000 [#1] SMP
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.791911] Modules linked in: saa7134_alsa tuner tea5767 tda8290 tuner_simple mt20xx tea5761 saa7134 compat_ioctl32 videobuf_dma_sg videobuf_core ir_kbd_i2c ir_common videodev v4l2_common v4l1_compat nls_iso8859_1 nls_cp437 vfat fat usb_storage libusual af_packet binfmt_misc rfcomm l2cap bluetooth r128 drm ppdev ipv6 cpufreq_stats cpufreq_ondemand cpufreq_userspace cpufreq_powersave freq_table cpufreq_conservative sbs dock video output sbshc container battery iptable_filter ip_tables x_tables ext2 aes_i586 dm_crypt ac snd_cs4236 snd_opl3_lib snd_hwdep snd_cs4236_lib snd_mpu401_uart snd_cs4231_lib snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_
timer snd_seq_device snd soundcore snd_page_alloc lp loop joydev evdev serio_raw parport_pc parport sr_mod cdrom button psmouse pcspkr i2c_piix4 i2c_core intel_agp shpchp pci_hotplug agpgart ext3 jbd mbcache usbhid hid ata_piix ata_generic sg sd_mod floppy ehci_hcd pata_
Apr 12 12:26:25 netfinity-3500 kernel: cpi uhci_hcd aic7xxx scsi_transport_spi libata 3c59x usbcore e100 mii scsi_mod dm_mirror dm_snapshot dm_mod thermal processor fan fbcon tileblit font bitblit softcursor fuse
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792239]
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792248] Pid: 8321, comm: modprobe Not tainted (2.6.24-16-generic #1)
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792262] EIP: 0060:[<e0af9745>] EFLAGS: 00010246 CPU: 0
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792351] EIP is at snd_pcm_timer_init+0x25/0x170 [snd_pcm]
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792363] EAX: 00000001 EBX: c33bc800 ECX: d982fddc EDX: 00000000
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792376] ESI: c33bc9d4 EDI: dee28434 EBP: 00000018 ESP: d982fdc4
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792386] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792397] Process modprobe (pid: 8321, ti=d982e000 task=c19270e0 task.ti=d982e000)
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792408] Stack: 00000000 00000001 de0ed400 00000000 de0ed400 00000000 00000003 00000000
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792432] c33bc800 00000018 e0aa020c 00000000 c33bc9d4 dee28400 e0af167f e0b0292c
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792459] dee28400 d982fe18 dee28c00 00000001 e0afa5f4 436d6370 63304431 ffffff00
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792486] Call Trace:
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792588] [<e0aa020c>] snd_add_device_sysfs_file+0x3c/0x70 [snd]
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792703] [<e0af167f>] snd_pcm_dev_register+0xef/0x200 [snd_pcm]
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792878] [<e0aa4e4d>] snd_device_register_all+0x2d/0x60 [snd]
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.792954] [<e0aa0a1e>] snd_card_register+0x1e/0x320 [snd]
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.793100] [<e0dda31a>] alsa_device_init+0x23a/0x280 [saa7134_alsa]
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.793226] [<e0dda3cb>] saa7134_alsa_init+0x6b/0xc0 [saa7134_alsa]
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.793276] [sys_init_module+0x126/0x19c0] sys_init_module+0x126/0x19c0
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.793704] [<e0af9a80>] snd_pcm_format_width+0x0/0x20 [snd_pcm]
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.793889] [sysenter_past_esp+0x6b/0xa9] sysenter_past_esp+0x6b/0xa9
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.794067] =======================
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.794073] Code: 5b c3 8d 74 26 00 56 89 c6 53 83 ec 30 8b 56 30 c7 44 24 1c 00 00 00 00 8d 4c 24 18 c7 44 24 18 03 00 00 00 8b 18 83 e2 01 8b 03 <8b> 00 89 44 24 20 8b 43 0c 89 44 24 24 8b 46 0c 01 c0 09 c2 8d
Apr 12 12:26:25 netfinity-3500 kernel: [ 2317.794189] EIP: [<e0af9745>] snd_pcm_timer_init+0x25/0x170 [snd_pcm] SS:ESP 0068:d982fdc4
[... cut ...]

Here is my `lspci' output:
sergey@netfinity-3500:~$ lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 05)
00:03.0 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 04)
00:03.1 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 04)
00:04.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0d.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 6c)
00:0e.0 Multimedia controller: Philips Semiconductors SAA7130 Video Broadcast Decoder (rev 01)
00:0f.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
00:0f.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
00:0f.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF

Here is other info:
sergey@netfinity-3500:~$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04
sergey@netfinity-3500:~$ apt-cache policy linux-image-2.6.24-16-generic
linux-image-2.6.24-16-generic:
  Установлен: 2.6.24-16.30
  Кандидат: 2.6.24-16.30
  Таблица версий:
 *** 2.6.24-16.30 0
        500 http://ru.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Julien Meunier (simplylonghorn) wrote :

I have this bug too. My PCI TV card has a Philipps SAA7134 chipset, and, with the kernel 2.6.24-16, the boot "crashed"

Revision history for this message
Julien Meunier (simplylonghorn) wrote :

When saa7134 is in blacklist, the kernel boots normally.

Revision history for this message
thom (tsk) wrote :

Can I interest you in this message I found ?
It worked for me :-)
---------------------------------------------------------------
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/212960

dr_agon wrote : Solved? 2.6.24-15-generic: saa7134-alsa makes HAL to fail (permalink)

After reading the bug #212960 I just tried to install updated linux-ubuntu-modules-2.6.24-16-generic v.23ubuntu2 supplied by Stefan Bader in his repository (https://launchpad.net/~stefan-bader-canonical/+archive) and the problem is gone! I mean that I removed saa7134 from blacklist and everything loads fine, have no HAL error.
Thanks!
----------------------------------------------------------------

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.