Bug 15826 - WARNING: at fs/proc/generic.c:317 __xlate_proc_name+0xbd/0xe0()
Summary: WARNING: at fs/proc/generic.c:317 __xlate_proc_name+0xbd/0xe0()
Status: RESOLVED CODE_FIX
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: dvb-core (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: dvb-core
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-21 12:21 UTC by boris64
Modified: 2012-07-11 15:23 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.34-rc5
Subsystem:
Regression: No
Bisected commit-id:


Attachments
full dmesg (56.63 KB, text/plain)
2010-04-21 12:21 UTC, boris64
Details
lspci -vnn (11.99 KB, text/plain)
2010-04-21 12:22 UTC, boris64
Details
kernel .config (63.19 KB, text/x-mpsub)
2010-04-21 12:23 UTC, boris64
Details
lspci -vnn (2nd try, this time as root) (23.97 KB, text/plain)
2010-04-21 13:07 UTC, boris64
Details
Supposed and working fix from comment #7 (600 bytes, patch)
2010-11-28 12:51 UTC, boris64
Details | Diff

Description boris64 2010-04-21 12:21:15 UTC
Created attachment 26077 [details]
full dmesg

I keep getting this warning on boot. It seems to
happen when the dvb driver for my "technisat skystar2"
card is loaded (correct me if i'm wrong).

If you need more infos or debug stuff inside 
my kernel config, please tell me what i need to include.

Thank you in advance.

----------------------------------------
...
[    0.739420] b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
[    0.739435] flexcop-pci: will use the HW PID filter.
[    0.739438] flexcop-pci: card revision 2
[    0.739442] b2c2_flexcop_pci 0000:04:01.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    0.739459] ------------[ cut here ]------------
[    0.739463] WARNING: at fs/proc/generic.c:317 __xlate_proc_name+0xbd/0xe0()
[    0.739465] Hardware name: P5K
[    0.739466] name 'Technisat/B2C2 FlexCop II/IIb/III Digital TV PCI Driver'
[    0.739467] Modules linked in:
[    0.739470] Pid: 1, comm: swapper Not tainted 2.6.34-rc5-v2k11+-dbg-dirty #118
[    0.739471] Call Trace:
[    0.739476]  [<ffffffff8103e386>] warn_slowpath_common+0x76/0xb0
[    0.739478]  [<ffffffff8103e41c>] warn_slowpath_fmt+0x3c/0x40
[    0.739481]  [<ffffffff8110b4ad>] __xlate_proc_name+0xbd/0xe0
[    0.739483]  [<ffffffff8110b540>] __proc_create+0x70/0x140
[    0.739486]  [<ffffffff8110bf49>] proc_mkdir_mode+0x29/0x60
[    0.739488]  [<ffffffff8110bf91>] proc_mkdir+0x11/0x20
[    0.739491]  [<ffffffff8107b39b>] register_handler_proc+0x11b/0x140
[    0.739494]  [<ffffffff810791f9>] __setup_irq+0x1f9/0x390
[    0.739497]  [<ffffffff813ca790>] ? flexcop_pci_isr+0x0/0x3e0
[    0.739500]  [<ffffffff810794bc>] request_threaded_irq+0x12c/0x210
[    0.739502]  [<ffffffff813cad20>] flexcop_pci_probe+0x1b0/0x350
[    0.739505]  [<ffffffff811e4ee5>] pci_device_probe+0x75/0xa0
[    0.739509]  [<ffffffff8130522a>] ? driver_sysfs_add+0x5a/0x90
[    0.739511]  [<ffffffff813054f3>] driver_probe_device+0x93/0x1a0
[    0.739514]  [<ffffffff8130569b>] __driver_attach+0x9b/0xa0
[    0.739517]  [<ffffffff81305600>] ? __driver_attach+0x0/0xa0
[    0.739519]  [<ffffffff8130460e>] bus_for_each_dev+0x5e/0x90
[    0.739522]  [<ffffffff813051c9>] driver_attach+0x19/0x20
[    0.739524]  [<ffffffff81304d62>] bus_add_driver+0xb2/0x260
[    0.739527]  [<ffffffff8130590f>] driver_register+0x6f/0x130
[    0.739529]  [<ffffffff811e5171>] __pci_register_driver+0x51/0xd0
[    0.739533]  [<ffffffff818f49a9>] ? flexcop_pci_module_init+0x0/0x1b
[    0.739535]  [<ffffffff818f49c2>] flexcop_pci_module_init+0x19/0x1b
[    0.739538]  [<ffffffff810002d9>] do_one_initcall+0x39/0x1a0
[    0.739540]  [<ffffffff818d1cc4>] kernel_init+0x14d/0x1d7
[    0.739543]  [<ffffffff81003194>] kernel_thread_helper+0x4/0x10
[    0.739546]  [<ffffffff818d1b77>] ? kernel_init+0x0/0x1d7
[    0.739548]  [<ffffffff81003190>] ? kernel_thread_helper+0x0/0x10
[    0.739553] ---[ end trace 4e6b2faee55cb1bf ]---
[    0.744389] DVB: registering new adapter (FlexCop Digital TV device)
[    0.746102] b2c2-flexcop: MAC address = 00:d0:d7:0f:30:58
[    0.946350] b2c2-flexcop: found 'ST STV0299 DVB-S' .
[    0.946353] DVB: registering adapter 0 frontend 0 (ST STV0299 DVB-S)...
[    0.946422] b2c2-flexcop: initialization of 'Sky2PC/SkyStar 2 DVB-S rev 2.6' at the 'PCI' bus controlled by a 'FlexCopIIb' complete
...
----------------------------------------
Comment 1 boris64 2010-04-21 12:22:35 UTC
Created attachment 26078 [details]
lspci -vnn
Comment 2 boris64 2010-04-21 12:23:16 UTC
Created attachment 26079 [details]
kernel .config
Comment 3 boris64 2010-04-21 13:07:46 UTC
Created attachment 26080 [details]
lspci -vnn (2nd try, this time as root)
Comment 4 Andrew Morton 2010-04-26 22:21:21 UTC
(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Wed, 21 Apr 2010 12:21:18 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=15826
> 
>            Summary: WARNING: at fs/proc/generic.c:317
>                     __xlate_proc_name+0xbd/0xe0()
>            Product: v4l-dvb
>            Version: unspecified
>     Kernel Version: 2.6.34-rc5
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: dvb-core
>         AssignedTo: v4l-dvb_dvb-core@kernel-bugs.osdl.org
>         ReportedBy: bugzilla.kernel.org@boris64.net
>         Regression: No
> 
> 
> Created an attachment (id=26077)
>  --> (https://bugzilla.kernel.org/attachment.cgi?id=26077)
> full dmesg
> 
> I keep getting this warning on boot. It seems to
> happen when the dvb driver for my "technisat skystar2"
> card is loaded (correct me if i'm wrong).
> 
> If you need more infos or debug stuff inside 
> my kernel config, please tell me what i need to include.
> 
> Thank you in advance.
> 
> ----------------------------------------
> ...
> [    0.739420] b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver
> chip
> loaded successfully
> [    0.739435] flexcop-pci: will use the HW PID filter.
> [    0.739438] flexcop-pci: card revision 2
> [    0.739442] b2c2_flexcop_pci 0000:04:01.0: PCI INT A -> GSI 17 (level,
> low)
> -> IRQ 17
> [    0.739459] ------------[ cut here ]------------
> [    0.739463] WARNING: at fs/proc/generic.c:317
> __xlate_proc_name+0xbd/0xe0()

Alexey, this sucks.  A developer goes to the warning site:

static int __xlate_proc_name(const char *name, struct proc_dir_entry **ret,
			     const char **residual)
{
	const char     		*cp = name, *next;
	struct proc_dir_entry	*de;
	int			len;

	de = *ret;
	if (!de)
		de = &proc_root;

	while (1) {
		next = strchr(cp, '/');
		if (!next)
			break;

		len = next - cp;
		for (de = de->subdir; de ; de = de->next) {
			if (proc_match(len, cp, de))
				break;
		}
		if (!de) {
			WARN(1, "name '%s'\n", name);
			return -ENOENT;
		}
		cp += len + 1;
	}
	*residual = cp;
	*ret = de;
	return 0;
}

and there's no hint whatsoever to tell him what the warning means, nor
how to fix it.

Please send a patch adding a nice comment to __xlate_proc_name().  Then
perhaps the DVB guys have a chance of fixing this bug.

Thanks.


> [    0.739465] Hardware name: P5K
> [    0.739466] name 'Technisat/B2C2 FlexCop II/IIb/III Digital TV PCI Driver'
> [    0.739467] Modules linked in:
> [    0.739470] Pid: 1, comm: swapper Not tainted 2.6.34-rc5-v2k11+-dbg-dirty
> #118
> [    0.739471] Call Trace:
> [    0.739476]  [<ffffffff8103e386>] warn_slowpath_common+0x76/0xb0
> [    0.739478]  [<ffffffff8103e41c>] warn_slowpath_fmt+0x3c/0x40
> [    0.739481]  [<ffffffff8110b4ad>] __xlate_proc_name+0xbd/0xe0
> [    0.739483]  [<ffffffff8110b540>] __proc_create+0x70/0x140
> [    0.739486]  [<ffffffff8110bf49>] proc_mkdir_mode+0x29/0x60
> [    0.739488]  [<ffffffff8110bf91>] proc_mkdir+0x11/0x20
> [    0.739491]  [<ffffffff8107b39b>] register_handler_proc+0x11b/0x140
> [    0.739494]  [<ffffffff810791f9>] __setup_irq+0x1f9/0x390
> [    0.739497]  [<ffffffff813ca790>] ? flexcop_pci_isr+0x0/0x3e0
> [    0.739500]  [<ffffffff810794bc>] request_threaded_irq+0x12c/0x210
> [    0.739502]  [<ffffffff813cad20>] flexcop_pci_probe+0x1b0/0x350
> [    0.739505]  [<ffffffff811e4ee5>] pci_device_probe+0x75/0xa0
> [    0.739509]  [<ffffffff8130522a>] ? driver_sysfs_add+0x5a/0x90
> [    0.739511]  [<ffffffff813054f3>] driver_probe_device+0x93/0x1a0
> [    0.739514]  [<ffffffff8130569b>] __driver_attach+0x9b/0xa0
> [    0.739517]  [<ffffffff81305600>] ? __driver_attach+0x0/0xa0
> [    0.739519]  [<ffffffff8130460e>] bus_for_each_dev+0x5e/0x90
> [    0.739522]  [<ffffffff813051c9>] driver_attach+0x19/0x20
> [    0.739524]  [<ffffffff81304d62>] bus_add_driver+0xb2/0x260
> [    0.739527]  [<ffffffff8130590f>] driver_register+0x6f/0x130
> [    0.739529]  [<ffffffff811e5171>] __pci_register_driver+0x51/0xd0
> [    0.739533]  [<ffffffff818f49a9>] ? flexcop_pci_module_init+0x0/0x1b
> [    0.739535]  [<ffffffff818f49c2>] flexcop_pci_module_init+0x19/0x1b
> [    0.739538]  [<ffffffff810002d9>] do_one_initcall+0x39/0x1a0
> [    0.739540]  [<ffffffff818d1cc4>] kernel_init+0x14d/0x1d7
> [    0.739543]  [<ffffffff81003194>] kernel_thread_helper+0x4/0x10
> [    0.739546]  [<ffffffff818d1b77>] ? kernel_init+0x0/0x1d7
> [    0.739548]  [<ffffffff81003190>] ? kernel_thread_helper+0x0/0x10
> [    0.739553] ---[ end trace 4e6b2faee55cb1bf ]---
> [    0.744389] DVB: registering new adapter (FlexCop Digital TV device)
> [    0.746102] b2c2-flexcop: MAC address = 00:d0:d7:0f:30:58
> [    0.946350] b2c2-flexcop: found 'ST STV0299 DVB-S' .
> [    0.946353] DVB: registering adapter 0 frontend 0 (ST STV0299 DVB-S)...
> [    0.946422] b2c2-flexcop: initialization of 'Sky2PC/SkyStar 2 DVB-S rev
> 2.6'
> at the 'PCI' bus controlled by a 'FlexCopIIb' complete
Comment 5 Anonymous Emailer 2010-07-08 20:28:35 UTC
Reply-To: me@boris64.net

Still present in kernel-2.6.34.1.
The dvb card itself has been installed to another computer,
different os (archlinux instead of gentoo), warning is still there.

[dmesg]...
b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded 
successfully
flexcop-pci: will use the HW PID filter.
flexcop-pci: card revision 2
b2c2_flexcop_pci 0000:00:0b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
------------[ cut here ]------------
WARNING: at fs/proc/generic.c:317 __xlate_proc_name+0xb3/0xc0()
Hardware name: System Name
name 'Technisat/B2C2 FlexCop II/IIb/III Digital TV PCI Driver'
Modules linked in: b2c2_flexcop_pci(+) i2c_viapro snd(+) soundcore 
b2c2_flexcop dvb_core cx24123 cx24113 via_ircc uhci_hcd s5h1420 button thermal 
processor irda crc_ccitt ehci_hcd usbcore via_agp firewire_ohci firewire_core 
crc_itu_t shpchp pci_hotplug evdev psmouse via_rhine mii emu10k1_gp gameport 
sg serio_raw pcspkr rtc_cmos rtc_core rtc_lib ext4 mbcache jbd2 crc16 sr_mod 
cdrom sd_mod pata_via ata_generic pata_acpi floppy libata scsi_mod radeon ttm 
drm_kms_helper drm agpgart i2c_algo_bit i2c_core
Pid: 1187, comm: modprobe Not tainted 2.6.34-ARCH #1
Call Trace:
 [<c104317d>] warn_slowpath_common+0x6d/0xa0
 [<c113b553>] ? __xlate_proc_name+0xb3/0xc0
 [<c113b553>] ? __xlate_proc_name+0xb3/0xc0
 [<c10431f6>] warn_slowpath_fmt+0x26/0x30
 [<c113b553>] __xlate_proc_name+0xb3/0xc0
 [<c113b5b9>] __proc_create+0x59/0x100
 [<c113bed3>] proc_mkdir_mode+0x23/0x50
 [<c113bf0f>] proc_mkdir+0xf/0x20
 [<c10986ab>] register_handler_proc+0xeb/0x110
 [<c1096a3f>] __setup_irq+0x19f/0x2f0
 [<c10e950c>] ? kmem_cache_alloc_notrace+0x7c/0xb0
 [<f8ce7140>] ? flexcop_pci_isr+0x0/0x140 [b2c2_flexcop_pci]
 [<c1096c6e>] request_threaded_irq+0xde/0x1c0
 [<c1027516>] ? ioremap_nocache+0x16/0x20
 [<f8ce73e0>] flexcop_pci_probe+0x160/0x2b0 [b2c2_flexcop_pci]
 [<c119ad56>] pci_device_probe+0x56/0x80
 [<c1215a27>] driver_probe_device+0x77/0x180
 [<c1215ba9>] __driver_attach+0x79/0x80
 [<c1214c83>] bus_for_each_dev+0x43/0x70
 [<c1215779>] driver_attach+0x19/0x20
 [<c1215b30>] ? __driver_attach+0x0/0x80
 [<c121533d>] bus_add_driver+0xbd/0x2d0
 [<c119aca0>] ? pci_device_remove+0x0/0x40
 [<c1215da5>] driver_register+0x65/0x110
 [<c119af80>] __pci_register_driver+0x40/0xb0
 [<f8cf4017>] flexcop_pci_module_init+0x17/0x19 [b2c2_flexcop_pci]
 [<c100120d>] do_one_initcall+0x2d/0x190
 [<f8cf4000>] ? flexcop_pci_module_init+0x0/0x19 [b2c2_flexcop_pci]
 [<c1078fed>] sys_init_module+0xad/0x210
 [<c10d8ec9>] ? sys_mmap_pgoff+0x89/0x110
 [<c100379f>] sysenter_do_call+0x12/0x28
---[ end trace d65de7b15fba8e1f ]---
DVB: registering new adapter (FlexCop Digital TV device)
b2c2-flexcop: MAC address = 00:d0:d7:0f:30:58
CX24123: cx24123_i2c_readreg: reg=0x0 (error=-121)
CX24123: wrong demod revision: 87
usb 2-2: new low speed USB device using uhci_hcd and address 3
b2c2-flexcop: found 'ST STV0299 DVB-S' .
DVB: registering adapter 0 frontend 0 (ST STV0299 DVB-S)...
b2c2-flexcop: initialization of 'Sky2PC/SkyStar 2 DVB-S rev 2.6' at the 'PCI' 
bus controlled by a 'FlexCopIIb' complete
...
[dmesg]


Am Dienstag, 27. April 2010 schrieb Andrew Morton:
> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).
> 
> On Wed, 21 Apr 2010 12:21:18 GMT
> 
> bugzilla-daemon@bugzilla.kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=15826
> > 
> >            Summary: WARNING: at fs/proc/generic.c:317
> >            
> >                     __xlate_proc_name+0xbd/0xe0()
> >            
> >            Product: v4l-dvb
> >            Version: unspecified
> >     
> >     Kernel Version: 2.6.34-rc5
> >     
> >           Platform: All
> >         
> >         OS/Version: Linux
> >         
> >               Tree: Mainline
> >             
> >             Status: NEW
> >           
> >           Severity: normal
> >           Priority: P1
> >          
> >          Component: dvb-core
> >         
> >         AssignedTo: v4l-dvb_dvb-core@kernel-bugs.osdl.org
> >         ReportedBy: bugzilla.kernel.org@boris64.net
> >         Regression: No
> > 
> > Created an attachment (id=26077)
> > 
> >  --> (https://bugzilla.kernel.org/attachment.cgi?id=26077)
> > 
> > full dmesg
> > 
> > I keep getting this warning on boot. It seems to
> > happen when the dvb driver for my "technisat skystar2"
> > card is loaded (correct me if i'm wrong).
> > 
> > If you need more infos or debug stuff inside
> > my kernel config, please tell me what i need to include.
> > 
> > Thank you in advance.
> > 
> > ----------------------------------------
> > ...
> > [    0.739420] b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver
> > chip loaded successfully
> > [    0.739435] flexcop-pci: will use the HW PID filter.
> > [    0.739438] flexcop-pci: card revision 2
> > [    0.739442] b2c2_flexcop_pci 0000:04:01.0: PCI INT A -> GSI 17 (level,
> > low) -> IRQ 17
> > [    0.739459] ------------[ cut here ]------------
> > [    0.739463] WARNING: at fs/proc/generic.c:317
> > __xlate_proc_name+0xbd/0xe0()
> 
> Alexey, this sucks.  A developer goes to the warning site:
> 
> static int __xlate_proc_name(const char *name, struct proc_dir_entry **ret,
>                            const char **residual)
> {
>       const char              *cp = name, *next;
>       struct proc_dir_entry   *de;
>       int                     len;
> 
>       de = *ret;
>       if (!de)
>               de = &proc_root;
> 
>       while (1) {
>               next = strchr(cp, '/');
>               if (!next)
>                       break;
> 
>               len = next - cp;
>               for (de = de->subdir; de ; de = de->next) {
>                       if (proc_match(len, cp, de))
>                               break;
>               }
>               if (!de) {
>                       WARN(1, "name '%s'\n", name);
>                       return -ENOENT;
>               }
>               cp += len + 1;
>       }
>       *residual = cp;
>       *ret = de;
>       return 0;
> }
> 
> and there's no hint whatsoever to tell him what the warning means, nor
> how to fix it.
> 
> Please send a patch adding a nice comment to __xlate_proc_name().  Then
> perhaps the DVB guys have a chance of fixing this bug.
> 
> Thanks.
> 
> > [    0.739465] Hardware name: P5K
> > [    0.739466] name 'Technisat/B2C2 FlexCop II/IIb/III Digital TV PCI
> > Driver' [    0.739467] Modules linked in:
> > [    0.739470] Pid: 1, comm: swapper Not tainted
> > 2.6.34-rc5-v2k11+-dbg-dirty #118
> > [    0.739471] Call Trace:
> > [    0.739476]  [<ffffffff8103e386>] warn_slowpath_common+0x76/0xb0
> > [    0.739478]  [<ffffffff8103e41c>] warn_slowpath_fmt+0x3c/0x40
> > [    0.739481]  [<ffffffff8110b4ad>] __xlate_proc_name+0xbd/0xe0
> > [    0.739483]  [<ffffffff8110b540>] __proc_create+0x70/0x140
> > [    0.739486]  [<ffffffff8110bf49>] proc_mkdir_mode+0x29/0x60
> > [    0.739488]  [<ffffffff8110bf91>] proc_mkdir+0x11/0x20
> > [    0.739491]  [<ffffffff8107b39b>] register_handler_proc+0x11b/0x140
> > [    0.739494]  [<ffffffff810791f9>] __setup_irq+0x1f9/0x390
> > [    0.739497]  [<ffffffff813ca790>] ? flexcop_pci_isr+0x0/0x3e0
> > [    0.739500]  [<ffffffff810794bc>] request_threaded_irq+0x12c/0x210
> > [    0.739502]  [<ffffffff813cad20>] flexcop_pci_probe+0x1b0/0x350
> > [    0.739505]  [<ffffffff811e4ee5>] pci_device_probe+0x75/0xa0
> > [    0.739509]  [<ffffffff8130522a>] ? driver_sysfs_add+0x5a/0x90
> > [    0.739511]  [<ffffffff813054f3>] driver_probe_device+0x93/0x1a0
> > [    0.739514]  [<ffffffff8130569b>] __driver_attach+0x9b/0xa0
> > [    0.739517]  [<ffffffff81305600>] ? __driver_attach+0x0/0xa0
> > [    0.739519]  [<ffffffff8130460e>] bus_for_each_dev+0x5e/0x90
> > [    0.739522]  [<ffffffff813051c9>] driver_attach+0x19/0x20
> > [    0.739524]  [<ffffffff81304d62>] bus_add_driver+0xb2/0x260
> > [    0.739527]  [<ffffffff8130590f>] driver_register+0x6f/0x130
> > [    0.739529]  [<ffffffff811e5171>] __pci_register_driver+0x51/0xd0
> > [    0.739533]  [<ffffffff818f49a9>] ? flexcop_pci_module_init+0x0/0x1b
> > [    0.739535]  [<ffffffff818f49c2>] flexcop_pci_module_init+0x19/0x1b
> > [    0.739538]  [<ffffffff810002d9>] do_one_initcall+0x39/0x1a0
> > [    0.739540]  [<ffffffff818d1cc4>] kernel_init+0x14d/0x1d7
> > [    0.739543]  [<ffffffff81003194>] kernel_thread_helper+0x4/0x10
> > [    0.739546]  [<ffffffff818d1b77>] ? kernel_init+0x0/0x1d7
> > [    0.739548]  [<ffffffff81003190>] ? kernel_thread_helper+0x0/0x10
> > [    0.739553] ---[ end trace 4e6b2faee55cb1bf ]---
> > [    0.744389] DVB: registering new adapter (FlexCop Digital TV device)
> > [    0.746102] b2c2-flexcop: MAC address = 00:d0:d7:0f:30:58
> > [    0.946350] b2c2-flexcop: found 'ST STV0299 DVB-S' .
> > [    0.946353] DVB: registering adapter 0 frontend 0 (ST STV0299
> > DVB-S)... [    0.946422] b2c2-flexcop: initialization of 'Sky2PC/SkyStar
> > 2 DVB-S rev 2.6' at the 'PCI' bus controlled by a 'FlexCopIIb' complete


-- 
http://boris64.net 20xx ;)
Comment 6 Stefan Bauer 2010-07-12 22:08:06 UTC
I can confirm this. Kernel 2.6.34.

$ lspci -vv
04:07.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card (rev 02)
        Subsystem: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Interrupt: pin A routed to IRQ 21
        Region 0: Memory at fbff0000 (32-bit, non-prefetchable) [size=64K]
        Region 1: I/O ports at ec00 [size=32]
        Kernel driver in use: b2c2_flexcop_pci
        Kernel modules: b2c2-flexcop-pci

$ dmesg
b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
flexcop-pci: will use the HW PID filter.
flexcop-pci: card revision 2
b2c2_flexcop_pci 0000:04:07.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
------------[ cut here ]------------
WARNING: at fs/proc/generic.c:317 __xlate_proc_name+0xb6/0xbd()
Hardware name: System Product Name
name 'Technisat/B2C2 FlexCop II/IIb/III Digital TV PCI Driver'
Modules linked in: b2c2_flexcop_pci(+) b2c2_flexcop s5h1420 mt352 itd1000 bcm3510 snd_hda_intel(+) dvb_pll stv0297 snd_hda_codec nxt200x isl6421 tuner_simple tuner_types snd_hwdep cx24113 mt312 cx24123 snd_pcm lgdt330x stv0299 dvb_core snd_timer sr_mod cdrom snd r8169 snd_page_alloc mii firewire_ohci
Pid: 1507, comm: modprobe Not tainted 2.6.34 #47
Call Trace:
 [<ffffffff8102f98a>] ? warn_slowpath_common+0x76/0x8c
 [<ffffffff8102f9f2>] ? warn_slowpath_fmt+0x40/0x45
 [<ffffffff811ec0e5>] ? idr_get_empty_slot+0x167/0x24e
 [<ffffffff810cfee4>] ? __xlate_proc_name+0xb6/0xbd
 [<ffffffff810d0324>] ? __proc_create+0x4a/0x121
 [<ffffffff810d0a63>] ? proc_mkdir_mode+0x27/0x51
 [<ffffffff8105e4e2>] ? register_handler_proc+0xca/0xdc
 [<ffffffff8105c978>] ? __setup_irq+0x245/0x2b2
 [<ffffffffa007b118>] ? flexcop_pci_isr+0x0/0x131 [b2c2_flexcop_pci]
 [<ffffffff8105cac7>] ? request_threaded_irq+0xe2/0x128
 [<ffffffffa007b3e0>] ? flexcop_pci_probe+0x197/0x2e9 [b2c2_flexcop_pci]
 [<ffffffff811fcc89>] ? local_pci_probe+0x12/0x16
 [<ffffffff811fda12>] ? pci_device_probe+0x5b/0x87
 [<ffffffff812f5dfb>] ? driver_sysfs_add+0x42/0x69
 [<ffffffff812f5f2b>] ? driver_probe_device+0x9c/0x123
 [<ffffffff812f6001>] ? __driver_attach+0x4f/0x6f
 [<ffffffff812f5fb2>] ? __driver_attach+0x0/0x6f
 [<ffffffff812f57f7>] ? bus_for_each_dev+0x44/0x78
 [<ffffffff812f51dc>] ? bus_add_driver+0xaf/0x1f7
 [<ffffffff812f62a4>] ? driver_register+0x8f/0xf7
 [<ffffffff811fdc59>] ? __pci_register_driver+0x4e/0xbe
 [<ffffffff81045de3>] ? __blocking_notifier_call_chain+0x58/0x63
 [<ffffffffa0082000>] ? flexcop_pci_module_init+0x0/0x1f [b2c2_flexcop_pci]
 [<ffffffff810001e0>] ? do_one_initcall+0x4f/0x13e
 [<ffffffff81054dcb>] ? sys_init_module+0xc6/0x21f
 [<ffffffff81001e2b>] ? system_call_fastpath+0x16/0x1b
---[ end trace 8e9bb529e86b76ec ]---
DVB: registering new adapter (FlexCop Digital TV device)
b2c2-flexcop: MAC address = 00:d0:d7:01:c5:c6
CX24123: cx24123_i2c_readreg: reg=0x0 (error=-121)
CX24123: wrong demod revision: 87
b2c2-flexcop: found 'Zarlink MT352 DVB-T' .
DVB: registering adapter 0 frontend 0 (Zarlink MT352 DVB-T)...
b2c2-flexcop: initialization of 'Air2PC/AirStar 2 DVB-T' at the 'PCI' bus controlled by a 'FlexCopIIb' complete
Comment 7 Christian Schmitt 2010-08-12 18:48:57 UTC
As this is still not fixed in 2.6.25 I serached and found this patch:
http://lkml.org/lkml/2010/6/1/138

It fixes the issue here:

b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
flexcop-pci: will use the HW PID filter.
flexcop-pci: card revision 2
b2c2_flexcop_pci 0000:03:07.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
DVB: registering new adapter (FlexCop Digital TV device)
b2c2-flexcop: MAC address = 00:d0:d7:0a:41:b6
CX24123: cx24123_i2c_readreg: reg=0x0 (error=-121)
CX24123: wrong demod revision: 87
Comment 8 boris64 2010-08-13 14:01:11 UTC
Indeed, the suggested fix from comment #7 works for me, too.
Comment 9 boris64 2010-09-24 14:34:19 UTC
Ok, the patch fixes definitly the kernel warning on 
module load. Will it ever make it into mainline?
Comment 10 boris64 2010-11-28 12:48:46 UTC
Well, this is still not fixed in 2.6.36.1. Maybe it's not
important enough, maybe those v4l-dvb guys do not read bug reports.
Is there a way to point them into the right direction?
Comment 11 boris64 2010-11-28 12:51:33 UTC
Created attachment 38422 [details]
Supposed and working fix from comment #7

Patch from http://lkml.org/lkml/2010/6/1/138 suggested in 
comment #7 / https://bugzilla.kernel.org/show_bug.cgi?id=15826#c7.

Note You need to log in before you can comment on or make changes to this bug.