Monday March 12, 2007
Casper Dik's WeblogCasper Dik's Weblog
OGP election NLOSUG: 26/10/2006 Dutch OpenSolaris User Group First Meeting The Dutch OpenSolaris User Group will have a meeting at the Sun offices in Amersfoort at Oktober 26, 2006. For program and registration see the website. (2006-10-19 04:20:42.0) Permalink Comments [1]
Updated drivers: but only at www.opensolaris.org I've updated the powernow driver because of a serious incompatibility with the upcoming SOlaris build 32. I've created a small update to acpidrv which lets you specify automatic shutdown parameters when your battery runs low. As usual, it can be found here. (2005-10-25 06:29:16.0) Permalink Comments [2] OpenSolaris User Group Meeting, Amsterdam, October 18th I've arranged for an OpenSolaris User Group BOF at Euro OSCon in Amsterdam. While the primary focus would be to get a Dutch/Benelux OpenSolaris User Group in the air. 7.30pm (19:30 for those of you who can tell time properly :-) in the Krasnapolsky Hotel in Amsterdam I have a suitcase full of SWAG so come and get some. Information over the BOFs and the conference can be found here (2005-10-10 12:24:57.0) Permalink Comments [0] As promised, the OpenSolaris laptop community went live somewhere in the last few days. The first wireless driver is available (Supporting some Atheros MiniPCI and cardbus cards; but Cardbus support will have to wait until the Solaris cardbus driver is released) Watch that space for further announcement of exciting drivers which will make your laptop much more usable. Oh, I've finally refreshed the powernow driver to be a bit more lenient with broken BIOSes and initial CPU configs which are a bit off. (2005-10-10 04:39:42.0) Permalink Comments [2] Laptops After advancing the state of Solaris on the Ferrari 3400 with frkit, someone suggested that I should one of all new laptops we at Sun may decide to standardize on. That's how it came to be that I now have both a Ferrari 3400 and a Ferrari 4000. But today in the mail, I got a message telling me of yet another laptop heading my way. This time a lightweight Fujitsu s2110, again a AMD64 based laptop, as those are the ones we like best. Perhaps should I make a plot of laptops I got and when and then see if I can estimate the curve; I think I got one in '96, one in 2000, another one in dec 2004 and then again 6 months later and yet again 3 months later; with this accelerating pace it'd be one a day at christmas and one per hour early next year. Hm, perhaps not likely. Solaris keeps on improving rapidly when it comes to device support; and while in the laptop space things appear to be moving forward very rapidly, there also appears to be some gravitating toward common chipsets. Graphics are often an issue but the fact that the Ferrari 4000 comes with a ATI X700 has the consequence that the updating of the Xorg ati driver is done much more quickly than before. The Ferrari 3400 is relatively well supported in S10, though I think you really need my powernow driver and even then it still runs fairly hot to the touch. The Ferrari 4000 requires some external drivers, but then, so does most bleeding hardware, regardless of OS. For the Ferrari 4000, you'll need to download the ethernet driver "bcme" from broadcom.com and we're working hard on getting OSS sound to work nicely on it. The 4000 runs much cooler than the 3400, but the downside is that it always has its fan blowing, albeit quitely. Probably because of a device enumeration bug, the firewire does not yet work. The SD card reader is a special device and we do not support it, unfortunately. Of course, we're working on getting our broadcom ethernet driver "bge" and the one by broadcom "bcme" to be merged and shipped as a single driver. Cardbus support is coming for all laptops, as the cardbus interface is properly standardized and they all work more or less the same. I haven't gotten the Fujitsu yet, so I can't tell how well that will run and/or whether tweaking is necessary. I don't like to recommend any particular brand or kind of laptop; one recommendation which I can make is this: run Solaris Express on it. It will get all the laptop features you may want much sooner. Such features include new drivers, Xorg support for new hardware, ACPI support, newboot, bug fixes (in some cases the difference between a device working and not working is just a small fix in an existing driver). S10 was a huge leap forward and brought Solaris for x86/x64 to a point where it again runs on lots of (server) hardware. In Solaris Express, there is much more room for desktop/laptop innovation. We now ship several different x64 desktop platforms, so the x64 desktop/laptop space has much more visibility inside Sun. If you want performant OpenGL, the only choice you have now is buying a laptop with an nVidia graphics chip and installing the nVidia "closed source" driver. On the wireless front, things are moving but slowly, but more soon here. So watch this space. Bluetooth is still a barren landscape when it comes to Solaris; I can't use the bluetooth rodent that came with the Ferrari 4000 (I'm saying rodent because it's quite a bit bigger than a mouse) Note: I've just started the laptop-discuss list at opensolaris.org (2005-09-22 13:50:54.0) Permalink Comments [9] First Installment (of frkit) I've teased people before about the nifty hacks I've been doing for my Ferrari 3400 laptop. The hacks I did and the tool I wrote to make the distribution easier were so well liked that there was this "meme" propagating that whenever we got even cooler laptops, I should get the first one. And so it happened, I literally got the first Ferrari 4000 shipped to Sun. Now, this is a whole different beast than the Ferrari 3400 and I haven't yet gotten quite to the same comfort level yet. I've long promised to make all of the neat stuff available, but legalities are the difficult part of such a venture. But now with OpenSolaris and a supported license scheme (plus management buy-in), I now feel comfortable to release the stuff which I wrote or was derived from source now available under the CDDL) The first installment includes my single CPU "PowerNow!(tm)" driver and my battery driver and utility. What the heck, let's throw in the mdb scripts which enable the additional keys on the Acer keyboards (mail, www, P1, P2, audio control). Some of these appear standard controls and may work for internet keyboards as well. The tar.gz files all come with an install script which will take care of all the details of the installation; the battery driver requires ACPICA; that is only included in Solaris Nevada (11) build 14 and later. I'll see what I can do about the GNOME battery utility we've done as well; oh, sorry for the somewhat lacking documentation. Update: I've added acpipowertool, a small graphic battery meter by Matt Simmons, and fixed some installation issues for root user's without "nm" in $PATH. Update2: (2005/7/31) Ive upgraded powernow so it works for more systems and to better integrate powernowadm with SMF; apcidrv is also updated to do a little bit more of thermal zone handling. acpidrv only works for Solaris express build 14 and later; powernow should work with Solaris 10 GA also.
Update3: frkit is for some time now available as runnable script at www.opensolaris.org in the (2005-06-28 08:26:54.0) Permalink Comments [25] Peter Harvey's story reminds me of the unforeseen consequences of creating the ucred in Solaris 10. The ucred was motivated by two factors: the introduction of privileges and a way to propagate information about process credentials through the system in userland. Before Solaris 10, we had several mechanisms, some internal, some public, all propagating a subset of that information. in sys/door.h:
in sys/tl.h:
in rpc/svc.h:
and in the project I missed this one in sys/stropts.h:
There was also the need to be able to enquire about other processes and perhaps network connections and packets; a getpeereid interface was requested. Now, what information should such an interface return? Network interfaces often only allow you to shape requests as a blob of bytes. And that blob needs to have a predictable maximum size too. As you can see from the above examples, even declaring a number of filler elements is not sufficient; none of the above structures which include a filler have space for the full complement of 16 groups, let alone Pete's proposed 65536 maximum number of groups. The most natural way of implementing a blob which such restrictions is using an opaque data structure with accessor functions (in <ucred.h>):
The ucred_t itself is defined in sys/ucred.h,
a header which isn't installed on the system because programs are not supposed to use it; it is a private interface between
the kernel and the library. By now you may be asking yourself where you get creds; well, here are some examples in the OpenSolaris source code: nscd getting a door cred, rpcbind getting an rpc caller credential and the use of the TL option by RPC. And your typical use of the function in an inetd started daemon:
And a slightly bigger example where we use XPG4 recvmsg to receive a UCRED control messages:
But thinking back of Pete's problem, we see a problem when increasing max groups, even worse, this libnsl private datastructure is abused and multiple copies exist which need to be kept in sync (so parts of the system broke when I changed it in this one place). The bug is an illustration why cut & paste programming doesn't work and why even when you share a private defintion, you must use a proper header file. I filed the bug as soon as I did the quick fix for the Solaris Express respin, the bug is 4994017. Technorati Tag: OpenSolaris Technorati Tag: Solaris (2005-06-14 08:11:18.0) Permalink Comments [0]
Southpark Stdio I guess we all have to do this now, so here's my self-portrait.
After pointing my kids to this, they and their friends spend a whole afternoon creating images of themselves, their mothers and fathers. Well, I preempted them and did myself before they had a chance.
Open Solaris Release Date Set Well, the Open Solaris "vaporware" release date is now set; and as the end of Q2 draws near this should be no surprise. It's only a few days after my dad's 73rd birthday, so I have two things to celebrate that week. (2005-05-07 06:03:59.0) Permalink Comments [6]
The End of Realmode Boot I've already mentioned two great new features in our current development release; ACPICA and USB hotplug.
Netherlands/Benelux OpenSolaris/Solaris Usergroup A few of our customers approached me to start a Solaris user group in the Netherlands (or perhaps a somewhat larger area)
Yet Another Desktop/Laptop Usability Step "Solaris Nevada" build 14 is proving to be another quantum leap for Solaris desktop usability.
Solaris FAQ Updated For the first time in many years (2.5 years) I've updated the Solaris FAQ |
Calendar
RSS Feeds
All /General /OpenSolaris /Solaris SearchLinks
NavigationReferersToday's Page Hits: 69 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||