Subject: Re: port-shark/22355 [was: Help needed to fix NetBSD/shark]
To: None <chris@dokein.co.uk>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-arm
Date: 08/05/2007 02:09:34
chris@dokein.co.uk wrote:

> That's definetly wrong.  jmmv's found that the attached isa_irq.S patch
> helps, but still causes hangs.

Hmm, the patch makes kernel boot into single user
(i.e. now it can mount nfsroot via dhcp),
but it hangs during /etc/rc script.

There is no assertion in cpu_idle(9) and
I can't get ddb(4) prompt even on serial console,
so maybe it's a different problem. (spl race?)

BTW, a bit off topic, but I notice the following possible issue:

- arm/include/arm32/psl.h still has obsolete spllowersoftclock()

- arm/arm32/intr.c:dosoftintr() could call splx(),
  but splx() also calls dosoftintr().
  Isn't it better to have a spllower()-like function
  which doesn't call dosoftintr()?
  (as macppc/macppc/extintr.c:do_pending_int() does)

---
Izumi Tsutsui