From: Jared Jennings <jjenning@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Plan9 on QNAP TS-212 NAS (kw)
Date: Sat, 9 Jul 2011 17:33:23 -0500 [thread overview]
Message-ID: <CACXGR2SCEkWaqEPRZqe7tLgDni6BiEc09MVC-v8puJtUPO7iVQ@mail.gmail.com> (raw)
In-Reply-To: <CACXGR2QQx=8dxFbJ0Y6eiS5dTgRA2AjpNvzQZOaVOEgt-MFnsw@mail.gmail.com>
I figured out I can't iprint my way out of the problem, because iprint
doesn't work until after trapinit is over.
I added a special case to intrs so that if ibits is 0x00000010 and the
sort is Irqbridge, we just turn off that bit in the irq mask, and
uncommented several debuggy iprints.
I found the sheevamem structure and changed its 512*MB to 256*MB
because my TS-212 only has 256 MB of RAM, according to the u-boot
startup message. (I think TS-219s have 512 MB.)
Now my message looks like so:
Marvell>> go 0x800000
## Starting application at 0x00800000 ...
Plan 9 from Bell Labs
l1 D: 16384 bytes, 4 ways 128 sets 32 bytes/line; write-through only
l1 I: 16384 bytes, 4 ways 128 sets 32 bytes/line; write-back type `reg
7 ops, format C' (016) possible
l2 cache: 256K or 512K: 4 ways, 32-byte lines, write-back, sdram only
cpu0: 1200MHz ARM Marvell 88F6281 A1; arm926ej-s arch v5te rev 2.1 part 131
enabling intr 0 vec 11 for ether0
#l0: 88e1116: 100Mbps port 0xf1072000 irq 11: 00089bc1d539
enabling intr 1 vec 1 for eia0
duplicate irq: eia0 (0x60859aac)
248intrs: quashing bridge irq 00000010
enabling intr 0 vec 29 for twsi
M memory: 27M kernel data, 221M user, 961M swap
(The "intrs:" message is mine.)
Then it just hangs there. It does not automatically reboot after 10
seconds. Has the kernel finished starting up? Do I now need to figure
out the next step in the boot process?
On 7/9/11, Jared Jennings <jjenning@gmail.com> wrote:
> On 7/9/11, erik quanstrom <quanstro@quanstro.net> wrote:
>> as a wag, i would start by tweaking ether1116.c (sic) to leave the
>> second port alone.
>
> Wagged. It appears from the code in devether.c that the MaxEther enum
> in devether.h is what controls how many ethernet cards are frobbed. I
> changed MaxEther from 2 to 1. It said the same thing except without
> the #l1 line.
>
> Because I saw the "#u/u" right before the message, I tried turning off
> the USB entirely by commenting it out in the plug file. The "#u/u" at
> the beginning of the line went away, but the "spurious irqbridge
> interrupt: 00000010" messages continue.
>
> Still investigating.
>
next prev parent reply other threads:[~2011-07-09 22:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CACXGR2Q0bf3dkWGrVT=rkqYrNERe5xdzPuh836CJsbo84A6jVA@mail.gmail.c>
2011-07-09 15:55 ` erik quanstrom
2011-07-09 20:59 ` Jared Jennings
2011-07-09 22:33 ` Jared Jennings [this message]
2011-07-10 0:32 ` Jared Jennings
[not found] ` <CACXGR2QsfEkHkfUVu8df+4KeosOLOSVMuAE99ohb-tzY+x9kUQ@mail.gmail.c>
2011-07-10 0:49 ` erik quanstrom
[not found] ` <CACXGR2SCEkWaqEPRZqe7tLgDni6BiEc09MVC-v8puJtUPO7iVQ@mail.gmail.c>
2011-07-09 22:40 ` erik quanstrom
2011-07-12 10:55 ` Ethan Grammatikidis
2011-07-12 15:32 ` erik quanstrom
2011-07-12 15:41 ` Ethan Grammatikidis
2011-07-12 15:49 ` ron minnich
[not found] ` <CAP6exYJ+4HE4K=axuNcjgiocJKnGy8Kk4V+xjRtf_MO2djzytw@mail.gmail.c>
2011-07-12 16:09 ` erik quanstrom
[not found] ` <CACXGR2QQx=8dxFbJ0Y6eiS5dTgRA2AjpNvzQZOaVOEgt-MFnsw@mail.gmail.c>
2011-07-09 22:31 ` erik quanstrom
2011-07-09 4:38 Jared Jennings
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=CACXGR2SCEkWaqEPRZqe7tLgDni6BiEc09MVC-v8puJtUPO7iVQ@mail.gmail.com \
--to=jjenning@gmail.com \
--cc=9fans@9fans.net \
/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;
as well as URLs for NNTP newsgroup(s).