Re: After the FreeBSD VM crash, file system in VM got rolled back to some old previous state causing data loss

2013-08-08 Thread Sergey Slobodyanyuk
the virtual machine's virtual disk with every restart. http://www.virtualbox.org/manual/ch05.html //BR, Sergey ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Stacking lots of IP's on a single box - any 'gotchas'?

2013-07-31 Thread Sergey Kandaurov
On 31 July 2013 13:37, Karl Pielorz wrote: > > Hi, > > We've got a number of boxes we'd like to consolidate - this could mean > upward of 1,500 IP's on a single box (9.1 amd64). > > Last time we did anything like this we hit at issue at around 900 (ntpd > 'binds' by default to all available IP's -

Re: hw.physmem/hw.realmem question

2013-07-10 Thread Sergey Kandaurov
On 3 July 2013 01:45, Wojciech Puchar wrote: >> AMD Features2=0x1 >> TSC: P-state invariant, performance statistics >> real memory = 34359738368 (32768 MB) >> avail memory = 32191340544 (30700 MB) > > > 2GB memory "disappears" too even when you don't set anything. > > i asked such a question fo

Re: cvs deprecated

2012-12-27 Thread Sergey Matveychuk
27.12.2012 20:29, Sam Fourman Jr. wrote: On Thu, Dec 27, 2012 at 4:18 AM, Wojciech Puchar wrote: but i can't find "moron guide" for using svn to update tree. I cant seem to find a way to handle conflicts, ive tried to do svn revert on every directory, but there is always more... maybe svn jus

Re: How to debug loader(8)

2012-08-03 Thread Sergey Listopad
2012/8/2 Andrey V. Elsukov : > On 02.08.2012 15:30, Sergey Listopad wrote: >> Hi. >> >> I have as issue with booting FreeBSD on retro server. >> loader(8) stuck during the boot (more details >> http://docs.freebsd.org/cgi/mid.cgi?CAO_2TxM4_7YpPV9iTXeX6S7w4T1zqiZJa0

How to debug loader(8)

2012-08-02 Thread Sergey Listopad
Hi. I have as issue with booting FreeBSD on retro server. loader(8) stuck during the boot (more details http://docs.freebsd.org/cgi/mid.cgi?CAO_2TxM4_7YpPV9iTXeX6S7w4T1zqiZJa0ewe5KKiusdmNiVnw) How can I debug why loader(8) is stuck. What information may be helpful? Thanks. -- S.Listopad ___

Re:dtrace filename lookups from fd (Serg Slobodyanyuk)

2012-06-04 Thread Sergey Slobodyanyuk
> > > Date: Fri, 1 Jun 2012 17:00:20 +0100 > From: "Steven Hartland" > > As a first foray into dtrace I wanted to create a little > script which shows the amount of disk read / write activity. > > Now the DtraceToolkit includes rwsnoop but this uses Solaris > specific requests and on looking aroun

Re: UFS+QUOTA+GIANT

2012-05-03 Thread Sergey Kandaurov
On 3 May 2012 23:01, Bryan Drewery wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I recently was re-evaluating my needs for a custom kernel vs GENERIC. > One of these was due to QUOTA support, which apparently is not in > GENERIC due to the GIANT lock [1]. This is no longer

Re: Approaching the limit on PV entries

2012-03-21 Thread Sergey Kandaurov
On 21 March 2012 19:19, John Baldwin wrote: > On Tuesday, March 20, 2012 11:37:57 am Sergey Kandaurov wrote: >> On 22 November 2011 19:29, Mark Saad wrote: >> > Hello All >> >> [found this mail in my drafts, not sure if my answer is still useful] >> >> &

Re: Approaching the limit on PV entries

2012-03-20 Thread Sergey Kandaurov
On 22 November 2011 19:29, Mark Saad wrote: > Hello All [found this mail in my drafts, not sure if my answer is still useful] >  I want to get to the bottom of a warning in dmesg. On 7.2-RELEASE and > 7.3-RELEASE I have seen the following warning in dmesg. > > Approaching the limit on PV entries

Re: watching for a directory with kqueue

2012-03-06 Thread Sergey Matveychuk
06.03.2012 0:57, Markiyan Kushnir wrote: On 05.03.2012 20:12, Sergey Matveychuk wrote: Hi. I've met a problem with the subj. Could you help? I'm watching for a directory: EV_SET(kq_change_list, fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_ONESHOT, NOTE_DELETE | NOTE_WRITE | N

watching for a directory with kqueue

2012-03-05 Thread Sergey Matveychuk
Hi. I've met a problem with the subj. Could you help? I'm watching for a directory: EV_SET(kq_change_list, fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_ONESHOT, NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB, 0, 0); When the directory changed, I read i

watching for a directory with kqueue

2012-03-05 Thread Sergey Matveychuk
Hi. I've met a problem with the subj. Could you help? I'm watching for a directory: EV_SET(kq_change_list, fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_ONESHOT, NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB, 0, 0); When the directory changed, I read i

Re: Tiny 'tunefs' bug

2012-02-10 Thread Sergey Kandaurov
2012/2/10 : > Seems like there is a little bug in 'tunefs' binary. > When I strip '/dev/' to have a shorter CMD, it reports an error, even it does > finish it's task. > > # tunefs -j enable ufsid/4edc992e27d147ce > tunefs: Can't stat ufsid/4edc992e27d147ce: No such file or directory > Using inode

Re: accepting rtadv broken on 9-STABLE, re driver?

2012-01-06 Thread Sergey Kandaurov
On 6 January 2012 22:19, Mark Felder wrote: > Hi guys, > Hi, > I upgraded my desktop at work just around christmas to 9-PRERELEASE builds > and ipv6 has been broken since then. I've been too busy at work to fix it > but today I finally had the chance to figure it out. > > Currently I'm running:

Re: [PATCH] Fix kenv(1) output in w/respect to new boot loader variables

2011-12-29 Thread Sergey Kandaurov
On 28 December 2011 05:26, Devin Teske wrote: > D'Oh! Attached wrong (OLD; already applied) patch. > > Please find appropriate patch attached! Hi. I committed your patch to head as svn r228985. Thank you! > >> -Original Message- >> From: Devin Teske [mailto:devin.te...@fisglobal.com] >>

Re: strange printf(9) format specifier ("Z") in dev/drm code

2011-12-05 Thread Sergey Kandaurov
On 5 December 2011 02:22, Alexander Best wrote: > hi there, > > i was going through the clang warnings from a GENERIC buildkernel and noticed > the following: > > ===> drm/mga (all) > /usr/subversion-src/sys/modules/drm/mga/../../../dev/drm/mga_state.c:56:2: > error: invalid conversion specifier

Re: Acquiring ACPI_LOCK(acpi) from kernel module during boot process

2011-10-14 Thread Sergey Kandaurov
On 14 October 2011 16:11, Maxim Ignatenko wrote: > Hi, > > I have this code: > https://gitorious.org/acpi_call-freebsd/acpi_call-freebsd/blobs/5e6a79869721a2bd8de88b5cfa90c14b429cb5c7/acpi_call.c > It works just fine when loaded into kernel manually, but crashes if > loaded during boot via loader.

Re: module_register_init fails, but driver is still loaded?

2011-08-05 Thread Sergey Kandaurov
On 4 August 2011 20:23, Garrett Cooper wrote: > Hi hackers, >    I noticed that if anything fails while initializing a driver, the > driver stays attached to the kernel as a module instead of being > kicked when all references to the driver go to 0. Is this desired > behavior (it doesn't seem like

Re: strange 'vmstat -z' output

2011-07-06 Thread Sergey Kandaurov
On 6 July 2011 05:08, Jason Hellenthal wrote: > > > On Wed, Jul 06, 2011 at 04:40:54AM +0400, Sergey Kandaurov wrote: >> On 6 July 2011 02:46, Alexander Best wrote: >> > hi there, >> > >> > i'm seeing the following with 'vms

Re: strange 'vmstat -z' output

2011-07-05 Thread Sergey Kandaurov
On 6 July 2011 02:46, Alexander Best wrote: > hi there, > > i'm seeing the following with 'vmstat -z' on CURRENT, running on amd64: > > ITEM                   SIZE  LIMIT     USED     FREE      REQ FAIL SLEEP > 128 Bucket:            1048,      0,     150,       0,    1650,12746,   0 > > ...how ca

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: kvm_open errors on /proc/*/mem in top

2011-06-10 Thread Sergey Kandaurov
On 10 June 2011 00:01, Jim Bryant wrote: > i'm not sure which list this belongs to, so i'm posting to -hackers and > -stable. > > i've noticed for a while now that during heavy activity (for instance > buildworld), that top will get these kvm_read errors when reading proc > mem entries. Hi. I thi

Re: fdopendir prototype on 7.3-RELEASE amd64

2011-06-01 Thread Sergey Kandaurov
On 1 June 2011 19:27, Klaus T. Aehlig wrote: > > [Please CC me, as I'm not subscribed to this list] > > Hallo, > > while dealing with PR ports/157274 [1], I found that the following > program cause a segmentation fault on 7.3-RELEASE amd64, even though > my understanding of the man page of fdopend

Re: ifconfig output: ipv4 netmask format

2011-04-11 Thread Sergey Vinogradov
On 08.04.2011 16:08, Sergey Vinogradov wrote: Hi, hackers. I have a question: why ipv4 netmask is displayed by ifconfig in hex format? Isn't dot-decimal notation more human-readable? Will the attached patch break something in the very ba

Re: ifconfig output: ipv4 netmask format

2011-04-11 Thread Sergey Vinogradov
On 09.04.2011 16:07, Damien Fleuriot wrote: On 4/9/11 7:33 AM, Garrett Cooper wrote: Although I see the value of your and Sergey's argument, the problem is that it may cause unexpected breakage for other third parties that depend on a particular behavior in FreeBSD as Bjoern and others have s

Re: ifconfig output: ipv4 netmask format

2011-04-08 Thread Sergey Vinogradov
08.04.2011 19:55, Mike Bristow пишет: On Fri, Apr 08, 2011 at 07:40:56PM +0400, Sergey Vinogradov wrote: On 08.04.2011 19:23, Warner Losh wrote: On Apr 8, 2011, at 6:08 AM, Sergey Vinogradov wrote: If we really wanted to make it human readable, we'd output 10.2.3.4/24 So, maybe,

Re: ifconfig output: ipv4 netmask format

2011-04-08 Thread Sergey Vinogradov
[snip] So, maybe, while following the POLA, we should add an option, as Daniel mentioned above? To output the CIDR? Eh... I don't know if doing this would be wise because it might break some 3rd party mechanisms for parsing the output (as broken as you might think it is), in particular (for ex

Re: ifconfig output: ipv4 netmask format

2011-04-08 Thread Sergey Vinogradov
On 08.04.2011 19:23, Warner Losh wrote: On Apr 8, 2011, at 6:08 AM, Sergey Vinogradov wrote: Hi, hackers. I have a question: why ipv4 netmask is displayed by ifconfig in hex format? Isn't dot-decimal notation more human-readable? Will the attached patch break something in the very ba

Re: ifconfig output: ipv4 netmask format

2011-04-08 Thread Sergey Vinogradov
On 08.04.2011 19:23, Mike Oliver wrote: On Fri, Apr 8, 2011 at 08:08, Sergey Vinogradov wrote: Hi, hackers. I have a question: why ipv4 netmask is displayed by ifconfig in hex format? Isn't dot-decimal notation more human-readable? Will the attached patch break something in the very ba

ifconfig output: ipv4 netmask format

2011-04-08 Thread Sergey Vinogradov
Hi, hackers. I have a question: why ipv4 netmask is displayed by ifconfig in hex format? Isn't dot-decimal notation more human-readable? Will the attached patch break something in the very bad way? -- wbr, Boo --- af_inet.c.orig 2011-04-07 18:48:28.850931143 +0400 +++ af_inet.c 2011-04-

Re: issue with devstat_buildmatch(3) and certain strings

2011-04-01 Thread Sergey Kandaurov
On 1 April 2011 18:50, Warner Losh wrote: > On Apr 1, 2011, at 5:40 AM, Sergey Kandaurov wrote: >> >>                        if (++tempstr >= &tstr[5]) >> >>    >> BTW, >> this game with pointers might prevent de

Re: issue with devstat_buildmatch(3) and certain strings

2011-04-01 Thread Sergey Kandaurov
On 1 April 2011 01:03, Alexander Best wrote: > hi there, > > devstat_buildmatch(3) crashes with certain strings. you can test this by > doing one of: > > iostat -t "," > iostat -t ",," > iostat -t "da," > iostat -t ",da," > iostat -t ",da" > iostat -t "da,scsi," > iostat -t ",da,scsi" > iostat -t

Re: issue with devstat_buildmatch(3) and certain strings

2011-04-01 Thread Sergey Kandaurov
On 1 April 2011 15:37, Sergey Kandaurov wrote: > On 1 April 2011 01:03, Alexander Best wrote: >> hi there, >> >> devstat_buildmatch(3) crashes with certain strings. you can test this by >> doing one of: >> >> iostat -t "," >> iostat -t &

Re: problem with build mcelog

2011-02-18 Thread Sergey Kandaurov
On 18 February 2011 14:13, venom wrote: > On 02/11/2011 11:31 PM, John Baldwin wrote: >> >> On Friday, February 11, 2011 7:48:39 am venom wrote: >>> >>> Hello. >>> >>> i am trying build mcelog >>> >>> >>> FreeBSD 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Fri Jan 14 >>> 04:15:56 >>> UTC 2011 r

Re: sched_setscheduler() behaviour changed??

2011-02-18 Thread Sergey Kandaurov
On 17 February 2011 12:50, Mats Lindberg wrote: > All, > I have been using a small program /rt) that utilize the sched_setscheduler() > syscall to set the scheduling policy of a process to SCHED_RR. Been running > it FBSD 5.x and 6.x. Now when migrating to FBSD 8.1 I get EPERM back at me. > used t

Re: [rfc] allow to boot with >= 256GB physmem

2011-02-07 Thread Sergey Kandaurov
On 22 January 2011 00:43, Alan Cox wrote: > On Fri, Jan 21, 2011 at 2:58 PM, Alan Cox wrote: >> >> On Fri, Jan 21, 2011 at 11:44 AM, John Baldwin wrote: >>> >>> On Friday, January 21, 2011 11:09:10 am Sergey Kandaurov wrote: >>> > Hello. >>>

Re: broken INCLUDE in sys/conf/kern.pre.mk for opensolaris code?

2011-02-02 Thread Sergey Kandaurov
On 2 February 2011 20:20, Alexander Best wrote: > On Wed Feb  2 11, Sergey Kandaurov wrote: >> On 6 January 2011 04:40, Alexander Best wrote: >> > hi there, >> > >> > while building target buildkernel with 'clang -v' i noticed a lot of these >&g

Re: broken INCLUDE in sys/conf/kern.pre.mk for opensolaris code?

2011-02-02 Thread Sergey Kandaurov
On 6 January 2011 04:40, Alexander Best wrote: > hi there, > > while building target buildkernel with 'clang -v' i noticed a lot of these > lines: > > ignoring nonexistent directory > "/usr/subversion-src/sys/contrib/opensolaris/compat" > > i checked sys/conf/kern.pre.mk and there's a line referi

Re: weird characters in top(1) output

2011-02-01 Thread Sergey Kandaurov
On 1 February 2011 15:24, Alexander Best wrote: > hi there, > > i was doing the following: > > top inf > ~/output > > when i noticed that this was missing the overall statistics line. so i went > ahead and did: > > top -d2 inf > ~/output > > funny thing is that for the second output some weird cha

Re: [rfc] allow to boot with >= 256GB physmem

2011-01-21 Thread Sergey Kandaurov
On 21 January 2011 20:44, John Baldwin wrote: > On Friday, January 21, 2011 11:09:10 am Sergey Kandaurov wrote: >> Hello. >> >> Some time ago I faced with a problem booting with 400GB physmem. >> The problem is that vm.max_proc_mmap type overflows with >> such

[rfc] allow to boot with >= 256GB physmem

2011-01-21 Thread Sergey Kandaurov
Hello. Some time ago I faced with a problem booting with 400GB physmem. The problem is that vm.max_proc_mmap type overflows with such high value, and that results in a broken mmap() syscall. The max_proc_mmap value is a signed int and roughly calculated at vmmapentry_rsrc_init() as u_long vm_kmem_

Re: broken INCLUDE in sys/conf/kern.pre.mk for opensolaris code?

2011-01-05 Thread Sergey Kandaurov
On 6 January 2011 04:40, Alexander Best wrote: > hi there, > > while building target buildkernel with 'clang -v' i noticed a lot of these > lines: > > ignoring nonexistent directory > "/usr/subversion-src/sys/contrib/opensolaris/compat" > > i checked sys/conf/kern.pre.mk and there's a line referi

Re: [PATCH] Fix 'implicit declaration' warning and update vgone(9)

2010-10-27 Thread Sergey Kandaurov
On 27 October 2010 15:33, Sergey Kandaurov wrote: > On 27 October 2010 10:23, Lars Hartmann wrote: >> The vgonel function isnt declarated in any header, the vgonel prototype >> in vgone(9) isnt correct - found by Ben Kaduk > > Hi. > > I'm afraid it's just

Re: [PATCH] Fix 'implicit declaration' warning and update vgone(9)

2010-10-27 Thread Sergey Kandaurov
On 27 October 2010 10:23, Lars Hartmann wrote: > The vgonel function isnt declarated in any header, the vgonel prototype > in vgone(9) isnt correct - found by Ben Kaduk Hi. I'm afraid it's just an overlooked man page after many VFS changes in 5.x. As vgonel() is a static (i.e. private and not v

Re: SYSCALL_MODULE() macro and modfind() issues

2010-10-27 Thread Sergey Kandaurov
On 26 October 2010 17:34, John Baldwin wrote: > On Tuesday, October 26, 2010 4:00:14 am Selphie Keller wrote: >> Thanks Andriy, >> >> Took a look at the change to src/sys/sys/sysent.h >> >> @@ -149,7 +149,7 @@ static struct syscall_module_data name## >>  };                                        

Re: issue with unsetting 'arch' flag

2010-10-07 Thread Sergey Kandaurov
On 7 October 2010 22:45, Jaakko Heinonen wrote: > On 2010-10-06, Alexander Best wrote: >> $ sudo rm -d /tmp/chflags.XX >> $ tmpfile=`mktemp /tmp/chflags.XX` >> $ sudo chflags arch $tmpfile >> $ chflags noarch $tmpfile >> >> is what's causing the problem. the last chflags call should fail,

Re: issue with unsetting 'arch' flag

2010-10-06 Thread Sergey Kandaurov
On 6 October 2010 23:38, Alexander Best wrote: > On Wed Oct  6 10, Garrett Cooper wrote: >> On Wed, Oct 6, 2010 at 10:35 AM, Alexander Best wrote: >> > On Wed Oct  6 10, Garrett Cooper wrote: >> >> On Tue, Oct 5, 2010 at 4:50 PM, Alexander Best >> >> wrote: >> >> > hi there, >> >> > >> >> > i t

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

Re: kernel patch needed for wine?

2010-07-12 Thread Sergey Nikolenko
On 12.07.2010 18:25, Tijl Coosemans wrote: Last Tuesday blizzard release World of Warcraft 3.3.5, and with this patch World of warcraft stopped working in FreeBSD 8.1 amd64, it crashes right after login. I have been playing World of Warcraft on FreeBSD amd64 since December of 2009 using the beta

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: "global" TCP_NODELAY?

2009-10-12 Thread Sergey Smitienko
Ivan Voras пишет: I'm trying to work around some extreme brain damageness in PHP (yes, it sucks) which doesn't have a way to set TCP_NODELAY on stream sockets so I'm wondering what are my other options? Is there a way to set TCP_NODELAY system-wide? What's wrong with: __

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

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: How to quickly determine if UFS2 FS is "clean" from command line?

2008-12-25 Thread Sergey Zaharchenko
Hello David! Thu, Dec 25, 2008 at 05:49:56PM -0800 you wrote: > Would anyone else be interested in a hack to dumpfs(8) in the form > of a command line flag (e.g., "-s" -- as in "short" or "super block > only") to tell it to just spit out the FS super block information > and skip the cylinder grou

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: LIST_REMOVE problem

2008-11-08 Thread Sergey Matveychuk
Joerg Sonnenberger wrote: On Fri, Nov 07, 2008 at 10:07:17PM +0300, Sergey Matveychuk wrote: If we'll take a look at code, LIST_REMOVE don't change a head pointer if you remove the first element: It does via le_priv. OK, thanks. I see now. I'll try to find out why my code

LIST_REMOVE problem

2008-11-07 Thread Sergey Matveychuk
Hi! I wonder how this example from queue(3) works: while (!LIST_EMPTY(&head)) {/* List Deletion. */ n1 = LIST_FIRST(&head); LIST_REMOVE(n1, entries); free(n1); } If we'll take a look at code, LIST_REMOVE don't change a head pointer if

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

gprof: weird output

2008-02-10 Thread Sergey Matveychuk
Hi. Why there are signed counters in gprof? It look weird: -0.20 -0.10 3749040/-2102105488 insert_overlayed [1800] 112.74 57.07 -2105854528/-2102105488 route2ro [4] [5] 76.3 112.53 56.97 -2102105488 ro_sort [5] 56.9

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

How to get a kthread ID?

2007-10-25 Thread Sergey Matveychuk
Is there a possibility to get a kthread ID inside a kthread? Just like pthread_self(3). -- Dixi. Sem. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECT

Re: HP SmartArray ( CISS ) and CAMCONTROL

2007-07-01 Thread Sergey Svishchev
Array heath by running camcontrol devlist -v . arrayprobe (http://www.strocamp.net/opensource/arrayprobe.php) could be ported, I guess. -- Sergey Svishchev pgpsbnl18g9VZ.pgp Description: PGP signature

My PPP timer PR [nag]

2007-05-10 Thread Sergey Zaharchenko
Hello hackers@, bin/102747 has been sitting there for about 8 months, with no activity since it was assigned to brian@, all my mail to whom bounces [CC'd just in case]. The patch attached in the PR has been working for me since, so it not being fixed in the main tree isn't a problem with me. I ju

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

passwd: what problem to allow to try PAM?

2007-03-19 Thread Sergey Matveychuk
Hi! passwd(1) now disallow changing a password via PAM. Why? Is there some hidden reason like a security one or something I missed? Here is code: /* check where the user's from */ switch (pwd->pw_fields & _PWF_SOURCE) { case _PWF_FILES: fprintf(stderr, "Ch

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

nVidia driver (Was: Re: WITNESS & RELENG_6)

2007-01-12 Thread Sergey Zaharchenko
Hello, Eugene! Fri, Jan 05, 2007 at 01:11:46AM +0700 you wrote: > On Thu, Jan 04, 2007 at 02:12:45PM +0200, Kostik Belousov wrote: > > > mplayer hangs hard the whole system in the moment it switches to > > > full-screen. > > > > When hangs, does it answer ping/allow ssh connections ? > > > Can'

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

  1   2   3   4   5   >