October 2003 Archives

Recovering Superblocks.

| | Comments (0) | TrackBacks (0)

The weekend started with a catastrophe. After the last crash of my workstation
the disklabel was messed up and it didn't wanted to boot.
I tried to reinstall FreeBSD on the / partition, but that did't help anything, fsck(8) threw out thousands of error messages and didn't reconstruct the disklabel.
Being clueless what to do, I first started with my other Computer maintenance.
I extended huckfinn's too small /var partition from 20MB to 500MB.
I exchanged the SCSI Controller for my CD Burner from the Dawicontrol UW Controller with a broken BIOS to a used Adaptec Controller that was built into Olga. Suprisingly the CD Burner was detected and I didn't had to deal with Jumpers, Termination and SCSI IDs.
Now I plugged the Dawicontrol Controller into the last-but-one PCI Slot of Sauna and connected it with a spare 6GB UW Seagate HD. Again i jumpered everything right and I installed FreeBSD over an old Windows partition that was on the drive. After reading the fsck_ffs(8) manpage I tried fsck with the -b 32 option and that went well. So only the primary superblock was damaged. Now I just had to find a way to recover the original one. That was difficult, since most postings on the FreeBSD mailinglist said that fsck will do that automagically. But my fsck didn't!
Since it was already late at night and I went to bed. After sleeping long and an extensive breakfast I tried some different search queries on Google.
And finally I found this thread.

dd if=<disk> skip=32 of=<disk> seek=16 bs=512 count=16
saved my life, everything is mountable again and most data was recovered.
Since I now have two disks in my workstation, I am going to share the diskload between the two drives and perhaps I should think about a better backup solution :-)

Winter!

| | Comments (0)

Normally I don't write about topics that are already mentioned in my favorite blogs, but today is an exception.
Yesterday evening when I went home I noticed that the rain feels quite snowy and today when I first looked out of the window everything is white and beautiful. Well at least when I look into the garden, the streets are brown and slushy.
I love the winter when i am wearing the appropriate clothing and the heating works.

New G4 iBooks

|

Apple announced new iBooks with a G4 Processor. Luckily I didn't order a G3 iBook last week like i intended, since the new ones are in the same price category and hopefully faster. The new iBooks will be shipped with the new hyped Panther Mac OS X.
I also noticed that finally the ASUS AMD64 Mainboards are available in Vienna, so I could also buy a new Workstation. But actual I don't have the time to setup 2 machines and to make the first steps with MacOS so i will have to wait some weeks....

I just noticed I missed two important dates:
Tuesday last week I completed my first year as a FreeBSD committer. It has been an impessing time. I spent a lot of time and learned a lot of stuff. Unfortunately at the moment I have to focus on university, so I doubt I can commit that much in the upcoming year...:-(
And yesterday I added my 40. blog entry. This is blog stuff is getting serious. I hope my english improves while writing the next 40 blog entries, so I don't have to look up that many words on LEO.

Everybody has it.

| | Comments (0) | TrackBacks (0)

Yeah I am a victim of group pressure. Because nearly every blog I am reading, has a GeoURL, I finally added the funky green button to this site.
Also I got my first Trackback URL, thanks Lauri. (No I still don't understand the concept)

Stefan Hetzl released a new version of steghide. I was surprised to find myself listed in the CREDITS file together with my favorite Algodat prof Petra Mutzel!!!1 :-).

Laptop woes

| | Comments (0) | TrackBacks (0)

Last week I dropped my Laptop from a table. Of course it fell on the WLAN card and the WLAN card nuked the PCMCIA Socket from the Mainboard. Luckily everything else still works. Now I can only communicate via the USB port.
So i bought an USB Ethernet adapter and an Wireless LAN adapter from Netgear. The Ethernet works with the FreeBSD axe(4) driver. To try Stuart Walshes atwi(4) driver with the WLAN adapter, I updated to CURRENT, which went suprisingly smooth. Unfortunately the Netgear MA111 doesn't contain an Atmel Chipset like the MA101, so it doesn't work. According to Google it uses a Intersil Prism chipset, so it should be possible to write a driver based on the wi(4) driver. Unfortunately I am bit short on time... (and lack any driver programming fu)

My gf got a new one!

| | Comments (0) | TrackBacks (0)

Yesterday after I bought food for the weekend with my gf, I went to the local Computershop. While looking at the Laptops my gf fell in Love with an Acer Aspire.
I have to admit I like riccardo too. 2 GHz are really darn fast. Installing FreeBSD on it was a lot of fun...
As usual the modem didn't work and additional X seems to require a CVS version. Someone please fix this bug, K THX :).

Although university did it's best to prevent me from doing FreeBSD stuff I managed to commit my 1000. commit to the FreeBSD ports tree. See Peter's commit statistics. The 1000. commit was kpictorial, a nice KDE game, which was written by a TU Vienna student that is taking the "Digital Design" course this term like me.

Mastering fdisk

| | Comments (0) | TrackBacks (0)

I just fixed my filesystem problems on polly. The partition table was corrupted,
ad0s1 was moved to ad0s4 and three zerosized partitions were created before.
I moved my partion back to the start and now everything is fine again.
Now I just have to fix my broken cups on sauna to print various university stuff

Lerchenfelder Strasse

| | Comments (0)

Last week the Subway station "Lerchenfelder Strasse" was closed. This improves the speed of the U2 so I will have to recalculate which is the fastest way to university.
The station was closed because it was only a few 100 meters to the next station "Volkstheater" and the stations are currently expanded for larger subways.
Also the rotation dock (Not sure if this is the right english word for "Wendeanlage") at the U2 subway station Karlsplatz is operational again. This should also improve the speed of the U2.

My main Workstation sauna crashed several times. Sometimes It just reboots, sometimes it hangs. There are several suspects. The Harddrive, because sometimes before it freezes, there are some messages, that the Harddisk timed out. The RAM, because it was the last piece that changed and the electrolytic capacitors, since i read an article in this weeks c't magazine and the symptoms look similar. I started debugging by removing 512MB of RAM.
After several commits from S�ren to the new ATA driver I rebuilt world on my CURRENT box polly. The Kernel now detected my Harddrives but paniced seconds later while loading the vlan-module. But during reboot there were again strange error messages from the ata subsystem and after the BIOS reinitialized, it didn't found the bootloader *grrrrrrr*. Today I have to look for floppies to reinstall the bootloader.

Blog Summary

|

University started, and I haven't added a single entry into my blog since last weekend. I will try to write several entries as a retrospect.
First a short summary what happened in my favorite blogs.
Rob asked, if blogs are just a annotated link list. Hm, My blog contains only a few links, which aren't bookmarks for myself, but to illustrate my entries.
So perhaps I should change this, since I never managed to keep a bookmark list, because I use too many computers(Work, Home, Laptop) and too many browsers (Opera, Konqueror and Firebird) => 9 Bookmarklists.
lauri wrote several entries and started to use categories. I am not sure If I will ever follow that direction, since I have no idea how to categorize my entries. BTW jule has a nice category called "Word of the day"..

Weekend!

| | Comments (0) | TrackBacks (0)

Spent this weekend upgrading all my machines to the latest patchlevels after
recent security problems:
sauna and annamirl are running 5.1-RELEASE-p10 now. huckfinn is running 4.9-RC. I tried updating polly last weekend, but because ATAng doesn't run on her, her CURRENT is still a month old.
While compiling I read some university stuff and I started reading Karl May books again, after my sister told me that quite a lot of them are available from ebay.