sysctl interface for apm?

2000-07-15 Thread nsayer
I was paging through the distributed.net client changelog and they had a note there basically asking for a sysctl interface to apm -- in short, they wanted the ability for non-root users to detect power state (AC/batt) and battery level. At first, I wondered why they regarded this differently from

Core-team statement: fruitless discussions in the mailing lists

2000-07-15 Thread J Wunsch
Several members of the FreeBSD community approached us with different request regarding Brett Glass' behaviour in our mailing lists. For various reasons we do not want to `blacklist' anyone from using the FreeBSD mailing lists, but we remind everybody here to not contribute to fruitless and often

Re: config and config -r

2000-07-15 Thread Warner Losh
In message <[EMAIL PROTECTED]> Maxime Henrion writes: : But after rebooting on this new kernel, I had a page fault before : any kernel message :/ Is there anything to check in order to know if I : can use a config instead of a config -r ? If using a config without the : -r option is dangerous,

Re: options INET6 vs opt_inet.h

2000-07-15 Thread Peter Wemm
Darren Reed wrote: > > So, it would appear that in /sys/conf/options, we have the following: > > INETopt_inet.h > INET6 opt_inet6.h > > Which might seem all nice and dandy - except that config will not generate > "opt_inet6.h" with "#undef INET6" if "option

Re: Interrupt Handler?

2000-07-15 Thread Greg Lehey
On Thursday, 13 July 2000 at 22:51:56 -0400, Brandon Fosdick wrote: > Where/How does one implement a hardware interrupt handler? I haven't > done this sort of thing since the days of DOS. I imagine its a lot > different in *nix. :) The low-level interrupt handlers are in /usr/src/sys/i386/isa/exc

options INET6 vs opt_inet.h

2000-07-15 Thread Darren Reed
So, it would appear that in /sys/conf/options, we have the following: INETopt_inet.h INET6 opt_inet6.h Which might seem all nice and dandy - except that config will not generate "opt_inet6.h" with "#undef INET6" if "option INET6" is not present and so you c

PR 18593: *is* VOP_LOOKUP a 'VFS entry point' ?

2000-07-15 Thread Ben Smithurst
PR 18593 says that VOP_LOOKUP is not a 'VFS entry point', so like a fool I believed it and committed the manpage diff within it. :-( All the other VOP* manual pages just say "entry point", but VOP_LOOKUP(9) said "VFS entry point", the patch changed that to be consistent with the rest. Can someon

Re: Boot loader problem workaround

2000-07-15 Thread Gemini Domino
From: "Doug White" <[EMAIL PROTECTED]> To: "Gemini Domino" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, July 15, 2000 17:59 Subject: Re: Boot loader problem workaround > > It would be nice if a command like > > fdisk -a -1 ad0 > > would just set it instead of asking. > > Doug White

Re: Boot loader problem workaround

2000-07-15 Thread Doug White
On Sat, 15 Jul 2000, Gemini Domino wrote: > There's been a problem reported by several people on multi-HD multiboot > systems about the bootloader clearing active flags and making it impossible > to reboot without using a boot disk to use FDISK to reset the active flag. > This was solved by turni

Re: config and config -r

2000-07-15 Thread Doug Barton
Please don't crosspost. -questions would have been more appropriate for this. Maxime Henrion wrote: > Is there anything to check in order to know if I > can use a config instead of a config -r ? This may sound flippant, but it isn't meant to be. If config without the -r works

Re: config and config -r

2000-07-15 Thread Ben Smithurst
Maxime Henrion wrote: > As I didn't want to recompile the whole stuff, I used a config and > not a config -r to build a new kernel, after having changed its > configuration. I removed several devices and I thought that won't cause > any problem, as the objects files for these devices won't be

config and config -r

2000-07-15 Thread Maxime Henrion
Hello, I think the config program used to compile a kernel lacks some documentation because there are several points that remain unclear to me, even after reading the man page. I had several bad surprises with it ! :-) As I didn't want to recompile the whole stuff, I used a config and

different clocks in FreeBSD

2000-07-15 Thread Song Li
Hey, I want to get the accurate user-time and system-time used by a process whenever I want. My code will run inside the kernel. I try to use the getrusage from within the kernel, but the function didn't give right data. Then I try to read the p_uticks in the proc structure. But it seems that va

Re: port of MPPE (microsoft VPN encryption) to FreeBSD

2000-07-15 Thread Steve Spicklemire
Hi Ben, If you can go to 4.0s, there is /usr/ports/net/mpd-netgraph which works great already, and doesn't requre poptop at all. It does require a buildworld with the most recent sources... -steve > "Ben" == Ben Jackson <[EMAIL PROTECTED]> writes: Ben> I needed MPPE to tunnel into

Boot loader problem workaround

2000-07-15 Thread Gemini Domino
There's been a problem reported by several people on multi-HD multiboot systems about the bootloader clearing active flags and making it impossible to reboot without using a boot disk to use FDISK to reset the active flag. This was solved by turning on the "noupdate" option with boot0cfg, but I ha

Re: DEVFS

2000-07-15 Thread Adrian Chadd
On Sat, Jul 15, 2000, Boris Popov wrote: > On Sat, 15 Jul 2000, Poul-Henning Kamp wrote: > > > In message <[EMAIL PROTECTED]>, Coleman Kane writes: > > > > >Who is currently working on the DEVFS? I emailed the last person > > >to commit to the HOWTO and got no response. I'd like to look into > >

Re: fsck_ext2fs

2000-07-15 Thread Adrian Chadd
On Fri, Jul 14, 2000, Roman Shterenzon wrote: > Hello, > I was looking for fsck_ext2fs and found that openbsd has it. > So, I tried to compile it on freebsd, and it compiled very easy. > I needed just some minor modifications to make it work. > I send the tarball which has the modified version tog

Re: DEVFS

2000-07-15 Thread Boris Popov
On Sat, 15 Jul 2000, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Coleman Kane writes: > > >Who is currently working on the DEVFS? I emailed the last person > >to commit to the HOWTO and got no response. I'd like to look into > >finisheing this, and may start hacking if no one tell

Re: DEVFS

2000-07-15 Thread Poul-Henning Kamp
>> None of them fixes the root-mount kludges. > >actually the code you and SOS delted DID solve that No it didn't. rootvn was still magically wired from rootdev, with DEVFS mounted first it could be looked up with namei in a proper fashion. >> None of them implement cloning devices. >no, t

Re: DEVFS

2000-07-15 Thread Julian Elischer
Poul-Henning Kamp wrote: > > In message <[EMAIL PROTECTED]>, Coleman Kane writes: > > >Who is currently working on the DEVFS? I emailed the last person > >to commit to the HOWTO and got no response. I'd like to look into > >finisheing this, and may start hacking if no one tells me otherwise...