Subject: Ultra 2 Creator, report + some questions
To: None <port-sparc64@netbsd.org>
From: Martin Weber <Ephaeton@gmx.net>
List: port-sparc64
Date: 09/07/2003 16:39:22
Hoi.

I recently got a Ultra 2 Creator, and am wondering about some things
in my dmesg.  I admit this is the first sparc I got booted (have
a sparcclassic but had no serial line till now). So, I have some
(potentially dumb) questions.

Here we go:

flashprom at sbus0 slot 15 offset 0x0 not configured

What about this one ?

SUNW,fdtwo at sbus0 slot 15 offset 0x1400000 vector 29 ipl 11 not configured

Yeah, that's the (not configured in GENERIC32) fdc.

sc at sbus0 slot 15 offset 0x1300000 not configured
SUNW,pll at sbus0 slot 15 offset 0x1304000 not configured

What about those two ?

SUNW,ffb at mainbus0 addr 0xfec00000 not configured

Yes I know this one is not yet supported. So, how can I help ? I
have the hardware after all. I'm a bit baffled, too, about some
ffb* sourcefiles lying around (obviously imported from OpenBSD ?
How dare they support stuff we don't support :). So no X so far
(but me want of course) ... or are there patches lying around ? I
saw a msg earlier (far earlier) with precompiled kernel and X sets,
yet quite ancient. Is there something going on here ? I also see
an open ffb support PR, but the files are imported already ? Also
when I try to use ffb in the kernel (which says it's attached at
upa btw, I don't have one (do I ? :), changed it to ffb at mainbus,
but can't compile my kernel because of unresolved externals to
rasops_init (is that raster console or RAS stuff ?) and wscons
stuff:


making sure the compat library is up to date...
`libcompat.a' is up to date.
making sure the kern library is up to date...
`libkern.a' is up to date.
ld -n -T /usr/src/sys/arch/sparc64/conf/kern.ldscript -Ttext 01000000 -Tdata 01800000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
ffb.o: In function `ffb_attach':
/usr/src/sys/arch/sparc64/dev/ffb.c:144: undefined reference to `rasops_init'
/usr/src/sys/arch/sparc64/dev/ffb.c:164: undefined reference to `romgetcursoraddr'
/usr/src/sys/arch/sparc64/dev/ffb.c:174: undefined reference to `wsdisplay_cnattach'
/usr/src/sys/arch/sparc64/dev/ffb.c:182: undefined reference to `wsemuldisplaydevprint'
/usr/src/sys/arch/sparc64/dev/ffb.c:182: undefined reference to `wsemuldisplaydevprint'

*** Failed target:  netbsd
*** Failed command: *** Failed target:  netbsd
(...)
*** Error code 1

Stop.
make: stopped in /usr/obj/sys/arch/sparc64/compile/HELIOS

pcons at mainbus0 not configured

"## PROM console driver -- if all else fails
pcons0 at mainbus0           # PROM console"

That one failed too :) So should it be pcons, not pcons0 in the
kernel config file ?


Aside of that, it runs fine... (of course the console is sllooooooooow,
is there something I can do to help fix the faster scrolling of
that in sparc64 ?)

The full dmesg is attached (Even if it's called HELIOS, that's really just a GENERIC)

NetBSD 1.6Y (HELIOS) #0: Sat Sep  6 23:14:39 CEST 2003
	root@helios.entropie.net:/usr/obj/sys/arch/sparc64/compile/HELIOS
total memory = 640 MB
avail memory = 582 MB
using 4108 buffers containing 32864 KB of memory
bootpath: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0
mainbus0 (root): SUNW,Ultra-2
cpu0 at mainbus0: SUNW,UltraSPARC-II @ 399.977 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l)
timer0 at mainbus0 addr 0xfffc3c00 irq vectors 7f0 and 7f1
sbus0 at mainbus0 addr 0xfffc8000: clock = 25 MHz
DVMA map: ff800000 to ffffe000
IOTSB: 30a6000 to 30a8000
audiocs0 at sbus0 slot 13 offset 0xc000000 vector 24 ipl 13: CS4231A
audio0 at audiocs0: full duplex
auxio0 at sbus0 slot 15 offset 0x1900000
flashprom at sbus0 slot 15 offset 0x0 not configured
SUNW,fdtwo at sbus0 slot 15 offset 0x1400000 vector 29 ipl 11 not configured
clock0 at sbus0 slot 15 offset 0x1200000: mk48t59: hostid 809bdd0e
zs0 at sbus0 slot 15 offset 0x1100000 vector 28 ipl 12 softpri 6
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1
zs1 at sbus0 slot 15 offset 0x1000000 vector 28 ipl 12 softpri 6
zstty2 at zs1 channel 0 (console input)
kbd0 at zstty2 (console input)
zstty3 at zs1 channel 1
ms0 at zstty3
sc at sbus0 slot 15 offset 0x1300000 not configured
SUNW,pll at sbus0 slot 15 offset 0x1304000 not configured
esp0 at sbus0 slot 14 offset 0x8800000 vector 20 ipl 3: FAS366/HME, 40MHz, SCSI ID 7
scsibus0 at esp0: 16 targets, 8 luns per target
hme0 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: Sun Happy Meal Ethernet (SUNW,hme)
hme0: Ethernet address 08:00:20:9b:dd:0e
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpp0 at sbus0 slot 14 offset 0xc800000 vector 22 ipl 2: DMA rev unknown (0x20000000)
SUNW,ffb at mainbus0 addr 0xfec00000 not configured
pcons at mainbus0 not configured
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST34371W SUN4.2G, 7462> disk fixed
sd0: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
sd0: sync (100.00ns offset 15), 16-bit (20.000MB/s) transfers
sd1 at scsibus0 target 1 lun 0: <FUJITSU, MAB3091S SUN9.0G, 1705> disk fixed
sd1: 8637 MB, 4926 cyl, 27 head, 133 sec, 512 bytes/sect x 17689267 sectors
sd1: sync (100.00ns offset 15), 16-bit (20.000MB/s) transfers
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM5701TASUN12XCD, 2395> cdrom removable
cd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
root on sd0a dumps on sd0b
root file system type: ffs

So what can I do ?

Thanks in advance,

-Martin