Why FreeBSD procfs is so different from the Linux one?
Hi, When I look at /proc/PID/ in FreeBSD I see the files: cmdline ctl dbregs etype filefpregs map mem notenotepg regsrlimit status and in Linux: cmdline cpu cwd environ exe fd maps mem mounts root stat statm status Why there's such a difference in procfs interface to the process information? In addition Linux has /proc/self/ link which is named curproc in FreeBSD. Isn't it better to have the same interface across the systems? Tyanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Calling syscalls through int 0x80 documentation?
Hi, Is there a documentation on how to call system calls via 'int 0x80'? Which registers should contain which values. BTW I am well aware of system call 'syscall' but still need to use 'int 0x80' :-) Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Calling syscalls through int 0x80 documentation?
> You can try here: > http://www.ctyme.com/intr/int-80.htm > Thanks Derek. This site just says: parameters on stack. So when following this I write the function 'mysyscall' (below) it doesn't work. It should return 3 but returns 14. And I am on i386. So something is missing. Yuri --- code #include extern int mysyscall ( int syscall_no, int a1, int a2, int a3, int a4, int a5, int a6); asm( ".text\n" "mysyscall:\n" " push28(%esp)\n" " push24(%esp)\n" " push20(%esp)\n" " push16(%esp)\n" " push12(%esp)\n" " push8(%esp)\n" " push4(%esp)\n" " int $0x80\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " ret\n" ".previous\n" ); main() { char *fname = "myxxxfile"; //int fd = open(fname, O_WRONLY|O_CREAT); int fd = mysyscall(5/*open*/, (int)fname,O_WRONLY|O_CREAT,0,0,0,0); // open printf("fd=%i\n",fd); } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Calling syscalls through int 0x80 documentation?
> I guess I'd ask why you want to use syscall at all to just open a file? I > thought you wanted to access some hardware and had no other way to do that. Derek, Opening a file is just an example. I want to be able to make any system call this way since my program for whatever reasons has to be compiled with such gcc options that prevent being linked to system calls in the traditional way. No hardware issues for me. Btw I submitted the wrong assembly code with my previous message. The right one (still not working) is below. Lack of documentation causes me to ask this kind of question here. Yuri code --- #include extern int mysyscall ( int syscall_no, int a1, int a2, int a3, int a4, int a5, int a6); asm( ".text\n" "mysyscall:\n" " movl%esp,%ebx\n" " push28(%ebx)\n" " push24(%ebx)\n" " push20(%ebx)\n" " push16(%ebx)\n" " push12(%ebx)\n" " push8(%ebx)\n" " push4(%ebx)\n" " int $0x80\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " ret\n" ".previous\n" ); main() { char *fname = "myxxxfile"; //int fd = open(fname, O_WRONLY|O_CREAT); int fd = mysyscall(5, (int)fname,O_WRONLY|O_CREAT,0,0,0,0); // open printf("fd=%i\n",fd); } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Calling syscalls through int 0x80 documentation?
By experimenting I found the working version now. I still don't understand why first element on stack while going into 'int 0x80' should be stack pointer. asm( ".text\n" "mysyscall:\n" " movl%esp,%eax\n" " push28(%eax)\n" " push24(%eax)\n" " push20(%eax)\n" " push16(%eax)\n" " push12(%eax)\n" " push8(%eax)\n" " push%eax\n" " movl4(%eax), %eax\n" " int $0x80\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " pop %ecx\n" " ret\n" ".previous\n" ); ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Calling syscalls through int 0x80 documentation?
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/x86.html > > Have you looked at the documentation there? > Has a section on system calls and return values. Thank you Mak! This is what I was looking for. Somehow I have oversaw it myself. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Calling syscalls through int 0x80 documentation?
> Yuri, > > Sorry I wasn't more help. I'm an old assembler programmer, but have not > done much of that under FreeBSD. > > Glad you got it solved. > > -Derek This no problem at all Derek. Thank you for answering me anyway. Now I solved my problem and moved on. Have a good weekend! Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to match /proc/#/map entries to the library/executable file name
Hi, I need to find the file name for every /proc/#/map entry for a program linked statically. But some of them end with '-'. Where can I find documentation describing /pcor/#/map file format, explaining why these dashes are there? And how to find the corresponding filenames? I found a method based on 'dladdr' function. But this seems to only work when dynamic libraries are enabled. Here is /proc//map file: 0x3800 0x38193000 403 0 0xc656dc60 r-x 1 0 0x0 COW NC vnode /usr/local/xxx/bin/xxx 0x38193000 0x38c61000 7 0 0xc6a8dbdc rw- 1 0 0x2180 NCOW NNC default - 0xbfbe 0xbfc0 2 0 0xc67506b4 rwx 1 0 0x2180 NCOW NNC default - Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
What is the equivalent of Linux 'gettid' systemcall on FreeBSD?
Hi, I am porting some code to FreeBSD and need to know what todoinstead of Linux gettid? Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Getting errors writing large iso image to DVD (bug in atapi driver?)
I am trying to write iso image to blank DVD-R. Every time I try (with a new blank disk of course) I get this error: 4534108160/4691437568 (96.6%) @15.8x, remaining 0:10 RBU 100.0% UBU 53.1% :-[ [EMAIL PROTECTED] failed with SK=3h/ASC=0Ch/ACQ=00h]: Input/output error :-( write failed: Input/output error /dev/pass0: flushing cache /dev/pass0: updating RMA /dev/pass0: closing disc And dmesg says: g_vfs_done():acd0[READ(offset=4290936832, length=65536)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 g_vfs_done():acd0[READ(offset=4290936832, length=4096)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 g_vfs_done():acd0[READ(offset=4290940928, length=65536)]error = 5 ISO file is very large, almost at the limit: 4691437568 bytes. (limit is 47+tiny bit). I use command 'growisofs -dvd-compat -speed=16 -Z /dev/cd0=my.iso' to write. And my burner is brand new PIONEER DVD-RW DVR-112D 1.21. Burned only 5-6 DVDs yet. Why would is such error be reproducible? I vaguely remember that my old writer (Sony) had similar problem and particular large iso images were reproducibly failing with the similar message. Does this suggest that ATAPI driver has some bug? Thanks, Yuri FreeBSD xxx.xxx.xxx 6.2-STABLE FreeBSD 6.2-STABLE #9: Tue Oct 2 01:27:22 PDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Getting errors writing large iso image to DVD (bug in atapi driver?)
Christian, This is not a cheap DVD from discounters. It's DVD-R from TDK. And drive is from Pioneer. So I don't really understand why it would be such a problem. Also you mentioned that cheap DVDs work ok on Windows but not on FreeBSD. This also suggests that it's some ATAPI driver bug. Yuri Quoting MAILING 2 <[EMAIL PROTECTED]>: > I often recognized that problem with cheap DVD from discounters. As long > as I used > DVD+RW's from Verbatim I didn't get those input/output errors. I noticed, > that cheap DVD's works with Windows and the same ISO File like a charme > but doesn't work with FreeBSD. Those errors with nasty DVD's were > reproducible > for me. > Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"Error cracking CSS key" error while running dvdbackup on video DVD disk
I know that similar question was already asked in numerous groups/mail-lists but I couldn't find the definitive answer. Sometimes when I run dvdbackup (port sysutils/dvdbackup) I get the following error: libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x3ae0) and many other ones similarly looking. After some debugging I found that error originates in libdvdcss, in file 'ioctl.c': ... struct dvd_authinfo auth_info; memset( &auth_info, 0, sizeof( auth_info ) ); auth_info.format = DVD_REPORT_TITLE_KEY; auth_info.agid = *pi_agid; auth_info.lba = i_pos; i_ret = ioctl( i_fd, DVDIOCREPORTKEY, &auth_info ); ... here lba = 15072 and agid=0 (in one of the cases). Simultaneously dmesg reports another error line: acd0: FAILURE - REPORT_KEY ILLEGAL REQUEST asc=0x6f ascq=0x04 And stderr message is being printed: libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x3ae0) So is this likely a bug in libdvdcss, libdvdread or ATAPI driver? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Getting errors writing large iso image to DVD (bug in atapi driver?)
Yes, TDK disks are x16 for writing, so as Pioneer burner and software. Once I lowered maximum speed to x4 problem seems to go away. Thank you for advice, Yuri > Just a question: do both DVD disks and DVD writer have a maximum speed limit > x16? > I am asking because I experienced similar problem on TDK disks; in my case > the speed limit was x8. The writer managed to successfully write some disks > while failing on others. After I have limited speed to x4, all the disks were > written successfully. It looks like when I go maximum, the disk quality is in > question. Have you tried setting the speed limit below the maximum? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
'break' system call man page is missing?
I can't find man page for system call break. /usr/src/lib/libc/sys/ seems to have sources for many man pages but not for break. In the mean time in one case it fails for me with errno=22 (Invalid argument). Is it's argument (pointer) related to /proc/##/map? One of the blocks mentioned in this map file has upper limit equal to the argument pointer of break. What is the condition when errno=22 is returned? Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 'break' system call man page is missing?
In /usr/include/sys/syscall.h it's listed as SYS_break with the number 17. Is it the same as brk(2)? Yuri Quoting Jonathan Chen <[EMAIL PROTECTED]>: > Are you looking for brk(2)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 'break' system call man page is missing?
> What is the condition when errno=22 is returned? I figured this out myself by looking into the kernel source code. But there still should be a man page for this since this seems to be only (or at least one of the very few) system calls w/out documentation. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vim doesn't preserve the terminal content
I use vim both on Linux and FreeBSD. On Linux after I exit vim original screen content is restored. On FreeBSD vim leaves the last content viewed in vim. How do I make vim preserve the screen? Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
thunderbird eats all memory and dies
Hi, Beginning from the time I last reinstalled FreeBSD from scratch I have my thunderbird dying with the following message: terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_alloc Abort trap (core dumped) This is after it grows in memory to over 1GB in a few hours of idle existence. I even forcibly reinstalled all dependent packages so that all shared libs used by thunderbird are refreshed. But no improvement. Thunderbird was recently upgraded to 2.0.0.8 but the problem didn't go away. Anyone has the same issue? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD procfs: fd information is missing?
In Linux /proc//fd/ is a link to the file corresponding to FD opened by process with process id PID. But in FreeBSD I don't see /proc//fd at all. How can I get the corresponding to FD file? Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to see UNICODE character number?
What is the easiest way to get the UNICODE number for a Chinese character? I use KDE. All programs just show the character itself when I paste it :-) Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to see UNICODE character number?
> > All programs just show the character itself when I paste it :-) > > Have you tried kcharselect ? Tried it now. When I paste the character to the box in the bottom and press Enter nothing happens. I would like to see it's UNICODE number (like &9991;) But it goes the opposite way: from UNICODE number to the character. The problem though that there are ~20K Chinese characters in UNICODE table. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to see UNICODE character number?
Thank you Richard, This URL does the trick. But it's still strange that there's no GUI utility in KDE or just X that would do it. Yuri Quoting Richard Tobin <[EMAIL PROTECTED]>: > > What is the easiest way to get the UNICODE number for a Chinese > character? > > Try http://www.cogsci.ed.ac.uk/~richard/utf-8.html > > Paste it into the box and select "Interpret as Character". > > -- Richard > -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to know PID responsible for network connection/listen?
'netstat -a' gives me the listing of network connection/listening records. But there's no link to the process id that opened it. With lots of processes this can be a significant problem to figure out who opened which connection. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Pioneer DVR-112D/1.21 refuses to write CDs, only writes DVDs
I bought the new DVD writer -- Pioneer DVR-112D. But every time I try to write data CD or audio CD it gives Input/Output error. It can read CDs and write and read DVDs no problem. Anybody else has this problem? What is the solution? I know I should submit PR to the bug database but since PRs are processed so slowly I decided to ask here first. acd0: DVDR at ata0-master UDMA66 cd0: Removable CD-ROM SCSI-0 device I use FreeBSD-6.3-PRERELEASE. I had Sony DVD writer before, it wrote CDs on the same system w/out problems. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pioneer DVR-112D/1.21 refuses to write CDs, only writes DVDs
> Are you using burncd(1) or ports/sysutils/cdrtools ? > > Are you getting DMA errors to kernel msgbuf or simple 1-line I/O > error? I am using burncd. There is only one-line I/O error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pioneer DVR-112D/1.21 refuses to write CDs, only writes DVDs
Quoting "Brian A. Seklecki" <[EMAIL PROTECTED]>: > > Normally that means that the drive is not ready to burn (Door not closed, > or media not ready). Its possible that the driver is sensing that data > wrong from the hardware, too. > > You only have the one drive in the system? No possible /dev/ confusion? > > Try cdrtools (Good luck with the syntax) > No, door is closed and there is only one device. Actually cdrecord works ok. So I guess this is is some bug with burncd. burncd is obsolete anyway. It's wrong that handbook still recommends to use cdrecord on ATAPI cd-writer. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD-7.0 fails to compile after upgrade
I just upgraded my system, with 7.0-BETA2 CD. After this I updated the sources from CVS and tried to make buildworld. But I am getting the following compilation error. What may be wrong? Seems like some incompatibility between asembler and compiler? Yuri ../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL _THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std= gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/en g_padlock.c -o eng_padlock.So /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock. c: In function 'padlock_xcrypt_ecb': /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock. c:445: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm ' /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock. c:445: error: 'asm' operand has impossible constraints *** Error code 1 Stop in /usr/src/secure/lib/libcrypto. *** Error code 1 Stop in /usr/src. *** Error code 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD-7.0 fails to compile after upgrade
> More like incompatibility with your CFLAGS. Are you using CFLAGS with no > optimizations (can't guess from pasted log)? I didn't specify any special CFLAGS. And my /etc/make.conf is empty. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD-7.0 fails to compile after upgrade
> What about /etc/src.conf and more complete build log (at least whole > compiler line)? I don't have /etc/src.conf file. Please see last few build commands below. Versions of relevant commands: cc (GCC) 4.2.1 20070719 [FreeBSD] GNU assembler 2.15 [FreeBSD] 2004-05-23 Yuri cc -fpic -DPIC -I/usr/local/include -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/l ib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../cr ypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -D DSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c / usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_openssl.c -o eng_openssl.So cc -fpic -DPIC -I/usr/local/include -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/l ib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../cr ypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -D DSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c / usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock.c -o eng_padlock.So /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock. c: In function 'padlock_xcrypt_ecb': /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock. c:445: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm ' /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock. c:445: error: 'asm' operand has impossible constraints *** Error code 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Does 7.0-BETA2 still have debug options like 6.0-BETA did?
When 6.0 was in BETA kernel had many options like WITNESS/INVARIANTS. User-land also has some special options. Those options made FreeBSD-BETA much slower. Are any similar options "on" now in 7.0-BETA2? What is the complete list? I can only find an option "makeoptions DEBUG=-g" in sys/i386/conf/GENERIC. But it feels slower than 6.3. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD-7.0 fails to compile after upgrade
Quoting Yuri Pankov <[EMAIL PROTECTED]>: > Yes, that's what I'm talking about, you don't have any optimizations > (-Ox) in flags to cc and that's why it fails. Make sure that you don't > have CFLAGS set to '' in your environment or elsewhere (cd /usr/src ; > make -V CFLAGS will show your current settings). Interesting. Still not clear why would this error be caused bythe lack of -Ox option. 6.3 was compiling successfully with the same CFLAGS. I had some -I in CFLAGS. And didn't realize that system build picks up optimization options from there instead of appending them to existing CFLAGS. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Why ports for BETA tagged so late?
7.0-BETA3 is very stable now. But when I upgraded I have to have all ports recompiled on 7.0. There are no binaries yet on FTP so I have to recompile all ports on my machine that takes a lot of time. Why port tree tagging is so late in the release schedule? All ports compile fine at this time. Many people can benefit from the earlier availability of binary packages. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Any experience using cellphone as a modem on FreeBSD?
I have Motorola cellphone with data package on it and FreeBSD laptop. It would be very nice to have internet everywhere. Anybody uses/used cellphone this way? I know internet connectivity can go through the special cable and maybe through Bluetooth. I guess from FreeBSD side it should look like USB modem. Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Any experience using cellphone as a modem on FreeBSD?
Quoting Josh Paetzel <[EMAIL PROTECTED]>: > I've done it, and it's painfultook me the better part of two days to get > > working. The main sticking points are you need to dial some arbitrary number > > that your provider won't be able to tell you without spending 5 hours on the > > phone, and you need to know your username (relatively easy to find) and your > > password (harder than hell to find). > > Once you have all that figured out, AND you've made sure your data plan > includes "Phone as Modem" capability, you can link to it with bluetooth and > > then dial out over it with PPP. Thank you for information. It's unfortunate that even though cell phone already has IP connectivity that built-in browser works through it's still necessary to go through dialup/PPP to get this to laptop. I guess I will give it a try too. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
setxkbmap dosn't work (with KDE)
I am trying to enable some key combination to switch between keyboard layouts. Command 'setxkbmap -option grp:alts_toggle' is supposed to enable layout switching by both alts. But alts don't do anything after it. Same with 'setxkbmap -option grp:caps_toggle'. setxkbmap is from setxkbmap-1.0.4. This must be a bug somewhere. Anyone also experiences this problem? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
/usr/local/rc.d/apache22 start doesn't start Apache
I installed Apache port. But when I run "/usr/local/etc/rc.d/apache22 start" nothing happens. 'ps ax | grep httpd' returns nothing. So server wasn't started. Why nothing is printed and server not started with the first command? What is the right way to start the server? Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /usr/local/rc.d/apache22 start doesn't start Apache
Quoting Erik Cederstrand <[EMAIL PROTECTED]>: > I've been bitten by this a couple of times. Can anyone give me a hint to > where in the rc scripts I can add that one-liner to at least print > something like: > > $app not started. Please add $rcvar to /etc/rc.conf. > > instead of just silently failing? I would love to see this too. This is definitely a usability issue when somethis is not working silently. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Anybody connected Nikon D300 to FreeBSD as umass?
When I connect the USB cable 'usbdevs -v' shows the line: port 4 addr 2: high speed, self powered, config 1, NIKON DSC D300(0x041a), NIKON(0x04b0), rev 1.00 But dmesg only shows: ugen0: on uhub4 Older camera (SONY 828) that I connected before showed up as umass0. Why FreeBSD doesn't recognize it as mass storage device? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anybody connected Nikon D300 to FreeBSD as umass?
I think I figured out the reason by just looking at the kernel source. I need to add device vendor/product ids into umass.c. Yuri Quoting Yuri <[EMAIL PROTECTED]>: > When I connect the USB cable 'usbdevs -v' shows the line: > port 4 addr 2: high speed, self powered, config 1, NIKON DSC D300(0x041a), > NIKON(0x04b0), rev 1.00 > > But dmesg only shows: > ugen0: on uhub4 > > Older camera (SONY 828) that I connected before showed up as umass0. > > Why FreeBSD doesn't recognize it as mass storage device? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
MPlayer is broken on 71-PRERELEASE?
When I am trying to play a regular DVD video I am getting a messages: X11 error: BadShmSeg (invalid shared segment parameter)% 11.2% 9 0 Similar messages are printed hen I tried to play some other media files. Seems like something is broken in MPlayer on FreeBSD-71-PRERELEASE. Few months ago it used to work fine. FreeBSD xxx.xxx.xxx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #13: Sat Sep 13 22:42:11 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 mplayer-0.99.11_6 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MPlayer is broken on 71-PRERELEASE?
Actually this problem went away with the update to the more recent version of 71-PRERELEASE. Thank you, Yuri mdh wrote: Maybe bump the shared memory sysctl's? I've never had a problem with mplayer, and I've got the following in my sysctl.conf: kern.ipc.shmmax=67108864 kern.ipc.shmall=32768 The xine install suggests this (which is why I have them set), and mplayer is a similar type of application, so it may help out there as well. - mdh --- On Sat, 9/27/08, Yuri <[EMAIL PROTECTED]> wrote: From: Yuri <[EMAIL PROTECTED]> Subject: MPlayer is broken on 71-PRERELEASE? To: freebsd-questions@freebsd.org Date: Saturday, September 27, 2008, 4:07 PM When I am trying to play a regular DVD video I am getting a messages: X11 error: BadShmSeg (invalid shared segment parameter)% 11.2% 9 0 Similar messages are printed hen I tried to play some other media files. Seems like something is broken in MPlayer on FreeBSD-71-PRERELEASE. Few months ago it used to work fine. FreeBSD xxx.xxx.xxx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #13: Sat Sep 13 22:42:11 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 mplayer-0.99.11_6 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How stable is FreeBSD WiFi support?
I have FreeBSD-70 machine and Linux Gentoo machines side by side (within 10 feet). Gentoo Linux (with old AirLink101) connects to a particular encrypted WEP network without any problems all the time. FreeBSD (with ral0 device and native driver) connection is very unstable, keeps disappearing, though network card shows signal level as -90:-95. dhclient fails to set up the card, often dhclient succeeds but all name lookups fails. When internet connection is established all TCP connections get dropped after 10-20 minutes or less. I feel like I hit some bug in FreeBSD WiFi networking support. Anyone has similar experience? Yuri FreeBSD xxx.xxx.xxx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Sep 27 15:23:29 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Strange memory/cpu behavior
I have STABLE-71 machine with 2GB memory and single 2GHz AMD3200 CPU. There is one large active process slowly growing in memory from 500MB to 1300MB, not reading or writing any files. There are many dormant processes almost not running at all. Swap size remains constant (185MB). Total physical memory used remains 2GB (whole memory used). ps shows that the active process only takes 15-18% CPU. But total CPU consumption on the machine is 100% (user). Since the active process grows but swap+physical memory doesn't grow I assume that OS pushes out other processes code since it's unchanged on disk. Why such operation is so expensive and takes 80-85% CPU? Why total of all user processes CPU consumption is ~20% but total CPU(user) consumption shows as 100%? Shouldn't they be the same. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gimp: all output plugins crash
Every time I am trying to save some image all input plugins crash with the message like this: /usr/local/libexec/gimp/2.2/plug-ins/jpeg: fatal error: Segmentation fault: 11 I use gimp-2.4.7,2. I reported the problem to [EMAIL PROTECTED] (listed as maintainer) but got no response. How can I reach those who is responsible for the port? Anyone has the same problem? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange memory/cpu behavior
Jeremy Chadwick wrote: Regarding the "memory bloat", what field in top(1) are you basing this on? For the total CPU usage I used CPU: 100.0% user Active... all others were zeros. For the process CPU I looked at WCPU. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange memory/cpu behavior
Jeremy Chadwick wrote: I'm a little confused. I was mainly referring to your statement: "There is one large active process slowly growing in memory from 500MB to 1300MB, not reading or writing any files." What field in top(1) were you looking at to determine this kind of growth? Sorry, I misunderstood the question first. Memory is taken from the SIZE column, but RES is always very close. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Is KDE4 usable on FreeBSD?
I tried using it but Desktop view window that was initially created when I first launched kde4 doesn't appear with the second launch. I believe KDE4 isn't ready yet. Anyone can use it without major annoyances? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is KDE4 usable on FreeBSD?
Wojciech Puchar wrote: it's SLOW and resource hungry - giving nothing else than a good look. that's why i compare it to windoze. and why you need "desktop" (whatever it means) at all? You need desktop for Unix (Linux) to be adopted by simple users. Also GUI makes life much easier even for advanced users. I don't want to deal command lines/config files for mundane things like finding and setting up wireless networks, playing CDs/DVDs, etc. GUI integrated with desktop would make this much less time consuming. just window manager is enough, try fvwm2 maybe icewm maybe other etc. not really enough. Unfortunately open source is pretty much a failure when it comes to GUI and desktop. Any kind of GUI, look at ddd for example. Untested development-stage software (like kde4) is being released to the public for some reason. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is KDE4 usable on FreeBSD?
Wojciech Puchar wrote: Also GUI makes life much easier even for advanced users. exactly wrong. it make my life harder. these "advanced" users you say don't like to read manuals and do once simple config taking few minutes. totally wrong. imagine setting up WiFi network. one mouse click opens WiFi manager window. another double-click selects network to connect. another click closes the window of WiFi manager. How in the world it can be easier to do this with config files Unfortunately open source is pretty much a failure when it comes to GUI and desktop. Any kind of GUI, look at ddd for example. Untested development-stage software (like kde4) is being released to the public for some reason. they try to compete with windoze - so they behave the same way! who first learned that giving unfinished/buggy/incomplete software to users is a good (in marketing point of view) thing? Microsoft! they learn from it. they try to compete and fail. doesn't matter who did what first. today windoze gui is way more usable than kde4. that's the only thing that matters. if kde4 were a commercial company they would have been fired or go out of business long time ago. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Copying audio CD with dd/cdrecord produces unplayable CD
I am trying to copy an audio CD. First I've ran: dd if=/dev/acd0tN of=track-N.cdr bs=2352 for every track. This gets raw track files. Secondly I run: cdrecord -v -dao -audio $* dev=2,0,0 speed=4 This is supposed to recreate the original CD. But when I try to play it I can hear only noise. What I am doing wrong? How to troubleshoot this problem? burncd doesn't work on my system: it breaks with my PIONEER DVD-RW DVR-112D/1.21. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying audio CD with dd/cdrecord produces unplayable CD
Polytropon wrote: It sounds like "byte order reversal" which makes the typical noise. In order to 1:1 copy a CD, I'd recommend the use of the cdrdao tool - "cdrdao read-cd" and "cdrdao write" are the commands. It's easy to use them in order to get a CD "at once" and then reproduce it to blank media. If you need to use cdrecord, you can "preprocess" the .cdr files with "sox -x". You can always use the "play" command (from sox) to check what your files sound like. This is a sample command to turn .cdr files into .wav files, just to illustrate the correct parameters for interpreting the .cdr (CD audio data) format: sox -r 14400 -c 2 -b -L -S ${OUTFILE}.cdr ${OUTFILE}.wav Thank you Polytropon, Byte order was really a problem. Strange that burncd is supposed to take the original byteorder and cdrecord takes reversed one. I didn't try burncd since FreeBSD 4. Since then, I#m very comfortable with cdrecord and cdrdao and the atapicam facility. burncd is still recommended by handbook for ATAPI CDROMs for some reason. I feel like cdrecord is much nicer and once suggested to retire burncd in handbook and to always recommend cdrecord instead. But some people disagreed. Thanks for your helpful response, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying audio CD with dd/cdrecord produces unplayable CD
Polytropon wrote: On Fri, 28 Nov 2008 23:26:51 -0800, Yuri <[EMAIL PROTECTED]> wrote: If you need to use cdrecord, you can "preprocess" the .cdr files with "sox -x". You can always use the "play" command (from sox) to check what your files sound like. 'sox -x' fails for some tracks with the message: sox formats: no handler for detected file type `video/x-unknown' and for some other tracks with these errors: sox mp3-duration: recoverable MAD error sox mp3-duration: MAD lost sync sox mp3-duration: recoverable MAD error sox mp3-duration: recoverable MAD error Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying audio CD with dd/cdrecord produces unplayable CD
Joerg Schilling wrote: Well, you should not expect to get a usable read result from dd. Why? Handbook recommends the use of dd for audio CD ripping. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying audio CD with dd/cdrecord produces unplayable CD
Joerg Schilling wrote: Well, then the handbook is sub-optimal. dd in general does not work at all to read CD-Audio; FreeBSD is an exception with repect to the fact that you get data at all. Here is a list of cons for dd even on FreeBSD: - dd may not work with all drives - Do you know what byteorder you get from a MMC CD-ROM drive on FreeBSD/Sparc? You would need network byteorder on Sparc but the MMC CD-ROM drive delivers intel byteorder due to a bug in the MMC standard cdrecord always asumes network byte order for RAW audio data, this is reasonable - Why would you deal with raw audio data at all if there are audio file formats that include a notation for byte order and sampling rates? - There is no jitter check and no quality control with dd on FreeBSD, cdda2wav works on all OS and has jitter control and qualiti control with e.g. libparanoia. - There is no way to get the correct CD structure back if you use dd. Cdda2wav reads meta-data and puts them into *.inf files. - With dd, you cannot read intentionally defective media as sold by the music mafia. Allowing to read CD-DA using dd on FreeBSD is a nice gag but nothing I would recommend in order to create a copy from an audio CD. Thank you, good points. This seems to be reflected in the Handbook. I will file a PR for this. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying audio CD with dd/cdrecord produces unplayable CD
Polytropon wrote: Strange... are these definitely audio CD tracks? You could They are definitely raw audio CD tracks. use this form to explicitely tell sox how to interpret the data (which is "headerless" on audio CDs, of course): sox -r 14400 -c 2 -b -L -S -x track.cdr track_rev.cdr This command fails: $ sox sox: Bits value `-L' is not a positive integer Also -L option seems to conflict with -x: $ Failed: only one endian option per file is allowed But this command works and again produces the errors: $ sox -r 14400 -c 2 -b 16 -S -x track-03.cdr track-03.cdr.swp $ sox mp3-duration: recoverable MAD error $ sox mp3-duration: MAD lost sync $ sox mp3-duration: recoverable MAD error $ sox mp3-duration: recoverable MAD error This looks like that sox reads / generates MP3 files...? Are these definitely standard audio CD tracks (such as every old fashioned CD player can play)? No, it seems like sox is trying to interpret raw audio data as an mp3 (and other) formats for some unknown reason. It's silly but the only way I can think of to reliably do this (very slowly) in a command line is: perl -pi -e "s/(.)(.)/\\2\\1/g" track.cdr Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Why process memory starts so high up in virtual space with FreeBSD malloc?
I am compiling the following program: #include main() { printf("0x%x\n", malloc(1)); } in 32-bit 7.1-PRERELEASE and get 0x28201100 which is ~673MB of 4GB address space or 16%. When I run the same program with the google malloc (from devel/google-perftools) I get much lower value 0x80aa0e8 which is ~135MB of 4GB address space or ~3%. Why FreeBSD memory allocator wastes such a high percentage of the memory space? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why process memory starts so high up in virtual space with FreeBSD malloc?
Giorgos Keramidas wrote: The FreeBSD malloc(3) implementation can use either mmap() or sbrk() to obtain memory from the system. It does not 'waste a high percentage of memory' but it simply maps only high addresses (with an unmapped 'hole' in lower addresses). But the hole it leaves with MALLOC_OPTIONS='dM' is way larger than the one left by 'Dm' option. Usually malloc will keep allocating addresses higher than this initial value and will never come back and fill some parts of this gap. Therefore "wasting" this space. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD FTP server error
When I try to log on to FTP I get this error: $ ftp ftp.freebsd.org Trying 204.152.184.73... Connected to ftp.freebsd.org. 500 OOPS: vsftpd: not found: directory given in 'secure_chroot_dir':/usr/local/share/vsftpd/empty Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why configure files don't find /usr/local based headers?
I noticed many times that configure files of various projects fail to find headers of third party packages under /usr/local/include. They run command line like this: gcc -c conftest.c and it doesn't find them without -I/usr/local/include. Is something misconfigured on my system? How to make this issue go away without modifying all configure files? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why my Firefox doesn't display Cyrillic fonts well?
I have this problem for a long time. Firefox shows all Cyrillic fonts with very large spaces between letters, almost the same as the real space character. So it's very difficult to read. Interestingly, Opera shows the same pages very neatly in different font looking very well. I attach here fonts section from my xorg.conf. What's wrong in my configuration? Yuri --- fonts section from xorg.conf --- Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/TrueType/" FontPath "/usr/local/lib/X11/fonts/tmu/" FontPath "/usr/local/lib/X11/fonts/cyrillic/" FontPath "/usr/local/lib/X11/fonts/dejavu" EndSection --- cyrillic fonts installed --- font-cronyx-cyrillic-1.0.0 X.Org Cronyx Cyrillic font font-misc-cyrillic-1.0.0 X.Org miscellaneous Cyrillic font font-screen-cyrillic-1.0.1 X.Org Screen Cyrillic font font-winitzki-cyrillic-1.0.0 X.Org Winitzki Cyrillic font xorg-fonts-cyrillic-7.4 X.Org Cyrillic bitmap fonts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why my Firefox doesn't display Cyrillic fonts well?
Boris Samorodov wrote: Install x11-fonts/webfonts and do apropriate changes to xorg.conf. I have webfonts right after misc fonts at xorg.conf. That always gave me good results. Boris, Thanks for the advice. I did what you suggested but there is no visible change. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Netbooks good for FreeBSD?
I am thinking about buying a netbook. But I am afraid that WiFi wouldn't be supported. And all my previous attempts to make NDIS to work on FreeBD failed. Anybody has good experiences making netbooks work? Or better is there a hardware compatibility list for FreeBSD? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why Linux executable googleearth can't find proper libstdc++.so.6 ?
I installed port google-earth. When I run 'googleearth' I get such messages: ./googleearth-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./libgoogleearth_lib.so) ./googleearth-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./libbase.so) Thinking that it picks up FreeBSD libs instead of Linux ones I added LD_LIBRARY_PATH=/compat/linux/usr/lib, and I got the similar messages again: ./googleearth-bin: /compat/linux/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./libgoogleearth_lib.so) ./googleearth-bin: /compat/linux/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./libbase.so) Why I get these messages about GLIBCXX_3.4.9? Is it a bug in port? Or in package? Or in system? /etc/make.conf has the line, if that matters: OVERRIDE_LINUX_BASE_PORT=fc6 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why Linux executable googleearth can't find proper libstdc++.so.6 ?
b. f. wrote: Why I get these messages about GLIBCXX_3.4.9? Is it a bug in port? Or in package? Or in system? /etc/make.conf has the line, if that matters: OVERRIDE_LINUX_BASE_PORT=fc6 Yes, it does matter. This is a binary port, and the party that built the binaries (Google) compiled them against a fairly recent libstdc++. You are trying to link these binaries with an older version of libstdc++ in Fedora Core 6 which doesn't include the newer symbols, and getting a symbol-version error. Fedora Core 6 was released in October 2006 and reached it's end-of-life in Dec. 2007. Use a newer Linux base port, preferably the newest that will work on your platform and with your software. If you've an older version of FreeBSD that doesn't support the newer Linux base ports, then you'll have to upgrade, or do some really nasty hacking. This question is more appropriate in the freebsd-ports or freebsd-emulation mailing lists. b. Record 20080318 in /usr/ports/UPDATING says that in order for skype to work OVERRIDE_LINUX_BASE_PORT=fc6 should be set. I did that in order to make skype work. I believe latest versions of skype don't work work FreeBSD because FreeBSD only uses OSS audio and newer skypes are non-OSS. So now if I remove that line from /etc/make.conf skype is likely to break and google-earth to be fixed. How can I have both working? Looks like for some unknown reason linux has incompatible files libstdc++.so.6 in different versions instead of bumping number in name. Is it possible to have several linux bases under different install bases? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why Linux executable googleearth can't find proper libstdc++.so.6 ?
b. f. wrote: That entry also says that Fedora 8 can be used, which was the latest Linux base port at the time the entry was made, and the skype port Makefile says Fedora Core 6 __or later__ can be used. So presumably later Linux base ports will also work: try the most recent Linux base emulation port that is available for your platform. With those lines in /etc/make.conf: OVERRIDE_LINUX_BASE_PORT=f10 OVERRIDE_LINUX_NONBASE_PORTS=f10 everything works. But with f8 there were still problems. How would people know that they should set f10? Ideally this should be done my portupgrade. Or, at the very least, there should be a corresponding record in /usr/pots/UPGRADING. Record 20090831 mentions f10 in connection with some other port, but not as a general recommendation. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why scim menu in skype missing languages?
I upgraded to OVERRIDE_LINUX_BASE_PORT=f10 (from f6) in /etc/make.conf. And now scim menu from linux skype doesn't allow to choose any languages but English. How to fix? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why Linux executable googleearth can't find proper libstdc++.so.6 ?
b. f. wrote: If you look at /usr/ports/Mk/bsd.port.mk, you will see that Fedora 10 is now the default emulation port on new releases of FreeBSD (I don't know why it isn't on earlier versions: you can ask bsam@ why he chose 800076 as the cutoff, and not some other value. There may have been some feature missing from earlier versions of FreeBSD that was necessary to make emulation work well with the newer Linux software.): Now I remember: some time back (when f8 as default) skype had problem displaying UTF8 symbols and working with scim (scim doesn't display any non-English languages in skype). That's why I set fc6 as default for me, with which skype worked. With f10 the latter problem with skype still exists. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Is this card supported: Broadcom BCM94312MCGSG
I have a netbook which I would like to install FreeBSD on. I am going to order a new harddrive. But will this Broadcom card be supported or I also need to get another miniPCI replacement card? This page: http://www.mydellmini.com/forum/dell-mini-9-hardware-upgrades/4785-mini-9-compatible-network-cards.html says that it's supported on Ubuntu. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why boot manger displays '#' symbol when I press buttons and doesn't boot?
In an attempt to install FreeBSD I wrote /boot/boot0 on the harddrive which already has Windows on it plus free space. Commands 'fdisk -B -b /boot/boot0 /dev/ad4' output ended with these messages: Should we write new partition table? [n] y fdisk: Class not found After this when I boot from this HD it displays the usual: F1 Win F2 F3 F4 FreeBSD ... But when I press any button it just prints the character '#' and does nothing. If I don't type anything '#' characters appear by itself after some time and again nothing happens. I suspect that fdisk message 'Class not found' is related. What should I do to make FreeBSD boot manager to work? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Does hybernate/wakeup work?
I tried to make system hybernate with 'acpiconf -s4' on my laptop. It quickly turned off, but when I press the power button it boots like no hybernate and begins to check disks. What can be wrong? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Anybody is using VirtualBox?
I am tryingto run Windows under FreeBSD. When I run: cat /dev/ad1s1 | VBoxManage stdin OutPutFile.vdi 21474836480 on 80-RC2 I get this output: ERROR: failed to create the VirtualBox object! ERROR: code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available) Most likely, the VirtualBox COM server is not running or failed to start. No processes with name VirtualBox are running. What could be the problem? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Anybody is using VirtualBox?
ltcdd...@nildram.co.uk wrote: compiled virtual box this morning with additions to run winblows 2003 server. So far it is working better than the xp version which is good as it is one less reason to have to put in the xp harddrive Are you trying to run more than one image copied from the same file? if so use vboxmanage internalcommands sethduuid to change the id of the second image file as renaming does not do that, and you get an error if you try to run it. No, I am not trying to run multiple files. Even command VirtualBox fails the same way: "Failed to create the VictualBox COM object." "The application will now terminate." Details: Callee RC: NS_ERROR_ABORT (0x84004) Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Anybody is using VirtualBox?
After some debugging I found that VBoxSVC throws an exception because file /root/.VirtualBox/VirtualBox.xml is missing. Who is supposed to create this file? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why is sendmail is part of the system and not a package?
It's in /usr/sbin/sendmail. How many people actually use it? Very few. Why isn't it moved to ports? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Failure to connect USB Floppy drive
When I plug in my USB floppy drive I get these messages: ugen1.2: at usbus1 umass0: on usbus1 umass0: UFI over CBI with CCI; quirks = 0x umass0:4:0:-1: Attached to scbus4 (da0:umass-sim0:0:0:0): got CAM status 0x4 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry I remember using the same drive in 7.0 without problems. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Failure to connect USB Floppy drive
Adam Vande More wrote: Did you remove devel/libusb It's installed: libusb-0.1.12_4 I enabled debugging and now get an extended dmesg log: ugen1.2: at usbus1 umass0: on usbus1 umass0: UFI over CBI with CCI; quirks = 0x umass0:umass_cam_action: 4:-1:-1:XPT_PATH_INQ:. umass0:4:0:-1: Attached to scbus4 umass0:umass_cam_rescan: scbus4: scanning for 4:0:-1 umass0:umass_cam_action: 4:-1:-1:XPT_PATH_INQ:. umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:. umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:. umass0:umass_cam_action: 4:0:0:XPT_GET_TRAN_SETTINGS:. umass0:umass_cam_action: 4:0:0:XPT_SET_TRAN_SETTINGS:. umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:. umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:. umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense umass0:umass_attach: Attach finishedumass0:umass_cbi_dump_cmd: cmd = 12b (0x12002400...), data = 36b, dir = in umass0:umass_transfer_start: transfer index = 4 umass0:umass_t_cbi_data_read_callback: max_bulk=131072, data_rem=36 umass0:umass_t_cbi_data_read_callback: max_bulk=131072, data_rem=0 umass0:umass_transfer_start: transfer index = 8 umass0:umass_t_cbi_status_callback: UFI CCI, ASC = 0x00, ASCQ = 0x00 umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:. umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:. umass0:umass_cam_action: 4:0:0:XPT_GET_TRAN_SETTINGS:. umass0:umass_cam_action: 4:0:0:XPT_SET_TRAN_SETTINGS:. umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/255b data/18b sense umass0:umass_cbi_dump_cmd: cmd = 12b (0x1201ff00...), data = 255b, dir = in umass0:umass_transfer_start: transfer index = 4 umass0:umass_t_cbi_data_read_callback: max_bulk=131072, data_rem=255 umass0:umass_t_cbi_data_read_callback: max_bulk=131072, data_rem=0 umass0:umass_transfer_start: transfer index = 8 umass0:umass_t_cbi_status_callback: UFI CCI, ASC = 0x00, ASCQ = 0x00 umass0:umass_cam_action: 4:0:0:XPT_GET_TRAN_SETTINGS:. umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:. umass0:umass_cam_action: 4:0:0:XPT_GET_TRAN_SETTINGS:. umass0:umass_cam_action: 4:0:0:XPT_SET_TRAN_SETTINGS:. umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_cbi_dump_cmd: cmd = 12b (0x...), data = 0b, dir = no data phase umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:. umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b data/32b sense umassX:umass_cam_rescan_callback: xpt0: Rescan succeeded umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b data/32b sense umass0:umass_t_cbi_reset1_callback: CBI reset! umass0:umass_tr_error: transfer error, USB_ERR_STALLED -> reset umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/
Re: Failure to connect USB Floppy drive
Adam Vande More wrote: What does this mean? I remember using the same drive in 7.0 without problems. It used to work in FreeBSD-70 long time ago. Now in FReeBSD-8.0-RC1 it doesn't. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Is Intel 5100AGN WiFi card supported?
I have to change WiFi card, and my laptop only accepts certain types, others are banned by BIOS. Is this one: Intel 5100AGN supported? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Failure to connect USB Floppy drive
Lowell Gilbert wrote: That's your problem, then. You need to remove it and rebuild the ports that depended on it. This was mentioned in /usr/ports/UPDATING and /usr/src/UPDATING. I removed this port but still have this problem. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why do I get errors from mountd (can't change attributes for ... bad exports list line ...) ?
I am getting these errors in messages: Oct 30 14:37:20 eagle mountd[4243]: can't change attributes for /usr/local Oct 30 14:37:20 eagle mountd[4243]: bad exports list line /usr/local -maproot Oct 30 14:37:20 eagle mountd[4243]: can't change attributes for /usr/home Oct 30 14:37:20 eagle mountd[4243]: bad exports list line /usr/home -network Here is my /etc/exports: /usr/diskless -alldirs -maproot=root -ro -network=10.0.0 -mask=255.0.0.0 /usr/local -maproot=root -ro -network=10.0.0 -mask=255.0.0.0 /usr/home -maproot=root -network=10.0.0 -mask=255.0.0.0 What's wrong? Also why messages are so cryptic? Which attributes? Why "bad exports list line"? If it would explain in messages what's wrong I wouldn't even be asking question here. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why do I get errors from mountd (can't change attributes for ... bad exports list line ...) ?
Chuck Swiger wrote: For one thing, the second line should be: /usr/local -maproot=root,ro -network=10.0.0 -mask=255.0.0.0 For another, you are only supposed to export a given filesystem once; the notion of exporting it multiple times means you are changing the values of the previous export, and that's not supported. See: http://www.freebsd.org/cgi/query-pr.cgi?pr=109911 The workaround suggested in this PR eliminates the messages, but causes client to get "Permission denied message" Because the modified mount points are for different nets. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why after packages update my 'startx' gives me a message: Protocol not supported by server.
It keeps repeating this line in original terminal, putting line ".." in between. So it looks like this: Protocol not supported by server. .. Protocol not supported by server. .. Protocol not supported by server. .. Now I have to start just 'Xorg', it starts bare X. And from another terminal I have to start kde: "DISPLAY=localhost:0.0 /usr/local/kde4/bin/kde" Then it works ok. My .xinitrc looks like this: export LANG=en_US.UTF-8 export XMODIFIERS='@im=SCIM' export GTK_IM_MODULE=scim export QT_IM_MODULE=scim export XIM=SCIM export XIM_PROGRAM=SCIM exec scim -d & /usr/local/kde4/bin/startkde Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
How to set up WEP network on 8.0 in rc.conf?
I use this working script to start WEP network: ifconfig wlan0 create wlandev ath0 ifconfig wlan0 ssid "xyz abc" weptxkey 1 deftxkey 1 wepmode on wepkey 0xXX up dhcpcd wlan0 How do I write an equivalent line into rc.conf? Section 31.3.3.1.4 in http://www.freebsd.org/doc/en/books/handbook/network-wireless.html suggests this: # ifconfig /ath0/ ssid my_net wepmode on weptxkey 3 wepkey 3:0x3456789012 \ inet /192.168.1.100/ netmask /255.255.255.0/ So I wrote: ifconfig_ath0="ssid xyz\ abc weptxkey 1 deftxkey 1 wepmode on wepkey 0xXX DHCP" and it doesn't work. This line: ifconfig wlan0 create wlandev ath0 became necessary in 8.0 and it creates wlan0 device, which is missing when I use the above line in rc.conf. There's also a space in ssid. So what would be the correct rc.conf in my case? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Does hybernate/wakeup work?
Paul B Mahol wrote: On 10/23/09, Yuri wrote: I tried to make system hybernate with 'acpiconf -s4' on my laptop. It quickly turned off, but when I press the power button it boots like no hybernate and begins to check disks. What can be wrong? OS S4 is not implemented, but BIOS S4 is possible on some machines ... And on 8.0 and 9.0 i386 SMP doesnt resume properly (amd64 works). 'acpiconf -s4' also brings laptop to unwakeable state. Power button begins to flash, when I press any button there is some disk activity, power button light turns on. And nothing happens. 'apm -z' produces similar result. Maybe it's better to ask what works? Is there any way I can use suspend/sleep mode? Any basic way to make it sleep? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why trying to create file on ntfs-mounted directory always causes "No such file or directory" error?
I have r/w mounted ntfs. And 'touch x' there produces an error. Why would this be? 8.0-RC2 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Does hybernate/wakeup work?
Ian Smith wrote: As Paul said, hibernation only works if the machine's BIOS supports it (hw.acpi.s4bios = 1) AND you've already prepared a suitable disk area, usually a separate slice (DOS partition) or as a file in a 'doze slice. To make even a vaguely informed guess as to whether hibernation and/or acpiconf -s3 (suspend/resume) might work, we'd need to know: What version of FreeBSD on which architecture? (output of 'uname -a') What make and model of laptop? (someone may know if that one works) Whether it runs a single or multiple CPUs? (see /var/run/dmesg.boot) The output of 'sysctl hw.acpi' ? cheers, Ian Here is this information: FreeBSD-8.0-RC2 Laptop is Lenovo S10-2, single CPU, Intel Atom. --- sysctl hw.acpi output --- hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: NONE hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 43.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 102.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: -1 hw.acpi.thermal.tz0._TC2: -1 hw.acpi.thermal.tz0._TSP: 300 hw.acpi.battery.life: -1 hw.acpi.battery.time: -1 hw.acpi.battery.state: 7 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 hw.acpi.cpu.cx_lowest: C1 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why in f10 scim doesn't work from skype?
When I switched from fc6 to f10 scim stopped working in skype. It shows the prompt but only English language is available. In fc6 scim worked fine from skype. I believe scim picks up environment variables: LANG, XMODIFIERS, QT_IM_MODULE, XIM, XIM_PROGRAM and displays languages based on them. So I think linux infrastructure modifies some of those variables. How can I know the current environment variables of the running process? Anyone has a solution for this problem? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why in f10 scim doesn't work from skype?
Matthew Seaman wrote: % ps -ew -p $$ Thanks, I got the environment. And it looks the same. But scim shows only English options in it's box. Anyone knows why would it not show all languages? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why my Firefox doesn't display Cyrillic fonts well?
Boris Samorodov wrote: Install x11-fonts/webfonts and do apropriate changes to xorg.conf. I have webfonts right after misc fonts at xorg.conf. That always gave me good results. I placed 'webfonts' into xorg.conf after 'misc' but firefox still shows Cyrillic texts in a messed up way. Also in Belarussian texts letters і and ў stand out (ex. http://be-x-old.wikipedia.org). And Opera shows Cyrillic texts very neatly. I don't quite understand what causes such difference. Ubuntu Linux doesn't have such problem at all, not in firefox and not in opera. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why my Firefox doesn't display Cyrillic fonts well?
S4mmael wrote: webfont works well. You can also install ttf fonts from windows.Or use Ubuntu). webfonts is installed on my system and doesn't work in ff, as I mentioned before. My question is "why ff shows Cyrillic so poorly, as opposed opera on the same system", and you didn't answer it. Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
VirtualBox: How to install 'Guest Additions' on FreeBSD host with Linux Ubuntu guest?
I've setup guest additions in the menu, this makes CDROM VBOXADDITIONS_3. to appear in guest. But it only has folder OS2 and Readme.txt file talking about "Where have the Windows drivers gone?". And doesn't talk where have FreeBSD/Linux drivers gone. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why I am getting message: "wlan0: ieee80211_new_state_locked: pending SCAN -> RUN transition lost" in 8.0 with ndis driver?
After upgrading to 8.0 I am getting a new message: wlan0: /ieee80211_new_state_locked: pending SCAN/ -> RUN transition lost. I use ndis driver with Broadcom WiFi card BCM94312MCGSG. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why there are so many binary packages missing?
I am seeing this for a long time. If I use 'portupgrade -aPP' (packages only) there is a very large percentage of packages missing. Upgrading becomes many times faster when binary packages available are available. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why there are so many binary packages missing?
Matthew Seaman wrote: Yuri wrote: I am seeing this for a long time. If I use 'portupgrade -aPP' (packages only) there is a very large percentage of packages missing. Upgrading becomes many times faster when binary packages available are available. Missing binary packages are due in the main to three reasons: * Restrictive licensing terms * Ports that through bugs, or otherwise, fail to successfully generate a binary package. Some ports (eg. sysutils/screen up until about 2 months ago (http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/screen/Makefile.diff?r1=1.77;r2=1.78)) just won't package successfully, even if they build, install and run perfectly well. * The port has a dependency on another port that failed for reason (2). Because the ports build cluster installs the dependencies of the port it is currently trying to build from binary packages, any lower level port that fails will prevent packages being built for anything that depends on it. Thank you for this information. Let's put aside #1. There are probably very few of those. It still seems strange: on my system all of the ports that I need build ok. Why would the port build successfully, but would fail to generate a binary package? Isn't packaging just gzipping resulting binaries with some minor additions? Also why wouldn't the cluster build and install a port, once the package fails? This way the #3 item is eliminated completely. Since it looks like there is much more likely to build a port then a binary package. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Why LANG variable doesn't change the language?
I am running (under bash): LANG=ru_RU.UTF-8 opera and all menu items are still in English. Same with firefox3. Why LANG isn't switched by LANG variable? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why LANG variable doesn't change the language?
daniele wrote: Hi ! I think that firefox needs its language pack to be installed the usual way: THis is the __language pack package description__ for firefox3 http://www.freebsd.org/cgi/url.cgi?ports/www/firefox3-i18n/pkg-descr And this is for firefox35 http://www.freebsd.org/cgi/url.cgi?ports/www/firefox35-i18n/pkg-descr has "opera for freebsd" been internationalized ? daniele I believe translations for opera are already in /usr/local/share/opera/locale/ru/ru.lng. But they don't show for some reason. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why LANG variable doesn't change the language?
daniele wrote: Hi ! I think that firefox needs its language pack to be installed the usual way: THis is the __language pack package description__ for firefox3 Language pack (firefox3-i18n-3.0.15) for firefox didn't translate menus at all. Tools item got "Quick Locale Switcher" menu which lets you to change locale. But this locale doesn't change menus either. It's not clear why good old LANG variable doesn't work in FreeBSD any more. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why LANG variable doesn't change the language?
Boris Samorodov wrote: Please show an output for: % pkg_info -Ix firefox firefox-3.5.5,1 Web browser based on the browser portion of Mozilla firefox3-i18n-3.0.15 Localized interface for Firefox3 It works at FreeBSD. It's a firefox question either use it or not. On Ubuntu language of the same version of firefox is being triggered by LANG variable ok. This is strange. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why LANG variable doesn't change the language?
Boris Samorodov wrote: Delete firefox3-i18n package (www/firefox3-i18n port) and install firefox35-i18n package (www/firefox35-i18n port). This works. Thanks! But still LANG variable isn't used. Instead there is a FF-specific way: through Tools->Quick Locale Switcher menu. Not clear why this is dependent on the OS (in Linux it's still LANG variable). Maybe it's the option of FF build process that was chosen differently. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
googleearth complains about file instance-running-lock
Hi, I am getting this fatal error: Unable to create symlink for lock '/home/yuri/.googleearth/instance-running-lock'. File exists. google-earth-5.1.3509.4636 8.0-STABLE Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"