From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: "Colbert, Rusty" <rusty.colbert@hp.com>
Cc: Doug Thompson <norsk5@yahoo.com>,
bluesmoke ML <bluesmoke-devel@lists.sourceforge.net>
Subject: Re: Module loads but has error.
Date: Thu, 22 Oct 2009 08:03:35 +0900 [thread overview]
Message-ID: <20091022080335.1f2e044e@caramujo.chehab.org> (raw)
In-Reply-To: <EC2969A33F12344780D895AFCAA422CE50862C8999@GVW1095EXB.americas.hpqcorp.net>
Em Wed, 21 Oct 2009 20:58:40 +0000
"Colbert, Rusty" <rusty.colbert@hp.com> escreveu:
> Outstanding!
> That shows the buses, though they are at 3e and 3f.
That's weird! They weren't supposed to be at 3e and 3f. The driver
will wrongly associate the memory controller numbers in this case.
> I now have
> Myriagon_Memory_Tester:~ # find /sys/devices/system/edac/ -type d
> /sys/devices/system/edac/
> /sys/devices/system/edac/mc
> /sys/devices/system/edac/mc/mc193
> /sys/devices/system/edac/mc/mc193/inject_addrmatch
> /sys/devices/system/edac/mc/mc193/csrow0
Yes, here it is: it is calling mc1 as 193, since the driver is doing 0xff-0x3f to
compute the number of the processor socket...
I don't think this would have any real impact, but for sure it should be fixed.
The basic question is: why on your machines it is using a different bus address. Could you
please email the output of cat /proc/cpuinfo? I'll also see if I can find a machine
similar to yours on Red Hat labs for doing some tests on it.
> /sys/devices/system/edac/mc/mc0
> /sys/devices/system/edac/mc/mc0/inject_addrmatch
> /sys/devices/system/edac/mc/mc0/csrow0
> /sys/devices/system/edac/pci
> /sys/devices/system/edac/pci/pci0
> /sys/devices/system/edac/pci/pci1
>
>
> And
> 3e:00.0 0600: 8086:2c40 (rev 04)
> 3e:00.1 0600: 8086:2c01 (rev 04)
> 3e:02.0 0600: 8086:2c10 (rev 04)
> 3e:02.1 0600: 8086:2c11 (rev 04)
> 3e:02.4 0600: 8086:2c14 (rev 04)
> 3e:02.5 0600: 8086:2c15 (rev 04)
> 3e:03.0 0600: 8086:2c18 (rev 04)
> 3e:03.1 0600: 8086:2c19 (rev 04)
> 3e:03.2 0600: 8086:2c1a (rev 04)
> 3e:03.4 0600: 8086:2c1c (rev 04)
> 3e:04.0 0600: 8086:2c20 (rev 04)
> 3e:04.1 0600: 8086:2c21 (rev 04)
> 3e:04.2 0600: 8086:2c22 (rev 04)
> 3e:04.3 0600: 8086:2c23 (rev 04)
> 3e:05.0 0600: 8086:2c28 (rev 04)
> 3e:05.1 0600: 8086:2c29 (rev 04)
> 3e:05.2 0600: 8086:2c2a (rev 04)
> 3e:05.3 0600: 8086:2c2b (rev 04)
> 3e:06.0 0600: 8086:2c30 (rev 04)
> 3e:06.1 0600: 8086:2c31 (rev 04)
> 3e:06.2 0600: 8086:2c32 (rev 04)
> 3e:06.3 0600: 8086:2c33 (rev 04)
> 3f:00.0 0600: 8086:2c40 (rev 04)
> 3f:00.1 0600: 8086:2c01 (rev 04)
> 3f:02.0 0600: 8086:2c10 (rev 04)
> 3f:02.1 0600: 8086:2c11 (rev 04)
> 3f:02.4 0600: 8086:2c14 (rev 04)
> 3f:02.5 0600: 8086:2c15 (rev 04)
> 3f:03.0 0600: 8086:2c18 (rev 04)
> 3f:03.1 0600: 8086:2c19 (rev 04)
> 3f:03.2 0600: 8086:2c1a (rev 04)
> 3f:03.4 0600: 8086:2c1c (rev 04)
> 3f:04.0 0600: 8086:2c20 (rev 04)
> 3f:04.1 0600: 8086:2c21 (rev 04)
> 3f:04.2 0600: 8086:2c22 (rev 04)
> 3f:04.3 0600: 8086:2c23 (rev 04)
> 3f:05.0 0600: 8086:2c28 (rev 04)
> 3f:05.1 0600: 8086:2c29 (rev 04)
> 3f:05.2 0600: 8086:2c2a (rev 04)
> 3f:05.3 0600: 8086:2c2b (rev 04)
> 3f:06.0 0600: 8086:2c30 (rev 04)
> 3f:06.1 0600: 8086:2c31 (rev 04)
> 3f:06.2 0600: 8086:2c32 (rev 04)
> 3f:06.3 0600: 8086:2c33 (rev 04)
>
>
>
> -----Original Message-----
> From: Mauro Carvalho Chehab [mailto:mchehab@infradead.org]
> Sent: Wednesday, October 21, 2009 3:04 PM
> To: Keith Mannthey
> Cc: Colbert, Rusty; Doug Thompson; bluesmoke ML
> Subject: Re: Module loads but has error.
>
> Em Wed, 21 Oct 2009 08:26:10 -0700
> Keith Mannthey <kmannth@us.ibm.com> escreveu:
>
> > On Wed, 2009-10-21 at 14:13 +0000, Colbert, Rusty wrote:
> > > It was a linux-next tree and is identified as 2.6.32-rc4, and edac is:
> > > EDAC MC: Ver: 2.1.0 Oct 16 2009
> > > There are 2 sockets in the system.
> > > I don't see those addresses in the output of lspci. It is looking glum, if my BIOS is hiding buses. However, once I verify that that is the case, I'll contact someone on the ROM team to check on that.
> >
> > You might ask someone on your ROM team.
>
> Yes. A worthy trial would be to use lastbus=255 pci parameter during the boot.
>
> > > If I look at another board with Nehalem, not running my kernel, should I see those buses? (does not show up on a DL380 G6 running SLES11 default kernel either)
> >
> > No. There is something weird going on with the Xeons. For some reason
> > vendors are not listing the cpu pci busses in ACPI, when the kernel
> > boots it will not know about the devices. The i7core driver created a
> > hook to directly probe these device at module load time.
> >
> > Without loading the module you won't see the devices in lspci or any
> > other place. After you load or attempt to load you should see the device
> > if they are really there at 0xff and below.
>
> It should also be added that, with some other memory controller drivers, it was
> noticed that some BIOS have the bad habit of protecting the memory registers
> via SMI. While we haven't observed this behavior yet with Nehalem, I don't
> doubt it will happen with certain devices.
>
> Cheers,
> Mauro
Cheers,
Mauro
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
next prev parent reply other threads:[~2009-10-21 23:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-20 17:03 Module loads but has error Colbert, Rusty
2009-10-20 21:05 ` Doug Thompson
2009-10-20 21:18 ` Keith Mannthey
2009-10-20 22:47 ` Mauro Carvalho Chehab
2009-10-21 14:13 ` Colbert, Rusty
2009-10-21 15:26 ` Keith Mannthey
2009-10-21 20:03 ` Mauro Carvalho Chehab
2009-10-21 20:58 ` Colbert, Rusty
2009-10-21 23:03 ` Mauro Carvalho Chehab [this message]
2009-10-22 15:04 ` Colbert, Rusty
2009-10-22 20:02 ` Mauro Carvalho Chehab
2009-10-22 20:26 ` Colbert, Rusty
2009-10-21 17:55 ` Colbert, Rusty
2009-10-21 20:15 ` Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091022080335.1f2e044e@caramujo.chehab.org \
--to=mchehab@infradead.org \
--cc=bluesmoke-devel@lists.sourceforge.net \
--cc=norsk5@yahoo.com \
--cc=rusty.colbert@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox