Re: /bin/sh dumps core with here-document of 8bit text

2000-07-28 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Jun Kuriyama wrote: > #!/bin/sh > cat < [8bit text which contains 0x82 character] > EOF I'm very short of time these days, but here are thoughts and a backtrace: 0x82 == \202 == CTLVAR in the parser. For real variable expansion, the parser inserts \202 into the input s

Re: Mouse behaving funny since 5.0-CURRENT upgrade

2000-07-28 Thread Donn Miller
Kazutaka YOKOTA wrote: > > Try the attached patch for /sys/isa/psm.c, and please report the > result. Actually, I use the mse0 device, because I have an isa bus mouse. -- - Donn To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: /bin/sh dumps core with here-document of 8bit text

2000-07-28 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Hajimu UMEMOTO wrote: > > On Fri, 28 Jul 2000 12:09:51 +0900 > > Jun Kuriyama <[EMAIL PROTECTED]> said: > > kuriyama> Shell script which contains here-document of 8bit text sometimes dumps > kuriyama> core. For example, please test this script in 4.1 or -current.

Another minor mouse problem w/XFree86-4

2000-07-28 Thread Greg Pavelcak
I suppose there are several places that this difficulty may be located. I have a Logitech Trackball. I have tried it on the serial port and the PS/2 port and have the same problem in both places: 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Jul 27 06:00:20 EDT 2000 XFree86-3.3.6 and TkDesk-1.2 I rig

Re: Mouse behaving funny since 5.0-CURRENT upgrade

2000-07-28 Thread Kazutaka YOKOTA
>Kazutaka YOKOTA wrote: >> >> Try the attached patch for /sys/isa/psm.c, and please report the >> result. > >Actually, I use the mse0 device, because I have an isa bus mouse. > >-- >- Donn Robert, I still want you to try my patch, as you are using the PS/2 mouse. Donn, would you please run mo

Re: Another minor mouse problem w/XFree86-4

2000-07-28 Thread Kazutaka YOKOTA
>I have a Logitech Trackball. I have tried it on the serial port >and the PS/2 port and have the same problem in both places: > >5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Jul 27 06:00:20 EDT 2000 >XFree86-3.3.6 and >TkDesk-1.2 > >I right click on a directory or file in TkDesk, and a popup menu >app

HEADS UPS: loader.conf's null_load renamed

2000-07-28 Thread Sheldon Hearn
I've just renamed the nullfs kernel module from null to nullfs. The only impact that this may have on some people is as follows: If you have null_load="YES" in your /boot/loader.conf, you will need to change that to nullfs_load="YES". Apologies for the inconvenience to the folks who use the nu

Re: Mouse behaving funny since 5.0-CURRENT upgrade

2000-07-28 Thread Kazutaka YOKOTA
>Donn, would you please run moused at higher priority, (for example, >"nice -5 moused..." or "nice -10 moused...",) in order to see if this Oh, I meant "nice --5 mouse..." and "nice --10 moused..." :-) Kazu >is caused by moused somewhat not running in a timely manner. > >Kazu To Unsubscribe:

Re: Panic: lockmgr: pid 5, not exclusive lock holder 0 unlocking

2000-07-28 Thread Sheldon Hearn
On Wed, 26 Jul 2000 16:43:04 MST, Kirk McKusick wrote: > I have had a number of complaints of this sort which seem to be > somehow related to recursive buffer locks. Since the recursive > locks are only needed to prevent deadlock when mounting snapshots > I decided to back out the use of recurs

new libstdc++ works?

2000-07-28 Thread yasu
It seems new libstdc++ called libstdc++-v3 (http://gcc.gnu.org/) was released around this April. I tried to install it on FreeBSD to get better STL support, but it failed for me. Is there any plan to support it, or does someone succeed to port to FreeBSD? Any information is appreciated. -- Yasuhi

Re: /bin/sh dumps core with here-document of 8bit text

2000-07-28 Thread Andrey A. Chernov
On Fri, Jul 28, 2000 at 09:47:08AM +0200, Martin Cracauer wrote: > ! if (c >= CTLESC && c <= CTLQUOTEMARK) { > synentry = CWORD; > ! fprintf(stderr, > ! "Warning: internal control charact

Re: /bin/sh dumps core with here-document of 8bit text

2000-07-28 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Andrey A. Chernov wrote: > On Fri, Jul 28, 2000 at 09:47:08AM +0200, Martin Cracauer wrote: > > ! if (c >= CTLESC && c <= CTLQUOTEMARK) { > > synentry = CWORD; > > ! fprintf(stderr, > > !

Re: /bin/sh dumps core with here-document of 8bit text

2000-07-28 Thread Andrey A. Chernov
On Fri, Jul 28, 2000 at 09:03:49AM +0200, Martin Cracauer wrote: > 1) It seems that you can work around the coredump by looking at the >next char after \202. For real expansions of variables in >here-documents that is \201. Once can probably determine all >possible legal combinations

Re: /bin/sh dumps core with here-document of 8bit text

2000-07-28 Thread Andrey A. Chernov
On Fri, Jul 28, 2000 at 03:20:19PM +0200, Martin Cracauer wrote: > Please refer to my previous mail. I think it's better to extend the > internal character handling to int* instead of obfuscating it even > more with escape sequences (remember that they are processed multiple > times and such thin

Re: /bin/sh dumps core with here-document of 8bit text

2000-07-28 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Andrey A. Chernov wrote: > On Fri, Jul 28, 2000 at 09:03:49AM +0200, Martin Cracauer wrote: > > 1) It seems that you can work around the coredump by looking at the > >next char after \202. For real expansions of variables in > >here-documents that is \201. Once c

Re: Mouse behaving funny since 5.0-CURRENT upgrade

2000-07-28 Thread Donn Miller
Kazutaka YOKOTA wrote: > > >Donn, would you please run moused at higher priority, (for example, > >"nice -5 moused..." or "nice -10 moused...",) in order to see if this > > Oh, I meant "nice --5 mouse..." and "nice --10 moused..." :-) Tried this. It doesn't fix the problem. The mouse is still

Re: HEADS UPS: loader.conf's null_load renamed

2000-07-28 Thread Matthew Jacob
That's groovy, Sheldon.. could you maybe fix nullfs while you're at it, too? :-) On Fri, 28 Jul 2000, Sheldon Hearn wrote: > > I've just renamed the nullfs kernel module from null to nullfs. The > only impact that this may have on some people is as follows: > > If you have null_load="YES" i

Re: HEADS UPS: loader.conf's null_load renamed

2000-07-28 Thread Sheldon Hearn
On Fri, 28 Jul 2000 06:44:17 MST, Matthew Jacob wrote: > That's groovy, Sheldon.. could you maybe fix nullfs while you're at > it, too? :-) I doubt it. I'm not brave enough to go past getting a file listing within a null mount. :-) Ciao, Sheldon. To Unsubscribe: send mail to [EMAIL PROTECT

Re: HEADS UPS: loader.conf's null_load renamed

2000-07-28 Thread Matthew Jacob
Tsk. Coward. I ran for at least a week mounting /usr/src/sys/compile on top an NFS mounted /usr/src/sys before I panic'd (and read the NOTES file) Tsk. It's too bad. This works in NetBSD :-) On Fri, 28 Jul 2000, Sheldon Hearn wrote: > > > On Fri, 28 Jul 2000 06:44:17 MST, Matthew Jacob

Re: Mouse behaving funny since 5.0-CURRENT upgrade

2000-07-28 Thread Kazutaka YOKOTA
>> Oh, I meant "nice --5 mouse..." and "nice --10 moused..." :-) > >Tried this. It doesn't fix the problem. The mouse is still jumpy no >matter what the nice level. I believe it's a problem with syscons as >a whole. For example, whenever I switch to a VC and do kbdcontrol -r >240.34 to get a

Re: Mouse behaving funny since 5.0-CURRENT upgrade

2000-07-28 Thread Donn Miller
Kazutaka YOKOTA wrote: > I find quite hard to believe this was caused by recent syscons > changes. Because these changes are about /dev/random thingie and > color attribute handling in terminal emulator part of syscons. They > have nothing to do with keyboard and mouse input. > > I am suspectin

Re: Mouse behaving funny since 5.0-CURRENT upgrade

2000-07-28 Thread Alexander Leidinger
On 28 Jul, Donn Miller wrote: >> I am suspecting there may be something in tty interrupt handling in >> general in the kernel... > > This sounds right. When I use X without /dev/sysmouse and moused, > mouse motion is still pretty smooth. It's only when I use X with > moused AND /dev/sysmouse t

3dfx driver

2000-07-28 Thread Coleman Kane
For those who have opted to test my 3dfx driver, I have debugging messages layered in the section that is causing problems. Define the DEBUG option in your kernel, you may have to add makeoptions -DDEBUG -g to the config file as well. Then add the device tdfx line. If you want to use the kld, the

Re: Mouse behaving funny since 5.0-CURRENT upgrade

2000-07-28 Thread Robert Watson
Kazu, Nope, it didn't appear to help. When I move the mouse around, it intermitently pauses, perhaps once a second, for a short period of time. Robert On Fri, 28 Jul 2000, Kazutaka YOKOTA wrote: > Try the attached patch for /sys/isa/psm.c, and please report the > result. > > Kazu > > >Robe

Re: Panic: lockmgr: pid 5, not exclusive lock holder 0 unlocking

2000-07-28 Thread Brian Fundakowski Feldman
On Fri, 28 Jul 2000, Sheldon Hearn wrote: > > Just a quick note to let you two gentlement know that the problem > persists with rev 1.107 of buf.h. > > Brian, these are realy easy for me to reproduce on my own box here. Do > you want to send me the stuff for maintaining the queues that you sai

Re: Panic: lockmgr: pid 5, not exclusive lock holder 0 unlocking

2000-07-28 Thread Matthew Jacob
I'm running with softupdates on /, and it has happened to me several times. On Fri, 28 Jul 2000, Brian Fundakowski Feldman wrote: > On Fri, 28 Jul 2000, Sheldon Hearn wrote: > > > > > Just a quick note to let you two gentlement know that the problem > > persists with rev 1.107 of buf.h. > >

Re: Panic: lockmgr: pid 5, not exclusive lock holder 0 unlocking

2000-07-28 Thread Scott Flatman
On Fri, 28 Jul 2000, Brian Fundakowski Feldman wrote: > I havne't been able to reproduce this, but this case is going to have > more to do with analysis of the code than with "debugging", I think. > By chance are you running with softupdates enabled on /? If I can > reproduce it here, I will spe

Re: Mouse behaving funny since 5.0-CURRENT upgrade

2000-07-28 Thread Brian Fundakowski Feldman
On Fri, 28 Jul 2000, Robert Watson wrote: > Kazu, > > Nope, it didn't appear to help. When I move the mouse around, it > intermitently pauses, perhaps once a second, for a short period of time. Robert, how fast is the machine that it's pausing on? I have a feeling this could easily be Yarrow

a FS related patch to test please...

2000-07-28 Thread Poul-Henning Kamp
I'm in my beach-house and pretty offline right now, but I reviewed the change Kirk did to addaliasu() and found at least one scenario where it wouldn't do what he expected: If bdevvp() is called more than once with the same dev_t we would create more than one anonymous vnode for that dev_t and a

Re: new libstdc++ works?

2000-07-28 Thread David O'Brien
On Fri, Jul 28, 2000 at 09:48:15PM +0900, [EMAIL PROTECTED] wrote: > It seems new libstdc++ called libstdc++-v3 (http://gcc.gnu.org/) was > released around this April. I don't know that I would call it in a released state yet. libstdc++ v2 is still the one that is offical part of GCC 2.96. > Is

Re: Panic: lockmgr: pid 5, not exclusive lock holder 0 unlocking

2000-07-28 Thread Andrey A. Chernov
On Fri, Jul 28, 2000 at 11:36:26AM -0700, Scott Flatman wrote: > On Fri, 28 Jul 2000, Brian Fundakowski Feldman wrote: > > > I havne't been able to reproduce this, but this case is going to have > > more to do with analysis of the code than with "debugging", I think. > > By chance are you running

Re: Netscape

2000-07-28 Thread Slawek Zak
Kris Kennaway <[EMAIL PROTECTED]> writes: > > Are the fixed in Netscape 4.74 bugs not critical for release? > > Who knows? I don't know of any changelog for Netscape. Netscape 4.74 contains a fix for security critical bug in handling of jpeg images. The bug was found and published on the 25th o

Re: a FS related patch to test please...

2000-07-28 Thread Matthew Jacob
FWIW, works for me On Fri, 28 Jul 2000, Poul-Henning Kamp wrote: > > I'm in my beach-house and pretty offline right now, but I reviewed the > change Kirk did to addaliasu() and found at least one scenario where > it wouldn't do what he expected: > > If bdevvp() is called more than once with t

*** HEADS UP *** rc.conf changes (security)

2000-07-28 Thread Eivind Eklund
After discussion with obrien, jhb, and dwithe (and non-protests from the other committers present), I'm changing the defaults for remote services in /etc/defaults/rc.conf to the least dangerous configuration, and making sysinstall write out overrides for the variables to their former default value

Re: *** HEADS UP *** rc.conf changes (security)

2000-07-28 Thread Garance A Drosihn
At 12:41 AM +0200 7/29/00, Eivind Eklund wrote: >After discussion with obrien, jhb, and dwithe (and non-protests from >the other committers present), I'm changing the defaults for remote >services in /etc/defaults/rc.conf to the least dangerous >configuration, and making sysinstall write out overr

Re: *** HEADS UP *** rc.conf changes (security)

2000-07-28 Thread John Baldwin
Garance A Drosihn wrote: > At 12:41 AM +0200 7/29/00, Eivind Eklund wrote: > >After discussion with obrien, jhb, and dwithe (and non-protests from > >the other committers present), I'm changing the defaults for remote > >services in /etc/defaults/rc.conf to the least dangerous > >configuration, an

Re: *** HEADS UP *** rc.conf changes (security)

2000-07-28 Thread Doug Barton
Eivind Eklund wrote: > This change might seem a little counterintuitive (given that > /etc/defaults/ are for defaults, after all) but seems to be the best > compromise for both getting the functionality jkh wants (freshly > installed boxes have active daemons, so users don't feel they have a > lo

Re: *** HEADS UP *** rc.conf changes (security)

2000-07-28 Thread Will Andrews
On Sat, Jul 29, 2000 at 12:41:43AM +0200, Eivind Eklund wrote: > This means that anybody upgrading /etc/defaults/rc.conf needs to add > the following lines to rc.conf if they want to have the same setup > afterwards (unless the variables already are set, of course): > > # Enable network daemons f

Compilation failure in current as of cvs-cur 6562

2000-07-28 Thread Stephen Hocking
Anyone else seen this? chmod 755 /usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/auto/DynaLoader/DynaLoader .a cc -O -pipe -I/usr/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5 -I/usr/obj/usr/src/gnu/usr.bin/perl/perl -DPERL_CORE -I/usr/obj/usr/src/i386/usr/include -Wl,-E -L/usr/obj/usr/src/g

Joining the mailing list

2000-07-28 Thread scorch
I am interested in joining the mailing list for freebsdcurrent. This can be e-mailed to: [EMAIL PROTECTED] or [EMAIL PROTECTED] Thanks, Aaron Pickett -- Scorch To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

fcntl and /dev/random

2000-07-28 Thread Hiroyuki Hanai
Setting status flags using F_SETFL command of fcntl(2) on the file descriptor, which is returned by open(2)ing /dev/random, seems not to be supported. For example, when I run following code; #include #include #include main() { int fd; fd = open("/dev/random", O_RDONLY);

Re: *** HEADS UP *** rc.conf changes (security)

2000-07-28 Thread Jordan K. Hubbard
> Hopefully sysinstall will be smarter about writing these overrides > than it is about writing the "USA_RESIDENT=NO" override to /etc/make.conf. It doesn't do that anymore. - Jordan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Mouse behaving funny since 5.0-CURRENT upgrade

2000-07-28 Thread Robert Watson
On Fri, 28 Jul 2000, Brian Fundakowski Feldman wrote: > On Fri, 28 Jul 2000, Robert Watson wrote: > > > Nope, it didn't appear to help. When I move the mouse around, it > > intermitently pauses, perhaps once a second, for a short period of time. > > Robert, how fast is the machine that it's pa