PhatHack

The Hacking Hoedown => PhatBox Hacking => Topic started by: dafamous12 on September 01, 2005, 08:47:44 am

Title: At my wits end!Someone please help!!
Post by: dafamous12 on September 01, 2005, 08:47:44 am
The manual method still requires using the boot disk and my problem is my machines freezes when I put the dms into the cradle.Let me start over and explain. I can boot to the disk and after the startup script it goes to the main screen. At the bottom before I insert the dms in green letters is "at input device keyboard ".Sorry I will run it again to get it all on what it says.Anyway when I insert the dms it will lock up and I have hold the power button to do a hard restart. If anyone has any clues to what is going on I will be very interested to hear from you. Also, my machine is a toshiba a65-s126 2.8ghz celeron.
Title: Re: At my wits end!Someone please help!!
Post by: skew on September 01, 2005, 08:57:05 am
use this disk insted http://unix.phatnoise.com/bootdisk.php But if your computer won't work on the hack cd chances are it won't work on the phatnoise cd but give it a shot anyway. If it doesn't work then you will have to try a different computer.
Title: Re:use this disk insted http://unix.phatnoise.com/
Post by: dafamous12 on September 01, 2005, 09:14:02 am
I'm making the cd as we speak. Also here is the full text in green on the startup screen "input: At Translated Set 2 Keyboard on isa0060/serio0.
Title: Re:use this disk insted http://unix.phatnoise.com/
Post by: dafamous12 on September 01, 2005, 09:34:01 am
Nope, machines still freezes when I insert the dms into cradle.I really about to cry!! I don't have access to another machine.I'm a long haul trucker from Ft Worth,Tx and I'm in Oregon at the moment.Can you think of any reason it freezes when I insert the dms?? :-[ ???
Title: Re: At my wits end!Someone please help!!
Post by: judb on September 01, 2005, 01:01:24 pm
See if there is a bios update for your laptop... perhaps theres something weird with the USB support for that laptop that is causing both discs to freeze your computer.
Title: Re: At my wits end!Someone please help!!
Post by: skew on September 01, 2005, 03:33:30 pm
If you can not use another computer then you may try picking up a cheap  pccard
to usb card and use the pcmica bus insted of your laptops bus
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 01, 2005, 05:56:09 pm
Ok, got on another machine everything goes fine until it gets to backing up physys then I get scsi error <0 0 0 0> return code = 0x06000000. What now?!?!?!?!!?!?!??
Title: Re: At my wits end!Someone please help!!
Post by: judb on September 01, 2005, 06:22:32 pm
I suggest running a scandisk / chkdsk on the phtsys and phtdta partitions in windows.  sounds like a drive / filesystem error
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 01, 2005, 06:31:13 pm
what scan disk program do you suggest?
Title: Re: At my wits end!Someone please help!!
Post by: judb on September 01, 2005, 07:39:02 pm
chkdsk (command line program)

chkdsk Z: /f

where z: is your phtsys and pthdata drives.. you'll need to run it twice, one time for each drive.
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 01, 2005, 09:29:07 pm
Ok,I did the manual patch because I was ready to pull my hair out and since I shave my head that would prove fruitless. How will I know if the patch took? I did not see a bootload.log file in either sys or data
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 01, 2005, 10:08:18 pm
I saw this in one of the log files called patch.log
"backing up drive signature
backing up drive signature
backing up drive signature
backing up drive signature
2048+0 records in
2048+0 records out
backup drive sig complete
starting patch
/dos/backup/patch.sh: 8: Syntax error: Bad fd number"

And I saw this in phatpatch.log "PhatPatch v0.2 -bushing
first 2 words of flash=c102 0025
writing auto-id command (AA, 55, 90)
Flash chip reports manufacturer id=0020, device id=0057
Resetting flash.
Testing patch locations:
Patch 1 @ 0bb8: make drive signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0033 1a00    Actual: 0000 1a00
Mismatch!
Verifying:
Patch 1 @ 0bb8: make drive signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0000 1a00
Verified!

Also saw one that said error.log "CORRUPT_FILE: /dev/null"


So what does it all mean??? ???
Title: Re: At my wits end!Someone please help!!
Post by: judb on September 01, 2005, 10:14:26 pm
can you post the full contents of each log between [ code ] and [ / code ]

Just remove the spaces from that..

it should make the post look
Code: [Select]

like this
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 01, 2005, 10:31:17 pm
This was in patch.log
Code: [Select]
backing up drive signature
backing up drive signature
backing up drive signature
backing up drive signature
2048+0 records in
2048+0 records out
backup drive sig complete
starting patch
/dos/backup/patch.sh: 8: Syntax error: Bad fd number

This was in error.log
Code: [Select]
CORRUPT_FILE: /dev/null

And this was in phatpach.log
Code: [Select]
PhatPatch v0.2 -bushing
first 2 words of flash=c102 0025
writing auto-id command (AA, 55, 90)
Flash chip reports manufacturer id=0020, device id=0057
Resetting flash.
Testing patch locations:
Patch 1 @ 0bb8: make drive signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0033 1a00    Actual: 0000 1a00
Mismatch!
Verifying:
Patch 1 @ 0bb8: make drive signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0000 1a00
Verified!
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 02, 2005, 01:57:29 am
can anybody tell me based on the logs above if my box was patch? ???
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 02, 2005, 04:00:36 pm
Ok,found out the patch was successful ::). Now I'm stuck on dd for windows.Can someone take me through it step by step.I would do it with the cd but my laptop is being a jerk about it. ;)
Title: Re: At my wits end!Someone please help!!
Post by: judb on September 02, 2005, 11:28:34 pm
Did you download dd yet?

extract the dd.exe to c:\

Do you know the physical drive number for the DMS?

Run Disk Administrator (start menu - run - c:\windows\system32\diskmgmt.msc )

Find the drive that has the phtsys and phtdta on it, and note the drive number listed on the left hand side..  it is important to use this number when running the DD command so you don't screw up your PC.

Do you see a file in phtsys in the backup folder called drive-sig-1mb.bin ?  Copy that file to your c:\ directory as well.

Eject your old DMS.. Put in the new drive in the DMS case and place the new DMS back in the cradle.

run command prompt (start menu - run - cmd.exe)

Type this command but replace the X at the end of physicaldriveX with the number you found in Disk Managment. VERY IMPORTANT TO GET THIS RIGHT!!!
(typing in the wrong disk number could crash / ruin data on other drives so BE CAREFUL AND BE SURE)

dd if=c:\drive-sig-1mb.bin of=\\.\physicaldriveX bs=512 count=2048

Eject the DMS after doing this.. You'll have to reboot and use the format utilty to repartition the DMS and reformat it (this is the NEW DMS) but it should now work great in any phatbox that has been patched.

If you cannot get the Phatnoise version of the Boot CD or our version of the Boot CD to work, I am quite sorry but you are foobared.. theres no real way I can tell you how to simply reparition and reformat the DMS in any other OS than by using one of those bootable CD roms.

I might suggest if you still have issues with the boot cds that you download vmware from www.vmware.com as an evaluation, install it.. configure a guest OS of linux with a 256 meg hard drive on it (this is a fake drive that is really a file on your hard drive not another hard disk for real) and then you can redirect your USB cradle and CD drive into the vmware machine and try using it to get around any usb issues you may be having.
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 02, 2005, 11:56:08 pm
how do I get the command line prompt to just say c: . Mine says
Code: [Select]
c:\doucments and settings\dafamous12\desktop
Title: Re: At my wits end!Someone please help!!
Post by: judb on September 02, 2005, 11:57:13 pm
type
cd \
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 03, 2005, 12:01:19 am
I'm getting an error code
Code: [Select]
Error opening output file: 2 The system cannot find the file specified
Title: Re: At my wits end!Someone please help!!
Post by: judb on September 03, 2005, 02:12:56 am
please paste the exact command you are using when you get that error
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 03, 2005, 02:21:24 am
It is as follows
Code: [Select]
C:\>dd if=c:\drive-sig-1mb.bin of=\\.\physicaldrivee bs=512 count=2048
Title: Re: At my wits end!Someone please help!!
Post by: judb on September 03, 2005, 02:53:07 am
\\.\PHYSICALDRIVE#  it should have a number at the end that you got from the disk managment window as my instructions indicated.  the letter E does not work for this purpose.

Try that out.
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 03, 2005, 12:35:45 pm
Success!!!!!!! Can u talk me through vmware so I can get up and running? If not,Thank You for getting me this far!! ::)
Title: Re: At my wits end!Someone please help!!
Post by: judb on September 03, 2005, 03:25:21 pm
Well its really quite simple.

Set up the Virtual Machine, it uses a wizard for that when you launch VMWare the first time.

Select RedHat or some other Linux, it doesnt matter which one really.

When it asks you about how much memory to use, pick at least 64 megs, but I would suggest 128 to be safe for anyone else who wants to use the phathack CD and may read this.

When it asks you to pick a hard drive size it will default to 4 gigs, you can change it to 256 megs or less..  this file is not really going to be used but I've had trouble booting vmware without it on older versions.

Just select the defaults for everything else.

Now, once the wizard is completed.. you'll need to put the CD into your CD rom drive.. and put the DMS into the cradle..  But you need to unmount the DMS drives from windows without removing the DMS from the cradle... You don't use PMM to do this, use the Green Arrow icon in the system tray to eject it.

Then what you do is power up the Virtual Machine.. while its booting up select from the tool bar VM dropdown..  I don't recall the exact name of the dropdown but you'll see what I mean.  (when I say drop down, I mean something like the "File" or "Edit" menu options on most any windows app..)
Select from the list of that drop down "Removeable Devices" then from the sub list "USB Devices" and you should see a device in there like "Standard Microsystems Device" I think, thats what my USB 2.0 cradle looks like.  Select that one and it should allow that device to be seen in the virtual machine.

Once it boots up you should be good to go.  
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 03, 2005, 04:17:15 pm
I did everything you told me to do.Device was found and reconized,but still nothing happens.
Title: Re: At my wits end!Someone please help!!
Post by: admin on September 03, 2005, 04:41:13 pm
Be more clear about "nothing happens."  Once it's recognized, what are you trying to do/expecting to happen that isn't working?  
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 03, 2005, 04:46:51 pm
I got a screen shot,how do I get in?
Title: Re: At my wits end!Someone please help!!
Post by: admin on September 03, 2005, 06:01:06 pm
I don't host images here - it would use up too much bandwidth too quickly.  

You can host it somewhere else and link to it though.
Title: Re: At my wits end!Someone please help!!
Post by: judb on September 03, 2005, 07:56:17 pm
imageshack.us would be a good hosting spot..
Title: Re: At my wits end!Someone please help!!
Post by: dafamous12 on September 03, 2005, 11:30:11 pm
[glb]THANK YOU,THANK YOU,THANK YOU!!!!![/glb] I am now up and running. :o I had to find a desktop so I could run the dms reformat. Toshiba laptops are not suitable to run Linux programs.Once again,thank you to judb,Paul,and skew for being patience with me and walking a n00b through this.

P.S. Paul,What we discussed is on its way!!! ;D