Search Results: "fh"

6 January 2006

Marco d'Itri: How the kernel firmware loader works

fEnIo learnt an important lesson about the kernel firmware loader: it (usually) does not work as expected for non-modular drivers. The reason is that the request_firmware() interface is synchronous. Since it's usually called in the initialisation section of drivers, the userspace firmware loader is not available yet if the calling driver is built-in in the kernel. The request_firmware_nowait() asynchronous interface was designed to replace it, but most drivers have not been ported yet. When a driver calls request_firmware(), a uevent is sent by the kernel to udev over a netlink(7) socket, requesting that a specific file is uploaded. udevd runs /lib/udev/firmware.agent, a simple shell script which will look for the $FIRMWARE file in a few directories and then copy it to the designated place in the driver $DEVPATH in sysfs. If the driver is initialised before userspace is started then the loader will not be available, and the request will fail. A possible solution is to run udev in the early userspace environment (initramfs), but just compiling the driver as a module is usually simpler.

3 January 2006

Marco d'Itri: fun with sysfs

Change on the fly the parameters of loaded modules: ls -l /sys/module/*/parameters/* grep ^-rw

27 December 2005

Matt Brown: Miredo/Toredo Patent Status

Miredo is an implementation of the Teredo - IPv6 over IPv4 tunnelling protocol which I have been playing with lately. I have filed an ITP bug to get Miredo into Debian, however this has been delayed while I try and get a handle on some of the patent issues surrounding the Teredo protocol. While Miredo itself is licensed under the GPLv2 the state of the Toredo protocol is less clear. Teredo was created by Christian Huitema, an architect with Microsoft. It is currently a Proposed Internet Standard waiting for the IETF editor to review it and assign an RFC number for it, IANA will then assign a permanent prefix for use by Teredo clients, servers and relays. According to the IETF IPR disclosure page, Microsoft has filed a statement of claim against the technologies described in the Proposed Standard. Microsoft states that they will provide a Royalty-Free, Reasonable and Non-Discriminatory License to All Implementers in their statement. Specifically the license that they offer the Teredo protocol under is called the Microsoft Royalty Free Protocol License Agreement. This is a catch-all license that Microsoft uses for all client-server protocols used by Windows. The license itself doesn’t make any claims about Microsoft’s IP rights, it simply gives you a license to use any rights Microsoft may have in the specific protocol you are using. For example at the end of the license agreement you select which protocols you wish to have covered under the agreement. Alongside Teredo you can also choose protocols such as IPv4, DNS, 6to4 and lots of other common protocols. The actual patent application for Teredo is incredibly difficult to find, the IETF IPR disclosoure doesn’t link to it, none of the proposed standards link to it and googling for “Teredo Patent Application” isn’t particularly successful either. In the end it turns out that the title is quirkily named “Allowing IPv4 clients to communicate over an IPv6 network when behind a network address translator with reduced server workload” and was published as Patent Application 20040190549 on the 30th September 2004. Incidentally if anyone knows of a nicer way to link to a US Patent Application than the ugly URL above, I would love to know. Half the reason that the Patent Application was hard to find is that it doesn’t actually mention Microsoft anywhere at all, unlike the ~5000 odd other Patent Applications currently filed by Microsoft. From what I can tell it appears that Christian Huitema has filed the application through is own personal attorneys independently of Microsoft. So where does this leave us in terms of getting Miredo into Debian? The short answer is I’m not entirely sure. I can’t seem to find a definitive statement regarding Debian’s position on patents anywhere, the best I’ve been able to come up with is a debian-legal post from Andrew Suffield from Jan 2005 which offhandedly describes the informal Debian patent policy as:
“ignore patents until somebody starts to wave them around, then drop the offending thing like a hot rock”
So maybe I’ve already shot Miredo in the foot, by investigating its Patent Status… :( My take on the situation seems to be that Debian is perfectly happy (and perhaps has no other option but) to ignore patents applicable to software in Debian until it becomes apparent that a particular patent is being enforced or has the potential to be enforced. So the question now becomes whether the Microsoft Royalty Free Patent License is acceptable enough to Debian to allow Miredo to be included in main or non-free, or whether it simply can’t be redistributed at all. The main problem I see with the license is that it does not permit you to sublicense other parties to make use of the Toredo technology used by Miredo. If this were a copyright license then that would most certainly fail to pass the Debian Free Software Guidelines, does Debian treat patents in the same manner? I think it’s time for me to post to debian-legal to seek some “official” guidance on the situation, but hopefully this post has ordered my thoughts enough that I can now write a coherent mail seeking help. If you have any comments or pointers to Debian statements on this sort of situation that I have missed they would be most welcome.

24 December 2005

Marco d'Itri: debian-legal watch: the PHP license

The usual suspects are now arguing that the name-change clause in the PHP license is not free. (I have been too much busy to blog for the last few months, but this was worth reporting...)

19 December 2005

Jacobo Tarrío Barreiro: Forecast

I can definitely see that, when Wesnoth 1.1 is out, it will cause a new decrease in productivity in Debian. Wesnoth and Sudoku combined! PS: Not really. Fhew! PPS: Other suggestions were: Frozen Wesnoth, Frozen Budoku, or worse: Wesnoth Budoku.

14 December 2005

Dirk Eddelbuettel: Quantian 0.7.9.1 released

A shiny new release of Quantian is now available! Release 0.7.9.1, available as a iso file of 2.5 gb, contains almost 7 gb of quantitative, numerical or scientific software. This release is the first one based on Knoppix 4.0.2 and features: Downloads are available from the Quantian site at the Fred Hutchinson Cancer Research Center in Seattle and at from Greg Warnes' machine at Yale. European mirrors should be in sync within a day or two, Bittorrent support via the Linux Mirror Project should also be available soon. Note that http transfers seem to be problematic due to the file size of over 2gb; rsync and bittorrent are probably a better approach. More information is as always available at the Quantian pages.

8 December 2005

Jaldhar Vyas: Freudian Slip?

Debian BOFH Or editorial comment?

16 November 2005

Brett Parker: Django Release!

Django has finally got a release! I'll be packaging it very shortly, once I sort out the few problems that I've got in the current packages that I've built. I might even finally get round to getting something useful working in it, I just haven't had time to rewrite my site yet to use django, I'm still using a (rather non-elegant) home grown set of scripts to apply my 'template' to my site, but I think that I can make it all a lot nicer using django, and much easier to update :) Django is really quite nice, but it does need some tweaks to fit in to the FHS better, which I'll do against this nice shiny new tar ball release shortly.

15 November 2005

Jonathan McDowell: No more hardware today, please.

So, today has been a day of hardware. Some good, some bad. First, the good. Take one Via EPIA-M motherboard, add a helping of LinuxBIOS and Etherboot and let simmer for a few hours on a low heat. Then add a sprinkling of Phil Hands' d-i preseeding for the final garnish. Tweak to suit your tastes and lo and behold. A neat little motherboard that does proper serial console, boots d-i over the network via tftp and does a completely automated Debian install. Of course, it's not quite that easy. LinuxBIOS requires a few out of tree patches that are still under discussion. The latest version of Etherboot (5.4.1) doesn't seem to work (lots of rubbish on the serial console and no boot), but the version that does (5.2.6) requires a backport of the latest via-rhine driver to avoid leaving the network card in a state that Linux isn't happy with. And Phil's documentation could do with some updating (which I should really email him about). Oh, and add to that the fact that numerous things seem to assume that there is a PC BIOS and that it will support standard interrupts. Yeah, like that's going to happen. Still, I seem to have almost got there and it's quite funky to watch it all happen automatically. Kudos to the d-i team for the ease with which you can preseed. Flush with success I moved on to the next challenge; scanning some forms before posting them off. Nice and easy, normally. If it weren't for the fact that the machine with the SCSI card for the scanner just happens to be the one I stole for the above, and that the new case it's in doesn't allow any PCI cards. Bah. So, find a spare machine, get it into a state where I can actually drive the scanner, scan away. Took far too long. I really need to get it hooked up to my main machine, but there isn't enough desk space to have it close enough for the cables I've got. Perhaps I should crack and buy a USB scanner. I don't really need high quality, just something as an alternative to photocopying. After that trial I've moved on to upgrading my PVR box; I got a new 320GB HD today to replace the 40GB that I'd been using - it was getting to annoying to have to either watch or syphon off various series that I'm recording. While I had the box open I decided to upgrade the motherboard to something that might support wake-on-lan, so this turned into a bigger job than it should have been. :( I'm currently waiting for the data to copy across before trying to stick it back together. Bah. Don't suppose anyone has an S370 P-III better than 667MHz and no better than 1GHz they want to part with cheaply? I'm currently running a Celeron 800MHz (which I think is a slight step up from the previous PIII-667), but a little more oompfh would help with streaming over the network. I'd just upgrade to something modern, but I suspect the extra cost of silent cooling would be a killer.

6 November 2005

Matthew Palmer: The Internet is Not What It Seems

James, while I understand your anger, it would seem as though Hetracil isn't a real product, and is just a (fairly elaborate and subtle) hoax. Resources:

31 October 2005

Meike Reichle: Linux-Info-Tag 2005

Yesterday I returned from Dresden where I attended the Linux-Info-Tag. All in all it was a really great weekend. The event was very well organised and I had a lot of fun. We shared a booth with debianforum.de and had a lot of visitors, ranging from people who had just started to consider switching to Linux to advanced users with detailed technical questions. As usual I also learned quite a lot of stuff myself, this time (among other things) that my digital camera (an IXUS II) works very nicely with gphoto2 and that there's also a lot of other graphical digital camera software that works with it.

We had two copies of Frank Ronneburg's Debian Anwenderhandbuch and I thought it would be a nice idea to give them away in a little contest. Alexander "Tolimar" Schmehl owns a little etch that I asked him to bring along. The idea was, that, in order to promote the name of the next release, people should draw us a picture on the little etch and the best one would win a copy of the book. I'd actually expected to see people fail miserably and in the end crown the funniest try. But I was confuted. Totally!! In fact we had two entries that were so good that we decided to split the first place and give both of them a copy of the book.
Here are (as promised) all contestants:


This entry was taken out of the rating. It was our first entry and was made by Carsten, who was one of the Debian booth people. Of course we know that he could have done much better and only produced this in order to not discourage other contestants.


The third place, personally I don't really agree with the motive but it won a lanyard anyway.


The second place, a rather obvious motive, but well done and a worthy second place. Another lanyard for this gentleman.


The two first place entries: We absolutely couldn't decide between the perfect curves of "Tux" and "A house with garden"'s 1000 little Details. So the first place was splitted and we gave a away both copies of the book.

Congratulations again to all contestants! Well done!

After deciding on the prices I had to hurry to give my talk on user friendly system administration. I had a nice number of people and I think the talk was well received. The (German) slides are now also available online. Please inform me of any usage.
One nice incident was, when after the talk a former system administrator of the Technical University of Dresden approached me and told me that he really liked the talk. He said that he was now retired and really missed talking to the users and helping them when they had trouble with the system. After hearing so many sysads talking about their users like complete idiots, that all seem on a personal quest to annoy their sysads as much as possible, this was a nice change. I sometimes think that the "BOFH-Syndrome" is also a generation problem. But that's a different story ...

After the talks there was a barbecue outside the building, I talked to a lot of people and had quite some fun. Afterwards there was a presentation and movies, a really nice ending for an almost perfect event. (The only problem was, that there had been no Internet access until around noon, but from what I heard it was one of the University's switches that had given up. Apart from that everything worked out perfectly.)

On Sunday we went on a guided tour through Dresden and afterwards to a museum. The museum actually is on Human Biology but there were two special exhibitions, one on evolution and one on games. As expected most of us went for the game exhibition that featured several rooms dedicated to the history of games as well as the different kinds of games that exist (imitation, strategy, gambling, ...). All rooms had games to try yourself and all of us had a lot of fun. (We're such a bunch of kids ;)) After leaving the museum we went for a Pizza (Very tasty! I think, I am developing a weakness for Pizza with Parma and rocket.), which concluded that day.

One last nice incident happened when I was riding home on the train with Tolimar. We asked the guy who'd checked our tickets for a later train connection. His answer: "Oh, did it get too late at the Linuxtag at the Technical University?". Unnecessary to mention that we were most thrilled! Often when talking to "normal people" I get the "what is this all for" feeling, since, how much ever you evangelise, there's such a mass of people who never even heard about the existence of FOSS/Linux. It's these little incidents that are really rewarding!!

Final conclusions:

26 October 2005

Andrew Pollock: [tech] New toys

We've been stocking up on gadgets for our upcoming trips. Camera Sarah's going to Singapore to catch up with some relatives and then joining me in the US a week or so later. As our digital camera is currently a 1 megapixel afterthought on our Sony DCR-PC100E Handycam of 5 and a bit years, we thought it high time we got something half-decent as a compact camera. I'm moderately keen on getting a digital SLR, and after using Mikal's Canon EOS 350D when we went to San Francisco for our Google interviews, wouldn't mind getting one of those down the track and doing a photography course. So we tossed up whether or not to get a compact now and an SLR later, or scrap the SLR, and get something in the middle like a Canon PowerShot S2 IS. We settled on getting a Nikon CoolPix 5900, partly because apparently all the PowerShots are stuck in Customs at the moment and there's none to be had in the country for love or money. iPaq and GPS There is no way I was going to drive in the US again without some form of satellite navigation in the car. There's just too much going on on the roads over there (not to mention driving on the other side of the road) to have to worry about how to get from A to B. We were just intending to buy a car that had satellite navigation when we got over there, and try our level best to get a hire car with one in the interim. Some friends were saying that we'd probably pay a lot more for a car with it as a built in option, than if we were to buy a handheld/portable GPS. Then Mikal bought a bluetooth GPS for his iPaq, and that convinced me to go that way as well. So I bought an iPaq hx2100, which interestingly seems to have just fallen off HP's website (it was there on the weekend), so it must be approaching obsolescence or something. Today I got the Destinator software with maps for the US, and some evaluation maps for Australia, and tonight Sarah and I went for a spin to try it out. It was pretty cool. One thing that could be better is the differentiation between the directions leading up to a turn and turn itself. For example, it says "Turn right in 300 metres" and then proceeds to count down (e.g. "Turn right in 100 metres". Then it just says "Turn right". It'd be more obvious if you didn't have to listen for whether it was "in x metres" or not and either tacked "now" on the start or end of the final direction. It was also cute how it called roundabouts "circles". Going straight through a typical roundabout was "Take the second exit on the circle". If you ignored directions at some point, it'd plot a new route to still get you to your destination. All in all, I'm pretty happy with that purchase. The bluetooth GPS unit itself is cool. I'm able to talk to it from our PowerBook under MacOS X as a bluetooth serial port, and I'm yet to try the same with Linux on my D610. Hopefully I'll be able to get it work with gpsdrive The one downside with getting an iPaq and running Pocket PC 2003 (or WinCE as I prefer to call it) is it's forcing me to spend more time in Windows on my laptop than I otherwise would, just so I can do syncs and stuff. Hopefully once I've got the iPaq all bedded down, that'll change...

25 October 2005

Axel Beckert: Back from Berlinux 2005

I was at Berlinux 2005 this weekend and though the very chaotic — because understaffed — organisation it was interesting and also funny. Thursday I arrived around 20:15 in Berlin, met Klaus Knopper and others at the train station, headed to Sven Guckes’ appartment for dropping all my luggage, then going back to meet with Klaus and the others for a theremin concert with Dorit Chrysler. No wonder that it sounded sometimes like one of my favourite musicians, Jean Michel Jarre, since — according to the Wikipedia theremin article — he also plays this instrument. On Friday I held my talk about WML in front of a — for that topic — surprisingly high number of auditors (around 30, maybe 35). In comparision to my WML talk at OscomTag 2005 all people who asked questions had understood about what the talk was, so the questions were most time interesting and justified. As usual I held the talk using Lynx with LSS support (picture by Sven Guckes) on my nine year old Pentium 1 ThinkPad bijou running Debian GNU/Linux 3.0 aka Woody. Before and after the talk I helped out at Werner Heuser’s xtops booth (another picture by Sven) and the booth of the Debian Project (yet another picture by Sven :-) directly beside Frank Ronneburg’s Debian powered model railway. (picture by you-know-who ;-) In the evening I was at the social event, hanging around with alphascorpii, Tolimar and Joey and being surprised that Joey studies biology — as I did as minor to computer science. On Saturday I was on alphascorpii’s talk about why being a BOFH is not funny, hung around at the same booths as the day before, fixed the X configuration on my laptop after hints on a unknown Debian booth visitor. Before the exhibition closed I heard a very interesting talk about web accessibility held by Sebastian who is blind himself. Although or maybe because I’m interested in that subject, the talk opened my eyes regarding two things: First Captchas are evil and Blind HTML tables aren’t as evil as all the priests of web accessibility are always preaching . They are easier than frames for blinds and seem to have only little disadvantages against a CSS based layout for blinds nowadays if used the right way. Oh, and btw. — nested tables are still evil. :-) Saturday evening I had dinner together with Stefan Gerdelbracht, Frank Hofmann, Klaus Knopper and Manfred Krejcik. Later Thomas Winde joined us. It was very interesting evening, especially talking with Klaus and Manfred. On Sunday, after having brunch with Stefan and Manfred, we met with Sven (who was our host at Berlin, thanks again!) and shortly after that, Stefan left for visiting some other friends in Berlin. Sven, Manfred and I visited C-Base where Sven stumbled over a sound editing seminar while Manfred was preparing his zipFM show for Monday which mainly consisted of an interview with Klaus. After that we headed to a small but fine birthday party of a friend of Sven and were back home around 2:30. My train left Monday morning at 8:56 and I was at home around 14:30. And on Friday I’ll go to Dresden for the Linux-Info-Tag by train just to go back to Berlin afterwards, where I meet my parents for a two week baltic sea holiday in Mecklenburg-Western Pomerania near Rügen. But due to the Systems fair at Munich and autumn holidays I have to stay at work this week. And yes, I wrote this and the other postings posted today offline, so they’re dated quite close together. :-)

Next.

Previous.