bug-grub
[Top][All Lists]
Advanced

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

Fw: Re: outport and inport command


From: OKUJI Yoshinori
Subject: Fw: Re: outport and inport command
Date: Sat, 20 Jan 2001 19:21:23 +0900

Assaf, please post your messages to bug-grub rather than me.
--- Begin Message --- Subject: Re: outport and inport command Date: Fri, 19 Jan 2001 14:39:30 -0800
OKUJI Yoshinori wrote:
> 
> From: assaf stoler <address@hidden>
> 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


--- End Message ---

reply via email to

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