Subject: serial port for a ultra 5
To: None <port-sparc64@NetBSD.org>
From: Raymond <Raymondv@gmx.de>
List: port-sparc64
Date: 08/02/2003 15:08:55
hi,

I´m trying to use the serial port in netbsd 1.6.1 with a sun ultra 5.
I´m using the GENERIC kernel but it seems that this have no support for
the serial port (SAB82532).
Can anybody send me the appropriate kernel config file?

I have try to enable this:

## The SAB82532 controller has two serial ports
sab*    at ebus?                                # ttya/ttyb
sabtty* at sab? channel ?

but then:

GENERIC32:247: sab*: unknown device `sab'
GENERIC32:248: sabtty*: unknown device `sabtty'
*** Stop.

my dmesg:

console is /pci@1f,0/pci@1,1/ebus@1/se@14,400000:a
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.6.1 (GENERIC) #0: Mon Apr  7 10:27:16 UTC 2003

autobuild@cs20.apochromatic.org:/autobuilder/build/netbsd-1-6/sparc64/OBJ/autobuilder/build/netbsd-1-6/src/sys/arch/sparc64/compile/GENERIC

total memory = 192 MB
avail memory = 168 MB
using 1241 buffers containing 9928 KB of memory
bootpath: /pci@1f,0/pci@1,1/ide@3,0/disk@0,0
mainbus0 (root): SUNW,Ultra-5_10
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 270 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 256K
external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
DVMA map: c0000000 to e0000000
IOTSB: e44000 to ec4000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI bridge (rev.
0x11)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 1 function 0
ebus0: Sun Microsystems PCIO Ebus2, revision 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
72c000-72c003, 72f000-72f003
power at ebus0 addr 724000-724003 ipl 37 not configured
SUNW,pll at ebus0 addr 504000-504002 not configured
se at ebus0 addr 400000-40007f ipl 43 not configured
com0 at ebus0 addr 3083f8-3083ff ipl 41: ns16550a, working fifo
kbd0 at com0
com1 at ebus0 addr 3062f8-3062ff ipl 42: ns16550a, working fifo
ms0 at com1
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 39
not configured
clock0 at ebus0 addr 0-1fff: mk48t59: hostid 809c610e
flashprom at ebus0 addr 0-fffff not configured
audiocs0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f,
722000-722003 ipl 35 ipl 36: CS4231A
audio0 at audiocs0: full duplex
hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme0: interrupting at ivec 3021
hme0: Ethernet address 08:00:20:9c:61:0e
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ATI Technologies 3D Rage I/II (VGA display, revision 0x9a) at pci1 dev 2
function 0 not configured
pciide0 at pci1 dev 3 function 0: CMD Technology PCI0646 (rev. 0x03)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using ivec 1820 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD300AB-00CDB0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 28629 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 58633344
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)

wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data
transfers)
pciide0: secondary channel configured to native-PCI mode
pciide0: disabling secondary channel (no drives)
ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI bridge (rev.
0x11)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
siop0 at pci2 dev 1 function 0: Symbios Logic 53c875 (ultra-wide scsi)
siop0: using on-board RAM
siop0: interrupting at ivec 10
scsibus0 at siop0: 16 targets, 8 luns per target
pcons0 at mainbus0
No counter-timer -- using %tick at 270MHz as system clock.
scsibus0: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 3 lun 0: <YAMAHA, CRW2100S, 1.0N> SCSI2 5/cdrom
removable
cd0: sync (50.0ns offset 7), 8-bit (20.000MB/s) transfers
Kernelized RAIDframe activated
root on wd0a dumps on wd0b
root file system type: ffs
IP Filter: v3.4.29 initialized.  Default = pass all, Logging = enabled



--

www.raymond-vetter.de