How to get a kthread ID?

2007-10-25 Thread Sergey Matveychuk
Is there a possibility to get a kthread ID inside a kthread? Just like pthread_self(3). -- Dixi. Sem. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECT

Re: How to get a kthread ID?

2007-10-25 Thread Dag-Erling Smørgrav
Sergey Matveychuk <[EMAIL PROTECTED]> writes: > Is there a possibility to get a kthread ID inside a kthread? > Just like pthread_self(3). curthread? DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://list

Re: How to get a kthread ID?

2007-10-25 Thread Marc Lörner
On Thursday 25 October 2007 11:02, Sergey Matveychuk wrote: > Is there a possibility to get a kthread ID inside a kthread? > Just like pthread_self(3). In function kthread_exit there you see that you can obtain the thread-structure with curthread. And then in this thread-structure is the field t

Re: Getting nonstandard serial baud rates w/FTDI

2007-10-25 Thread Brooks Talley
Thanks to everyone who applied. The OpenBSD approach to setting UFTDI baud rates is definitely superior. However, the root of my problem turned out to be Python. Even with the new baud rate hardcoded in the UFTDI kernel module and manually added to termios.h, Python was refusing to admit that

Re: Serial speed for boot device selection prompt

2007-10-25 Thread Sean Bruno
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html Thanks for the pointers. I am currently unable to access www.freebsd.org for some reason. It appears that I get a timeout trying to retrieve anything from the web site. Other folks in my office seem to h

Re: USB vs PAE

2007-10-25 Thread John Baldwin
On Wednesday 24 October 2007 05:06:39 pm M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Bob Bishop <[EMAIL PROTECTED]> writes: > : Hi, > : > : On 23 Oct 2007, at 20:45, Ivan Voras wrote: > : > : > Bob Bishop wrote: > : >> Hi, > : >> > : >> The whole USB kit and caboodle is

Re: Serial speed for boot device selection prompt

2007-10-25 Thread Jeremy Chadwick
On Thu, Oct 25, 2007 at 10:36:28AM -0700, Sean Bruno wrote: > Thanks for the pointers. I am currently unable to access www.freebsd.org > for some reason. It appears that I get a timeout trying to retrieve > anything from the web site. Other folks in my office seem to have the same > problem,

FreeBSD.org website problems was: Serial speed for boot device selection prompt

2007-10-25 Thread Sean Bruno
Jeremy Chadwick wrote: On Thu, Oct 25, 2007 at 10:36:28AM -0700, Sean Bruno wrote: Thanks for the pointers. I am currently unable to access www.freebsd.org for some reason. It appears that I get a timeout trying to retrieve anything from the web site. Other folks in my office seem to have

Re: How to get a kthread ID?

2007-10-25 Thread Julian Elischer
Dag-Erling Smørgrav wrote: Sergey Matveychuk <[EMAIL PROTECTED]> writes: Is there a possibility to get a kthread ID inside a kthread? Just like pthread_self(3). curthread? well that's a thread pointer, but you are I guess correct because from there you can get to curthread->td_tid which is t

Re: Serial speed for boot device selection prompt

2007-10-25 Thread Larry Baird
In article <[EMAIL PROTECTED]> you wrote: > On Wed, Oct 24, 2007 at 10:50:21AM -0700, Sean Bruno wrote: >> I have a drive that contains two seperate bootable partitions(ad0s1a and >> ad0s2a). The boot device selection menu(boot0?) appears to only be able to >> support 9600 8N1. I wanted to run

Re: Serial speed for boot device selection prompt

2007-10-25 Thread Sean Bruno
If you want serial capability in boot0, you should set BOOT_COMCONSOLE_SPEED=115200 in your make.conf. After you do that, you'll need to rebuild the boot blocks. The procedure for doing that is step 4 of Section 24.6.5.2 in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbo

Re: Getting nonstandard serial baud rates w/FTDI

2007-10-25 Thread Bernd Walter
On Thu, Oct 25, 2007 at 08:52:48AM -0700, Brooks Talley wrote: > Thanks to everyone who applied. The OpenBSD approach to setting UFTDI baud > rates is definitely superior. > > However, the root of my problem turned out to be Python. Even with the new > baud rate hardcoded in the UFTDI kernel m