How to get filename of an open file descriptor

2007-11-12 Thread Yuri
to open files. And also it only shows FDs of the current process. So why there's no /proc/PID/fd in FreeBSD? And how do I work around this? Or should I just invest time and write a kernel patch implementing /proc/PID/fd/? Yuri ___ freebsd-hackers

Re: How to get filename of an open file descriptor

2007-11-12 Thread Yuri
Robert, Thank you for your response. I attempted to compile procstat but procstat.h seems to be missing in tgz. Yuri Quoting Robert Watson [EMAIL PROTECTED]: On Mon, 12 Nov 2007, Yuri wrote: I am looking for functionality similar to Linux's /proc/PID/fd/FD. I need to know what

Re: How to get filename of an open file descriptor

2007-11-12 Thread Yuri
the the same information instead of the specialized utility. Thanks, Yuri Quoting Robert Watson [EMAIL PROTECTED]: You can give these patches a try: http://www.watson.org/~robert/freebsd/20071112-procstat.tgz They reflect a work-in-progress procstat(1) tool, which inspects process state

Re: How to get filename of an open file descriptor

2007-11-13 Thread Yuri
Robert, Thank you for letting me know about this new feature procstat. But is there any workaround in 6.3? I need to port one package that needs to lookup file names by FDs to the current FreeBSD and need some solution now. Yuri Quoting Robert Watson [EMAIL PROTECTED]: On Mon, 12 Nov 2007

Any hope to have things requested by NVidia in FreeBSD-7?

2007-11-16 Thread Yuri
I read long time ago that the reason that NVidia can't have their driver on 64-bit platform is that FreeBSD kernel lacks some functionality. Is this functionality present in 7.0? Or when to expect this to be done? I have NVidia card but still run 32-bit system because of lack of driver. Yuri

Re: Any hope to have things requested by NVidia in FreeBSD-7?

2007-11-16 Thread Yuri
@, amongst other lists I'm sure.. Thanks, -Garrett Add the printout to nvidia-driver port telling the address of this Wiki-page. All people who use NVidia have to go there to update the driver so they will see the URL. Yuri ___ freebsd-hackers@freebsd.org

Re: Any hope to have things requested by NVidia in FreeBSD-7?

2007-11-16 Thread Yuri
would search for. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

/lib/pthread.so.2 is sought during some port compilation

2007-11-28 Thread Yuri
has been replaced by /lib/libthr.so. Why would linker seek for libpthread.so instead of libthr.so? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL

Re: /lib/pthread.so.2 is sought during some port compilation

2007-11-28 Thread Yuri
(?) and now firefox is being compiled with a new libc.so.7. So do I have to rebuild all ports to be able to run on 7.0? UPDATES file doesn't say anything about this beyond the line that it was replaced. Yuri Quoting Kris Kennaway [EMAIL PROTECTED]: libpthread is a symlink to libthr

Re: /lib/pthread.so.2 is sought during some port compilation

2007-11-29 Thread Yuri
with binaries linked to two versions of FreeBSD libraries, like libc.so.6 and libc.so.7, and this is a recipe for disaster. Yes, that's what I am doing. portupgrade -af Thanks, Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: /lib/pthread.so.2 is sought during some port compilation

2007-11-29 Thread Yuri
dependencies. Kris That's what I am doing now. When the original problem occurred I was just running 'portupgrade -aP' which was wrong on freshly upgraded to 7.0 machine. Thank you, Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: pkgdb failures

2007-11-29 Thread Yuri
I deleted this file: /var/db/pkg/pkgdb.db and then pkgdb -fu succeeded. But next time I ran I got the same error with /usr/ports/INDEX-7.db. Then this error disappear. So it's most likely the bug with Berkeley DB. Anybody else has these kind of problems? Yuri Quoting Yuri [EMAIL PROTECTED

pkgdb failures

2007-11-29 Thread Yuri
, and the problems should go away. So what should I do now to upgrade ports? Yuri -- error log during portupgrade -- /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument ** Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFOQ --- Skipping 'net/openldap23-client' --- Reinstalling

Re: pkgdb failures

2007-11-29 Thread Yuri
(1.85, 2.x or 4.x) [(cd /usr/ports/ports-mgmt/portinstall make config) will give you that info]? 4.x 3. uname -a says? BSD xxx.xxx.xxx 7.0-BETA3 FreeBSD 7.0-BETA3 #1: Tue Nov 27 13:11:12 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Yuri

Linux executable picks up FreeBSD library over linux one and breaks

2007-11-30 Thread Yuri
I am trying to run Linux version of Skype and am getting the following error: /usr/home/yuri/skype/current/skype: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI File /usr/lib/librt.so.1 is FreeBSD library and /usr/compat/linux/lib/librt.so.1 is Linux library

Port recompomile causes recursive cycle in make process

2007-12-06 Thread Yuri
? Is this a bug in port make files? Or in this port itself? Seems to me the bug is in FreeBSD port makefile since in case of failure make shouldn't relaunch that same port again. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Stale mount on disconnected device: how to delete it?

2007-12-17 Thread Yuri
. 'umount -f /dev/da0s1' causes the system to hang. And when I try to reconnect the camera it shows up as /dev/da1s1. How to delete stale mount and stale device? Should I file a PR for this system hang? I use 7.0-BETA4. Yuri ___ freebsd-hackers@freebsd.org

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

2007-12-17 Thread Yuri
devices. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Is Elf formatdocumented anywhere?

2008-01-15 Thread Yuri
such document even exist? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Is Elf formatdocumented anywhere?

2008-01-15 Thread Yuri
. These links only go that far. Googling many if not most of the constants that are in /usr/include/sys/elf_common.h only gives some discussion references. You can also read the elf(5) manpage in FreeBSD Not many details here too. Yuri ___ freebsd-hackers

Reading from sound card broken in perelease?

2008-01-17 Thread Yuri
/rawrec file I am getting an error: /usr/local/bin/rawrec: read syscall of dsp device failed: Invalid argument And dmesg gets a new record: pcm0:record:dsp0.r1: record interrupt timeout, channel dead Should I file a PR? Yuri FreeBSD xxx.xxx.xxx 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Jan 4

Re: Reading from sound card broken in prerelease?

2008-01-17 Thread Yuri
i believe you should search the PRs first: i have a vague memory of seeing a report on this before. I ran the search by sound/audio/emu10k1 and wasn't able to find any recent PR like this. So I filed a new PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=119759 Yuri

ATAPI dvdreader always fails on a particular DVD movie title

2008-01-18 Thread Yuri
. Is this a known issue? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Compile of freshly updated 7.0 sources fails

2008-01-18 Thread Yuri
) === lib/libpam/libpam (buildincludes) make: don't know how to make security/openpam_attr.h. Stop Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: ATAPI dvdreader always fails on a particular DVD movie title

2008-01-19 Thread Yuri
- REPORT_KEY ILLEGAL REQUEST asc=0x6f ascq=0x04 Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: ATAPI dvdreader always fails on a particular DVD movie title

2008-01-19 Thread Yuri
fine. So do all makers of DVD equipment also have to consult with Sony/Disney/whoever else? This is quite messy... Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: ATAPI dvdreader always fails on a particular DVD movie title

2008-01-21 Thread Yuri
'. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: ATAPI dvdreader always fails on a particular DVD movie title

2008-01-24 Thread Yuri
is libdvdcss problem. Also, please get an MUA that understands UTF-8. This *is* the 21st century, you know... I use Horde-based webmail and asked my provider to update it to the latest version. Yuri ___ freebsd-hackers@freebsd.org mailing list http

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

2008-01-24 Thread Yuri
. I know that few USB Webcams are supported in the similar way on FreeBSD recompiling Linux source drivers. Also Mplayer is using similar approach wrapping around Windows-only binary codecs. But is these such thing for network cards on FreeBSD? Yuri

Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
192.168.0.1 netmask 255.255.255.0 ssid freebsdap wepmode on weptxkey 3 wepkey 3:0x3456789012 authmode open mode 11g mediaopt hostap succeeds though CAPS doesn't have WEP. Isn't this a bug? Yuri ___ freebsd-hackers@freebsd.org mailing list http

Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
192.168.0.1 netmask 255.255.255.0 ssid freebsdap wepmode on weptxkey 3 wepkey 3:0x3456789012 authmode open mode 11g mediaopt hostap succeeds though CAPS doesn't have WEP. Isn't this a bug? Yuri ___ freebsd-hackers@freebsd.org mailing list http

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
question. Isn't it better to have 2 separate flags in CAPS: for example WEP and WEPHW? WEP would mean that WEP is supported and WEPHW would mean that it's supported through hardware. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
businesses are in arears with respect to properly upgrading the wireless routers that they use for financial processing. Sorry, Your response has nothing to do with the question. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
, not what is supported by hardware. Is there any way to know what is logically supported by network interface as passed to 'ifconfig' vs. what is supported by hardware interface? Yuri ___ freebsd-hackers@freebsd.org mailing list http

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
supported no matter what WEP flag says. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

umass: should the device specific information be moved from C code to the text file?

2008-02-28 Thread Yuri
) which would be read by umass driver when it's loaded. This way users will be able to easily remove/add entries without the need to recompile the module. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

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

2008-04-09 Thread Yuri
. Is this a known issue? g++ --version g++ (GCC) 4.2.1 20070719 [FreeBSD] uname -a FreeBSD xxx.xxx.xxx 7.0-STABLE FreeBSD 7.0-STABLE #5: Thu Feb 28 03:58:20 PST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Yuri ___ freebsd-hackers

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

2008-04-09 Thread Yuri
Erik Trulsson wrote: It works fine for me too, using FreeBSD 6-stable and the built-in gcc 3.4.6 as well as with gcc 4.2.4 20080305 installed from ports. No need to use -pthreads in either case This means that this issue is STABLE-7.0 specific. Yuri

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

2008-04-18 Thread Yuri
() at exc-2.C:7 And shared libraries loaded correspond to this compiler. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

airodump-ng loses all stations after 30 mins

2008-05-29 Thread Yuri
mem 0xcffe8000-0xcffe irq 17 at device 10.0 on pci0 And I use 7.0-STABLE. This seems like a bug in the driver. But I am asking here hoping someone will have an answer off the top of their head. Yuri ___ freebsd-hackers@freebsd.org mailing list

How to probe what application does in kernel (with sound device)?

2008-06-13 Thread Yuri
sound application gets some strange interruption and buzz every time I try to activate sound from skype. That's how I know that skype really does something with sound device. Is there a way to probe program's activity with devices in-kernel? Yuri

Re: valgrind on FreeBSD 7

2008-10-02 Thread Yuri
/projects/valgrind/... Note that this version does not work on architectures other than i386. Cheers, Any developments in Valgrind/Callgrind on FreeBSD? Any hope to get this version into ports and to merge FreeBSD support up into Valgrind project? Yuri

How to troubleshoot wireless problem?

2008-11-03 Thread Yuri
for wireless networking in FreeBSD? I use this command line: ifconfig wepmode on ssid my-ssid weptxkey 1 wepkey 0xMYKEY dhcp on 7.1-PRERELEASE Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

How process size is calculated? Is it always based on the current highest available address in memory space?

2008-12-28 Thread Yuri
is always linked to the current highest available address in memory space? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: lzo2 shows insane speed gap

2008-12-29 Thread Yuri
Christian Weisgerber wrote: skipped My best guess at this time is that lzo2 somehow manages to induce crazy cache thrashing on some CPU models. Ideas and explanations welcome. Did you ask the author? He might be the best person to ask. Yuri

Re: lzo2 shows insane speed gap

2008-12-29 Thread Yuri
that at least number of instructions executed is the same. Lzo2 documentation says that there are a lot of algorithms implemented. It might be choosing the algorithm based on the CPU and the choice it's making might be bad. Yuri ___ freebsd-hackers

Re: Wi-Fi support - which iface works better?

2009-01-19 Thread Yuri
of them. Based on these experiences i came to a conclusion that WiFi support isn't stable yet in FreeBSD. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

How to troubleshoot why ath0 can't connect to a passwordless wireless network?

2009-02-09 Thread Yuri
radio 5.6 I use 71-PRERELEASE Yuri ___ 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: How to troubleshoot why ath0 can't connect to a passwordless wireless network?

2009-02-10 Thread Yuri
is 'UP' and 'associated'? I used this same system to connect to other open WiFi networks without the problem. So it seems to be network-specific. And it fails only for certain networks. Yuri ___ freebsd-hackers@freebsd.org mailing list http

Atheros wireless card keeps losing signal when signal is too weak

2009-03-25 Thread Yuri
, RF2413, RF5413) ath0: Atheros 5212 mem 0xcffe-0xcffe irq 16 at device 5.0 on pci0 Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers

Re: Atheros wireless card keeps losing signal when signal is too weak

2009-03-25 Thread Yuri
tolerance to missing beacons. Does it make sense to have a parameter lost beakon tolerance? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Is international support broken is msdosfs file system driver?

2009-04-03 Thread Yuri
options like ufs driver normally does? Yuri ___ 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: Is international support broken is msdosfs file system driver?

2009-04-06 Thread Yuri
Nobody replied and I still have the problem. I extracted the area of the disk where long file names are stored. And can see that all characters are in UTF-8. So how to correctly read UTF-8 encoded VFAT? Yuri ___ freebsd-hackers@freebsd.org mailing

Re: Is international support broken is msdosfs file system driver?

2009-04-07 Thread Yuri
://groups.google.com/group/btload/web/msdosfs.tar.bz2 doesn't exist. Somehow in Windows the disk is read correctly without specifying any additional options. So I guess this is a serious defect that msdosfs driver can't do the same. Yuri ___ freebsd-hackers

Why top never shows ~100% CPU usage with heavy PCU load?

2009-05-01 Thread Yuri
, 90M Cache, 112M Buf, 11M Free Swap: 16G Total, 204M Used, 16G Free, 1% Inuse, 16K In PID USERNAMETHR PRI NICE SIZERES STATETIMECPU COMMAND 85422 yuri 1 990 2520K 980K RUN 0:21 57.47% cycle skipped minor loads Total of CPU column for all processes

Re: Why top never shows ~100% CPU usage with heavy PCU load?

2009-05-01 Thread Yuri
Alexey Shuvaev wrote: Strange is 20% system load. The summary line is about all cpus/cores/... Correction: instead of 20% should be 3.8%. Also if this matters I have FreeBSD 7.2, single CPU AMD3200 @ 2GHz. Yuri ___ freebsd-hackers@freebsd.org

Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?

2009-05-21 Thread Yuri
Seems like failing system calls (mmap and sbrk) that allocate memory is more graceful and would allow the program to at least issue the reasonable error message. And more intelligent programs would be able to reduce used memory instead of just dying. Yuri

Re: Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?

2009-05-21 Thread Yuri
(and mmap/sbrk) situations that would overcommit? Yuri ___ 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

7.2-PRERELEASE hangs every time after running airodump-ng on ath0 for a few hours

2009-06-10 Thread Yuri
I got this hang twice in the last day. After 2-3 hours of continuously run airodiump-ng (from net-mgmt/aircrack-ng) system stops responding to any mouse/keyboard clicks. Why would aircrack-ng hang the system? How to troubleshoot this? I am current on ports and my kernel is from May 6. Yuri

Re: 7.2-PRERELEASE hangs every time after running airodump-ng on ath0 for a few hours

2009-06-10 Thread Yuri
Quoting Glen Barber glen.j.bar...@gmail.com: By chance, are you running an out-of-sync kernel / userland? You say the kernel is from May 6, and in the subject is 7.2-PRERELEASE. 7.2 was -RELEASEd on May 3. I am sorry, it's 7.2-RELEASE. Yuri

Re: 7.2-PRERELEASE hangs every time after running airodump-ng on ath0 for a few hours

2009-06-10 Thread Yuri
Quoting Glen Barber glen.j.bar...@gmail.com: By chance, are you running an out-of-sync kernel / userland? You say the kernel is from May 6, and in the subject is 7.2-PRERELEASE. 7.2 was -RELEASEd on May 3. I just updated to more recent 72-STABLE and still got the hang. Yuri

top shows that multithreaded program uses 19623.14% CPU

2009-06-13 Thread Yuri
I ran then program with 1500 threads and in top it looked the this: PID USERNAMETHR PRI NICE SIZERES STATE C TIMECPU COMMAND 20382 yuri 1500 990 641M 462M umtxn 0 0:00 19623.14% quicksort skipped further Where can I read how CPU column is calculated? Some

Re: valgrind on FreeBSD 7

2009-06-17 Thread Yuri
on valgrind for FreeBSD? Also is there a way to check it out from the server? Is it on perforce? I believe there is no easy way to even get it read-only without user id. So are there snapshots somewhere? Yuri ___ freebsd-hackers@freebsd.org mailing list http

'No buffer space available' messages from ral0 device

2009-07-05 Thread Yuri
message repeated 7 times After I put it down/up and set it up again it worked fine again. Is this a known problem? Any workaround? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe

How to profile the disk io performed through mmaps?

2009-07-28 Thread Yuri
I have a file mmapped to memory area and partially modified this way. Is there a way to know what are the actual disk writes/reads done on the file in this scenario? Would kqueue events on file's vnode be triggered for mmapped writes? Yuri

Re: How to profile the disk io performed through mmaps?

2009-07-29 Thread Yuri
utility that wraps kqueue functionality or I have to write my own code to do this? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: How to profile the disk io performed through mmaps?

2009-07-29 Thread Yuri
my question is largely open: how to monitor actual reads/writes on the file? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

ral0 interface hangs with the message No buffer space available

2009-08-24 Thread Yuri
this letting apps to hold data streams. Something isn't quite right. Why would network device hang in a steady download scenaio? 7.2-STABLE Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: ral0 interface hangs with the message No buffer space available

2009-08-24 Thread Yuri
Gary Jennejohn wrote: You haven't really provided any useful information to allow further analysis What would be useful information? 'netstat -m' is one. Anything else? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: ral0 interface hangs with the message No buffer space available

2009-08-24 Thread Yuri
Here's additional information: 'netstat -m' output: 174/2931/3105 mbufs in use (current/cache/total) 68/1892/1960/25600 mbuf clusters in use (current/cache/total/max) 68/1114 mbuf+clusters out of packet secondary zone in use (current/cache) 0/1327/1327/12800 4k (page size) jumbo clusters in use

72-STABLE compilation errors

2009-09-27 Thread Yuri
I updated the source today (RELENG_7) and got the errors, see below. I compile on i386 platform. Yuri errors cc -I/usr/local/include -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr/obj/usr/src/tmp/usr\ -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin

Failure to boot from HD formatted not by FreBSD

2009-10-22 Thread Yuri
on a track boundary. What could be wrong, why it doesn't boot? Yuri --- partitions in MBR --- Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX

USB floppy fails to attach

2009-10-28 Thread Yuri
My USB floppy dive fails to attach to device (see debug log below). VendorID=0x0409 ProductID=0x0040 not mentioned in /usr/src/sys/dev/usb/storage/umass.c Can this be that some that there is a simple fix for this, like adding a quirk? Yuri -log--- ugen1.2: NEC at usbus1 umass0

Does FreeBSD issue messages about MAC/IP conflicts?

2010-01-03 Thread Yuri
ago past remind me that Windows was issuing IP conflict messages in the local wired network. Why doesn't FreeBSD complain at leat about the IP conflict? FreeBSD-8.0-STABLE, ath0 interface. Yuri ___ freebsd-hackers@freebsd.org mailing list http

Current 8.0-STABLE doesn't compile (warning: implicit declaration of function 'bus_describe_intr')

2010-01-15 Thread Yuri
After upgrading sources (RELENG_8) I get the errors below. Yuri --- error log --- cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param

How to troubleshoot why VirtualBox kernel module freezes the system?

2010-04-28 Thread Yuri
into /var/log/messages. Is there any way to troubleshoot this, like enabling some kernel configuation options? What is normally done in such case? Should I run system under kernel debugger? But would it detect something if it's not a SEGV but the freeze? Yuri

Re: How to troubleshoot why VirtualBox kernel module freezes the system?

2010-04-28 Thread Yuri
/pkg/virtualbox-ose- virtualbox-ose-3.1.6_2/virtualbox-ose-kmod-3.1.6 Obviously there are two major differences: 9.0-CURRENT and amd64. I am not sure which one matters for the problem. Yuri ___ freebsd-hackers@freebsd.org mailing list http

Re: How to troubleshoot why VirtualBox kernel module freezes the system?

2010-04-29 Thread Yuri
there (it is of course was rebuilt with 90 sources). 90-CURENT is also much slower due to the debugging options turned on. This may prevent bug in VirtualBox kernel module from hanging the system too. Yuri ___ freebsd-hackers@freebsd.org mailing list

Re: How to troubleshoot why VirtualBox kernel module freezes the system?

2010-04-29 Thread Yuri
running VirtualBox from virtualbox-ose ports under vnc on the same machine where xserver is (with nvidia driver) without a problem. This appears to be a workaround. Thank you! Yuri ___ freebsd-hackers@freebsd.org mailing list http

Re: GSoC: Making ports work with clang

2010-05-02 Thread Yuri
will just keep stumbling upon various problems with various ports and maybe will make 30% of c++ ports build with it at best. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

Why I can't trace linux process's childs with truss?

2010-09-10 Thread Yuri
follow 'cloned' processes? Is there any workaround or other way I can debug skype? strace doesn't work on amd64. I am primarily interested why it can't read /dev/video0 device, created by webcamd. Yuri ___ freebsd-hackers@freebsd.org mailing list http

Re: Why I can't trace linux process's childs with truss?

2010-09-11 Thread Yuri
Resulting trace again shows only the main process, not it's descendants, despite -d flag. Same in the case of calling with pid: ktrace -d -p pid. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

FreeBSD ABI?

2011-02-21 Thread Yuri
() || isTargetSolaris() || Is64Bit) stackAlignment = 16; But FreeBSD is excluded there. Is this a bug in LLVM which magically doesn't cause crashes or this is correct and FreeBSD doesn't have 16 bit alignment? Yuri ___ freebsd-hackers@freebsd.org

Re: FreeBSD ABI?

2011-02-21 Thread Yuri
of the stack, software convention and the operating system requires that the stack be aligned on a word boundary. But I know for the fact that Solaris-i386 uses 16 byte alignment. At least that's what gcc-4.5.2 thinks when on Solaris. Still not sure about FreeBSD-i386. Yuri

Re: FreeBSD ABI?

2011-02-21 Thread Yuri
On 02/21/2011 15:38, Joerg Sonnenberger wrote: That's a major difference. The Linux people decided a while ago that stack alignment should be 16 Byte. GCC effectively forces that down everyone's throat because until at least GCC 4.2 or 4.3, it can't correctly realign the stack and just fails

Re: FreeBSD ABI?

2011-02-21 Thread Yuri
to change this. Yuri ___ 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

Is pthread_cond_signal(3) man page correct?

2011-02-27 Thread Yuri
exactly the same. I think man page should be expanded to give more comprehensive explanation. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers

Re: Is pthread_cond_signal(3) man page correct?

2011-02-27 Thread Yuri
pthread_cond_signal call crashes, and the only reasonable explanation so far is that more than one threads are actually being woken up. Yuri On 02/27/2011 12:54, Yuri wrote: On FreeBSD-8.1 this page says: The pthread_cond_signal() function unblocks one thread waiting for the condition variable cond

Re: Is pthread_cond_signal(3) man page correct?

2011-02-28 Thread Yuri
exactly one thread. So the users won't need to have any special cycles like you suggested in your previous post. What is the underlying reason for POSIX to define it this way and for OSes to implement it this way? Yuri ___ freebsd-hackers@freebsd.org

Re: Is pthread_cond_signal(3) man page correct?

2011-03-16 Thread Yuri
in their man pages? Yuri ___ 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: Is pthread_cond_signal(3) man page correct?

2011-03-17 Thread Yuri
pthread_cond_signal, or it will just return 0? In the latter case, how can I distinguish signal delivery and successful return? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Yuri
it relate to portmaster and portupgrade packages, which both have (or include) supposedly the same functionality? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

ndis driver presents the valid WiFi network as having the name 0x000000

2011-05-27 Thread Yuri
and apple both connect to it fine. What might be causing such weird behavior? Is this a known problem? Any way to troubleshoot this? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe

Why user time of the process depends on machine load?

2011-06-15 Thread Yuri
. Yuri ___ 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

How can process in STOP state consume 200% CPU?

2011-06-28 Thread Yuri
TIMECPU COMMAND 9390 yuri3 440 508M 246M STOP3 0:00 200.00% VirtualBox ... 8.2-STABLE Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

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

2011-06-28 Thread Yuri
? Yuri ___ 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

Possible to see which requests are in queue contributing to system load?

2011-07-07 Thread Yuri
top(1) shows the load as a number supposedly equal to the resource queue length. But is there a way to detail this information? For example I want the system to log which requests to which files by which process/thread are in the queue and when they are fulfilled by the scheduler? Yuri

DTrace script asserts and kills the other process

2011-07-22 Thread Yuri
. Abort trap: 6 Also the target process is killed too: Killed: 9 8.2-STABLE amd64 Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

dhclient fails: DHCPNACK rejected

2011-07-27 Thread Yuri
. No static lease files present: /var/db/dhclient.leases.*. dhcpcd has no problem setting up re0 on thisn host. This happens on the router DLink DIR-601 with the latest firmware. 8.2-STABLE amd64 Yuri ___ freebsd-hackers@freebsd.org mailing list http

Re: dhclient fails: DHCPNACK rejected

2011-07-27 Thread Yuri
On 07/27/2011 12:06, Adam Vande More wrote: Do you have a /etc/dhclient.conf on the box? Reject statement was there. Sorry, forgot about this file, it was there for 5 years for unknown reason. Thank you, Yuri ___ freebsd-hackers@freebsd.org mailing

  1   2   >