Amiga.org

Operating System Specific Discussions => AROS Research Operating System => Topic started by: that_punk_guy on November 23, 2003, 07:53:48 PM

Title: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 23, 2003, 07:53:48 PM
I used to be able to boot AROS from a CD on this P3-550 machine... Tried it as soon as I got the machine, and all that I've done since then is install QNX, BeOS and Mandrake Linux on it, along with Smart Boot Manager.

AROS starts booting but keeps tripping up and starting again. I get the 'Interrupts redirected, reallocating ExecBase, clearing fastmem... OK' followed by a bunch of stuff that I don't get much chance to see... IDE unit info, Floppy detected as a 1.44MB drive, then a few lines that start with 'Kbd'. That's as far as it gets - sometimes you can just see an error flash up (a guru, sometimes something about CPU defend (??) or garbage.)

Since each attempt at booting seems to get just past the stage of keyboard initialisation (I can type stuff and get what looks like debug info on keypresses echoed back for a split second) I started to wonder if it was my dodgy KVM or keyboard, so I removed the KVM and plugged my old monitor in, tried with two different keyboards, but with the same results.

Is it possible that my strange HD partition table could be to blame? (Sort of a mess, a QNX partition, two BeOS partitions, Mandrake in an extended partition, Smart Boot Manager in the MBR, which retained Mandrake's LILO MBR installation somewhere... it works, wherever it is ;-))

Does the data on the HD really matter if you're booting AROS from CD?

Tried it with the 23rd May 2003 and 13th September 2003 snapshots, and the latest (21st November) nightly build. Same results, slightly different messages.
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 23, 2003, 08:04:05 PM
That's odd... But the Hard drive shouldn't be casuing that (you could always unplug it and find out ;-) ).

If you can read the Debugging text then that means that the VESA.hidd is not working... have you put a new gfx card in it?
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 23, 2003, 08:14:02 PM
Nope, same card (ATI Rage) that I've used in this machine and an identical one (I'll try booting on that one, but as a last resort 'cause it's my webserver).

Well, I get the debug info if I choose VGA or VMWare. If I choose a VESA mode the screen appears to change resolution (you know how sometimes you can just tell, even though it's a black screen, that something's happening?) but I get a blank screen.

I figure it's having the same problems behind the scenes judging by the matching disk activity patterns (floppy light stuck on, HD flickers twice every 3 or 4 seconds.)

Perhaps I'll rip the HD out then ;-)
Title: Re: AROS has started wigging out on me :-(
Post by: falemagn on November 23, 2003, 08:19:04 PM
I introduced a bug few days ago, removed just 2 days ago (21th Nov), which preevented AROS from functioning properly.

Try with the latest build, and see if the problem still persists.
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 23, 2003, 08:20:11 PM
Quote

that_punk_guy wrote:
Nope, same card (ATI Rage) that I've used in this machine and an identical one (I'll try booting on that one, but as a last resort 'cause it's my webserver).

Well, I get the debug info if I choose VGA or VMWare. If I choose a VESA mode the screen appears to change resolution (you know how sometimes you can just tell, even though it's a black screen, that something's happening?) but I get a blank screen.

I figure it's having the same problems behind the scenes judging by the matching disk activity patterns (floppy light stuck on, HD flickers twice every 3 or 4 seconds.)

Perhaps I'll rip the HD out then ;-)


When did this start happening? The hard dive and file system have been improved a bit in the last few months...

On friday, I tried the latest build and found that it worked fine on my Athlon and my P4... I even tried the HD install and that worked perfectly... (For the first time I might add :-D )
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 23, 2003, 08:26:20 PM
Quote

that_punk_guy wrote:
HD flickers twice every 3 or 4 seconds.)


Actually that could be CD access, the HD light seems to flicker when the CD is accessed on the machine in question.

Well, the May and September builds boot okay without the HD present. Very strange. The newest nightly build still doesn't but that could be a case of badly burnt, ancient CDRW, I'll try it from a CD-R.
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 23, 2003, 08:36:12 PM
Quote

bloodline wrote:

When did this start happening? The hard dive and file system have been improved a bit in the last few months...

On friday, I tried the latest build and found that it worked fine on my Athlon and my P4... I even tried the HD install and that worked perfectly... (For the first time I might add :-D )


Well I hadn't tried booting AROS since before messing with my HD, putting QNX etc on there. The same two snapshots that worked before work fine without the HD present, the 21st November build doesn't work either way :-(

I'm gonna keep fiddling around, I'll post back here if there's any progress...
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 23, 2003, 08:41:41 PM
At this stage of the Game I would suggest you use VMWare insted of CD-R :-)
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 23, 2003, 08:43:26 PM
Chris!!! I've just tested 21st Nov 03 one and the same thing happens to me as you describe!!!!
Title: Re: AROS has started wigging out on me :-(
Post by: falemagn on November 23, 2003, 08:57:41 PM
@Matt
Tried the one from 22nd?
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 23, 2003, 09:01:33 PM
Quote

falemagn wrote:
@Matt
Tried the one from 22nd?


The build fails from the 22nd CVS :-(
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 23, 2003, 09:25:32 PM
Quote

bloodline wrote:
Chris!!!


Matt!!! ;-)

Quote

I've just tested 21st Nov 03 one and the same thing happens to me as you describe!!!!


Won't boot on my Athlon box either, must be a broken build. Looks like my weird HD thing is a separate issue.

On a slightly different note, which version did you manage to get installed?

Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 23, 2003, 09:32:17 PM
I had a look and it seems it was a build from the 14th of November.

I will put that on line int he next few mins (or as soon as possible... since my Server seems to be crawling at the moment).

Gah... Uploads to my server are at 2Kps
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 23, 2003, 11:31:58 PM
Ok, Chris...

Try this build:

AROS 14th November 2003 (http://www.ahsodit.com/aros/AROS-CDROM-ibmpc-bin.zip)

The build on my site has been updated even if the text hasn't :-D
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 23, 2003, 11:41:08 PM
Cheers Matt :-D
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 23, 2003, 11:57:33 PM
Quote

that_punk_guy wrote:
Cheers Matt :-D


Tell me how you get on with this one :-)

Thanks
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 24, 2003, 01:41:19 AM
Got it installed :-) (Well nearly... I gather there's supposed to be a bootloader, but I'm still booting from CD. HD boots from a soft reset okay though. Not sure where I went wrong but I'll try again.)

When I wiped the drive of all its partitions and MBR, all the builds worked again (minus the dead one)... I've got some info on the partitions saved here, if it's of any use to help figure out how it came about? :-)
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 24, 2003, 10:44:54 AM
Quote

that_punk_guy wrote:
Got it installed :-) (Well nearly... I gather there's supposed to be a bootloader, but I'm still booting from CD. HD boots from a soft reset okay though. Not sure where I went wrong but I'll try again.)

When I wiped the drive of all its partitions and MBR, all the builds worked again (minus the dead one)... I've got some info on the partitions saved here, if it's of any use to help figure out how it came about? :-)


If you used the CD0:Tools/InstallAROS program, then it should install the bootloader and do everything foryou :-D
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 24, 2003, 01:07:22 PM
I know, but it doesn't ;-) to experiment, I booted from a Win98 recovery disk and formatted c: /s, so you get a DOS prompt when you switch on. Installed AROS, but when I boot I still get the DOS prompt... which is quite disturbing, really.
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 24, 2003, 01:15:15 PM
Just woken up Chris? ;-)

Well it shouldn't. the DOS partitino shoudl be dead. Open HD toolbox and destroy the partition totally. then build a nice RDB partition on the drive and try and instal again.

you WILL have AROS booting off a hard drive :-D
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 24, 2003, 02:41:07 PM
Quote

bloodline wrote:
Just woken up Chris? ;-)


How did you know? :-D I woke up surrounded by fairy lights, it was quite ethereal :-)

Quote

Well it shouldn't. the DOS partitino shoudl be dead. Open HD toolbox and destroy the partition totally. then build a nice RDB partition on the drive and try and instal again.

you WILL have AROS booting off a hard drive :-D


I hope so :-) Been drinking so much cola while I wait, I think I might burst ^_^

How does one obliterate the partition? ;-) I tried switching to MBR, writing the table, rebooting, then switching back to RDB (so there was an RDB but no partition defined), running the installer. Should work? We shall see :-)
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 24, 2003, 02:50:25 PM
*sigh* non-system disk or disk error

:-(

Maybe I should learn some more about this stuff before I continue further ;-)
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 24, 2003, 02:58:34 PM
Quote

that_punk_guy wrote:
*sigh* non-system disk or disk error

:-(

Maybe I should learn some more about this stuff before I continue further ;-)


Keep playing!! That's the best way to learn.
Title: Re: AROS has started wigging out on me :-(
Post by: falemagn on November 25, 2003, 02:23:06 PM
Could you please check whether the problems you encountered are still there, in the latest nightly builds (http://www.aros.org/download.php)?
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 25, 2003, 02:56:16 PM
25-Nov-2003 build boots fine here :-)
Title: Re: AROS has started wigging out on me :-(
Post by: falemagn on November 25, 2003, 03:00:33 PM
Quote
25-Nov-2003 build boots fine here


Glad to hear that :-) , but does it work with the same setup you encountered problems with before? I'm referring to the HDD partitioning and such stuff.
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 25, 2003, 03:23:28 PM
Well, the drive's been wiped, but i'll see if I can trip it up with a similar setup and post back. :-)

Edit: Haven't managed to get it right yet so that it freezes the old builds so I can then check the new build, I think the only way might be to install the various OS I had on there before, will take quite some time ;-)
Title: Re: AROS has started wigging out on me :-(
Post by: falemagn on November 25, 2003, 07:29:49 PM
Thanks, your effort is very much appreciated :-)
Title: Re: AROS has started wigging out on me :-(
Post by: Methuselas on November 25, 2003, 08:24:35 PM
Quote
On friday, I tried the latest build and found that it worked fine on my Athlon and my P4... I even tried the HD install and that worked perfectly... (For the first time I might add  )


Matt!!! You got the bootloader working finally??!?? Don't tease, 'cos I LOVE what you guy's are doing.

  :-o  :-o  :-o
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 26, 2003, 03:06:10 PM
Quote

falemagn wrote:
Thanks, your effort is very much appreciated :-)


Well, I'm a crap coder so I should make myself useful somehow! ;-)

The results are in and it's bad news I'm afraid :-( I managed to recreate the conditions which stopped AROS booting, and it still affects the 25th November build. I've got the latest (26th) downloading now, will test it in the next hour (I have replace the machine's FDD first because of a freak accident I've just had.)

I think I've narrowed it down somewhat though. This is the order I did things in:

Installed QNX, made a BeOS partition and a FAT32 partition. Put WinME on the FAT32 partition so I could install BeOS from Windows, installed BeOS, then Mandrake Linux. At this point AROS is still booting from CD with no trouble. However Mandrake's LILO overwrites QNX's boot selector and I couldn't for the life of me get LILO to boot QNX or BeOS (although it would boot Windows.)

This is where Smart Boot Manager came in. When you install SBM in the drive's MBR, it keeps the original MBR someplace (is there room in the MBR for both?? I don't know but it's all I can think of...) so that if you choose 'Previous MBR' at the boot selection screen, LILO comes up and you can load Linux.

As soon as SBM's installed, the AROS CDs won't work.

You can find SBM here (http://btmgr.sourceforge.net/).

Hope this helps in some way :-)
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 26, 2003, 03:14:11 PM
Quote

Methuselas wrote:
Quote
On friday, I tried the latest build and found that it worked fine on my Athlon and my P4... I even tried the HD install and that worked perfectly... (For the first time I might add  )


Matt!!! You got the bootloader working finally??!?? Don't tease, 'cos I LOVE what you guy's are doing.

  :-o  :-o  :-o


Yup, I was just tinkering around and I set up an RDB drive, I was about to go through a manual install... then I thought; "hell, why not just use the Auto Installer". So I ran the program "InstallAROS" and that's what it did :-D

Took about an hour of it not looking like it was doing much  to do it, but do it, it did :crazy:

Now I turn on the machine and it boots into Grub, you can see a GRUB screen Flash up that allows you to select which OS to boot, but that goes away really quickly, AROS then ask what screen mode you want and you're in...

I have fully customised the Prefs and start up sequence to get my machine booting like my Old A1200 :-)
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 26, 2003, 03:21:31 PM
Update: Affects 26th November build too. :-(
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 26, 2003, 03:23:08 PM
Quote

that_punk_guy wrote:
Update: Affects 26th November build too. :-(


So it seems that SBM is causing the problems right?
Title: Re: AROS has started wigging out on me :-(
Post by: that_punk_guy on November 26, 2003, 03:26:43 PM
Quote

bloodline wrote:
Quote

that_punk_guy wrote:
Update: Affects 26th November build too. :-(


So it seems that SBM is causing the problems right?


Yeah, although I still don't understand why. I have the BIOS set to boot from CD-ROM as the first priority, it shouldn't (and as far as I can tell, doesn't) even look at the drive's MBR.
Title: Re: AROS has started wigging out on me :-(
Post by: bloodline on November 26, 2003, 03:30:25 PM
Quote

that_punk_guy wrote:
Quote

bloodline wrote:
Quote

that_punk_guy wrote:
Update: Affects 26th November build too. :-(


So it seems that SBM is causing the problems right?


Yeah, although I still don't understand why. I have the BIOS set to boot from CD-ROM as the first priority, it shouldn't (and as far as I can tell, doesn't) even look at the drive's MBR.


All I can think is that once AROS has loaded into the RAM, it starts to look for a bootable drive (ie the boot CD, an FFS floppy or a FFS hard drive)... SBM must cause the drive to look like an FFS one ,and then AROS tries to boot from it, Thus the "CPU Deadend" you get when it can't find anything meaningfull on it!!
Title: Re: AROS has started wigging out on me :-(
Post by: falemagn on November 26, 2003, 05:11:02 PM
Ok, I'll forward that post on the AROS-Dev ML, if you don't mind. My wild guess is that SMB fiddles with the partition table in such a way that leads AROS to do some division by zero at bootup, but that's all I can draw from this your description. I'll let you know more as soon as this issue is sorted out.

Thanks very much for your effort, it's very much appreciated!