Monday, February 9, 2009

February 9th, 2009 - PowerBook G3 Massive Backup

Broadcast message from user@localhost
hi

Today I'm making a massive backup of all the Mac harddrive's content, this time the backup is made over the network using ssh dd bzip2 and a little shell script to poll dd about the read sectors

The compound command goes as follows
  • PowerBookG3 root # time dd if=/dev/hda bs=1K | bzip2 --verbose --compress --fast | ssh isamu@10.0.0.4 "time dd of=./MacintoshPowerBookG3-FullHDDBackup.dd.bz2"
And the little polling script
  • #!/bin/bash
  • while (kill -USR1 $1;) do (sleep 5) done;
The compound command is run on the target storage (in this case my Acer Aspire One) once it has a ssh connection with the source

The polling command is to be run on the source machine (the PowerBook)

Since it's a full drive backup it will take a while. Here are the partition details mac-fdisk throws.

PowerBookG3 ~ # mac-fdisk /dev/hda
/dev/hda
Command (? for help): p
/dev/hda
# type name length base ( size ) system
/dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
/dev/hda2 Apple_Driver43 Macintosh 54 @ 64 ( 27.0k) Driver 4.3
/dev/hda3 Apple_Driver43 Macintosh 74 @ 118 ( 37.0k) Driver 4.3
/dev/hda4 Apple_Driver_ATA Macintosh 54 @ 192 ( 27.0k) Unknown
/dev/hda5 Apple_Driver_ATA Macintosh 74 @ 246 ( 37.0k) Unknown
/dev/hda6 Apple_Driver_IOKit Macintosh 512 @ 320 (256.0k) Unknown
/dev/hda7 Apple_Patches Patch Partition 512 @ 832 (256.0k) Unknown
/dev/hda8 Apple_HFS untitled 14815232 @ 1344 ( 7.1G) HFS
/dev/hda9 Apple_Free Extra 24253504 @ 14816576 ( 11.6G) Free space

Block size=512, Number of Blocks=39070080
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 23, type=0x1
2: @ 118 for 36, type=0xffff
3: @ 192 for 21, type=0x701
4: @ 246 for 34, type=0xf8ff

Command (? for help): q


And here is the ressult of running the polling command (the only parameter it takes is the dd process id to send the USR1 signal to)
This obtains the input bytes processed by the first dd command.
  • ...
  • 1513013+0 records in
  • 1513012+0 records out
  • 1549324288 bytes (1.6GB) copied, 3305.86 s, 469kB/s.
  • ...

The speed is very slow, I compressed it before the network sending to eliminate the bottleneck caused by uncompressed dd streams traveling on the network. I expect the command to finish and I believe that's all for now (I'm pretty sleepy and it's 4:30AM, so I believe I should sleep a few hours... lol)

init 0

February 4th, 2009 - X-BOX Arrives

Broadcast message from user@localhost
hi

Today I arranged a meeting with my friend Emanuel because he is selling me his X-BOX, we met at the lab (LIDSOL) and after a little chatting (while the lab was being cleaned by Julio, the social service guys and myself) I got the xbox with its original cardboard box. I didn't had my TV card (see previous posts) so I had to wait until I get home to see if the xbox was working properly.

I got home at night and checked plugged the xbox to the TV card and I was a little surprised to see the xbox error code shown below



I'm saying "a litthe surprised" because Emanuel warned me about the xbox was lacking it's hard drive, after a little researching on the 05 error code, I found out this error is caused because a retail bios is expecing to find a locked harddrive and if it finds an unlocked drive, then the error is shown and the system halts.

As I read in some pages the locking procedure goes as follows
  1. Turn on the target xbox with it's default harddrive, this xbox must be modded in order to boot non-legit media (such as the Evolution-X CD).
  2. Once the Evolution-X dashboard is launched, ftp the xbox and backup all drives.
  3. Within the Evoution-X menu get the HDD key and save it as well.
  4. Once the HDD key has been saved, the new harddisk may be properly locked and installed into the target xbox.
  5. If everything goes well, the new HDD will be properly detected and the xbox will load normally.
But, it results I don't have the xbox HDD Key, thus I'm unable to properly ock the hdd to be recognized on the xbox. There was another proceess involving a xbox modchip with bios replacement, basically the second bios does allow the use of unlocked drives and If i wish I can lock the drive with the Evolution-X CD to make the retail bios boot normally.

I need a modchip for about a day! I see pointless buying a modchip I'm using just for one day (apart from being quite expensive on my country). Hope I can talke my xbox with a friend of a friend who may helpme with this locking thing, the process itself (apart from soldering the modchip) is quite simple. So no big deal with the correct tools (and technical background).

I hope to get the xbox up and running by the end of this month :)

init 0

Sunday, February 8, 2009

February 2nd 2009, Mac PowerBook G3 is here!

Broadcast message from user@localhost
hi

Today I received a Mac PowerBook G3 and now I finally can get my hands on a mac with no restrictions (Those guys on the MacStore keep an eye on you whenever you touch the mac, thus no big fun on there T_T).

The Mac Specifications are as follows

Macintosh PowerBook G3 Lombard/Bronze (NewWorld)
PowerPC G3 740 at 333.33 MHz
66.66 MHz System Bus

512 MB RAM
20GB Hard Disk (ATA)

I'm making a backup of the Mac's hard disk drive and hope I get a MacOS X 10.0 - 10.3 CD to restore the mac in case something happens (I'm keeping this safe since I haven't had a mac and I'm pretty much new to this non-x86 hardware world).

Sunday, February 1, 2009

February 1st, 2009 - Alternate way to get video+audio input from external source in Pinnacle card

Broadcast message from user@localhost
hi

As I didn't found a short term solution to add audio in composite or S-Video input I came up with a little hardware trick. As the previsous post said when selecting composite or S-Video input, the audio is grabbed from the last seen channel from antenna input, thus if I can only hear audio from a TV channel I can use my RF-Modulator between the external source and the Pinnacle card making all (audio+video from ext) appear in channel 3 or 4 on the TV (the modulator has a switch to select this)

The little modulator needs a 9V 100mA power source, it came with a power adapter wen I bought it a while ago. When no input from external source, the signal from the antenna is forwarded, but when a signal from external source is detected the device will modulate the input and send it to TV-OUT where the capture card waits for input in antenna source (pretty simple xD)

Here is a diagram explaining the connection:



Extra diagram if we need to connect mazimum 3 video sources (1 on RF, 1 on Composite and 1 on S-Video) to switch among them. We must remember again to have antenna input in channel 3 or 4 and if we supply audio from EXT-A (optional) it will remain independently of the selected video source.



I believe that's all for now, I played with the connections and saw the input quality by playing for a while (most all day ^_^ ), I Expect to get at least a recording of the gamecube booting GC-Linux Alpha Preview (http://www.gc-linux.org:80/wiki/Download#GameCube_Linux_Alpha) and if my screeenshots are good enough, uploading them to the gc-linux.org site

init 0

January 29th 2009 - Pinnacle PCTV Pro USB

Broadcast message from user@localhost
hi

Today I bought a Pinnacle PCTV Pro USB TV Capture Card to capture the output of the game consoles, since it has 3 inputs (Antenna, Composite and S-Video) 3 gameconsoles may fit into it :)

There is an issue with the audio, I'm working with 'tvtime' to see the TV

At the beginning by running the following
  • $ tvtime --device /dev/video0 --vbidevice /dev/vbi0 --input 0
I can watch TV but no luck with the audio, until I found these two sites which list similar problems and they solve it by running sox - the swiss army knife in audio tools.

The problem basically is the capture card comes with a sound card and the audio from the TV channels is dumped into this new card, since I'm using my primary card I expected all audio went through it, but it ressult it wasn't, so I had to use sox to have a "digital wire" (formally a pipe) connecting the output from the usb audio card with the input of the primary audio card.

the sox usage info was obtained from the following sources
http://ubuntuforums.org/showthread.php?t=622583
http://www.cyberciti.biz/tips/debian-ubuntu-linux-configure-pinnacle-pctv-tuner.html


My command to load tvtime and pipe te audio to the correct card is:
  • $ tvtime --device /dev/video0 --vbidevice /dev/vbi0 --input 0 & sleep 1 && sox --channels 2 -sw --rate 44200 --type ossdsp /dev/dsp1 --type ossdsp /dev/dsp
  • Load tvtime and sleep 1 second, after sleeping (double ampersand) launch sox

So far I have only seen the signal with audio comming from antenna input, even if I connect the RCA audio to the device via RCA-to-3.5mmPlug adapter doesn't make any difference, the sound input is grabbed from the last tunned channel on Antenna input.

I hope to get the audio working from Composite or S-Video input, else I'm just bypassing the sox part

I believe that's all for now

init 0

Wednesday, January 14, 2009

January 5th, 2009 - GameCube - Phantasy Star Online

Broadcast message from user@localhost
hi

Today I bought a Phantasy Star Online Episode 1 & 2 disc, this game is pretty rare and I got it cheaper, almost like any other used GC game. The disc is in good condition, some minor scratches, but it loads smooth and I played for some hours with it ^-^

I tested the PSOLoad method to run GC-Linux Alpha and it worked!. I had to set the ip address of my machine to static ip and the cube has it's own address, thus they need to be on the same segment
  • PC: 192.168.0.1
  • GC: 192.168.0.47
After a little reading on the page, I read the NBD and NFS versions of gcLinux may be edited to request an ip address through dhcp, so my logic pointed me to edit the zImage.dol replacing the following text
  • ip=192.168.0.47
with this
  • ip=dhcp
I padded with spaces (to respect the binary size), the booted the image with PSOLoad and... it worked !!!. I'm very exited to see it worked.

In both cases (static and dynamic ip) the gamecube was able to serve the webpage
And I made telnet connections to it (after i read the gclinux page and foud out of user and password)
  • telnet 22

December 31st 2008 - GameCube WiiKey SD Adapter

Broadcast message from user@localhost
hi

Today I got the WiiKey SD Adapter for gamecube, this device allows to connect a SD card to the gamecube memory card port this adapter is used with the SDLoad application to launch DOL executables to the GameCube

The GameCube Linux page has links to DOL files which can be uploaded using the SDLoad+SDAdapter method

I'll edit this post with photos soon

init 0

December 30th 2008 - GameCube Broadband Adapter (GC-BBA)

Broadcast message from user@localhost
hi

Today I received a couple of GameCube Broadband Adapters, they are very rare to obtain (and a little too expensive for a 10/100 Mbps ethernet adapter).

One of them is detected in the gamecube but I'm unable to connect with it. The other works fine

There is a DOL-Loading method called PSOLoad, with this method we send a DOL file to a game called Phantasy Star Online which uses the BBA to play online. As far as I know this is the only "online-playable" game for the GameCube

The BBA also serves to rip games, but I'm not focused in that, since I only play one game (Phantasy Star Online, I hope to get it soon ^-^)

init 0

November 29th 2008 - XenoGC up and running on GameCube

Broadcast message from user@localhost
hi

Today my friend Ricardo soldered the XenoGC chip I bought some days ago.

The chip works great. I have only tested it with a game backup yet, but I intend to use it to boot custom made GNU/Linux miniDVDs

I post below some photos of the chip soldered and the nice lights it has to indicate operation mode.

The guide used to chip soldering


The chip is soldered on cube DVD board, it's final location is here

Red Light = The chip is patching the drive's firmware

Green Light = The chip has done it's job

I'll post some photos later

init 0