Re: mbuf allocation error

2000-11-09 Thread Bill Fumerola
[ don't cross post, followups to hackers (was on stable) ] On Thu, Nov 09, 2000 at 11:23:27AM +, Kaltashkin Eugene wrote: #netstat -m 567/2176/4096 mbufs in use (current/peak/max): 317 mbufs allocated to data 250 mbufs allocated to packet headers 296/1024/1024 mbuf

Re: daemon()

2000-11-09 Thread Doug Barton
Terry Lambert wrote: [snippage] exactly. this does not happen if I run this program from tcsh (but does if I run from bash 1.14.7(1) built from ports thanks! All in all, bash is pretty buggy. The originator already stated that the bug doesn't appear in bash 2. Using bash 1 as

Re: post-install of kernal sources, maxusers max?

2000-11-09 Thread Leif Neland
On Wed, 8 Nov 2000, Len Conrad wrote: Sorry to bother you hackers, but -questions isn't responding, and the handbook and Complete/Lehey don't, afaics, cover this situation explicitly. I can't really afford to screw up this production machine and start over from fresh disk, nor futz

Re: RPC not taking the same service twice: a bug or a security measure?

2000-11-09 Thread opentrax
On 8 Nov, Bill Paul wrote: A coworker seems to have found an issue with portmap on FreeBSD. Aparently, if you try and register the same service twice, but with different protocols (UDP vs TCP), it doesn't work. I'm not entirely sure I believe this, and I am digging for more details, but I

Re: What about rc.shutdown.local?

2000-11-09 Thread Christoph Sold
[ Redirected from [EMAIL PROTECTED] to [EMAIL PROTECTED] ] Jimmy Olgeni schrieb: It would be nice to have a /etc/rc.shutdown.local called by /etc/rc.shutdown, to implement custom shutdown procedures. This is currently done by editing rc.shutdown, but you have to remember about it when you

Re: What about rc.shutdown.local?

2000-11-09 Thread Charlie
This already happens... at least in rc.shutdown v1.15: # $FreeBSD: src/etc/rc.shutdown,v 1.15 2000/10/20 20:26:05 ache Exp $ -Steve On Thu, Nov 09, 2000 at 04:16:07PM +0100, Christoph Sold wrote: [ Redirected from [EMAIL PROTECTED] to [EMAIL PROTECTED] ] Jimmy Olgeni schrieb: It would

Re: Help writing a screen saver module

2000-11-09 Thread Graham Wheeler
Dan Nelson wrote: In the last episode (Nov 07), Dag-Erling Smorgrav said: Graham Wheeler [EMAIL PROTECTED] writes: I am trying to write a screen saver module that, when it kicks in, will switch to the first console, and then, if a key is pressed, will switch back to the one that was

Re: RPC not taking the same service twice: a bug or a security measure?

2000-11-09 Thread Nick Sayer
[EMAIL PROTECTED] wrote: On 8 Nov, Bill Paul wrote: A coworker seems to have found an issue with portmap on FreeBSD. Aparently, if you try and register the same service twice, but with different protocols (UDP vs TCP), it doesn't work. I'm not entirely sure I believe this, and I am

Re: iowait CPU state

2000-11-09 Thread void
On Tue, Nov 07, 2000 at 04:13:30PM +0100, Dag-Erling Smorgrav wrote: void [EMAIL PROTECTED] writes: I've been using Solaris a lot lately, and I've noticed that in e.g. top's output, it has a distinct CPU state called "iowait", which seems to be a pretty good indicator of how I/O-bound a

PPPD!

2000-11-09 Thread petro
Hello! I try to start pppd but always receive such message when start pppd Device cuaa0 is busy... What I must do, I try to kill all pppd and then start again, but again receive such message, before rebbot everything works fine Thank you... To Unsubscribe: send mail to [EMAIL PROTECTED]

Re: close call in a device ?

2000-11-09 Thread Terry Lambert
To add to this, the close calls can be forces; there is a flag in the device structure wich can force notification. I'm not sure what it does over a fork(), though: I think you really want open notification. You mean that when I register my device/kernel module, I can explicitely

Re: [OT] serial protocol analyzer

2000-11-09 Thread John Polstra
In article 3A0AF50D.16530.974B26@localhost, Leonard den Ottolander [EMAIL PROTECTED] wrote: I was wondering if somebody could point me out a serial protocol analyzer. Maybe analyzer is too big a word for what I am looking for (I could be the analyzer :) ). What I am thinking of is a piece

USB-to-SCSI converter

2000-11-09 Thread James FitzGibbon
I have a Microtech USB to SCSI converter (see http://www.microtechint.com/qs-usbscsi.html for details). Under Windows (having installed the driver that comes with), everything works without issue. Under BSD, I get this on boot: umass0: Microtech International, Inc. USB-SCSI-HD50, rev

Re: USB-to-SCSI converter

2000-11-09 Thread Nick Hibma
This is not a problem as the thing works although it displays the message. Because it does not support the call it gives an indication that multi LUN devices are not supported. I have one of these cables and managed to newfs a 4Gb SCSI drive. Was anything connected to the cable when you

Re: USB-to-SCSI converter

2000-11-09 Thread Chris Dillon
On Thu, 9 Nov 2000, Nick Hibma wrote: This is not a problem as the thing works although it displays the message. Because it does not support the call it gives an indication that multi LUN devices are not supported. I have one of these cables and managed to newfs a 4Gb SCSI drive. Was

Re: USB-to-SCSI converter

2000-11-09 Thread James FitzGibbon
* Nick Hibma ([EMAIL PROTECTED]) [001109 14:52]: This is not a problem as the thing works although it displays the message. Because it does not support the call it gives an indication that multi LUN devices are not supported. I have one of these cables and managed to newfs a 4Gb SCSI

No Subject

2000-11-09 Thread Edvard Gess
Hello, dear friends!!! Sorry for mistakes I am from Lithuania :-) I'm 16 years old and I can't live without FreeBSD ! I wantto develope it, but I think that I have not enougth knowledge :-( In my country I can't get FreeBSD :-( And my connection speed is 16k(I can't get FreeBSD from the

FreeBSD Foundation: Examples of FreeBSD as teaching aid/research plat

2000-11-09 Thread Justin T. Gibbs
As some of you may know, I'm working on a 501(c)3 (tax exempt/non-profit) determination for the FreeBSD Foundation. The IRS seems to be a little confused about the nature of FreeBSD and we're currenlty working on a response to an initial determination from the IRS that was not favorable. One

aio_read() broken functionality.

2000-11-09 Thread Dmitry Sychov
Greetings. According to manual the aio_offset field of the aiocb structure is ignored in the aio_read() call. So one can read the file only from beginning. Very bad for me. :-( Will this bug be fixed in FreeBSD 5.0? Thank you! Dmitry

Repeatable STL core with -pthread

2000-11-09 Thread James FitzGibbon
We're having a problem with threaded programs that use the STL. Given the following program: --START-- #include string #include pthread.h typedef mapint, int mymap_t; #ifdef GLOBLOCK pthread_mutex_t glob_mut; #endif void *run(void *) { while (1) { string f("");

Re: aio_read() broken functionality.

2000-11-09 Thread Alfred Perlstein
* Dmitry Sychov [EMAIL PROTECTED] [001109 13:06] wrote: Greetings. According to manual the aio_offset field of the "aiocb" structure is ignored in the aio_read() call. So one can read the file only from beginning. Very bad for me. :-( Will this bug be fixed in FreeBSD 5.0? Hrm, parsing

Modifying msgrcv() and msgsnd()

2000-11-09 Thread Bjorn Tornqvist
Hi! I'm going to add 2 functioncalls to the kernel; msgrcv_t() msgsnd_t() ("t" as in timeout) where the user will be able to specify a maximum amount of time they are prepared to wait for a message to be sent or become available. I just wonder if the rest of the freebsd community is interested

Re: Modifying msgrcv() and msgsnd()

2000-11-09 Thread Alfred Perlstein
* Bjorn Tornqvist [EMAIL PROTECTED] [001109 13:38] wrote: Hi! I'm going to add 2 functioncalls to the kernel; msgrcv_t() msgsnd_t() ("t" as in timeout) where the user will be able to specify a maximum amount of time they are prepared to wait for a message to be sent or become

Re: Modifying msgrcv() and msgsnd()

2000-11-09 Thread Jacques A. Vidrine
On Thu, Nov 09, 2000 at 04:38:35PM +0100, Bjorn Tornqvist wrote: I'm going to add 2 functioncalls to the kernel; msgrcv_t() msgsnd_t() ("t" as in timeout) where the user will be able to specify a maximum amount of time they are prepared to wait for a message to be sent or become available.

Re: USB-to-SCSI converter

2000-11-09 Thread Nick Hibma
Which version of the OS? Please update to a recent release of 4-STABLE if you are not there. Did you do a camcontrol rescan 0? What does that produce? All you will need is kldload usb kldload cam kldload umass or compile with the following options (I am not sure

Re: USB-to-SCSI converter

2000-11-09 Thread Nick Hibma
Hm, I missed the zip story. You seem to have all the bits that are necessary in your kernel. Could you compile your kernel/module with UMASS_DEBUG defined and send me the output after an attach? The 'GetMAXLUN not supported' thing does not make the driver fail, it makes it just assume that the

Re: USB-to-SCSI converter

2000-11-09 Thread Nick Hibma
The cable is pretty decent and the fact that it does not support the call is not a problem. Nick On Thu, 9 Nov 2000, Chris Dillon wrote: On Thu, 9 Nov 2000, Nick Hibma wrote: This is not a problem as the thing works although it displays the message. Because it does not support the call

Re: Repeatable STL core with -pthread

2000-11-09 Thread Jack Rusher
James FitzGibbon wrote: The program will core after about 10 seconds, every time. It would appear that there is an issue with some low-level allocator in the STL as shipped in 4.x. Dude. The STL implementation that ships with g++ isn't thread safe. In fact, if you read the STL portion

bad hardware?

2000-11-09 Thread Keith Simonsen
Hi guys, Just curious if anyone has come across this error before, because I haven't... Nov 9 16:05:00 auth.info peach sshd[9275]: Disconnecting: Corrupted check bytes on input. Does anyone think it could be bad ram? I'm going to cvsup and run a buildworld and see how that goes... Thanks

Re: iowait CPU state

2000-11-09 Thread void
On Fri, Nov 10, 2000 at 12:33:31PM +1000, [EMAIL PROTECTED] wrote: On Thu, 9 Nov 2000, void wrote: not how busy the disks are. I want relative data, not absolute. systat -vmstat? Thank you! This gets the me disk %busy, which is one of the things I was looking for. Now, can anyone tell

printf()

2000-11-09 Thread Zhenhai Duan
A simple question: Does the kernel function printf() flushes the output immediately, or it is possible some data is buffered somewhere and gets lost without printing to the console? like the corresponding funtion in the c library. Thanks. --Zhenhai To Unsubscribe: send mail to [EMAIL

Re: printf()

2000-11-09 Thread Alfred Perlstein
* Zhenhai Duan [EMAIL PROTECTED] [001109 21:09] wrote: A simple question: Does the kernel function printf() flushes the output immediately, or it is possible some data is buffered somewhere and gets lost without printing to the console? like the corresponding funtion in the c library. It's

Re: aio_read() broken functionality.

2000-11-09 Thread Wes Peters
Alfred Perlstein wrote: * Dmitry Sychov [EMAIL PROTECTED] [001109 13:06] wrote: Greetings. According to manual the aio_offset field of the "aiocb" structure is ignored in the aio_read() call. So one can read the file only from beginning. Very bad for me. :-( Will this bug be