[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub not working with no VGA controller?

From: Liberty Young
Subject: Re: Grub not working with no VGA controller?
Date: 19 Jul 2002 10:08:40 -0700

Yep, i've done the serial settings. I've also been using console=ttyS1
in my kernel boot-up paramters. I've done the terminal serial console,
but of course, that isn't what i want.....i only want "terminal serial"
in my final setup since it will not have VGA. In fact, the only time my
monitor puts up output is up to GRUB doing the post Stage2 stuff...the
menu....then my board puts output on the serial port as expected. 

 I'm using the GRUB 0.93, and oddly enough, it worked with no patch. i
did configure it with --enable-diskonchip, but i also noticed when i did
that, there was nothing in the configure scripts or makefiles wanting or
using that option. In the latest CVS, there were no doc_stage1.S in the
tree, yet, a ext2 formated DiskOnChip with the m-systems BIOS extensions
on the chip worked out of the box with GRUB. Unless there is another
reason to apply the patch, I won't bother. It works without it. 

Yes, I had a suspicion that the problem was with the BIOS calls video
fuctions. Though, our BIOS is special in that if there is no VGA
controller detected, it sets up it's own INT 10h. This way, programs
don't need to specifically put output to the console as the BIOS is
doing serial-redirection for them......Yet...it only sets up a limited
set of functions. I'll look at code using INT 10h and see if our BIOS
supports those. I wouldn't be surprised if the problem is with our BIOS.
I think in the end, I'll do your suggestion and make my own INT 10 that
simply returns.  

On Thu, 2002-07-18 at 18:37, Hari Narayanan wrote:
> Did  you try the following
> serial --unit=0 --speed=9600 --parity=no --stop=1
> /* the above means 9600 baud, 8 bits no parity. adjust according to
> your settings */
> terminal serial console
> /* In your boot images put the following */
> title blah
>    root (hdx,x)
>    kernel /boot/vmlinuz-mykernel ........ console=ttyS0
> /* fill in the correct values for your system */
> This should work
> Hari
> >From: Ilguiz Latypov <address@hidden>
> >To: Liberty Young <address@hidden>
> >CC: address@hidden
> >Subject: Re: Grub not working with no VGA controller?
> >Date: Thu, 18 Jul 2002 19:07:08 -0400 (EDT)
> >
> >
> >On 18 Jul 2002, Liberty Young wrote:
> >
> > > With no VGA daughter board, Grub loads as normal, but after stage2 (with
> > > the string of dots following), the system hangs. I get no output, no
> > > menu, and worse, no boot of my system.
> >
> >1. I think the problem can be due to the BIOS video INT 0x10 being used
> >    everywhere in stage1 and stage2.  In this case you may need to
> >    turn off VGA support in the BIOS settings.
> >
> >    If there is no such option, set up your own INT 0x10 handler, say, in
> >    doc_stage1.S.  Such handler can point to the "iret" statement.  For an
> >    example of setting up an interrupt handler, see the mentioned assember
> >    code.
> >
> >2. Are you using the following patch dated June 21, 2002?
> >
> >     http://savannah.gnu.org/bugs/?func=detailbug&bug_id=505&group_id=68
> >
> >    It may make sense to apply it to the then tested CVS snapshot
> >    (-D 20020621).
> >
> >    Do any of the following messages appear?
> >
> >    a) "DoC found" is shown during the BIOS ROM extension scan when BIOS
> >       finds and executes DoC 2000 IPL in its memory window.  The latter
> >       will copy first 8K of flash memory to 0x2000:0 and jump there.  The
> >       code at 0x2000 will output the above message and copy 512 bytes
> >       from 0x2000:0 to the end of conventional memory?
> >
> >    b) "DoC 2000 at XXXX" is shown when BIOS invokes software interrupt INT
> >       18h or INT19h.  The code copied in (a) will get called and read
> >       stage2 into 0:0x7f00.
> >
> >    c) "DiskOnChip 2000 found at XXXX", "floor ..., chip ..., manufacturer
> >       ..." and "Spare Media Header found ..." are displayed by the
> >       bdev_diskonchip NFTL block read driver.
> >
> >Ilguiz
> >
> >
> >_______________________________________________
> >Bug-grub mailing list
> >address@hidden
> >http://mail.gnu.org/mailman/listinfo/bug-grub
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]