Bochs help. Warning im new

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
nuclearmass
Posts: 4
Joined: Sun Mar 29, 2009 3:59 pm

Bochs help. Warning im new

Post 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. :)
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Bochs help. Warning im new

Post 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. :(
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
imate900
Member
Member
Posts: 80
Joined: Sat Feb 28, 2009 11:43 am

Re: Bochs help. Warning im new

Post 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.
Current work on a OS: SauOS (project homepage: http://code.google.com/p/sauos/)
Image
nuclearmass
Posts: 4
Joined: Sun Mar 29, 2009 3:59 pm

Re: Bochs help. Warning im new

Post 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
Post Reply