From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753796AbXLHSjb (ORCPT ); Sat, 8 Dec 2007 13:39:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750845AbXLHSjX (ORCPT ); Sat, 8 Dec 2007 13:39:23 -0500 Received: from web52911.mail.re2.yahoo.com ([206.190.49.21]:36070 "HELO web52911.mail.re2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751335AbXLHSjW (ORCPT ); Sat, 8 Dec 2007 13:39:22 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ap2SZVHGuLjKoMdY62BU5YeA53u9bkJugwKwcVJREfoZXSgYqAf1k4oyX7CFrqlam+mdRJvvGcprUodYuAQZeUN66629vOPjMDu6uGEljIDNYyoWAi717Xo9iBSebjk39NLZhfNZE45dp/qeSPKc7JdPSzv/iOna7ksT/UNuRIE=; X-YMail-OSG: 4kXvpEkVM1luEDfiro9kFHGCjQzD9CzulssOLYcDZ9XRQ_9tNcwzq.auJu_stSmj6tBbdi1smm3BTYOgl8jGwl1T5iyraye.wNaV6rR7UqCEEsHMC0aH.nekxQ-- Date: Sat, 8 Dec 2007 18:39:20 +0000 (GMT) From: Chris Rankin Subject: Re: [2.6.23.1] PCI device locking up the computer when its module loads To: Dan Williams , Andrew Morton Cc: Chris Rankin , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org In-Reply-To: <1193657365.19938.17.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Message-ID: <624437.35639.qm@web52911.mail.re2.yahoo.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > On Mon, 22 Oct 2007 13:43:16 +0100 (BST) Chris Rankin wrote: > > > I have a Netgear MA301 PLX wireless networking adapter which wants to use the hostap_plx > > > driver in Linux 2.6.23.1. This very same piece of hardware works fine in an old(!) P120 > > > machine running 2.4.33, but makes the 2.6.23.1 kernel freeze as soon as the > > > pci_enable_device() function is called in prism2_plx_probe. Interestingly, I have just discovered that I can do the following on this machine *without* locking it up (on Linux 2.6.23.9): # cat /sys/bus/pci/devices/0000:00:0e.0/enable 0 # echo 1 > /sys/bus/pci/devices/0000:00:0e.0/enable # cat /sys/bus/pci/devices/0000:00:0e.0/enable 1 where according to lspci: 00:0e.0 Network controller: Netgear MA301 802.11b Wireless PCI Adapter (rev 02) Doesn't writing to this sysfs file also call pci_enable_device()? Loading the hostap_plx module is still instantly lethal. Cheers, Chris __________________________________________________________ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com