Re: Kerberos 5, how to build whole system including X11R6 with it ?

1999-08-01 Thread Assar Westerlund
Amancio Hasty [EMAIL PROTECTED] writes: I would starrt by looking at the api and making the mods to X11R6 No, the protocol used in the X11R6 code is wrong. You would need to design and implement a new one. and if you can do a net search on xdm and kerberos -- there is an X11R6 xdm for

Re: DEV_MODULE doesn't support dynamic major numbers any longer?

1999-08-12 Thread Assar Westerlund
Poul-Henning Kamp [EMAIL PROTECTED] writes: The cmaj and bmaj in DEV_MODULE are only used for ordering the drivers, and otherwise with no significance. Yeah, I realized that later. The previous code was a hack and inflicted problems. The right solution, (until DEVFS of course) is to add

Re: Heads up!

1999-10-10 Thread Assar Westerlund
Poul-Henning Kamp [EMAIL PROTECTED] writes: We have now come so far that we can start to kill cdevsw_add() calls and rely on make_dev() for most of the device drivers. So how is this supposed to work for device kld's? Currently, cdevsw_add() gets called from the glue generated by DEV_MODULE.

Re: inconsistent and wrong locking in asleep()

1999-11-09 Thread Assar Westerlund
Bruce Evans [EMAIL PROTECTED] writes: That's a really old bug. I fixed it a year or two ago in my version, and optimised the !SMP case following a suggestion of tegge (waiting for the lock is useless in the !SMP case). Looks fine. Can you commit your patch? /assar To Unsubscribe: send

3c509b getting `eeprom failed to come ready' in current

1999-11-25 Thread Assar Westerlund
Hi. When upgrading a box from current ~ 1999-11-15 to ~ today, the 3c509b network interface fails to work. These are the kernels (the first one working, the second one not). /kernel.old: FreeBSD 4.0-CURRENT #1: Mon Nov 15 00:03:00 CET 1999 /kernel: FreeBSD 4.0-CURRENT #0: Fri

Re: 3c509b getting `eeprom failed to come ready' in current

1999-11-25 Thread Assar Westerlund
Poul-Henning Kamp [EMAIL PROTECTED] writes: Don't use the generic kernel unchanged with the 3com card. Disable the ex0 and ie0 drivers, one of those pummel the 3com cards magic config registers. Tack. Now it manages to find ep0 properly. It still finds a `ghost' ep1 and hangs hard when

Re: 3c509b getting `eeprom failed to come ready' in current

1999-11-25 Thread Assar Westerlund
Poul-Henning Kamp [EMAIL PROTECTED] writes: no. Try to disable ep1 (if you can). Not hardwiring ep0 in the configuration file made it work. Thanks again. Here's an trivial patch to GENERIC to add comments about these characteristics about ep0. /assar Index: GENERIC

Re: 3c509b getting `eeprom failed to come ready' in current

1999-11-25 Thread Assar Westerlund
"David O'Brien" [EMAIL PROTECTED] writes: +# don't try to hardware ep0 - it will not work If we don't hardware it in GENERIC, then why do people think they should be doing so? (s/hardware/hardwire/ of course) there's (to my mind) a difference between it's not done by default and it will

Re: Using packed structs to gain cheap SMP primatives

2000-03-30 Thread Assar Westerlund
Alfred Perlstein [EMAIL PROTECTED] writes: I'm aware of this, the problem is that tz may move in either direction. Why not just ignore the timezone argument? That hasn't been relevant for a long time. The timezone information is kept in user-space. From gettimeofday(2): Note: timezone

kernel building problems/room-for-improvement

2000-03-30 Thread Assar Westerlund
I would appreciate some feedback (in the form of commits also works) on two small issues (I've also opened PR's on these). 1. Due to vnode_if.h not getting installed, you need to have kernel source (namely vnode_if.src and vnode_if.pl) to build any file system to be loaded as a kernel

Re: kernel building problems/room-for-improvement

2000-03-30 Thread Assar Westerlund
Adrian Chadd [EMAIL PROTECTED] writes: I agree that vnode_if.h needs to be in the sys/ tree for this, but I don't think it needs to be checked into CVS. It means any time someone modifies vnode_if.src a whole new vnode_if.h could possibly be generated, causing unnecessary repobloat. Right,

Re: __func__ not declared for kernel build (5.0-CURRENT)

2000-04-23 Thread Assar Westerlund
Matthew Dillon [EMAIL PROTECTED] writes: obviously missing __FUNCTION__ was added by GCC many years ago, but it was a while before it's use in defines in header (.h) files was dealt with properly. You mean outside a function? What's the proper way of dealing with that? I

Re: Proposed patch for PR misc/18466

2000-05-14 Thread Assar Westerlund
Matthew Dillon [EMAIL PROTECTED] writes: Index: anonFTP.c === RCS file: /home/ncvs/src/release/sysinstall/anonFTP.c,v retrieving revision 1.29 diff -u -r1.29 anonFTP.c --- anonFTP.c 2000/01/25 19:16:31 1.29 +++ anonFTP.c

Re: Warning on boot

2000-05-14 Thread Assar Westerlund
"Andrew Tulloch" [EMAIL PROTECTED] writes: Device char-major=116 minor=196608 opened in block mode, convert to char mode with /dev/MAKEDEV before 2000-07-01 It has been fixed in sys/kern/vfs_subr.c:1.255. cvsup or grab the patch and apply. /assar To Unsubscribe: send mail to [EMAIL

Re: MAKEDEV Warning ???

2000-05-13 Thread Assar Westerlund
Jeroen Ruigrok van der Werven [EMAIL PROTECTED] writes: -On [2513 21:06], Manfred Antar ([EMAIL PROTECTED]) wrote: I get this in boot mesgs and I don't know how to fix it. Device char-major=13 minor=0 opened in block mode, convert to char mode with /dev/MAKEDEV before 2000-07-01 There

sys/sys/signalvar.h: change cursig to `static inline'

2000-06-21 Thread Assar Westerlund
I would like to commit the patch below to -current and 4-stable in a little while. It allows KLDs to be compiled without optimization. Any objections/comments/anything? /assar Index: signalvar.h === RCS file:

vnode_if.h: how should it be done ?

2000-06-21 Thread Assar Westerlund
I think it's wrong that vnode_if.h is not installed, this means that you need to have kernel source to compile any third-party file system. So I propose the patch below, to create vnode_if.h and then add it to CVS. Any objectsions/comments/whatever? /assar Index: Makefile

Re: vnode_if.h: how should it be done ?

2000-06-21 Thread Assar Westerlund
Garrett Wollman [EMAIL PROTECTED] writes: On 22 Jun 2000 03:35:01 +0200, Assar Westerlund [EMAIL PROTECTED] said: So I propose the patch below, to create vnode_if.h and then add it to CVS. There are too many generated files in CVS as it is. If there is a problem here, the correct fix

fixes for bin/19354 or ls and wierd characters

2000-06-22 Thread Assar Westerlund
I have a proposed patch to ls that fixes bin/19354 and makes things more consistent. Comments? /assar Index: extern.h === RCS file: /home/ncvs/src/bin/ls/extern.h,v retrieving revision 1.13 diff -u -w -r1.13 extern.h --- extern.h

Re: cvs commit: src/sys/contrib/softupdates softdep.h ffs_softdep.c

2000-06-23 Thread Assar Westerlund
Peter Wemm [EMAIL PROTECTED] writes: For the NetBSD version to work, what needs to happen is that the -osoftdep flag needs to be propagated to the superblock so that after reboot, fsck knows what to do. When it is next mounted, then update it to the new state. From what I can tell from a

Re: vnode_if.h: how should it be done ?

2000-06-24 Thread Assar Westerlund
Warner Losh [EMAIL PROTECTED] writes: In message [EMAIL PROTECTED] Assar Westerlund writes: : The problem is that the source files are hidden in the kernel source : directory and not installed. Where should vnode_if.{src,pl} get : installed? It seems much simpler just to install vnode_if.h

Re: is it possible to have a NULL procp for an NFS request?

2000-12-22 Thread Assar Westerlund
Matthew Jacob [EMAIL PROTECTED] writes: I had a panic just now: db t tprintf() at tprintf+0x7c nfs_msg() at nfs_msg+0x28 nfs_timer() at nfs_timer+0x1fc softclock() at softclock+0x4f4 sithd_loop() at sithd_loop+0x18c exception_return() at exception_return Yes, this is possible, (at

Re: is it possible to have a NULL procp for an NFS request?

2000-12-22 Thread Assar Westerlund
Matthew Jacob [EMAIL PROTECTED] writes: Hmm. The client wasn't following symlinks. You sure? What happens is when you queue up an nfs operation provoked by following a symlink. I couldn't figure any other way of making that happen. The patch seems simple enough, but it probably shouldn't

Re: NFS/VM panic in current with INVARIANTS

2000-12-26 Thread Assar Westerlund
Matt Dillon [EMAIL PROTECTED] writes: I think the only real solution is to rip out the externally visible zalloc/zfree inlines and replace them with real routines. I will happily do this, those inlines have always been an eyesore to me and the performance benefit is minimal

Re: NFS/VM panic in current with INVARIANTS

2000-12-26 Thread Assar Westerlund
Matt Dillon [EMAIL PROTECTED] writes: We can't just go do an end-run around the established API as a hack around the problem. I fail too se how my suggestion would change the API at all, but in case I was unclear, diffs are below. /assar Index: vm_zone.c

Re: NFS/VM panic in current with INVARIANTS

2000-12-26 Thread Assar Westerlund
Matt Dillon [EMAIL PROTECTED] writes: Well, yes... that's essentially what I suggested. You didn't say anything about removing the externalized inlines, which is what you do in your patch. Looks like a fine patch to me. Except it didn't work. Now here's a patch that survived

Re: termios.h patch for review

2000-12-28 Thread Assar Westerlund
Alfred Perlstein [EMAIL PROTECTED] writes: My concern is that just adding these defines doesn't actually implement anything in the drivers/libraries. :) Right, but stealing these small snippets from NetBSD wasn't very hard, see patch below. /assar Index: sys/sys/termios.h

Re: termios.h patch for review

2000-12-29 Thread Assar Westerlund
I wrote: Right, but stealing these small snippets from NetBSD wasn't very hard, see patch below. Here's a better patch, including stty. If there are no objects, I'll commit this. /assar Index: bin/stty/modes.c === RCS file:

Re: Building procedure of krb5 is broken

2001-02-21 Thread Assar Westerlund
"Jacques A. Vidrine" [EMAIL PROTECTED] writes: On Wed, Feb 21, 2001 at 10:06:29PM +0900, Jun Kuriyama wrote: So if MAKE_KERBEROS5=YES is set in /etc/make.conf, buildworld is failed because krb.h is not found. Last I looked (before assar's import), MAKE_KERBEROS5=yes required that you

Re: Release b0rked..

2001-02-23 Thread Assar Westerlund
Jun Kuriyama [EMAIL PROTECTED] writes: Assar, can you review and commit this? This is ok, but jhb has already fixed this. /assar To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: telnet broken with auto-negotiation of encrypt/decrypt change

2001-03-23 Thread Assar Westerlund
Robert Watson [EMAIL PROTECTED] writes: I'm baffled as to why SRA is enabled by default. I'm fine with it being compiled in, but it appears to be substantially interfering with normal TCP operation. Either the negotiation needs to be fixed, or this feature needs to be disabled for

Re: Krb5 problems

2001-06-08 Thread Assar Westerlund
Gordon Tetlow [EMAIL PROTECTED] writes: Anyway, I'm able to setup the realm correctly but when I try to run the k5admind daemon, it cores whenever I try to connect to it. I'll look into building a debug version and try to get some more info on this one. Do you run the k5admind from inetd or

Re: convert libgmp to a port?

2001-06-17 Thread Assar Westerlund
Garrett Wollman [EMAIL PROTECTED] writes: On Sat, 16 Jun 2001 23:38:45 -0700, Peter Wemm [EMAIL PROTECTED] said: telnet* should never have used libmp in the first place, Yes, it should have, since telnet is historic BSD software and libmp is the historic BSD arbitrary-precision-math

Re: broken world (kerberos5/lib/libasn1)

2001-06-21 Thread Assar Westerlund
Jun Kuriyama [EMAIL PROTECTED] writes: Today's nightly build reports breakage of the world... Please update to kerberos5/lib/libasn1/Makefile:1.9 or apply the appended patch (relative to 1.8). /assar Index: Makefile === RCS file:

Re: build problem ?

2001-07-24 Thread Assar Westerlund
Olivier Cortes [EMAIL PROTECTED] writes: fool, fool, fool am i. here it is : -- mkdep -f .depend -a -nostdinc -DDISASSEMBLER -DNO_X -I/usr/obj/usr/build/src/i 386/usr/include Make sure you have usr.bin/doscmd/Makefile version 1.28 (or higher). /assar To

Re: IPSEC/IPSEC_ESP module(s)

2001-08-03 Thread Assar Westerlund
Kris Kennaway [EMAIL PROTECTED] writes: On Fri, Aug 03, 2001 at 02:25:56AM +0900, Hajimu UMEMOTO wrote: Is there any chance to enable IPSEC in GENERIC? I'm not sure how much that would bloat the kernel..there may not be space for it on the install floppy. I might misunderstand how the

Re: What's touching my executables?

2001-08-03 Thread Assar Westerlund
Will Andrews [EMAIL PROTECTED] writes: Probably the recent change (IIRC) that someone turned running an executable into a mtime change. Which change is that? /assar To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: kernel crash via /usr/bin/ktrace

1999-12-15 Thread Assar Westerlund
[EMAIL PROTECTED] writes: While testing ktrace today for the FreeBSD-Audit project with smashwidgets, I left the room and came back to my bios booting up. Unfortunatly smashwidgets wasn't in full logging mode for speed, so I don't know what arguments or environment variablesm were executed to

problems rebooting (hanging on ata0)

2000-01-30 Thread Assar Westerlund
I've had the following problem with several recent versions of current. (dmesg of maching included below) Typing `reboot' kills everything but doesn't reboot machine. And then when I break into DDB and type panic twice it tries to dump but then it fails and goes into an infinite loop of `ad0:

Re: problems rebooting (hanging on ata0)

2000-01-30 Thread Assar Westerlund
Nick Hibma [EMAIL PROTECTED] writes: Same message here, but after a panic of the USB subsystem. I blamed the current spl. Until I did a 'call splx(0)' right before giving the command panic. It still did not give me a dump. There seems to be two problems here: 1) It hangs instead of rebooting

Re: panic: zone: entry not free

1999-02-28 Thread Assar Westerlund
Eivind Eklund eiv...@freebsd.org writes: That is, INVARIANTS in kernel incompatible with dynamic loading. Somehow this strikes me as a Bad Thing... It _is_ a bad thing. I've been pondering what to do with the intrusive invariant checks - make them dependent on INTRUSIVE_INVARIANTS,

Re: panic: zone: entry not free

1999-02-28 Thread Assar Westerlund
Bruce Evans b...@zeta.org.au writes: I think that the goal should be to make KLDs work with all kinds of kernels. And the only place where this seems to be a problem is with zalloc and zfree. So it seems to me that one of the following could be done to solve it: a. make zalloc and zfree

Re: gcc

1999-03-01 Thread Assar Westerlund
Jonathan Lemon jle...@americantv.com writes: How about getting profiling working for ELF kernels before before completely abandoning a.out? There are patches for that in kern/9413 but I haven't got any feedback on them at all. /assar To Unsubscribe: send mail to majord...@freebsd.org with

zzz crashing in current OR inthand_remove not removing handlers properly

1999-05-16 Thread Assar Westerlund
Hi, on a -current from around a week ago `zzz' always managed to crash my machine. The relevant parts from the panic and the backtrace are included below. It seems that the cause of this was a stray interrupt was arriving after having unloaded the driver. For some reason it wasn't handled by

Re: zzz crashing in current OR inthand_remove not removing handlers properly

1999-05-17 Thread Assar Westerlund
David O'Brien obr...@freebsd.org writes: With that and Assar's patch, my vaio is reasonably usable. (I hook it up to the ethernet at work, so having to shut down to remove the card or even just suspend is rather tedious.) Does/did your laptop freeze when you ejected the PC Card? My