From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 431B4DE2D5 for ; Tue, 13 Jan 2009 13:53:14 +1100 (EST) Subject: Re: Re[2]: mal_probe crash From: Benjamin Herrenschmidt To: Yuri Tikhonov In-Reply-To: <1515542773.20090113015150@emcraft.com> References: <20090107154434.0c9437ef@lappy.seanm.ca> <1231368610.2142.27.camel@pasglop> <200901091549.56943.matthias.fuchs@esd-electronics.com> <200901091602.05730.matthias.fuchs@esd-electronics.com> <1231536613.2142.74.camel@pasglop> <1231796192.22571.30.camel@pasglop> <1515542773.20090113015150@emcraft.com> Content-Type: text/plain Date: Tue, 13 Jan 2009 13:52:21 +1100 Message-Id: <1231815141.22571.35.camel@pasglop> Mime-Version: 1.0 Cc: Geert Uytterhoeven , Linux/PPC Development , Roland Dreier , Sean MacLennan List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2009-01-13 at 01:51 +0300, Yuri Tikhonov wrote: > On Tuesday, January 13, 2009 you wrote: > > > On Mon, 2009-01-12 at 14:37 +0100, Geert Uytterhoeven wrote: > >> On Fri, 9 Jan 2009, Roland Dreier wrote: > >> > > Can you double check that the e1000 isn't copying the PCI resources into > >> > > a unsigned long before ioremap'ing the result, thus cropping the top > >> > > bits ? > >> > > >> > as far as I can see, e1000 is using pci_ioremap_bar(), which should do > >> > the right thing as long as resource_size_t is the right type (which it > >> > looks like it is on PowerPC 44x). > >> > >> Indeed, the full 36-bit address is passed to __ioremap() via pci_ioremap_bar(), > >> as evidenced from the additional debug output below (see [1]). > >> > >> As I don't have any other 3.3V PCI Ethernet cards, I plugged in a 3.3V PCI USB > >> 2.0 card in the second PCI slot, and got a similar crash (see [2]). > >> > >> Are the PCI slots on the Sequoia known broken under recent Linux kernels? I've > >> never used them before... > > > Hrm, something is indeed wrong, hard to say what tho. My canyonlands > > works fine (460EPx) and I can try a Taishan one of these days (440GX > > iirc). What is in sequoia ? I think it's a GX no ? > > Sequoia is equipped with 440EPx. > > I observe the 'mal_probe' crash on the Katmai board too (based on > 440SPe): Yes, EMAC is currently busted. We'll fix it asap. Cheers, Ben.