January 2006


Well this site has gotten quite a few visit since my discovery of the music protection hole on purevolume.com. (~800 visits).

Well, I’ve been doing a lot of work on the new web site for osdever.net and I must say it’s coming alone quite well. Check out the demo and leave me a message on the forums while you’re still there.

I still have a few things left to do on the forums. I’m having problems integrating GeSHi syntax highlighter and the bbcode system because when you go to nl2br() the post’s message, you’ll get double spaced code from GeSHI. This is because GeSHI specifically adds the \n’s to the code it generates so the source looks alright. So I have a hack in there to make it work right now, but that keeps us from adding \n into the code, as it becomes just “n.”

I have also begun working on JayantHTTP as of yesterday. It seems pretty portable right now, so hopefully I can get it on *nix and windows. Granted i’ts no all that far, but hopefully we’ll be sending out pages within the next few days.

I am also currently moving to FreeBSD as my main OS on my laptop, so this may not get updated for a while because if you’ve seen some of my other posts, it takes quite a few hours to get a desktop enviroment setup on it.

Bye for now.

I was browsing purevolume.com and listening to albums with their flash music player. It got me wondering, does it stream the music or download to my computer? So I checked /tmp and found that they were in /tmp/plugtmp. Sure enough it downloads them in a hashed file without an extension or id3 tags. This works on the songs they don’t even allow you to download. I do not know if this does the same on windows or not.

Here is how I discovered this:

  1. Listened to the full song
  2. Wondered what I said above
  3. Checked /tmp/plugtmp
  4. Opened the hashed files in mplayer

NOTE: I do not take responsibility for anything you do or get in trouble for using this method of obtaining music. I fully support buying music but decided it would be good to get this out there so a good site doesn’t get sued by the RIAA.

I’ve just spent a good two to three hours of my time screwing with the Apache 2.0.54 Ubuntu Linux package, just to get mod_rewrite to work properly. So if you have an Error 500 when adding “RewriteEngine On” to your .htaccess, this is the fix for you.

  1. cd /etc/apache2
  2. sudo nano apache2.conf
  3. Add Options +FollowSymLinks
  4. sudo /etc/init.d/apache2 force-restart

and you should be up and running. Hope that assists you people out there. I know I spent too much time on that. :)

This week was… How should I put it? Interesting. I had four hours of homework for two days straight. One thing that really amazed me though was that on Monday, I discovered that this site (and my others) had made about $12 off of ads. As of yesterday I had made $10 more. :D That made me really happy. I then discovered that this site has a Google PageRank of 4 when you use the domain http://codymays.net without the “www.”

Last night I went to a party and played extreme street ping pong. Basically it was a basement wide hit-each-other-as-hard-as-you-can-with-ball battle. :)

Today I spent a lot of time working on my OS. Desktop from #IllusionOS helped me find my bochs bug. It turns out that, during a late-night coding session, sleep deprivation had caused me to type “return;” instead of “break;.” This caused the interrupt from the PIT to never get acknowledged, disabling interrupts. Chances are this may be a bochs bug, because it actually worked on real hardware, but I’m very happy that it works.

I also added some very primitive SMP support. As of right now, it can detect all of the SMP related data, but it can’t do anything with it yet. Once I start multi-tasking tomorrow, I should be able to start adding support for scheduling to these CPUs. You can see a screenshot of this achievement here. I’m hoping that by the end of the day tomorrow I’ll have a basic multi-tasking operating system. I would really like to be in userland by then, but it’s not a requirement.

I will also be updating the Server Rack project stuff soon. The router is basically done, but I can’t decide to stick with m0n0wall, or go with pfSense. A few more nights to sleep on it should hopefully do. :)

Well…off to bed.

Last night, I decided I was going to finish up my rewrite of the entire gdt and interrupt system of my OS. I did and backported it to the kernel (I created a new kernel to write it on). That is why I didn’t update for a few days. There are still a few issues with it, like the interrupt system dieing in bochs, but it works in qemu, vmware, and on a real PC.

Prerelease source: http://codymays.net/~cody/IllusionOS_prerelease.tar.gz
Floppy Image: http://codymays.net/~cody/IllusionOS.img

Compile directions:
Change to the directory you downloaded the tarball to and do the following.

user@host$ tar xvf ./IllusionOS_prerelease.tar.gz
user@host$ cd trunk2
user@host$ ./build.sh

After that is done, you may book kernel.sys with your own grub image, or use the image from above, and replace kernel.sys with your new one.
Note: You will need the ncurses headers to compile the OS. I use a menuconfig system.

Next Page »