** Description changed:

+ SRU Justification:
+ 
+ Impact: Kernel oops during boot, saa7134 is initialized for AverMedia
+ card.
+ 
+ Fix: In saa7134_tuner_setup function fix the memset size to sizeof  
xc2028_cfg, fix mentioned on gentoo wiki, 
+ http://en.gentoo-wiki.com/wiki/AverMedia_AverTV_Cardbus_Hybrid_E506R
+ 
+ Test: A test kernel in http://people.ubuntu.com/~manjo/lp316405-jaunty/
+ was tested by the user and confirmed to fix the problem.
+ 
+ ---
+ 
  Binary package hint: linux-image-2.6.28-4-generic
  
  while booting kernel 2.6.28-4 oops during initialization of saa7134 module.
  I need to include saa7134 in blacklist to boot.
  
  here is the trace (during a modprobe after booting):
  [77864.324665] saa7130/34: v4l2 driver version 0.2.14 loaded
  [77864.324758] saa7134 0000:09:04.0: enabling device (0000 -> 0002)
  [77864.324772] saa7134 0000:09:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 
16
  [77864.324783] saa7133[0]: found at 0000:09:04.0, rev: 209, irq: 16, latency: 
0, mmio: 0xd2005000
  [77864.324795] saa7134 0000:09:04.0: setting latency timer to 64
  [77864.324803] saa7133[0]: subsystem: 1461:a836, board: Avermedia M115 
[card=138,autodetected]
  [77864.325432] saa7133[0]: board init: gpio is a400000
  [77864.512103] saa7133[0]: i2c eeprom 00: 61 14 36 a8 00 00 00 00 00 00 00 00 
00 00 00 00
  [77864.512126] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff ff 
ff ff ff ff
  [77864.512148] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 03 08 ff 00 c0 
ff ff ff ff
  [77864.512169] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512190] saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff ff ff 
ff ff ff ff
  [77864.512211] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512231] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512252] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512273] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512294] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512315] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512336] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512357] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512377] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512398] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.512419] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff
  [77864.562568] tuner' 3-0061: chip found @ 0xc2 (saa7133[0])
  [77864.634127] xc2028 3-0061: creating new instance
  [77864.634134] xc2028 3-0061: type set to XCeive xc2028/xc3028 tuner
  [77864.634161] BUG: unable to handle kernel paging request at fffffff4
  [77864.634170] IP: [<f81ae2c0>] saa7134_board_init2+0x140/0x710 [saa7134]
  [77864.634192] *pde = 00791067 *pte = 00000000 
  [77864.634200] Oops: 0000 [#1] SMP 
  [77864.634206] last sysfs file: 
/sys/devices/virtual/net/pan0/statistics/collisions
  [77864.634213] Dumping ftrace buffer:
  [77864.634218]    (ftrace buffer empty)
  [77864.634221] Modules linked in: tuner_xc2028 tuner saa7134(+) ir_common 
compat_ioctl32 v4l2_common videobuf_dma_sg videobuf_core tveeprom binfmt_misc 
bridge stp bnep vboxnetflt vboxdrv acpi_cpufreq sbp2 lp joydev pcmcia ppdev 
acer_wmi pcspkr psmouse serio_raw arc4 ecb iTCO_wdt iTCO_vendor_support 
tifm_7xx1 yenta_socket sdhci_pci sdhci tifm_core rsrc_nonstatic pcmcia_core 
usbhid gspca_vc032x gspca_main videodev iwl3945 iwlcore v4l1_compat 
lbm_cw_mac80211 lirc_mceusb2 lirc_dev lbm_cw_cfg80211 led_class btusb 
parport_pc parport nvidia(P) video snd_hda_intel output snd_pcm snd_seq 
snd_timer snd_seq_device intel_agp snd soundcore agpgart snd_page_alloc 
ohci1394 ieee1394 ehci_hcd uhci_hcd sky2 fbcon tileblit font bitblit softcursor 
fuse
  [77864.634345] 
  [77864.634351] Pid: 6868, comm: modprobe Tainted: P           
(2.6.28-4-generic #9-Ubuntu) Aspire 9800
  [77864.634357] EIP: 0060:[<f81ae2c0>] EFLAGS: 00010286 CPU: 1
  [77864.634373] EIP is at saa7134_board_init2+0x140/0x710 [saa7134]
  [77864.634378] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
  [77864.634382] ESI: 00000000 EDI: 00000000 EBP: 00000000 ESP: f384fc58
  [77864.634387]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
  [77864.634392] Process modprobe (pid: 6868, ti=f384e000 task=f38aa5b0 
task.ti=f384e000)
  [77864.634397] Stack:
  [77864.634400]  00000303 f384fc5c f384fc5c f3b26000 f6ffa400 f3b26000 
f384fcd4 c0144be7
  [77864.634413]  000000d0 f81b0889 656e7574 00000072 000000f0 f3b264b0 
00000003 f3b26140
  [77864.634428]  f81ba4d0 f3b264b0 f384fcd4 f81b094d 65626f72 6e696d00 
00006c61 00001ad4
  [77864.634443] Call Trace:
  [77864.634446]  [<c0144be7>] ? request_module+0x97/0xf0
  [77864.634458]  [<f81b0889>] ? saa7134_i2c_eeprom+0xe9/0x110 [saa7134]
  [77864.634487]  [<f81b094d>] ? saa7134_i2c_register+0x9d/0x120 [saa7134]
  [77864.634506]  [<f81b963c>] ? saa7134_initdev+0x3cc/0x8d5 [saa7134]
  [77864.634538]  [<c02caa6e>] ? pci_device_probe+0x5e/0x80
  [77864.634550]  [<c033d8f4>] ? really_probe+0x54/0x180
  [77864.634557]  [<c02ca29e>] ? pci_match_device+0xbe/0xd0
  [77864.634572]  [<c033da5e>] ? driver_probe_device+0x3e/0x50
  [77864.634581]  [<c033daf9>] ? __driver_attach+0x89/0x90
  [77864.634590]  [<c033d233>] ? bus_for_each_dev+0x53/0x80
  [77864.634597]  [<c02ca9b0>] ? pci_device_remove+0x0/0x40
  [77864.634607]  [<c033d7b9>] ? driver_attach+0x19/0x20
  [77864.634614]  [<c033da70>] ? __driver_attach+0x0/0x90
  [77864.634620]  [<c033cc0f>] ? bus_add_driver+0x1af/0x230
  [77864.634629]  [<c02ca9b0>] ? pci_device_remove+0x0/0x40
  [77864.634636]  [<c033dc99>] ? driver_register+0x69/0x140
  [77864.634647]  [<f81b0240>] ? saa7134_init+0x0/0x60 [saa7134]
  [77864.634672]  [<c02cacca>] ? __pci_register_driver+0x4a/0x90
  [77864.634680]  [<f81b0240>] ? saa7134_init+0x0/0x60 [saa7134]
  [77864.634697]  [<f81b0292>] ? saa7134_init+0x52/0x60 [saa7134]
  [77864.634723]  [<c010111e>] ? _stext+0x2e/0x170
  [77864.634730]  [<c02052c5>] ? sysfs_addrm_finish+0x15/0xf0
  [77864.634737]  [<c0204a93>] ? sysfs_add_one+0x13/0x50
  [77864.634743]  [<c0204b0f>] ? sysfs_addrm_start+0x3f/0xa0
  [77864.634750]  [<c01a26cc>] ? __vunmap+0x9c/0xe0
  [77864.634758]  [<c01a26cc>] ? __vunmap+0x9c/0xe0
  [77864.634764]  [<c01a26cc>] ? __vunmap+0x9c/0xe0
  [77864.634780]  [<c01a2761>] ? vfree+0x21/0x30
  [77864.634786]  [<c015dbba>] ? load_module+0x103a/0x1040
  [77864.634796]  [<c019d3e9>] ? __vma_link_file+0x49/0x80
  [77864.634819]  [<c015dc48>] ? sys_init_module+0x88/0x1b0
  [77864.634826]  [<c0103f6b>] ? sysenter_do_call+0x12/0x2f
  [77864.634833] Code: d0 20 33 c8 8b 55 90 8b 82 2c 01 00 00 89 5c 24 04 c7 04 
24 f8 b3 1b f8 89 44 24 08 e8 b3 20 33 c8 66 90 8b 45 90 e8 40 fd ff ff <8b> 5d 
f4 31 c0 8b 75 f8 8b 7d fc 89 ec 5d c3 90 8b 4d 90 8b 71 
  [77864.634915] EIP: [<f81ae2c0>] saa7134_board_init2+0x140/0x710 [saa7134] 
SS:ESP 0068:f384fc58
  [77864.634938] ---[ end trace 230b8e0d78143c97 ]---
  
  lsb_release -rd
  Description:  Ubuntu jaunty (development branch)
  Release:      9.04
  
  lshw
   *-multimedia UNCLAIMED
                  description: Multimedia controller
                  product: SAA7131/SAA7133/SAA7135 Video Broadcast Decoder
                  vendor: Philips Semiconductors
                  physical id: 4
                  bus info: p...@0000:09:04.0
                  version: d1
                  width: 32 bits
                  clock: 33MHz
                  capabilities: pm cap_list
                  configuration: latency=0
  
  
  from http://en.gentoo-wiki.com/wiki/AverMedia_AverTV_Cardbus_Hybrid_E506R :
  "There are known problems with 2.6.26 (DVB-T initialization fails) and 2.6.28 
(OOPS during initialization) kernels that causes the card initialization to 
fail."
  "2.6.28, you need to apply corresponding patch first: "
  
  File: avermedia-e506r-2.6.28.patch
  
  --- a/linux/drivers/media/video/saa7134/saa7134-cards.c       Mon Oct 13 
09:37:06 2008 -0200
  +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c       Fri Nov 14 
01:03:00 2008 +0000
  @@ -6151,7 +6151,7 @@
                struct v4l2_priv_tun_config  xc2028_cfg;
                struct xc2028_ctrl           ctl;
   
  -             memset(&xc2028_cfg, 0, sizeof(ctl));
  +             memset(&xc2028_cfg, 0, sizeof(xc2028_cfg));
                memset(&ctl, 0, sizeof(ctl));
   
                ctl.fname   = XC2028_DEFAULT_FIRMWARE;
  
  (don't know if this can help...)

-- 
Kernel OOPS during initialization SAA7134 jaunty kernel 2.6.28-4.generic
https://bugs.launchpad.net/bugs/316405
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to