Arun Sharma | 1 Oct 2007 01:10

Re: TBB support for FreeBSD

On 9/29/07, Mike Meyer <mwm <at> mired.org> wrote:
>
> Any chance of getting this packaged as a FreeBSD port, which can apply
> the patch until it gets rolled into the distributed tarball? I don't
> see a TBB port.

I just send-pr'ed it. You can also get it from:

http://www.sharma-home.net/people/arun/misc/tbb.shar

 -Arun
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Jeff Blank | 1 Oct 2007 06:25
X-Face

Re: Comtrol RocketPort 550 uPCI, 16-port

On Sat, Sep 29, 2007 at 09:32:47AM -0500, nick thompson wrote:
>  Hi. First off, to get it out of the way, I work for Comtrol. This is a
> Comtrol GMBH (used to be Comtrol UK, now Comtrol GMBH [Switzerland])
> product. The two are separate companies now. Anyhow, if you have had
> this card for less than 30 days, I would hi,ghly recommend returning it
> to the distributor for a RocketPort uPCI 16 port card,  as this  is a
> Comtrol  U.S. product and we have a 6.2 driver for our entire RocketPort
> line.

Thanks for the info.  Is the external box with the RJ-45 serial ports 
(part # 99420-6) compatible with the Comtrol US card you're about to
send the link for, or would I need to send that back as well?

> other Unices guy in tech support at Comtrol U.S. and I would definitely
> like to extend an invitation for anyone who would like a copy of the
> driver to email me at my work address 

Does this mean that the US card is not supported by the rp driver that
comes with FreeBSD 6.2, or was that mostly aimed at folks who run an
OS (version) that doesn't include a driver?

Thanks again,
Jeff
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Steven Hartland | 1 Oct 2007 10:43
Picon
Favicon

How to enable more than 256 pty's?

Is it really a matter of editing:
/usr/src/sys/kern/tty_pty.c

And changing:
static char *names = "pqrsPQRS";

To increase the number of available pty's ( FreeBSD 5.4 ) or is there
a nicer way?

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is
addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or
otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster <at> multiplay.co.uk.

_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Steven Hartland | 1 Oct 2007 11:21
Picon
Favicon

Re: How to enable more than 256 pty's?

Well looked like that might work but clearly not, should have looked closer.
Is there a way to do this?

    Regards
    Steve

----- Original Message ----- 
> Is it really a matter of editing:
> /usr/src/sys/kern/tty_pty.c
>
> And changing:
> static char *names = "pqrsPQRS";
>
> To increase the number of available pty's ( FreeBSD 5.4 ) or is there
> a nicer way?
>
>    Regards
>    Steve
>
> ================================================
> This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is
addressed. In the 
> event of misdirection, the recipient is prohibited from using, copying, printing or otherwise
disseminating it or any 
> information contained in it.
> In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
> or return the E.mail to postmaster <at> multiplay.co.uk.
>
> _______________________________________________
> freebsd-hackers <at> freebsd.org mailing list
(Continue reading)

Brad Davis | 1 Oct 2007 21:15
Picon
Favicon

FreeBSD status reports due: Oct 6th, 2007

Hi Everyone,

It is that time again.  We would like to remind everybody who has exciting
news to share to write a report about their project.  This is a good way
to improve exposure of your work, receive feedback and help.  As we are
closing in on 7.0 everybody is interested to know what's new - so please,
do tell!

Looking forward to your reports.  As always you can either use the
template or the generator CGI and mail the result to monthly <at>  by
2007/10/06.

http://www.freebsd.org/news/status/
http://www.freebsd.org/cgi/monthly.cgi
http://www.freebsd.org/news/status/report-sample.xml

Regards,
Brad Davis
_______________________________________________
freebsd-current <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"

Steven Hartland | 2 Oct 2007 13:18
Picon
Favicon

Re: How to enable more than 256 pty's?

Any one got any pointers on this, the machine we running this app on is over
90% idle so I really don't want to have to install a second machine just to
workaround a limit on the number of pty's, surely there's a way to increase
this?

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is
addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or
otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster <at> multiplay.co.uk.

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

Dag-Erling Smørgrav | 2 Oct 2007 14:05
Picon
Gravatar

Re: How to enable more than 256 pty's?

"Steven Hartland" <killing <at> multiplay.co.uk> writes:
> Any one got any pointers on this, the machine we running this app on is over
> 90% idle so I really don't want to have to install a second machine just to
> workaround a limit on the number of pty's, surely there's a way to increase
> this?

You need to change the way ptys are named in pty_create_slave() and
pty_clone() in sys/kern/tty_pty.c.  Just changing names won't help as
the sequence is also hardcoded in pty_clone().

You also need to change grantpt(), openpty() and any other userland code
which has hardcoded knowledge of the naming scheme:

des <at> ds4 ~% gfs pqrsPQRS
src/sys/kern/tty_pty.c: static char *names = "pqrsPQRS";
src/sys/kern/tty_pty.c:  * pts == /dev/tty[pqrsPQRS][0123456789abcdefghijklmnopqrstuv]
src/sys/kern/tty_pty.c:  * ptc == /dev/pty[pqrsPQRS][0123456789abcdefghijklmnopqrstuv]
src/contrib/telnet/telnetd/sys_term.c:  for (cp = "pqrsPQRS"; *cp; cp++) {
src/usr.sbin/ac/ac.c:                               strchr("pqrsPQRS", usr.ut_line[3]) != 0 ||
src/lib/libutil/pty.c:  for (cp1 = "pqrsPQRS"; *cp1; cp1++) {
src/lib/libc/stdlib/grantpt.c: #define  PT_DEV1         "pqrsPQRS"

Alternatively, set kern.pts.enable to 1, and find and fix the
hang-on-close bug in the pts code (if it hasn't been fixed already)

DES
--

-- 
Dag-Erling Smørgrav - des <at> des.no
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
(Continue reading)

Erik Trulsson | 2 Oct 2007 14:09
Picon
Picon
Favicon

Re: How to enable more than 256 pty's?

On Tue, Oct 02, 2007 at 02:05:03PM +0200, Dag-Erling Smørgrav wrote:
> "Steven Hartland" <killing <at> multiplay.co.uk> writes:
> > Any one got any pointers on this, the machine we running this app on is over
> > 90% idle so I really don't want to have to install a second machine just to
> > workaround a limit on the number of pty's, surely there's a way to increase
> > this?
> 
> You need to change the way ptys are named in pty_create_slave() and
> pty_clone() in sys/kern/tty_pty.c.  Just changing names won't help as
> the sequence is also hardcoded in pty_clone().
> 
> You also need to change grantpt(), openpty() and any other userland code
> which has hardcoded knowledge of the naming scheme:
> 
> des <at> ds4 ~% gfs pqrsPQRS
> src/sys/kern/tty_pty.c: static char *names = "pqrsPQRS";
> src/sys/kern/tty_pty.c:  * pts == /dev/tty[pqrsPQRS][0123456789abcdefghijklmnopqrstuv]
> src/sys/kern/tty_pty.c:  * ptc == /dev/pty[pqrsPQRS][0123456789abcdefghijklmnopqrstuv]
> src/contrib/telnet/telnetd/sys_term.c:  for (cp = "pqrsPQRS"; *cp; cp++) {
> src/usr.sbin/ac/ac.c:                               strchr("pqrsPQRS", usr.ut_line[3]) != 0 ||
> src/lib/libutil/pty.c:  for (cp1 = "pqrsPQRS"; *cp1; cp1++) {
> src/lib/libc/stdlib/grantpt.c: #define  PT_DEV1         "pqrsPQRS"
> 
> Alternatively, set kern.pts.enable to 1, and find and fix the
> hang-on-close bug in the pts code (if it hasn't been fixed already)

This last option is only available if you are running 7-CURRENT though.
The pts code is not in 6-STABLE (or older.)

--

-- 
(Continue reading)

Dag-Erling Smørgrav | 2 Oct 2007 14:16
Picon
Gravatar

Re: How to enable more than 256 pty's?

Vlad GALU <dudu <at> dudu.ro> writes:
> Dag-Erling Smørgrav <des <at> des.no> writes:
> > Alternatively, set kern.pts.enable to 1, and find and fix the
> > hang-on-close bug in the pts code (if it hasn't been fixed already)
> Looks like it hasn't been. A friend who tried to set up an access
> server for his company stumbled upon it.

kib <at>  says it has as of sys/kern/tty_pts.c rev 1.15 (2007-07-03).  Has
your friend tried with a sufficiently recent kernel?

DES
--

-- 
Dag-Erling Smørgrav - des <at> des.no
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

Vlad GALU | 2 Oct 2007 14:19
Picon

Re: How to enable more than 256 pty's?

On 10/2/07, Dag-Erling Smørgrav <des <at> des.no> wrote:
> Vlad GALU <dudu <at> dudu.ro> writes:
> > Dag-Erling Smørgrav <des <at> des.no> writes:
> > > Alternatively, set kern.pts.enable to 1, and find and fix the
> > > hang-on-close bug in the pts code (if it hasn't been fixed already)
> > Looks like it hasn't been. A friend who tried to set up an access
> > server for his company stumbled upon it.
>
> kib <at>  says it has as of sys/kern/tty_pts.c rev 1.15 (2007-07-03).  Has
> your friend tried with a sufficiently recent kernel?

   I can't tell for sure, he tried a week or two ago, with a recent
snapshot. I forwarded him your mail, I hope he'll retry and get back
to me.

>
> DES
> --
> Dag-Erling Smørgrav - des <at> des.no
>

--

-- 
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"
(Continue reading)


Gmane