Re: Debugging a crash

2013-06-30 Thread Boris Samorodov
30.06.2013 19:53, Fernando Apesteguía пишет:
> On Sun, Jun 30, 2013 at 5:36 PM, Boris Samorodov  wrote:
> 
>> Hi All,
>>
>> I get an application crashing. Build some libs with debug symbols.
>> Here is the gdb log:
>> -
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 809806400 (LWP 101133/photoprint)]
>> strtol_l (nptr=0x0, endptr=0x0, base=10, locale=)
>> at /usr/src/lib/libc/stdlib/strtol.c:73
>> 73  } while (isspace_l((unsigned char)c, locale));
>> Current language:  auto; currently minimal
>> (gdb) bt
>> #0  strtol_l (nptr=0x0, endptr=0x0, base=10, locale= 
> 
> It seems you are passing a NULL str to strtol.

OK. So how to proceed in debugging it?

>> out>) at /usr/src/lib/libc/stdlib/strtol.c:73
>> #1  0x0008017d951c in ps_parameters (v=0x809d0dc00, name=0x80996c120
>> "JCLBOXHOLDTYPE", description=0x7fffd0a8) at print-ps.c:380
>> #2  0x0008017996df in stp_describe_parameter (v=0x809d0dc00,
>> name=0x80996c120 "JCLBOXHOLDTYPE", description=0x7fffd0a8) at
>> print-vars.c:1687
>> #3  0x0046cfd2 in ?? ()
>> #4  0x004627a1 in ?? ()
>> #5  0x00461da4 in ?? ()
>> #6  0x004657fe in ?? ()
>> #7  0x00422863 in ?? ()
>> #8  0x00421f45 in ?? ()
>> #9  0x0041054f in ?? ()
>> #10 0x000800719000 in ?? ()
>> #11 0x in ?? ()
>> (gdb) fr 0
>> #0  strtol_l (nptr=0x0, endptr=0x0, base=10, locale=> out>) at /usr/src/lib/libc/stdlib/strtol.c:73
>> 73  } while (isspace_l((unsigned char)c, locale));
>> (gdb) fr 1
>> #1  0x0008017d951c in ps_parameters (v=0x809d0dc00, name=0x80996c120
>> "JCLBOXHOLDTYPE", description=0x7fffd0a8) at print-ps.c:380
>> 380   num_choices = atoi(stp_mxmlElementGetAttr(option,
>> "num_choices"));
>> (gdb) fr 2
>> #2  0x0008017996df in stp_describe_parameter (v=0x809d0dc00,
>> name=0x80996c120 "JCLBOXHOLDTYPE", description=0x7fffd0a8) at
>> print-vars.c:1687
>> 1687  stp_printer_describe_parameter(v, name, description);
>> (gdb)
>> -
>>
>> How should I proceed with debugging? Thanks!

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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"

Debugging a crash

2013-06-30 Thread Boris Samorodov
Hi All,

I get an application crashing. Build some libs with debug symbols.
Here is the gdb log:
-
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 809806400 (LWP 101133/photoprint)]
strtol_l (nptr=0x0, endptr=0x0, base=10, locale=)
at /usr/src/lib/libc/stdlib/strtol.c:73
73  } while (isspace_l((unsigned char)c, locale));
Current language:  auto; currently minimal
(gdb) bt
#0  strtol_l (nptr=0x0, endptr=0x0, base=10, locale=) at /usr/src/lib/libc/stdlib/strtol.c:73
#1  0x0008017d951c in ps_parameters (v=0x809d0dc00, name=0x80996c120
"JCLBOXHOLDTYPE", description=0x7fffd0a8) at print-ps.c:380
#2  0x0008017996df in stp_describe_parameter (v=0x809d0dc00,
name=0x80996c120 "JCLBOXHOLDTYPE", description=0x7fffd0a8) at
print-vars.c:1687
#3  0x0046cfd2 in ?? ()
#4  0x004627a1 in ?? ()
#5  0x00461da4 in ?? ()
#6  0x004657fe in ?? ()
#7  0x00422863 in ?? ()
#8  0x00421f45 in ?? ()
#9  0x0041054f in ?? ()
#10 0x000800719000 in ?? ()
#11 0x in ?? ()
(gdb) fr 0
#0  strtol_l (nptr=0x0, endptr=0x0, base=10, locale=) at /usr/src/lib/libc/stdlib/strtol.c:73
73  } while (isspace_l((unsigned char)c, locale));
(gdb) fr 1
#1  0x0008017d951c in ps_parameters (v=0x809d0dc00, name=0x80996c120
"JCLBOXHOLDTYPE", description=0x7fffd0a8) at print-ps.c:380
380   num_choices = atoi(stp_mxmlElementGetAttr(option, "num_choices"));
(gdb) fr 2
#2  0x0008017996df in stp_describe_parameter (v=0x809d0dc00,
name=0x80996c120 "JCLBOXHOLDTYPE", description=0x7fffd0a8) at
print-vars.c:1687
1687  stp_printer_describe_parameter(v, name, description);
(gdb)
-

How should I proceed with debugging? Thanks!
-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Firefox 21 not proceeding to URL

2013-06-28 Thread Boris Samorodov
28.06.2013 21:07, Jerry пишет:
> Using Firefox 21, if I enter this URL:
> 
> http://www.nclawreview.org/documents/91/1/wegner.pdf
> 
> nothing happens. The PDF is not displayed nor is there any evidence
> that Firefox did anything at all.
> 
> Now, entering the same URL using the same version of Firefox on a
> Windows machine, it works perfectly. No surprise there. Why is it
> failing on the FreeBSD machine? I posted on another forum and was told
> it works under Linux, so it must be a FreeBSD problem. Can anyone
> confirm this or have an idea what the problem is?

This works for me: Edit -> Prefernces -> Applications -> PDF:
preview in Firefox. As well as other viewer (mupdf tested).
My current Firefox version is 22.0 though. But I recall it
working at previous firefox versions.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: 8.4-RELEASE buildworld failure

2013-06-14 Thread Boris Samorodov
13.06.2013 19:24, Rick Miller пишет:
> Hi all,
> 
> I checked out releng/8.4, executed buildworld, and received the following
> error.  Wondering if someone might have experience with this scenario.

Is it persistent? I.e. what if you remove /usr/obj and start once again?

> ===> share/doc/psd/13.rcs/rcs_func (all)
> groff -Tascii -P-c  -mtty-char -ms
>  /usr/src/share/doc/psd/13.rcs/rcs_func/../../../../../gnu/usr.bin/rcs/doc/
> rcs_func.ms | gzip -cn > rcs_func.ascii.gz
> ===> share/doc/psd/15.yacc (all)
> touch _stamp.extra
> make: don't know how to make ssA. Stop

Is the processor over heating?
Can you play with RAM? (toggle banks or else)

> There is no src.conf and make.conf only sets PERL_VERSION.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: USB in Windows7 guest

2013-01-12 Thread Boris Samorodov
Hi Leslie and All,

09.01.2013 16:38, Leslie Jensen пишет:
> 
> Hello.
> 
> I posted this on the freebsd-virtualization list but got no answers so 
> now I hope that someone here can shed the light for me.
> 
> 
> I have a Windows7 guest OS in Virtualbox on a FreeBSD 9.1-RELEASE system.
> 
> I've followed the instructions in the handbook for enabling USB-support 
> in Virtualbox.
> 
> In the machines settings I've ticked for activation of USB controller 
> but not for USB2 because it needs an extension pack that's not available 
> for freebsd if I've understood it right.
> 
> I have an Epson V500 scanner that is recognized as an unknown device by 
> the host OS.
> 
> ugen7.2:  at usbus7
> Unknown USB device: vendor 0x04b8 product 0x0130 bus uhub7
> 
> 
> I cannot get it to appear in the guest OS.
> 
> Is it possible and if so what do I need to do in order to make it visible?

Sure it's possible. For me it (FreeBSD-i386 9-STABLE host, WinXP guest)
it just works. I'm not sure if it matters -- I install guest additions.

I'd recommend double check your configuration. Ah, yes one more place to
check that you had not mention: is USB enabled at VirtualboxManager for
this virtual machine?

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: system restart after some seconds

2013-01-05 Thread Boris Samorodov
05.01.2013 11:56, Boris Samorodov пишет:
> 05.01.2013 11:43, Jack Mc Lauren пишет:
> 
>> How can I restart my freeBSD after specific seconds ?
> 
> SHUTDOWN(8):
> -
> NAME
>  shutdown, poweroff — close down the system at a given time
> 
> SYNOPSIS
>  shutdown [-] [-h | -p | -r | -k] [-o [-n]] time [warning-message ...]
>  poweroff
> [...]
> -r  The system is rebooted at the specified time.
> -

Yep, Polytropon is right. Here "time" is minutes.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: system restart after some seconds

2013-01-04 Thread Boris Samorodov
05.01.2013 11:43, Jack Mc Lauren пишет:

> How can I restart my freeBSD after specific seconds ?

SHUTDOWN(8):
-
NAME
 shutdown, poweroff — close down the system at a given time

SYNOPSIS
 shutdown [-] [-h | -p | -r | -k] [-o [-n]] time [warning-message ...]
 poweroff
[...]
-r  The system is rebooted at the specified time.
-

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: make do not work in 10-Current

2012-12-14 Thread Boris Samorodov
(maintainer is CCed)

15.12.2012 02:24, Eugen Konkov пишет:

> # make
> "Makefile", line 166: Malformed conditional (${PORT_OPTIONS:MFIREBIRD} && 
> empty(${PORT_OPTIONS:MEXPERIMENTAL})
> "Makefile", line 168: if-less endif
> make: fatal errors encountered -- cannot continue

Please, try the attached patch (missing ")" at the end of the
quoted Makefile line).


-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Index: /usr/ports/net/freeradius2/Makefile
===
--- /usr/ports/net/freeradius2/Makefile	(revision 308706)
+++ /usr/ports/net/freeradius2/Makefile	(working copy)
@@ -171,7 +171,7 @@
 .endif
 
 # Firebird module is still experimental
-.if ${PORT_OPTIONS:MFIREBIRD} && empty(${PORT_OPTIONS:MEXPERIMENTAL}
+.if ${PORT_OPTIONS:MFIREBIRD} && empty(${PORT_OPTIONS:MEXPERIMENTAL})
 EXPM=		yes
 .endif
 
___
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: SMS application

2012-12-07 Thread Boris Samorodov
06.12.2012 23:59, Carmel пишет:
> Can anyone recommend a good SMS application that works on FreeBSD? I
> have used several different ones on MS Windows; however, I cannot find
> one that works on FreeBSD. There doesn't appear to be a fully
> functional one in the ports system either, although I might have missed
> it.
> 

This command may be a good start to investigate:
-
% make -C /usr/ports search key=sms display=path
-

As for me I use comms/gammu as an sms-tool.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: OFF TOPIC -- Latex Question

2012-11-19 Thread Boris Samorodov
20.11.2012 01:48, Open Slate пишет:

> This sort of worked for me, but still had problems. 1) my Latex starts
> chapters on a new page, which may or may not fit the bill.

1. Don't use the book style to write an article.
2. Read the documentation. It's open, free and plenty.

> 2) In Lyx the
> chapter command wants a title; I could not get just Article I. I'm sure
> both of these are fixable, Latex can do virtually anything.

Never used Lyx, so no comments here, sorry.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: OFF TOPIC -- Latex Question

2012-11-19 Thread Boris Samorodov
20.11.2012 01:25, Carmel пишет:

> I couldn't find any documentation on it either,
> although I was certain that it could be done.

If you are going to use LaTeX, you definitely should learn it.
There are many good free downlodable books out there.

> I am surprised that there
> is not a fixed style for that in  Latex. "Article" is commonly used in
> legal documents.

Imho there is no sence since it's a matter of one line of code.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: OFF TOPIC -- Latex Question

2012-11-19 Thread Boris Samorodov
20.11.2012 00:02, Carmel пишет:

> I know this doesn't belong here; however I was hoping someone could
> give me a quick answer.
> 
> I have a document I am writing, actually a new set of By Laws for an
> organization. The format should be as shown here:
> 
>   Article I
> Name
> 
> Bla-bla
> 
> section 1
> 
> section 2
> 
>   Article II
> Members

\renewcommand{\chaptername}{Article}
\renewcommand{\thechapter}{\Roman{chapter}}

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: firefox i18n: no more french

2012-11-07 Thread Boris Samorodov
07.11.2012 14:27, Patrick Lamaiziere пишет:
> Le Wed, 07 Nov 2012 00:14:09 +0400,
> Boris Samorodov  a écrit :
> 
> Hi,
> 
>>> For and unknown reason here, Firefox (16.0 and ESR) doesn't want to
>>> be in french anymore. Does i18n work for you?
>>>
>>> I use directly the fr.xpi (cd /usr/ports/www/firefox-i18n, make
>>> extract), then I add the .xpi via the firefox addons menu. That
>>> worked like a charm before. The "fr" language pack is enabled but
>>> firefox is still in english.
>>>
>>> I've got this problem at work (firefox 16) and on my home laptop
>>> (firefox-esr).
>>>
>>> Any clue?
>>
>> Is "Tools -> Extensions -> Languages - > French LangPack" enabled?
> 
> Yes:
>>> The "fr" language pack is enabled but firefox is still in english.

Hm, sorry, didn't catch it.

> Does the "ru" pack works for you? It doesn't here.

Yes, it works (but I had similar problem as you do).
One more question: is your locale french as well?

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: firefox i18n: no more french

2012-11-06 Thread Boris Samorodov
06.11.2012 23:34, Patrick Lamaiziere пишет:
> Hello,
> 
> For and unknown reason here, Firefox (16.0 and ESR) doesn't want to be
> in french anymore. Does i18n work for you?
> 
> I use directly the fr.xpi (cd /usr/ports/www/firefox-i18n, make
> extract), then I add the .xpi via the firefox addons menu. That worked
> like a charm before. The "fr" language pack is enabled but firefox is
> still in english.
> 
> I've got this problem at work (firefox 16) and on my home laptop
> (firefox-esr).
> 
> Any clue?

Is "Tools -> Extensions -> Languages - > French LangPack" enabled?

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: editing pdf files

2012-10-12 Thread Boris Samorodov
10.10.2012 02:35, Gary Aitken пишет:

> Can someone give me advice on editing pdf files?

Take a look at graphics/inkscape.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: legal question on licence terms

2012-09-15 Thread Boris Samorodov
Hello Martyn,

14.09.2012 19:16, Martyn Jansen пишет:
> 
> I'm looking at your licence terms and conditions and particularly the section 
> on "redistribution restriction" on a number of ports.
> 

FreeBSD ports system is a set of tools to deal with software created
elsewhere. The information about licences, permissions, etc. should
be looked at the original site, asked to original authors. The source
files may be used for the referrence.

As a starting point I'll suggest using the file pkg-descr at the
port's directory. This file usially hes a refference to the
original site.

Thank you for your interest at the FreeBSD Operating System.
-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: (inkscape-0.48.1_4) (missing header)

2012-06-29 Thread Boris Samorodov

29.06.2012 18:06, Nikolai Wendorf пишет:


Recent csup introduced this error a few week ago - I noticed nothing in
UPDATING and several following csup did not resolve.


There is something strange with your system. If you have a recent ports
tree then you should have inkscape-0.48.2. And then you may be
interested at record "20120109: AFFECTS: users of graphics/inkscape".

--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


___
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: mail server

2012-06-12 Thread Boris Samorodov
11.06.2012 16:33, Bahaa Babekir пишет:

> I want to sent me configuration to build mail server step by step

I'd suggest to begin with:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Remote System Builds

2012-03-26 Thread Boris Samorodov
26.03.2012 22:20, Martin McCormick пишет:
>   Is there yet any way to remotely rebuild a FreeBSD
> system? I have two FreeBSD systems on two remote campuses that
> presently run FreeBSD6.3. They need to be running FreeBSD9.0 and
> I don't really care how I get there as long as it can be done
> over the network. If we were physically there, I would put a
> CDROM in and blow them away since it is such a large jump.

I used an USB stick with full system, sources (/usr/src) and
compiled binary (/usr/obj). Since the system is booted from USB,
I have full control via ssh session.

>   I can have staff members there install CDROM's that were
> remastered to use the serial console, but I am hoping that maybe
> we are moving past this sort of logistics.
>
>   I just tried to unpack the 9.0 image using tar which has
> worked in the past to let one modify loader.conf but I got a
> bunch of errors this time about files that couldn't be created
> so maybe this is not the recommended headless installation
> technique any longer.
> 
>   Any ideas?

HTH
-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Adobe Linux Flash

2012-02-16 Thread Boris Samorodov

On 17.02.2012 01:49, sean wrote:

Hello All,

I am trying to get the Adobe Linux Flash working with Firefox.
I have followed the directions in the browser handbook section.

-"kldstat" shows "linux.ko", and "linprocfs.ko".
-"df" lists "linprocfs" mounted on "/compat/linux/proc"

I created the symlink from "libflashplayer.so" to the browser_plugins
location, and the symlink is listed.


Hm, I've just checked up The Handbook, Section 7.2.3.
And should note that I've never created a link to пуе
flash plugin working. Is this step really needed?


Doing some searching on the problem I came across a mention that the
/compat directory needs to be symlinked to /usr/compat so I added that in.

I ran the "nspluginwrapper" command it searches the correct directories
but does complain of "ELF interpreter /lib/ld-linux.so.2 not found"
several times.

The "IceadTea-Web Plugin" and the "Swfdec" plugin is listed in Firefox's
"About:Plugins" page.

In fact I can see the "swfdec-plugin" alongside the "libflashplayer.so"
and the "npwrapper.libflashplayer.so" in the
"/usr/local/lib/browser_plugins" directory.

The system itself, a fresh install of FreeBSD 9 amd64.
Might it be the 64 bit would be causing problems?


--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Stuck between current and 9 release.

2011-11-15 Thread Boris Samorodov

14.11.2011 23:50, eculp пишет:


I have been looking for an amd 64 version of a release snapshot and
haven't found anything close.


Seems that you need this:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/

--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Linux Binary Compatibility: Libpam compile for FreeBSD

2011-08-01 Thread Boris Samorodov
Hi All,

On Mon, 1 Aug 2011 14:30:32 + Traiano Welcome wrote:

> I need to run a linux binary on freebsd 7.3 that expects to link to
> libpam.so.0. I can't seem to find how to compile libpam (linux-pam) on
> freebsd, or locate some kind of compatible binary I can run on freebsd
> with linux binary compatibility enabled in the ports tree either.

> Would anyone know if there is a freebsd port of linux libpam, or a
> source package I could easily compile for freebsd 7.3 and upward ?

> Informational: The binary I'm trying to run is "wmic" , a windows
> management instrumentation client, for monitoring windows systems via
> wmi. There does not seem to be a wmi client available for FreeBSD,
> hence me resorting to a binary compiled for linux :-(

> some information on the binary:

> ---
> wmic: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
> GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
> ---

> running it:

> ---
> ./wmic: error while loading shared libraries: libpam.so.0: cannot open
> shared object file: No such file or directory
> ---

> Any other suggestions that might help resolving this quandary would be
> welcome :-)

You may try to install that package by hand:
http://archives.fedoraproject.org/pub/archive/fedora/linux/core/4/i386/os/Fedora/RPMS/pam-0.79-8.i386.rpm

Hint: there is a how-to about installing linux packages by hand at the
FreeBSD Handbook.

-- 
WBR, bsam
___
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: How to install doc for 9-CURRENT

2011-05-30 Thread Boris Samorodov
On Sun, 29 May 2011 23:08:03 +0300 Коньков Евгений wrote:

> How to install 'man' pages? they are not included in .iso and there
>are not on link you advice.

If you use current, then you know how to build and install world.
Just do it. ;-)

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-16 Thread Boris Samorodov
On Sat, 16 Apr 2011 09:42:38 +0700 Erich Dollansky wrote:
> On Friday 15 April 2011 22:11:05 Zhang Weiwu, Beijing wrote:

> > Hello. I intend to use FreeBSD instead of PC-BSD. The sound card doesn't 
> > work on FreeBSD 8.2. I tried to follow the manual and loaded all sound 
> > card drivers
> > 
> > # kldload snd_driver

> this will never work.

Works fine. Maybe not the best solution for everyone (I use it for
diskless stations).

-- 
WBR, bsam
___
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: Mailing list etiquette

2011-04-09 Thread Boris Samorodov
On Fri, 8 Apr 2011 23:38:26 +0100 Bruce Cran wrote:

> On Fri, 8 Apr 2011 23:15:11 +0200
> Erik Trulsson  wrote:

> > You seem to miss one crucial fact:  Not all the people who write to
> > this list are subscribed to it.  They will not see any replies
> > directed only to the list.  It is for their benefit that that rule
> > exists.

> I don't know about anyone else, but personally I like getting replies
> CC'd to me because they end up in my INBOX - otherwise I often don't
> notice someone's replied since there are so many new messages to the
> mailing list each day.

+1

Since I'm subscribed to almost a hundred maillist I should admit that
this rule is *very* helpfull to speed up conversation.

-- 
WBR, bsam
___
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: 8.2-RC Kernel build failure

2011-01-29 Thread Boris Samorodov
On Sat, 29 Jan 2011 12:49:10 +0300 Odhiambo Washington wrote:
> On Sat, Jan 29, 2011 at 12:30 PM, Boris Samorodov  wrote:
> > On Sat, 29 Jan 2011 12:19:00 +0300 Odhiambo Washington wrote:
> >
> > > cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls
> > > -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
> > -Wpointer-arith
> > > -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
> > > -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
> > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> > > -finline-limit=8000 --param inline-unit-growth=100 --param
> > > large-function-growth=1000  -mno-align-long-strings
> > > -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> > > -mno-sse3 -ffreestanding -fstack-protector -Werror
> > >  /usr/src/sys/dev/jme/if_jme.c
> > > *** Error code 1
> >
> > > Stop in /usr/obj/usr/src/sys/GW.
> > > *** Error code 1
> >
> > > Stop in /usr/src.
> > > *** Error code 1
> >
> > > Stop in /usr/src.
> >
> > It's always a good idea to show a command one used. And assuming you use
> > "-j X" the log is useless since the actual error was way earlier. Please,
> > remove the flag, add "-DNO_CLEAN" and show the command and a tail of
> > the output.

> I always use `make kernel KERNCONF=MY_KERNEL`. No special flags.
> The whole output is here - http://62.8.64.102/~wash/kernel-20110129.log.txt
>  <http://62.8.64.102/~wash/kernel-20110129.log.txt>

As for me, I've seen that for the first time... First I'll try to
cleandir and redo the build. If fail -- build GENERIC, if fail --
GENERIC with null make.conf.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: 8.2-RC Kernel build failure

2011-01-29 Thread Boris Samorodov
On Sat, 29 Jan 2011 12:19:00 +0300 Odhiambo Washington wrote:

> cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
> -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
> -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000  -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -mno-sse3 -ffreestanding -fstack-protector -Werror
>  /usr/src/sys/dev/jme/if_jme.c
> *** Error code 1

> Stop in /usr/obj/usr/src/sys/GW.
> *** Error code 1

> Stop in /usr/src.
> *** Error code 1

> Stop in /usr/src.

It's always a good idea to show a command one used. And assuming you use
"-j X" the log is useless since the actual error was way earlier. Please,
remove the flag, add "-DNO_CLEAN" and show the command and a tail of
the output.

> -- 
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> Damn!!

Yep.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Noob Jail question.

2010-12-16 Thread Boris Samorodov
"Dave"  writes:

> I've been reading the FreeBSD Manual (a dangerous thing to do during 
> lunchtimes!) relating to Jails.  Other than making my head spin, I'm 
> finding it a tad dificult finding out just what you can/cant do with a 
> Jail.  Mainly, because I'm not familiar with a lot of the terms used, and 
> though the man pages are no doubt correct as a reference, they don't 
> "explain" it well, in as much as how to use it, well in my addled mind at 
> the moment.
>
> I think I'd like to run Hiawatha in a Jail, as it seems "the right thing 
> to do" with something that will be exposed to the www.  
> (Comments/advice?)
>
> But, how do I arrange it to safely get (read only) access to the website 
> data, without preventing the FTPD service from having access to update 
> that data.  FTPD will only be reachable from LAN side of the main gateway 
> router, Hiawatha will have an outside world port forwarded to it by the 
> router.
>
> What I'm asking I guess, is..  Can a jail'd app, reach outside the jail 
> in "read only" mode.   (I suspect, maybe?)   Or can an app outside the 
> jail, drop stuff off inside the jail?  (For whatever reason, I suspect 
> not?)
>
> If anyone understands what the heck I'm blathering on about, please 
> explain it to me, as I think I've lost the plot.
>
> Comments, advice, brickbats etc?

You may try to use sysutils/ezjail to install/manage/etc jails.
Using ezjail-admin is quite easy. Ezjails are realy light (they
use readonly mount_nullfs to a basejail rather then real filesystems).
Then you may consider using one jail for FTPD with write access and
an other jail for HTTPD server with read-only access (say, readonly
mount_nullfs) to those written by FTPD files/filesystems.

-- 
WBR, bsam
___
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: mountroot prompt in the middle of updating - can't get past it

2010-12-10 Thread Boris Samorodov
On Thu, 9 Dec 2010 11:38:29 -0800 Kurt Buff wrote:
> On Wed, Dec 8, 2010 at 22:50, Boris Samorodov  wrote:
> > On Wed, 8 Dec 2010 11:49:41 -0800 Kurt Buff wrote:
> >
> >> All,
> >
> >> I have a Lenovo T61 with a 100g HD that I dual boot with FreeBSD
> >> 8.0-STABLE amd64 and Windows XP.

How and to which version did you upgrade?

> >> FBSD is on ad0s2a, with ad0s2b as swap, and XP on ad0s1a.
> >
> >> Yesterday I booted up FBSD, started xfce4, started a terminal session,
> >> su'ed to root and did the following - running a generic kernel:
> >
> >> # cd /usr/src
> >> # make buildworld
> >> # make buildkernel
> >> # make installkernel
> >
> >> Then I exited xfce4, did sudo shutdown -r now, and got a mountroot
> >> prompt that I now can't get past.
> >
> >> I can get to the loader prompt, and lsdev shows the following:
> >
> >>    cd devices:
> >>    disk devices:
> >>          disk0:     BIOS drive C:
> >>             disk0s1: NTFS/HPFS
> >>                 disk0s2a:  FFS
> >>                 disk02sb:  swap

Is it a typo? (seems should be "disk0s2b: swap"

> >> when I use '?' at the mountroot prompt I get:
> >
> >>    List of GEOM managed disk devices:
> >>       acd0

Hm, ad0s2a should be listed here. Seems that the new kernel doesn't
detect a disk adapter.

Your kernel config and may be helpful. BTW, dmesg for both successful
and unsuccessful boot may give us some tips too.

> >>    Loader variables:
> >>    vfs.root.mountfrom=ufs:/dev/ad0s2a
> >>    vfs.root.mountfrom.options=rw
> >
> >> I've tried entering the following at the mountroot prompt, with no success:
> >>    ufs:/dev/ad0s2a

That is the right one.

> >>    ufs:/ad0s2a
> >>    ufs:ad0s2a
> >>    ffs:/dev/ad0s2a
> >
> >> and several other variations that I've found while googling, but no
> >> success anywhere.
> >
> >> Does anyone have thoughts on how to remedy this?
> >
> > Just for the last question:
> > Try to load an old kernel. (Type "boot /boot/kernel.old" at loader
> > prompt.)

> That worked...

> I think I'll try the update process again.

> Anything else you can recommend?

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: mountroot prompt in the middle of updating - can't get past it

2010-12-08 Thread Boris Samorodov
On Wed, 8 Dec 2010 11:49:41 -0800 Kurt Buff wrote:

> All,

> I have a Lenovo T61 with a 100g HD that I dual boot with FreeBSD
> 8.0-STABLE amd64 and Windows XP.

> FBSD is on ad0s2a, with ad0s2b as swap, and XP on ad0s1a.

> Yesterday I booted up FBSD, started xfce4, started a terminal session,
> su'ed to root and did the following - running a generic kernel:

> # cd /usr/src
> # make buildworld
> # make buildkernel
> # make installkernel

> Then I exited xfce4, did sudo shutdown -r now, and got a mountroot
> prompt that I now can't get past.

> I can get to the loader prompt, and lsdev shows the following:

>cd devices:
>disk devices:
>  disk0: BIOS drive C:
> disk0s1: NTFS/HPFS
> disk0s2a:  FFS
> disk02sb:  swap

> when I use '?' at the mountroot prompt I get:

>List of GEOM managed disk devices:
>   acd0
>Loader variables:
>vfs.root.mountfrom=ufs:/dev/ad0s2a
>vfs.root.mountfrom.options=rw


> I've tried entering the following at the mountroot prompt, with no success:
>ufs:/dev/ad0s2a
>ufs:/ad0s2a
>ufs:ad0s2a
>ffs:/dev/ad0s2a

> and several other variations that I've found while googling, but no
> success anywhere.

> Does anyone have thoughts on how to remedy this?

Just for the last question:
Try to load an old kernel. (Type "boot /boot/kernel.old" at loader
prompt.)

-- 
WBR, bsam
___
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: No GPT on an usb key

2010-11-07 Thread Boris Samorodov
Hi,

On Thu, 28 Oct 2010 09:52:55 +0200 David DEMELIER wrote:

> I'm trying to put on my USB mass storage device a GPT scheme
> partitions. But gpart still add them as slices :

> To be sure to remove the MBR before I dd'ed it

> $ sudo dd if=/dev/zero of=/dev/da0 bs=512 count=1
> 1+0 records in
> 1+0 records out
> 512 bytes transferred in 0.003369 secs (151970 bytes/sec)
> $ sudo gpart create -s GPT da0
> da0 created
> $ gpart show da0
> =>  34  15771653  da0  GPT  (7.5G)
> 34  15771653   - free -  (7.5G)

> $ sudo gpart add -b 34 -t freebsd da0
> da0s1 added

> Why it is still s1? In my kernel config I have this :

GPART(8) may be a good start here. Ex.:
-
...
PARTITION TYPES
 The gpart utility uses symbolic names for common partition types to avoid
 that the user needs to know what the partitioning scheme in question is
 and what the actual number or identification needs to be used for a par-
 ticular type.  The gpart utility also allows the user to specify scheme-
 specific partition types for partition types that do not have symbol
 names.  The symbolic names currently understood are:
...
 freebsdA FreeBSD partition that uses the BSD disklabel to sub-
divide the partition into file systems.  This is a legacy
partition type and should not be used for the APM or GPT
schemes.  The scheme-specific types are "!165" for MBR,
"!FreeBSD" for APM, and
"!516e7cb4-6ecf-11d6-8ff8-00022d09712b" for GPT.
...
-

> device  crypto
> options GEOM_ELI
> options GEOM_PART_GPT
> options GEOM_LABEL
> options GEOM_VOL

> Do I need something that I forgot?

Seems you forgot to read the manual page carefully. ;-)

-- 
HTH & WBR, bsam
___
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: help

2010-10-19 Thread Boris Samorodov
yanxinyou  writes:

> how i install the firefox flash plugins 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html

PS. You definitely should get acquainted with the FreeBSD Handbook.
-- 
WBR, bsam
___
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: no sound with ALC888

2010-10-15 Thread Boris Samorodov
On Thu, 14 Oct 2010 21:28:35 +0200 O. Hartmann wrote:

> Running most recent FreeBSD 8.1-STABLE on a P45/ICH10 based ASUS
> motherboard. There is no sound.
> dmesg output reports two HDA devices, one located on a Radeon HD4830
> graphics board and one located on the ICH10 chipset.

> Setting hw.snd.default_unit=1 in /etc/sysctl.conf or manually does not
> solve the problem.

What about setting it to "2"? ;-)

> 'cat /dev/sndstat' reports this:

> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> Installed devices:
> pcm0:  (play)
> pcm1:  (play/rec) default
> pcm2:  (play)
> pcm3:  (play)

> (dmesg output:
> hdac0:  mem
> 0xfe7fc000-0xfe7f irq 17 at device 0.1 on pci1
> hdac0: HDA Driver Revision: 20100226_0142
> hdac0: [ITHREAD]
> hdac1:  mem
> 0xfe6f8000-0xfe6fbfff irq 22 at device 27.0 on pci0
> hdac1: HDA Driver Revision: 20100226_0142
> hdac1: [ITHREAD]
> hdac0: HDA Codec #0: ATI R6xx HDMI
> pcm0:  at cad 0 nid 1 on hdac0
> hdac1: HDA Codec #0: Realtek ALC888
> pcm1:  at cad 0 nid 1 on hdac1
> pcm2:  at cad 0 nid 1 on hdac1
> pcm3:  at cad 0 nid 1 on hdac1
> pcm4:  at cad 0 nid 1 on hdac1)

> I tried windows 7 on the box, no problem, sound is all right. VLC on
> freebsd doesn't do any sound output. When using a legacy PCI sound
> card (M-Audio Revolution 5.1), sound is present.

> I do not have any idea what the muting of the device could
> trigger. Any suggestions?

> Please email, too, since I'm not subscribing 'questions'. Thanks.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Sacred Gold (Linux) on FBSD

2010-10-15 Thread Boris Samorodov
On Wed, 13 Oct 2010 21:24:01 + Mikle Krutov wrote:
> On Tue, Oct 12, 2010 at 07:38:07PM +0400, Boris Samorodov wrote:
> > On Mon, 11 Oct 2010 18:59:59 + Mikle Krutov wrote:
> > 
> > > Has anyone had a positive experience with subj?
> > > As for me, it loads till the first load-screen state 'Ready' and hangs
> > > there.
> > > Nothing dumps in console.
> > 
> > /var/log/messages may give some additional info as well as
> > a terminal window.
> nothing with 

> $grep sacred /var/log/messages & bzgrep sacred /var/log/messages.*

> > > Any variant what to try to do?
> > 
> > Have you read the FreeBSD Handbook, chapter 10, section 10.2?
> > BTW, output from commands "uname -a", "kldstat | grep linux" and
> > "pkg_info -Ix linux" may be helpful.
> > 
> FreeBSD takino.homeftp.org 8.1-STABLE FreeBSD 8.1-STABLE #5: Mon Jul 26
> 18:53:39 UTC 2010
> r...@takino.homeftp.org:/usr/obj/usr/src/sys/TAKINO  i386
>  22 0xc0f97000 2d8dclinux.ko

> pkginfo in attach.

All seems to be OK.

Sorry, I'm out of ideas. :-(

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Sacred Gold (Linux) on FBSD

2010-10-12 Thread Boris Samorodov
On Mon, 11 Oct 2010 18:59:59 + Mikle Krutov wrote:

> Has anyone had a positive experience with subj?
> As for me, it loads till the first load-screen state 'Ready' and hangs
> there.
> Nothing dumps in console.

/var/log/messages may give some additional info as well as
a terminal window.

> Any variant what to try to do?

Have you read the FreeBSD Handbook, chapter 10, section 10.2?
BTW, output from commands "uname -a", "kldstat | grep linux" and
"pkg_info -Ix linux" may be helpful.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Problem running custom startup script at proper time

2010-09-19 Thread Boris Samorodov
On Sun, 19 Sep 2010 12:40:52 -0700 Aaron wrote:

> # PROVIDE: gnop

What if you try "PROVIDE: disks" instead?

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Linux emu: ELF file OS ABI invalid

2010-09-05 Thread Boris Samorodov
On Sun, 5 Sep 2010 20:53:18 + Mikle Krutov wrote:

> Thank you for your respond, and sorry for my
> long-time no-respond. It worked okay (now
> binaries run), but new problem here:
> ptrace attach: Operation not permitted

> What should i do to fix it?

Can't help you here. But at least you may change the subject
(or post a new thread). Current subject is misleading now.
And freebsd-emulation@ may be a more apropriate list.
BTW, there may be some console (or /var/log/messages)
messages which give some additional info.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Linux emu: ELF file OS ABI invalid

2010-09-02 Thread Boris Samorodov
On Thu, 2 Sep 2010 15:49:19 + Mikle Krutov wrote:

> Got a strange problem with some linux binaries
> (utilset for Dwarf Fortress game, DFHack):
> file reports them all as
> 'ELF 32-bit LSB executable, Intel 80386,
> version 1 (GNU/Linux), dynamically linked (uses
>  shared libs), for GNU/Linux 2.6.15, not stripped'
> All are brandelf'd as in handbook.

Good.

> Utilset requires two libraries, libdfhack.so and
> libdfconnect.so, that are reported as
>  'ELF 32-bit LSB shared object, Intel 80386,
> version 1 (GNU/Linux), dynamically linked, not
> stripped'; both of them are brandelf'd, too.

Not good. The FreeBSD Handbook (section 10.2.3, Installing a Random
Linux RPM Based Application) forbids library branding.

> So, i've put libs into /compat/linux/usr/lib/ and tried
>  to run one of tools and got:
> ./dfprospector: error while loading shared libraries:
> /usr/lib/libdfhack.so: ELF file OS ABI invalid

> What could be the source of the problem?
> I'm running 32-bit 8.1-STABLE FreeBSD right now.

Please try native linux libraries and report back if that helps.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Linux DRI as software renderer

2010-08-22 Thread Boris Samorodov
On Sun, 22 Aug 2010 11:24:58 +0200 David DEMELIER wrote:

> I don't know then
> how to enable hardware acceleration with the linux enemy-territory
> port. I have installed graphics/linux-f10-dri

Please give a try to graphics/linux-dri74 instead of
graphics/linux-f10-dri.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: nautilus crashing on "right click > properties"

2010-07-20 Thread Boris Samorodov
Joe Marcus Clarke  writes:
> On 7/19/10 9:49 AM, Jerry wrote:
>> FreeBSD 8.1-PRERELEASE / amd64
>> Platform Version 4.4.5 (KDE 4.4.5)
>> 
>> I installed nautilus via the /usr/ports/sysutils/eiciel port. I can
>> start nautilus successfully, however, whenever I right click on a file
>> or directory and choose "properties", nautilus crashes. I tried to
>> build it with debug support; however, I am not getting much info back.
[...]
>> Eel:ERROR:eel-wrap-table.c:494:wrap_table_get_num_fitting: assertion
>> failed: (max_child_size > 0)

Sometime ago I tried to use nautilus with fluxbox. Nautilus (launched
at xterm) crashed with similar error. I didn't have full gnome2
installation at that host.

[...]
>> I am not sure if the problem is actually with nautilus or eiciel.
>
> Most likely eiciel given the errors.  Remove it, and see if the crash
> persists.

I don't think that it's an eiciel fault. Since nautilus works with
gnome I assume that not all dependencies are build/installed for
pure nautilus port.

-- 
WBR, bsam
___
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: What happens with x11-toolkits/linux-f10-gtk2 ?

2010-06-07 Thread Boris Samorodov
On Sun, 6 Jun 2010 10:00:23 +0200 Antonio Vieiro wrote:

> fetch: 
> http://mirrors.kernel.org/fedora/core/../releases/10/Everything/i386/os/Packages/gtk2-2.14.7-7.fc10.i386.rpm:
> Not Found

I've just updated the port to gtk2-2.14.7-9.fc10.
Give it a try, please.

Thanks for the report!

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Sending alarms to my mobile phone

2010-06-01 Thread Boris Samorodov
On Tue, 1 Jun 2010 11:25:10 +0700 (ICT) Olivier Nicole wrote:

> I would like my FreeBSD server to send alarms to my mobile phone, it
> could be voice messages or SMS.

> I think I can hook a voice modem to that machine, but any suggestion
> on the software side?

I've wrote it a while back and it works fine:
http://lists.freebsd.org/pipermail/freebsd-isp/2006-June/004139.html
http://lists.freebsd.org/pipermail/freebsd-isp/2006-June/004140.html

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: text editor

2010-06-01 Thread Boris Samorodov
On Tue, 1 Jun 2010 07:08:42 -0600 Chad Perrin wrote:
> On Tue, Jun 01, 2010 at 12:21:20PM +0400, Boris Samorodov wrote:
> > On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote:
> > 
> > > Unfortunately, the "killer feature" that keeps me with Vim instead of nvi
> > > is its support for multiple levels of undo.
> > 
> > Have you ever tried "u" (undo command) followed by "." (repeat
> > last command)? ;-)

> . . . but how do you redo what you've undone?

If I understand the question correctly then: it's just one more "u"
(undo command) followed by "." (repeat last command)...

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: text editor

2010-06-01 Thread Boris Samorodov
On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote:

> Unfortunately, the "killer feature" that keeps me with Vim instead of nvi
> is its support for multiple levels of undo.

Have you ever tried "u" (undo command) followed by "." (repeat
last command)? ;-)

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Disk can't be found, boot stops at mountroot

2010-05-11 Thread Boris Samorodov
On Tue, 11 May 2010 21:46:35 +0200 Leslie Jensen wrote:

> System 7.2-RELEASE
> I made the first reboot after
> freebsd-update -r 8.0-RELEASE
> freebsd-update install
> and I'm now stuck at the mountroot> prompt that says trying to mount
> from ufs:/dev/ad0s1a
> ROOT MOUNT ERROR
> The command ? to list valid boot devices gives
> List of GEOM managed disk devices:
> cd0 ufsid/452b81499eec5ac8 ad0a acd0 ad0 fd0

Seems that your system is using a so-called "dengerously dedicated"
disk (mind "ad0a").

> I've tried
> ufs:/dev/da0s1a
> and
> ufs:/dev/ad0s1a

Try ufs:/dev/ad0a

> With no luck
> Any suggestions on how to get booted?

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: LDAP and LDAPS on the same server ?

2010-05-06 Thread Boris Samorodov
On Thu, 06 May 2010 14:15:54 +0200 Frank Bonnet wrote:

> I actually have an Openldap directory server that runs on a FreeBSD box
> at 8.0-RELEASE amd64

> It runs nicely but I want to add LDAPS service on the SAME server.

> Is it possible ? I have generated

> cert.crt
> cert.csr
> cert.key

> as instructed in the FreeBSD howto but when I add the following
> lines in slapd.conf file it fails to restart

> TLSCACertificateFile  /usr/local/etc/openldap/ssl/cert.crt
> TLSCertificateFile/usr/local/etc/openldap/ssl/cert.crt
> TLSCertificateKeyFile /usr/local/etc/openldap/ssl/cert.key

> in ldap.conf file I have the following

> #
> # LDAP Defaults
> #

> # See ldap.conf(5) for details
> # This file should be world readable but not world writable.

> BASE  dc=esiee,dc=fr
> URI   ldap://ldap.esiee.fr ldaps://ldap.esiee.fr

> #SIZELIMIT12
> #TIMELIMIT15
> #DEREFnever

> What did I missed ?

I'm not sure but maybe you should add the following line to
/etc/rc.conf[.local]:
-
slapd_flags='-h "ldap:/// ldaps:///"'
-

Look at SLAPD(8C) for more details.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: HP Proliant ML 150 G5

2010-04-26 Thread Boris Samorodov
On Sun, 25 Apr 2010 17:44:01 -0700 (PDT) William E. Moreno A. wrote:

> I tried to install FreeBSD 8.0 AMD64 on an HP Proliant ML 150 G5 Intel
> Xeon quad core but fails. With CentOS 5.4 the installation was
> Ready.    I would like to know is this product ML 150 G5 is
> incompatibility with FreeBSD 8.0   I tested FreeBSD with an ML 115 G5
> and the installation was ready.

Can't say about HP Proliant ML 150 G5 but we had to use HP Proliant ML
160 G5. While installing FreeBSD the OS didn't detect any disks until
we pulled a RAID controller and used the on-board disk controller.

HTH
-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Porting NetworkManager to FreeBSD

2010-04-17 Thread Boris Samorodov
On Sat, 17 Apr 2010 11:26:34 -0300 Sergio de Almeida Lenzi wrote:

> I agree that wpa supplicat is great... so if one can only make a GUI for
> it... it would
> make all of us happy too...

Maybe you need for net-mgmt/wifimgr.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: How customized can an mfsroot be?

2010-04-07 Thread Boris Samorodov
On Wed, 7 Apr 2010 00:28:40 -0500 Peter Steele wrote:

> I found something else that's missing--/var/db/pkg is empty. It looks
> like what the auto-var process does is a construct basic directory
> structure but no data. Is there a solution to this? Can I get /var to
> be populated with the full contents of the real /var?

I'm sure that DISKLESS(8) may give you some hints.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: USB disk boot issues

2010-04-05 Thread Boris Samorodov
On Thu, 1 Apr 2010 07:38:53 -0500 Peter Steele wrote:

> We clone systems from specially prepared USB flash sticks and this all works 
> well, except that occasionally the flash stick fails to boot. It fails at the 
> "mount root" step, saying that it cannot mount the specified root partition. 
> We use a labeled partition on the disk to make it device independent, so we 
> have something like

> /dev/label/usbroot  /ufsrw 1  1

> in our fstab. When it fails it doesn't recognize this device, and even ? 
> doesn't list it as one of the available devices. If we reboot, it's likely 
> the problem won't occur again. It seems to be some kind of timing issue. Is 
> this a known problem?

You can try to solve the problem by:
-
# echo "kern.cam.boot_delay=1" >> /boot/loader.conf
-

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: skype webcam no device found

2010-04-01 Thread Boris Samorodov
On Thu, 01 Apr 2010 21:36:27 +0100 Chris Whitehouse wrote:

> I have linux_base-f10-10_2 and skype-2.0.0.72,1 (net/skype) installed
> from ports and it just worked - but so far without video and sound.

> FreeBSD 8.0-RELEASE-p2 #0: Wed Mar 24 i386

Sound should work just fine with skype if it works with other soft.
There is a nice and tiny port audio/rawrec which I use to test
the sound subsystem.

As for video I've never managed to use a webcam (I didn't try hard
though).

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: ezjail

2010-03-22 Thread Boris Samorodov
Aiza  writes:

> Now I would like to play with jails. One for postfix, apache, and ftp.
> My reading of EZJAIL and the jails section of the handbook lead me to
> believe I need a unique IP address for each jail. Is that correct?

No. As long as you use different ports for different jails/services
you may use one ip-address for those jails:
-
% jls
   JID  IP Address  Hostname  Path
 1  192.168.100.10  ftp.xxx.ru/jails/ftp.xxx.ru
 2  192.168.100.10  mx.xxx.ru /jails/mx.xxx.ru
 3  192.168.100.10  http.xxx.ru   /jails/http.xxx.ru
-

-- 
WBR, bsam
___
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"


dtrace and web server

2010-03-12 Thread Boris Samorodov
Hello List,

I try to locate (potential) bottlenecks at a web server:
-
% uname -a
FreeBSD bbserver.ipt.ru 8.0-STABLE FreeBSD 8.0-STABLE #3 r203959: Sun Feb 21 
11:53:57 MSK 2010 r...@bbserver.ipt.ru:/z/obj/z/src/sys/BBSERVER  amd64

% top -jd1 | head -20
last pid: 47907;  load averages:  2.30,  1.88,  1.90  up 1+17:44:3611:31:05
177 processes: 4 running, 172 sleeping, 1 zombie

Mem: 916M Active, 558M Inact, 2899M Wired, 2656K Cache, 31M Buf, 3502M Free
Swap: 4096M Total, 4096M Free

  PID JID USERNAME  THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
22148   4 88 25  440   735M   530M ucond   3  23:05  7.81% mysqld
47705   4 www 1  540   223M 58476K select  2   0:07  7.76% httpd
47845   4 www 1  510   225M 48800K accept  1   0:02  7.47% httpd
47857   4 www 1  530   221M 44308K select  3   0:01  7.47% httpd
47797   4 www 1  510   225M 56276K accept  1   0:03  6.59% httpd
47843   4 www 1  500   221M 43580K select  3   0:01  6.30% httpd
47873   4 www 1  510   233M 52424K CPU22   0:01  5.96% httpd
47633   4 www 1  490   221M 56476K select  3   0:08  5.76% httpd
47878   4 www 1  470   221M 43480K accept  2   0:01  4.30% httpd
47708   4 www 1  520   221M 56756K accept  2   0:06  4.20% httpd
47880   4 www 1  520   223M 39516K accept  2   0:01  4.05% httpd
47875   4 www 1  490   235M 45080K CPU33   0:00  4.05% httpd
-

Let's use dtrace to understand what's going on within 10 seconds
interval and normalize to 1 second:
-
% cat top-10-count-periodic.d
#pragma D option quiet
BEGIN
{
last = timestamp;
}
syscall:::entry
{
@func[execname] = count();
}
tick-10sec
{
trunc(@func, 10);
normalize(@func, (timestamp - last) / 10);
printa(@func);
clear(@func);
last = timestamp;
}
-

The result is here:
ftp://ftp.bsam.ru/pub/tmp/top-10-count-periodic.1.log.txt

OK, seems that we are mostly interested at mysqld and httpd processes
(well, not a surprise).

The following script is intended to test and quantize mysqld process:
-
% cat quant.d
syscall:::entry
/ execname == "mysqld" /
{
self->ts = timestamp;
}
syscall:::return
/ self->ts && execname == "mysqld" /
{
@time[probefunc] = quantize(timestamp - self->ts);
self->ts = 0;
}
-

The result: ftp://ftp.bsam.ru/pub/tmp/quant.mysqld.1.log.txt

The same D script but for httpd process:
ftp://ftp.bsam.ru/pub/tmp/quant.httpd.1.log.txt

And now can you advise me what to do next? What should I pay
attention to? Thanks!


-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: no new/current f10 emulator?!

2010-02-27 Thread Boris Samorodov
On Fri, 26 Feb 2010 19:58:31 -0800 Gary Kline wrote:

> See what happens with my 7.3RC1

You can try:
1. Setting sysctl compat.linux.osrelease to "2.6.16".
2. Adding to /etc/make.conf:
-
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10
-

That should work for (most, many) linux applications. However
not all new linuxulator bits can be merged from 9.x/8.x to 7.x.
That's why the default for 7.x (and 6.x as well) is not going
to be changed.

And please take a look here
http://lists.freebsd.org/pipermail/freebsd-emulation/2009-June/006221.html
for more information about how to switch a linux base port
and other linux insfrastructure ports.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Mozilla Updates

2010-02-25 Thread Boris Samorodov
On Thu, 25 Feb 2010 15:18:21 -0600 Programmer In Training wrote:

> As of the last time I updated ports (the 22nd) I was prevented from
> installing Firefox because of the vulnerabilities.

You may be looking at the wrong place. Please, take a look at
/usr/ports/UPDATING, entry "20100207: AFFECTS: users of
www/firefox".

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: strange disk activity

2010-02-20 Thread Boris Samorodov
On Sat, 20 Feb 2010 15:48:45 -0600 Dan Nelson wrote:
> In the last episode (Feb 20), Boris Samorodov said:

> > Are there other possibilities meanwhile?

>   ktrace -d -i -p 0 ; sleep 10 ; ktrace -C 

> , then run kdump -m64 and search for large numbers of writes in the output. 
> "-d -i -p0" selects all current and future children of pid 0, which will
> trace all processes.  "-m64" limits the I/O dump size to 64 bytes.

Impressive!

Thanks, Dan, I've got a real new tool. ;-)

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: strange disk activity

2010-02-20 Thread Boris Samorodov
On Sat, 20 Feb 2010 23:56:24 +0300 Boris Samorodov wrote:

> Are there other possibilities meanwhile?

Thanks to Chuck Swiger:

% top -m io

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: strange disk activity

2010-02-20 Thread Boris Samorodov
On Sat, 20 Feb 2010 14:26:15 -0600 Dan Nelson wrote:
> In the last episode (Feb 20), Boris Samorodov said:
> > Hello List,
> > 
> > I've got a very strange disk activity:
> > -
> > % iostat -xw60 da0
> > extended device statistics  
> > device r/s   w/skr/skw/s wait svc_t  b  
> > da0   43.2 204.4   971.9 10917.20  30.7  30 
> > extended device statistics  
> > device r/s   w/skr/skw/s wait svc_t  b  
> > da05.1 274.672.7 15206.20  50.4  27 
> > 
> > If I'm not mistaken it's approx. 15Mb/sec. Which means more than 1000 Tb a
> > day!
> > 
> > How can I find which program is trashing the disk? The system is
> > FreeBSD-7.0 with 15 jails. Thanks for your help.

> Something like this would be a good start:

>  dtrace -n 'syscall::write:entry { @dist[pid,execname] = sum(arg2); }'

> Let it run a few seconds, then hit ^C, and it will print the total bytes
> written by each process during that period.  You may also have to trace
> writev and pwrite, since FreeBSD's dtrace doesn't include the sysinfo
> provider that would let you count them all at once.  

> Data written to swap or mmap'ped files won't register here, but most heavy
> writes aren't done with mmap.

Thanks, Dan! Dtrace is really a way to go.

Unfortunately dtrace is not available at 7.0. That means that
the system should be updated to 7-STABLE.

Are there other possibilities meanwhile?

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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"


strange disk activity

2010-02-20 Thread Boris Samorodov
Hello List,

I've got a very strange disk activity:
-
% iostat -xw60 da0
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   43.2 204.4   971.9 10917.20  30.7  30 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da05.1 274.672.7 15206.20  50.4  27 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da08.1 271.1   117.0 14827.80  51.1  29 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da09.9 304.6   184.5 16814.7   31  64.6  33 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da06.6 276.1   134.1 15184.10  36.6  29 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   13.3 336.9   268.5 19073.20  36.4  36 
^C
% iostat -xw1 da0
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   43.0 204.7   968.6 10937.50  30.7  30 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da06.0   2.0   239.832.00   3.0   2 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da03.0  55.965.9   895.10   3.8  18 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   29.0 286.7  1212.8 18221.80  39.7  42 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da05.0 309.7   223.8 18589.31   0.6   6 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da00.0  21.0 0.0   335.70   8.0  17 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da00.0 286.7 0.0 18221.50   0.7   4 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da05.0 571.477.9 36412.20   1.3  22 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da04.0 446.628.0 28419.4   32   0.8  16 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   32.0 1005.0   411.6 26757.6   68  37.8  91 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da0   25.0 189.8   879.1 11972.21 266.8 103 
extended device statistics  
device r/s   w/skr/skw/s wait svc_t  b  
da05.0   5.079.9   175.80  11.5  11 
^C
-

If I'm not mistaken it's approx. 15Mb/sec. Which means more
than 1000 Tb a day!

How can I find which program is trashing the disk? The system is
FreeBSD-7.0 with 15 jails. Thanks for your help.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Trouble getting a core dump from clamd

2010-01-20 Thread Boris Samorodov
On Wed, 20 Jan 2010 15:24:51 -0600 Doug Poland wrote:

> % sysctl -a | grep core
> kern.corefile: /var/coredumps/%U/%N.core

As CORE(5) says %U is a UID...

> % touch /var/coredumps/file
> % ll !$
> ll /var/coredumps/file
> -rw-r--r--  1 doug  wheel  0 Jan 20 15:13 /var/coredumps/file

... so you should have a directory /var/coredumps/ owned by
(well, at least have permissions to write by) this UID.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: vi editing

2010-01-15 Thread Boris Samorodov
On Fri, 15 Jan 2010 07:37:49 -0800 (PST) gahn wrote:

> I am trying to add a word on every line (right in front of every line) via 
> vi. Right now I have:

> x
> x
> x

Type this:

:%s/^/"new word" /

> after that, I want to have:

> "new word" x
> "new word" x
> "new word" x

> How could I do that with vi?

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: GELI file systems unusable after "glabel label" operations

2010-01-13 Thread Boris Samorodov
On Thu, 14 Jan 2010 01:31:55 -0600 (CST) Scott Bennett wrote:

> hellas# geli attach -k work.key /dev/label/work
> geli: Cannot read metadata from /dev/label/work: Invalid argument.

Did you try to mount it via geom consumer (/dev/daX)?
Can you show apropriate "glabel list"?

-- 
WBR, bsam
___
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: LSILogic SAS/SATA Adapter performance under FreeBSD 8.0 and 7.2 ( 20!!! times slower then in RHEL )

2010-01-05 Thread Boris Samorodov
On Tue, 05 Jan 2010 18:46:06 +0300 Baginski Darren wrote:

> Now is the same server under RHEL5

Is the server really the *same* or *alike*? I've got such difference
in performance between similar RAID cards with and without BBU (battery
backup unit).

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Linux-realplayer

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 11:59:56 -0800 Rem Roberti wrote:

> > Ah, Boris...your patience is commendable, especially to this newbie.
> > But before I follow the instructions of your last post I assume that
> > installing f10 is implied, and should precede the installation of any
> > linux apps.  Correct?

> OK...it finally dawned on me that f10 would get taken care of
> by the installation of the linux app.  And...Linux-realplayer is now up
> and running.  Whew!

You were faster than me and didn't give me a chance to answer your
previous letter. ;-) I'm glad you solved a problem. Welcome to our
party!

-- 
WBR, bsam
___
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: Linux-realplayer

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 09:39:21 -0800 Rem Roberti wrote:

> The reason that I did that is because there were explicit instructions
> in UPDATING for going to fc6, but I could not find instructions for
> going to f10.  As I indicated earlier I have no idea what to include in
> /etc/sysctl.conf.

Nothing should be written to both /etc/make.conf and /etc/sysctl.conf.
All should be OK for 8.0 with just defaults.

>  I know that just deleting fc6 and installing f10
> isn't going to be enough.  Is there an entry that must be made in
> /etc/make.conf as there must be in earlier versions of linux_base?
> These are the things I haven't been able to gleen from UPDATING.

OK, I see. Then remove all linux applications (i.e. skype,
acroread, linux-realplayer, etc.) by pkg_delete .
Then remove all linux infrastructure ports by pkg_delete 'linux-*'.
Unmount all linux filesystems (linsysfs, linprocfs) and delete
linux base port by pkg_delete -f linux_base. To be on
a safe side clean /compat/linux. Remove any linux remnants from
/etc/sysctl.conf and /etc/make.conf.

Then just install linux-realpalyer (or any other linux application
from ports). Mount linux filesystems if needed. Your linux apps
should just work. HTH

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Linux-realplayer

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 09:08:41 -0800 Rem Roberti wrote:

> > Please upgrade your linux_base port to linux_base-f10 (it's a default
> > for 8.0 BTW). A small howto you may read at /usr/ports/UPDATING.
> > 
> I may be making things worse. I wasn't sure how the osrelease should
> read for sysctl.conf (couldn't find that in UPDATING), so I upgraded to
> linux_base-fc6 ala the instructions in UPDATING. But I still get the
> same error message about libgio-2.0.so.0.

Why did you decide to install linux_base-fc6 but not linux_base-f10?

>  Is there any reason why
> Linux-realplayer should not work on FBSD 8.0 with linux_base-fc6
> installed?

8.0 is well tested with linux_base-f10. It's a default. If you
want to play with fc6 then you are at your own...


-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Linux-realplayer

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 08:14:22 -0800 Rem Roberti wrote:
> On 2009.12.30 19:08:37 +0000, Boris Samorodov wrote:
> > On Wed, 30 Dec 2009 08:03:23 -0800 Rem Roberti wrote:
> > 
> > > While attempting to install Linux-realplayer on an 8.0 box I get this
> > > error message:
> > [resolved]
> > > However, when I try and
> > > run it I now get this:
> > 
> > > /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
> > > libraries: libgio-2.0.so.0: cannot open shared object file: No such file
> > > or directory
> > 
> > Please show results for those commands:
> > -
> > % ls -l /compat/linux/lib/libgio*

> root@ ~: ls -l /compat/linux/lib/libgio*
> ls: /compat/linux/lib/libgio*: No such file or directory

> > % pkg_info -Ix linux

> root@ ~: pkg_info -Ix linux
> linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux
> Fedora 10)
> linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10)
> linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing
> library (Linux 
> linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X
> Windows (Linux Fe
> linux-f10-jpeg-6b   RPM of the JPEG lib (Linux Fedora 10)
> linux-f10-png-1.2.37 RPM of the PNG lib (Linux Fedora 10)
> linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora
> 10)
> linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10)
> linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from
> RealNetworks
> linux_base-fc-4_15  Base set of packages needed in Linux mode (for
> i386/amd64)

Please upgrade your linux_base port to linux_base-f10 (it's a default
for 8.0 BTW). A small howto you may read at /usr/ports/UPDATING.

> linuxdoc-1.1_1  The Linuxdoc SGML DTD


-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Linux-realplayer

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 08:03:23 -0800 Rem Roberti wrote:

> While attempting to install Linux-realplayer on an 8.0 box I get this
> error message:
[resolved]
> However, when I try and
> run it I now get this:

> /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
> libraries: libgio-2.0.so.0: cannot open shared object file: No such file
> or directory

Please show results for those commands:
-
% ls -l /compat/linux/lib/libgio*
% pkg_info -Ix linux
-

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: fpc on FreeBSD?

2009-12-30 Thread Boris Samorodov
On Wed, 30 Dec 2009 01:35:05 +1100 (EST) Ian Smith wrote:

> Is fpc's IDE usable, like good ol' TP6 and 7, never mind Delphi?

Usable.

>  Docs 
> seem vast, I'm wondering if there's a simple guide to basic compilation, 
> but basically I'd just like to hear that it's working ok for someone and 
> is worth the learning curve?

Working OK. For FreeBSD:
. it's i386-only (seems that upcomming 2.4.0 may have amd64 bits);
. static binaries.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: I have mail, but where?

2009-12-23 Thread Boris Samorodov
On Wed, 23 Dec 2009 09:05:04 +0100 Andrea Venturoli wrote:
> Steve Randall ha scritto:

> >> No mail for  andrea
> > Are there really two spaces in a row there? That's a vital clue.
> Sure. I noticed that too, but though it might be normal.
> > For
> > some reason your 'USER' environment variable is set to ' andrea' (with a
> > leading space). Then .cshrc sets the 'mail' shell variable to
> > '(/var/mail/ andrea)'. That's now a list with two elements. Since the
> > first is a directory, csh counts the files in it, assuming they are
> > messages.
> >
> > Since you don't have this problem with console logins, look for a
> > configuration error in your GUI login manager.
> This is interesting...
> Unfortunately (or luckily), today that message does not appear
> anymore, so I can't check.

Which message are you talking about? Is it a message "You have new
mail"? The latter shows only once if there is a new mail. The system
doesn't prompt you when there is unread mail. So you should actually
read (and delete, save, etc.) your mail.

-- 
WBR, bsam
___
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: Problem upgrading linux-pango to f10

2009-12-22 Thread Boris Samorodov
On Tue, 22 Dec 2009 13:47:09 -0800 (PST) David LeCount wrote:

> I've tried to upgrade my Linux subsystem to f10 and ended up with a mess. 
> Some are upgraded and some aren't. Pango is currently refusing to upgrade. 
> Here's what I get:

> [r...@bahamut /usr/ports]# portupgrade -o x11-toolkits/linux-f10-pango/ 
> linux-pango

Please read /usr/ports/UPDATING for instructions about how to
upgrade to a new linux base port.

-- 
WBR, bsam
___
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: googleearth complains about file instance-running-lock

2009-12-12 Thread Boris Samorodov
On Fri, 11 Dec 2009 23:58:05 -0800 Yuri wrote:

> I guess that's a side effect of /compat/linux not being owned by root.

Yes, you've found the root of the problem. Chown it to root:wheel and
all should be fine.

-- 
WBR, bsam
___
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: googleearth complains about file instance-running-lock

2009-12-11 Thread Boris Samorodov
On Fri, 11 Dec 2009 15:17:19 -0800 Yuri wrote:

> Now I found who creates /compat/linux/home. It's skype. After I delete
> /compat/linux/home and relaunch skype it recreates it.

That's possible only if you are root. That's the most essential info.
Please, annouce it everytime you have any error at the very beginning
of an e-mail with capital letters.

Never work as root. Never-never work as root under X.

-- 
WBR, bsam
___
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: googleearth complains about file instance-running-lock

2009-12-11 Thread Boris Samorodov
On Fri, 11 Dec 2009 11:34:51 -0800 Yuri wrote:
> Boris Samorodov wrote:
> > ...and remove /compat/linux/home if it exists.

> You should make sure that installer doesn't create /compat/linux/home.
> Because I never created it myself, must have been installer.

Please show me how can I repeat that case. Or at least show
# ls -l /compat/linux

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: googleearth complains about file instance-running-lock

2009-12-10 Thread Boris Samorodov
On Fri, 11 Dec 2009 06:44:26 + Matthew Seaman wrote:
> Yuri wrote:
> > Glen Barber wrote:
> >>
> >> Remove the file?  Or rename it?
> >
> > I wouldn't ask this question if it was that easy.
> > There is even no such directory: /home/yuri/.googleearth

> Check /compat/linux/home/yuri/

...and remove /compat/linux/home if it exists.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Boris Samorodov
On Tue, 8 Dec 2009 11:17:24 + David Southwell wrote:
> >> On Tue, 8 Dec 2009 10:40:02 + David Southwell wrote:

> > Please, show your configuration files and diagnostic messages.
> > 
> Unfortunately as I said I have scrapped the configuration attempts and files 
> and cleaned the logs ready for a new start...I felt it was a mess and the 
> history had become part of the problem!! So I cleaned the decks and  am ready 
> to start again !!

Then do start! After doing so, show your configuration files and
diagnostic messages. We will be glad to help you.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Boris Samorodov
Sorry List, this is for David Southwell.

Please, be informed that your mail server does not accept messages
you may be interested in:
-
The user nvidi...@envieweb.net does not accept mail from your address.
The headers of the message sent from your address are show below:
...
-

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Boris Samorodov
On Tue, 8 Dec 2009 10:40:02 + David Southwell wrote:

> Despite reading the documentation I seem to be having difficulty setting up 
> the printer from the server. So far I have not been able to get the beast to 
> print-- I have scrapped all attempts at configuring the server and would 
> appreciate some guidance before I trying again!!

Please, show your configuration files and diagnostic messages.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: malformed man pages

2009-12-04 Thread Boris Samorodov
On Fri, 04 Dec 2009 22:02:41 +0800 Sagara Wijetunga wrote:
> Boris Samorodov wrote:
> > On Fri, 04 Dec 2009 16:50:31 +0800 Sagara Wijetunga wrote:
> >   
> >> We have an issue on Tomahawk Desktop (an upcoming FreeBSD-based
> >> distro) that all man pages malformed.
> > What is the base FreeBSD version?
> FreeBSD 7.2

OK.

> >> Eg. man tar shows as follows: 1mNAME0m 1mtar 22m-- format of tape
> >> archive files
> >> 1mDESCRIPTION0m The 1mtar 22marchive format collects any number of
> >> files, directories, and
> >> 
> > What are your terminal, locale, fonts?
> >   
> echo $TERM xterm-color

OK.

> How do I know what locale and fonts are effective?

% locale

I don't remember how to detect current font, but I know how to
set it up. ;-) I use x11-fonts/dejavu and set it at ~/XTerm:
-
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 12
-

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: malformed man pages

2009-12-04 Thread Boris Samorodov
Hi,

On Fri, 04 Dec 2009 16:50:31 +0800 Sagara Wijetunga wrote:

> We have an issue on Tomahawk Desktop (an upcoming FreeBSD-based
> distro) that all man pages malformed.

What is the base FreeBSD version?

> Eg. man tar shows as follows:
> 1mNAME0m
> 1mtar 22m-- format of tape archive files

> 1mDESCRIPTION0m
> The 1mtar 22marchive format collects any number of files,
> directories, and

What are your terminal, locale, fonts?

> What have we missed?

Well, there were good old days ;-) when the grass was green
and manual pages were written in plain ASCII. Those days
passed, welcome to the shiny future. Manual pages have
colors, belts and whistles and can be viewed only at xterm
and with some fonts.

*sign* bsam, who used a copy-n-paste from DISKLESS(8) and
lost nfs connectivity.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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?

2009-12-03 Thread Boris Samorodov
On Thu, 03 Dec 2009 00:29:44 -0800 Yuri wrote:
> Boris Samorodov wrote:

> > Delete firefox3-i18n package (www/firefox3-i18n port) and install
> > firefox35-i18n package (www/firefox35-i18n port).

> This works. Thanks!

Glad to be helpful.

> 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.

You may ask this at the freebsd-gecko@ (maintainer) mailing list.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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?

2009-12-03 Thread Boris Samorodov
On Thu, 03 Dec 2009 00:08:19 -0800 Yuri wrote:
> 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

Delete firefox3-i18n package (www/firefox3-i18n port) and install
firefox35-i18n package (www/firefox35-i18n port).

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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?

2009-12-02 Thread Boris Samorodov
On Wed, 02 Dec 2009 14:42:13 -0800 Yuri wrote:
> daniele wrote:

> > 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.

Please show an output for:
% pkg_info -Ix firefox

> It's not clear why good old LANG variable doesn't work in FreeBSD any more.

It works at FreeBSD. It's a firefox question either use it or not.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: ntpdate on FreeBSD 8.0

2009-12-01 Thread Boris Samorodov
On Tue, 1 Dec 2009 06:25:45 -0600 Franci Nabalanci wrote:

> I was not lucky. No one suggestions works. Maybe was wrong something with my
> installation CD? But thanks anywhere. I reinstalled FreeBSD 7.2 and it works
> without errors and very good.

It works for me at LAN, but I didn't manage to sync time by
ntpdate at start time either when using PPPoE at my friends home.
Seems that the network interface/something else is not
ready at the time ntpdate fires. May be setting:
-
rc_debug="YES"
-
at /etc/rc.conf[.local] will be helpful.

> On Sun, Nov 29, 2009 at 8:39 PM, ajtiM  wrote:

> > Hi!
> >
> > I have new installed FreeBSD 8.0 and in rc.conf I have:
> >
> > ntpdate_enable="YES"
> > ntpdate_hosts="ntp1.cs.wisc.edu"
> >
> > When I boot computer I get a message there are no this host but when I run
> > /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
> >
> > I had the same in rc.conf on FreeBSD 7.2 and it works all the time. All
> > settings on FreeBSD8.0 are the same as I had on 7.2.
> >
> > Thanks in advance.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread Boris Samorodov
On Sun, 29 Nov 2009 12:16:15 -0800 Paul Hoffman wrote:

> So, I have now done a long, painful
> portrupgrade -a', having it stop regularly to prompt me for
> configuration settings.

I'm sure portupgrade has an option to do a recursive configure
before actual upgrade. If it doesn't you may look at portmaster.

-- 
WBR, bsam
___
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?

2009-11-25 Thread Boris Samorodov
Yuri  writes:

> 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.

Aha, this time you gave some additional info which may be helpful.

> 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?

Not a solution but a wild guess...

You get linux scim with -f10- ports semi-working. That may be
due to the difference of directory/file structures for -f6-
and -f10- cases.

In general linuxulator first search a file/directory at /compat/linux
prefix. If not found the search is made at / directory. But IFF
needed file/directory is found at prefix /compat/linux the search
stops. Usually we remove those directories (from a linux distro
before installing) when native FreeBSD should be used.

Example: /var, /tmp directories are removed form linux_base ports
and are not installed to /compat/linux. So native /var, /tmp are
used at run time. The same should be for scim configuration file
as well as some other directories/files searched at run time.
They should be removed so apropriate FreeBSD destination is used.

I guess that there may be some directory/file structure difference
between -f6- and -f10- cases which causes you a trouble. To be more
precise, I suspect that some directory/file get created/installed
at -10- case which prevent scim to work as expected.

Besides, there may be a case if some needed linux files/libraries
are not installed when using -f10- while they are installed when
using -f6- ports.

Please, give those assuptions a try and report back your results.

-- 
WBR, bsam
___
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: FreeBSD 7.2 Release under VirtualBox

2009-11-23 Thread Boris Samorodov
stan  writes:
> On Mon, Nov 23, 2009 at 12:44:34PM +0300, Boris Samorodov wrote:
>> stan  writes:
>> 
>> > I am trying to install FreebSD under VirtualBox 3.0 on an Ubuntu 9.10
>> > machien. I just installed OpenBSD in the same environment with no issues.
>> >
>> > However, FreeBSD does not seem to be able to get networking working. I am
>> > trying to install from a minimal boot CD, and get the filesets from an ftp
>> > server. I tried letting the FreeBSD installer get an address uisng DHCPm
>> > and it failed. So I booted teh OpenBSD insatnce, and used it's setigs,
>> > except for IP address (namescerve, defailt router etc). But still no luck.
>> >
>> > Has anyone made this work? Any sugestions as to what else to ty?
>> 
>> DHCP should work. Try other network cards (change then via
>> Virtualbox OSE).
>> 
> FreeBSD is detecting an AMD card.
>
> What is a DSE, and how do I use it?

_O_SE, not DSE (Virtualbox Open Source Edition).

It's the main Virtualbox window (at least at FreeBSD). You can
change the card at the settings for apropriate virtual machine.
Select the network properties and then the card (this should be
done when the virtual machine is nor running). Next time you
launch that virtual machine (ex. start FreeBSD installation)
another network card will be detected.

-- 
WBR, bsam
___
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: FreeBSD 7.2 Release under VirtualBox

2009-11-23 Thread Boris Samorodov
stan  writes:

> I am trying to install FreebSD under VirtualBox 3.0 on an Ubuntu 9.10
> machien. I just installed OpenBSD in the same environment with no issues.
>
> However, FreeBSD does not seem to be able to get networking working. I am
> trying to install from a minimal boot CD, and get the filesets from an ftp
> server. I tried letting the FreeBSD installer get an address uisng DHCPm
> and it failed. So I booted teh OpenBSD insatnce, and used it's setigs,
> except for IP address (namescerve, defailt router etc). But still no luck.
>
> Has anyone made this work? Any sugestions as to what else to ty?

DHCP should work. Try other network cards (change then via
Virtualbox OSE).

-- 
WBR, bsam
___
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: jail - beginner questions

2009-11-18 Thread Boris Samorodov
Laszlo Nagy  writes:

> I do not want to expose my jail's private IP address to the
> internet.

Use loopback interface and 127.x.x.x address.

--
WBR, bsam
___
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: Linux-realplayer missing from ports

2009-11-04 Thread Boris Samorodov
On Tue, 03 Nov 2009 15:16:09 -1000 Al Plant wrote:

> I am trying to get Linux-RealPlayer to install from updated ports
> collection on a FreeBSD 9 desktop box. (Xorg and www etc all installed
> fine on this test box.)

> Error says it cannot be found in our ports collection.

Please, show the exact command you use and the error you get.

> Is there a way
> to locate the maintainer? This port is missing some components. Or can
> it be down loaded into distfiles? If so from where?

> Or has this been replaced by something else to play audio in ports. I
> would be glad to try any port for playing audio from web or files that
> is known to work.

Don't think so:
-
% whereis linux-realplayer
linux-realplayer: /usr/ports/multimedia/linux-realplayer
-

-- 
WBR, bsam
___
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: linux emulation problems

2009-11-04 Thread Boris Samorodov
On Tue, 3 Nov 2009 13:58:19 -0800 (PST) Super Biscuit wrote:

> I'm using linux_base-f10.

How do you?

> During the installation of ports. The error comes to to use at least base-f8. 
> Ports have been updated. 

Did you pay attention at /usr/ports/UPDATING?

-- 
WBR, bsam
___
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: can't make www/linux-f10-flashplugin10

2009-10-26 Thread Boris Samorodov
Jamie Griffin  writes:

> Hi, i'm trying to build the www/linux-f10-flashplugin port and i'm
> getting the following error on make:
>
> "/usr/ports/Mk/bsd.linux-apps.mk", line 79: Malformed conditional
> ($LINUX_DIST_SUFFIX}=="")
> "/usr/ports/Mk/bsd.linux-apps.mk", line 145: Malformed conditional
> ($LINUX_DIST_SUFFIX}=="-f10")
> "/usr/ports/Mk/bsd.linux-apps.mk", line 171: Malformed conditional
> ($LINUX_DIST_SUFFIX}=="")
> "/usr/ports/Mk/bsd.linux-apps.mk", line 173: Malformed conditional
> ($LINUX_DIST_SUFFIX}=="-f8")
> "/usr/ports/Mk/bsd.linux-apps.mk", line 421: Malformed conditional
> ($LINUX_DIST_SUFFIX}=="")
> "/usr/ports/Mk/bsd.linux-apps.mk", line 459: Malformed conditional
> ($LINUX_DIST_SUFFIX}=="-f8")
> "/usr/ports/Mk/bsd.linux-apps.mk", line 461: if-less else
> "/usr/ports/Mk/bsd.linux-apps.mk", line 463: if-less endif
> "/usr/ports/Mk/bsd.linux-apps.mk", line 477: Malformed conditional
> ($LINUX_DIST_SUFFIX}=="-f8")
> "/usr/ports/Mk/bsd.linux-apps.mk", line 479: if-less else
> "/usr/ports/Mk/bsd.linux-apps.mk", line 481: if-less endif
> Error expanding embedded variable.
>
> I don't know what this means and i'm not sure how to fix it. Can
> anyone help?
>
> I'm using FreeBSD 7.2, my ports tree is up to date (did it earlier
> today). I did have flashplugin 9 installed with the linux-f4-core, but
> i've removed this, installed the f10-core and then started having
> problems with the flashplugin.
>
> Thanks in advance for any advice/help.

The port www/linux-f10-flashplugin needs linux -f10- ports. The latter
are defaults for FreeBSD-8.x and later. You can use them at 7.2
(7.2-STABLE is preferred). For more unformation take a look at
/usr/ports/UPDATING "20090401: AFFECTS: users of linux Fedora 8
infrastructure ports" (it deals with non default f8 ports, f10
are the same with "f10" value). HTH

Please, keep in mind that those ports are not defaults for 7.x.

-- 
WBR, bsam
___
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: Freebsd 8rc1 & Puc driver

2009-10-25 Thread Boris Samorodov
"P. Moulin"  writes:

> I have a multi-serial card with an Oxford OX16PCI954 on it.
> Whatever I do, the oxford chip is not recognized.

How many serial ports does it have?

> in dmesg:
> pci0:  at device 12.0 (no driver attached)
>
> and in pciconf -lv :
> no...@pci0:0:12:0:  class=0x070006 card=0x chip=0x950c1415
> rev=0x00
> hdr=0x00
> vendor = 'Oxford Semiconductor Ltd'
> class  = simple comms
> subclass   = UART

Sometimes just adding a definition of the chip may help. Let's try it
(assuming that the card has four serial ports):
-
--- sys/dev/puc/pucdata.c.orig  2009-10-25 15:23:41.0 +0300
+++ sys/dev/puc/pucdata.c   2009-10-25 15:29:32.0 +0300
@@ -643,6 +643,12 @@
PUC_PORT_4S, 0x10, 0, 8,
},
 
+   {   0x1415, 0x950c, 0x, 0,
+   "Oxford Semiconductor OX16PCI954 UARTs",
+   DEFAULT_RCLK,
+   PUC_PORT_4S, 0x10, 0, 8,
+   },
+
{   0x1415, 0x9511, 0x, 0,
"Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)",
DEFAULT_RCLK,
-

> no...@pci0:0:12:1:  class=0x068000 card=0x chip=0x95101415
> rev=0x00
> hdr=0x00
> vendor = 'Oxford Semiconductor Ltd'
> device = 'PCI Interface (disabled) (OX16PCI954)'
> class  = bridge

Is it the same card?

> Can somebody tell me why the second PCI interface is flagged
> "disabled" ? How can I solve this ?
>
> (I have loaded puc from loader.conf, without more success).

Both kernel modules (uart and puc) should be compiled in kernel
or loaded as modules. And I don't use kernel module sio for a long
time. Since uart and sio use the same hardware they shouldn't be
used simultaneously. I used to have lines at my kernel:
-
nodevice sio
device uart
device puc
-

> PS: (un)works the same way with freebsd 7.2 & 8.0rc1

-- 
WBR, bsam
___
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: whacky `fc-list` output

2009-10-14 Thread Boris Samorodov
On Wed, 14 Oct 2009 18:40:07 +0200 (CEST) Alexander Best wrote:

> so why does fc-list output in utf8 if none of the LC_* vars is set to it?

If you can reproduce it by rebuilding fontconfig from ports, it may be
good to write to the maintainer (gnome@).

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Linux compatibility in FreeBSD

2009-10-14 Thread Boris Samorodov
On Wed, 14 Oct 2009 10:57:58 -0300 Leandro F Silva wrote:

> Does anyone know or already configured the linux compatibility in FreeBSD to
> install rpm packages and so on.

hm, actually (almost) all linux applications are installed using 
RPM packages. Did you mean using linux RPM database?

> Actually I'm running the i386 7.2 FreeBSD and the following package.

> %pkg_info |grep linu
> linux_base-fc-4_14  Base set of packages needed in Linux mode (for
> i386/amd64)

FYI: You may use `pkg_info -Ix linux_base` for this.

> I already saw the linux compatibility in the hand book of FreeBSD, but I
> didn't find too much information regarding rpm packages.

> Is there any way to do it ? any help is really welcome !

Using RPM database is not supported since FreeBSD has its own
package database for all applications including linux ones.

Said that I don't mean it doesn't work. If you need to use RPM
database to register applications that does not exist at ports
you may give it a try.

But the best way is to create ports for those applications
and install them from ports. BTW, they really don't need to
exist at the official portstree. You may place them, say, to
/usr/ports/local. A PR with them will be a good thing though.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: whacky `fc-list` output

2009-10-14 Thread Boris Samorodov
On Tue, 13 Oct 2009 21:21:16 +0200 (CEST) Alexander Best wrote:

> hi there,

> when i do `fc-list` the output looks rather odd. `fc-cache -f` doesn't help.
> the output looks the same using different shells.

Those messages seem to be UTF-8 formatted. I use UTF-8 locale and
iso10646 font. Here is a head of `fc-list`:
-
CourierNew:style=PSMT-BoldItalic
Lucida 
Console:style=Обычный,Normal,obyčejné,Standard,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Navadno
,Arrunta
AcademyPSCyr:style=Regular
Utopia:style=Bold Italic
CollegePSCyr:style=Regular
DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book
Times New 
Roman:style=Обычный,Normal,obyčejné,Standard,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Normalny,Normá
lne,Navadno,thường,Arrunta
-----

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: RealPlayer broken

2009-10-05 Thread Boris Samorodov
On Mon, 05 Oct 2009 17:05:32 +0400 Boris Samorodov wrote:

> It occures when using gnome (gdm) and nvidia graphics
> card (well, even with vesa video mode).

Seems that the card is no-op here. It's only gnome which
causes RealPlayer to fail.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: RealPlayer broken

2009-10-05 Thread Boris Samorodov
On Sun, 4 Oct 2009 23:45:33 + (GMT) AN wrote:

> On a new install of 8.0RC1, Realplayer fails to start with the following:

> # realplay
> Gtk-Message: Failed to load module "canberra-gtk-module":
> libcanberra-gtk-module.so: cannot open shared object file: No such
> file or directory
> Gtk-Message: Failed to load module "gnomebreakpad":
> libgnomebreakpad.so: cannot open shared object file: No such file or
> directory

Those are only diagnostic messages seen when one runs gnome.

> Segmentation fault: 11 (core dumped)

While this is very strange error which I couldn't reproduce until
tomorrow. It occures when using gnome (gdm) and nvidia graphics
card (well, even with vesa video mode). If I use twm RealPlayer
is just fine. I've got that hardware for a couples of hours only
and can't investigate it further.

> uname -a
> FreeBSD core2.fu.bar 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19
> UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> i386

> pkg_info:
> gnome2-2.26.3

> pkg_info -xI linux
[linux stuff looks good to me]

> I have Googled, however there is no mention of a solution.  Any help
> is appreciated.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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?

2009-10-02 Thread Boris Samorodov
On Thu, 01 Oct 2009 11:19:20 -0700 Yuri wrote:

> 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

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.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: linux-pango won't install

2009-09-14 Thread Boris Samorodov
On Sun, 13 Sep 2009 07:05:42 -0500 ajtiM wrote:
> On Saturday 12 September 2009 05:19:22 Boris Samorodov wrote:
> > On Fri, 11 Sep 2009 23:01:23 -0600 Chad Perrin wrote:
> > > > If you still want to install the port, you could just add this to
> > > > the /etc/make.conf file:
> > > >
> > > > # Pango
> > > > .if $(.CURDIR:M*/x11-toolkits/linux-pango)
> > > > DISABLE_VULNERABILITIES=yes
> > > > .endif
> > >
> > > How long has this been broken for 7.2?  Considering all the stuff that
> > > depends on linux-pango, I'm surprised it hasn't been fixed.
> >
> > It will be broken until someone provide an URL to non-vulnerable
> > RPM package.

> Upgrade to the latest version of Pango (1.24 or later), available from the 
> Pango Web site
> http://rpm.pbone.net/index.php3/stat...ch/pango/field[]/1/field[]/2

Sorry, I didn't manage to find a Pango 1.24 package for Fedora Core 4.
Can you post an URL?

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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"


  1   2   3   4   >