norbert's weblog

norbert's random stuffs...

Internet is for Porn!

Posted by Norbert on Fri Dec 30 21:11 PHT 2005
From the "misc. - why you think the net was born?" section

Yesterday, I was at the Tricom Systems office when Keech showed me a video of World of Warcraft's version of "The Internet Is For Porn". The song is from the puppet musical group, Avenue Q. Here's the link:

http://video.google.com/videoplay?docid=5430343841227974645

By the way, here's an ogg vorbis file of the song. Enjoy!

NetBSD 3.0 released!

Posted by Norbert on Sat Dec 24 15:23 PHT 2005
From the "of course, it runs netbsd!" section

NetBSD 3.0 has been released! This is the 11th major release of NetBSD. This release includes many new features and enhancements, like the inclusion of the OpenBSD pf in the base system. For more information, see the release announcement.

A New Job

Posted by Norbert on Tue Dec 20 23:02 PHT 2005
From the "misc. blah blah" section

Starting January 2, 2006, I'll be working at Tricom Systems, Inc. as a systems administrator. A new job and a new challenge! However, I'll still be maintaining FEU-NRMF servers on my free time.

PhilBSD Gathering

Posted by Norbert on Thu Dec 15 23:57 PHT 2005
From the "events to attend" section

The Philippine BSD Group will have a gathering this coming Friday, December 16, 2005 at Starbucks, Pacific Star, Makati Ave, corner Buendia, Makati City

See you there!

rthreads in OpenBSD

Posted by Norbert on Sun Dec 4 05:02 PHT 2005
From the "they called it bsd, and open because its always free!" section

Ted Unangst recently commited the rthreads code in the OpenBSD-current tree as a replacement for the current userland thread library, libpthread. Here's the email of Ted to tech@:

i just committed the current rthreads code.  this is a replacement for the 
current userland thread library, libpthread.  the kernel is made thread 
aware and some syscalls are added to facilitate the userland library.

most of the kernel code is currently only enabled if you add RTHREADS to 
the config file.  it will probably remain this while for some time.

the userland library implements a subset of the pthreads API.  it is 
binary compatible, so it is possible to switch to it on the fly.  
currently, only i386 and amd64 are supported.  to add support for a new 
arch, copy _atomic_lock from libpthread and write rfork_thread.

the new syscalls need to be stubbed into libc, there is a diff at the 
end of this email.

there is still a lot of work to do.  signals are hard.  there are 
functions missing from the library.  but some quirks aside, i have 
been using this code since may without incident.

quite a few more details about how everything fits together can be found 
in the paper linked from events.html.

Index: Makefile.inc
===================================================================
RCS file: /cvs/src/lib/libc/sys/Makefile.inc,v
retrieving revision 1.75
diff -u -r1.75 Makefile.inc
--- Makefile.inc        2005/11/29 21:29:15        1.75
+++ Makefile.inc        2005/12/03 18:26:10
@@ -57,7 +57,8 @@
         sigaltstack.o socket.o socketpair.o stat.o statfs.o swapctl.o \
         symlink.o sync.o sysarch.o umask.o unlink.o unmount.o \
         utimes.o vadvise.o wait4.o write.o writev.o xfspioctl.o __semctl.o \
-        __syscall.o __sysctl.o
+        __syscall.o __sysctl.o sched_yield.o getthrid.o thrsleep.o thrwakeup.o \
+        threxit.o thrsigdivert.o
 
 GASM=        ${ASM:.o=.go}
 PASM=        ${ASM:.o=.po}
At last, a step towards kernel threads in OpenBSD.


The contents of this weblog are presented without warranty of any kind. This server is powered by Apache and OpenBSD.