FreeBSD/MIPS news, whee!

juli mallett jmallett at FreeBSD.org
Sun Jun 13 07:48:27 GMT 2004


So!

In the past week and two days of hacking on and off, it's come down
to 4 submits that got me past my last really ueberconfusing problems.
I was screwing up trapframe, PCB and stack stuff a little, as I
figured, and there still probably is something bogus there.  But with
the changes in P4 submits# 54798, 54799, 54800, and 54801, I now get
all the way up to this in the emulator (going to try on my real IP22s
in a minute):

%%%
Timecounter "SGI IP22" frequency 8000000 Hz quality 1000
Timecounters tick every 10.000 msec

Manual root filesystem specification:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:/dev/da0a
  ?                  List valid disk boot devices
  <empty line>       Abort manual input

mountroot>
panic: Root mount failed, startup aborted.
Debugger(panic)


Fatal trap type 9 in kernel mode: (Bp) Breakpoint
program counter     = 0xffffffffa81b65b8
return address      = 0xffffffffa81b65b8
bad virtual address = 0xc000000002225ca8
cause               = 0x8024
status              = 0x83
current thread      = 0xffffffffa7966250
current process     = 1 (swapper)
Stopped at      0xffffffffa81b65b8:     break   0
db> ps
  pid   proc     uarea   uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
   24 ffffffffa795b5a0 c000000005d08000    0     0     0 0000204 [RUNQ] schedcpu
   23 ffffffffa795b870 c000000005d09000    0     0     0 0000204 [RUNQ] nfsiod 3
   22 ffffffffa795bb40 c000000005d0a000    0     0     0 0000204 [RUNQ] nfsiod 2
   21 ffffffffa7955870 c000000005cc4000    0     0     0 0000204 [RUNQ] nfsiod 1
   20 ffffffffa7955b40 c000000005cc5000    0     0     0 0000204 [RUNQ] nfsiod 0
   19 ffffffffa794b000 c000000005cc6000    0     0     0 0000204 [RUNQ] vnlru
   18 ffffffffa794b2d0 c000000005cd9000    0     0     0 0000204 [RUNQ] syncer
    9 ffffffffa794b5a0 c000000005cda000    0     0     0 0000204 [RUNQ] bufdaemon
    8 ffffffffa794b870 c000000005cdb000    0     0     0 000020c [RUNQ] pagezero
    7 ffffffffa794bb40 c000000005cdc000    0     0     0 0000204 [RUNQ] vmdaemon
    6 ffffffffa794d000 c000000005cdd000    0     0     0 0000204 [RUNQ] pagedaemon
   17 ffffffffa796d2d0 c000000005cab000    0     0     0 0000204 [IWAIT] swi5:+
    5 ffffffffa796d5a0 c000000005cac000    0     0     0 0000204 [SLPQ - 0xffffffffa1068e80][SLP] taskqueue
   16 ffffffffa796d870 c000000005cbf000    0     0     0 0000204 [IWAIT] swi6:+
   15 ffffffffa796db40 c000000005cc0000    0     0     0 0000204 [IWAIT] swi7: task queue
   14 ffffffffa7955000 c000000005cc1000    0     0     0 0000204 [SLPQ - 0xffffffffa823c330][SLP] yarrow
    4 ffffffffa79552d0 c000000005cc2000    0     0     0 0000204 [SLPQ - 0xffffffffa8215f10][SLP] g_down
    3 ffffffffa79555a0 c000000005cc3000    0     0     0 0000204 [SLPQ - 0xffffffffa8215f08][SLP] g_up
    2 ffffffffa7965000 c000000005c81000    0     0     0 0000204 [SLPQ - 0xffffffffa8215ef8][SLP] g_event
   13 ffffffffa79652d0 c000000005ca6000    0     0     0 0000204 [IWAIT] swi4: vm
   12 ffffffffa79655a0 c000000005ca7000    0     0     0 000020c [RUNQ] swi8: clock
   11 ffffffffa7965870 c000000005ca8000    0     0     0 0000204 [IWAIT] swi1: net
   10 ffffffffa7965b40 c000000005ca9000    0     0     0 000020c [Can run] idle
    1 ffffffffa796d000 c000000005caa000    0     0     0 0000200 [CPU 0] swapper
    0 ffffffffa8216938 ffffffffa8234eb8    0     0     0 0000200 [SLPQ sched 0xffffffffa8216938][SLP] swapper
db>
%%%

Note that I'm still not doing anything with caches, no semblance of
user-space support (though it should be easy, I've allowed for ASID
stuff, and the tlb miss handler is all that would change an obscene
amount)...  But hey, whee.

Now I'm debating md and userland, vs. device support then userland.

Thanx,
juli.
-- 
juli mallett.  jmallett at freebsd.org.  adrift in the pacific.


More information about the freebsd-mips mailing list