<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/dvb/ttpci, branch linux-2.6.29.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.29.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.29.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-01-29T10:46:42Z</updated>
<entry>
<title>V4L/DVB (10265): budget.c driver: Kernel oops: "BUG: unable to handle kernel paging request at ffffffff</title>
<updated>2009-01-29T10:46:42Z</updated>
<author>
<name>Tony Broad</name>
</author>
<published>2009-01-18T10:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6dbe7af37def293e1116af186c94e2d47d353190'/>
<id>urn:sha1:6dbe7af37def293e1116af186c94e2d47d353190</id>
<content type='text'>
I'm using a "Hauppauge WinTV-NOVA-T DVB card" of PCI id "13c2:1005" with
kernel 2.6.27.9.

I've recently experienced the following fairly consistent kernel oops on
startup in grundig_29504_401_tuner_set_params from budget.c. As you
might expect, following this failure, the card doesn't work.

I'm not a kernel developer, nevertheless I seem to have managed to track
this down to a non-existent initialisation of
budget-&gt;dvb_frontend-&gt;tuner_priv.

The attached patch fixes the problem for me (and I've managed to tune
the card successfully as a result), but I don't know of anyone else
using the driver so I can't test it on other people.

Please let me know if this works for you or if I've done something
terribly wrong ;-(

BUG: unable to handle kernel paging request at ffffffff
IP: [&lt;f8981e11&gt;] :budget:grundig_29504_401_tuner_set_params+0x3b/0xf8
*pde = 007e0067 *pte = 00000000
Oops: 0000 [#1] SMP
Modules linked in: bridge stp bnep rfcomm l2cap asb100 hwmon_vid hwmon
fuse ipt_REJECT nf_conntrack_ipv4 iptable_filter ip_tables ip6t_REJECT
xt_tcpudp nf_conntrack_ipv6 xt_state nf_conntrack ip6table_filter
ip6_tables x_tables ipv6 loop dm_multipath scsi_dh ppdev snd_cmipci
gameport snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq
snd_pcm_oss snd_mixer_oss l64781 snd_pcm snd_page_alloc snd_opl3_lib
snd_timer parport_pc snd_hwdep parport btusb snd_mpu401_uart budget
budget_core snd_rawmidi bluetooth saa7146 snd_seq_device ttpci_eeprom
snd soundcore sr_mod i2c_sis96x cdrom dvb_core sis900 i2c_core floppy
pcspkr mii sata_sil sg dm_snapshot dm_zero dm_mirror dm_log dm_mod
pata_sis ata_generic pata_acpi libata sd_mod scsi_mod crc_t10dif ext3
jbd mbcache uhci_hcd ohci_hcd ehci_hcd [last unloaded: microcode]

Pid: 2319, comm: kdvb-fe-0 Not tainted (2.6.27.9-73.fc9.i686 #1)
EIP: 0060:[&lt;f8981e11&gt;] EFLAGS: 00010286 CPU: 0
EIP is at grundig_29504_401_tuner_set_params+0x3b/0xf8 [budget]
EAX: f6417f00 EBX: f6f53808 ECX: 00000000 EDX: ffffffff
ESI: f6f94404 EDI: f6417f00 EBP: f6417f10 ESP: f6417ef0
  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process kdvb-fe-0 (pid: 2319, ti=f6417000 task=f642b2c0 task.ti=f6417000)
Stack: f6e39800 00000000 00000004 f6417f00 c064523c f6f53808 f6f53800 f6f94404
        f6417f54 f8b2e45a f6417f24 00000286 f6417f4c f6417f38 00000000 00000286
        f6417f3c c064520f f642b2c0 f6417f6c c064456f 00000001 f6f94400 00000001
Call Trace:
  [&lt;c064523c&gt;] ? _spin_lock_irqsave+0x29/0x30
  [&lt;f8b2e45a&gt;] ? apply_frontend_param+0x27/0x357 [l64781]
  [&lt;c064520f&gt;] ? _spin_lock_irq+0x1c/0x20
  [&lt;c064456f&gt;] ? __down_common+0x91/0xbf
  [&lt;f894f25d&gt;] ? dvb_frontend_swzigzag_autotune+0x17d/0x1a4 [dvb_core]
  [&lt;f894f780&gt;] ? dvb_frontend_swzigzag+0x1ac/0x209 [dvb_core]
  [&lt;f894fcc8&gt;] ? dvb_frontend_thread+0x2eb/0x3b3 [dvb_core]
  [&lt;c043c166&gt;] ? autoremove_wake_function+0x0/0x33
  [&lt;f894f9dd&gt;] ? dvb_frontend_thread+0x0/0x3b3 [dvb_core]
  [&lt;c043bec3&gt;] ? kthread+0x3b/0x61
  [&lt;c043be88&gt;] ? kthread+0x0/0x61
  [&lt;c040494b&gt;] ? kernel_thread_helper+0x7/0x10
  =======================
Code: ec 14 8b 80 00 02 00 00 8b 93 08 02 00 00 8d 7d e4 8b 40 20 89 45
e0 31 c0 85 d2 f3 ab 8d 45 f0 66 c7 45 e8 04 00 89 45 ec 74 09 &lt;0f&gt; b6
02 66 89 45 e4 eb 06 66 c7 45 e4 61 00 8b 0e be 0a 8b 02
EIP: [&lt;f8981e11&gt;] grundig_29504_401_tuner_set_params+0x3b/0xf8 [budget]
SS:ESP 0068:f6417ef0

Signed-off-by: Oliver Endriss &lt;o.endriss@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6</title>
<updated>2009-01-08T01:22:04Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2009-01-08T01:22:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97c440ba41d4e7cddb8e14c7c7ec49dad2560709'/>
<id>urn:sha1:97c440ba41d4e7cddb8e14c7c7ec49dad2560709</id>
<content type='text'>
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6:
  V4L/DVB (10191a): Update MAINTAINERS entries on media drivers
  V4L/DVB (10190): cx88: Fix some Kbuild troubles
  V4L/DVB (10189): dm1105: Fix build with INPUT=m and DVB_DM1105=y
  V4L/DVB (10185): Use negated usb_endpoint_xfer_control, etc
  V4L/DVB (10182): tda8290: fix TDA8290 + TDA18271 initialization
  V4L/DVB (10181): v4l2-device: Fix some sparse warnings
  V4L/DVB (10180): drivers/media: Fix a number of sparse warnings
  V4L/DVB (10179): tda8290: Fix two sparse warnings
  V4L/DVB (10178): dvb_frontend: Fix some sparse warnings due to static symbols
  V4L/DVB (10177): Fix sparse warnings on em28xx
  V4L/DVB (10176b): pxa-camera: fix redefinition warnings and missing DMA definitions
  V4L/DVB (10176a): Switch remaining clear_user_page users over to clear_user_highpage
</content>
</entry>
<entry>
<title>V4L/DVB (10180): drivers/media: Fix a number of sparse warnings</title>
<updated>2009-01-08T00:18:55Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2009-01-05T04:34:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ffbc5f88148ff77039a4269e3f945e8471b2e0bb'/>
<id>urn:sha1:ffbc5f88148ff77039a4269e3f945e8471b2e0bb</id>
<content type='text'>
anysee.c:44:5: warning: symbol 'dvb_usb_anysee_delsys' was not declared. Should it be static?
cx24116.c:378:3: warning: symbol 'CX24116_MODFEC_MODES' was not declared. Should it be static?
stb0899_algo.c:57:5: warning: symbol 'stb0899_get_srate' was not declared. Should it be static?
stb0899_algo.c:766:6: warning: symbol 'Log2Int' was not declared. Should it be static?
stb0899_drv.c:137:20: warning: symbol 'stb0899_quant_tab' was not declared. Should it be static?
stb0899_drv.c:180:20: warning: symbol 'stb0899_est_tab' was not declared. Should it be static?
stb0899_drv.c:220:5: warning: symbol '_stb0899_read_reg' was not declared. Should it be static?
budget-ci.c:1348:23: warning: symbol 'tt3200_stb6100_config' was not declared. Should it be static?
/home/v4l/master/v4l/cx25840-core.c:190:6: warning: symbol 'cx25840_work_handler' was not declared. Should it be static?
/home/v4l/master/v4l/m5602_s5k83a.c:116:6: warning: symbol 's5k83a_dump_registers' was not declared. Should it be static?

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>trivial: replace last usages of __FUNCTION__ in kernel</title>
<updated>2009-01-07T23:48:54Z</updated>
<author>
<name>Harvey Harrison</name>
</author>
<published>2009-01-07T22:42:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b4778f680aa79d838ae2be6ab958938f744ce5f'/>
<id>urn:sha1:9b4778f680aa79d838ae2be6ab958938f744ce5f</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl.</title>
<updated>2009-01-02T19:11:34Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2008-12-30T10:04:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=069b747931f13eda289c1d59a09ecc8162281a76'/>
<id>urn:sha1:069b747931f13eda289c1d59a09ecc8162281a76</id>
<content type='text'>
Since internal to v4l2 the ioctl prototype is the same regardless of it
being called through .ioctl or .unlocked_ioctl, we need to convert it all
to the long return type of unlocked_ioctl.

Thanks to Jean-Francois Moine for posting an initial patch for this and
thus bringing it to our attention.

Cc: Jean-Francois Moine &lt;moinejf@free.fr&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (10135): v4l2: introduce v4l2_file_operations.</title>
<updated>2009-01-02T19:11:12Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2008-12-30T09:58:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bec43661b1dc0075b7445223ba775674133b164d'/>
<id>urn:sha1:bec43661b1dc0075b7445223ba775674133b164d</id>
<content type='text'>
Introduce a struct v4l2_file_operations for v4l2 drivers.

Remove the unnecessary inode argument.

Move compat32 handling (and llseek) into the v4l2-dev core: this is now
handled in the v4l2 core and no longer in the drivers themselves.

Note that this changeset reverts an earlier patch that changed the return
type of__video_ioctl2 from int to long. This change will be reinstated
later in a much improved version.

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (9442): Revert back previous change to 90MHz</title>
<updated>2008-12-30T11:38:00Z</updated>
<author>
<name>Manu Abraham</name>
</author>
<published>2007-11-19T19:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f2e52cd17622eed39576f113b77bbd18c577e308'/>
<id>urn:sha1:f2e52cd17622eed39576f113b77bbd18c577e308</id>
<content type='text'>
Note:
* At High Symbol Rates we do not have enouph machine cycles to handle the
  incoming symbols and hence might run into problems at the very end of the
  specified definition
* Most of the equations have been calculated for a master clock of 99 MHz,
  running at 90MHz, raises lot of issues such as the need to recalculate
  all of them , which is eventually very painful.

Signed-off-by: Manu Abraham &lt;manu@linuxtv.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (9431): Bug ID #19: Diseqc works properly at 90MHz only on Cut 1.1 and 2.0</title>
<updated>2008-12-30T11:37:59Z</updated>
<author>
<name>Manu Abraham</name>
</author>
<published>2007-10-30T12:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07b9bf7de5d91594eb79bcd43129fe5df94bdd28'/>
<id>urn:sha1:07b9bf7de5d91594eb79bcd43129fe5df94bdd28</id>
<content type='text'>
Signed-off-by: Manu Abraham &lt;manu@linuxtv.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (9425): Initialize at 90MHz itself</title>
<updated>2008-12-30T11:37:59Z</updated>
<author>
<name>Manu Abraham</name>
</author>
<published>2007-10-18T09:25:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=697be0679ef71e5701c7ab2055ed8e76cc44583d'/>
<id>urn:sha1:697be0679ef71e5701c7ab2055ed8e76cc44583d</id>
<content type='text'>
Signed-off-by: Manu Abraham &lt;manu@linuxtv.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (9572): Whitespace cleanup</title>
<updated>2008-12-29T19:53:30Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2008-11-10T21:56:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f34253dfe66ff365a794eeddbe240b4bfd8e32eb'/>
<id>urn:sha1:f34253dfe66ff365a794eeddbe240b4bfd8e32eb</id>
<content type='text'>
Some recent patches added a few bad whitespaces. Remove that.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
</feed>
