Subject: Re: Wscons in NetBSD 3
To: Victor Lagerkvist <plumsaren@gmail.com>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sparc
Date: 01/28/2006 10:36:51
--Signature_Sat__28_Jan_2006_10_36_51_-0500_ttTRyGd=FvLnUgN8
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> Greetings, I've recently acquired an old Sparcstation LX on which I
...
> wsconsctl: /dev/wskbd: Device not configured

NetBSD/sparc doesn't use wscons yet.

> However, after a few hours make stopped with the following message:
>=20
> ld -n -T ../../../../arch/sparc/conf/kern.ldscript -Ttext F0004000 -e
> start -X -S -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
> kbd.o(.text+0xf8c): In function `sunkbd_wskbd_cngetc':
> : undefined reference to `prom_cngetc'
> *** Error code 1

> Luckily this was easily solved by removing the "static" declaration
> and definition on "prom_cngetc" in /usr/src/sys/arch/sparc/dev/kd.c

oops, missiung pullup it seems. That doesn't happen in -current.

> Make completed with no errors, so I backuped the old kernel, copied my
> new one to /netbsd and rebooted. However, 20 seconds in the boot
> process I get thrown into the OK-prompt with this message:
>  "Watchdog Reset" "Data Access Exception"
>=20
> I've also tried compiling a generic kernel without wscons, which
> worked, so I guess the error is somewhere in wscons.

Ok, when and where exactly did the watchdog reset happen? What was the
last thing the kernel tried to do? '20 seconds in the boot process'
could be pretty much anywhere.=20

btw. 'SPARK' doesn't exist in http://web.comhem.se/~u83106053/

Anyway, please give some more information so that we at least have a
chance to figure out what went wrong. Like dmesg output from a working
kernel and if there's a chance to connect something to the Classic's
ttya all the output up to the watchdog reset would be useful as well.=20
And of course the kernel config you used.
Then, please try a -current kernel ( I'll build one for your machine if
you want ) to see if someone already fixed the problem.

have fun
Michael

--Signature_Sat__28_Jan_2006_10_36_51_-0500_ttTRyGd=FvLnUgN8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ9uPlMpnzkX8Yg2nAQJaYwgAkV6IcdpuYJuDj9hkDkWj3APxu/IZdCop
QqVv+pIr22f57ZEd4SMVG3U147jV+rSsohDE36M6uXfPF0XrSMbR5KF95eDOlcgE
Cu3Wy/VY3yLZjvGM3hOveOlOlNGX31RdmHEveWlaGV8hE+Mh6X+MtbGPSmCV6hDl
8aP14m+1R51sdDKtHBMgcramk+lS6WFa+vPJYXTlK6SJhO9ZUxVaBZ/PlNNV+zek
+bLw38R6HRxi8ubsAfEw32j8eNBpVIDX77jdG+xKhf4ewyfKWcivI26ZIqUxEvo5
3lyCGUdBvf5NVRrWvwu5pOenjFWS4eqWXf67KNQOWC9WnLfmE6h5RQ==
=aSO3
-----END PGP SIGNATURE-----

--Signature_Sat__28_Jan_2006_10_36_51_-0500_ttTRyGd=FvLnUgN8--