serial ports on the Ultra 5

Aaron Glenn aaron.glenn at
Mon Dec 5 18:25:54 GMT 2005

For the life of me I cannot get either serial port on one of my Ultra
5's to work in FreeBSD. I'll admit I don't quite grasp how the sio(4),
puc(4), and sab(4) drivers intertwine (if at all...) and while
/etc/ttys makes sense to me, I don't understand how to get or why I
don't have a /dev entry for either of the serial ports. I am unable to
console out or into the box; prior to FreeBSD 6.0 the machine had
OpenBSD and the ports worked flawlessly, ruling out a hardware issue.

The release notes say it should work, the sab(4) man pages says
/dev/tty[a-b], /etc/ttys has an entry, dmesg says puc(4), and I can't
make heads or tails of anything. I'm missing something important - can
a kind soul point me to it?

yang# uname -a
FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sun Dec  4
20:25:47 PST 2005    
root at  sparc64
yang# dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #0: Sun Dec  4 20:25:47 PST 2005
    root at
Timecounter "tick" frequency 400000000 Hz quality 1000
real memory  = 402653184 (384 MB)
avail memory = 379232256 (361 MB)
cpu0: Sun Microsystems UltraSparc-IIi Processor (400.00 MHz CPU)
nexus0: <Open Firmware Nexus device>
pcib0: <U2P UPA-PCI bridge> on nexus0
pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A
pcib0: [FAST]
pcib0: [FAST]
pcib0 dvma: DVMA map: 0xc0000000 to 0xc3ffffff
pci0: <OFW PCI bus> on pcib0
pcib1: <APB PCI-PCI bridge> at device 1.1 on pci0
pci1: <OFW PCI bus> on pcib1
ebus0: <PCI-EBus2 bridge> mem
0xf0000000-0xf0ffffff,0xf1000000-0xf17fffff at device 1.0 on pci1
auxio0: <Sun Auxiliary I/O> addr
on ebus0
ebus0: <power> addr 0x1400724000-0x1400724003 irq 37 (no driver attached)
ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached)
puc0: <Siemens SAB 82532 dual channel SCC> addr
0x1400400000-0x140040007f irq 43 on ebus0
uart0: <SAB 82532 v3.2, channel A> on puc0
uart0: CTS oflow
uart1: <SAB 82532 v3.2, channel B> on puc0
uart1: CTS oflow
uart2: <16550 or compatible> addr 0x14003083f8-0x14003083ff irq 41 on ebus0
uart2: keyboard (1200,n,8,1)
kbd0 at sunkbd0
uart3: <16550 or compatible> addr 0x14003062f8-0x14003062ff irq 42 on ebus0
ebus0: <ecpp> addr
irq 34 (no driver attached)
ebus0: <fdthree> addr
irq 39 (no driver attached)
eeprom0: <EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0
eeprom0: model mk48t59
eeprom0: hostid 80f5201b
ebus0: <flashprom> addr 0x1000000000-0x10000fffff (no driver attached)
ebus0: <SUNW,CS4231> addr
irq 35,36 (no driver attached)
hme0: <Sun HME 10/100 Ethernet> mem 0xe0000000-0xe0007fff at device 1.1 on pci1
miibus0: <MII bus> on hme0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme0: Ethernet address: 08:00:20:f5:20:1b
machfb0: <ATI 3D Rage Pro> mem
0xe1000000-0xe1ffffff,0xe2000000-0xe2000fff at device 2.0 on pci1
machfb0: console
machfb0: 16 MB aperture at 0xd18ea000, 1 KB registers at 0xe17ffc00
machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz, DSP
machfb0: resolution 1152x900 at 8 bpp
atapci0: <CMD 646 WDMA2 controller> port
at device 3.0 on pci1
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
pcib2: <APB PCI-PCI bridge> at device 1.0 on pci0
pci2: <OFW PCI bus> on pcib2
pcib3: <OFW PCI-PCI bridge> at device 1.0 on pci2
pci3: <OFW PCI bus> on pcib3
pci3: <bridge> at device 0.0 (no driver attached)
hme1: <Sun HME 10/100 Ethernet> mem 0x2800000-0x2807fff at device 0.1 on pci3
miibus1: <MII bus> on hme1
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme1: Ethernet address: 08:00:20:f5:20:1b
pci3: <bridge> at device 1.0 (no driver attached)
hme2: <Sun HME 10/100 Ethernet> mem 0x4800000-0x4807fff at device 1.1 on pci3
miibus2: <MII bus> on hme2
ukphy1: <Generic IEEE 802.3u media interface> on miibus2
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme2: Ethernet address: 08:00:20:f5:20:1b
pci3: <bridge> at device 2.0 (no driver attached)
hme3: <Sun HME 10/100 Ethernet> mem 0x6800000-0x6807fff at device 2.1 on pci3
miibus3: <MII bus> on hme3
ukphy2: <Generic IEEE 802.3u media interface> on miibus3
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme3: Ethernet address: 08:00:20:f5:20:1b
pci3: <bridge> at device 3.0 (no driver attached)
hme4: <Sun HME 10/100 Ethernet> mem 0x8800000-0x8807fff at device 3.1 on pci3
miibus4: <MII bus> on hme4
ukphy3: <Generic IEEE 802.3u media interface> on miibus4
ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme4: Ethernet address: 08:00:20:f5:20:1b
syscons0: <System console> on nexus0
syscons0: Unknown <16 virtual consoles, flags=0x300>
Timecounters tick every 1.000 msec
ad0: 19458MB <Seagate ST320414A 3.28> at ata2-master WDMA2
acd0: CDRW <CRD-8322B/1.05> at ata3-master PIO4
Trying to mount root from ufs:/dev/ad0a

Please CC me as I'm not subscribed to the list. Thank you.


More information about the freebsd-sparc64 mailing list