Bug 16613
Summary: | i8042 kernel module failed to load after unloading | ||
---|---|---|---|
Product: | Drivers | Reporter: | Seryodkin Victor (vvscore) |
Component: | Input Devices | Assignee: | Dmitry Torokhov (dmitry.torokhov) |
Status: | CLOSED CODE_FIX | ||
Severity: | high | CC: | dmitry.torokhov, florian, maciej.rutecki, rjw |
Priority: | P1 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.35.2 2.6.36-rc1 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 16055 | ||
Attachments: |
2.6.30 kernel config (kernel which works fine)
2.6.35.2 kernel config (kernel which works bad) 2.6.36-rc1 kernel config (kernel which works bad) Fix device removal on unload |
Description
Seryodkin Victor
2010-08-17 17:01:06 UTC
Created attachment 27487 [details]
2.6.30 kernel config (kernel which works fine)
Created attachment 27488 [details]
2.6.35.2 kernel config (kernel which works bad)
Created attachment 27489 [details]
2.6.36-rc1 kernel config (kernel which works bad)
On Mon, 30 Aug 2010 09:13:04 +0400 Victor Seryodkin <vvscore@gmail.com> wrote: > Verifying: the bug is still actual > Hmm, it the order of unregistering devices and drivers should not matter, need to look into drivers/base/platform.c Ah, nevermind, i8042_remove() resets i8042_platform_device and so platform_device_unregister(i8042_platform_device); does not do anything. Created attachment 28731 [details]
Fix device removal on unload
This should fix the issue.
(In reply to comment #7) > Created an attachment (id=28731) [details] > Fix device removal on unload > > This should fix the issue. With this correction i8042 driver reload works properly. Patch : https://bugzilla.kernel.org/attachment.cgi?id=28731 Handled-By : Dmitry Torokhov <dmitry.torokhov@gmail.com> Fixed by commit af045b86662f17bf130239a65995c61a34f00a6b . |