All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David Pelton" <dpelton@ciena.com>
To: "Mark E Mason" <mason@broadcom.com>
Cc: "Andrew Sharp" <andy.sharp@onstor.com>,
	"Maciej W. Rozycki" <macro@linux-mips.org>,
	"LMO" <linux-mips@linux-mips.org>, <mmason@upwardaccess.com>
Subject: Re: Booting top-of-tree bcm47xx as nfs-root with cfe only (no sibyl)
Date: Thu, 27 Nov 2008 11:20:40 -0500	[thread overview]
Message-ID: <492EC8D8.2070200@ciena.com> (raw)
In-Reply-To: <BD3F7F1EFBA6D54DB056C4FFA45140080348EC805C@SJEXCHCCR01.corp.ad.broadcom.com>

Mark E Mason wrote:

<...snip...>

> VFS: Mounted root (nfs filesystem).
> Freeing unused kernel memory: 168k freed
> Algorithmics/MIPS FPU Emulator v1.5
> Data bus error, epc == 803ef178, ra == 80017030
> Oops[#1]:
> Cpu 0
> $ 0   : 00000000 1000a800 fffd9000 00000001
> $ 4   : 810a6000 fffd9000 810a6f00 fffd9000
> $ 8   : 803bc1c8 00000001 81021500 00040000
> $12   : 00000000 803e8d20 00000001 803bc1a0
> $16   : 810a6000 803f0000 2ad19120 0109968b
> $20   : 8394d2ac 8395517c 2ad19120 83940de0
> $24   : 00000000 2aab4184                  
> $28   : 83818000 83819db0 00000000 80017030
> Hi    : 00000000
> Lo    : 00000000
> epc   : 803ef178 0x803ef178
>     Not tainted
> ra    : 80017030 copy_user_highpage+0x90/0x140
> Status: 1000a803    KERNEL EXL IE 
> Cause : 0080001c
> PrId  : 00029006 (Broadcom BCM3302)
> Modules linked in:
> Process init (pid: 1, threadinfo=83818000, task=83815a58, tls=00000000)
> Stack : 83943464 0109968b 8394d2ac 8395517c 803f0000 81021320 810214c0 8008c498
>         839551d0 00000000 00000000 00000000 00000000 00000000 810214c0 83940de0
>         83815a58 0109968b 80000000 8395517c 8394d2ac 2ad19120 00000001 00030000
>         00000464 8008dc84 83940de0 00100073 00000000 00000000 8394d2ac 83940e20
>         0109968b 00100073 80091a14 800917d4 83815a58 8395517c 83940e14 83940de0
>         ...
> Call Trace:
> [<8008c498>] do_wp_page+0x6dc/0xa24
> [<8008dc84>] handle_mm_fault+0x7e8/0x8e8
> [<80091a14>] mmap_region+0x3cc/0x6b8
> [<800917d4>] mmap_region+0x18c/0x6b8
> [<80016a00>] do_page_fault+0x100/0x344
> [<8001f6f0>] fpu_emulator_cop1Handler+0x1bf0/0x1c54
> [<8009200c>] do_mmap_pgoff+0x30c/0x344
> [<80013c94>] do_cpu+0x360/0x3c4
> [<80001400>] ret_from_exception+0x0/0x24
> [<80001400>] ret_from_exception+0x0/0x24
> 
> 
> Code: cc9e0060  cc9e0070  cca40100 <8ca80000> 8ca90004  8caa0008  8cab000c  cc9e0080  ac880000 
> note: init[1] exited with preempt_count 2
> BUG: scheduling while atomic: init/1/0x10000002
> Modules linked in:
> Call Trace:
> [<800125a0>] dump_stack+0x8/0x34
> [<80009bac>] __sched_text_start+0x6c/0x6d0
> [<8002c4d0>] __cond_resched+0x20/0x4c
> [<8000a5e4>] _cond_resched+0x4c/0x60
> [<80033780>] put_files_struct+0x19c/0x228
> [<800342b4>] do_exit+0x268/0x854
> [<80012d40>] do_be+0x0/0x198
> 
> Kernel panic - not syncing: Attempted to kill init!


(apologies for what my mail gateway may decide to do with the formatting of this message)


This problem looks similar to an issue raised on this list earlier in the year:

http://www.linux-mips.org/archives/linux-mips/2008-06/msg00050.html

At the time I was having a similar issue with a Broadcom MIPS32 that I was working on (which also has a BCM3302 core).  My fix is outlined in this post:

http://www.linux-mips.org/archives/linux-mips/2008-06/msg00141.html

To summarize, the kernel was trying to map memory into virtual addresses that the chip was using for internal address space.  I'm not sure that you are having the same problem, but I figured I should mention this since the problem looks similar.


- David Pelton

WARNING: multiple messages have this Message-ID (diff)
From: "David Pelton" <dpelton@ciena.com>
To: Mark E Mason <mason@broadcom.com>
Cc: Andrew Sharp <andy.sharp@onstor.com>,
	"Maciej W. Rozycki" <macro@linux-mips.org>,
	LMO <linux-mips@linux-mips.org>,
	mmason@upwardaccess.com
Subject: Re: Booting top-of-tree bcm47xx as nfs-root with cfe only (no sibyl)
Date: Thu, 27 Nov 2008 11:20:40 -0500	[thread overview]
Message-ID: <492EC8D8.2070200@ciena.com> (raw)
Message-ID: <20081127162040.CCiJHRPyFcE-HBsWUMicPRVOzMhzjjdJ8UlH_AV_ah0@z> (raw)
In-Reply-To: <BD3F7F1EFBA6D54DB056C4FFA45140080348EC805C@SJEXCHCCR01.corp.ad.broadcom.com>

Mark E Mason wrote:

<...snip...>

> VFS: Mounted root (nfs filesystem).
> Freeing unused kernel memory: 168k freed
> Algorithmics/MIPS FPU Emulator v1.5
> Data bus error, epc == 803ef178, ra == 80017030
> Oops[#1]:
> Cpu 0
> $ 0   : 00000000 1000a800 fffd9000 00000001
> $ 4   : 810a6000 fffd9000 810a6f00 fffd9000
> $ 8   : 803bc1c8 00000001 81021500 00040000
> $12   : 00000000 803e8d20 00000001 803bc1a0
> $16   : 810a6000 803f0000 2ad19120 0109968b
> $20   : 8394d2ac 8395517c 2ad19120 83940de0
> $24   : 00000000 2aab4184                  
> $28   : 83818000 83819db0 00000000 80017030
> Hi    : 00000000
> Lo    : 00000000
> epc   : 803ef178 0x803ef178
>     Not tainted
> ra    : 80017030 copy_user_highpage+0x90/0x140
> Status: 1000a803    KERNEL EXL IE 
> Cause : 0080001c
> PrId  : 00029006 (Broadcom BCM3302)
> Modules linked in:
> Process init (pid: 1, threadinfo=83818000, task=83815a58, tls=00000000)
> Stack : 83943464 0109968b 8394d2ac 8395517c 803f0000 81021320 810214c0 8008c498
>         839551d0 00000000 00000000 00000000 00000000 00000000 810214c0 83940de0
>         83815a58 0109968b 80000000 8395517c 8394d2ac 2ad19120 00000001 00030000
>         00000464 8008dc84 83940de0 00100073 00000000 00000000 8394d2ac 83940e20
>         0109968b 00100073 80091a14 800917d4 83815a58 8395517c 83940e14 83940de0
>         ...
> Call Trace:
> [<8008c498>] do_wp_page+0x6dc/0xa24
> [<8008dc84>] handle_mm_fault+0x7e8/0x8e8
> [<80091a14>] mmap_region+0x3cc/0x6b8
> [<800917d4>] mmap_region+0x18c/0x6b8
> [<80016a00>] do_page_fault+0x100/0x344
> [<8001f6f0>] fpu_emulator_cop1Handler+0x1bf0/0x1c54
> [<8009200c>] do_mmap_pgoff+0x30c/0x344
> [<80013c94>] do_cpu+0x360/0x3c4
> [<80001400>] ret_from_exception+0x0/0x24
> [<80001400>] ret_from_exception+0x0/0x24
> 
> 
> Code: cc9e0060  cc9e0070  cca40100 <8ca80000> 8ca90004  8caa0008  8cab000c  cc9e0080  ac880000 
> note: init[1] exited with preempt_count 2
> BUG: scheduling while atomic: init/1/0x10000002
> Modules linked in:
> Call Trace:
> [<800125a0>] dump_stack+0x8/0x34
> [<80009bac>] __sched_text_start+0x6c/0x6d0
> [<8002c4d0>] __cond_resched+0x20/0x4c
> [<8000a5e4>] _cond_resched+0x4c/0x60
> [<80033780>] put_files_struct+0x19c/0x228
> [<800342b4>] do_exit+0x268/0x854
> [<80012d40>] do_be+0x0/0x198
> 
> Kernel panic - not syncing: Attempted to kill init!


(apologies for what my mail gateway may decide to do with the formatting of this message)


This problem looks similar to an issue raised on this list earlier in the year:

http://www.linux-mips.org/archives/linux-mips/2008-06/msg00050.html

At the time I was having a similar issue with a Broadcom MIPS32 that I was working on (which also has a BCM3302 core).  My fix is outlined in this post:

http://www.linux-mips.org/archives/linux-mips/2008-06/msg00141.html

To summarize, the kernel was trying to map memory into virtual addresses that the chip was using for internal address space.  I'm not sure that you are having the same problem, but I figured I should mention this since the problem looks similar.


- David Pelton

  parent reply	other threads:[~2008-11-27 16:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26 22:56 Booting top-of-tree bcm47xx as nfs-root with cfe only (no sibyl) Mark E Mason
2008-11-26 23:10 ` Maciej W. Rozycki
2008-11-26 23:21   ` Mark E Mason
2008-11-26 23:31     ` Andrew Sharp
2008-11-26 23:57       ` Mark E Mason
2008-11-27 11:09         ` Maciej W. Rozycki
2008-11-27 16:20         ` David Pelton [this message]
2008-11-27 16:20           ` David Pelton
2008-11-26 23:52     ` Maciej W. Rozycki

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=492EC8D8.2070200@ciena.com \
    --to=dpelton@ciena.com \
    --cc=andy.sharp@onstor.com \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@linux-mips.org \
    --cc=mason@broadcom.com \
    --cc=mmason@upwardaccess.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.