missing serial devices on NetraX1
John-Mark Gurney
gurney_j at efn.org
Wed Jun 11 02:31:23 PDT 2003
Honza Dusak wrote this message on Wed, Jun 11, 2003 at 11:18 +0200:
> Yesterday I installed FreeBSD-5.1BETA on NetraX1 and I wanted
> to use the serial B port as a network interface ( slattach ) .
> But I cannot find any notice about serial drivers in the dmesg
> output and neither there is no ttyb ( or cuaa* ) device at
> /dev directory .
>
> Please, can anybody advise what can be missing ?
I think you have a similar box to mine, which uses an ALi south bridge
for serial.
The problem is that you can't have both serial (sio) ports running at
the same time otherwise you might lock up your box.
Try adding:
hint.sio.1.at="isa"
hint.sio.1.port="0x2E8"
hint.sio.1.irq="4"
to your /boot/device.hints files (you may have to staticly link the
hints, I used this with a kld sio driver).
Now, these MAY need to be changed. To get the correct information,
you need to run ofwdmp -ap, and look at the output. Search for serial.
You should see something similar to:
Node 0xf00782f8: serial
port-a-ignore-cd:
interrupt-priorities:
00 00 00 0c 00 00 00 0c
reg:
00 00 00 00 00 00 03 f8 00 00 00 08
if you see the port-a-ignore-cd, this will be the first port, or your
console, find the next serial entery, and that should have
port-b-ignore-cd, and that is your second serial port.
The address in the reg which looks like PC io port is what you want.
(notice the 3f8 in the reg dump above). There should also be an
interrupts property, that is the interrupt that you need to attach.
Be careful, on the sparcs, they don't like interrupts >7 on the isa
bus!
If you can't get this to work, send me a copy of your "ofwdump -ap"
command, and I can help you more.
Good Luck.
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-sparc64
mailing list