Re: Driver not unset properly after kldunload

2006-12-07 Thread Iasen Kostov
On Wed, 2006-12-06 at 11:35 -0500, John Baldwin wrote: ... > I don't see why this patch changes things. devclass_delete_device() only > clears dev->unit, dev->devclass, and dev->nameunit. device_set_driver() > doesn't check or clear any of those. In fact, your change does make > device_set_dr

Re: Heavy system load by pagedaemon

2006-05-12 Thread Iasen Kostov
On Fri, 2006-05-12 at 11:28 -0500, Mike Silbersack wrote: > On Fri, 12 May 2006, Iasen Kostov wrote: > > > On Fri, 2006-05-12 at 10:27 -0500, Mike Silbersack wrote: > >> Can you provide instructions on how to create a testbench that exhibits > >> these same pro

Re: Heavy system load by pagedaemon

2006-05-12 Thread Iasen Kostov
On Fri, 2006-05-12 at 10:27 -0500, Mike Silbersack wrote: > On Fri, 12 May 2006, Iasen Kostov wrote: > > > Exactly what i did :). I set vm.pmap.shpgperproc=600 in loader.conf and > > about 5 min after boot the system paniced and I was not able even to see > > the messa

Re: Heavy system load by pagedaemon

2006-05-12 Thread Iasen Kostov
On Fri, 2006-05-12 at 21:28 +1000, Peter Jeremy wrote: > On Fri, 2006-May-12 13:07:41 +0300, Iasen Kostov wrote: > >On Fri, 2006-05-12 at 17:17 +1000, Peter Jeremy wrote: > >> 'page daemon wakeups' counts the number of times that the pagedaemon > >> is woken up

Re: Heavy system load by pagedaemon

2006-05-12 Thread Iasen Kostov
On Fri, 2006-05-12 at 17:17 +1000, Peter Jeremy wrote: > On Thu, 2006-May-11 18:33:10 +0300, Iasen Kostov wrote: > > And another odd thing (to me atleast): > > > >#:> vmstat -s | grep "daemon\|fault" > >0 page daemon wakeups > >0

Re: Heavy system load by pagedaemon

2006-05-11 Thread Iasen Kostov
On Wed, 2006-05-10 at 15:43 +0300, Iasen Kostov wrote: > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > Hello > > > I (probably) have some problem with a hosting server machine halting >

Re: Heavy system load by pagedaemon

2006-05-11 Thread Iasen Kostov
On Wed, 2006-05-10 at 15:43 +0300, Iasen Kostov wrote: > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > Hello > > > I (probably) have some problem with a hosting server machine halting >

Re: Heavy system load by pagedaemon

2006-05-11 Thread Iasen Kostov
On Wed, 2006-05-10 at 11:49 -0500, Dan Nelson wrote: > In the last episode (May 10), Iasen Kostov said: > > On Wed, 2006-05-10 at 11:18 -0500, Dan Nelson wrote: > > > In the last episode (May 10), Iasen Kostov said: > > > > On Wed, 2006-05-10 at 15:32 +0300, Iasen

Re: Heavy system load by pagedaemon

2006-05-10 Thread Iasen Kostov
On Wed, 2006-05-10 at 11:18 -0500, Dan Nelson wrote: > In the last episode (May 10), Iasen Kostov said: > > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > > I (probably) have some problem

Re: Heavy system load by pagedaemon

2006-05-10 Thread Iasen Kostov
On Wed, 2006-05-10 at 16:15 +0300, Vasil Dimov wrote: > On Wed, May 10, 2006 at 03:43:58PM +0300, Iasen Kostov wrote: > > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > > Hello > >

Re: Heavy system load by pagedaemon

2006-05-10 Thread Iasen Kostov
On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > Hello > > I (probably) have some problem with a hosting server machine halting > > about once a 30 to minute (probably when the free memory falls under &g

Re: Heavy system load by pagedaemon

2006-05-10 Thread Iasen Kostov
On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > Hello > I (probably) have some problem with a hosting server machine halting > about once a 30 to minute (probably when the free memory falls under > some threshold). At that moment the machine totaly halts for about

Heavy system load by pagedaemon

2006-05-10 Thread Iasen Kostov
Hello I (probably) have some problem with a hosting server machine halting about once a 30 to minute (probably when the free memory falls under some threshold). At that moment the machine totaly halts for about 5 sec then resumes normal work with load average around 9-15 (depends on system

Re: mmap() sendfile()

2005-12-14 Thread Iasen Kostov
On Mon, 2005-12-12 at 18:20 +0100, Cedric Tabary wrote: > On 12/12/2005 08:38, Mike Silbersack wrote: > > On Mon, 12 Dec 2005, Cedric Tabary wrote: > > > > >If it is true, doing a sendfile() on some very big files (even if not > > >keeping the descriptor open after) will kill the cache ? > > > > >

Re: mmap() sendfile()

2005-12-14 Thread Iasen Kostov
On Mon, 2005-12-12 at 18:20 +0100, Cedric Tabary wrote: > On 12/12/2005 08:38, Mike Silbersack wrote: > > On Mon, 12 Dec 2005, Cedric Tabary wrote: > > > > >If it is true, doing a sendfile() on some very big files (even if not > > >keeping the descriptor open after) will kill the cache ? > > > > >

Re: Loading gzipped mfsroot

2005-11-29 Thread Iasen Kostov
On Mon, 2005-11-28 at 19:19 +0200, Ruslan Ermilov wrote: > On Mon, Nov 28, 2005 at 04:38:11PM +0200, Iasen Kostov wrote: > > On Mon, 2005-11-28 at 09:18 -0500, David S. Madole wrote: > > > From: "Iasen Kostov" <[EMAIL PROTECTED]> > > > > > > >

Re: Loading gzipped mfsroot

2005-11-28 Thread Iasen Kostov
On Mon, 2005-11-28 at 09:18 -0500, David S. Madole wrote: > From: "Iasen Kostov" <[EMAIL PROTECTED]> > > > I've seen a lot of examples where peeple load gzipped mfsroot images > > and everything looks fine for them, but not for me. It loads > > uncompr

Loading gzipped mfsroot

2005-11-28 Thread Iasen Kostov
I've seen a lot of examples where peeple load gzipped mfsroot images and everything looks fine for them, but not for me. It loads uncompressed image and boots ok, it loads compressed image and does not uncompress it and then tries to mount ufs directly on it which fails ofcourse. As I saw b

Re: Route/arp help?

2005-04-13 Thread Iasen Kostov
M. Parsons wrote: Honestly I have no clue why its not working, it should be simple, but it isnt.. Here is what the arp cache shows and the routing table (and its ed0, not de0, my mistake in original message). arp: (after doing the arp -s command) modem (10.0.0.1) at 00:0b:23:2a:b0:c4 on ed0 perman

Re: Route/arp help?

2005-04-13 Thread Iasen Kostov
M. Parsons wrote: To access my dsl modem's line stats page, I have to create an arp entry and a route for it, under linux this was done as: (eth1 connected directly to dsl modem) ifconfig eth1 10.0.0.2 netmask 255.255.255.0 route add 10.0.0.1 dev eth1 route add -net 10.0.0.1/32 -iface de0 -cloni

Re: organization

2005-03-29 Thread Iasen Kostov
Warner Losh wrote: From: mohamed aslan <[EMAIL PROTECTED]> Subject: Re: organization Date: Tue, 29 Mar 2005 07:41:25 -0800 guys this is not a flame war but the linux way in arranging the source file is really better than freebsd way, it's a fact. however it's easy to rearrange it in 1 min as som

Re: setting promisc mode kills vlans on devices with hwtagging (em, re ...)

2004-11-25 Thread Iasen Kostov
Robert Watson wrote: On Tue, 23 Nov 2004, Robert Watson wrote: On Tue, 23 Nov 2004, Iasen Kostov wrote: if you setup a vlan devices with parent one of emX or reX (this what I have at the moment) which has hardware vlan tagging just try to run tcpdump (without -p) and the vlans will die

Re: setting promisc mode kills vlans on devices with hwtagging (em, re ...)

2004-11-24 Thread Iasen Kostov
Robert Watson wrote: On Tue, 23 Nov 2004, Robert Watson wrote: On Tue, 23 Nov 2004, Iasen Kostov wrote: if you setup a vlan devices with parent one of emX or reX (this what I have at the moment) which has hardware vlan tagging just try to run tcpdump (without -p) and the vlans will die

setting promisc mode kills vlans on devices with hwtagging (em, re ...)

2004-11-22 Thread Iasen Kostov
Hi, if you setup a vlan devices with parent one of emX or reX (this what I have at the moment) which has hardware vlan tagging just try to run tcpdump (without -p) and the vlans will die :). That doesn't happen with parent devices not supporting hwtagging. And this totally excludes possibilit

Re: help with a module, please..

2004-09-13 Thread Iasen Kostov
vxp wrote: hi this is another one of my possibly lame questions.. so i wrote a module, it compiles with a few warnings (was too lazy to put func prototypes, so it outputs warnings about that). among other things, the compilation produces an icmp.ko (name of my mod) but when i try to do kldload ./i

Re: How can I fake a device ?

2004-08-20 Thread Iasen Kostov
[EMAIL PROTECTED] wrote: In message <[EMAIL PROTECTED]>, Iasen Kostov wrote: Hi, I want to know is there a way to call *_probe (for device driver) with fake (PCI) device that does not exists in the system ? First of all a cant find how "struct device" is declared (i'

Re: How can I fake a device ?

2004-08-20 Thread Iasen Kostov
[EMAIL PROTECTED] wrote: In message <[EMAIL PROTECTED]>, Iasen Kostov wrote: Hi, I want to know is there a way to call *_probe (for device driver) with fake (PCI) device that does not exists in the system ? First of all a cant find how "struct device" is declared (i'

How can I fake a device ?

2004-08-19 Thread Iasen Kostov
Hi, I want to know is there a way to call *_probe (for device driver) with fake (PCI) device that does not exists in the system ? First of all a cant find how "struct device" is declared (i've searched even the compile/ dir) and second I think that I'll need to intercept pci_get_vendor and pc

Re: Increasing size of if_flags field in the ifnet structure [patch

2002-08-16 Thread Iasen Kostov
On Fri, 16 Aug 2002, Maxim Sobolev wrote: > > > > On Thu, 15 Aug 2002, Maxim Sobolev wrote: > > > > > When implementing ability to switch interface into promisc mode using > > > ifconfig(8) I've stumbled into the problem with already exhausted > > > space in the `short if_flags' field in the if

Re: Increasing size of if_flags field in the ifnet structure [patch

2002-08-16 Thread Iasen Kostov
On Fri, 16 Aug 2002, Maxim Sobolev wrote: > > > >Please take a look at this patch. It implement 1 more flag to if_flags > > and ofcourse it increases size of this flag field by using if_ipending > > which is unused. > > There is no much point in this patch, because it will increase size of

Re: Increasing size of if_flags field in the ifnet structure [patchfor review]

2002-08-16 Thread Iasen Kostov
Ops here is the patch (not enough sleep again :(). On Fri, 16 Aug 2002, Iasen Kostov wrote: >Please take a look at this patch. It implement 1 more flag to if_flags > and ofcourse it increases size of this flag field by using if_ipending > which is unused. > > On Thu, 15 A

Re: Increasing size of if_flags field in the ifnet structure [patchfor review]

2002-08-16 Thread Iasen Kostov
Please take a look at this patch. It implement 1 more flag to if_flags and ofcourse it increases size of this flag field by using if_ipending which is unused. On Thu, 15 Aug 2002, Julian Elischer wrote: > you cannot break ABIs in 4.x > in 5.x it will probably be ok until (say) 5.1 or somethin