PTY allocation error

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Bako
Date: Sunday, July 11, 2010 - 4:31 pm

I'm setting up (well, trying to I guess :-) ) a read-only OpenBSD system to
run off a small CF card.  Never having done this before, I found an
excellent article written by Daniele Mazzocchio
(http://www.kernel-panic.it/openbsd/embedded/) to use as my guide.  I had a
few minor issues crop up, but have been able to work my way through them.
However I finally got to one that I am stumped with.

Basically once I boot of my new image, I am able to log into it on the
serial console and things look ok.  I can also ping the IP address of the
unit, but when I try to SSH into it I get the following message: 

  "Server refused to allocate pty"

I've checked over my setup and all seems fine as per the instructions.  I
have all the pty* devices from /dev (which is RO) linked to /var/run/dev
(which is in memory), so the problem cannot be that these devices are not
writeable.  (Actually /var is linked to /tmp/var, where the /tmp directory
is in memory and populated by the image from a directory called /template.)

Unfortunately this goes a bit beyond my current skill set, so if anyone has
any suggestions I really would appreciate the help.

BTW, in case it matters.  I'm using OpenBSD 4.6 as both the host on which I
setup the image and OS on the CF card.  The card in question is a 64M
SanDisk CF and is being plugged into a Soekris Net4801 box.  None of these
should make a difference, but you never know... :-)

Thanks,
Peter
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PTY allocation error, Peter Bako, (Sun Jul 11, 4:31 pm)
Re: PTY allocation error, Philip Guenther, (Sun Jul 11, 6:21 pm)
Re: PTY allocation error, Bret S. Lambert, (Sun Jul 11, 6:29 pm)
Re: PTY allocation error, Nick Holland, (Sun Jul 11, 6:47 pm)
Re: PTY allocation error, Peter Bako, (Sun Jul 11, 11:06 pm)
Re: PTY allocation error, Damien Miller, (Sun Jul 11, 11:18 pm)
Re: PTY allocation error, Floor Terra, (Mon Jul 12, 4:33 am)
Re: PTY allocation error, Nick Holland, (Mon Jul 12, 8:37 am)
Re: PTY allocation error, Chris Bennett, (Mon Jul 12, 11:38 am)
Re: PTY allocation error, Corey, (Mon Jul 12, 11:58 am)
Re: PTY allocation error, bofh, (Mon Jul 12, 12:10 pm)
Re: PTY allocation error, Chris Bennett, (Mon Jul 12, 12:33 pm)
Re: PTY allocation error, Leonardo Carneiro - ..., (Mon Jul 12, 12:46 pm)
Re: PTY allocation error, J Sisson, (Mon Jul 12, 1:01 pm)
Re: PTY allocation error, Leonardo Carneiro - ..., (Mon Jul 12, 1:16 pm)
Re: PTY allocation error, Leonardo Carneiro - ..., (Mon Jul 12, 1:41 pm)
Re: PTY allocation error, Ted Unangst, (Mon Jul 12, 2:36 pm)
Re: PTY allocation error, Fred Crowson, (Mon Jul 12, 2:38 pm)
Re: PTY allocation error, bofh, (Mon Jul 12, 7:13 pm)
Re: PTY allocation error, Chris Bennett, (Tue Jul 13, 4:26 am)
Re: PTY allocation error, Chris Cappuccio, (Thu Jul 15, 7:59 pm)
Re: PTY allocation error, Kevin Chadwick, (Fri Jul 16, 6:00 am)
Re: PTY allocation error, Chris Cappuccio, (Fri Jul 16, 9:18 am)
Re: PTY allocation error, Duncan Patton a Campbell, (Thu Jul 22, 9:57 pm)