On Fri, Jan 21, 2011 at 7:22 AM, erik quanstrom <[email protected]> wrote:
>
> it is possible that #P is not bound into /dev as in
> bind -a '#P' /dev
Ah:
cpu% ls /dev | grep realmode
cpu%
But:
cpu% ls '#'P
'#P/archctl'
'#P/cputype'
'#P/ioalloc'
'#P/iob'
'#P/iol'
'#P/iow'
'#P/irqalloc'
'#P/realmode'
'#P/realmodemem'
cpu%
> but i don't think that's it. i think you may have built
> a kernel without realmode. "realmode" needs to be
> specified in the link section.
cpu% cat /sys/src/9/pc/pccpuf | grep realmode
realmode
cpu% ls '#'P | grep realmode
'#P/realmode'
'#P/realmodemem'
cpu%
However, there is still:
cpu% ls /dev | grep realmode
cpu%
On Fri, Jan 21, 2011 at 8:10 AM, David du Colombier <[email protected]> wrote:
>
> Some devices like #P, #v or #m are bound in the default termrc, but not in
> the default cpurc.
cpu% cat /rc/bin/termrc | grep P | grep -v -e '^#'
for(i in f t m v L P u U '$' ?? ??)
cpu% cat /rc/bin/cpurc* | grep P | grep -v -e '^#'
NPROC = `{wc -l </dev/sysstat}
site=EXAMPLE
So:
cpu% bind -a '#'P /dev
cpu% ls /dev | grep realmode
cpu%
Nevertheless, I went ahead and tried:
cpu% aux/vga -m vesa -l 1024x768x32
This time, it crashes the system:
panic: assert failed at 0xf015b72a: hp != nil
-sl