linux-mips
[Top] [All Lists]

Re: [Bug report] Got bus error when loading kernel module on SB1250 Rev

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [Bug report] Got bus error when loading kernel module on SB1250 Rev B2 board with 64 bit kernel
From: Yang Shi <yang.shi@windriver.com>
Date: Mon, 17 May 2010 10:57:19 +0800
Cc: linux-mips@linux-mips.org
In-reply-to: <20100514180211.GB32203@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4BED25F3.4010809@windriver.com> <20100514180211.GB32203@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.24 (X11/20100411)
Ralf Baechle 写道:
On Fri, May 14, 2010 at 06:29:07PM +0800, Yang Shi wrote:

I'm running 2.6.34-rc7 mainline kernel on SB1250 (Rev B2) board. And, I
use the default sb1250 kernel config (sb1250-swarm_defconfig). So, 64
bit kernel is used. During kernel loading module got bus error, see
below log:

Whops.  Fixes which were supposed to handle exactly this problem went
upstream for 2.6.34-rc3 and were tested successfully by others on their
systems.

I wonder if in arch/mips/sibyte/sb1250/setup.c you can instrument
the function sb1250_m3_workaround_needed() and print the values of
soc_type, soc_pass and the retun value of that function.  Then let's take
it from there.

See below log:

Broadcom SiByte BCM1250 B2 @ 800 MHz (SB1 rev 2)

And, soc_typs is 0x0 and soc_pass is 0x11, sb1250_m3_workaround_needed should return 1. So, tlb refill handler should go the m3 workaround code path.

Thanks,
Yang

  Ralf



<Prev in Thread] Current Thread [Next in Thread>