* kernel: sysctl table check failed: /dev/parport/parport0/devices/ppdev0/timeslice Sysctl already exists
@ 2008-05-30 15:05 Dave Jones
2008-05-30 18:19 ` Eric W. Biederman
0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2008-05-30 15:05 UTC (permalink / raw)
To: Linux Kernel; +Cc: Eric W. Biederman
[-- Attachment #1: Type: text/plain, Size: 272 bytes --]
Well, that's umm, special.
I wonder if powering off the printer isn't causing the sysctl to be removed,
causing the next power-on to look like a new device ?
Eric, you poked around the sysctl paths in parport last year, any ideas?
Dave
--
http://www.codemonkey.org.uk
[-- Attachment #2: Type: message/rfc822, Size: 7118 bytes --]
From: bugzilla@redhat.com
To: kernel-maint@redhat.com
Subject: [Bug 449112] New: kernel:<3>sysctl table check failed: /dev/parport/parport0/devices/ppdev0/timeslice Sysctl already exists
Date: Fri, 30 May 2008 10:15:51 -0400
Message-ID: <bug-449112-176318@bugzilla.redhat.com>
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=449112
Summary: kernel:<3>sysctl table check failed:
/dev/parport/parport0/devices/ppdev0/timeslice Sysctl
already exists
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: low
Priority: low
Component: kernel
AssignedTo: kernel-maint@redhat.com
ReportedBy: selinux@gmail.com
QAContact: extras-qa@fedoraproject.org
Description of problem:
Get the following in dmesg. I had "printed" to an HP5MP printer from firefox,
but the printer was powered off. I turned on the printer, and I believe got these.
ppdev0: registered pardevice
sysctl table check failed: /dev/parport/parport0/devices/ppdev0/timeslice
Sysctl already exists
Pid: 3921, comm: hp Not tainted 2.6.26-0.44.rc4.git2.fc10.i686 #1
[<c04407ae>] set_fail+0x33/0x40
[<c0440bc4>] sysctl_check_table+0x409/0x445
[<c0440bda>] sysctl_check_table+0x41f/0x445
[<c0440bda>] sysctl_check_table+0x41f/0x445
[<c0440bda>] sysctl_check_table+0x41f/0x445
[<c0440bda>] sysctl_check_table+0x41f/0x445
[<c0440bda>] sysctl_check_table+0x41f/0x445
[<c043148c>] __register_sysctl_paths+0xa7/0xf9
[<c04314fc>] register_sysctl_paths+0x1e/0x20
[<c043150d>] register_sysctl_table+0xf/0x11
[<f8db831f>] parport_device_proc_register+0xa9/0xc7 [parport]
[<f8db6b2c>] parport_register_device+0x1c1/0x1eb [parport]
[<f8dfe328>] pp_ioctl+0x12e/0x6b2 [ppdev]
[<f8dfe8ac>] ? pp_irq+0x0/0x43 [ppdev]
[<c04982ac>] vfs_ioctl+0x50/0x69
[<c04984fe>] do_vfs_ioctl+0x239/0x24c
[<c04df7dc>] ? selinux_file_ioctl+0x35/0x38
[<c0498551>] sys_ioctl+0x40/0x5b
[<c0404c3a>] syscall_call+0x7/0xb
=======================
ppdev0: registered pardevice
sysctl table check failed: /dev/parport/parport0/devices/ppdev0/timeslice
Sysctl already exists
Pid: 3921, comm: hp Not tainted 2.6.26-0.44.rc4.git2.fc10.i686 #1
[<c04407ae>] set_fail+0x33/0x40
[<c0440bc4>] sysctl_check_table+0x409/0x445
[<c0440bda>] sysctl_check_table+0x41f/0x445
[<c0440bda>] sysctl_check_table+0x41f/0x445
[<c0440bda>] sysctl_check_table+0x41f/0x445
[<c0440bda>] sysctl_check_table+0x41f/0x445
[<c0440bda>] sysctl_check_table+0x41f/0x445
[<c043148c>] __register_sysctl_paths+0xa7/0xf9
[<c04314fc>] register_sysctl_paths+0x1e/0x20
[<c043150d>] register_sysctl_table+0xf/0x11
[<f8db831f>] parport_device_proc_register+0xa9/0xc7 [parport]
[<f8db6b2c>] parport_register_device+0x1c1/0x1eb [parport]
[<f8dfe328>] pp_ioctl+0x12e/0x6b2 [ppdev]
[<f8dfe8ac>] ? pp_irq+0x0/0x43 [ppdev]
[<c04982ac>] vfs_ioctl+0x50/0x69
[<c04984fe>] do_vfs_ioctl+0x239/0x24c
[<c04df7dc>] ? selinux_file_ioctl+0x35/0x38
[<c0498551>] sys_ioctl+0x40/0x5b
[<c0404c3a>] syscall_call+0x7/0xb
=======================
ppdev0: registered pardevice
ppdev0: unregistered pardevice
ppdev0: unregistered pardevice
ppdev0: unregistered pardevice
Version-Release number of selected component (if applicable):
kernel-2.6.26-0.44.rc4.git2.fc10.i686
How reproducible:
Don't know....
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: kernel: sysctl table check failed: /dev/parport/parport0/devices/ppdev0/timeslice Sysctl already exists
2008-05-30 15:05 kernel: sysctl table check failed: /dev/parport/parport0/devices/ppdev0/timeslice Sysctl already exists Dave Jones
@ 2008-05-30 18:19 ` Eric W. Biederman
0 siblings, 0 replies; 2+ messages in thread
From: Eric W. Biederman @ 2008-05-30 18:19 UTC (permalink / raw)
To: Dave Jones; +Cc: Linux Kernel
Dave Jones <davej@redhat.com> writes:
> Well, that's umm, special.
> I wonder if powering off the printer isn't causing the sysctl to be removed,
> causing the next power-on to look like a new device ?
> Eric, you poked around the sysctl paths in parport last year, any ideas?
Yes. The short answer is that this is a real bug in the parport code
that has existed forever. We just now complain.
http://bugzilla.kernel.org/show_bug.cgi?id=9749
It takes something like two accessors of the parallel port to trigger
this. Though not in a bad way.
In particular each open creates the sysctl for the duration of the
open (or something like that) and so if you open (I think it is
/dev/parport0) twice you try and create the sysctls twice.
I got as far as basic confirmation of this bug, and a rough cause of
it. Unfortunately I have not had the time to unscramble it, and neither
it seems has anyone else.
Eric
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-30 18:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-30 15:05 kernel: sysctl table check failed: /dev/parport/parport0/devices/ppdev0/timeslice Sysctl already exists Dave Jones
2008-05-30 18:19 ` Eric W. Biederman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox