How do you control the shutdown?
If it is a simple logical signal, i.e. either high or low voltage, perhaps
the easiest way would be a hardware solution.
It could be as simple as a diode, a large capasitor and a resistor.
Your local electronic supplyer could probably build a delay circuit for a
On Fri, 19 May 2000, Manny Obrey wrote:
> I saw the following near the end of running "make depend;make" during a
> kernel re-config ... seriously, is this something to be concerned about? I
No.
Kris
In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsyth
Alexander Langer wrote:
>
> Thus spake Alexander Langer ([EMAIL PROTECTED]):
>
> > If so, I'm going to write patches.
>
> ... for almost every driver in the tree.
>
> Hmm. EITHER almost all people never unloaded their driver, or I still
> understood wide parts wrong.
>
> I grepped through /sy
Jonathan Laventhol wrote:
>
> Dear FreeBSD Hackers --
>
> I've got a technically-straightfordward but nonetheless
> business-critical problem with the groups structures in FreeBSD
> which perhaps you kind souls can help me with.
> We currently use FreeBSD 3.3-RELEASE through 4.0-RELEASE via
> Wa
I saw the following near the end of running "make depend;make" during a
kernel re-config ... seriously, is this something to be concerned about? I
had just d'loaded /usr/src/sys for 4.0-RELEASE about 10 minutes ago.
touch hack.c
cc -elf -shared -nostdlib hack.c -o hack.So
rm -f hack.c
___
Thus spake Alexander Langer ([EMAIL PROTECTED]):
> If so, I'm going to write patches.
... for almost every driver in the tree.
Hmm. EITHER almost all people never unloaded their driver, or I still
understood wide parts wrong.
I grepped through /sys now and only 10% of the drivers save the rid.
Hello!
See sys/alpha/isa/mcclock_isa.c:
It has attach (which allocs resource), but not detach.
Also, it doesn't save the rid in the softc.
I wonder, if the generic detach function is capable to clean up the
resource without knowing the rid, or if this is a bug.
If so, I'm going to write patches
Warner Losh wrote:
>
> In message <[EMAIL PROTECTED]> Sergey Babkin writes:
> : The code seems to guarantee that if the probe routine returns 0
> : then the attach routine will be called right away. So if the probe
> : routine returns 0 they don't have to be freed. Actually, the
> : comments seem
Hello!
I just finnished bus_release_resource.9.
The technical part should be correct, since I could not do things
wrong. Maybe you want to review it anyways.
http://big.endian.de/FreeBSD/bus_release_resource.9
Alex
--
I need a new ~/.sig.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with
Second, reworked version now available.
http://big.endian.de/FreeBSD/bus_alloc_resource.9
In my eyes, it's quite correct now and is worth a PR/commit.
I'll send a PR if I get your ok.
Alex
--
I need a new ~/.sig.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hacke
hi all
what does the flag OBJ_OPT mean?? i read it deals with some sort of IO
optimization. but i dont know what it actually does. any insights on
this??
thanx
joy
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
I think I may have found a bug in the directory lookup code in FreeBSD
4.0-Release, although it does not affect normal user. Please be patient
and read on. The test code I am using and its result as follows:
# cat test.c
#include
#include
main()
{
int error;
error = rename("di
In message <[EMAIL PROTECTED]> Warner Losh writes:
: You'd like have to hack the kernel. There are hooks in the kernel to
: execute very late in the game. I even think there is one to do things
: just before halt that you could use to power things off completely.
: If this is a UPS, and the sign
You'd like have to hack the kernel. There are hooks in the kernel to
execute very late in the game. I even think there is one to do things
just before halt that you could use to power things off completely.
If this is a UPS, and the signal is several serial characters, you'd
have to poll the ser
:At 7:50 PM -0700 5/18/00, Jaye Mathisen wrote:
:>UDP v2 mounts, Netapp Filer.
:>
:>Getting a fair # of:
:>got bad cookie vp 0xd24bf1c0 bp 0xc9090500
:>got bad cookie vp 0xd24bfda0 bp 0xc906ceb0
:>
:...
:>on the console, and it seems to lock the machine up for several
:>minutes when it does. The
> On 19 May 2000, Doug White wrote:
> > On Fri, 19 May 2000, Cillian Sharkey wrote:
> > > I need to execute a script (which tells the UPS to turn off) *after* the
> > > system has come to a safe halt from shutdown -h. I can't place the commands
> > > in /etc/rc.shutdown because this is too early i
On Fri, 19 May 2000, Jonathan Laventhol wrote:
> Dear FreeBSD Hackers --
>
> I've got a technically-straightfordward but nonetheless
> business-critical problem with the groups structures in FreeBSD
> which perhaps you kind souls can help me with.
>
> *** BACKGROUND ***
>
[snip]
> Question
Hi,
Just an idea...
On Fri, May 19, 2000 at 05:00:26PM +0100, Cillian Sharkey wrote:
> Basically, is there currently any way to execute a post-shutdown script once
> the system has "halted" ? If not, is this feature possible to add ?
Why not let the machine reboot, and check the power before an
On 19 May 2000, Doug White wrote:
> On Fri, 19 May 2000, Cillian Sharkey wrote:
> > I need to execute a script (which tells the UPS to turn off) *after* the
> > system has come to a safe halt from shutdown -h. I can't place the commands
> > in /etc/rc.shutdown because this is too early in the shut
At 7:50 PM -0700 5/18/00, Jaye Mathisen wrote:
>UDP v2 mounts, Netapp Filer.
>
>Getting a fair # of:
>got bad cookie vp 0xd24bf1c0 bp 0xc9090500
>got bad cookie vp 0xd24bfda0 bp 0xc906ceb0
>
>on the console, and it seems to lock the machine up for several
>minutes when it does. Then it comes back
On Fri, 19 May 2000, Cillian Sharkey wrote:
> Hi Folks,
>
> I need to execute a script (which tells the UPS to turn off) *after* the
> system has come to a safe halt from shutdown -h. I can't place the commands
> in /etc/rc.shutdown because this is too early in the shutdown sequence.
>
> Unfort
Hi Folks,
I need to execute a script (which tells the UPS to turn off) *after* the
system has come to a safe halt from shutdown -h. I can't place the commands
in /etc/rc.shutdown because this is too early in the shutdown sequence.
Unfortunately, the UPS in question (APC Back-UPS 650) is not a "s
In the last episode (May 19), Dmitry Samersoff said:
> On 18-May-2000 Travis Cole wrote:
> > On Wed, May 17, 2000 at 05:51:59PM +0400, Dmitry Samersoff wrote:
> >> I have traffic metering program using bpf, it works fine on
> >> relatevly free net but looses about 30% of packets on havy loaded
> >
Dear FreeBSD Hackers --
I've got a technically-straightfordward but nonetheless
business-critical problem with the groups structures in FreeBSD
which perhaps you kind souls can help me with.
*** BACKGROUND ***
My company is a 400-person design and communications agency.
We have approximately 15
Matthew Dillon wrote:
> :I am sorry that i missed this point in my previous post. well the problem with
> :the mmap is that my device does not have a buffer always. earlier the 'read'
> :ioctl on the device used to sleep till a buffer was available. what does the
> :mmap do?? can it block?? i am
On 18-May-2000 Travis Cole wrote:
> On Wed, May 17, 2000 at 05:51:59PM +0400, Dmitry Samersoff wrote:
>> I have traffic metering program using bpf,
>> it works fine on relatevly free net but looses about 30%
>> of packets on havy loaded one.
>
> Are you doing dns lookups? Don't do those and yo
Thus spake Mike Smith ([EMAIL PROTECTED]):
> Not at all; in the PCI context, that's what the rid is. As has been said
> several times now, the meaning of the rid is _bus_specific_.
Ah, I wrote that before reading the next mails, stupid me.
Well, thanks for all your comments. I'll add/merge th
> Thus spake Matthew N. Dodd ([EMAIL PROTECTED]):
>
> > is just a range; start and length, and a type. The 'rid' has nothing to
> > do with offsets into a memory/port resource.
>
> Hmm. When I wrote Doug Rabson about newbus months ago, he gave me that
> part of code:
>
> rid = 0x10; /*
Thus spake Matthew N. Dodd ([EMAIL PROTECTED]):
> Think of an 'rid' as in index into an array of like resources. A resource
> is just a range; start and length, and a type. The 'rid' has nothing to
> do with offsets into a memory/port resource.
Ah, yes. That is probably why
resource_
Thus spake Matthew N. Dodd ([EMAIL PROTECTED]):
> is just a range; start and length, and a type. The 'rid' has nothing to
> do with offsets into a memory/port resource.
Hmm. When I wrote Doug Rabson about newbus months ago, he gave me that
part of code:
rid = 0x10; /* offset of pci map
30 matches
Mail list logo