Assaf, please post your messages to bug-grub rather than me.


OKUJI Yoshinori wrote:
> 
> From: assaf stoler <[EMAIL PROTECTED]>
> Subject: outport and inport command
> Date: Fri, 19 Jan 2001 08:15:31 -0800
> 
> > I have run into a problem using grub on hardware with watchdog enabled,
> > since it might take to long for the initrd / kernel decompression stage,
> > and the watch god boots the system, in order to overcome, I tried to
> > re-set the watchdog timer by writing 0x1 to io port 230 (my hardware),
> > but
> > could not get it to compile,
> >
> > any idea how to do an outb under grub ?
> 
> I can't say anything useful without information on what code you
> wrote, needless to say. Have you read some of the GRUB code (e.g. the
> serial driver)?

I just did it like 2 min after dispatching that message ...

> 
> But why do you need to reset the watchdog timer? For me, that sounds
> like the timeout is just too short.

Hardware watchdog, can not change it's timeout :-(
> 
> > and while we're on the topic, it might be a good thing to add the
> > commands for portread, and portwrite to grub ...
> 
> I disagree, since it is too dangerous to use them arbitrarily. If we
> provide such commands, the user could break his/her computer quite
> easily. Rather, you should consider implementing higher level commands
> (such as "watchdog"), if you really need.

I'll do so ...

> 
> Okuji



Reply via email to