Re: ahc and SMP

2000-09-24 Thread German Tischler
On Sun, Sep 24, 2000 at 05:36:43AM +0200, Kenneth D. Merry wrote: > On Sun, Sep 24, 2000 at 00:04:38 +0200, German Tischler wrote: > So if you don't have enough pass(4) devices in /dev, you may not see some > of the devices that are there. > > So make sure you have /dev/pass{0-4}. > > Another wa

Re: Fsck wrappers, revisited

2000-09-24 Thread Kris Kennaway
On Sat, 23 Dec 2000, Adrian Chadd wrote: > On Fri, Sep 22, 2000, Boris Popov wrote: > > On Sat, 23 Dec 2000, Adrian Chadd wrote: > > > > > So now is a problem which I'm sure the NetBSD people came up against. > > > The fstypenames are names like 4.2BSD, vinum, ISO9660, etc. NetBSD fixed > > > th

Re: Fsck wrappers, revisited

2000-09-24 Thread Adrian Chadd
On Sun, Sep 24, 2000, Kris Kennaway wrote: > > The trouble is that some of the FS strings have spaces in their filenames. > > This might confuse a few people. > > How about mapping spaces to '_' characters - I doubt it would cause any > namespace collisions. Yes, as bp mentioned to me before, s

Re: mtree again

2000-09-24 Thread Gerhard Sittig
On Sat, Sep 23, 2000 at 16:02 -0700, Marcel Moolenaar wrote: > "Andrey A. Chernov" wrote: > > > > [ ... mtree getopts switch code ... ] > > > > Is their any harm in just keeping the -P flag as a no-op and > optionally remove it at some later time (for backward > compatibility)? That's where I

pw_class in _pw_passwd is null if __hashpw() is not called in prior

2000-09-24 Thread Seigo Tanimura
pw_class in _pw_passwd of src/lib/libc/gen/getpwdent.c is initialized to null. Thus if a user other than root looks up nis by getpwuid(3) or getpwnam(3) in prior to calling __hashpw, pw_class is null as well. This breaks some applications including ssh(1) because they believe that no members of st

Re: pw_class in _pw_passwd is null if __hashpw() is not called in prior

2000-09-24 Thread Jacques A. Vidrine
On Sun, Sep 24, 2000 at 11:43:01PM +0900, Seigo Tanimura wrote: > As we are supposed to fill in all of the members in struct passwd > (like Solaris), _pw_passwd should have its initial value other than > zero. > > static struct passwd _pw_passwd = > { > "", > "", > (uid_t)0,

sound breakage

2000-09-24 Thread Wesley Morgan
Something committed in the last 16 hours or so (seems to have) hosed mp3 playback on my laptop (OPL-SA3)... It stutters on the first 1/2 second of the mp3 over and over. The cvs-all archives for last week look like they are in limbo right now or else I would look for a specific commit. Is anyone e

.indent.pro for KNF?

2000-09-24 Thread Blaz Zupan
Does anybody have a .indent.pro file for indent(1) that enforces KNF style as specified in style(9)? I have newbusified Initio's driver for their INIC-941, INIC-951 and INI-9XXXU/UW SCSI adapters (just testing it with a make world) and now I'm trying to bring it into form for inclusion in the Fre

Re: 'interrupt-level buffer overflows' for sio device?

2000-09-24 Thread Dag-Erling Smorgrav
Warner Losh <[EMAIL PROTECTED]> writes: > In message <[EMAIL PROTECTED]> The Hermit Hacker >writes: > : Okay, I'm a little confused here ... from what I'm reading/following, this > : isn't a new problem ... or is it? If not, why has it suddenly manifested > : itself with the new SMP code? > It s

Re: 'interrupt-level buffer overflows' for sio device?

2000-09-24 Thread Alfred Perlstein
* Dag-Erling Smorgrav <[EMAIL PROTECTED]> [000924 11:27] wrote: > Warner Losh <[EMAIL PROTECTED]> writes: > > In message <[EMAIL PROTECTED]> The Hermit >Hacker writes: > > : Okay, I'm a little confused here ... from what I'm reading/following, this > > : isn't a new problem ... or is it? If not,

Re: 'interrupt-level buffer overflows' for sio device?

2000-09-24 Thread Dag-Erling Smorgrav
Alfred Perlstein <[EMAIL PROTECTED]> writes: > This is basically a result of the entire kernel running at the > equivelant of splhigh, all interrupts are blocked until a context > switch in kernel land. > > There's work in progress to mpsafe the drivers (at least for > ethernet, more will arrive

'device random' required in conf file?

2000-09-24 Thread attila!
buildkernel based on cvs pulled 2000 09 24 1420 UCT: linking kernel if_spppsubr.o: in function `sppp_chap_scr': if_spppsubr.o(.text+0x3f54): undefined reference to `read_random' *** error code 1 stop in /usr/src/obj/usr/src/sys/hun. adding (pseudo)device ran

Re: .indent.pro for KNF?

2000-09-24 Thread David O'Brien
On Sun, Sep 24, 2000 at 08:24:44PM +0200, Blaz Zupan wrote: > Does anybody have a .indent.pro file for indent(1) that enforces KNF style as > specified in style(9)? >From Bruce Evans, this is " a wrapper around indent(1) to print the percentage changes that indent with the best (least bad) approx

Re: pw_class in _pw_passwd is null if __hashpw() is not called in prior

2000-09-24 Thread Brian Somers
Kris, I guess once this is committed, the patch I sent you for ssh will no longer be necessary. To the cc list: My patch just told ssh to xstrdup(pw_class ? pw_class : "") > On Sun, Sep 24, 2000 at 11:43:01PM +0900, Seigo Tanimura wrote: > > As we are supposed to fill in all of the members

Re: mtree again

2000-09-24 Thread Garrett Wollman
< said: > What POSIX.1-200x says about this thing? I don't have this book in hand. The rationale includes a table of options used to controlling symlink following in various programs, and suggests that `-H', `-L', and `-P' be used in new programs which implement filesystem traversal. -GAWollman

Re: .indent.pro for KNF?

2000-09-24 Thread Warner Losh
In message <[EMAIL PROTECTED]> Blaz Zupan writes: : original style of the sources as supplied by Initio is simply : horrible. Fixing it all up by hand will take days if not weeks so : I'm trying to find an easier way. I believe that indent cannot create style(9) output. You can get real close

Breakage in make world: pam_ssh

2000-09-24 Thread Leif Neland
After trouble making world for some days, I blew the entire /usr/src away (and lost my kernel-config's :-( ) On a freshly cvsupped current, this has been broken for a few days. ===> libpam/modules/pam_ssh cc -O -pipe -Wall -I/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh -I/us

Re: Breakage in make world: pam_ssh

2000-09-24 Thread Kris Kennaway
On Mon, 25 Sep 2000, Leif Neland wrote: > After trouble making world for some days, I blew the entire /usr/src away > (and lost my kernel-config's :-( ) > > On a freshly cvsupped current, this has been broken for a few days. I think you're not cvsupping all of the source. In particular the cry

Re: Breakage in make world: pam_ssh

2000-09-24 Thread Leif Neland
On Sun, 24 Sep 2000, Kris Kennaway wrote: > On Mon, 25 Sep 2000, Leif Neland wrote: > > > After trouble making world for some days, I blew the entire /usr/src away > > (and lost my kernel-config's :-( ) > > > > On a freshly cvsupped current, this has been broken for a few days. > > I think

Re: 'device random' required in conf file?

2000-09-24 Thread Matthew N. Dodd
On Sun, 24 Sep 2000, attila! wrote: > linking kernel > if_spppsubr.o: in function `sppp_chap_scr': > if_spppsubr.o(.text+0x3f54): undefined reference to `read_random' > *** error code 1 > stop in /usr/src/obj/usr/src/sys/hun. > > adding (pseudo)device random to c

Re: .indent.pro for KNF?

2000-09-24 Thread Jeroen Ruigrok van der Werven
-On [2924 20:25], Blaz Zupan ([EMAIL PROTECTED]) wrote: >Does anybody have a .indent.pro file for indent(1) that enforces KNF style as >specified in style(9)? Try this if you use vim: augroup cprog " Remove all cprog autocommands autocmd! autocmd BufNewF

PNP Devices?

2000-09-24 Thread cvs
I recently CVSup'ed the latest Current sources, made world and rebuilt the kernel. I notice now that when I start the computer, I get several messages about not being able to assign resources to PNP devices. I have never seen these messages before. Can someone enlighten me as to a possible solu

Re: 'device random' required in conf file?

2000-09-24 Thread Mark Murray
> Same with the IPX code. A 'read_random' stub should be supplied to allow > kernels without 'device random' to compile and run. I'll fix this. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current"