Missing serial ports...
Ben Crosby
ben.crosby at alcatel.com
Sat May 29 20:18:20 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
All,
I did a search in the archive, and this was discussed in June 2003,
but I'm still stumped.
I've just installed 5.2.1-RELEASE on five Sun Netra 120 servers, and I
am unable to use the second serial port. There are no hints in the
dmesg output, and only /dev/ttya exists in the /dev directory.
To be honest, I'm not sure what driver is being used to see the
/dev/ttya device on the standard kernel.
I'd like to be able to hook up a GPS reciever to the second serial
port for accurate NTP source.
I'd very much appreciate some assistance with ideas or a solution. The
solution proposed in June 2003's discussion:
http://lists.freebsd.org/mailman/htdig/freebsd-sparc64/2003-June/000242.html
made reference to an SIO driver, so I compiled a custom kernel,
created the device.hints file as follows:
hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.irq="4"
hint.sio.1.at="isa"
hint.sio.1.port="0x2E8"
installed it, and lo, dmesg now reports:
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
sio1 at port 0x2e8-0x2ef on isa0
sio1: type 16550A
And, I have /dev/ttyd0 and /dev/ttyd1, however, I'm not 100%
certain this is the right way to solve the problem.
Here's the relevant entry from ofwdump:
Node 0xf007de68: serial
port-a-ignore-cd:
nohupcl:
00
interrupt-priorities:
00 00 00 0c 00 00 00 0c
reg:
00 00 00 00 00 00 03 f8 00 00 00 08
compatible:
73 75 31 36 35 35 30 00 73 75 00
device_type:
73 65 72 69 61 6c 00
'serial'
name:
73 65 72 69 61 6c 00
'serial'
interrupts:
00 00 00 04
and:
Node 0xf007fb54: serial
port-b-ignore-cd:
nohupcl:
00
interrupt-priorities:
00 00 00 0c 00 00 00 0c
reg:
00 00 00 00 00 00 02 e8 00 00 00 08
compatible:
73 75 31 36 35 35 30 00 73 75 00
device_type:
73 65 72 69 61 6c 00
'serial'
name:
73 65 72 69 61 6c 00
'serial'
interrupts:
00 00 00 04
Many thanks,
Ben.
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.0.3
Comment: ""
iQA/AwUBQLlSY0Nm3F1O6YPWEQJ9CACeLWXcPTHmxqzZi8p/BmpO2iVYy3EAn1bM
/2yZW/9gOMpeaYh8zj4MfCKg
=bRBz
-----END PGP SIGNATURE-----
More information about the freebsd-sparc64
mailing list