Page 1 of 1

Bochs help. Warning im new

Posted: Sun Mar 29, 2009 4:15 pm
by nuclearmass
bochs doesn't work with the kernel i built from the bare bones C tutorial. I am a complete noob at this and have not ran anything in bochs yet. I have followed the tutorial intensively, and i have been searching for a fix but can't seem to find one on the OSDev-wiki. Its probebly some average noob mistake, but here we go. This is what i get at the end of bochs console

Code: Select all

00008062049p[FDD  ] >>PANIC<< io: norm r/w parms out of range: sec#d1h cyl#94h e
ot#d2h head#00h
and heres what i get for bochs display:

Code: Select all

Plex86/Bochs VGABios 0.6b 30 May 2008
This VGA/VBE Bios is released under the GNU LGPL

Please visit :
 . http://bochs.sourceforge.net
 . http://www.nongnu.org/vgabios

Bochs VBE Display Adapter enabled

Bochs BIOS - build: 06/03/08
$Revision: 1.209 $ $Date: 2008/06/02 20:08:10 $
Options: apmbios pcibios eltorito rombios32


Press F12 for boot menu.

Booting from Floppy...
GRUB Loading stage2Read Errorß

any help would be nice. :)

Re: Bochs help. Warning im new

Posted: Sun Mar 29, 2009 4:30 pm
by Troy Martin
Looks like either the floppy or the grub binary is broken. Bochs is not at fault. Sorry, I'm not sure what to do. :(

Re: Bochs help. Warning im new

Posted: Sun Mar 29, 2009 4:30 pm
by imate900
nuclearmass wrote:bochs doesn't work with the kernel i built from the bare bones C tutorial. I am a complete noob at this and have not ran anything in bochs yet. I have followed the tutorial intensively, and i have been searching for a fix but can't seem to find one on the OSDev-wiki. Its probebly some average noob mistake, but here we go. This is what i get at the end of bochs console

Code: Select all

00008062049p[FDD  ] >>PANIC<< io: norm r/w parms out of range: sec#d1h cyl#94h e
ot#d2h head#00h
and heres what i get for bochs display:

Code: Select all

Plex86/Bochs VGABios 0.6b 30 May 2008
This VGA/VBE Bios is released under the GNU LGPL

Please visit :
 . http://bochs.sourceforge.net
 . http://www.nongnu.org/vgabios

Bochs VBE Display Adapter enabled

Bochs BIOS - build: 06/03/08
$Revision: 1.209 $ $Date: 2008/06/02 20:08:10 $
Options: apmbios pcibios eltorito rombios32


Press F12 for boot menu.

Booting from Floppy...
GRUB Loading stage2Read Errorß

any help would be nice. :)
You possibly did the floppy making stage wrong. Try it again.

Re: Bochs help. Warning im new

Posted: Mon Mar 30, 2009 4:49 pm
by nuclearmass
well i got it at least i think. It doesn't have to io error or whatever it is anymore... it was grubs stage1 and stage2, i downloaded it again and lol the binaries were different size than the ones i was using...

thank you guys :D