Re: How to dump a 4gig system on panic ?

2002-05-16 Thread Andrew
On Thu, 16 May 2002, Marc G. Fournier wrote: > So, how do ppl go about doing such a dump in a case like this, or > am I totally out of luck on this? Is there any way of using that 8gig for > this? Have you tried: vnconfig -e /dev/vn0b /v/swap swap I don't know it it works or not but

Re: pccard hang - how to start debugging?

2002-05-16 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Thomas David Rivers <[EMAIL PROTECTED]> writes: : : OK - : : pccard (or, more likely, the pcic driver) hangs when I insert : my ethernet card into the pcmcia slot on my VAIO F480 (with : 4.5-RELEASE.) : : The entire machine is hung up tight. : :

RE:

2002-05-16 Thread Adam Migus
James, You could use dummynet(4) to introduce delays, limit throughput, etc. You could also play with the various sysctl(8) variables. net.inet.ip.rtexpire net.inet.ip.rtminexpire net.inet.ip.rtmaxcache net.inet.tcp.delacktime net.inet.tcp.delayed_ack Just to name a few. Trying doing: sysctl

How to dump a 4gig system on panic ?

2002-05-16 Thread Marc G. Fournier
Evening all ... I have a 4gig Dual CPU system that is giving me kernel panic's ... Doug White suggested getting a trace, but, alas, not figuring I'd ever need to do such, my swap looks like: jupiter# pstat -s Device 1K-blocks UsedAvail Capacity Type /dev/amrd0s1b

Re: c++ and dlerror(): Linux vs FreeBSD

2002-05-16 Thread Bernd Walter
On Thu, May 16, 2002 at 06:03:22PM -0700, Albert Kinderman wrote: > Disclaimer: I am not a programmer! > > I am trying to compile scribus-0.7.2, a Page Layout program, built > against qt3. /usr/ports/print/scribus contains scribus-0.5, which > is the qt2 version. > > On my Debian GNU/Linux,

c++ and dlerror(): Linux vs FreeBSD

2002-05-16 Thread Albert Kinderman
Disclaimer: I am not a programmer! I am trying to compile scribus-0.7.2, a Page Layout program, built against qt3. /usr/ports/print/scribus contains scribus-0.5, which is the qt2 version. On my Debian GNU/Linux, make works without a hitch. On my FreeBSD stable box, I get a series of errors

Re: tuning a CPU bound server

2002-05-16 Thread Alfred Perlstein
* Peter Wemm <[EMAIL PROTECTED]> [020516 17:12] wrote: [snip about select collisions] > > FreeBSD's "bug" is is twofold: > 1) we can only track one process selecting on a shared fd at one time, and > 2) we never deregister selects. Actually I think I did #2 under 5.x with 'sys_generic.c:clear_s

Re: tuning a CPU bound server

2002-05-16 Thread Peter Wemm
Alfred Perlstein wrote: > * Peter Wemm <[EMAIL PROTECTED]> [020516 15:41] wrote: > > > > The only real problem that I know of with postfix is that it still suffers > > from select(2) collisions (FreeBSD kernel problem) when it tries to shut > > down a bunch of idle smtp senders. That can cause t

je ne pourrais pas te voir demain

2002-05-16 Thread stephtonze
Warning Unable to process data: multipart/mixed;boundary="=_NextPart_000_00E7_20A23B1E.A8326D77"

HEADS UP: ALTQ integration developer preview

2002-05-16 Thread Adrian Penisoara
We have started a "ALTQ integration in FreeBSD" project which is headed towards integrating Mr. Kejiro's ALTQ framework into FreeBSD 5.0-current (and perhaps 4-stable later). The FreeBSD Core Team has been advised and we have received on principle approval. We are looking for help with committ

Re: tuning a CPU bound server

2002-05-16 Thread Alfred Perlstein
* Peter Wemm <[EMAIL PROTECTED]> [020516 15:41] wrote: > > The only real problem that I know of with postfix is that it still suffers > from select(2) collisions (FreeBSD kernel problem) when it tries to shut > down a bunch of idle smtp senders. That can cause transient load average > spikes - t

Re: tuning a CPU bound server

2002-05-16 Thread Peter Wemm
Doug White wrote: > qmail is also very inefficient when it comes to large delivery -- the fork > per message and the qmail-remote trigger-hitting will eventually > bottleneck you. It's probable you've run into it. My sympathies. :) You > might try *dropping* concurrencyremote somewhat to reduce

Re: writing a driver for the IBM ultraport camera (USB)

2002-05-16 Thread Carlos Ugarte
> I would like to write a driver for FreeBSD, using the Linux driver as a > reference. Since I am new to USB programming, could you give me some hints > on where to start? Is there an existing FreeBSD USB driver that I can use > as a skeleton? I'm working on a similar project - a FreeBSD dri

Free Gift with Tom Lehman endorsed Golfers Kit ®

2002-05-16 Thread sales
Warning Unable to process data: multipart/mixed;boundary="=_NextPart_000_00V8_70Z11A1C.D1222H33"

Re: reboot your own jail ?

2002-05-16 Thread Marc G. Fournier
from the man page: Managing the Jail Normal machine shutdown commands, such as halt(8), reboot(8), and shutdown(8), cannot be used successfully within the jail. To kill all processes in a jail, you may log into the jail and, as root, use one of the following commands, dep

Re: postfix

2002-05-16 Thread void
On Wed, May 15, 2002 at 03:08:17PM -0300, O Senhor wrote: >Do you know about performance in postfix? I have on FreeBSD (4.5) box > running postfix and delivering mail in 65.000 mailboxes... I know about > maildirs... but, how maildir would help me??? The postfix delivery agent > simply can't d

Re: national security backdoor in FreeBSD.

2002-05-16 Thread Terry Lambert
Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, David Schultz writes: > >Thus spake Poul-Henning Kamp <[EMAIL PROTECTED]>: > > >> That was from Brians ACM Turning award thankyou-presentation. > > > >http://www.acm.org/classics/sep95/ > > Ahh, at least I got one more parameter right th

Re: reboot your own jail ?

2002-05-16 Thread Peter Pentchev
On Thu, May 16, 2002 at 09:52:54AM -0700, Patrick Thomas wrote: > On Thu, 16 May 2002, Marc G. Fournier wrote: > > > > > web interface that is password protected that does: > > > > ssh root@ kill -TERM -1 > > > > why -TERM ? the jail man page recommends -KILL ... just curious... Uhm..

Re: reboot your own jail ?

2002-05-16 Thread Patrick Thomas
why -TERM ? the jail man page recommends -KILL ... just curious... On Thu, 16 May 2002, Marc G. Fournier wrote: > > web interface that is password protected that does: > > ssh root@ kill -TERM -1 > > > > > > On Thu, 16 May 2002, Patrick Thomas wrote: > > > > > currently I reboot j

Re: reboot your own jail ?

2002-05-16 Thread Peter Pentchev
On Thu, May 16, 2002 at 05:58:42PM +0200, Attila Nagy wrote: > Hello, > > > Yes, for your particular kind of jail :) And as a matter of fact, most > > things could be started like that, indeed.. Seems I need to really wake > > up and start thinking, and think myself away from the 'default' conc

Re: reboot your own jail ?

2002-05-16 Thread Marc G. Fournier
web interface that is password protected that does: ssh root@ kill -TERM -1 On Thu, 16 May 2002, Patrick Thomas wrote: > > currently I reboot jails with this process: > > 1. someone logs into the jail and runs `kill -KILL -1` > 2. someone logs onto the BASE mach

Re: dummynet

2002-05-16 Thread Luigi Rizzo
On Thu, May 16, 2002 at 11:18:30AM -0400, Gary Stanley wrote: > Thanks for the answers on my previous thread. Now on to a more, boring > topic? ;-) > > I have dummynet, kind of, set up a way I want. The question is, Is it > possible to limit everyone that downloads foo.bar to a certain rate, ie

Re: reboot your own jail ?

2002-05-16 Thread Attila Nagy
Hello, > Yes, for your particular kind of jail :) And as a matter of fact, most > things could be started like that, indeed.. Seems I need to really wake > up and start thinking, and think myself away from the 'default' concept > of starting a full-fledged /bin/sh /etc/rc jail. Why would a /bin

Re: remotely restoring over a live working system

2002-05-16 Thread Dan Langille
On 15 May 2002 at 14:55, Doug White wrote: > On Wed, 15 May 2002, Dan Langille wrote: > > > A disk in remote 4.5-stable box started to develop bad clusters. The > > hosting company replaced the drive for me. I now have a 4.5-RELEASE > > system (they have 4.5-RELEASE drives as stock items). > >

Re: reboot your own jail ?

2002-05-16 Thread Peter Pentchev
On Thu, May 16, 2002 at 05:10:06PM +0200, Attila Nagy wrote: > Hello, > > > Okay, forget I said anything about supervise; it does not seem to be > > applicable for jails at all :( > Why? > > ns# cat /var/service/ns.XXX.hu/run > #!/bin/sh > > exec /usr/sbin/jail /data/jail/ns.XXX.hu ns.XXX.hu 19

Re: Question about the compile a kernel for Sparc

2002-05-16 Thread Kenneth Culver
> > or would I need extra tools for cross compiling I think I would cos you did > for the powerpc port that I never got around to going all the way with. Most likely you'd need the cross-compiling tools. Ken > > any help appreciated. > > Bri, > > > > To Unsubscribe: send mail to [EMAIL PROTECTED

dummynet

2002-05-16 Thread Gary Stanley
Thanks for the answers on my previous thread. Now on to a more, boring topic? ;-) I have dummynet, kind of, set up a way I want. The question is, Is it possible to limit everyone that downloads foo.bar to a certain rate, ie, 176KByte/s per each -connecting- IP? I tried many different ways and

Question about the compile a kernel for Sparc

2002-05-16 Thread Bri
if i install FreeBSD 5.0-DP1 on i386 or upgrade my 4.5-RELEASE would I be able to compile a sparc kernel by going into the conf directory for the sparc architechure and configuring a new config file and then doing as follows. assuming here I have the sources already installed. config MY_KERNEL_

Re: reboot your own jail ?

2002-05-16 Thread Attila Nagy
Hello, > Okay, forget I said anything about supervise; it does not seem to be > applicable for jails at all :( Why? ns# cat /var/service/ns.XXX.hu/run #!/bin/sh exec /usr/sbin/jail /data/jail/ns.XXX.hu ns.XXX.hu 192.168.2.2 \ /usr/local/sbin/chrootuid / bind /usr/local/sbin/named -c \ /etc/bind

Re: reboot your own jail ?

2002-05-16 Thread Peter Pentchev
On Thu, May 16, 2002 at 04:22:19PM +0200, Karsten W. Rohrbach wrote: > Attila Nagy([EMAIL PROTECTED])@2002.05.16 13:50:02 +: > > Hello, > > > > > In theory, you could use ports/sysutils/daemontools/, specifically the > > > 'supervise' utility. I have been thinking about setting up a jail usi

Re: reboot your own jail ?

2002-05-16 Thread Attila Nagy
Hello, > fghack, included in daemontools, makes backgrounding daemons running > bound in the foreground, at the expense of FDs. just a sidenote. I know that. I just wrote that line, because there are several people who run /bin/sh /etc/rc in their jails. daemontools doesn't seem to be a good tool

Re: reboot your own jail ?

2002-05-16 Thread Karsten W. Rohrbach
Attila Nagy([EMAIL PROTECTED])@2002.05.16 13:50:02 +: > Hello, > > > In theory, you could use ports/sysutils/daemontools/, specifically the > > 'supervise' utility. I have been thinking about setting up a jail using > > a supervised service for some time now, never had the time to actually >

Re: 4.5-RELEASE generic kernel crashing on sysctl -a

2002-05-16 Thread Marc G. Fournier
On Thu, 16 May 2002, Gautham Ganapathy wrote: > Hi > > I had posted this sometime back, but didn't receive much feedback > > After installing 4.5-RELEASE, (BSD Mall Feb 2002 CD), when I ran > 'sysctl -a', the kernel crashed with the foll message. > > Fault trap 12: page fault while in kernel mo

pqv소박한 꿈@mBGRx

2002-05-16 Thread esbeor1f
¿¬¾Ö¶õ ³²ÀÚ°¡ ´Ü ÇÑ »ç¶÷ÀÇ ¿©ÀÚ¿¡ ¸¸Á·Çϱâ À§ÇØ Ä¡·ç´Â ³ë·ÂÀÌ´Ù. -Ç® Á¦¶ó¸£µð ±¸Çؼ­ ¾òÀº »ç¶ûÀº ÁÁÀº °ÍÀÌ´Ù. ±×·¯³ª ±¸ÇÏÁö ¾Ê°í ¾òÀº °ÍÀº ´õ¿í ÁÁ´Ù. -¼ÎÀͽºÇÇ¾î »ç¶ûÇÏ´Â °ÍÀÌ ÀλýÀÌ´Ù. ±â»ÝÀÌ ÀÖ´Â °÷¿¡ »ç¶÷°ú »ç¶÷ »çÀÌÀÇ °áÇÕÀÌ ¹ÞÀ¸½Ã´Â ºÐ²² ÇÊ¿äÇÑ Á¤º¸°¡ µÇ±æ ¹Ù¶ó¸ç º¸³»µå¸³´Ï´Ù. ±×·¸Áö ¾

pccard hang - how to start debugging?

2002-05-16 Thread Thomas David Rivers
OK - pccard (or, more likely, the pcic driver) hangs when I insert my ethernet card into the pcmcia slot on my VAIO F480 (with 4.5-RELEASE.) The entire machine is hung up tight. When I remove the card, everything comes "alive" again This clearly feels like a missed interrupt somewh

Re: writing a driver for the IBM ultraport camera (USB)

2002-05-16 Thread Marco Molteni
On Thu, 16 May 2002 11:34:51 +0100, Josef Karthauser <[EMAIL PROTECTED]> wrote: > On Thu, May 16, 2002 at 11:15:09AM +0200, Marco Molteni wrote: > > I have got a nifty IBM ultraport camera. It is an USB device that can plug > > directly on the lid of IBM laptops. [..] > Please check the NetBSD

Re: [F8G4C2A] 0, 650, 275

2002-05-16 Thread info
The tracking number for your request is [F8G4C2A]. Thank you for contacting pair Networks, Inc. We hope our World Class Web Hosting services will fulfill all of your hosting needs. We look forward to working with you. Your inquiry to [EMAIL PROTECTED] has been received and is now in our mail q

Re: reboot your own jail ?

2002-05-16 Thread Attila Nagy
Hello, > In theory, you could use ports/sysutils/daemontools/, specifically the > 'supervise' utility. I have been thinking about setting up a jail using > a supervised service for some time now, never had the time to actually > sit down and do it, though.. It works OK with services that don't g

Re: reboot your own jail ?

2002-05-16 Thread Peter Pentchev
On Thu, May 16, 2002 at 12:36:44AM -0700, Patrick Thomas wrote: > > currently I reboot jails with this process: > > 1. someone logs into the jail and runs `kill -KILL -1` > 2. someone logs onto the BASE machine and starts it up again. > > I wish I could do this without involving the

Re: writing a driver for the IBM ultraport camera (USB)

2002-05-16 Thread Josef Karthauser
On Thu, May 16, 2002 at 11:15:09AM +0200, Marco Molteni wrote: > Hi, > > I have got a nifty IBM ultraport camera. It is an USB device that can plug > directly on the lid of IBM laptops. > > >http://commerce.www.ibm.com/cgi-bin/ncommerce/ProductDisplay?cntrfnbr=1&prmenbr=1&prnbr=04P6135&cntry=84

writing a driver for the IBM ultraport camera (USB)

2002-05-16 Thread Marco Molteni
Hi, I have got a nifty IBM ultraport camera. It is an USB device that can plug directly on the lid of IBM laptops. http://commerce.www.ibm.com/cgi-bin/ncommerce/ProductDisplay?cntrfnbr=1&prmenbr=1&prnbr=04P6135&cntry=840&lang=en_US The only "technical" information in the documentation that come

Re: national security backdoor in FreeBSD.

2002-05-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, David Schultz writes: >Thus spake Poul-Henning Kamp <[EMAIL PROTECTED]>: >> That was from Brians ACM Turning award thankyou-presentation. > >http://www.acm.org/classics/sep95/ Ahh, at least I got one more parameter right than Terry :-) -- Poul-Henning Kamp

Re: tuning a CPU bound server

2002-05-16 Thread Omar Thameen
On Wed, May 15, 2002 at 02:53:49PM -0700, Doug White wrote: > On Wed, 15 May 2002, Omar Thameen wrote: > > Can you post a netstat -m from now? It will have the peak values in it. 1484/2016/34816 mbufs in use (current/peak/max): 914 mbufs allocated to data 64 mbufs allocated to p

reboot your own jail ?

2002-05-16 Thread Patrick Thomas
currently I reboot jails with this process: 1. someone logs into the jail and runs `kill -KILL -1` 2. someone logs onto the BASE machine and starts it up again. I wish I could do this without involving the admin of the base machine. Has anyone come up with a strategy for allowi