linux-f10-flashplugin

2011-09-28 Thread S . N . Grigoriev
Hi list,

I upgraded today kernel and world from fresh sources on my 8-stable amd64 
system. 
I upgraded ports as  well. After that both firefox and chromium do not see 
linux-f10-flashplugin.
I reinstalled manually emulators/linux_base-f10, www/nspluginwrapper and
www/linux-f10-flashplugin10 and did other actions as described in the chapter 
6.2.3 of the
FreeBSD Handbook. The following conditions are met:
linprocfs is mounted on /usr/compat/linux/proc,
there is a softlink from /usr/local/lib/browser_plugins/ pointing to 
/usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so,
~/.mozilla/plugins/npwrapper.libflashplayer.so is created by the 
nspluginwrapper -v -a -i
command.

All browsers still treat the flash plugin as missing.
What may be wrong?

Thanks,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: linux-f10-flashplugin

2011-09-28 Thread S . N . Grigoriev


28.09.2011, 19:42, "Conrad J. Sabatier" :
> On Wed, 28 Sep 2011 18:25:17 +0400
> "S.N.Grigoriev"  wrote:
>
>>  Hi list,
>>
>>  I upgraded today kernel and world from fresh sources on my 8-stable
>>  amd64 system. I upgraded ports as  well. After that both firefox and
>>  chromium do not see linux-f10-flashplugin. I reinstalled manually
>>  emulators/linux_base-f10, www/nspluginwrapper and
>>  www/linux-f10-flashplugin10 and did other actions as described in the
>>  chapter 6.2.3 of the FreeBSD Handbook. The following conditions are
>>  met: linprocfs is mounted on /usr/compat/linux/proc, there is a
>>  softlink from /usr/local/lib/browser_plugins/ pointing
>>  to /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so,
>>  ~/.mozilla/plugins/npwrapper.libflashplayer.so is created by the
>>  nspluginwrapper -v -a -i command.
>>
>>  All browsers still treat the flash plugin as missing.
>>  What may be wrong?
>
> Hmmm.  What's the output of:
>
> /usr/local/lib/nspluginwrapper/x86_64/freebsd/npconfig -l
>    ^^
>    substitute appropriate architecture
>    as needed
>
> Have you tried manually reinstalling the plugin with (ignore the
> linewrap below):
>
> /usr/local/lib/nspluginwrapper/x86_64/freebsd/npconfig
> -i /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
>
> (again, substitute appropriate architecture in the path to npconfig as
> needed)
>
> --
> Conrad J. Sabatier
> conr...@cox.net

Hi Conrad,

after manual reinstalling as described above 'npconfig -l' output is:

/usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
  Original plugin: /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
  Plugin viewer: /usr/local/lib/nspluginwrapper/i386/linux/npviewer
  Wrapper version string: 1.4.4-1

Still no results.

Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: linux-f10-flashplugin

2011-09-28 Thread S . N . Grigoriev


28.09.2011, 18:59, "Thomas Steen Rasmussen" :
> On 28.09.2011 16:25, S.N.Grigoriev wrote:
>
>>  Hi list,
>>
>>  I upgraded today kernel and world from fresh sources on my 8-stable amd64 
>> system.
>>  I upgraded ports as  well. After that both firefox and chromium do not see 
>> linux-f10-flashplugin.
>>  I reinstalled manually emulators/linux_base-f10, www/nspluginwrapper and
>>  www/linux-f10-flashplugin10 and did other actions as described in the 
>> chapter 6.2.3 of the
>>  FreeBSD Handbook. The following conditions are met:
>>  linprocfs is mounted on /usr/compat/linux/proc,
>>  there is a softlink from /usr/local/lib/browser_plugins/ pointing to
>>  /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so,
>>  ~/.mozilla/plugins/npwrapper.libflashplayer.so is created by the 
>> nspluginwrapper -v -a -i
>>  command.
>>
>>  All browsers still treat the flash plugin as missing.
>>  What may be wrong?
>
> Hello,
>
> Please see
> http://lists.freebsd.org/pipermail/freebsd-gecko/2011-September/001840.html
>
> Best regards,
>
> Thomas

Thomas,

thanks for your response. I saw the link above. What exactly should I change?
-- 
Regards,
S.Grigoriev.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: linux-f10-flashplugin

2011-09-28 Thread S . N . Grigoriev


28.09.2011, 21:10, "Conrad J. Sabatier" :
> On Wed, 28 Sep 2011 11:50:08 -0500
> "Conrad J. Sabatier"  wrote:
>
>>  It was a while ago that I did the actual wrapper install, but if I
>>  remember right, I simply copied npwrapper.libflashplayer.so
>>  from /usr/local/lib/browser_plugins to /home/conrads/.mozilla/plugins.
>>  You may want to try doing that and see if firefox/chromium will then
>>  recognize it.
>>
>>  In theory, the system-wide install
>>  under /usr/local/lib/browser_plugins *should* work, but I seem to
>>  recall having problems with it, which was why I tried putting it
>>  under ~/.mozilla/plugins.  Maybe it has something to do with the fact
>>  that it's not a native plugin(?).  I don't know, really.  But this
>>  has worked fine for me ever since, even across upgrades.
>>
>>  Hope this helps.  Let us know how it turns out.
>
> Actually, now that I think of it, I think the way I did it was this:
>
> cd /home/conrads/.mozilla/plugins
>
> /usr/local/lib/nspluginwrapper/x86_64/freebsd/npconfig
> -i /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
>
> And npwrapper.libflashplayer.so was created
> under /home/conrads/.mozilla/plugins.
>
> Hope this helps.

I've done it. No results.

-- 
Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: linux-f10-flashplugin

2011-09-30 Thread S . N . Grigoriev

30.09.2011, 00:05, "Piotr Kubaj" :

>>  28.09.2011, 21:10, "Conrad J. Sabatier" :
>>>   On Wed, 28 Sep 2011 11:50:08 -0500
>>>   "Conrad J. Sabatier"  wrote:
    It was a while ago that I did the actual wrapper install, but if I
   remember right, I simply copied npwrapper.libflashplayer.so
    from /usr/local/lib/browser_plugins to /home/conrads/.mozilla/plugins.
    You may want to try doing that and see if firefox/chromium will then
    recognize it.

    In theory, the system-wide install
>    under /usr/local/lib/browser_plugins *should* work, but I seem to
    recall having problems with it, which was why I tried putting it
    under ~/.mozilla/plugins.  Maybe it has something to do with the fact
    that it's not a native plugin(?).  I don't know, really.  But this
    has worked fine for me ever since, even across upgrades.

    Hope this helps.  Let us know how it turns out.
>>>   Actually, now that I think of it, I think the way I did it was this:
>>>
>>>   cd /home/conrads/.mozilla/plugins
>>>
>>>   /usr/local/lib/nspluginwrapper/x86_64/freebsd/npconfig
>>>   -i /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
>>>
>>>   And npwrapper.libflashplayer.so was created
>>>   under /home/conrads/.mozilla/plugins.
>>>
>>>   Hope this helps.
>>  > I've done it. No results.
>  I also have the same error on 2 computers using 9.0-BETA3. Before the
>  yesterday upgrade, everything was fine, however. I have linsys and
>  linproc mounted, linux module compiled into the kernel and Firefox,
>  Chromium and Opera all show Flash Player in about:plugins.

I tested linux-f10-flashplugin on 9.0-BETA3 amd64 yesterday.
The system was compiled from fresh sources as well as ports.
Firefox 7 and Chromium 14 work fine with the Linux flash plugin.
The flash plugin configuration has been created strictly in accordance
with the FreeBSD Hanbook. No additional actions required.
The problem exists for me with 8-STABLE only.

-- 
Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


(no subject)

2012-05-22 Thread S . N . Grigoriev
Hi list,

I tried to build world and kernel with CLang on my 9-stable amd64 system.
The following errors occured:

mv -f term.h.new term.h
cat /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/curses.tail 
>> curses.h.new
mv -f curses.h.new curses.h
cc -o make_keys -O2 -pipe  -I. 
-I/usr/obj/lib32/usr/src/lib/ncurses/ncurses/../ncurses 
-I/usr/src/lib/ncurses/ncurses/../ncurses 
-I/usr/src/lib/ncurses/ncurses/../ncurses 
-I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include 
-I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall -DNDEBUG 
-DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=gnu99 -Qunused-arguments  
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized 
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-conversion 
/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c
cc -o make_hash -O2 -pipe  -I. 
-I/usr/obj/lib32/usr/src/lib/ncurses/ncurses/../ncurses 
-I/usr/src/lib/ncurses/ncurses/../ncurses 
-I/usr/src/lib/ncurses/ncurses/../ncurses 
-I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include 
-I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall -DNDEBUG 
-DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=gnu99 -Qunused-arguments  
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized 
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-conversion -DMAIN_PROGRAM  
/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/comp_hash.c
cc: unrecognized option '-Qunused-arguments'
cc: unrecognized option '-Qunused-arguments'
cc1: error: unrecognized command line option "-Wno-empty-body"
cc1: error: unrecognized command line option "-Wno-empty-body"
cc1: error: unrecognized command line option "-Wno-string-plus-int"
cc1: error: unrecognized command line option "-Wno-tautological-compare"
cc1: error: unrecognized command line option "-Wno-parentheses-equality"
cc1: error: unrecognized command line option "-Wno-string-plus-int"
cc1: error: unrecognized command line option "-Wno-tautological-compare"
cc1: error: unrecognized command line option "-Wno-parentheses-equality"
*** Error code 1
*** Error code 1
2 errors
*** Error code 2
1 error
*** Error code 2
1 error

The only statement in my /etc/src.conf is `WITH_CLANG_IS_CC=yes'.
Should I use additional configuration options to successfully 
build the system with CLang?

Thanks,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: BuildingFreeBSDWithClang

2012-05-22 Thread S . N . Grigoriev


22.05.2012, 18:24, "Bruce Cran" :
> On 22/05/2012 12:27, Ronald Klop wrote:
>
>>  On Tue, 22 May 2012 13:04:59 +0200, S.N.Grigoriev
>>   wrote:
>>>  The only statement in my /etc/src.conf is `WITH_CLANG_IS_CC=yes'.
>>>  Should I use additional configuration options to successfully
>>>  build the system with CLang?
>
> The first time around clang isn't cc, so you have to also set CC=clang,
> CXX=clang++ and CPP=clang-cpp in src.conf .
>
> --
> Bruce Cran

Hi Bruce,

thank you for your response. Settings above have solved my problem.
-- 
Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


CLang and WERROR

2012-06-12 Thread S . N . Grigoriev
Hi, list

I've found out that CLang requires again NO_WERROR= and WERROR= statements in 
/etc/src.conf to build kernel from fresh sources. Older sources (at least up to 
June 4) did not require that. The following error occures:

clang -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm 
-std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wno-pointer-sign  -o aicasm aicasm.o aicasm_symbol.o 
aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll
clang: error: argument unused during compilation: '-nostdinc'
*** [aicasm] Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** [buildkernel] Error code 1

Stop in /usr/src.
*** [buildkernel] Error code 1

Stop in /usr/src.

Is such a behaviour normal and expected?

Thanks,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: CLang and WERROR

2012-06-12 Thread S . N . Grigoriev


13.06.2012, 01:07, "Dimitry Andric" :
> On 2012-06-12 16:42, S.N.Grigoriev wrote:
>
>>  I've found out that CLang requires again NO_WERROR= and WERROR= statements 
>> in /etc/src.conf to build kernel from fresh sources. Older sources (at least 
>> up to June 4) did not require that. The following error occures:
>>
>>  clang -O2 -pipe -nostdinc -I/usr/include -I. 
>> -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99  -Wsystem-headers -Werror -Wall 
>> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
>> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual 
>> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
>> -Wno-pointer-sign  -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o 
>> aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll
>>  clang: error: argument unused during compilation: '-nostdinc'
>
> ...
>
> Ah, thanks for noticing.  I had forgotten to merge one additional change
> that was needed.
>
> Please update your stable/9 to r236975, which should fix this.

It works fine for me. Thanks, Dimitry!

Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


LibreOffice crashes after buildworld

2012-07-10 Thread S . N . Grigoriev

Hi list,

I've rebuilt world (9-stable amd64) from fresh sources and found out that the 
LibreOffice Calc application crashes with core dump during start. LibreOffice 
worked fine with my previous system (dated June 27). Any tips?

Thanks,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


How to terminate a lot of jails correctly

2010-09-20 Thread S . N . Grigoriev

Hi list,

I use a server (FreeBSD 8.1R amd64) with two dozens of jails configured.
I've found out that only a few of them are terminated normally (via
/etc/rc.shutdown) during the system shutdown. FreeBSD reports that
20sec interval has elapsed and simply kills all the jails that are not yet
terminated. I would like to know in what way can I fix it using the system
tools only (not ezjail, Qjail etc).
 
Thanks,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: How to terminate a lot of jails correctly

2010-09-20 Thread S . N . Grigoriev


20.09.10, 13:37, "Erik Stian Tefre" :

> > I use a server (FreeBSD 8.1R amd64) with two dozens of jails configured.
>  > I've found out that only a few of them are terminated normally (via
>  > /etc/rc.shutdown) during the system shutdown. FreeBSD reports that
>  > 20sec interval has elapsed and simply kills all the jails that are not yet
>  > terminated. I would like to know in what way can I fix it using the system
>  > tools only (not ezjail, Qjail etc).
>  
>  Increasing rcshutdown_timeout in /etc/rc.conf may help. The default
>  value is set to 30 seconds in /etc/defaults/rc.conf.
>  

Erik,

thank you for your tip. The only drawback of that approche  is absence of
ability to calculate a timeout. Try and error only.

-- 
Regards,
S.Grigoriev.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


snd_hda: how to duplicate output

2010-09-27 Thread S . N . Grigoriev
Hi list,

this is an exerpt from 8.1R detailed Release Notes:

2.2.2.1 Multimedia Support
[snipped]
The snd_hda(4) driver now supports multichannel (4.0 and 7.1)
playback support. The 5.1 mode support is disabled now due to 
unidentified synchronization problem. Devices which supports 
the 7.1 mode can handle the 5.1 operation via software upmix 
done by sound(4). Note that stereo stream is no longer duplicated 
to all ports.

I'm interesting in what way can I restore the old behaviour, when
stereo stream is duplicated to the black and grey sound card
output connectors?

Thanks,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: snd_hda: how to duplicate output

2010-09-27 Thread S . N . Grigoriev


Alexander Motin wrote:

> S.N.Grigoriev wrote:
>  > this is an exerpt from 8.1R detailed Release Notes:
>  > 
>  > 2.2.2.1 Multimedia Support
>  > [snipped]
>  > The snd_hda(4) driver now supports multichannel (4.0 and 7.1)
>  > playback support. The 5.1 mode support is disabled now due to 
>  > unidentified synchronization problem. Devices which supports 
>  > the 7.1 mode can handle the 5.1 operation via software upmix 
>  > done by sound(4). Note that stereo stream is no longer duplicated 
>  > to all ports.
>  > 
>  > I'm interesting in what way can I restore the old behaviour, when
>  > stereo stream is duplicated to the black and grey sound card
>  > output connectors?
>  
>  The only way is to change channel mapping (chmap array) for stereo
>  streams in hdac_stream_setup() function.
>  

Alexander,

thank you for your responce.

Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


ZFS write speed

2010-10-27 Thread S . N . Grigoriev
Hi list,

I've got very low write speed using ZFS on a SATA disk.
My HDD configuration is:
ad4: 70911MB  at ata2-master UDMA100 SATA 3Gb/s
ad6: 78532MB  at ata3-master UDMA100 SATA 
1.5Gb/s
ad8: 1430799MB  at ata4-master UDMA100 SATA 3Gb/s
ad4 and ad6 are single-slice disks (UFS2 with soft updates)

ZFS configuration is following:
zpool create Z ad8
zfs create Z/music
zfs create Z/video
All ZFS parameters are default.
kern.maxvnodes = 100

To test my configuration I recursively copied from ad6 to ad8 two directories.
The first one contains MP3 files (average size = 10MB).
The second one contains AVI files (average size = 1GB). 

To compare performance I repeated above tests with ad8 using UFS2 with soft 
updates.

18GB of MP3 files required 10m35s to copy to UFS2 and 21m40s to copy to ZFS.
30GB of AVI files required 16m6s to copy to UFS2 and 1h2m39s to copy to ZFS.

I used for tests FreeBSD 8.1R amd64. Amount of RAM on my machine is 6GB.

Any tips?

-- 
Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ZFS write speed

2010-10-28 Thread S . N . Grigoriev


28.10.10, 01:54, "Stefan Bethke" :

> Am 27.10.2010 um 22:51 schrieb S.N.Grigoriev:
>  
>  > Hi list,
>  > 
>  > I've got very low write speed using ZFS on a SATA disk.
>  > My HDD configuration is:
>  > ad4: 70911MB  at ata2-master UDMA100 SATA 3Gb/s
>  > ad6: 78532MB  at ata3-master UDMA100 SATA 1.5Gb/s
>  > ad8: 1430799MB  at ata4-master UDMA100 SATA 3Gb/s
>  
>  The EARS has 4k sectors, if I'm not mistaken.  I don't recall the eventual
>  outcome, but there was a long thread on stable or hackers on how to ensure
>  proper alignment and (minimun) 4k-sized writes to make sure the disk doesn't
>  have to do a read-modify-write cycle, so try and search the archives.

Stefan,

thank you for your response. I'll try to find the topic you pointed.

>  > ad4 and ad6 are single-slice disks (UFS2 with soft updates)
>  > 
>  > ZFS configuration is following:
>  > zpool create Z ad8
>  > zfs create Z/music
>  > zfs create Z/video
>  > All ZFS parameters are default.
>  > kern.maxvnodes = 100
>  > 
>  > To test my configuration I recursively copied from ad6 to ad8 two 
> directories.
>  > The first one contains MP3 files (average size = 10MB).
>  > The second one contains AVI files (average size = 1GB). 
>  > 
>  > To compare performance I repeated above tests with ad8 using UFS2 with 
> soft updates.
>  > 
>  > 18GB of MP3 files required 10m35s to copy to UFS2 and 21m40s to copy to 
> ZFS.
>  > 30GB of AVI files required 16m6s to copy to UFS2 and 1h2m39s to copy to 
> ZFS.
>  > 
>  > I used for tests FreeBSD 8.1R amd64. Amount of RAM on my machine is 6GB.
>  > 
>  > Any tips?
>  > 
>  > -- 
  
-- 
Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ZFS write speed

2010-10-29 Thread S . N . Grigoriev


29.10.10, 07:14, "jhell" :

> On 10/28/2010 03:30, S.N.Grigoriev wrote:
>  > 
>  > 
>  > 28.10.10, 01:54, "Stefan Bethke" :
>  > 
>  >> Am 27.10.2010 um 22:51 schrieb S.N.Grigoriev:
>  >>  
>  >>  > Hi list,
>  >>  > 
>  >>  > I've got very low write speed using ZFS on a SATA disk.
>  >>  > My HDD configuration is:
>  >>  > ad4: 70911MB  at ata2-master UDMA100 SATA 3Gb/s
>  >>  > ad6: 78532MB  at ata3-master UDMA100 SATA 1.5Gb/s
>  >>  > ad8: 1430799MB  at ata4-master UDMA100 SATA 3Gb/s
>  >>  
>  >>  The EARS has 4k sectors, if I'm not mistaken.  I don't recall the 
> eventual
>  >>  outcome, but there was a long thread on stable or hackers on how to 
> ensure
>  >>  proper alignment and (minimun) 4k-sized writes to make sure the disk 
> doesn't
>  >>  have to do a read-modify-write cycle, so try and search the archives.
>  
>  Though this might play a small part in your write performance with the
>  EARS drives, this issue has more to do with the stat() calls and the ACL
>  involvement with ZFS. This was sort of solved in 8.1-STABLE and from 3
>  cases that I know about and 1 being my own... write/read speeds have
>  doubled from what can be seen to an effect of 8.1-RELEASE.
>  
>  You may want to either upgrade to stable/8 or use one of the snapshots
>  from here:
>  
>  ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201010/
>  

thank you. I'll be experimenting with STABLE next week.  

-- 
Regards,
S.Grigoriev.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


openjdk6 browser plugin

2009-12-04 Thread S . N . Grigoriev
Hi list,

I've installed openjdk6 from 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/java.
Does this package contain a browser java plugin? I can't find it. Any tips are 
appreciated.

Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: openjdk6 browser plugin

2009-12-05 Thread S . N . Grigoriev


04.12.09, 14:54, "Jung-uk Kim"  wrote:

> On Friday 04 December 2009 02:33 pm, S.N.Grigoriev wrote:
>  > Hi list,
>  >
>  > I've installed openjdk6 from
>  > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/jav
>  >a. Does this package contain a browser java plugin? I can't find it.
>  > Any tips are appreciated.
>  
>  No, OpenJDK does not have a browser plugin.  If Java plugin is all you 
>  need, you can use java/diablo-jre16.
>  

Are there diablo* packages for 8.0R anywhere? There are for 6.x 7.x
on the FreeBSD Foundation site, but not for 8.x.
-- 
Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


sendmail replacement

2010-01-13 Thread S . N . Grigoriev
Hi list,

I would like to know if there is a way to completely
replace the base sendmail with a ports one. The goal
is to have corresponding files on the traditional places
(not in /usr/local) and to use the system sendmail
startup script but not /usr/local/etc/rc.d/sendmail.sh.

-- 
Regards,
S.Grigoriev.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Re: sendmail replacement

2010-01-13 Thread S . N . Grigoriev


13.01.10, 11:32, "Matthew Seaman" :

> S.N.Grigoriev wrote:
>  
>  > I would like to know if there is a way to completely
>  > replace the base sendmail with a ports one. The goal
>  > is to have corresponding files on the traditional places
>  > (not in /usr/local) and to use the system sendmail
>  > startup script but not /usr/local/etc/rc.d/sendmail.sh.
>  
>  That's not the usual approach with sendmail, unlike several other software 
> packages.
>  
>  Because of the existence of mailer.conf(5) you can achieve equivalent 
>  functionality without overwriting the base system sendmail. With the
>  following contents:
>  
>  % cat /etc/mail/mailer.conf 
>  # $FreeBSD: src/etc/mail/mailer.conf,v 1.3.36.1 2009/08/03 08:13:06 kensmith 
> Exp $
>  #
>  # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
>  #
>  sendmail/usr/local/sbin/sendmail
>  send-mail   /usr/local/sbin/sendmail
>  mailq   /usr/local/sbin/sendmail
>  newaliases  /usr/local/sbin/sendmail
>  hoststat/usr/local/sbin/sendmail
>  purgestat   /usr/local/sbin/sendmail
>  
>  all sendmail related commands are mapped onto the ports version of sendmail,
>  installed under LOCALBASE=/usr/local as usual.  These commands are in fact 
>  exactly the same wrapper scripts as used with the system sendmail. With this 
>  setup it is not necessary to use the init script provided by the sendmail 
> port: 
>  simply adding
>  
>  sendmail_enable="YES"
>  
>  to /etc/rc.conf will now cause the ports version of sendmail to be started 
>  using /etc/rc.d/sendmail.  In addition, the following entries in 
> /etc/make.conf 
>  will allow rebuild sendmail configurations and db maps using the Makefile in 
>  /etc/mail:
>  
>  WITH_SENDMAIL_PORT= yes
>  SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
>  MAKEMAP=/usr/local/sbin/makemap
>  
>  Finally, adding 
>  
>  WITHOUT_SENDMAIL=yes 
>  
>  to /etc/src.conf will suppress building sendmail as part of the base system,
>  while still building and installing the mailwrapper commands.
>  
>   Cheers,
>  
>   Matthew
>  
>  

Matthew,

I thank you for your response. All you wrote is quite right.
But it is a general rule not to use in the system two sets
of slightly different programs with duplicating names. It is
a direct way to have problems.

For example, all third party scripts should be revised to check
absolute pathes, program search results becomes depending
of the PATH value, and so on.

It is relatively easy to do such revisions on a small home system.
But a production server with significant amount of third party software
will require a lot of time to do that job.

To my mind it will be better to have an options in the port Makefile
allowing to replace the sendmail files in place.

-- 
Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Re: sendmail replacement

2010-01-13 Thread S . N . Grigoriev


13.01.10, 14:29, "Miroslav Lachman" <000.f...@quip.cz>:

> S.N.Grigoriev wrote:
>  
>  [...]
>  
>  > I thank you for your response. All you wrote is quite right.
>  > But it is a general rule not to use in the system two sets
>  > of slightly different programs with duplicating names. It is
>  > a direct way to have problems.
>  >
>  > For example, all third party scripts should be revised to check
>  > absolute pathes, program search results becomes depending
>  > of the PATH value, and so on.
>  >
>  > It is relatively easy to do such revisions on a small home system.
>  > But a production server with significant amount of third party software
>  > will require a lot of time to do that job.
>  >
>  > To my mind it will be better to have an options in the port Makefile
>  > allowing to replace the sendmail files in place.
>  
>  I fully understand your doubts, but if you are talking about PATH and 
>  the stuff, sendmail from PATH (/usr/sbin/sendmail) is not a real 
>  sendmail, it is symlink to wrapper using settings from 
>  /etc/mail/mailer.conf.
>  No application can be confused.
>  
>  Miroslav Lachman
>  
>  

Miroslav,

absolute paths may be used not ony to start sendmail program but,
for example, to automatically build .mc files from .m4 files in 
/usr/share/sendmail/cf directory. For port sendmail it becomes
/usr/local/share/sendmail/cf
-- 
Regards,
S.Grigoriev.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Re: sendmail replacement

2010-01-13 Thread S . N . Grigoriev


13.01.10, 14:59, "Matthew Seaman" :

>  > absolute paths may be used not ony to start sendmail program but,
>  > for example, to automatically build .mc files from .m4 files in 
>  > /usr/share/sendmail/cf directory. For port sendmail it becomes
>  > /usr/local/share/sendmail/cf
>  
>  Unless you set a couple of variables in /etc/make.conf as I described.
>  
>   Matthew
>  

Matthew,

variables int /etc/make.conf dealt with the make program only. What
about a script which prepares the body of .mc file? It must know
the exact path to the cf directory.

But, OK. I asked if there is a way to automatically replace base
sendmail with ports/mail/sendmail. As I can see the answer is:
no, there is not. It should be done manually.

Thanks,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


HP Smart Array B120i

2012-10-26 Thread S . N . Grigoriev
Hi list,

who can say does FreeBSD 8.x/9.x support HP Smart Array B120i controller?

Thanks,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


How to update ports tree indexes when using svn

2012-12-10 Thread S . N . Grigoriev
Hi list,

after the security announcement 
(http://www.freebsd.org/news/2012-compromise.html) I use svn to update my local 
ports tree. I've found out that the port index is not updated. What is the 
preferred/recommended way to update port indexes when using svn?

Thanks,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: How to update ports tree indexes when using svn

2012-12-10 Thread S . N . Grigoriev

10.12.2012, 18:51, "David Wolfskill" :
> On Mon, Dec 10, 2012 at 06:39:56PM +0400, S.N.Grigoriev wrote:
>
>>  Hi list,
>>
>>  after the security announcement 
>> (http://www.freebsd.org/news/2012-compromise.html) I use svn to update my 
>> local ports tree. I've found out that the port index is not updated. What is 
>> the preferred/recommended way to update port indexes when using svn?
>>  ...
>
> First, I've redirected the list recipient from stable@ to ports@, as
> this has nothing to do with which branch of the OS you're using, and
> everything to do with the Ports collection.
>
> Second, it also has nothing to do with SVN (vs., e.g, CVS): regardless,
> the INDEX is a generated file, and does not come (directly) from the
> repository.
>
> Finally, you can perform "make index" in the ports directory, though
> this tends to be time-consuming.  "make fetchindex" is an alternative,
> but the usefulness of that depends on how recently that INDEX was built.
>
> Peace,
> david
> --
> David H. Wolfskill da...@catwhisker.org
> Taliban: Evil men with guns afraid of truth from a 14-year old girl.
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.

David,

thanks for your detailed explanation. Thanks for all who responded my question.

Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Startup lapic messages

2012-12-18 Thread S . N . Grigoriev
Hi list,

I've installed FreeBSD 9.1R amd64 on a new Intel server.
The following lapic messages appear during system startup:

lapic18: Forcing LINT1 to edge trigger
SMP: AP CPU #2 Launched!
lapic50: Forcing LINT1 to edge trigger
SMP: AP CPU #6 Launched!
lapic20: Forcing LINT1 to edge trigger
SMP: AP CPU #3 Launched!
lapic32: Forcing LINT1 to edge trigger
SMP: AP CPU #4 Launched!
lapic2: Forcing LINT1 to edge trigger
SMP: AP CPU #1 Launched!
lapic34: Forcing LINT1 to edge trigger
SMP: AP CPU #5 Launched!
lapic52: Forcing LINT1 to edge trigger
SMP: AP CPU #7 Launched!

I've never seen such messages in past.
Does it mean I have some hardware problem/misconfiguration?

-- 
Thanks,
Serguey.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


pfi_table_update: cannot set 77 new addresses into table igb0

2016-01-11 Thread S . N . Grigoriev

Hi list,

I've found out a problem on my server running FreeBSD 10.1-RELEASE-p19 (amd64) 
with 76 jails configured. The following message appears during the system 
startup:

pfi_table_update: cannot set 77 new addresses into table igb0: 22

After that some jails have network communication problems. To restore network 
communications I need to restart the pf service from the system console. Remote 
attempts to restart pf freeze network operations at all.

My question is: if there is a system tuning variable which allows to fix my 
problem? 

-- 
Regards,
Serguey.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


firefox compilation problem

2017-10-03 Thread S . N . Grigoriev
Hi list,

I've got the following problem: the firefox building from ports ends with 
errors:

--
x86_64-unknown-freebsd/release/libgkrust.a: could not read symbols: File format 
not recognized
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[7]: *** [/usr/ports/www/firefox/work/firefox-56.0/config/rules.mk:719: 
libxul.so] Error 1
gmake[7]: Leaving directory 
'/usr/ports/www/firefox/work/firefox-56.0/obj-x86_64-unknown-freebsd11.1/toolkit/library'
gmake[6]: *** [/usr/ports/www/firefox/work/firefox-56.0/config/recurse.mk:73: 
toolkit/library/target] Error 2
gmake[6]: Leaving directory 
'/usr/ports/www/firefox/work/firefox-56.0/obj-x86_64-unknown-freebsd11.1'
gmake[5]: *** [/usr/ports/www/firefox/work/firefox-56.0/config/recurse.mk:33: 
compile] Error 2
gmake[5]: Leaving directory 
'/usr/ports/www/firefox/work/firefox-56.0/obj-x86_64-unknown-freebsd11.1'
gmake[4]: *** [/usr/ports/www/firefox/work/firefox-56.0/config/rules.mk:453: 
default] Error 2
gmake[4]: Leaving directory 
'/usr/ports/www/firefox/work/firefox-56.0/obj-x86_64-unknown-freebsd11.1'
gmake[3]: *** [/usr/ports/www/firefox/work/firefox-56.0/client.mk:419: 
realbuild] Error 2
gmake[3]: Leaving directory '/usr/ports/www/firefox/work/firefox-56.0'
gmake[2]: *** [/usr/ports/www/firefox/work/firefox-56.0/client.mk:170: build] 
Error 2
gmake[2]: Leaving directory '/usr/ports/www/firefox/work/firefox-56.0'
*** Error code 1
--

My system is:

FreeBSD 11.1-STABLE #0 r324239: Tue Oct  3 18:10:29 MSK 2017 
root@am:/usr/obj/usr/src/sys/VNET11 amd64

Any tips are appreciated.

-- 
Regards,
S.Grigoriev.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: firefox compilation problem

2017-10-03 Thread S . N . Grigoriev


03.10.2017, 22:13, "Kurt Jaeger" :
> Hi!
>
>>  > I've got the following problem: the firefox building from ports ends with 
>> errors:
>
> [...]
>
> There's a problem report for this:
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641
>

Hi Kurt,

thank you for your response. I can confirm the reference above describes a 
possible solution of my problem.

-- 
Regards,
S.Grigoriev.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"