Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750715AbWBKVmf (ORCPT ); Sat, 11 Feb 2006 16:42:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750725AbWBKVmf (ORCPT ); Sat, 11 Feb 2006 16:42:35 -0500 Received: from smtp.osdl.org ([65.172.181.4]:19090 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1750715AbWBKVme (ORCPT ); Sat, 11 Feb 2006 16:42:34 -0500 Date: Sat, 11 Feb 2006 13:41:42 -0800 From: Andrew Morton To: Martin Hermanowski Cc: linux-kernel@vger.kernel.org, hdaps-devel@lists.sourceforge.net, Dmitry Torokhov Subject: Re: 2.6.16-rc2-mm1 Message-Id: <20060211134142.11c1af44.akpm@osdl.org> In-Reply-To: <20060211203158.GA9020@mh57.de> References: <20060207220627.345107c3.akpm@osdl.org> <20060211203158.GA9020@mh57.de> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1949 Lines: 42 Martin Hermanowski wrote: > > Hi, > > 2.6.16-rc2-mm1 is running fine on my IBM notebook, but the hdaps module > (acceleration sensor) does not work like I expected: > > ,----[ modprobe hdaps ] > | Feb 11 21:24:26 nimrais kernel: hdaps: inverting axis readings. > | Feb 11 21:24:26 nimrais kernel: hdaps: IBM ThinkPad T41p detected. > | Feb 11 21:24:26 nimrais kernel: hdaps: driver successfully loaded. > `---- > > AFAIK the module should create sysfs files in > /sys/devices/platform/hdaps/, but I see only `bus', `power' and > `uevent'. > > When unloading the hdaps module, I get a BUG: > > ,----[ rmmod hdaps ] > | Feb 11 21:24:49 nimrais kernel: release_resource+0x76/0x80 platform_device_del+0x44/0x60 > | Feb 11 21:24:49 nimrais kernel: platform_device_unregister+0x8/0x10 hdaps_exit+0xd/0x25 [hdaps] > | Feb 11 21:24:49 nimrais kernel: hdaps_exit+0x0/0x25 [hdaps] sys_delete_module+0x145/0x1c0 > | Feb 11 21:24:49 nimrais kernel: remove_vma+0x41/0x50 do_munmap+0x1a7/0x200 > | Feb 11 21:24:49 nimrais kernel: syscall_call+0x7/0xb > | Feb 11 21:24:49 nimrais kernel: hdaps: driver unloaded. > `---- > > Do you need more information? > Thanks, I'll drop hdaps-convert-to-the-new-platform-device-interface.patch, which very likely to have caused this. You could try reverting that patch (wget ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc2/2.6.16-rc2-mm1/broken-out/hdaps-convert-to-the-new-platform-device-interface.patch ; patch -p1 -R < hdaps-convert-to-the-new-platform-device-interface.patch) or please test next -mm, let us know? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/