Re: Still no luck with OpenBSD/sparc and /dev/cuaa

Previous thread: Invest In Thailand ! by Miss Bargain on Thursday, February 25, 2010 - 11:22 am. (1 message)

Next thread: bad address for faq@openbsd.org? by Mark Nipper on Thursday, February 25, 2010 - 2:56 pm. (2 messages)
From: Alex Carver
Date: Thursday, February 25, 2010 - 2:15 pm

I've tried all the suggestions so far but no luck.  I can not ever get 
/dev/cua* to work properly.

Even cat fails:

# cat < /dev/cuaa
ksh: cannot open /dev/cuaa: Device not configured


So the fundamental problem is this "Device not configured" error.  How 
is OpenBSD supposed to be configuring these devices and why is my system 
not doing so?  This is a completely clean install of OpenBSD on the 
machine after completely formatting and repartitioning the hard drive.

There's something missing and it's probably something simple but I've 
stared at it for so logn now that I'm likely missing it entirely.

From: Otto Moerbeek
Date: Thursday, February 25, 2010 - 2:45 pm

according to sys/arch/sparc/sparc/conf.c, zs uses major device number 12.

Check the device majer/minors: /dev/ttya should be 12,0 and
/dev/cuau 12,128.

	-Otto

From: Otto Moerbeek
Date: Thursday, February 25, 2010 - 2:54 pm

From: Alexander Carver
Date: Thursday, February 25, 2010 - 7:39 pm

# ls -l /dev/cuaa
crw-rw----  1 uucp  dialer   12, 128 Feb 21 18:52 /dev/cuaa
# ls -l /dev/ttya
crw-rw----  1 uucp  dialer   12,   0 Feb 24 22:31 /dev/ttya
#


They match what they should be but it still comes up device not configured.

From: Otto Moerbeek
Date: Friday, February 26, 2010 - 12:13 am

In that case I'm out of suggestions. I dont't have a machine to reproduce.

	-Otto

From: Otto Moerbeek
Date: Friday, February 26, 2010 - 12:53 am

Well, looking at the code, it seems that sparc's sz(4) just does not
do cua and never did. I suspect the man page is wrong. Does /dev/ttya
work for you? Of course using it for both incoming and outgoing will
not fly... 

	-Otto

Previous thread: Invest In Thailand ! by Miss Bargain on Thursday, February 25, 2010 - 11:22 am. (1 message)

Next thread: bad address for faq@openbsd.org? by Mark Nipper on Thursday, February 25, 2010 - 2:56 pm. (2 messages)