Re: Watchdog for Boser (HS-7001)

2008-12-10 Thread Won De Erick
Christoph Mallon wrote: > > Won De Erick schrieb: >>> - Original Message >> >>> From: Rink Springer <[EMAIL PROTECTED]> >>> >>> >> On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: Userland is not allowed to write to ports. That's the bus error you see. Also

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > You need to load the appropriate watchdog driver first - and as far as I > know, we don't have one for the Boser HS-7001. I can't find the 7001 on Boser's web site, but their other SBCs seem to be ICH-based; try 'kldload ichwd'. DES -- Dag-Erling

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Dag-Erling Smørgrav
Won De Erick <[EMAIL PROTECTED]> writes: > this is a great info. i am used to settings like the following when using > ipmi-compliant platform. > #bmc-watchdog -s -a 1 -i 100(#set timeout action to hard reset after a > timeout of 100 seconds) > then daemonize to constantly reset the timer, an

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Won De Erick
>From: Won De Erick <[EMAIL PROTECTED]> >>From: Christoph Mallon <[EMAIL PROTECTED]> >> > >Won De Erick schrieb: - Original Message >>> From: Rink Springer <[EMAIL PROTECTED]> >>> On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: > Userland is no

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Won De Erick
>- Original Message >From: Christoph Mallon <[EMAIL PROTECTED]> > > Won De Erick schrieb: >>> - Original Message >> >>> From: Rink Springer <[EMAIL PROTECTED]> >>> >>> >> On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: Userland is not allowed to write to

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Won De Erick
> - Original Message > From: Dag-Erling Smørgrav <[EMAIL PROTECTED]> > Christoph Mallon <[EMAIL PROTECTED]> writes: > > You're probably better of writing this in C. maybe i get this as an option. > > He's probably better off writing a watchdog(4) driver for the Boser (or > getting someon

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Gary Jennejohn
On Mon, 01 Dec 2008 09:38:51 +0100 Christoph Mallon <[EMAIL PROTECTED]> wrote: > Won De Erick schrieb: > > Hello, > > > > I was trying the assembly language program that is specified in the > > following document (p24) to set, reset the built-in watchdog timer for the > > Boser Box. > > > > ht

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Dag-Erling Smørgrav
Christoph Mallon <[EMAIL PROTECTED]> writes: > You're probably better of writing this in C. He's probably better off writing a watchdog(4) driver for the Boser (or getting someone to write one for him - not easy to do without hardware to test on, though) DES -- Dag-Erling Smørgrav - [EMAIL PROTE

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Christoph Mallon
Won De Erick schrieb: - Original Message From: Rink Springer <[EMAIL PROTECTED]> On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: Userland is not allowed to write to ports. That's the bus error you see. Also without a call to the exit syscall at the end, it will s

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Rink Springer
On Mon, Dec 01, 2008 at 01:20:14AM -0800, Won De Erick wrote: > Besides, I can see the following at /dev > crw--- 1 root wheel 0, 16 Nov 27 01:53 io > > How should I make this open? do i need to %include this? No, you need to invoke an open syscall just in the same way you did the

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Won De Erick
> - Original Message > From: Rink Springer <[EMAIL PROTECTED]> > > On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: > > Userland is not allowed to write to ports. That's the bus error you see. > > Also without a call to the exit syscall at the end, it will segfault. >

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Rink Springer
On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: > Userland is not allowed to write to ports. That's the bus error you see. > Also without a call to the exit syscall at the end, it will segfault. Note that you can write to ports from userland by opening /dev/io - if you have it o

Re: Watchdog for Boser (HS-7001)

2008-12-01 Thread Christoph Mallon
Won De Erick schrieb: Hello, I was trying the assembly language program that is specified in the following document (p24) to set, reset the built-in watchdog timer for the Boser Box. http://www.boser.com.tw/manual/HS-7001v1.1.pdf I then installed nasm in FreeBSD 6.2, and added the following l

Watchdog for Boser (HS-7001)

2008-12-01 Thread Won De Erick
Hello, I was trying the assembly language program that is specified in the following document (p24) to set, reset the built-in watchdog timer for the Boser Box. http://www.boser.com.tw/manual/HS-7001v1.1.pdf I then installed nasm in FreeBSD 6.2, and added the following lines at the beginning.