Re: Acroread7 wierd error

2007-09-27 Thread Boris Samorodov
l/Adobe/Acrobat7.0/ENU/bin/acroread(_Z10readDialogP22ADMCustomDialogMessagePc+0xd5)[0x87eefd5]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_Z18handlePluginCallerPcS_Pv+0x6d)[0x87c9f5d]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(ExpressViewsMain+0x201)[0x865ab61]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(spEdgeCallPlugin+0x18)[0x8660568]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(SPCallPlugin+0xcd)[0x865c11d]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(SPSendMessage+0xc1)[0x865d861]
> /usr/local/Adobe/Acrobat7.0/ENU/Reader/intellinux/SPPlugins/ADMPlugin.apl(_ZN21ADMCustomResourceList18CallCustomResourceEP17ADMCustomResourceP8SPPluginPKclS5_PvS6_S5_+0x13b)[0x2d9f]
> /usr/local/Adobe/Acrobat7.0/ENU/Reader/intellinux/SPPlugins/ADMPlugin.apl(_ZN8ADMSpace16UITWindowAdapter18FindDialogResourceEP8SPPluginlPKcb+0x584)[0x2d98af24]
> /usr/local/Adobe/Acrobat7.0/ENU/Reader/intellinux/SPPlugins/ADMPlugin.apl(_ZN8ADMSpace16UITWindowAdapter21CreateWindowForDialogEP8SPPluginPKcl14ADMDialogStylePFlP17_Opaque_ADMDialogEPvlP10_GtkWidget+0x170)[0x2d988da0]
> /usr/local/Adobe/Acrobat7.0/ENU/Reader/intellinux/SPPlugins/ADMPlugin.apl(_ZN8ADMSpace16UITWindowAdapter5ModalEP8SPPluginPKcl14ADMDialogStylePFlP17_Opaque_ADMDialogEPvlP10_GtkWidget+0x2a)[0x2d988bfa]
> /usr/local/Adobe/Acrobat7.0/ENU/Reader/intellinux/SPPlugins/ADMPlugin.apl(_ZN24ADMUITConversionSuiteImp14ModalUITWindowEP8SPPluginPKcl14ADMDialogStylePFlP17_Opaque_ADMDialogEPvlP10_GtkWidget+0x2a)[0x2d9f378a]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_ZN13BaseADMDialog5ModalIP8_t_AVDocEEiNS_11eDialogTypeEP8SPPluginT_PKci14ADMDialogStylei+0x105)[0x86748a5]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_Z17ADM_DoAlertDialogP16_t_AVAlertParams+0x452)[0x8674102]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(DEFAULTAVAlertWithParams+0x8d)[0x83a607d]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVAlertWithParams+0x22f)[0x83a537f]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_ZN8CAVAlert11IDisplayOldElsP12_t_ASTextRecS1_S1_S1_t+0x76)[0x83a94f6]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_ZN8CAVAlert8IDisplayElsP12_t_ASTextRecS1_S1_S1_t+0x34)[0x83a93f4]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread[0x8495e24]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread[0x8c14155]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(ASEnumExtensions+0x6f)[0x8c13caf]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(ASExtensionMgrInitAllExtensions+0x49)[0x8c14309]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVAppInit+0x138)[0x8496cc8]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppInitUI+0xb6)[0x8369906]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppMain+0x1fb)[0x836937b]
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(main+0x3a)[0x8367daa]
> === Memory map: 


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 "[EMAIL PROTECTED]"


Re: Why Fedora core 4 by defalut and not Fedora 7 or another distribution?

2007-09-28 Thread Boris Samorodov
On Fri, 28 Sep 2007 09:57:35 +0300 Marcel Cuculici wrote:

> Hello everyone, i`m courious why it has been choosed *Fedora core 4* as an
> defalut linux compatibility, and not *Fedora 7* *or 6* in the first place,

A work to switch to a new version is not finished. At -CURRENT you may
try to use linux kernel version 2.6.16.

> and in the second why fc and not or another distro as *Arch*, *Debian*,
> Ubuntu, openSUSE, Mandriva,*Gentoo* etc.

Mostly for historical reasons. At first it was Red Hat. Then Fedora
(sometimes) Core. But you know anyone (maybe you?) may change the
status-quo. ;-)


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 "[EMAIL PROTECTED]"


Re: Installation from Hard Disk

2007-10-02 Thread Boris Samorodov
On Tue, 2 Oct 2007 22:07:43 +0200 a b wrote:


> I want install BSD6.2 from Hard Disk.
> My HD is partitioned in this way:
> on the MBR there is Grub bootloader;
> 2 partition are empty;
> and on the 3rd partition there is Suse 10.1 .
>  
> I already have downloaded the ISO image (two iso), and if is necessary I can 
> uncompressed they in a folder on the HD.
>  
> With linux I can run the "installer" (placed on the HD) with the bootloader.
> Can I do something as this also with BSD6.2??
>  
>  
> This is important for me, I have not CD device or floppy device.

The "Chapter 2 Installing FreeBSD" of the official FreeBSD Handbook
describes all possible variants. The are some for you:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

In case you tried them but got errors, please show those errors and we
will be glad to help you proceed in FreeBSD installing.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SOS linux_base-fc4

2007-10-02 Thread Boris Samorodov
On Mon, 1 Oct 2007 13:33:44 -0300 [EMAIL PROTECTED] wrote:

>  Hi, everybody! My box runs FreeBSD-6.1-R amd64 and I need to print an
> important doc; its driver when uncompressed features i386.rpm files and

Did you mean a printer's driver?

> linux_base-fc4  is not at /usr/ports/emulators..

>  What should I do? Shall I have to update all the OS in order to setup
> "linux_base-fc4 or shall I have to upgrade by using another command?

A good start to understand FreeBSD is to read it's oficial
Handbook. Your question has nothing to do with linux_base. And
questions like "What is the ports system? How to get a FreeBSD ports
tree? How to install an application from ports or via packages?" are
described at "The Handbook". Ex.:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

> Yesterday, I run CVSUP and I followed all the steps to upgrade FreeBSD
> but...linux_base-fc4  was not  at /usr/ports/emulators!

Which supfile did you use? If you used the one for ports (not for the
system files) you should get /usr/ports tree.

Please read the above mentioned document. After reading you will
understand that there are options (i.e. installing via port or
packages) and how to do them. If you have a more concrete question
(with logs, error messages etc.) you are welcome back and we'll be
glad to help you.

BTW good docs have been always an advantage of *BSD...


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: good replacement for open office

2007-10-04 Thread Boris Samorodov
On Thu, 4 Oct 2007 20:39:39 + Aryeh Friedman wrote:

> Open office does not compile on 7-current amd64 what would be a good

editors/openoffice.org-2 does compile at 7-current amd64.

> replacement(s) for most of it's functionality (word processing and
> spreadsheets are what matter to me)


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: good replacement for open office

2007-10-04 Thread Boris Samorodov
Please, don't top-post.

On Thu, 4 Oct 2007 21:00:03 + Aryeh Friedman wrote:
> On 10/4/07, Boris Samorodov <[EMAIL PROTECTED]> wrote:
> > On Thu, 4 Oct 2007 20:39:39 + Aryeh Friedman wrote:
> >
> > > Open office does not compile on 7-current amd64 what would be a good
> >
> > editors/openoffice.org-2 does compile at 7-current amd64.
> >
> > > replacement(s) for most of it's functionality (word processing and
> > > spreadsheets are what matter to me)

> since when... tried it last week and nothing

Are you kidding? If you show the error message then someone may
comment on it. So far your statements are not convincing.

Here is the relevant part of my log:

-
building openoffice.org-2.3.0 in directory /usr/local/tinderbox/7-amd64-bsam
maintained by: [EMAIL PROTECTED]
port directory: /usr/ports/editors/openoffice.org-2
build started at Sat Sep 29 18:10:38 UTC 2007
[...]
===> SECURITY REPORT: 
  This port has installed the following files which may act as network
  servers and may therefore pose a remote security risk to the system.
/usr/local/openoffice.org-2.3.0/program/python-core-2.3.4/lib/lib-dynload/_socket.so
/usr/local/openoffice.org-2.3.0/program/libucpdav1.so
/usr/local/openoffice.org-2.3.0/program/libcurl.so.3.0.0
/usr/local/openoffice.org-2.3.0/program/libuno_sal.so.3

  If there are vulnerabilities in these programs there may be a security
  risk to the system. FreeBSD makes no guarantee about the security of
  ports included in the Ports Collection. Please type 'make deinstall'
  to deinstall the port if this is a concern.

  For more information, and contact details about the security
  status of this software, see the following webpage: 
http://www.openoffice.org/


[...]
build of /usr/ports/editors/openoffice.org-2 ended at Sun Sep 30 01:25:22 UTC 
2007
-

If you need a full log I may give an URL but beware it's more 50MB
long...


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade SOS

2007-10-04 Thread Boris Samorodov
On Thu, 4 Oct 2007 18:35:37 -0300 [EMAIL PROTECTED] wrote:

>Dear Sirs

Hello dear FreeBSD user

>After I had cvsuped FreeBSD-6.1-R amd64 I tried to portupgrade it but

Have you got a chance to read/answer/etc
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=17845+0+current/freebsd-emulation ?

> I got the following mssg:
> cd: can't cd to  /usr/ports/sysutils/portupgrade
> cd: can't cd to  /usr/ports/net/openldap22-client
> cd: can't cd to  /usr/ports/x11/xorg-manpages
> -->Upgrading 'gsfonts-8.11_2 to gsfonts-8.11_4' (print gsfonts)
> -->Building '/usr/ports/print/gsfonts'
> On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
> by itself so please help it a bit by setting X11BASE=$(LOCALBASE) in
> make.conf. On the other hand, if you do wish to use non-default X11BASE,
> please set variables USE_NONDEFAULT_X11BASE.
> ***Error code 1

> >> Such message repeats to many other packages to be upgraded. I tried to
> add the said parameters on the message in  /etc/make.conf  but the error
> lingers on


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Jails and freebsd-update

2007-10-08 Thread Boris Samorodov
On Sun, 07 Oct 2007 18:13:34 -0400 Vinny wrote:

> I'm setting up a server for mail and web.  I want to
> put each in their own jail on a host system.  I have installed
> 6.2-Release on the host and successfully used freebsd-update
> to grab up to -p8.  So far so good.

> Now, I was going to install the jails using the standard
> way (man jail):

> JAIL=/path/to/jail
> cd /usr/src
> mkdir -p $JAIL
> make world DESTDIR=$JAIL
> make distribution DESTDIR=$JAIL

> and so forth.

> But then it occurred to me that freebsd-update says
> it only works on installations that haven't been
> built from source.

> My question then is how can I use freebsd-update with
> jails?

> Thanks for any help.

Seems that you are looking for sysutils/ezjail.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: best way to update ports

2007-10-11 Thread Boris Samorodov
On Thu, 11 Oct 2007 01:33:43 -0400 Bill Stwalley wrote:

> I need your advice on how to update security patches for ports on a dozen
> servers with minimal efforts.

> As I gathered, I should run portaudit in cron jobs and then manually update
> the ports with vulnerabilities after reading UPDATING.  Is this the best
> way?  Is this manual way feasible for managing a dozen servers?

> I used to run portupgrade in cron jobs, but that created too much
> nightmare.  For example, imap-uw broke for a few days recently.

> Someone recommended
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html .
> It's great for maintaining machines with identical ports installed, but not
> good when ports are installed with different options on different servers.

You may be interested in ports-mgmt/tinderbox. It let you package
ports for different FreeBSD versions (jails in terms of tinderbox)
and for different portstrees and options at a single machine.

Then you may do a "portupgrade -PP" for the needed 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 "[EMAIL PROTECTED]"


Re: Howto: Prepare USB key with FreeDOS using FreeBSD

2007-10-13 Thread Boris Samorodov
On Fri, 12 Oct 2007 18:35:08 +0200 O. Hartmann wrote:

> Well, I have a bunch of TYAN S2925B based boxes, all without floppy
> drives. For BIOS flash preparation I need an installation media and
> due to the fact I do not have a Windows XP box or FreeDOS box I need
> my laptop for creation of a bootable USB key media with the
> appropriate BIOS flash images and flashing tools.
> It seems to be a desaster. Every Wiki I visited looking for the
> subject referes to Gentoo/FreeDOS or highly complicated voodoo
> sessions installing first some files on floppy drive and the creating
> a bootable USB key ... blabla.
> Sorry, but I do not have FreeDOS running nor do I have Linux/Gentoo or
> Windows XP, I run FreeBSD on all of my machines. But in the age of
> legacy free computers, were floppy drives seems to be not essential
> anymore I run into massif problems having a legacy free server from
> TYAN without the ability taking any BIOS images from an USB key :-(
> The problem is I picked up some memory issues which have been solved
> with one of the newer BIOS images so I desperately need an update
> solution.

> Does anyone do have an idea?

It is not an answer to your question. It's just how I do
it. Limitation: I use only PXE-capable cards.

1. Set up a dhcp server. In my case all servers are located at one
   hardware server.
2. Set up a tftp server.
3. Use pxelinux [1] to boot the needed binary.

1. Dhcp config (partial):
-
host temp1 {
  hardware ethernet ;
  fixed-address ;
  filename "pxelinux.0";
  server-name "booting.domain.com";
  next-server booting.domain.com;
  option host-name "temp1.domain.com";
}
-


[1] http://syslinux.zytor.com/pxe.php


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Howto: Prepare USB key with FreeDOS using FreeBSD

2007-10-13 Thread Boris Samorodov
On Fri, 12 Oct 2007 18:35:08 +0200 O. Hartmann wrote:

> Well, I have a bunch of TYAN S2925B based boxes, all without floppy
> drives. For BIOS flash preparation I need an installation media and
> due to the fact I do not have a Windows XP box or FreeDOS box I need
> my laptop for creation of a bootable USB key media with the
> appropriate BIOS flash images and flashing tools.
> It seems to be a desaster. Every Wiki I visited looking for the
> subject referes to Gentoo/FreeDOS or highly complicated voodoo
> sessions installing first some files on floppy drive and the creating
> a bootable USB key ... blabla.
> Sorry, but I do not have FreeDOS running nor do I have Linux/Gentoo or
> Windows XP, I run FreeBSD on all of my machines. But in the age of
> legacy free computers, were floppy drives seems to be not essential
> anymore I run into massif problems having a legacy free server from
> TYAN without the ability taking any BIOS images from an USB key :-(
> The problem is I picked up some memory issues which have been solved
> with one of the newer BIOS images so I desperately need an update
> solution.

> Does anyone do have an idea?

It is not an answer to your question. It's just how I do
it. 

1. Set up a dhcp server. In my case all servers are located at one
   hardware server.
2. Set up a tftp server.
3. Use pxelinux [1] to boot the needed binary.

1. Dhcp config (partial):
-
host temp1 {
  hardware ethernet ;
  fixed-address ;
  filename "pxelinux.0";
  server-name "booting.domain.com";
  next-server booting.domain.com;
  option host-name "temp1.domain.com";
}
-

2. /tftpboot directory contains

. a directory "pxelinux.cfg" with the config file "default"
(partially):
-
default memtest
prompt 5
timeout 30

label memtest
  kernel memtest86+-1.70

label 3ware
  kernel memdisk
  append initrd=3WARE-FLASH-9.4.0.1.DOS

label ep
  kernel memdisk
  append initrd=EP-9HEAI.DOS

label freebsd7
  kernel pxeboot.0
-

. file "pxelinux.0" [1];
. file "memdisk" [2] needed to load floppies with DOS images;
. file "memtest86+-1.70" is an image of memtest floppy, good for
  testing new hardware;
. file "3WARE-FLASH-9.4.0.1.DOS" is an image of DOS floppy with 3WARE
  updates;
. file "EP-9HEAI.DOS" is an image of DOS floppy with flasher for the
  EP-9HEAI motherboard;
. file "pxeboot.0" (renamed from pxeboot since pxelinux need it) is a
  real pxeboot to boot FreeBSD.

One can choose what to boot while PXE-booting (use a label from the
config file).

I use one of those free DOS available at internet. To create the
needed image:
-
# mdconfig -a -t vnode -f  -u 0
# mount -t msdosfs /dev/md0 /mnt
-

Then copy the needed files to /mnt. Don't forget to do:
-
# umount /mnt
# mdconfig -d -u 0
-

That's it, here is a floppy image one can boot via PXE.

Limitations:
1. I use only PXE-capable network cards.
2. An old flash image cannot be saved.


[1] http://syslinux.zytor.com/pxe.php
[2] http://syslinux.zytor.com/memdisk.php


WBR and HTH
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Howto: Prepare USB key with FreeDOS using FreeBSD

2007-10-13 Thread Boris Samorodov
Sorry for the first email, it was sent by an accident.

WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Error when launch realplay and flashplugins

2007-10-13 Thread Boris Samorodov
On Sat, 13 Oct 2007 22:47:05 +0800 ronggui wrote:

> > realplay
> /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
> libraries: /usr/lib/libstdc++.so.5: ELF file OS ABI invalid

> What does the above msg mena ? What's the cause of such an problem? and what
> I should do?

Please show the output of commands "uname -a", "locate libstdc++.so.5",
"pkg_info | grep linux", "sysctl -a | grep linux".

> > nspluginwrapper -a -i -v
> /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading
> shared libraries: libfreetype.so.6: cannot open shared object file: No such
> file or directory
> /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading
> shared libraries: libfreetype.so.6: cannot open shared object file: No such
> file or directory
> /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading
> shared libraries: libfreetype.so.6: cannot open shared object file: No such
> file or directory

> What packages should I install to get the libfreetype.so.6? Thanks.

-
srv% locate libfreetype.so.6   
/usr/compat/linux/usr/lib/libfreetype.so.6
/usr/compat/linux/usr/lib/libfreetype.so.6.3.7
srv% pkg_info -W /compat/linux/usr/lib/libfreetype.so.6
/compat/linux/usr/lib/libfreetype.so.6 was installed by package 
linux_base-fc-4_9
-

Did you enable linux support (i.e. "kldload linux")?


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-19 Thread Boris Samorodov
On Fri, 19 Oct 2007 17:04:22 -0500 Doug Poland wrote:
> Erik Trulsson wrote:
> > On Fri, Oct 19, 2007 at 03:57:08PM -0500, Doug Poland wrote:
> >> Hello,
> >>
> >> I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on
> >> i386 and I was wondering what the recommendation is for ports.
> >> Specifically, is it necessary to rebuild all ports?
> >>
> >> So far, I haven't rebuilt any ports and haven't had any problems...
> >
> > It is not strictly necessary to rebuild all ports, but I would recommend it
> > and if you start to install any new ports then you should rebuild all the
> > old ones first.
> >
> > Having some ports linked against 6.x libraries while some are linked
> > against 7.x libraries can very easily lead to problems.
> > (If one of your old ports (linked against 6.x libraries) provides some
> > library which is used by one of the new ports (using 7.x libraries) then the
> > new port can end up using two version of the same system library - both the
> > 6.x version and the 7.x version.  This will almost certainly not work
> > correctly.)
> >
> Thank you for the info, I think I'll rebuild my ports.  I imagine I
> could then use

> # portsclean --libclean

Shouldn't it remove only libraries from ports?

> to get rid of those 6.x libraries and have a nice *clean* system.

If you want to get a clean system and to get rid of 6.x libraries from
base system you may be interested in "make delete-old[-libs|-dirs]" at
/usr/src. More info at /usr/src/UPDATING and /usr/src/Makefile.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PPPoE config FreeBSD. Need help

2007-10-20 Thread Boris Samorodov
On Sat, 20 Oct 2007 10:00:27 +0500 Babek Ismayilov wrote:

> i need to configure PPPoE in FreeBSD 6.2.

> I tested but it didn't work out. I'm want to show you the result of the
> command:

> web# ppp
> Working in interactive mode
> Using interface: tun0
> ppp ON web> dial Internet
> ppp ON web> ping box.az
> Warning: ping: Invalid command
> Warning: ping: Failed 1
> ppp ON web>
> ppp ON web> pppd
> Warning: pppd: Invalid command
> Warning: pppd: Failed 1
> ppp ON web> quit
> web# pppd

There is a very good diagnostic file /var/log/ppp.log . You may
populate it by the needed info. (Hint: man ppp)

> Here is rc.conf


> rc.conf


> # -- sysinstall generated deltas -- # Fri Oct 19 16:25:38 2007
> # Created: Fri Oct 19 16:25:38 2007
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> #defaultrouter="172.16.200.1"
> hostname="web.pronet"
> ifconfig_rl0="inet 172.16.200.201 netmask 255.255.255.0"
> inetd_enable="YES"
> linux_enable="YES"
> sshd_enable="YES"
> usbd_enable="YES"
> ppp_interface="rl1"
> ppp_enable="YES"
> ppp_mode="ddial"
> ppp_nat="NO"
> ppp_profile="primus"
> network_interfaces="rl1 lo0"
> ifconfig_rl1="inet 10.0.0.1 netmask 255.255.255.0"

Where did you get info for rl0, rl1 interface?
Why did you disable rl0 interface with "network_interfaces="?
(Hint: there is no need for _PPPoE_ in any those ip-addresses)

> ppp.conf

Is it a copy-n-paste problem that you don't have a space before
commands? I.e.:
-
default:
 set log Phase Chat LCP IPCP CCP tun command
-

> #
> # PPP Sample Configuration File
> # Originally written by Toshiharu OHNO
> # Simplified 5/14/1999 by [EMAIL PROTECTED]
> #
> # See /usr/share/examples/ppp/ for some examples
> #
> # $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $
> #

> default:
> set log Phase Chat LCP IPCP CCP tun command
> ident user-ppp VERSION (built COMPILATIONDATE)

> # Ensure that "device" references the correct serial port
> # for your modem. (cuad0 = COM1, cuad1 = COM2)
> #
> set device PPPoE:rl1

> set speed 115200
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
> \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
> set timeout 180 # 3 minute idle timer (the default)
> enable dns # request DNS info (for resolv.conf)

> papchap:
> #
> # edit the next three lines and replace the items in caps with
> # the values which have been assigned by your ISP.
> #

> primus:

> set authname pronet
> set authkey 3060683

> set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
> add default HISADDR # Add a (sticky) default route


> added there lines to GENERIC:

The needed modules should have been loaded automagically.

> # Enables PPPoE
>   options NETGRAPH
>   options NETGRAPH_SOCKET
>   options NETGRAPH_PPPOE

> But still didnt work out.


> Please give some advice.

Please take a look at /usr/share/examples/ppp.conf.sample. There is a
good example. Just two labels and a some ten commands. Insert your
values and get your PPPoE.


HTH and WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: evil idea

2007-10-29 Thread Boris Samorodov
On Sat, 27 Oct 2007 21:49:46 -0400 mv wrote:

> Would installing Freebsd i386 within a jail on an amd64 host solve his 
> problem?

> I have been running amd64 since it was first released and am quite pleased 
> with its performance and stability.   However, as a desktop there are still a 
> number of programs that are only available on i386 and for a number of 
> reasons I would prefer to run them within a jail.  I've searched the Internet 
> and have not found anybody who has done it.

> My guess is that running a i386 program within a jail would run faster and 
> perhaps be more stable than running the same program within qemu.

> Any tips on desirability, feasibility or how to do it would be greatly 
> appreciated.

You may be interested in:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=373449+0+archive/2007/freebsd-current/20070923.freebsd-current


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i keep getting this when i buildkernel on 7.0 beta 1.5...

2007-11-02 Thread Boris Samorodov
On Thu, 1 Nov 2007 20:20:10 -0500 Jonathan Horne wrote:

> awk -f /usr/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld  
> export_syms | xargs -J% objcopy % zlib.kld
> ld -Bshareable  -d -warn-common -o zlib.ko.debug zlib.kld
> objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols
> objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug 
> zlib.ko
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> [EMAIL PROTECTED] /usr/src]#


> anyone able to tell me wha to do?

Remove a "-j" option from the make command and get a real error
message.


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 "[EMAIL PROTECTED]"


Re: i keep getting this when i buildkernel on 7.0 beta 1.5...

2007-11-02 Thread Boris Samorodov
On Fri, 02 Nov 2007 09:16:30 -0500 Jonathan Horne wrote:

> Quoting Boris Samorodov <[EMAIL PROTECTED]>:

> > On Thu, 1 Nov 2007 20:20:10 -0500 Jonathan Horne wrote:
> >
> >> awk -f /usr/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld
> >> export_syms | xargs -J% objcopy % zlib.kld
> >> ld -Bshareable  -d -warn-common -o zlib.ko.debug zlib.kld
> >> objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols
> >> objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug
> >> zlib.ko
> >> 1 error
> >> *** Error code 2
> >> 1 error
> >> *** Error code 2
> >> 1 error
> >> [EMAIL PROTECTED] /usr/src]#
> >
> >
> >> anyone able to tell me wha to do?
> >
> > Remove a "-j" option from the make command and get a real error
> > message.
> >
> >
> > 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 "[EMAIL PROTECTED]"
> >

> without the -j, this is where i appear to be hanging up:

> uipc_syscalls.o(.text+0x3c1): In function `sctp_generic_recvmsg':
> /usr/src/sys/kern/uipc_syscalls.c:2600: undefined reference to
> sctp_sorecvmsg'
> uipc_syscalls.o(.text+0x21a2): In function `sctp_generic_sendmsg_iov':
> /usr/src/sys/kern/uipc_syscalls.c:2478: undefined reference to
> sctp_lower_sosend'
> uipc_syscalls.o(.text+0x249d): In function `sctp_generic_sendmsg':
> /usr/src/sys/kern/uipc_syscalls.c:2371: undefined reference to
> sctp_lower_sosend'
> uipc_syscalls.o(.text+0x266c): In function `sctp_peeloff':
> /usr/src/sys/kern/uipc_syscalls.c:2238: undefined reference to
> sctp_can_peel_off'
> uipc_syscalls.o(.text+0x28e6):/usr/src/sys/kern/uipc_syscalls.c:2279:
> undefined reference to `sctp_do_peeloff'
> rtsock.o(.text+0xb7d): In function `rt_newaddrmsg':
> /usr/src/sys/net/rtsock.c:897: undefined reference to `sctp_addr_change'
> in_proto.o(.data+0xa8): undefined reference to `sctp_input'
> in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput'
> in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput'
> in_proto.o(.data+0xbc): undefined reference to `sctp_init'
> in_proto.o(.data+0xc8): undefined reference to `sctp_drain'
> in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs'
> in_proto.o(.data+0xdc): undefined reference to `sctp_input'
> in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput'
> in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput'
> in_proto.o(.data+0xfc): undefined reference to `sctp_drain'
> in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs'
> in_proto.o(.data+0x110): undefined reference to `sctp_input'
> in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput'
> in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput'
> in_proto.o(.data+0x130): undefined reference to `sctp_drain'
> in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs'
> *** Error code 1

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

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

> Stop in /usr/src.

> anything i can do to get around that?  the only thing in my kernel
> config that differs from GENERIC, is the removal of the INET6 line,

>From /sys/conf/NOTES:
-
# SCTP is a NEW transport protocol defined by
# RFC2960 updated by RFC3309 and RFC3758.. and
# soon to have a new base RFC and many many more
# extensions. This release supports all the extensions
# including many drafts (most about to become RFC's).
# It is the premeier SCTP implementation in the NET
# and is quite well tested.
#
# Note YOU MUST have both INET and INET6 defined.
# you don't have to enable V6, but SCTP is 
# dual stacked and so far we have not teased apart
# the V6 and V4.. since an association can span
# both a V6 and V4 address at the SAME time :-)
-

> and addition of 'options SMP' (and, the ident).


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 "[EMAIL PROTECTED]"


Re: fsck and memory filesytems (fsck_mfs: No such file or directory)

2007-11-05 Thread Boris Samorodov
On Mon, 05 Nov 2007 17:00:06 + Christopher Key wrote:

> I recently had a powercut to my FreeBSD home server, and I'm now
> getting the following messages at startup:

> Starting file system checks:
> /dev/ad8s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad8s1a: clean, 466797 free (2837 frags, 57995 blocks, 0.6%
> fragmentation)
> fsck: exec fsck_mfs for md in /sbin:/usr/sbin: No such file or directory
> fsck: exec fsck_mfs for md in /sbin:/usr/sbin: No such file or directory
> /dev/ad8s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad8s1f: clean, 214294022 free (173430 frags, 26765074 blocks,
> 0.1% fragmentation)
> /dev/mirror/gm0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/mirror/gm0s1d: clean, 16121593 free (1441 frags, 2015019 blocks,
> 0.0% fragmentation)
> /dev/mirror/gm0s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/mirror/gm0s2d: clean, 63140067 free (4187 frags, 7891985 blocks,
> 0.0% fragmentation)
> /dev/ad8s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad8s1e: clean, 8049657 free (1169 frags, 1006061 blocks, 0.0%
> fragmentation)
> /dev/mirror/gm0s3d: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/mirror/gm0s3d: clean, 84638779 free (1779 frags, 10579625 blocks,
> 0.0% fragmentation)
> /dev/ad8s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad8s1d: clean, 6625471 free (47 frags, 828178 blocks, 0.0%
> fragmentation)
> THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
>mfs: md (/tmp)
> Unknown error; help!
> NEnter full pathname of shell or RETURN for /bin/sh:


> The problem is, I'm sure, is essentially identical to that described in,

> http://www.mail-archive.com/[EMAIL PROTECTED]/msg21675.html

> namely that the entry for the memory filesystem, /tmp, in /etc/fstab
> is confusing fsck.  My /etc/fstab looks like,

> # cat /etc/fstab
> # DeviceMountpoint  FStype  Options Dump
> Pass#
> /dev/ad8s1b noneswapsw  0   0
> /dev/ad8s1a /   ufs rw  1   1
> md  /tmpmfs rw,-s64m
> 2  2
^^^ [1]

> /dev/ad8s1f /usrufs rw  2   2
> /dev/ad8s1e /varufs rw  2   2
> /dev/ad8s1d /var/tmpufs rw  3   3
 ^^ [2]
> /dev/mirror/gm0s1d  /svnufs rw  2   2
> /dev/mirror/gm0s2d  /data   ufs rw  2   2
> /dev/mirror/gm0s3d  /music  ufs rw  2   2

> I can get the system to boot quite happily by carrying on into single
> user mode and exiting, but I still get the same behaviour next reboot.

> Does anyone have any suggestions?

[1] According to man(5) fstab:
-
 The sixth field, (fs_passno), is used by the fsck(8) program to determine
 the order in which file system checks are done at reboot time.  The root
 file system should be specified with a fs_passno of 1, and other file
 systems should have a fs_passno of 2.  File systems within a drive will
 be checked sequentially, but file systems on different drives will be
 checked at the same time to utilize parallelism available in the hard-
 ware.  If the sixth field is not present or is zero, a value of zero is
 returned and fsck(8) will assume that the file system does not need to be
 checked.
-

Seems that you need to use "0" istead of "2". I'd say the same for the
fifth field here.

BTW, I can't find what does [2] mean (the values "3" here)...


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 "[EMAIL PROTECTED]"


Re: fsck and memory filesytems (fsck_mfs: No such file or directory)

2007-11-05 Thread Boris Samorodov
On Mon, 05 Nov 2007 18:54:31 + Christopher Key wrote:
> Boris Samorodov wrote:
> > On Mon, 05 Nov 2007 17:00:06 + Christopher Key wrote:
> >
> >> # cat /etc/fstab
> >> # DeviceMountpoint  FStype  Options Dump
> >> Pass#
> >> /dev/ad8s1b noneswapsw  0   0
> >> /dev/ad8s1a /   ufs rw  1   1
> >> md  /tmpmfs rw,-s64m
> >> 2  2
> >> 
> > ^^^ [1]
> >
> >   
> >> /dev/ad8s1f /usrufs rw  2   2
> >> /dev/ad8s1e /varufs rw  2   2
> >> /dev/ad8s1d /var/tmpufs rw  3   3
> >> 
> >  ^^ 
> > [2]
> >   
> >> /dev/mirror/gm0s1d  /svnufs rw  2   2
> >> /dev/mirror/gm0s2d  /data   ufs rw  2   2
> >> /dev/mirror/gm0s3d  /music  ufs rw  2   2
> >   
> >> I can get the system to boot quite happily by carrying on into single
> >> user mode and exiting, but I still get the same behaviour next reboot.
> >   
> >> Does anyone have any suggestions?
> >
> > [1] According to man(5) fstab:
> > -
> >  The sixth field, (fs_passno), is used by the fsck(8) program to 
> > determine
> >  the order in which file system checks are done at reboot time.  The 
> > root
> >  file system should be specified with a fs_passno of 1, and other file
> >  systems should have a fs_passno of 2.  File systems within a drive will

> >  be checked sequentially, but file systems on different drives will be
 ^^^  [*]
> >  checked at the same time to utilize parallelism available in the hard-
> >  ware.  If the sixth field is not present or is zero, a value of zero is
> >  returned and fsck(8) will assume that the file system does not need to 
> > be
> >  checked.
> > -
> >
> > Seems that you need to use "0" istead of "2". I'd say the same for the
> > fifth field here.
> >
> > BTW, I can't find what does [2] mean (the values "3" here)...
> >   
> Thanks Boris, Daniel,

> Setting the pass# to 0 for /tmp worked perfectly.

> The reason for having a pass# of 3 for /var/tmp was, to put it
> succinctly, because it was mounted within a filesystem with a pass# of
> 2.

> My understanding was that the fsck didn't start to check a filesystem
> with a pass# of n+1 until it had successfully checked all those with a
> pass# of n.  I expected that you would always want to make sure that,
> before checking some filesystem, you ensured that its mount point was
> valid first, and hence gave it a greater pass# that the filesystem in
> which it gets mounted.  Hence / having a pass# of 1, and /usr/ var etc
> having a pass# of 2.

> If anyone knows otherwise, I'd appreciate the correction.

Let me point to the same lines of man(5) fstab. Please look at [*].
Sequentally (as one writes at a /etc/fstab file) within a drive, just
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 "[EMAIL PROTECTED]"


Re: Help:Install RPMS on FreeBSD 6.2

2007-11-09 Thread Boris Samorodov
Hello Beyondran,


On Fri, 9 Nov 2007 21:52:57 +0800 冉俊秀 wrote:

> Hello,I have just install rpm-3.0.6 via /usr/ports/archivers/rpm.
> And I get some ERROR like below when trying to install
> libc5compat-1.0-5.i586.rpm  via rpm.

> host# /usr/local/bin/rpm -Uvh libc5compat-1.0-5.i586.rpm

> error: failed dependencies:
>  /bin/sh   is needed by libc5compat-1.0-5
>  /sbin/ldconfigis needed by libc5compat-1.0-5

> But I can find  /bin/sh  and  /sbin/ldconfig on my FreeBSD 6.2.
> How can I solve this problem,could anyone help me.
> Many thanks.

The main idea is routher simple:
# rpm2cpio < the_package.rpm | cpio -id --quiet

That's it. Mind some tips though:
. better to use /compat/linux as a directory prefix;
. linux binaries (not libraries!) should be branded (man(1) brandelf);
. we use only i386.rpm packages (not i586.rpm);
. it's always better to create a port, submit and use it. ;-)

For some references you may look at /usr/ports/Mk/bsd.linux-rpm.mk
and linux ports (ex. /usr/ports/audio/linux-*,
/usr/ports/graphics/linux-*).


HTH and 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 "[EMAIL PROTECTED]"


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-09 Thread Boris Samorodov
On Fri, 9 Nov 2007 17:08:12 -0500 Philip M. Gollucci wrote:
> Philip M. Gollucci wrote:
> > John wrote:
> >> I've been struggling to get a handle on the FreeBSD system.  Making good
> >> progress, but then I ran into the fact that Firefox on FreeBSD can't do
> >> flash.  Definite showstopper, for me.  Ok, then I tried to use the
> >> linuxpluginwrapper approach, and it didn't work.
> >>
> >> It made me recall, in reading up on FreeBSD, I did see where somebody
> >> installed both Firefox and Linx-firefox.
> >>
> >> So before I do battle with this Linux wrapper approach, I wondered if I
> >> would be better off simply installing the Linux-firefox?
> >>
> >> Is that easier?  More likely to work?
> > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-07/msg01919.html
> > cd /usr/ports/emulators/linux_base-fc6 ; make install clean

> There is now:
> cd /usr/ports/emulators/linux_base-f7 ; make install clean
> which you should use instead -- its newer :)

And please keep an eye at /usr/ports/UPDATING (about linux_base
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 "[EMAIL PROTECTED]"


Re: who wrote this

2007-11-26 Thread Boris Samorodov
On Sun, 25 Nov 2007 15:23:56 -0600 eBoundHost: Artur wrote:

> All I have to say is WTF is wrong with whomever wrote this page.
> http://www.freebsd.org/internal/fortunes.html
> ==
> >> Examples of entries that should not usually be declared 'offensive':
> >> * Hitler quotes.
> ==
> Ok I understand that some moron wrote it, but why has nobody removed
> this garbage?

Hm, I'm astonished. I've never seen that page before...

English is not my native language and I may not understand all nuances
though. Does that phrase mean "Hitler quotes are not usually be
declared 'offensive'"? For me that means that there some (and very
little) his quotes that should be treated as 'offensive'.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: who wrote this

2007-11-26 Thread Boris Samorodov
On Mon, 26 Nov 2007 09:30:16 -0500 DAve wrote:
> Boris Samorodov wrote:

> > English is not my native language and I may not understand all nuances
> > though. Does that phrase mean "Hitler quotes are not usually be
> > declared 'offensive'"? For me that means that there some (and very
> > little) his quotes that should be treated as 'offensive'.

> I read the page as instruction to be attentive to content *and* context.

So you agreed that the page about Fortune File Commit Policy is not
complete. Good.

> The who matters little in comparison to the what. Fascinating to me that
> things like the logo and that page can generate so much list mail.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [OT] who wrote this

2007-11-26 Thread Boris Samorodov
On Mon, 26 Nov 2007 18:02:53 + neal wrote:

> You want the name 'Hitler' erased from existence.

Let the name exist.
Else where but the official FreeBSD site.
Let this OS be out of politics.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: who wrote this

2007-11-29 Thread Boris Samorodov
On Mon, 26 Nov 2007 12:26:11 -0500 Jerry McAllister wrote:

> the hitler example remain with it because it establishes 
> a very strong case-in-point example.

Yep, shoot someone and then say -- hey, that's the best example of
what shouldn't be done!


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 "[EMAIL PROTECTED]"


Re: who wrote this

2007-11-29 Thread Boris Samorodov
On Mon, 26 Nov 2007 22:14:30 -0800 Ted Mittelstaedt wrote:

> Fundamentally, you have to be educated to understand it.  FreeBSD
> is first and formost, for the educated computer user.

Ted, you may exchange famous Hitler's quotes with your highly educated
friends, laugh at Hirosima's anecdotes with your highly educated
japanese friends, etc. But every educated person should understand
what may be done privately and what should be done publicly. Let's
have enough tact not to bother very sensitive history at the
official FreeBSD site.


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 "[EMAIL PROTECTED]"


Re: who wrote this

2007-11-29 Thread Boris Samorodov
On Fri, 30 Nov 2007 15:37:24 +0800 Erich Dollansky wrote:

> sensorship starts in the mind of the people.

True. That's why:
http://www.freebsd.org/cgi/query-pr.cgi?pr=www/118284


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 "[EMAIL PROTECTED]"


Re: (no subject)

2007-12-13 Thread Boris Samorodov
On Wed, 12 Dec 2007 16:13:12 -0800 Bin Cheng wrote:

> System can't boot from 7.0-BETA4-i386-bootonly cd-rom. I downloaded

Are you sure you want to bbot from -bootonly CD?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html#AEN3258

How did you burn the CD? The common error for Windows users is to
write the downloaded image as an ordinary file while it's an iso image.
Do you have/had other OSes installed at this hardware?
Do you check if BIOS is trying to use a CD to install?

> 7.0-BETA4-i386-bootonly, 7.0- BETA4-i386-disc1 and 7.0-BETA4-i386-disc2
> first then burn it on the cd-rom. Any idea? Please let me know.

Please show any display/console output you see while booting (and
maybe an error message) and we'll be glad to help you. A breaf
description of your hardware (motherboard/chipset/memory/CD DRIVE/etc)
may also give us some tips.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Jailing net/skype

2008-09-14 Thread Boris Samorodov
Tobias Rehbein <[EMAIL PROTECTED]> writes:

>   #kdump -f ktrace.out | head
>   84180 skypeCALL  access(0x292b2b61,R_OK)
>   84180 skypeNAMI  "/compat/linux/etc/ld.so.preload"
>   84180 skypeNAMI  "/etc/ld.so.preload"
>   84180 skypeRET   access JUSTRETURN
>   84180 skypeCALL  open(0x292b2d49,O_RDONLY,0)
>   84180 skypeNAMI  "/compat/linux/etc/ld.so.cache"
>   84180 skypeNAMI  "/compat/linux"
>   84180 skypeNAMI  "/compat/linux/etc/ld.so.cache"
>   84180 skypeRET   open 3
>   84180 skypeCALL  
> freebsd6_mmap(0x3,0xbfbfe324,690704336,MAP_SHARED|MAP_PRIVATE|MAP_RENAME|MAP_NORESERVE|MAP_HASSEMAPHORE|MAP_STACK|MAP_NOSYNC,0x2e6f732e,0x68636163,0x646165,0,0,0,0,0,0,0,0,0,...
>  (lots of '0,'s)
>
> The funny thing is kdump itself coredumps when dumping the whole thing out (I
> guess that has something todo with this endless '...0,0,0,0,0...' sequence).

You should use devel/linux_kdump here instead of the native one.


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 "[EMAIL PROTECTED]"


Re: Firefox won't start

2008-09-18 Thread Boris Samorodov
On Thu, 18 Sep 2008 15:21:11 -0400 Joe Tseng wrote:

> I recently did a ports update and after a bit of effort I got firefox3
> to compile with no errors.  But now when I either select Firefox from
> the menu or start it from a terminal window nothing happens.  Firefox
> does not start and there's no indication of any problems.  When I use
> ps to see if it's hung I see nothing.  Ideas?

Launch it from xterm and see (post here) what happens.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Port of mrtg Not Happy when Trying to Start

2008-09-23 Thread Boris Samorodov
On Tue, 23 Sep 2008 08:30:03 -0500 Martin McCormick wrote:
> Jerry writes:
> > On Mon, 22 Sep 2008 09:54:04 -0500
> > Martin McCormick <[EMAIL PROTECTED]> wrote:

> > >   We are moving a mrtg system to FreeBSD so I installed
> > > the port from /usr/ports/net-mgmt/mrtg and the installation went
> > > flawlessly along with perl5.88 which it needs.

> Then, I posted that I had failed to install the snmp utilities
> so had not done everything necessary. At about that time, I
> received the message I am partly quoting here.

> > You might want to check and see if the 'p5-SNMP-Util-1.8.1' port is
> > installed {/usr/ports/net-mgmt/p5-SNMP-Util}. If not, try installing it
> > yourself and see if the problem goes away.

> Thanks greatly. I did in fact not have it, installed it, and the
> problem is still unchanged.

> > If you have 'portmanager' installed, you could try:
> > 
> > portmanager net-mgmt/p5-SNMP-Util -l -p -y

>   I installed portmamager and it reported everything
> present.

> > Check the '/var/log/portmanager.log' to see what transpired.

> No complaints at all.

>   When installing mrtg, I left the ipv6 box unchecked as
> we have none, and turned on the snmpV3 support which made no
> difference.  Still the same error:

> Can't locate SNMP_util.pm in @INC (@INC contains: /usr/local/bin/../lib/mrtg2 
> /u
> sr/local/bin /usr/local/lib/perl5/5.8.8/BSDPAN 
> /usr/local/lib/perl5/site_perl/5.
> 8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl 
> /us
> r/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at 
> /usr/local/bin/mrt
> g line 292.

> Since this is more or less a "dead in the water" error, I
> suspect I am doing something in the wrong sequence or am not
> totally starting from scratch on the mrtg make. I have been
> doing

> make clean, then make configure and then make install. 
> There is no problem at all with the make process so I
> am at a loss as to what to try next.

If you install ports at default paths then net-mgmt/p5-SNMP-Util
should install SNMP_util.pm to
/usr/local/lib/perl5/site_perl/5.8.8/SNMP .
Do you have this file?


WBR
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Port of mrtg Not Happy when Trying to Start

2008-09-23 Thread Boris Samorodov
On Tue, 23 Sep 2008 10:32:11 -0500 Martin McCormick wrote:
> Boris Samorodov writes:

> > If you install ports at default paths then net-mgmt/p5-SNMP-Util
> > should install SNMP_util.pm to
> > /usr/local/lib/perl5/site_perl/5.8.8/SNMP .
> > Do you have this file?

>   I appear to.

> $ pwd
> /usr/local/lib/perl5/site_perl/5.8.8/SNMP

> $ ls -l

> total 68
> -r-xr-xr-x  1 root  wheel  65627 Jun 27  2000 Util.pm
> -r-xr-xr-x  1 root  wheel223 Jun 27  2000 Util_env.pm

I stand corrected, Dan Nelson was right, the needed file is installed
by net-mgmt/p5-SNMP_Session. Sorry for the confusion.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wrong Build Environment

2008-09-25 Thread Boris Samorodov
On Wed, 24 Sep 2008 22:10:12 -0500 Martin McCormick wrote:

>   I can't think what bone-head thing I did to cause this,
> but I've ruled out problems with the mrtg port or perl5.8. I
> actually built perl5.8 from a slightly older port, once, and got
> the same results. The port of mrtg is fairly old and was
> installed successfully on the system that works and also
> installed successfully on the broken system except it can't find
> its libraries.

>   Any ideas?

1. Make sure that you really have only one perl version and all
dependent ports use the same version. A simple command may help:
-
% ls -l /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5:
total 6
drwxr-xr-x  46 root  wheel  3072 23 sep 19:06 5.8.8
drwxr-xr-x   3 root  wheel   512 23 sep 19:06 site_perl

/usr/local/lib/perl5/site_perl:
total 2
drwxr-xr-x  6 root  wheel  512 24 sep 13:53 5.8.8
-
You should get directories only for one perl version. If there are
others than find out which perl dependent ports were not updated.

2. Make sure that you really don't have that file at your system.
Find(1) may help here while locate(1) may have a stale database.

3. Make sure your pkg database doesn't register the meeded file as
installed. The following command may give some info:
-
% grep  /var/db/pkg/p5-*/+CONTENTS
-

4. Compare an output of the command "make all-depends-list" at both
systems for the mrtg port.

5. Not using "make clean" may give one a trouble. Ex., someone
deletted a port by a pkg_delete command but $WRKDIR contains a flag
that this port had been installed -- here is a problem!

6. Examine configure.log file for the mrtg port to find out what this
port is looking for to determine an existance of the needed port. My
customer got a problem after cancelling a port installation at a
middle of the process: header files were installed but libraries
were not and a port was not registered at a pkg database. But those
header files were used by other port's Makefiles to detect if a port
is installed...


HTH and WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-01 Thread Boris Samorodov
Da Rock <[EMAIL PROTECTED]> writes:
> On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote:

>> Has anyone else had trouble with starting mysql server with the rc
>> script?
>> 
>> I've only just installed from ports (as a dependency, mind) and
>> technically it should just start when you run the rc script - it sets up
>> the db dirs and stuff so it can just run. But I can't get it to do the
>> setup stuff automatically, and so the script fails. I've done the setup
>> manually before so its no real biggy, but I imagine others would be more
>> than a little frustrated.
>> 
>> Anyone else have this trouble? I just realised I had to do this last
>> time too...
>> 
>> For reference: I'm starting the script manually for testing at this
>> point (if that makes a difference- which I believe it shouldn't).
>
> Manually running port installed rc scripts is not working manually. I'm
> trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of
> these will work when run manually- even on different machines and bsd
> versions (all 6.x).
>
> Is it just me?

Sorry for may be a dumb question: did you define an
_enable="YES" at /etc/rc.conf[.local]? For more info
you may look at the script you are trying to start.


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 "[EMAIL PROTECTED]"


Re: compat/linux program claims "no write access to ~"

2008-10-07 Thread Boris Samorodov
"Steve Franks" <[EMAIL PROTECTED]> writes:

> Sounds like a bogus error to me.  I just downgraded amd64 to i386,
> reinstalled a linux program and it claims it can't write to ~ now.
> I'm running it, and I have no reason to think it wouldn't run as me.
> ~ is 775 anyway.  Also, running the linux program as su or sudo gives
> the same error.  Any ideas just where this might be coming from?  I'm
> on 7-STABLE, i386, linux-base-fc4.

You may use ktrace/linux_kdump to find a culprit.
BTW, make sure you don't have LINUXBASE/home/user as well as ~.


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 "[EMAIL PROTECTED]"


Re: libncurses.so.6 Not Found - How to Get 32 bit Version?

2008-10-11 Thread Boris Samorodov
Drew Tomlinson <[EMAIL PROTECTED]> writes:

> First, I must say I love the ports system!!!  It keeps me from
> suffering as I am now.  :)
>
> Anyway, I'm attempting to install a web log analysis software from
> Google named "Urchin".  The installation docs say it's supported on
> FBSD 6.2+.  As I am dedicating a machine to this software, I've
> performed a brand new install of 7.1-PRERELEASE.  I'm using the amd64
> version on a Intel Core 2 Duo processor.
>
> With help from the list, I overcame the first library issue by
> installing the compat6x libraries from ports.  Now the install script
> is complaining that "/libexec/ld-elf.so.1: Shared object
> "libncurses.so.6" not found".  I used ldd on the executable the script
> is attempting to run and get this output:
>
>libncurses.so.6 => not found (0x0)
>libcrypt.so.3 => /usr/local/lib32/compat/libcrypt.so.3 (0x280be000)
>libz.so.3 => /usr/local/lib32/compat/libz.so.3 (0x280d7000)
>libstdc++.so.5 => /usr/local/lib32/compat/libstdc++.so.5
> (0x280e8000)
>libm.so.4 => /usr/local/lib32/compat/libm.so.4 (0x281be000)
>libc.so.6 => /usr/local/lib32/compat/libc.so.6 (0x281d4000)
>
> I did search my system and found
> /usr/local/lib/compat/libncurses.so.6.  I tried adding a symlink to
> /usr/local/lib32/compat but then received an "...unsupported
> layout..." error when attempting to run the executable:  I assume that
> is because the libncurses.so.6 library is a 64 bit version?  I've
> removed the symlink.

You can explore it by the command 
% file /usr/local/lib/compat/libncurses.so.6

> Assuming my assumptions are correct, how can I get a 32 bit
> libncurses.so.6 version on my system?  Or if I'm wrong, what do I
> need?

You can copy this file from 6-i386 as Kris has already said.
And it may be a good idea to file a PR about it since this is
definitely the port's bug (CCing to the port's maintainer).


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 "[EMAIL PROTECTED]"


Re: libncurses.so.6 Not Found - How to Get 32 bit Version?

2008-10-11 Thread Boris Samorodov
Kris Kennaway <[EMAIL PROTECTED]> writes:
> Boris Samorodov wrote:
>
>> You can copy this file from 6-i386 as Kris has already said.
>> And it may be a good idea to file a PR about it since this is
>> definitely the port's bug (CCing to the port's maintainer).
>
> I don't think it's a port bug, but it would be useful to have an
> official way to install the i386 compat libraries on amd64.  This
> should probably be a separate slave port.

The port installs both amd64 and i386 libraries (look at the port
pkg-plist.amd64). Isn't it an official way? Imho yes.

One library is missing. Isn't it a port bug? Well, imho, yes. ;-)


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 "[EMAIL PROTECTED]"


Re: Linux X11 applications getting disconnected

2008-10-13 Thread Boris Samorodov
EforeZZ <[EMAIL PROTECTED]> writes:

> I have a little problem with my X11 linux applications (Skype, VMware). I
> run remote X11 server on Windows (Cygwin/XWin) and I'm getting problems with
> Skype/VMware. They sporadically get disconnected from the X server while all
> other native FreeBSD programs (KDE, terminals) keep running. Is there
> anything special about networking in Linux programs running under FreeBSD?

If nobody answer here then you may ask at freebsd-emulation@ ML.
And may be give some diagnostics.


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 "[EMAIL PROTECTED]"


Re: Installation Hangs

2008-10-13 Thread Boris Samorodov
Jeremy Chadwick <[EMAIL PROTECTED]> writes:
> On Mon, Oct 13, 2008 at 09:57:22AM -0600, Warren Block wrote:
>> On Sun, 12 Oct 2008, ton80 wrote:
>>
>>> I am trying to install FreeBSD.
>>> During the install (actually at the beginning of the process) the system
>>> hangs indefinitely.
>>> When it gets to the select country screen...it is frozen.
>>> During the boot process, as it is reading all the hardware, it finds the USB
>>> controller OK then later it states there was an IO error and that the USB
>>> controller is halted. I have a USB Keyboard and mouse...so I would say the
>>> problem is here.
>>> Is there any workaround I can use to get things going?
>>
>> Set "USB Legacy Support" to disabled in the BIOS.  If that isn't  
>> available, it might work to boot with the keyboard detached.  Connect it  
>> after the BIOS boot, at the FreeBSD bootloader prompt or maybe at the  
>> country select screen.
>
> I don't see how this would solve or even affect his problem.
>
> As I understand it, "USB Legacy Support" is intended for operating
> systems which do not have a USB stack available to them, thus making USB
> keyboards/mice appear as PS/2 keyboards/mice within MS-DOS and so on.  I
> believe the way it works is that the BIOS acts as a software translation
> layer between the USB device and PS/2 interaction.  This translation is
> lost the instant interrupts are re-mapped or the southbridge/USB
> controller is initialised.
>
> The OP is making it past boot2/loader, the kernel and all its drivers
> are fully loaded (including the USB stack).

Well, that may be totally correct but practice... Ex., I have an ASUS
P5K motherboard and I can't use a USB mouse with "USB Legacy Support".
The mouse is detected and works IFF this support is OFF.


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 "[EMAIL PROTECTED]"


Re: Installation Hangs

2008-10-13 Thread Boris Samorodov
Warren Block <[EMAIL PROTECTED]> writes:
> On Mon, 13 Oct 2008, Boris Samorodov wrote:
>>
>> Well, that may be totally correct but practice... Ex., I have an ASUS
>> P5K motherboard and I can't use a USB mouse with "USB Legacy Support".
>> The mouse is detected and works IFF this support is OFF.
>
> Just to add to that--same situation, but the mouse would work if it
> was disconnected and reconnected.

Yes, it is. But I used to my radio mouse and don't like to walk
to the computer each time it freezes. The computer is used for
FreeBSD-current testing and may freeze many times a day. Esp.
if I test radeon drivers. :-(


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 "[EMAIL PROTECTED]"


Re: Recommended linux_base for 8.0?

2008-10-14 Thread Boris Samorodov
Steve Kargl <[EMAIL PROTECTED]> writes:

> Which linux base port is recommended for FreeBSD-current on amd64?

Well, the answer is "just install any linux application you need from
ports/packages and the ports infrastructure will DTRT". ;-)

> linux_base-f7/
> linux_base-f8/
> linux_base-fc4/
> linux_base-fc6/
> linux_base-gentoo-stage1/
> linux_base-gentoo-stage2/
> linux_base-gentoo-stage3/
>
> I currently have fc4 installed, but have run into some pthread
> problems.

This one is the default for now.


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 "[EMAIL PROTECTED]"


Re: Recommended linux_base for 8.0?

2008-10-14 Thread Boris Samorodov
Steve Kargl <[EMAIL PROTECTED]> writes:
> On Wed, Oct 15, 2008 at 09:33:39AM +0400, Boris Samorodov wrote:
>> Steve Kargl <[EMAIL PROTECTED]> writes:
>> 
>> > Which linux base port is recommended for FreeBSD-current on amd64?
>> 
>> Well, the answer is "just install any linux application you need from
>> ports/packages and the ports infrastructure will DTRT". ;-)
>
> matlab isn't in the ports collection.

Yes. There is a PR about new port Matlab7 though.

>> > linux_base-f7/
>> > linux_base-f8/
>> > linux_base-fc4/
>> > linux_base-fc6/
>> > linux_base-gentoo-stage1/
>> > linux_base-gentoo-stage2/
>> > linux_base-gentoo-stage3/
>> >
>> > I currently have fc4 installed, but have run into some pthread
>> > problems.
>> 
>> This one is the default for now.
>
> % matlab
>>> plotTAIHR_bin_30D
> system error(34): __kmp_set_stack_info: pthread_getattr_np: Numerical result 
> out of range
> OMP abort: fatal system error detected.
>
> hpc:kargl[206] pkg_info | grep linux_base
> linux_base-fc-4_10  Base set of packages needed in Linux mode (for i386/amd64)
> hpc:kargl[208] portversion -vl '<' | grep linux_base
> linux_base-fc-4_10  <  needs updating (port has 4_13) 

Since you don't have other linux ports at this system it will be not
hard to test linux_base-f8 which is intended to become a new linux
base default in the future.

> Guess which port is broken?

I'm not sure whether it's a port or a system blame. CCing to emulation@
since there are more sharp linuxulator eyes there.


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 "[EMAIL PROTECTED]"


Re: error compiling linux-glib2

2008-10-16 Thread Boris Samorodov
Warren Liddell <[EMAIL PROTECTED]> writes:

> Running FreeBSD 7.1-PreRelease, AMD64 KDE 4.1.2
>
>
>
> ===>  Checking if devel/linux-glib2 already installed
> cd /usr/ports/devel/linux-glib2/work && /usr/bin/find * -type d -exec
> /bin/mkdir -p "/compat/linux/{}" \;
> cd /usr/ports/devel/linux-glib2/work && /usr/bin/find * ! -type d |
> /usr/bin/cpio -pm -R root:wheel /compat/linux
> 3914 blocks
> ===>   Running linux ldconfig
> /compat/linux/sbin/ldconfig -r /compat/linux
> ELF binary type "3" not known.

# kldload linux
And/or:
# echo 'linux_enable="YES"' >> /etc/loader.conf
# reboot

> /compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected
> *** Error code 2
>
> Stop in /usr/ports/devel/linux-glib2.
> *** Error code 1
>
> Stop in /usr/ports/devel/linux-glib2.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: error compiling linux-glib2

2008-10-16 Thread Boris Samorodov
Boris Samorodov <[EMAIL PROTECTED]> writes:

> # echo 'linux_enable="YES"' >> /etc/loader.conf

Sorry, I've mixed two variants. They are:
'linux_load="YES"' >> /boot/loader.conf
'inux_enable="YES"' >> /etc/rc.conf[.local]

> # reboot

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 "[EMAIL PROTECTED]"


Re: High Performance Computing Mini-Cluster

2008-10-20 Thread Boris Samorodov
On Mon, 20 Oct 2008 16:17:11 -0400 Maxim Khitrov wrote:

> I would be very interested in any documentation you can come up with
> as you go forward with this project. I currently work in a
> bioinformatics organization that uses external HPC clusters, and I'd
> love to setup a small local cluster of our own some day.

Not a direct answer but there is a special maillist for the subject --
[EMAIL PROTECTED] Sometime earlier I've got a very informative answers
from it's archieves.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: downloading linux_base-fc4

2008-10-21 Thread Boris Samorodov
On Tue, 21 Oct 2008 14:49:01 -0200 luizbcampos wrote:

> After I had tried to download linux_base-fc4 I got file
> unavailable not found no access...I need to put my printer to work!

You may try to use packages:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html

> What`s the matter?

You didn't show any diagnostics (exact commands, exact output, etc.)
so it's hard to say anything.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building a linuxbase-*****

2008-10-21 Thread Boris Samorodov
On Tue, 21 Oct 2008 20:25:37 +0200 Ross Cameron wrote:

> I have a bit of an odd question and hopefully this will be the right place
> to ask (please bare with me)

> I'd like to know how to build a Linuxulator OS image of a custom GNU/Linux
> distro I've inherited the maintenance of.
> On top of this distro several binary only applications are run.

> HOWEVER I'd like to take advantage of the fBSD 7 kernel and IP_Filter in the
> next release,... while maintaining compatibility with the Linux API/ABI.

> Does anyone have some pointers as to where to find some /GOOD/ docs on how
> to build the Linuxulator "linuxbase-" packages???

I'm not aware of such docs.

If you need a custom linux_base-XXX package then use those packages
that contains binaries (don't forget to brandelf them) and libraries
(don't brandelf them) you need. Take a look at those linux_base ports
(available at the ports tree) as an example.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: downloading linux_base-fc4

2008-10-23 Thread Boris Samorodov
On Tue, 21 Oct 2008 18:19:31 -0400 matt donovan wrote:
> On Tue, Oct 21, 2008 at 1:28 PM, Boris Samorodov <[EMAIL PROTECTED]> wrote:
> > On Tue, 21 Oct 2008 14:49:01 -0200 luizbcampos wrote:
> >
> > > After I had tried to download linux_base-fc4 I got file
> > > unavailable not found no access...I need to put my printer to work!
> >
> > You may try to use packages:
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html
> >
> > > What`s the matter?
> >
> > You didn't show any diagnostics (exact commands, exact output, etc.)
> > so it's hard to say anything.
> >
> the problem with the port your installing is that it takes 5 mirrors or so
> to even find .rpms that even work

A patch for ports/Mk/bsd.sites.mk has just been committed. The problem
should go away. Thanks for pointing this out.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD on Eeepc 1000h

2008-11-01 Thread Boris Samorodov
Sven Aluoor <[EMAIL PROTECTED]> writes:

> I tried netinstall of stable and current. Both versions of the
> installer dont have driver for my NIC.
>
> How to get ethernet working?
>
> "lscpi" on Debian Lenny:
> 03:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit
> Ethernet Adapter (rev b0)

Seems that you may be interested at:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=343551+0+current/freebsd-current


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 "[EMAIL PROTECTED]"


Re: FreeBSD on Eeepc 1000h

2008-11-02 Thread Boris Samorodov
Sven Aluoor <[EMAIL PROTECTED]> writes:
> On Sun, 2 Nov 2008 08:42:53 +0100
> Matthias Apitz <[EMAIL PROTECTED]> wrote:
>> El día Sunday, November 02, 2008 a las 02:48:13AM +0300, Boris
>> Samorodov escribió:
>> > Seems that you may be interested at:
>> > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=343551+0+current/freebsd-current
>
> Hi Boris
>
> This link reference to an empty document

Hm, it seems to be changed:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=343551+0+archive/2008/freebsd-current/20081102.freebsd-current

Anyway here it is:
-
On Thu, Oct 30, 2008 at 08:48:45PM +0900, To [EMAIL PROTECTED] wrote:
 > On Thu, Oct 30, 2008 at 01:06:37PM +0900, To [EMAIL PROTECTED] wrote:
 >  > I had been working on writing a driver for Atheros AR8121(L1E),
 >  > AR8113/AR8114(L2E) ethernet controllers since Jeremy Chadwick sent
 >  > the hardware to me. I think it's feature complete state and time
 >  > for more testing for stability or some edge cases. I guess AR81xx
 >  > is commonly found on newer Asus EeePC or P5Q series of Asus
 >  > motherboard. If you have AR81xx controller would you give it spin
 >  > and let me know how it goes? You can get the latest driver at the
 >  > following URL.
 >  > http://people.freebsd.org/~yongari/ate/if_ate.c
 >  > http://people.freebsd.org/~yongari/ate/if_atereg.h
 >  > http://people.freebsd.org/~yongari/ate/if_atevar.h
 >  > http://people.freebsd.org/~yongari/ate/Makefile
 >  > or
 >  > http://people.freebsd.org/~yongari/ate/ate.20081030.tar.gz
 >  > The driver should build without problems on CURRENT, stable/7.
 >  > 
 >  > ATM the driver supports the following hardware features.
 >  >  - TSO
 >  >  - Rx TCP/UDP/IP checksum offload
 >  >  - VLAN tag insertion/stripping
 >  >  - Jumbo frame
 >  >  - WOL
 >  > It seems that hardware supports Tx checksum offload but I couldn't
 >  > make it work for TCP segments. Only short TCP segments seem to work
 >  > so I disabled Tx checksum offload.
 >  > Note, the hardware does not support descriptor based DMA on Rx side
 >  > so driver have to copy recevied frames to pass them to upper stack
 >  > so it will consume a lot of CPU cycles if you push the hardware to
 >  > the limit.
 >  > 
 > 
 > As bruffer pointed out the device name chosen conflicts with other
 > driver in tree so I renamed it to ale(4).The URL for the driver is
 > http://people.freebsd.org/~yongari/ale/if_ale.c
 > http://people.freebsd.org/~yongari/ale/if_alereg.h
 > http://people.freebsd.org/~yongari/ale/if_alevar.h
 > http://people.freebsd.org/~yongari/ale/Makefile
 > or
 > http://people.freebsd.org/~yongari/ale/ale.20081030.tar.gz
 > Sorry for confusion.

FYI:
There was a typo that keep ale(4) from building on stable/7. It was
fixed now and I reuploaded related files(URLs are the same as before).
-- 
Regards,
Pyun YongHyeon
-


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 "[EMAIL PROTECTED]"


Re: garmin forerunner 305

2008-11-04 Thread Boris Samorodov
Bruce Cran <[EMAIL PROTECTED]> writes:

> I don't know if it'll work with the usb stack that's in shipping
> version of FreeBSD though, and even with the new stack I had to make a
> change to libgpsusb.c in gpsbabel to get it working.

Can you submit a patch? 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 "[EMAIL PROTECTED]"


Re: running linux programs

2008-11-05 Thread Boris Samorodov
prad <[EMAIL PROTECTED]> writes:

> however, can i compile a linux program within the linux emulator
> instead of using the gcc in freebsd?

emulators/linux_dist-gentoo-stage* are used for this.


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 "[EMAIL PROTECTED]"


Re: running linux programs

2008-11-05 Thread Boris Samorodov
prad <[EMAIL PROTECTED]> writes:
> On Thu, 06 Nov 2008 09:47:21 +0300
> Boris Samorodov <[EMAIL PROTECTED]> wrote:
>
>> emulators/linux_dist-gentoo-stage* are used for this.
>>
> so what i should do then is install one of the 3 dist-gentoo-stages?

Chroot to linux directory and compile the needed program.

> or do these work the same way as the gentoo stages - i seem to recall i
> just did gentoo from stage 2 or 3 many years ago.
>
> will this give me the gentoo emerge environment?
>
> will this be a separate /compat/linux directory from what i got when i
> simply put on linux-opera?
>
> is there a wiki on linux emulation anywhere?

You'd have better chances if you ask those questions at
freebsd-emulation@ ML.


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 "[EMAIL PROTECTED]"


Re: Confused About Linux Compatibility

2008-11-07 Thread Boris Samorodov
Drew Tomlinson <[EMAIL PROTECTED]> writes:

> I am attempting to install a Linux RPM of Legato's Networker Backup
> Client on FBSD 7.1  I do not know if this is possible but I hope so.
> :)
>
> I have followed instructions in the Handbook and
> http://www.linux.com/articles/53055.  I am at the point of installing
> an appropriate linux_base port and linux_base-f8 seemed like the most
> recent/reasonable.  However when I attempt to install, I get this
> output:
>
> ** Port marked as IGNORE: emulators/linux_base-f8:
>compat.linux.osrelease: 2.4.2 is not supported
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>- emulators/linux_base-f8
>
> Further Google searches suggest that compat.linux.osrelease is a
> sysctl setting.  I've seen reference to setting it to 2.6.16 but also
> that this is experimental.  I found
> http://wiki.freebsd.org/linux-kernel but this leaves me confused as
> well.
>
> Bottom line, what linux_base port should I install and do I need to
> set this sysctl to something?  I'm confused...

Current default (i.e. well tested and supported) linux base port is
linux_base-fc4 with compat.linux.osrelease=2.4.2. This should be your
first try. If you get any further questions a better mailing list (to
look for additional information as well as asking questions) is
[EMAIL PROTECTED]


Cheers,
-- 
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 "[EMAIL PROTECTED]"


Re: Asus eeepc, Freebsd-head, problem with ath/wifi driver

2008-11-21 Thread Boris Samorodov
On Thu, 20 Nov 2008 17:17:01 -0500 Dan wrote:

> I have issues with sound - it does not support software jack detection,
> so using headphones means the speakers are still on :(.

Welcome to freebsd-emulation@ ML. This issue is not very hard imho.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Asus eeepc, Freebsd-head, problem with ath/wifi driver

2008-11-21 Thread Boris Samorodov
On Fri, 21 Nov 2008 12:47:33 +0300 Boris Samorodov wrote:
> On Thu, 20 Nov 2008 17:17:01 -0500 Dan wrote:

> > I have issues with sound - it does not support software jack detection,
> > so using headphones means the speakers are still on :(.

> Welcome to freebsd-emulation@ ML. This issue is not very hard imho.

Uh, this should be freebsd-multimedia@ ML, sorry.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [freebsd-questions] Looking @ upgrades mechanisms...

2008-12-02 Thread Boris Samorodov
Mel <[EMAIL PROTECTED]> writes:
> On Tuesday 02 December 2008 17:13:58 andrew clarke wrote:
>> On Tue 2008-12-02 09:28:44 UTC+0100, Mel 
> ([EMAIL PROTECTED]) wrote:

>> > Portupgrade -PP is detrimental for bandwidth. It's not really
>> > portupgrade's fault (well, partially, it shouldn't offer the feature),
>> > because it will quite often download Latest/foo.tbz, unpack it entirely
>> > and then say "oops, I downloaded this useless package which is older or
>> > equal to what you have installed".
>>
>> Yes, this happens.  -PP is not ideal for regular updates but it's
>> still useful for when you have a new FreeBSD install with no packages
>> installed, and want to get up and running quickly, grabbing the most
>> recent binaries of all your favourite ports instead of building them
>> all from source.
>
> That's infinitely slower than pkg_add -r .

Don't use "portupgrade -NPP ". ;-)
But "portupgrade -PP " really *upgrades* packages.


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 "[EMAIL PROTECTED]"


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: 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: 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: 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: 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 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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-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: 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: 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: 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: 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 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: 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: 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-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-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: 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: 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: 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: 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: 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 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 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 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: 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 emulation

2008-03-20 Thread Boris Samorodov
On Thu, 20 Mar 2008 19:52:14 +1000 Da Rock wrote:

> Also, on the linux compat- am I correct in my observation that you have
> to actually chroot to enable the running of a linux binary? Enter the
> file structure of the linux compat? Or can you just run it?

Just run it.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[Mail Delivery System] Mail delivery failed: returning message to sender

2008-03-20 Thread Boris Samorodov
On Thu, 20 Mar 2008 21:13:40 +1000 Da Rock wrote:
> On Thu, 2008-03-20 at 13:57 +0300, Boris Samorodov wrote:
> > On Thu, 20 Mar 2008 20:48:46 +1000 Da Rock wrote:
> > > On Thu, 2008-03-20 at 13:37 +0300, Boris Samorodov wrote:
> > > > On Thu, 20 Mar 2008 19:52:14 +1000 Da Rock wrote:
> > > > 
> > > > > Also, on the linux compat- am I correct in my observation that you 
> > > > > have
> > > > > to actually chroot to enable the running of a linux binary? Enter the
> > > > > file structure of the linux compat? Or can you just run it?
> > > > 
> > > > Just run it.
> > 
> > > But the executable has to stored under /linux/compat ?
> > 
> > No.

> So the purpose of the /linux/compat is...?
> Linux specific system commands? What about the procfs and devfs under
> here? Why separate those?

If you want to learn more about linuxulator there is a
freebsd-emulation@ mail list. Those and other questions are
regularly discussed there. I'd advise you to read the Handbook
first and freebsd-emulation@ archieves (to get an idea). And then
ask your questions about linuxulator at that ML.

BTW, don't think I'm rude, just my English is not very good. ;-)

Ah, and some your questions are not so simple to answer (ex. the first
one). But you may find an answer to _why_ is it not so simple at
freebsd-emulation@ ML archieves.

There are some additional articles about linuxulator at FreeBSD:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-users/index.html
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-emulation/index.html


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compiling skype on free 7

2008-03-20 Thread Boris Samorodov
On Thu, 20 Mar 2008 14:29:06 -0300 (ART) Aguiar Magalhaes wrote:

> I'm compiling skype (by ports) and received a lot of
> error messages like this:

> ftp://mirrors.kernel.org/fedora/core/updates/4/i386/setserial-2.17-19.i386.rpm:
> Not Found
> . . . .
> . . . .
> => Couldn't fetch it - please try to retrieve this
> => port manually into
> /usr/ports/distfiles/rpm/i386/fedora/4 and try again.
> *** Error code 1

The rpmball is fetchable. Something (configuration, network, etc.) is
preventing you from fetching it. That worth investigating.

> So, I put it into the directory above, but the error
> messages says:
> => MD5 Checksum mismatch for
> rpm/i386/fedora/4/setserial-2.17-19.i386.rpm.
> => SHA256 Checksum mismatch for
> rpm/i386/fedora/4/setserial-2.17-19.i386.rpm.

You fetched the wrong/corrupted file. Remove it.

> How can i fix it ?

Try to fetch manually then copy to the needed directory:
$ fetch 
http://mirrors.kernel.org/fedora/core/4/i386/os/Fedora/RPMS/setserial-2.17-19.i386.rpm
setserial-2.17-19.i386.rpm100% of   20 kB   36 kBps
$  md5 setserial-2.17-19.i386.rpm 
MD5 (setserial-2.17-19.i386.rpm) = 18f731b38dd607085f992c1e8bb67596


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 7.0, Linuxulator and LDAP

2008-03-20 Thread Boris Samorodov
Hi!

On Thu, 20 Mar 2008 15:03:21 + O. Hartmann wrote:

> we use a LDAP backed up environment on our FreeBSD boxes (mostly 7.0
> machines).
> With several tools running under Linux/Linuxulator in FreeBSD ist is
> not possible to work, like acroread or linux-opera and other software
> (like IDL, Mathematica). When the software starts up, it complains
> about unknown user IDs (acroread, Gtk-toolset).

Hm. I never used FreeBSD with LDAP backed up environment.

Some linux apps display warnings about unknown IDs (something like
glib about UID 0), but it never prevented the app from functioning.

> I guess I need a complete PAM/NSS/LDAP setup in Linux
> (/compat/linux/etc), but I have no glue how to get the appropriate
> libraries (pam_ldap.so, nss_ldap.so etc.).

I don't think so. The main idea for linuxulator is to use as much as
possible. We do use FreeBSD native configure and other files and
databases. E.g. we _remove_ passwd and other files (as well as some
directories) from linux distribution before installing.

> Can anybody help?

Well, I can give you only some theory here. Sorry. :-(

1. Use FreeBSD database (passwd and friends) before LDAP.
2. Add needed IDs to LDAP database.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 7.0, Linuxulator and LDAP

2008-03-20 Thread Boris Samorodov
On Thu, 20 Mar 2008 23:10:10 +0300 Boris Samorodov wrote:

> The main idea for linuxulator is to use as much as
> possible.

Uh, it should be "The main idea of linuxulator is to use as much as
possible from the native OS (FreeBSD).


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   3   4   >