Skip to contentSkip to conversation

Defunct event/0 processes under 2.6.0-test6-mm1

BUG Bradley Chapman 4 participants 11 messages Sep 29, 2003

lore
Share & tools
lore
#0 lore raw

Mr. Morton,

I am experiencing defunct event/0 kernel daemons under 2.6.0-test6-mm1 with synaptics_drv 0.11.7, Dmitry Torokhov's gpm-1.20 with synaptics support, and XFree86 4.3.0-10. Moving the touchpad in either X or with gpm causes defunct event/0 processes to be created. This didn't happen with 2.6.0-test5-mm4, using either synaptics_drv 0.11.6 or 0.11.7, and I'm pretty sure that it didn't happen with 2.6.0-test6, but I will check that.

I see in your e-mail here:

http://www.ussg.iu.edu/hypermail/linux/kernel/0309.3/0926.html

that you merged a synaptics update in the -mm1 patchset. Do you have a link to this patch so that I can revert it and see if it still occurs?

TIA

Brad Chapman

=====
Brad Chapman

Permanent e-mail: [email protected]

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#1 lore raw
Quoted 5 lines · Bradley Chapman

I am experiencing defunct event/0 kernel daemons under 2.6.0-test6-mm1
with synaptics_drv 0.11.7, Dmitry Torokhov's gpm-1.20 with synaptics support, and XFree86 4.3.0-10. Moving the touchpad in either X or with gpm causes defunct event/0 processes to be created.

Defunct is odd. Have you run `dmesg' to see if the kernel oopsed?

You could try reverting synaptics-reconnect.patch, and then serio-reconnect.patch from

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test6/2.6.0-test6-mm1/broken-out

#2 lore raw

Mr. Morton,

Quoted 8 lines · --- Andrew Morton
Quoted 5 lines · Bradley Chapman

I am experiencing defunct event/0 kernel daemons under 2.6.0-test6-mm1
with synaptics_drv 0.11.7, Dmitry Torokhov's gpm-1.20 with synaptics support, and XFree86 4.3.0-10. Moving the touchpad in either X or with gpm causes defunct event/0 processes to be created.

Defunct is odd. Have you run `dmesg' to see if the kernel oopsed?

That was one of the first things I checked. There were no Oopses and nothing else seemed to suffer, i.e. no high CPU usage or other nasty dmesg messages.

Quoted 5 lines

You could try reverting synaptics-reconnect.patch, and then serio-reconnect.patch from

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test6/2.6.0-test6-mm1/broken-out

Quoted 1 line

OK. I will report back once I have rebooted.

Brad

=====
Brad Chapman

Permanent e-mail: [email protected]

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#3 lore raw
In reply to Andrew Morton

Mr. Morton,

Quoted 7 lines · --- Andrew Morton
Quoted 5 lines · Bradley Chapman

I am experiencing defunct event/0 kernel daemons under 2.6.0-test6-mm1
with synaptics_drv 0.11.7, Dmitry Torokhov's gpm-1.20 with synaptics support, and XFree86 4.3.0-10. Moving the touchpad in either X or with gpm causes defunct event/0 processes to be created.

Quoted 6 lines

Defunct is odd. Have you run `dmesg' to see if the kernel oopsed?

You could try reverting synaptics-reconnect.patch, and then serio-reconnect.patch from

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test6/2.6.0-test6-mm1/broken-out

I reverted these two patches and rebooted. No such luck; I noticed that immediately after starting gpm and X and moving my Logitech MX700 mouse to start the Konsole, I had many events/0 processes that were defunct. No Oopses at all. Here is the relevant part of dmesg:

drivers/usb/core/usb.c: registered new driver hiddev drivers/usb/core/usb.c: registered new driver hid drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
Synaptics Touchpad, model: 1
Firmware: 5.9
Sensor: 28
new absolute packet format
Touchpad has extended capability bits
-> four buttons
-> multifinger detection
-> palm detection
mousedev: attached device SynPS/2 Synaptics TouchPad at input/mouse0 <----- *
input: SynPS/2 Synaptics TouchPad on isa0060/serio4
serio: i8042 AUX3 port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
...
hub 1-0:1.0: new USB device on port 1, assigned address 2
mousedev: attached device Logitech USB Receiver at input/mouse1 <---------- *
input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1

If you want the rest of the USB parts, I can send that too.

Brad

[*] - This is a patch I added to mousedev.c at the end of mousedev_connect() - when the input core connects a new device to mousedev, this message prints the devnode it made it available on. It's just a debugging patch.

=====
Brad Chapman

Permanent e-mail: [email protected]

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#4 lore raw
In reply to Andrew Morton
Quoted 6 lines · Andrew Morton
Quoted 4 lines · Bradley Chapman

I am experiencing defunct event/0 kernel daemons under 2.6.0-test6-mm1 with synaptics_drv 0.11.7, Dmitry Torokhov's gpm-1.20 with synaptics support, and XFree86 4.3.0-10. Moving the touchpad in either X or with gpm causes defunct event/0 processes to be created.

Quoted 8 lines

Defunct is odd. Have you run `dmesg' to see if the kernel oopsed?

You could try reverting synaptics-reconnect.patch, and then serio-reconnect.patch from

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-tes t6/2.6.0-test6-mm1/broken-out

Input subsystem uses only one kernel thread called kseriod, not eventsX. I think it's not synaptics/serio reconnect but other patch you mentioned (call_usermodehelper-retval-fix-2.patch)

Dmitry

#5 lore raw

Mr. Torokhov,

Quoted 12 lines · --- Dmitry Torokhov
Quoted 11 lines · Andrew Morton
Quoted 4 lines · Bradley Chapman

I am experiencing defunct event/0 kernel daemons under 2.6.0-test6-mm1 with synaptics_drv 0.11.7, Dmitry Torokhov's gpm-1.20 with synaptics support, and XFree86 4.3.0-10. Moving the touchpad in either X or with gpm causes defunct event/0 processes to be created.

Defunct is odd. Have you run `dmesg' to see if the kernel oopsed?

You could try reverting synaptics-reconnect.patch, and then serio-reconnect.patch from

Quoted 7 lines
Quoted 3 lines

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-tes t6/2.6.0-test6-mm1/broken-out

Input subsystem uses only one kernel thread called kseriod, not eventsX. I think it's not synaptics/serio reconnect but other patch you mentioned (call_usermodehelper-retval-fix-2.patch)

OK. I'll try reverting that one too. I'm inclined to agree that it could be the problem, because I noticed one more thing before I rebooted to 2.6.0-test6.

I recently installed the latest RH9 hotplug packages from the hotplug Sourceforge website. Under 2.6.0-test6-mm1 the hotplug initscript leaves a defunct hotplug process along with the other events/0 defunct processes. Does this mean anything?

The hotplug version is hotplug-2003_08_05-1.

Quoted 2 lines

Dmitry

Brad

=====
Brad Chapman

Permanent e-mail: [email protected]

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#6 lore raw
Quoted 27 lines · Bradley Chapman

Mr. Torokhov,

Quoted 13 lines · --- Dmitry Torokhov
Quoted 12 lines · Andrew Morton
Quoted 5 lines · Bradley Chapman

I am experiencing defunct event/0 kernel daemons under 2.6.0-test6-mm1 with synaptics_drv 0.11.7, Dmitry Torokhov's gpm-1.20 with synaptics support, and XFree86 4.3.0-10. Moving the touchpad in either X or with gpm causes defunct event/0 processes to be created.

Defunct is odd. Have you run `dmesg' to see if the kernel oopsed?

You could try reverting synaptics-reconnect.patch, and then serio-reconnect.patch from

Quoted 6 lines
Quoted 2 lines

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0 -tes t6/2.6.0-test6-mm1/broken-out

Input subsystem uses only one kernel thread called kseriod, not eventsX. I think it's not synaptics/serio reconnect but other patch you mentioned (call_usermodehelper-retval-fix-2.patch)

OK. I'll try reverting that one too. I'm inclined to agree that it could be the problem, because I noticed one more thing before I rebooted to 2.6.0-test6.

Quoted 6 lines

I recently installed the latest RH9 hotplug packages from the hotplug Sourceforge website. Under 2.6.0-test6-mm1 the hotplug initscript leaves a defunct hotplug process along with the other events/0 defunct processes. Does this mean anything?

The hotplug version is hotplug-2003_08_05-1.

Othe people reported that reverting call_suserhelper patch resolved their eventsX/hotplug zombies problem.

Btw, GPM does not work with test6 or test6-mm yet, I will hopefully have the upated version later tonight.

Dmitry

#7 lore raw

Mr. Torokhov,

Quoted 33 lines · --- Dmitry Torokhov
Quoted 32 lines · Bradley Chapman

Mr. Torokhov,

Quoted 13 lines · --- Dmitry Torokhov
Quoted 12 lines · Andrew Morton
Quoted 5 lines · Bradley Chapman

I am experiencing defunct event/0 kernel daemons under 2.6.0-test6-mm1 with synaptics_drv 0.11.7, Dmitry Torokhov's gpm-1.20 with synaptics support, and XFree86 4.3.0-10. Moving the touchpad in either X or with gpm causes defunct event/0 processes to be created.

Defunct is odd. Have you run `dmesg' to see if the kernel oopsed?

You could try reverting synaptics-reconnect.patch, and then serio-reconnect.patch from

Quoted 6 lines
Quoted 2 lines

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0 -tes t6/2.6.0-test6-mm1/broken-out

Input subsystem uses only one kernel thread called kseriod, not eventsX. I think it's not synaptics/serio reconnect but other patch you mentioned (call_usermodehelper-retval-fix-2.patch)

OK. I'll try reverting that one too. I'm inclined to agree that it could be the problem, because I noticed one more thing before I rebooted to 2.6.0-test6.

I recently installed the latest RH9 hotplug packages from the hotplug Sourceforge website. Under 2.6.0-test6-mm1 the hotplug initscript leaves a defunct hotplug process along with the other events/0 defunct processes. Does this mean anything?

Quoted 4 lines
Quoted 1 line

The hotplug version is hotplug-2003_08_05-1.

Othe people reported that reverting call_suserhelper patch resolved their eventsX/hotplug zombies problem.

Yup! I'm running 2.6.0-test6-mm1 with synaptics-reconnect, serio-reconnect and call_usermodehlper-retval-fix reverted, and no more zombies. It was the call_usermodehelper reversion that fixed it. I looked at the patch and it appears to mess with SIGCHLD signal handling and the kernel stack. How would that mess up hotplug and the events/0 kernel thread?

Quoted 3 lines

Btw, GPM does not work with test6 or test6-mm yet, I will hopefully have the upated version later tonight.

Yes it does ;-)

On both 2.6.0-test6, 2.6.0-test6-mm1 full and 2.6.0-test6-mm1 minus the three patches I mentioned above, the touchpad does work (at least it moves the cursor and clicks).

Quoted 2 lines

Dmitry

Brad

=====
Brad Chapman

Permanent e-mail: [email protected]

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#8 lore raw
In reply to Andrew Morton
Quoted 10 lines · * Andrew Morton ([email protected]) wrote:
Quoted 5 lines · Bradley Chapman

I am experiencing defunct event/0 kernel daemons under 2.6.0-test6-mm1
with synaptics_drv 0.11.7, Dmitry Torokhov's gpm-1.20 with synaptics support, and XFree86 4.3.0-10. Moving the touchpad in either X or with gpm causes defunct event/0 processes to be created.

Defunct is odd. Have you run `dmesg' to see if the kernel oopsed?

You could try reverting synaptics-reconnect.patch, and then serio-reconnect.patch from

Andrew, I wonder if this isn't caused by the call_usermodehelper patch. Looks like you were right ;-)

thanks,
-chris

Signature · 1 line
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
#9 lore raw

Mr. Wright,

Quoted 8 lines · --- Chris Wright
Quoted 7 lines · * Andrew Morton ([email protected]) wrote:
Quoted 5 lines · Bradley Chapman

I am experiencing defunct event/0 kernel daemons under 2.6.0-test6-mm1
with synaptics_drv 0.11.7, Dmitry Torokhov's gpm-1.20 with synaptics support, and XFree86 4.3.0-10. Moving the touchpad in either X or with gpm causes defunct event/0 processes to be created.

Quoted 7 lines
Quoted 3 lines

Defunct is odd. Have you run `dmesg' to see if the kernel oopsed?

You could try reverting synaptics-reconnect.patch, and then

serio-reconnect.patch from

Andrew, I wonder if this isn't caused by the call_usermodehelper patch. Looks like you were right ;-)

He is right. I reverted call_usermodehelper-retval-fix-2.patch and everything works again. Why would that break the source of events/0 and hotplug?

I'd post a link to my reponse but the USSG archive is slow ;-)

Quoted 3 lines

thanks,
-chris

Brad

=====
Brad Chapman

Permanent e-mail: [email protected]

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#10 lore raw
Quoted 2 lines · * Bradley Chapman ([email protected]) wrote:

He is right. I reverted call_usermodehelper-retval-fix-2.patch and everything works again. Why would that break the source of events/0 and hotplug?

That patch changes the SIGCHLD handler for kernel threads that are started via wait_for_helper(). These threads are cloned from keventd (hence events/0 as the process name), and they call hotplug. The child is not being reaped properly.

thanks,
-chris

Signature · 1 line
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net