Subject: Re: 1.6 install
To: port-pmax list NetBSD <port-pmax@netbsd.org>
From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
List: port-pmax
Date: 09/18/2002 10:05:08
Andrew Doran wrote:
[discussion re xserver on 3max with PMAG-C trimmed]
> 
> These are kernel images; you need to boot them; eg:
> 
>   # gzip -d netbsd-20020813.gz
>   # cp netbsd-20020813 /wscons
>   # halt
>   >> boot 3/rz?/wscons -a
> 
> > The XdecNetBSD-* ones do run, but fail wil "no screens" error.
> 
> You need to be running one of those kernels first. Also ensure to create
> device nodes as the page says. Copy XdecNetBSD to /usr/X11R6/bin and make
> /usr/X11R6/bin/X a symlink to it.

Ah, I am used to Linux where modules simply get loaded as necessary, I
never
need to reboot. So, I now rebooted the latest wscons kernel
(netbsd-20020813).

I now did 'xinit' and X came up as I expected it. Except for the fact
that
the single opened shell says:
	e2 /netbsd: We don't have a mouse!!!
and it sure is the case. This is the first time I use this mouse, which
seems
to be connected properly. BTW, I notice no ball on it, does it need a
special
mat? I did not find a key combination to allow navigation without a
mouse
so I could not get any further.

OK, I think I see something:
e2# ls -l /dev/*mouse*
lrwx------  1 root  wheel      3 Sep 16 00:49 /dev/mouse -> fb0
crw-r--r--  1 root  wheel  90, 0 Jan  1 11:19 /dev/wsmouse0

I now linked 'mouse' to 'wsmouse0'. Restart... no, still no mouse (same
error message).

I note that the boot messages (attached) show wsmouse0 came up. What are
these 'mux ignored' notices?

While talking keys, what does one use for Esc (e.g. for vi) on the
native
keyboard? F11 seems to generate the right sequence but it does not work
as expected.

Also, why does the error message say "e2: /netbsd" and not "e2:
/wscons"?
Is the kernel name internal to the kernel rather than the name of the
image
booted?

Side note: last time I turned the machine on I left it alone for two
hours
(it did not boot) and then hit the reset button. It did a very-cold
start
(no nvram at all) but is now working for two straight days. So I guess I
really need a new clock module.


--------------------- dmesg --------------------
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6E (GENERIC) #5: Tue Aug 13 13:58:50 BST 2002
   
ad@callahan.ravenhead:/local/home/ad/netbsd/src/sys/arch/pmax/compile/GENERIC
DECstation 5000/200 (3MAX)
total memory = 32768 KB
avail memory = 26648 KB
using 435 buffers containing 1740 KB of memory
mainbus0 (root)
cpu0 at mainbus0: MIPS R3000 CPU (0x220) Rev. 2.0 with MIPS R3010 FPC
Rev. 2.0
cpu0: 64KB/4B direct-mapped Instruction cache, 64 TLB entries
cpu0: 64KB/4B direct-mapped write-through Data cache
tc0 at mainbus0: 25 MHz clock
ibus0 at tc0 slot 7 offset 0x0
mcclock0 at ibus0 addr 0x1fe80000: mc146818 or compatible
dz0 at ibus0 addr 0x1fe00000: DC-7805

lkkbd0 at dz0
wskbd0 at lkkbd0 (mux ignored): console keyboard
vsms0 at dz0
wsmouse0 at vsms0 (mux ignored)
le0 at tc0 slot 6 offset 0x0: address 08:00:2b:1b:b8:b3
le0: 32 receive buffers, 8 transmit buffers
asc0 at tc0 slot 5 offset 0x0: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at asc0: 8 targets, 8 luns per target
px0 at tc0 slot 0 offset 0x0: 8 plane, 5x1 stamp
wsdisplay0 at px0 (kbdmux ignored): console (std, vt100 emulation),
using wskbd0
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DEC, RZ58     (C) DEC, 2000> SCSI2
0/direct fixed
sd0: 1317 MB, 2112 cyl, 15 head, 85 sec, 512 bytes/sect x 2698061
sectors
sd0: sync (200.0ns offset 15), 8-bit (5.000MB/s) transfers
Kernelized RAIDframe activated
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
We don't have a mouse!!!

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>