From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759232Ab0EZL1f (ORCPT ); Wed, 26 May 2010 07:27:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61573 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754432Ab0EZL1d (ORCPT ); Wed, 26 May 2010 07:27:33 -0400 Date: Wed, 26 May 2010 07:27:27 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@hs20-bc2-1.build.redhat.com To: "Justin P. Mattock" cc: Dominik Brodowski , linux-kernel@vger.kernel.org Subject: Re: PCMCIA regression In-Reply-To: <4BFCCA52.3010102@gmail.com> Message-ID: References: <4BFCCA52.3010102@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 May 2010, Justin P. Mattock wrote: > On 05/25/2010 01:25 PM, Mikulas Patocka wrote: > > Hi > > > > The commit a8408c17d0038b76a83affb1b56dc18fa1e7ed86 in Linux 2.6.34-rc6 > > broke pcmcia for me. I use 3c574 network card in yenta socket on Armada > > 7400 laptop. My distribution is Debian lenny. > > > > Reverting the test for "s->functions" in pccard_validate_cis makes the > > network card work again. > > > > Mikulas > > > > May 20 14:17:21 gerlinda vmunix: ------------[ cut here ]------------ > > May 20 14:17:21 gerlinda vmunix: WARNING: at drivers/pcmcia/cistpl.c:1488 > > pccard_validate_cis+0x287/0x2d0 [pcmcia]() > > May 20 14:17:21 gerlinda vmunix: Modules linked in: 3c574_cs ohci_hcd > > pcmcia rtc_cmos crc32 ide_cd_mod rtc_core usbcore rtc_lib yenta_socket > > cdrom psmouse pcspkr rsrc_nonstatic nls_base pcmcia_core unix > > May 20 14:17:21 gerlinda vmunix: Pid: 1486, comm: pccardd Not tainted > > 2.6.34-fast #15 > > May 20 14:17:21 gerlinda vmunix: Call Trace: > > May 20 14:17:21 gerlinda vmunix: [] ? > > pccard_validate_cis+0x287/0x2d0 [pcmcia] > > May 20 14:17:21 gerlinda vmunix: [] ? > > pccard_validate_cis+0x287/0x2d0 [pcmcia] > > May 20 14:17:21 gerlinda vmunix: [] ? > > warn_slowpath_common+0x76/0xd0 May 20 14:17:21 gerlinda vmunix: > > [] ? pccard_validate_cis+0x287/0x2d0 [pcmcia] > > May 20 14:17:21 gerlinda vmunix: [] ? > > warn_slowpath_null+0x13/0x20 > > May 20 14:17:21 gerlinda vmunix: [] ? > > pccard_validate_cis+0x287/0x2d0 [pcmcia] > > May 20 14:17:21 gerlinda vmunix: [] ? > > pcmcia_nonstatic_validate_mem+0xda/0x180 [rsrc_nonstatic] > > May 20 14:17:21 gerlinda vmunix: [] ? > > sysfs_addrm_finish+0x7f/0xb0 > > May 20 14:17:21 gerlinda vmunix: [] ? pcmcia_card_add+0x72/0xf0 > > [pcmcia] > > May 20 14:17:21 gerlinda vmunix: [] ? kobject_release+0x0/0xa0 > > May 20 14:17:21 gerlinda vmunix: [] ? kref_put+0x29/0x60 > > May 20 14:17:21 gerlinda vmunix: [] ? > > pcmcia_card_remove+0x8c/0xa0 [pcmcia] > > May 20 14:17:21 gerlinda vmunix: [] ? pcmcia_requery+0x74/0x130 > > [pcmcia] > > May 20 14:17:21 gerlinda vmunix: [] ? set_next_entity+0x2e/0x70 > > May 20 14:17:21 gerlinda vmunix: [] ? > > do_sched_setscheduler+0x90/0xa0May 20 14:17:21 gerlinda vmunix: > > [] ? schedule+0x203/0x3c0 > > May 20 14:17:21 gerlinda vmunix: [] ? pccardd+0x219/0x470 > > [pcmcia_core] > > May 20 14:17:21 gerlinda vmunix: [] ? schedule+0x2da/0x3c0 > > May 20 14:17:21 gerlinda vmunix: [] ? pccardd+0x0/0x470 > > [pcmcia_core]May 20 14:17:21 gerlinda vmunix: [] ? > > kthread+0x74/0x80 > > May 20 14:17:21 gerlinda vmunix: [] ? kthread+0x0/0x80 > > May 20 14:17:21 gerlinda vmunix: [] ? > > kernel_thread_helper+0x6/0x10 > > May 20 14:17:21 gerlinda vmunix: ---[ end trace 256ec3e16d1d0f46 ]--- > > > > > > > > -- > > 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/ > > > > > > maybe this is similar: > > https://bugzilla.kernel.org/show_bug.cgi?id=16015 > > Justin P. Mattock No, it's different. The bug that I have is a code logic error, the function pccard_validate_cis is called when it shouldn't be. Mikulas