pci_map_mem return 0

2000-01-26 Thread dmitry
hi all there! i am working on a specific dev driver for pci genlock based on Cirrus Logic GD5446 chip. when i try to map the cards memory, pci_map_mem return 0 my verbose boot message is: found-> vendor=0x1013, dev=0x00b8, revid=0x45 class=03-00-00, hdrtype=0x00, mfdev=0 subordi

Re: Broadcom BCM4310 / bwi(4) and interface bwi0 is not showing up

2010-11-08 Thread Dmitry Krivenok
I tried your patch, but my laptop hung at startup. The last line I saw on console was "Timecounters tick every 1.000 msec". I didn't dig into the problem and don't have any information useful for debugging, but I'm going to play with it later today. Dmitry On Mon

printf doesn't work from kernel modules

2010-11-22 Thread Dmitry Krivenok
he same problem with examples in /usr/share/examples/kld. I don't believe this is a real problem in FreeBSD. I'm sure this is some kind of configuration issue, but I cannot understand what exactly is wrong. What could cause such behaviour? Any ideas? Thanks! -- Sincerely yours, Dmitry V.

Re: printf doesn't work from kernel modules

2010-11-22 Thread Dmitry Krivenok
hat I run standard example on default 8.1 kernel (GENERIC). Dmitry > > Which example did you try and run (it looks like the dyn_sysctl test > would be a good one to try)? > -Garrett ___ freebsd-hackers@freebsd.org mailing list http://lists.fr

Re: Simple kernel attack using socketpair.

2010-11-26 Thread Dmitry Krivenok
gt; >> >> http://lkml.org/lkml/2010/11/25/8 >> >> What do you think about this? >> >> Thank you! > ___ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "f

mtx_init/lock_init and uninitialized struct mtx

2011-02-24 Thread Dmitry Krivenok
?) initialize struct mtx, e.g. memset(&m, '\0', sizeof(struct mtx)); Or should mtx_init() explicitly initialize all fields of struct mtx? Thanks in advance! -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmi...@gmail.com skype: krivenok_dmitry jabber: krivenok_dmi...@jabb

Re: mtx_init/lock_init and uninitialized struct mtx

2011-02-24 Thread Dmitry Krivenok
Thanks a lot for your answers! I'll always explicitly zero stack variables before calling actual *_init() functions. Also, it would be great to document this "zeroing" requirement in a man page for mtx_init() or simply add a comment in the source. Dmitry On Thu, Feb 24, 2011 at

hw.physmem (loader.conf and sysctl)

2011-03-04 Thread Dmitry Krivenok
e difference is (500 * 2**20 - 507445248) / 2**20 == 16.0625 Mb. How does the system use this "hidden" memory? Thanks! -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmi...@gmail.com skype: krivenok_dmitry jabber: krivenok_dmi...@j

Re: GSoC'11: DWARF2 call frame information

2011-03-19 Thread Chagin Dmitry
On Sun, Mar 20, 2011 at 12:36:39AM +0800, Xingxing Pan wrote: > Hi, everyone. > > I'm a student interested in the project "DWARF2 call frame > information" for Summer of Code 2011. > I'd like to know which compiler I will work on to add DWARF2 support. > This project is not tagged by "suggested".

Re: GSoC'11: DWARF2 call frame information

2011-03-20 Thread Chagin Dmitry
On Sun, Mar 20, 2011 at 11:08:10AM +0800, Xingxing Pan wrote: > 2011/3/20 Chagin Dmitry : > > On Sun, Mar 20, 2011 at 12:36:39AM +0800, Xingxing Pan wrote: > >> Hi, everyone. > >> > >> I'm a student interested in the project "DWARF2 call frame >

Re: GSoC'11: DWARF2 call frame information

2011-03-20 Thread Chagin Dmitry
On Sun, Mar 20, 2011 at 11:24:21PM +0800, Xingxing Pan wrote: > >> > > > > hm, you should add the .cfi directive in each .S file by hand: > > http://www.logix.cz/michal/devel/gas-cfi/ > > > > -- > > Have fun! > > chd > > > > Thanks for your reply. I think I have got the idea. > For the object file

Re: GSoC'11: DWARF2 call frame information

2011-03-21 Thread Chagin Dmitry
On Mon, Mar 21, 2011 at 05:36:13PM +0800, Xingxing Pan wrote: > 2011/3/21 Chagin Dmitry : > >> powerfull script. > >> > >> Xingxing Pan > > > > hmm, which script? I think enough amd64, i386 and amd64/ia32. > > > > I suggest to write a example

Possible bug in gdb-6.1.1 (it leaves zombie processes)

2011-05-25 Thread Dmitry Krivenok
Hello hackers, I think I found a bug in base gdb-6.1.1 on FreeBSD-8.2. Below is how you can reproduce it. I run "sleep 10" command under control of gdb-6.1.1 as follows $ gdb --args sleep 10 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the

Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-25 Thread Dmitry Krivenok
alid selected thread." right after the thread has exited. Looks like gdb is unable to switch to another thread. What's wrong here? Thanks! -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmi...@gmail.com skype: krivenok_dmitry jabber: krivenok_dmi...@jabber.ru icq: 242-526-44

Bug in ksched_setscheduler?

2011-06-01 Thread Dmitry Krivenok
; /usr/src/sys/ /usr/src/sys/kern/ksched.c:#define p4prio_to_tsprio(P) ((PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE) - (P)) $ Is it a real bug or just my misunderstanding of something? Thanks! -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmi...@gmail.com skyp

Re: Bug in ksched_setscheduler?

2011-06-06 Thread Dmitry Krivenok
I've submitted PR http://www.freebsd.org/cgi/query-pr.cgi?pr=157657. Dmitry On Thu, Jun 2, 2011 at 6:34 PM, John Baldwin wrote: > On Wednesday, June 01, 2011 12:42:42 pm Dmitry Krivenok wrote: >> Hello Hackers, >> I think I found a bug in ksched_setscheduler()

pri_to_rtp returns invalid initial priority

2011-07-07 Thread Dmitry Krivenok
e code above in thr.c and create the following Makefile: # Declare Name of kernel module KMOD = thr # Enumerate Source files for kernel module SRCS= thr.c # Include kernel module makefile .include Then type $ make $ sudo make load

Re: pri_to_rtp returns invalid initial priority

2011-07-12 Thread Dmitry Krivenok
lean build and still see the same. On Thu, Jul 7, 2011 at 10:46 PM, John Baldwin wrote: > On Thursday, July 07, 2011 6:37:02 am Dmitry Krivenok wrote: >> Hi Hackers, >> I've developed a simple kld which demonstrates a problem I found on my >> FreeBSD-8.2. > > Ma

Re: Useful tools missing from /rescue

2007-09-03 Thread Dmitry Morozovsky
otdisk as root. Trick with -lm seems to be needed because libzfs itself refers to pow(3) - or did I miss something trivial to resolve this? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: [EMAIL PROT

Re: How to get filename of an open file descriptor

2007-11-12 Thread Dmitry Morozovsky
existed in the past. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: [EMAIL PROTECTED] ] ---- *** Dmitry Morozovsky --- D.Marck ---

Re: Wrapper for Windows-only network card binary drivers on FreeBSD?

2008-01-24 Thread Bachilo Dmitry
В сообщении от Friday 25 January 2008 11:25:33 Garrett Cooper написал(а): > On Jan 24, 2008, at 5:29 PM, Julian Elischer wrote: > > Yuri wrote: > >> I am curious is there an effort in FreeBSD similar to Linux > >> NDISwrapper? > >> NDISwrapper taked Windows XP binary driver and runs it on Linux. >

[kern/sys_pipe.c] PIPE_NODIRECT and pipe throughput

2008-03-07 Thread Antipov Dmitry
and disabled ? Thanks, Dmitry ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Transferring ports

2008-03-13 Thread Dmitry Marakasov
lling full packages in a jail, or, say, copying over additional tree of jail-specific changes (mostly stuff under /etc and /usr/local/etc). Such an utility is something I still might start working on. -- Dmitry A. Marakasov| jabber: [EMAIL PROTECTED] [EMAIL PROTECTED] | http://www.amdmi3.ru

Moving from FreeBSD7 to FreeBSD8 (cdev, minor, dev2unit)

2010-05-07 Thread Dmitry Krivenok
e code of all modules as follows: - int dev_num = minor(dev); + int dev_num = minor(dev2unit(dev)); and now it compiles and works well. Is this the proper way of solving the problem? Thanks in advance! -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmi...@gmail.com skype: krivenok_dmi

Need advice about selsocket analogue for a set of sockets

2010-05-13 Thread Dmitry Krivenok
ance! -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmi...@gmail.com skype: krivenok_dmitry jabber: krivenok_dmi...@jabber.ru icq: 242-526-443 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

select/poll for sockets in kernel space

2010-05-25 Thread Dmitry Krivenok
erally good, but not in my case :)). Is it possible to solve my problem using existing kernel functionality? Any suggestions are welcome! Thanks in advance! P.S. I know about kqueue, but I have to use select/poll is this task. -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dm

GEOM_DEBUG kernel option

2010-06-14 Thread Dmitry Luhtionov
I introduce new kernel option GEOM_DEBUG Its enabled on default, but disable it reduce runtime kernel size and slightly improve performance by disabling debug stuff in compile time On my amd64 machine compiling modules without GEOM_DEBUG option reduce size geom_mirror.ko from 130 to 77 kilobytes g

GEOM_DEBUG kernel option

2010-06-14 Thread Dmitry Luhtionov
I introduce new kernel option GEOM_DEBUG Its enabled on default, but disable it reduce runtime kernel size and slightly improve perfomance by disabling debug stuff in compile time On my amd64 machine compiling modules without GEOM_DEBUG option reduce size geom_mirror.ko from 130 to 77 kilobytes ge

Do we still need libc_r and libkse in /usr/src/lib?

2010-07-05 Thread Dmitry Krivenok
code since SVN doesn't really delete anything)? If not, could you please explain why? Thanks! -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmi...@gmail.com skype: krivenok_dmitry jabber: krivenok_dmi...@jabber.ru icq: 242-526-443 ___

Kernel linker and undefined references in KLD

2010-07-15 Thread Dmitry Krivenok
on `main': main.c:(.text+0xa): undefined reference to `seltdinit' collect2: ld returned 1 exit status $ Thanks in advance! -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmi...@gmail.com skype

Re: Kernel linker and undefined references in KLD

2010-07-15 Thread Dmitry Krivenok
y use wrong calling convention. On Thu, Jul 15, 2010 at 6:32 PM, Kostik Belousov wrote: > On Thu, Jul 15, 2010 at 06:07:36PM +0400, Dmitry Krivenok wrote: >> Hello Hackers, >> >> I have a question about kernel link

Any way to fix '/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by ... not found'?

2010-08-12 Thread Dmitry Marakasov
ugin.so not found] Is there a way to fix that, maybe some linker magic? -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ruhttp://www.amdmi3.ru ___ freebsd-hackers@freebs

little mistake in rc.subr?

2010-09-27 Thread Dmitry Banshchikov
Hello, In /etc/rc.subr, at line 231, there is: if [ ! -f $_pidfile ]; then debug "pid file ($_pidfile): not readable." return fi Is check "[ ! -r $_pidfile ]" more correct? -- Dmitry Banshchikov ___ freebsd-hackers@free

Re: git problems

2008-06-04 Thread Chagin Dmitry
On Wed, 4 Jun 2008, Eygene Ryabinkin wrote: hello! has just subscribed this problem with git is fixed in version 1.5.5.1, our port requires updating. -- Have fun! chd ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/li

i386 jail undex amd64: libkvm

2008-06-26 Thread Dmitry Morozovsky
. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: [EMAIL PROTECTED] ] *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL

profiling broken on RELENG_7/i386

2008-07-04 Thread Dmitry Morozovsky
MCK-RIPE, DM3-RIPN] [ FreeBSD committer: [EMAIL PROTECTED] ] *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] *** ---

Re: profiling broken on RELENG_7/i386

2008-07-04 Thread Dmitry Morozovsky
On Fri, 4 Jul 2008, Dmitry Morozovsky wrote: DM> It seems we step on a bug in gcc in RELENG_7/i386 DM> DM> It is triggered at least by profiling program which uses getopt(3): [snip] DM> other ref platforms seem to be ok. Nah, HEAD/i386 also has this bug, though backtrace is a b

Re: profiling broken on RELENG_7/i386

2008-07-13 Thread Dmitry Morozovsky
On Sun, 13 Jul 2008, Peter Jeremy wrote: PJ> On 2008-Jul-04 13:01:11 +0400, Dmitry Morozovsky <[EMAIL PROTECTED]> wrote: PJ> >It seems we step on a bug in gcc in RELENG_7/i386 PJ> > PJ> >It is triggered at least by profiling program which uses getopt(3): PJ> PJ

Re: profiling broken on RELENG_7/i386

2008-07-13 Thread Dmitry Morozovsky
On Sun, 13 Jul 2008, Bruce Cran wrote: BC> > PJ> On 2008-Jul-04 13:01:11 +0400, Dmitry Morozovsky <[EMAIL PROTECTED]> BC> > PJ> wrote: BC> > PJ> >It seems we step on a bug in gcc in RELENG_7/i386 BC> > PJ> > BC> > PJ> >It is triggered

Re: Debugging reboot with Linux emulation

2008-08-13 Thread Chagin Dmitry
On Tue, Aug 12, 2008 at 11:52:35PM -0700, Nate Eldredge wrote: > Hi folks, > > I recently tried to run a Linux binary of Maple (commercial math software) > on my FreeBSD 7.0-RELEASE/amd64 box, and the machine rebooted. I tried it > again while watching the console, and no panic message appeared

Re: VirtualBox looks for FreeBSD developer

2008-10-10 Thread Dmitry Marakasov
nside for additional details. http://amdmi3.ru/files/virtualbox-port.tar.gz -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D [EMAIL PROTECTED] ..: jabber: [EMAIL PROTECTED]http://www.amdmi3.ru ___ freebsd-ha

-pthread propagation

2009-04-01 Thread Dmitry Marakasov
plains what really happens when using -lpthread, and what happens in the above mentioned error case (cc'ing hackers@). So should -pthread be forced in ldflags 1) Only in ports that explicitely use threads 2) In all ports that link with -lthr implicitely, including through other ports? -- Dmi

[patch] kernel iconv improvements

2009-04-27 Thread Dmitry Marakasov
csp->cp_from = cp; + for (; *cp; cp++) + *cp = toupper(*cp); } else csp->cp_from = iconv_unicode_string; csp->cp_data = data; --- iconv.c.patch ends here --- -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A

MosChip 7840 dual port ucom

2009-05-26 Thread Dmitry Morozovsky
[DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: ma...@freebsd.org ] *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru

Re: sysinstall, GJOURNAL and ZFS

2009-06-10 Thread Dmitry Morozovsky
t file system blocked even on reads. This looks unacceptable for me for any real use. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: ma...@freebsd.org ] -----

Re: tmpfs experimental?

2009-06-17 Thread Dmitry Morozovsky
s ;) -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: ma...@freebsd.org ]

NFS write corruption on 8.0-RELEASE

2010-02-10 Thread Dmitry Marakasov
s shifted by 36 bytes in the same way. Any ideas? PS. Diffs of corrupted blocks in a text format are here: http://people.freebsd.org/~amdmi3/diff.1.txt http://people.freebsd.org/~amdmi3/diff.2.txt http://people.freebsd.org/~amdmi3/diff.3.txt -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510

Re: NFS write corruption on 8.0-RELEASE

2010-02-12 Thread Dmitry Marakasov
to access it freeze; this cures itself in some time with a message "server is alive again"). Also I've seen another strange thing - not only the mount dies but the network is flooded with NFS traffic. Last time I've seen it quite a while ago, so I don't remember the ci

Re: NFS write corruption on 8.0-RELEASE

2010-02-12 Thread Dmitry Marakasov
tion means that processes > on different clients won't see each other's locks. That > means that you will get corruption if they rely on > locking. I know - I have no processes that use locks on that filesystems. Also there's only a single client. -- Dmitry Marakasov .

Re: NFS write corruption on 8.0-RELEASE

2010-02-12 Thread Dmitry Marakasov
uot;soft" mounts, binaries can coredump, and many > programs won't notice that write access just failed which > leads to file corruption. > > Personally I definitely prefer the first. Yeah, but I have mostly desktop<->(NAS w/torrents) setup so I prefer the second. -- Dm

Strange behavior of kernel module (output terminated)

2010-03-23 Thread Dmitry Krivenok
number was always 550. I don't think I found a bug in the kernel :) I believe I just don't understand something. Could you please explain the behavior of the module? Thank you beforehand! -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmi...@gm

Build world with DEBUG_FLAGS='-g -O0'

2010-04-12 Thread Dmitry Krivenok
or message "-2941 bytes available" is not clear for me :) What's wrong? Thank you beforehand! P.S. Note that compiling with DEBUG_FLAGS='-g' works fine. -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmi...@gmai

Re: Build world with DEBUG_FLAGS='-g -O0'

2010-04-12 Thread Dmitry Krivenok
Is there a simple way to build size constrained parts of world (e.g. bootcode) with '-O2' and other parts with '-O0'? On Mon, Apr 12, 2010 at 11:54 PM, Bernd Walter wrote: > On Mon, Apr 12, 2010 at 10:34:30PM +0400, Dmitry Krivenok wrote: > > Hello Hackers, > &

netstat count option

2010-04-21 Thread Dmitry Banschikov
selected information every second continuously. -- Dmitry Banshchikov patch-netstat Description: Binary data ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to

Xeon box hanging, top shows "FFS_node". FFS problem?

1999-06-25 Thread Dmitry Flitmann
some kernel option can help? sorry for poor English. Sincerely, Dmitry Flitman National News Service/National Electronic Library. To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message

Re: GRE encapsulation under FreeBSD 3.2

1999-06-30 Thread Dmitry Khrustalev
On Wed, 30 Jun 1999, Jonathan Lemon wrote: > In article > > you write: > >I don't seem to see support for GRE (IP-in-IP encaspulation) in FreeBSD > >(although I might be blind)...anyone working on support it or is there > >already an implementation? > Beware, there is nasty crash when no

Physical memory access from kld

2005-11-18 Thread Dmitry Pryanishnikov
gt;dev. So for Device 0 I'm just using OS-created objects: STAILQ_FOREACH(dinfo,&pci_devq,pci_links) { cfgp = &dinfo->cfg; if (cfgp->baseclass != PCIC_BRIDGE) continue; if (cfgp->subclass != PCIS_BRIDGE_HOST) continue;

Re: ZyXEL usb wifi

2005-11-24 Thread Bachilo Dmitry
В сообщении от Четверг 24 Ноябрь 2005 21:18 Cristiano Deana написал(a): > Hi, > > I got a ZyXEL ZyAIR G-220, dongle usb wi-fi. > FreeBSD (-CURRENT) shows it as ugen0, what can i do to help somebody > to include support for this product in FreeBSD? > What for? It will work with NDIS compatibility ju

Kevent(2) doesn't notify about EVFILT_WRITE filter event

2005-12-01 Thread Dmitry Agaphonov
Hello all, I have two applications (server A and server B, A asks B for data to serve clients) communicating via UNIX-domain socket. Testing local clients interact to server A via UNIX-domain sockets too. Server A uses kqueue(2) to handle clients and server B. When about 20 clients start reque

Re: Kevent(2) doesn't notify about EVFILT_WRITE filter event

2005-12-04 Thread Dmitry Agaphonov
John-Mark Gurney wrote on 01.12.2005 10:55 MSK: JMG> Dmitry Agaphonov wrote this message on Thu, Dec 01, 2005 at 15:06 +0300: JMG> > I have two applications (server A and server B, A asks B for data to JMG> > serve clients) communicating via UNIX-domain socket. Testing local

Re: FreeBSD VGA Framebuffer

2005-12-20 Thread Bachilo Dmitry
have a better resolution in your console, see graphics and so on, try load VESA module and use vidcontrol with mode VESA_800x600. Read man vidcontrol for all this. Best regards, Bachilo Dmitry ___ freebsd-hackers@freebsd.org mailing list http://lists.free

Re: increasing dd disk to disk transfer rate

2006-01-13 Thread Dmitry Morozovsky
T. I would suggest also using src/tools/tools/recoverdisk by phk (I still not sure why it's not a port) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] --

Re: FreeBSD Real Mode interface

2006-01-30 Thread Dmitry Frolov
> find out how to do this in FreeBSD. LRMI <http://sourceforge.net/projects/lrmi> should work on FreeBSD since version 0.8. And here is my FreeBSD/NetBSD patch for atitvout (with instructions inside): http://kaya.nov.net/frol/patches/atitvout-0.4-bsd2.diff wbr&w, dmitry. -- Dmitr

Re: FreeBSD Real Mode interface

2006-01-30 Thread Dmitry Frolov
* Dan Nelson <[EMAIL PROTECTED]> [31.01.2006 11:13]: > In the last episode (Jan 31), Dmitry Frolov said: > > * Loren M. Lang <[EMAIL PROTECTED]> [28.01.2006 13:09]: > > > > > Is there any equivalent to the Linux Real Mode interface in FreeBSD? I >

Re: Dual booting Free BSD 6 and Slackware

2006-02-17 Thread Bachilo Dmitry
В сообщении от Пятница 17 Февраль 2006 17:07 Allen написал(a): > /boot/vmlinuz > > Is the boot file you add to lilo > > What is the equiv of this in Free BSD? /boot/kernel doesn't seem to work on > lilo and I'd really like to use it for booting and I've done it before, > that and Free BSD didn't wa

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

2006-04-02 Thread Bachilo Dmitry
В сообщении от Понедельник 03 Апрель 2006 12:32 Joe Marcus Clarke написал(a): > I know we have vfs.usermount, but this is not always sufficient since > the user has to own the mount point in question. What I propose is to > add a ``user'' mount option à la Linux. This would make mount and > umoun

config(8), include, and INCLUDE_CONFIG_FILE

2006-04-30 Thread Dmitry Morozovsky
ay for me seems tracking all config while lex/yacc parsing into memory buffer, as configfile() is invoked after full config parse. Any thoughts? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ----

Re: USB Flash disk on FreeBSD 6

2006-05-24 Thread Bachilo Dmitry
В сообщении от Среда 24 мая 2006 21:14 Cesar написал(a): > Hi, > > Anyone know if FreeBSD 6.x have problems with usb flash disks? > I have a mini-freebsd build running on some flash disks with FreeBSD > 5.3, last week I changed to FreeBSD 6.0 and my flash disks started to show > a lot of er

clamd+libunrar signal 4: how to debug?

2006-05-31 Thread Dmitry Pryanishnikov
Does this listing suggest that no code of VolNameToFirstName() has actually been executed yet? What other gdb commands can I use to narrow down the problem? Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: [EMAIL PROTECTED] nic-hdl: LYNX-RIPE _

Re: D-Link DSL210 USB in FreeBSD 6.x ?

2006-06-04 Thread Bachilo Dmitry
В сообщении от Понедельник 05 июня 2006 10:04 Roberto Lima написал(a): > Hi all, > How do I make to runs the DLINK DSL210 USB in my freebsd? I tried this > with Linux, and I not have success .. > > Anyone can help me? > > Thanks and sorry for my bad english. > > Roberto. Is sat a wireless network

Re: adm1026 support

2006-06-16 Thread Dmitry Pryanishnikov
code is very simple indeed. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: [EMAIL PROTECTED] nic-hdl: LYNX-RIPE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send

Re: Virtual device driver programming

2006-06-23 Thread Dmitry Pryanishnikov
t FreeBSD's Netgraph subsystem does? man 4 netgraph Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: [EMAIL PROTECTED] nic-hdl: LYNX-RIPE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-

Simple question about mmap() system call

2006-06-23 Thread Dmitry Pryanishnikov
I'm overlooking something very basic and stupid, but can't find what exactly. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: [EMAIL PROTECTED] nic-hdl: LYNX-RIPE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Simple question about mmap() system call

2006-06-23 Thread Dmitry Pryanishnikov
ions are shared. is rather terse and doesn't explicitly says that w/o it data will not be stored back to the mmapped object. One can only deduce this behaviour, and deduction sometimes fails at the end of working day ;) Sincerely, Dmitry -- Atlantis ISP, System Administr

mmap() vs. character special file

2006-06-23 Thread Dmitry Pryanishnikov
_not_ mounted), I'm getting EINVAL from mmap(). Is mmap()ping a disk slice/partition impossible by design, or it just isn't implemented yet? IMHO manpage doesn't reply to this question. Sincerely, Dmitry -- Atlantis ISP, System Administr

Re: mmap() vs. character special file

2006-06-24 Thread Dmitry Pryanishnikov
e disk contents and write them back (e.g., disklabel edition). Of course, those tasks are very specific, so implementing mmap() just for them is an overkill. Stanislav Sedov MBSD labs, Inc. <[EMAIL PROTECTED]> Россия, Москва http://mbsd.msk.ru Sincerely, Dmitry -

Re: A New FreeBSD Server

2006-06-26 Thread Dmitry Morozovsky
ays are some unused memory regions, hence you need not add 64k to RAM size. At least, I had no trouble using swap == RAM for last 5 years or so... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ----

ENOMEM @ RELENG_6 graid3

2006-06-26 Thread Dmitry Morozovsky
Marck [DM5020, MCK-RIPE, DM3-RIPN] *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] *** ___ fr

Re: ENOMEM @ RELENG_6 graid3

2006-06-27 Thread Dmitry Morozovsky
IRTY GenID: 0 SyncID: 9 Number: 2 Type: DATA 5. Name: ad10g Mediasize: 279689633280 (260G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Flags: DIRTY GenID: 0 SyncID: 9 Number: 3 Type: DATA Sincerely, D.Marck [DM502

Re: ENOMEM @ RELENG_6 graid3

2006-06-27 Thread Dmitry Morozovsky
[DM5020, MCK-RIPE, DM3-RIPN] ---- *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] *** ___ freebsd-hackers@freebsd.org mailing list http://li

Re: New Welcome message for FreeBSD

2006-07-28 Thread Dmitry Marakasov
d' `b d' `b $. `*o. $ @ $'$ @D @D $ `b `b $.P $ $ q. q. $.P ,. .P $ .* $ $ *ss* *ss* $* ^ss' ?ss*` -- Best regards, Dmitry mailto:[EMAIL PROTECTED]

Re: disklabel differences FreeBSD, DragonFly

2006-07-29 Thread Dmitry Marakasov
put a disklabel with 8 partitions > in it on each one (for 32 total). It isn't as convenient, but it does > work. About `lack' of partitions - don't forget that labels can be nested. Just do `bsdlabel -w /dev/ad0s1e` - you'll get /dev/ad0s1ea. -- Best regards, Dmit

Re: disklabel differences FreeBSD, DragonFly

2006-07-30 Thread Dmitry Marakasov
to mount subpartitions of that image (or boot qemu from it) without md(4) overhead (of course MBR slices can be nested as well - you'll get ad0s1s1 or ad1s1as1). Very cute indeed :) -- Best regards, Dmitry mailto:[EM

Re: disklabel differences FreeBSD, DragonFly

2006-07-30 Thread Dmitry Marakasov
* David Gilbert ([EMAIL PROTECTED]) wrote: > Dmitry> About `lack' of partitions - don't forget that labels can be > Dmitry> nested. Just do `bsdlabel -w /dev/ad0s1e` - you'll get > Dmitry> /dev/ad0s1ea. > Don't also forget that gpt(8) exists and seems to

absolute vs. relative offsets in disklabel

2006-07-31 Thread Dmitry Marakasov
ound these quite easy to change. I'm not sure about compatibility though - is it possible to introduce some flag into label indicating that it uses relative offsets? If the idea is welcomed, I am eager to work on it, as I would like this change much. -- Best regards, Dmitry

Re: absolute vs. relative offsets in disklabel

2006-08-01 Thread Dmitry Marakasov
disk to another, and the answer was "it's > always been that way" :) It shouldn't be too hard to have the code > autodetect whether the offsets are relative or absolute by looking at > what the 'c' partition's offset is. The only problem seem to be t

Re: absolute vs. relative offsets in disklabel

2006-08-06 Thread Dmitry Marakasov
t of the containing provider. It has nothing to do with GEOM, it's ondisk format of disklabel. I've confirmed, there are global offsets. -- Best regards, Dmitry mailto:[EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org

RTM_LOSING (Re: Is it possible to trace the routing socket messages)

2006-08-18 Thread Dmitry Pryanishnikov
the message is worrying. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: [EMAIL PROTECTED] nic-hdl: LYNX-RIPE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: numbers don't lie ...

2006-09-19 Thread Dmitry Morozovsky
[DM5020, MCK-RIPE, DM3-RIPN] ---- *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] *** ___ freebsd-h

Re: numbers don't lie ...

2006-09-20 Thread Dmitry Morozovsky
512M/4k/512 swap-backed md, the former with /usr/src on the gmirror'ed pair of SATAs. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PRO

Re: numbers don't lie ...

2006-09-20 Thread Dmitry Morozovsky
But, in order to populate the ram disk, you must read /usr/src also from EA> something, and that also takes time, which you should include in the full EA> scope. ... and that populates cache with src files as well ;-) Sincerely, D.Marck [DM5020, MCK-RIPE

Re: numbers don't lie ...

2006-09-25 Thread Dmitry Morozovsky
be I did used wrong wording (2% is statistically meaningful), but for me 2% is not worth all the efforts needed to organize ram disk infrastructure... Sincerely, D.Marck [DM5020,

Re: sockstat tcp/udp switches

2006-11-06 Thread Dmitry Frolov
vert protocol pass through. Would be nice if divert pseudo protocol is also covered. wbr&w, dmitry. -- Dmitry Frolov <[EMAIL PROTECTED]> RISS-Telecom Network, Novosibirsk, Russia [EMAIL PROTECTED], +7 383 2278800, DVF-RIPE ___

About CPU cores numbering an processor affinity

2013-08-23 Thread Dmitry Sivachenko
Hello! I am using FreeBSD-9-STABLE on the following hardware: FreeBSD/SMP: Multiprocessor System Detected: 24 CPUs FreeBSD/SMP: 2 package(s) x 6 core(s) x 2 SMT threads So I have 2 physical CPUs with 6 core each. # cpuset -g pid -1 mask: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,

Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS

2013-08-31 Thread Dmitry Morozovsky
Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: ma...@freebsd.org ] ---- *** Dmitry Morozovs

Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS

2013-08-31 Thread Dmitry Morozovsky
On Sat, 31 Aug 2013, Dmitry Morozovsky wrote: > > > I don't have an exact recollection of what is installed by freebsd-update > > > - are > > > *.symbols files installed? > > > > Doesn't look like it. I wonder if I can grab that from a distro si

loader code to zpool.cache loading

2013-09-25 Thread Dmitry Morozovsky
[DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: ma...@freebsd.org ] ---- *** Dmit

mmap() question

2013-10-09 Thread Dmitry Sivachenko
Hello! I have a program which mmap()s a lot of large files (total size more that RAM and I have no swap), but it needs only small parts of that files at a time. My understanding is that when using mmap when I access some memory region OS reads the relevant portion of that file from disk and cac

Re: mmap() question

2013-10-11 Thread Dmitry Sivachenko
On 11.10.2013, at 9:17, Konstantin Belousov wrote: > On Wed, Oct 09, 2013 at 03:42:27PM +0400, Dmitry Sivachenko wrote: >> Hello! >> >> I have a program which mmap()s a lot of large files (total size more that >> RAM and I have no swap), but it needs only sma

Re: mmap() question

2013-10-12 Thread Dmitry Sivachenko
On 12.10.2013, at 13:59, Konstantin Belousov wrote: > > I was not able to reproduce the situation locally. I even tried to start > a lot of threads accessing the mapped regions, to try to outrun the > pagedaemon. The user threads sleep on the disk read, while pagedaemon > has a lot of time to re

  1   2   3   >