Re: Re: How can process in STOP state consume 200% CPU?

2011-06-28 Thread Sergey Babkin
Jun 28, 2011 04:29:35 PM, jh...@dataix.net wrote: >> I got Vir= tualBox process in a strange state. It has the status STOP but >>= shows by top as consuming 200% CPU for a very long time. >> How i= s this possible and what does this mean? Process time stays at 0:00 >= ;> TIME.

Re: Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Sergey Babkin
Jul 29, 2010 12:58:07 PM, a...@icyb.net.ua wrote: >on 29/07/2010 19:13 Andriy Gapon said the following: >> on 29/07/2010 17:13 Alexander Fiveg said the following: >In fact I have a suspicion that the problem might have to do with multiple >mappings of the shared pages, but far from sure... >Take a

Re: TCP over UDP

2010-07-12 Thread Sergey Babkin
Bruce Cran wrote: > > On Sat, 10 Jul 2010 08:05:29 -0400 > Sergey Babkin wrote: > > > Basically, every time you use UDP, you've got to reinvent your > > own retransmission and reliability protocol. And these protocols > > are typically no good at all, as th

Re: TCP over UDP

2010-07-12 Thread Sergey Babkin
Pieter de Goeje wrote: > > On Saturday 10 July 2010 14:05:29 Sergey Babkin wrote: > > Hi guys, > > > > I've got this idea, and I wonder if anyone has done it already, > > and if not then why. The idea is to put the TCP logic over UDP. > > > > I&#

Re: TCP over UDP

2010-07-12 Thread Sergey Babkin
Dirk-Willem van Gulik wrote: > > On 10 Jul 2010, at 13:05, Sergey Babkin wrote: > > > I've got this idea, and I wonder if anyone has done it already, > > and if not then why. The idea is to put the TCP logic over UDP. > > Have you looked at T/TC

TCP over UDP

2010-07-12 Thread Sergey Babkin
Hi guys, I've got this idea, and I wonder if anyone has done it already, and if not then why. The idea is to put the TCP logic over UDP. I've done some googling and all I've found is some academical user-space implementations of TCP that actually try to interoperate with "real" TCP. What I'm thin

Re: /etc in CVS

2010-04-21 Thread Sergey Babkin
Doug Barton wrote: > > On 4/20/2010 11:30 AM, Bakul Shah wrote: > > > > My suggestion was in the context of upgrding a system to a > > new release. There are changes to /**/etc/**/*(.) files going > > from release R to R+1. I was pointing out that what > > mergemaster does (merging in these chang

book on parallel programming

2010-03-29 Thread Sergey Babkin
Hi all, For everyone who asked about my book "The Practice of Parallel Programming" being printed, I've got it self-published through CreateSpace: https://www.createspace.com/3438465 They say it should get to Amazon too, in 3 weeks or so. The discount code RYM7VM5Q gives $14 off the list price a

Re: Sudden mbuf demand increase and shortage under the load

2010-02-15 Thread Sergey Babkin
Maxim Sobolev wrote: > > Hi, > > Our company have a FreeBSD based product that consists of the numerous > interconnected processes and it does some high-PPS UDP processing > (30-50K PPS is not uncommon). We are seeing some strange periodic > failures under the load in several such systems, which

book on parallel programming

2010-01-29 Thread Sergey Babkin
Hi guys, I wrote a book, "The Practice of Parallel Programming". However the publishing part didn't work out, so I've put it on the web: SourceForge page: https://sourceforge.net/projects/tpopp/ read online: http://members.verizon.net/~babkin/tpopp/ BTW, looks like DamonNews is dead? All there

Re: is RTL8139 THAT bad?

2009-06-21 Thread Sergey Babkin
Wojciech Puchar wrote: > > > Wojciech Puchar writes: > >> Why it's THAT bad? > > > > http://svn.freebsd.org/base/head/sys/pci/if_rl.c > > > > Scroll down past the copyright, license and attribution. Read the > > 38-line comment that explains just how crappy this chip really is. > > Well - reall

Re: Patch for MS Hyper V (virtualization)

2009-04-14 Thread Sergey Babkin
John Baldwin wrote: > > On Tuesday 07 April 2009 9:14:26 pm Sergey Babkin wrote: > > John Baldwin wrote: > > > > > > On Monday 06 April 2009 11:12:33 pm Sergey Babkin wrote: > > > > > > Anyway, as far as I can tell, it's only the base regis

Re: Patch for MS Hyper V (virtualization)

2009-04-07 Thread Sergey Babkin
John Baldwin wrote: > > On Monday 06 April 2009 11:12:33 pm Sergey Babkin wrote: > > Anyway, as far as I can tell, it's only the base register of > > the simulated DEC21140 device that has this issue, so it's > > quite possible that the bug is in that device&#x

Re: Re: Patch for MS Hyper V (virtualization)

2009-04-07 Thread Sergey Babkin
PCI spec): I've tried adding it back, and it made no diffe= rence. I'll try FreeBSD 8 and see what happens. -SB Ap= r 7, 2009 10:28:50 AM, [1]...@freebsd.org wrote: On Monday 06 April 2009 11:12:33= pm Sergey Babkin wrote: > John Baldwin wrote: > >

Re: Patch for MS Hyper V (virtualization)

2009-04-06 Thread Sergey Babkin
John Baldwin wrote: > > On Monday 06 April 2009 1:07:38 pm Ivan Voras wrote: > > 2009/4/6 John Baldwin : > > > On Sunday 05 April 2009 12:23:39 pm Sergey Babkin wrote: > > > > > Hmm, the problem is we need to be able to write to BARs to size them. б > &g

Re: Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-04-06 Thread Sergey Babkin
Apr 4, 2009 02:02:07 PM, jul...@elischer.org wrote: >Hey Sergey, whatever you are using for a mail client SUCKS >real bad at the moment.. > > it's really messing up your outgoing mails.. > >note the mail below Looks like using the text mode didn't help :-( Oh, well, I g

Re: Patch for MS Hyper V (virtualization)

2009-04-05 Thread Sergey Babkin
Apr 4, 2009 02:10:23 PM, ivo...@freebsd.org wrote: >Can someo= ne please review and commit (if appropriate) the tweak for >Hyper-V shu= tdown issue at http://shell.peach.ne.jp/aoyama/archives/40 >? > = >>The problem is: the VM appears to hang on shutdown without it (hanging

Re: Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-04-02 Thread Sergey Babkin
Apr 2, 2009 01:03:48 AM, [1]peterjer...@optushome.com.au wrot= e: >On 2009-Mar-30 18:45:30 -0700, Maxim Sobolev <[2]sobo...@freebsd.org> wrote: >>You don't really need to = do it on every execve() unconditionally. It >>could be done on de= mand in libc, so that only when thread p

Re: Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-03-27 Thread Sergey Babkin
y (and any other global data we can think of) and on= e per-process for static data like getpid/getgid. Scott Sergey Babkin wrote: > (Sorry for the top quoting). Probably the= best implementation of > gettimeofd=y() is to have > a= page in the kernel mapp

Re: Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-03-27 Thread Sergey Babkin
(Sorry for the top quoting). Probably the best implementation of gettimeofd= ay() is to have a page in the kernel mapped read-only to all the user pr= ocesses. Put the kernel's idea of time into this page. Then getting the = time becomes a simple read (OK, two reads, to make sure

Re: GSoC: Semantic File System

2009-03-22 Thread Sergey Babkin
Sorry if this sounds like s tupid suggestion, but have you thought abou= t doing an user-space prototype first? It's usually much easier to deve= lop and modify. Then after the features get worked out, move it into the= kernel. -SB Mar 21, 2009 07:51:18 AM, [1]gabriele.mod= e.

Re: bus_dma (9). What exactly means "Loading of memory allocation" ?

2009-02-01 Thread Sergey Babkin
If I remember correctly, loading means that the pages become mapped and= visible to the devices. Some buses can access only a limited address space= , like ISA has only a 24-bit address. When a map gets loaded, for any pages= outside of this range the temporary in-ramge pages are al

Re: TCSBRK not implemented in linux compat

2008-12-02 Thread Sergey Babkin
>While trying to get = a linux binary running on FreeBSD I encountered >the following prob= lem during serial port I/O. > >Dec 1 22:22:34 soekris kernel: = linux: pid 7239 (linuxbinary): ioctl >fd=0, cmd=0x5409 ('T',9) = is not implemented > >0x5409 turns out to be TCSBRK, whi

Re: ukbd attachment and root mount

2008-11-12 Thread Sergey Babkin
Jeremy Chadwick wrote: > > What really needs to happen here should be obvious: we need some form of > inexpensive keyboard-only USB support in boot2/loader. > > I would *love* to know how Linux and Windows solve this problem. If I remember right, UnixWare used(s) the BIOS calls in the loader. -

Re: FreeBSD 5.4 - filesystem full

2008-11-12 Thread Sergey Babkin
Varshavchick Alexander wrote: > > I have an old enough server with FreeBSD 5.4 which from time to time > complains about filesystem full. But the problem is that the partition > in question has about 15G free space and more than 1000 free inodes. > Then all by itself the error dissapears, only

Re: massive interrupt storm

2008-07-06 Thread Sergey Babkin
Murray Taylor wrote: > > Hi all, > > We have just purchased some servers with a view to > using them as firewalls within our WAN, and have discovered that > they are suject to a massive interrupt storm on IRQ17. > > systat -v is showing 59000 -> 63000 interrupts continuously > on this IRQ, and 9

Re: time used by a thread

2008-07-03 Thread Sergey Babkin
>I want to use getrusage to see how much time a program is using. But >this is a multithreaded program, and I just want the time taken by that >particular thread! > >I know this info must be available somewhere, because top -H seems to >provide it. But getrusage seems to give the total rusage

Re: Re: C++ exceptions are broken in FreeBSD with gcc-compiled code?

2008-04-10 Thread Sergey Babkin
Oh, this reminded me of something I've seen before. In some version of GCC (3.96? 4.something?) if you declare a function with an explicit throw() declaration and then throw from it an exception that is not in the declaration, the exception never gets caught. It just goes all the way out. Any cha

Re: Re: vkernel & GSoC, some questions

2008-03-20 Thread Sergey Babkin
>From: Matthew Dillon >To: John Baldwin <[EMAIL PROTECTED]> >:Except that you still need "real" hardware concurrency to see some races and >:that is important for testing. I'd worry about the overhead of any > >Hardware and vkernel/qemu environments exercise different code paths >and d

Re: Re: Stale mount on disconnected device: how to delete it?

2007-12-17 Thread Sergey Babkin
> >On Mon, Dec 17, 2007 at 03:07:02AM -0800, Yuri wrote : >> I had USB camera connected and recognized as umass0 and mounted as >> /mnt/camera >> on /dev/da0s1. >> >> Camera was disconnected while it was still mounted. > >Personal recipe when this kind of things happens (generally caused by a >ca

Re: Re: msleep() on recursivly locked mutexes

2007-04-27 Thread Sergey Babkin
>From: Julian Elischer <[EMAIL PROTECTED]> >Basically you shouldn't have a recursed mutex FULL STOP. We have a couple >of instances in the kernel where we allow a mutex to recurse, but they had to >be >hard fought, and the general rule is "Don't". If you are recursing on >a mutex you need to sw

Re: serial help ?

2007-04-19 Thread Sergey Babkin
> >I'm working on some custom hardware and I'm getting garbled console >output. > >I noticed that siocntxwait looks like this: > >static void >siocntxwait(iobase) > Port_t iobase; >{ > int timo; > > /* >* Wait for any pending transmission to finish. Required to avoid

Re: /etc/group limits (REAL limits)

2007-02-07 Thread Sergey Babkin
>From: Eric Anderson <[EMAIL PROTECTED]> >On one of my boxes where I have a decent amount of (less than 50) users >in a few groups, I finally hit the limit. Not 1024 bytes though (that I >know of). When that happens though, it is sooner than expected, and >tools (like 'id') seg fault (and cor

Re: Re: "tar -c|gzip" faster than "tar -cz"?!?

2006-10-13 Thread Sergey Babkin
>From: Oliver Fromme <[EMAIL PROTECTED]> > > > The tar|gzip command uses 18% less CPU and is 10% faster. It > > > is clear the HDD is the bottleneck. > > > > Now it's clear to me :) > > > > This makes sense if tar is single-threaded: there's only one thread of > > execution, and it can either b

Re: Re: SOCK_DGRAM optimization needed...

2006-09-01 Thread Sergey Babkin
>From: Gleb Smirnoff <[EMAIL PROTECTED]> >On Fri, Aug 18, 2006 at 10:41:36AM +0300, Martin Eugen wrote: >M> I have a simple application, that deals with lots of dgram sockets (UDP). >M> Thousands of them. Basically, its purpose is to >M> maintain pairs of sockets and when data is received on one o

Re: Re: Aqcuiring full path to running process from outside the kernel

2006-08-22 Thread Sergey Babkin
>From: Lutz Boehne <[EMAIL PROTECTED]> > >> but argv[0] is either an absolute path or a path relative to pwd, >> unless your shell is broken. > >One should also consider users breaking argv[0] intentionally, e.g. >pointing it to other files which could lead to undesired/unpredictable >behaviour.

Re: Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Sergey Babkin
>to followup myself ... I just see, we also have pack identifier, >its the additional struct behind it that differs. >"Bootstrap name" etc... Those are parts of an union, so the total size still shouldn't change. I'd guess that the char[] format is used on-disk and the pointers are used in-memory

Re: Re: Re: Programs not accepting input?

2006-07-20 Thread Sergey Babkin
>From: Peter Jeremy <[EMAIL PROTECTED]> >>BTW, I've promised Greg a script to dump the X protocol >>from binary log, then I was busy and and forgot about it. >>Is there still any interest in this tool? > >What does your script do? I've used xmon in the (distant) past but >it is designed to sit i

Re: Re: Programs not accepting input?

2006-07-20 Thread Sergey Babkin
>From: Peter Jeremy <[EMAIL PROTECTED]> >To resurrect a fairly old thread... > >On Mon, 2006-Mar-27 11:23:42 +1030, Greg 'groggy' Lehey wrote: >>On Sunday, 26 March 2006 at 19:17:19 +1100, Peter Jeremy wrote: >>> My work system runs separate X servers on two heads (rather than >>> ximerama) and I

Re: Re: kern/99979: Get Ready for Kernel Module in C++

2006-07-13 Thread Sergey Babkin
>From: "Kamal R. Prasad" <[EMAIL PROTECTED]> >Im sorry I didn't understand you. setjmp() stores a few register contents >[notably ip] in a jmpbuf -which are restored after a longjmp(). How is the >try/catch mechanism more efficient than a setjmp()/longjmp() in terms of >space/time complexity? try

Re: Re: kern/99979: Get Ready for Kernel Module in C++

2006-07-12 Thread Sergey Babkin
>From: [EMAIL PROTECTED] >Jason Slagle wrote: > >> On Wed, 12 Jul 2006, [EMAIL PROTECTED] wrote: >> >>> I would repeat several sentences in my last reply. >>> Why would people write Windows application with rather MFC/ATL/.NET >>> Framework than direct Windows API? Why is gtkmm framework created

Re: Re: NFS server not responding prevents boot

2006-05-19 Thread Sergey Babkin
>From: Steven Hartland <[EMAIL PROTECTED]> >> Anyway the big question is how can I change all our NFS >> mounts so that failed mounts dont prevent the machines >> booting to the point where they can be fixed remotely >> i.e. have started sshd. > >Doh!! spent ages googling for the answer then found

Re: Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Sergey Babkin
>From: Bill Vermillion <[EMAIL PROTECTED]> has some >color vision problem. Mine is a bit more than others. Everytime >I get called to work on a Linux system, I have to go in and disable >the colors as the reds and other colors become very hard to see >against a dark background. The problem is

Re: Re: What's in a (device) name?

2006-04-10 Thread Sergey Babkin
>From: "M. Warner Losh" <[EMAIL PROTECTED]> >usb assigns addresses dynamically. Everyone else does it basically >statically. PCI slot/device numbers are static, but extreme >configurations can change the bus number. Some USB devices (though not all of them) provide a unique device ID. If this I

Re: Re: Using any network interface whatsoever (solution?)

2006-04-09 Thread Sergey Babkin
>From: Mike Meyer >In <[EMAIL PROTECTED]>, Darren Pilgrim <[EMAIL PROTECTED]> typed: >> >> That's far better than trying to remember what's on em0. >> > >> > That's certainly true. But is there an advantage to tieing the >> > PublicLAN name to a MAC address as opposed to em0? >> You could test t

Re: Re: Using any network interface whatsoever

2006-04-09 Thread Sergey Babkin
>From: Mike Meyer >In <[EMAIL PROTECTED]>, Scott Long <[EMAIL PROTECTED]> typed: >> Youre' saying that >> instead of /dev/da0, we should have >> /dev/HITACHI-HUS103073FL3800-SA19-B0T1L0 > >That's a ridiculous extreme. All I advocated was that we be able to >easily identify the devices connected t

Re: Re: RFC: Adding a ``user'' mount option

2006-04-05 Thread Sergey Babkin
>From: Stefan Sperling <[EMAIL PROTECTED]> >What are admins supposed to do on systems with more than, say, a hundred >users. Having to add a line to /etc/fstab for every user is of course >scriptable, but that does not make it less insane. Would it make sense to be able to specify a group in fstab

Re: Programs not accepting input?

2006-04-05 Thread Sergey Babkin
Greg 'groggy' Lehey wrote: > > > The focus management and the highlighting of the window manager > > decoration are not physically connected in any way, so a bug in the > > window manager might cause it to do the highlighting but forget to > > give the focus to the application. > > But mouse focu

Re: Re: Programs not accepting input?

2006-04-05 Thread Sergey Babkin
>Same here. As mentioned in the original message, I can use the mouse >to open a new window under firefox. The new window will accept >keyboard input, the old one won't. It's almost as if it's deadlocking >on input. > >Reminder: my final question was "how do I go about debugging this >problem?".

Re: Re: NetBSD disk backup over network

2006-03-07 Thread Sergey Babkin
>From: Bernd Walter <[EMAIL PROTECTED]> >> >From: Ashley Moran <[EMAIL PROTECTED]> >> >> >I just saw this slashdotted article: >> >http://ezine.daemonnews.org/200603/dermouse.html >> >> Well, I've been running around with this kind of idea for >> around 10 years now. Never actually implemented i

Re: NetBSD disk backup over network

2006-03-07 Thread Sergey Babkin
>From: Ashley Moran <[EMAIL PROTECTED]> >I just saw this slashdotted article: >http://ezine.daemonnews.org/200603/dermouse.html > >Just to satisfy my curiosity, is it the sort of thing that can be implemented >as a GEOM layer? The idea is bloody clever but sounds like a bit of a hack >right no

Re: Re: Fastest timecounter ?

2006-02-28 Thread Sergey Babkin
>From: David Malone <[EMAIL PROTECTED]> >The TSC is always fastest, but unfortunately under some circumstances >it can't be trusted (if your CPU has throttle modes to save power >or on some SMP systems where the two TSCs in each CPU give different >values). If I remember correctly, all the SMP CP

Re: Difference between signal related structures

2006-02-27 Thread Sergey Babkin
>From: Pranav Sawargaonkar <[EMAIL PROTECTED]> >Hi >I am studying signaling related work in FreeBSD kernel just for learning. >Can anybody tell me that why there are two different structures named >1)struct sigcontext >2)struct osigcontext >are defined in /sys/i386/include/signal.h >I want to

Re: Re: unversal watchdog

2006-02-27 Thread Sergey Babkin
>From: Daniel O'Connor <[EMAIL PROTECTED]> >On Monday 27 February 2006 22:33, Tobias Roth wrote: >> > man rc.subr plus a look through /etc/rc.d should get you started :) >> >> Can you explain in more detail how one can handle the watchdog part of >> the equation? I can't find that information in t

Re: volume serial number + volume label

2006-02-24 Thread Sergey Babkin
>From: andrew clarke <[EMAIL PROTECTED]> > >How can I programmatically retrieve the "volume serial number" and >"volume label" of a removable disc in FreeBSD? This is the same >information that's presented by issuing a "dir" command in Windows: > > Volume in drive D is FooBar > Volume Serial Numbe

Re: Pre-loaded mfsroot size and FreeBSD 4.9 with 4G RAM

2006-02-11 Thread Sergey Babkin
Jacques Fourie wrote: > > I have installed 6.0-RELEASE and the behaviour is still the same. If I try > to pre-load an md_image of 64M with 4G of RAM installed, the kernel panics > early in the boot cycle. Here is the panic on 6.0-RELEASE: > > 131072K of memory above 4GB ignored This is a kind of

Re: speed up port compiling using RAM (tmpfs) ???

2006-01-20 Thread Sergey Babkin
Kris Kennaway wrote: > > On Fri, Jan 20, 2006 at 04:54:33PM -0500, Sergey Babkin wrote: > > Kris Kennaway wrote: > > > > > > On Fri, Jan 20, 2006 at 11:25:33AM -0600, Sergey Babkin wrote: > > > > >From: =?ISO646-US?Q?Dag-Erling_Sm=3Frgrav?= <[EMAIL

Re: speed up port compiling using RAM (tmpfs) ???

2006-01-20 Thread Sergey Babkin
Kris Kennaway wrote: > > On Fri, Jan 20, 2006 at 11:25:33AM -0600, Sergey Babkin wrote: > > >From: =?ISO646-US?Q?Dag-Erling_Sm=3Frgrav?= <[EMAIL PROTECTED]> > > > > >Gary Thorpe <[EMAIL PROTECTED]> writes: > > >> This effectively means t

Re: Re: speed up port compiling using RAM (tmpfs) ???

2006-01-20 Thread Sergey Babkin
>From: =?ISO646-US?Q?Dag-Erling_Sm=3Frgrav?= <[EMAIL PROTECTED]> >Gary Thorpe <[EMAIL PROTECTED]> writes: >> This effectively means that you cannot take advantage of SMP to >> compile FreeBSD's ports collection. That sounds like a big >> limitation...especially for people trying to speed up bulk b

Re: My wish list for 6.1

2005-12-25 Thread Sergey Babkin
Kris Kennaway wrote: > > On Fri, Dec 16, 2005 at 10:34:09PM -0800, Avleen Vig wrote: > > On Fri, Dec 16, 2005 at 10:40:22AM -0500, Martin Cracauer wrote: > > > > 2. SMP kernels for install. Right now we only install a UP kernel, for > > > > performance reasons. We should be able to package both

Re: Problem booting FreeBSD from cboot FreeBSD from cdrom using grubdrom using g

2005-12-21 Thread Sergey Babkin
>From: Tony <[EMAIL PROTECTED]> > I'm trying to make an iso image that will boot FreeBSD using GRUB boot >loader. > >Then the kernel starts, but when the kernel try to mount the root fs, it >stops. I have the follow line in my /etc/fstab >/dev/acd0c / cd9660 ro

Re: Re: sysctl, HW_PHYSMEM, and crippled gcc

2005-12-09 Thread Sergey Babkin
>From: Divacky Roman <[EMAIL PROTECTED]> >On Thu, Dec 08, 2005 at 05:06:16PM -0800, Steve Kargl wrote: >> Anyone have any insight into fixing gcc to make better >> use of system memory on systems with more than 4 GB. >> It appears that libiberty/physmem.c tries to use sysctl() >> to determine the

Re: Re: SSH From within a Jail

2005-11-14 Thread Sergey Babkin
>From: Pawel Jakub Dawidek <[EMAIL PROTECTED]> >On Sun, Nov 13, 2005 at 09:26:05PM +0100, Koen Martens wrote: >+> Just remembered something else: do you jexec into the jail, or do >+> you do a proper logon (eg. ssh into the jail). I think that if you >+> jexec into the jail and then try to ssh, yo

Re: Re: GEOM for multipath? How?

2005-11-10 Thread Sergey Babkin
>From: Danny Howard <[EMAIL PROTECTED]> >Hey ... yes, I recall there being issues with the QLogic drivers ... I >wonder if anyone has given the mpt drivers a shot? I was able to speak >with an engineer at Engenio (now owned by LSI) and she said there were >some issues with the QLogic dual-port ca

Re: Re: allocating 14KB memory per packet compression/decompression results in v

2005-11-05 Thread Sergey Babkin
>From: Giorgos Keramidas <[EMAIL PROTECTED]> >On 2005-11-03 22:56, kamal kc <[EMAIL PROTECTED]> wrote: >> since i am using the adaptive LZW compression scheme it >> requires construction of string table for >> compression/decompression. So an ip packet of size 1500 bytes >> requires a table of si

Re: Re: allocating 14KB memory per packet compression/decompression results in v

2005-11-04 Thread Sergey Babkin
>From: kamal kc <[EMAIL PROTECTED]> >since i am using the adaptive LZW >compression scheme it requires construction of string >table for compression/decompression. So an ip packet > of size 1500 bytes requires a table of size (4KB + > 4KB + 2KB =12KB). > >further still i copy the ip packet > dat

Re: Re: locking in a device driver

2005-11-03 Thread Sergey Babkin
>From: "M. Warner Losh" <[EMAIL PROTECTED]> >Scott Long <[EMAIL PROTECTED]> writes: >: Dinesh Nair wrote: >: > >: > >: > On 11/03/05 03:12 Warner Losh said the following: >: > >: >> Yes. if you tsleep with signals enabled, the periodic timer will go >: >> off, and you'll return earl

Re: Re: how to make the FreeBSD 6.0 run faster

2005-10-28 Thread Sergey Babkin
>From: Robert Watson <[EMAIL PROTECTED]> >On Thu, 27 Oct 2005, Vaibhave Agarwal wrote: > >> How do u disable malloc debugging flags in the userland? I read >> somewhere that " ln -s aj /etc/malloc.conf" disables malloc debugging. >> How does it work? >> >> And how to disable verbose features in t

Re: USB mouse problem

2005-10-21 Thread Sergey Babkin
>I do have the mouse working, but with a couple of issues. The main problem >seems to be that the last 3 bytes of the sc_data seem to be wrong. Their >values never change from the time that the device is attached. They're usually >all 0, but sometimes have values. The forth byte is supposed to

Re: USB mouse problem

2005-10-21 Thread Sergey Babkin
>I do have the mouse working, but with a couple of issues. The main problem >seems to be that the last 3 bytes of the sc_data seem to be wrong. Their >values never change from the time that the device is attached. They're usually >all 0, but sometimes have values. The forth byte is supposed to

Re: help regarding : To recieve and tranmit packet th' an interface

2005-10-19 Thread Sergey Babkin
>From: rashmi ns <[EMAIL PROTECTED]> >Hello List-members, >we are writing a driver for HDLC-Controller We have coded upto some extent >and actully we are able to transmit and recieve a char buff in loopback >(from inside a driver). >But we want to tranmit/Rx a real packet in (mbuf structure) and t

Re: Re: system password's file

2005-10-14 Thread Sergey Babkin
>On Fri, 14 Oct 2005 [EMAIL PROTECTED] wrote: > >> I want to migrate from linux to freebsd. My linux box (mail server) have >> alot of user (hundreds) --this is the problem. I dont know which file >> which the password's file. I dont want typing user name and its password >> one by one. Beside o

Re: Driver Development Books?

2005-10-12 Thread Sergey Babkin
>From: Pete <[EMAIL PROTECTED]> >Date: Tue Oct 11 11:47:28 CDT 2005 >To: freebsd-hackers@freebsd.org >Subject: Driver Development Books? >Hello, >I have what may seem to be a silly question, but I cannot find any >other decent resources on the web. >.< The problem that I am having >right now

Re: Re: serial login to SBC

2005-10-01 Thread Sergey Babkin
>From: "M. Warner Losh" <[EMAIL PROTECTED]> >In message: <[EMAIL PROTECTED]> >Brian Reichert <[EMAIL PROTECTED]> writes: >: On Fri, Sep 30, 2005 at 05:14:01PM +0200, [EMAIL PROTECTED] wrote: >: > >: > Hello list, >: > I am trying to use a FreeBSD box to log into a Single Board Compute

Re: Re: JFS2 on freebsd

2005-09-09 Thread Sergey Babkin
>From: Mike Silbersack <[EMAIL PROTECTED]> > >On Fri, 9 Sep 2005, Kamal R. Prasad wrote: > >> would a port of JFS2 be of interest to freebsd core? >> thanks >> -kamal > >There are many things that would be of interest to FreeBSD users, but >that's not a good reason to start a project. If you're m

Re: NFS hanging

2005-09-09 Thread Sergey Babkin
>From: Steve Suhre <[EMAIL PROTECTED]> > >I know I've dealt with this before...but can't remember what the deal >was... I mount a remote server to /mnt and the mount command seems to >work, no errors or logged errors on either machine. But when I try to cd >to the /mnt folder on the client the s

Re: Re: vn_fullpath() again

2005-09-07 Thread Sergey Babkin
>From: Giorgos Keramidas <[EMAIL PROTECTED]> >On 2005-09-06 19:27, Igor Shmukler <[EMAIL PROTECTED]> wrote: >> Perhaps, I do not get it or maybe you are do not getting my point. >> >> There are times when resolving would not be possible or a name returned is >> not necessarily the one used when fi

Re: Re: nagios and freebsd threads issue : help please ...

2005-08-25 Thread Sergey Babkin
>> > This is funny, because nagios apparently runs properly on Linux, HPUX, >> > Solaris, Irix, AIX and Tru64. To me that seems to indicate that Nagios This does not neccessary mean that it _really_ works. There might be a race involved that usually ends up lucky on these systems. >> > is very po

Re: Re: region code in cdrecord

2005-04-25 Thread Sergey Babkin
>(like I said, but in roundabout fashion I admit) region 2, so suggesting >that I ignore the region is silly, it's there already. My dvd (and that >of my friend's, I tested) both immediately choke on trying to play this Sorry, can't help with your original question, but I can help with the ch

Re: organization

2005-03-30 Thread Sergey Babkin
mohamed aslan wrote: > > 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. Nope. It's real difficult to organize the files worse than in Linux. FreeBSD is actually real good. Way better than UnixWare, and of course anyt

Re: NIC 1 gigabit

2005-03-25 Thread Sergey Babkin
[EMAIL PROTECTED] wrote: > > Hi, I have trouble with my NIC. > I'm using Server Mainboard Intel (I forgot the model), there is 2 NICs; the > one > is 100Mbps other is 1 gigabit. I use this for my web server with freeBSD > 5.1-RELEASE. > NIC 1 gigabit is not detected and recognised neither by free

Re: hacking SCO....

2004-10-08 Thread Sergey Babkin
Doug Russell wrote: > > On Thu, 7 Oct 2004, John Von Essen wrote: > > > Well, I eventually got this SCO system working. But today, some errors > > appeared: > > > > 505k:unrecover error reading SCSI disk on 0 Dev - 1/42 > > cha = 0 id = 0 1 on = 0 > > Block 6578 > > medium error unrecovered read

Re: Discussion on the future of floppies in 5.x and 6.x

2004-01-09 Thread Sergey Babkin
Leo Bicknell wrote: > > I'm going to propose a different solution that was brought up about > two years ago (although I can't find it now). > > You start with something like the CD boot image mentioned, that is > a 3-5 Meg iso image that basically contains what is now on the > floppies (perhaps w

Re: has anyone installed 5.1 from a SCSI CD?

2003-09-29 Thread Sergey Babkin
Peter Jeremy wrote: > > On Sun, Sep 28, 2003 at 06:14:25PM -0400, Sergey Babkin wrote: > >BTW, I have another related issue too: since at least 4.7 > >all the disk device nodes have charcater device entries in /dev. > > As of December 1999 - which is before 4.0

has anyone installed 5.1 from a SCSI CD?

2003-09-28 Thread Sergey Babkin
Hi all, I've got the compiler on my -current partition hosed (I did a make install at a time when it was unstable, and now it dies when recompiling -current), so I decided to re-base it with 5.1. That's when I discovered an unpleasent issue: it could not mount SCSI CD-ROM! The devices (I have two

Re: making CVS more convenient

2003-03-19 Thread Sergey Babkin
Terry Lambert wrote: > > Sergey Babkin wrote: > > Terry Lambert wrote: > > > > # OK, let's suppose that our changes are finally complete, and nobody > > > > # else has committed any other changes in between > > > > cvs ci > > > >

Re: making CVS more convenient

2003-03-18 Thread Sergey Babkin
Terry Lambert wrote: > > Sergey Babkin wrote: > > # OK, let's suppose that our changes are finally complete, and nobody > > # else has committed any other changes in between > > cvs ci > > Suppose someone has? If you are so out of touch with the net you >

Re: making CVS more convenient

2003-03-17 Thread Sergey Babkin
Nate Williams wrote: > > > It gets handled in the same way as now: I believe, CVS checks > > whether the checked-out version matches the top of the branch, > > and if it does not then it refuses to commit and requires you > > to make an update. So the same thing can be done for a "local branch": >

Re: making CVS more convenient

2003-03-17 Thread Sergey Babkin
Terry Lambert wrote: > > Sergey Babkin wrote: > > Nate Williams wrote: > > [ ... "CVS cache and cache coherency" ... ] > > > Yet another idea is to be able to make "local commits" with committing > > them to the central remote reposi

Re: making CVS more convenient

2003-03-17 Thread Sergey Babkin
Dag-Erling SmЬrgrav wrote: > > Sergey Babkin <[EMAIL PROTECTED]> writes: > > A similar thing may be achieved by checking the files out from the local > > repository and doing any modification command with option -d. But that's > > troublesome and inconvenient

Re: making CVS more convenient

2003-03-17 Thread Sergey Babkin
Nate Williams wrote: > > > That's the plan for the next stage, provided that the first stage > > goes well. I'm yet to play with CVSup and see if it can be > > integrated there (as with system()) easily without making a lot > > of changes to CVS itself. Otherwise I'm aftarid it's going to > > be a

Re: making CVS more convenient

2003-03-16 Thread Sergey Babkin
Nate Williams wrote: > > > The value specified in CVSROOTCACHE is the local path to the cache > > repository. All the check-outs, updates, diffs etc. will be obtained > > from there. All the check-ins, tagging etc. will go into the master > > repository specified by CVSROOT. Naturally, to see the

making CVS more convenient

2003-03-15 Thread Sergey Babkin
Hi all, I've been planning to send this message to the developers mailing list, but it has mysteriously disappeared (and I haven't found yet its replacement). So here it goes. The idea is to support a "cache" repository (the one copied to a local machine by CVSup or CTM) transparently. So that th

Re: replacing GNU grep with UNIX grep.

2003-01-18 Thread Sergey Babkin
"Pedro F. Giffuni" wrote: > > FWIW; > > The UNIX grep executable is like >3 times smaller than > GNU grep but also like 3 times slower. I think that it's said in GNU grep readme: they have knowingly chosen a faster but more memory-consuming algorithm. And I think that they've done similar choice

Re: Which archiver handles the ICE format?

2002-09-24 Thread Sergey Babkin
Dan Nelson wrote: > > In the last episode (Sep 23), Stephen Hocking said: > > I'm wanting to extract data files off the original Quake 1 CD. > > Lets just take a look see... > > All deice does is join the numbered files together, then execute the > result. quake101.1 and quake101.2 are in

Re: SCSI device emulation using SCSI host controller

2002-08-14 Thread Sergey Babkin
"Kenneth D. Merry" wrote: > > On Tue, Aug 13, 2002 at 21:12:59 -0400, Sergey Babkin wrote: > > "Kenneth D. Merry" wrote: > > > > > > On Tue, Aug 13, 2002 at 23:41:14 +0700, Semen A. Ustimenko wrote: > > > > Hi! > > > > &

Re: SCSI device emulation using SCSI host controller

2002-08-13 Thread Sergey Babkin
"Kenneth D. Merry" wrote: > > On Tue, Aug 13, 2002 at 23:41:14 +0700, Semen A. Ustimenko wrote: > > Hi! > > > > I beg you all pardon for a question not related directly to FreeBSD, but > > if the answer is ``yes'', then I believe FreeBSD will be in deal. > > > > The question is: "Can I emulate a

Re: termios guru ?

2002-07-11 Thread Sergey Babkin
bruno schwander wrote: > > thanks, I see the idea but cfmakeraw has some other effects... newlines > output by the program are not translated, etc. To get rid of the raw output effects, remove the line t->c_oflag &= ~OPOST; > > My main program now is the VMIN/VTIME stuff. The way irit

Re: offtopic: low level format of IDE drive.

2002-07-10 Thread Sergey Babkin
Greg 'groggy' Lehey wrote: > > On Monday, 8 July 2002 at 14:46:29 -0700, Kent Stewart wrote: > > All of the manufacturers have a program that will do that. Many of > > them even produce a bootable floppy. Check their support web page. > > I went looking for format utilities and didn't find any

Re: Improving GNU make compatibility in BSD make (+ patch)

2002-06-02 Thread Sergey Babkin
Terry Lambert wrote: > > Jos Backus wrote: > > On Fri, May 31, 2002 at 01:38:17AM -0700, Terry Lambert wrote: > > > The biggest problem with GNU make that I've seen is re-expansion > > > of variable variables. > > > > > > The suggested fix doesn't address that, so it won't fix the most > > > comm

  1   2   3   >