Globalizing Your Business with Virtual Malls

2009-12-03 Thread NetOnBoard

   
   3D"Net
   3D"12" [1]3D"13" [2]3D"14"
   Year 2010 is only days away. As time pass by, technology grows rapidly
   to= match with business needs. Realizing this,
   we would like to invite all entrepreneurs and individual out there to
   par= ticipate in our Globalize Your Business with
   Virtual Mall Seminar.

   The seminar will consist of our very own representative= s and guest
   speaker from Intel to talk about expanding
   your business via Virtual Mall and Intel technology. Participants will
   get to share an = early sneak peak of our latest
   Virtual Mall solutions. The admission fee to this seminar is
   absolutely free and includes lunches= . Furthermore,
   the participants will have a chance to get 1 year free subscription to
   our Virtual Mall, Lucky Draw and lots = more.

   To all individuals, business owners and aspiring entrep= reneurs, this
   will be a good chance for you to gain knowledge
   and network to help you evolve your business and spread your brand
   across the= World Wide Web.
   How to Join?
   Please contact us to register for a FREE= seating.
   Net Onboard Sdn Bhd (796213-D)
   No: 31 & 33, Jalan Utama 2/18, Taman Perindustrian Puchong Utama,
   47140 Puchong, Selangor Darul Ehsan, Malaysia.
   Phone: +603.80625088 (Reachable Worldwide) Fax: +603.80624955

   Details of the Seminar   Date
   Time
   Venue
   7th December 2009<= /div>
   9.00am to 2.00pm
   Sunway Resort Hote= l & Spa
    

   Agenda for the Seminar
   Time Topic
   9.00am to 9.20am
   Registration= & Interact with Organizer, Sponsors & Attendees
   9.20am to 9.30am
   Welcoming Address From Net Onb= oard
   Mr. Lee Yip Fei, Managing Director, Net Onboard
   9.30am to 10.30am
   Technology = with Intel
   Mr. Gautam Guin, Channel Server Business Manager APAC, Intel
   Technology A= sia Pte Ltd
   10.30am to 10.45am
   Refresh with a Coffee Break
   10.45am to 11.10am
   Overview on = Globalizing a Business
   Ms. Maslizan, Business Executive, Net Onboard
   11.10am to 11.25am
   How Virtual Mall take place in = globalizing your business?
   Ms. Maslizan, Business Executive, Net Onboard
   11.25am to 12.00pm
   Virtual Mall= Concept & Features Highlight
   Ms. Liana, Business Executive, Net Onboard
   12.00pm to 12.10pm
   Business Opportunity<= br /> Ms. Liana, Business Executive, Net
   Onboard
   12.10pm to 12.20pm
   Question &am= p; Answer Session
   12.20pm to 12.30pm
   Lucky Draw - (1 PC, Virtual Ma= ll Licenses & more)
   = 12.30pm to 2.00pm
   Buffet Lunch= - Networking and Lunch at Sun & Surf

   Sponsors.
   Serverware Sdn Bhd
   23 Jalan Putra Mahkota 7/4A, Putra Heights 47650, Subang Jaya,
   Selangor, Malaysia
   Telephone: +60 (3) 5191 6328 , Facsimile: +60 (3) 5191 9328
   URL: [3]http://www.serverwares.com.m= y
   --
   -   
--
   -= --
   This email should not be considered as a spam mail. In the event that
   the = receipient so wish to be removed
   from this mail list please reply this mail with "REMOVED" from t= he
   subject header. We will respectfully do so.
   This email newsletter is approximately 5k size only.

References

   1. 3D"http:   2. 3D"http://ww=/
   3. 3D"http://www.serverware.com.my/";
___
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: [Solved] Having problems burning a DVD

2009-12-03 Thread James Phillips
Hello,

After making two coasters with a graphical CD burning program using Ubuntu, I 
decided to try using FreeBSD: I want to start backing up to DVD anyway.

After some searching I learned I missed some details in the handbook on the 
first and second reads such as:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html
"The program growisofs(1) will be used to perform DVD recording. This command 
is part of the dvd+rw-tools utilities (sysutils/dvd+rw-tools). The dvd+rw-tools 
support all DVD media types."

I had hard time finding the non-existent growisofs package!

"These tools use the SCSI subsystem to access to the devices, therefore the 
ATAPI/CAM support must be added to your kernel. If your burner uses the USB 
interface this addition is useless, and you should read the Section 18.5 for 
more details on USB devices configuration."

Using the atapicd driver generated the following error message:
 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device

After the command:
$ growisofs -dvd-compat -Z /dev/acd0=8.0-RELEASE-i386-dvd1.iso
before you ask:
MD5 (8.0-RELEASE-i386-dvd1.iso) = 5336cd827991e4d4cff6d73c4a5ca105
Release announcement: 5336cd827991e4d4cff6d73c4a5ca105

I tried playing with /etc/devfs.conf as suggested by Predrag Punosevac
$ id
uid=1002(backup) gid=1002(backup) groups=1002(backup),5(operator),1003(Share)
$ cat /etc/devfs.conf  |sed 's/#.*//g'
linkcd0 cdrom
linkcd0 dvd
linkcd0 rdvd
own cdrom   root:operator
own dvd root:operator
own rdvdroot:operator
permcd0 0660
permcdrom   0660
permdvd 0660
permrdvd0660
permxpt00660
permpass0   0660
-> that sed command was stolen from a script expecting 
->originally used device acd0 (until enabling atapicam)
$ cat /boot/loader.conf
acpi_load="no"
apm_load="yes"
atapicam_load="yes"
#ata_load="yes"# enabled by default
scbus_load="yes"
cd_load="yes"
pass_load="yes"
atapicd_load="no"
#hw.ata.atapi_dma="1"  # enabled by default

With the atapicam driver I was able to somehow get growisofs to go through the 
motions of burning the DVD, even have a kernel message from GEOM reading the 
BSD label:
$ tail /var/log/messages
Dec  3 20:00:00 dusty newsyslog[833]: logfile turned over due to size>100K
Dec  3 20:00:28 dusty kernel: GEOM_LABEL: Label for provider acd0t01 is 
iso9660/FreeBSD_Install.

but can't read the disk to verify it:
$ dd if=/dev/cd0 bs=2048 | md5
996592+0 records in
996592+0 records out
2041020416 bytes transferred in 1292.388284 secs (1579263 bytes/sec)
19b087536234b316b64232ba6b1c1799

Umm. Nevermind. I added the block size so nobody would try suggesting it has an 
effect :P  previous error:
$ dd if=/dev/cd0 | md5
dd: /dev/cd0: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000721 secs (0 bytes/sec)
d41d8cd98f00b204e9800998ecf8427e


I noticed that the hash does not match the ISO file. Is that normal for DVDs? 
For CD images I often get the md5 hash to match.

The man page for atapicam(4) warns:
"atapicam and ATAPI-specific target drivers (acd(4), ast(4), and afd(4))
 can be configured in the same kernel.  Simultaneous access to the same
 device through the SCSI generic drivers and the ATAPI-specific drivers
 may cause problems and is strongly discouraged."

Is there anything special I should do to try to disable the atapicd driver? I 
don't think my 'atapicd_load="no"' line in /boot/loader.conf has much of an 
effect.

Regards,

James Phillips



  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
___
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: Mount dump0 as ISO9660 filesystem?

2009-12-03 Thread Jerry McAllister
On Thu, Dec 03, 2009 at 03:27:48PM -0800, Nerius Landys wrote:

> I heard somewhere that you can mount a dump as an ISO9660 filesystem,
> but I cannot find any Google answers on this subject.  

I have never heard of this.
You can put a dump in an ISO, but I don't think a dump is directly
mountable.  I think you have to create the ISO with the normal
makeiso.   Then, it might be mountable.

But, I could be wrong.

jerry


> I took my dump
> in the following fashion:
> 
> dump -0Lan -C 16 -f - /usr | gzip -2 | 
> 
> So, I have a file named dump0-var.gz.
> ___
> 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"
___
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: "Last login" message

2009-12-03 Thread Richard Mahlerwein
> Subject: "Last login" message
> 
> When I ssh to my FreeBSD machine, I get something like
> this:
> 
> Last login: Thu Dec  3 15:12:40 2009 from 11.22.33.44
> Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993,
> 1994
>         The Regents of the University
> of California.  All rights reserved.
> 
> FreeBSD 7.1-RELEASE-p9 (DAFFY) #0: Thu Dec  3 11:33:28
> PST 2009
>
> ..where "11.22.33.44" is an IP address.  However,
> sometimes, in place
> of an IP address I get a truncated hostname, for example
> "daffy.nerius.co" (note the last 'm' missing).
> I was wondering what controls this, meaning if I get an IP
> or a
> hostname, and why it's being truncated.

Just a thought - could the truncation be to the length of a full-length IPV4 
address... 
011.022.033.044
daffy.nerius.co

They seem to match in length.




___
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: Newbie questions (updating, ports, etc.)

2009-12-03 Thread Charlie Kester

On Thu 03 Dec 2009 at 07:32:33 PST Warren Block wrote:

As far as "batch" or even -a, I update the ports tree often and prefer
to manually upgrade ports as needed, usually with portupgrade -r.  A
lot of people seem to like -R; maybe I have the dependencies backwards.


Since this is a newbie thread, perhaps we should clarify this point.

portupgrade -r portA

upgrades portA and any other installed ports which depend on it.  For
example, if portA installs a shared library that portB uses, both portA
and portB will be upgrade by this command.  


portupgrade -R portA

upgrades portA and any other ports on which portA depends.  For
example, if portA uses gtk+, this command will compile both portA
and gtk+, along with all the other libraries and whatnot that
underpin gtk+.  In other words, it rebuilds portA from the ground
up -- starting from the absolute bare ground.

If the changes in portA did not introduce any binary incompatibilities,
portupgrade -r is probably unnecessary.  The problem is knowing ahead of
time whether there are any such incompatibilities.  So many people
habitually use -r as a precautionary measure.

As far as I can see, the only reason to use -R is when you're having
some problem with portA and you suspect that the underlying libraries
and whatnot have gotten out of sync.  Rebuilding the whole chain from
scratch is sometimes the only way to restore sanity to the system.

(Or maybe it's just that you have nothing else to do on a rainy
weekend.)

-- Charlie
___
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: Source Code Update Question

2009-12-03 Thread Matthew Seaman

Jay Hall wrote:

Ladies and Gentlemen,

This is the first time I have tried to upgrade FreeBSD's source code, 
and I have done something wrong, but I am not sure what.  I am upgrading 
from 6.2 to 8.0.


First, I upgraded the source code, using csup /root/supfile.

Here are the contents of /root/supfile.

# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup9.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.



This is going to get you 9-CURRENT, which is not what you want.  Change it to
read:

*default release=cvs tag=RELENG_8_0

to get 8.0-RELEASE-p1.  Or you could try tag=RELENG_8 to get 8.0-STABLE if 
you're
happy living with a development branch.

Handy hint:  you can csup your /usr/src and /usr/ports by: 


   # cd /usr/src
   # make update

if you put the following into /etc/make.conf:

SUP_UPDATE= yes
SUP=/usr/bin/csup
SUPFLAGS=   -L2
SUPHOST=cvsupN.XX.freebsd.org
SUPFILE=/usr/share/examples/cvsup/standard-supfile
PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile

Obviously change cvsupN.XX.freebsd.org to a server local to where you are.

To change versions, before csup'ing you'ld need to first edit the tag in 
/usr/share/examples/cvsup/standard-supfile -- this file will be updated
to match the installed OS version when you do the whole {build,install}world
procedure, so don't worry too much about mucking up standard system files by
editing it.

Note that you *do* want tag=. for ports or docs supfiles.

Now, directly updating from 6.2 to 8.0 may not work.  You may find it necessary
to do the update in stages:  6.2 -> 7.0 -> 8.0.  Since about 5.4-RELEASE it has
generally been the case that you can update pretty freely within a major version
level (eg. 6.2 -> 6.4) and that you can update to the next highest major version
level (eg 7.2 -> 8.0) by simply csup'ing and doing a normal buildworld cycle.  It 
should be possible to do as you want and jump several major versions at once in
the same way, but this is not tested anything like as much and may not work. 


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: "Last login" message

2009-12-03 Thread Gary Gatten
Not sure on the truncating.

- Original Message -
From: owner-freebsd-questi...@freebsd.org 
To: questi...@freebsd.org 
Sent: Thu Dec 03 17:16:54 2009
Subject: "Last login" message

When I ssh to my FreeBSD machine, I get something like this:

Last login: Thu Dec  3 15:12:40 2009 from 11.22.33.44
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights reserved.

FreeBSD 7.1-RELEASE-p9 (DAFFY) #0: Thu Dec  3 11:33:28 PST 2009



..where "11.22.33.44" is an IP address.  However, sometimes, in place
of an IP address I get a truncated hostname, for example
"daffy.nerius.co" (note the last 'm' missing).
I was wondering what controls this, meaning if I get an IP or a
hostname, and why it's being truncated.
___
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"








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


___
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: "Last login" message

2009-12-03 Thread Gary Gatten
I would guess sshd is doing a reverse lookup on the ip your connecting from. If 
it resolves you get the FQDN, else just the IP. 

- Original Message -
From: owner-freebsd-questi...@freebsd.org 
To: questi...@freebsd.org 
Sent: Thu Dec 03 17:16:54 2009
Subject: "Last login" message

When I ssh to my FreeBSD machine, I get something like this:

Last login: Thu Dec  3 15:12:40 2009 from 11.22.33.44
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights reserved.

FreeBSD 7.1-RELEASE-p9 (DAFFY) #0: Thu Dec  3 11:33:28 PST 2009



..where "11.22.33.44" is an IP address.  However, sometimes, in place
of an IP address I get a truncated hostname, for example
"daffy.nerius.co" (note the last 'm' missing).
I was wondering what controls this, meaning if I get an IP or a
hostname, and why it's being truncated.
___
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"








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


___
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"

Source Code Update Question

2009-12-03 Thread Robert Huff

Jay Hall writes:

>  This is the first time I have tried to upgrade FreeBSD's source
>  code, and I have done something wrong, but I am not sure what.  I
>  am upgrading from 6.2 to 8.0.

Have you read the Handbook entry on upgrading system source?


Robert Huff

___
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"


Source Code Update Question

2009-12-03 Thread Jay Hall

Ladies and Gentlemen,

This is the first time I have tried to upgrade FreeBSD's source code,  
and I have done something wrong, but I am not sure what.  I am  
upgrading from 6.2 to 8.0.


First, I upgraded the source code, using csup /root/supfile.

Here are the contents of /root/supfile.

# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup9.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

# If you seem to be limited by CPU rather than network or disk  
bandwidth, try
# commenting out the following line.  (Normally, today's CPUs are fast  
enough

# that you want to run compression.)
*default compress

## Main Source Tree.
#
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection.  It includes all of the individual "src-*"  
collections.

src-all

Following is the output from make buildworld.

mo-bak-s1# make buildworld
--
>>> World build started on Thu Dec  3 17:01:54 CST 2009
--

--
>>> Rebuilding the temporary build tree
--
rm -rf /usr/obj/usr/src/tmp
mkdir -p /usr/obj/usr/src/tmp/lib
mkdir -p /usr/obj/usr/src/tmp/usr
mkdir -p /usr/obj/usr/src/tmp/legacy/usr
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist  -p /usr/obj/usr/src/tmp/ 
legacy/usr >/dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist  -p /usr/obj/usr/src/tmp/ 
usr >/dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/obj/usr/src/ 
tmp/usr/include >/dev/null

ln -sf /usr/src/sys /usr/obj/usr/src/tmp

--
>>> stage 1.1: legacy release compatibility shims
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp  INSTALL="sh /usr/ 
src/tools/install.sh"  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/ 
obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/u

===> tools/build (obj,includes,depend,all,install)
/usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/ 
build

cd /usr/src/tools/build; make buildincludes; make installincludes
rm -f .depend
mkdep -f .depend -a-I/usr/obj/usr/src/tmp/legacy/usr/include /usr/ 
src/tools/build/dummy.c
cc -O2 -pipe -std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include - 
c /usr/src/tools/build/dummy.c

building static egacy library
ranlib libegacy.a
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libegacy.a / 
usr/obj/usr/src/tmp/legacy/usr/lib


--
>>> stage 1.2: bootstrap tools
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp  INSTALL="sh /usr/ 
src/tools/install.sh"  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/ 
obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/u

===> cddl/usr.bin/sgsmsg (obj,depend,all,install)
/usr/obj/usr/src/tmp/usr/src/cddl/usr.bin/sgsmsg created for /usr/src/ 
cddl/usr.bin/sgsmsg

rm -f .depend
mkdep -f .depend -a-DNEED_SOLARIS_BOOLEAN -I/usr/src/cddl/usr.bin/ 
sgsmsg/../../../sys/cddl/compat/opensolaris -I/usr/src/cddl/usr.bin/ 
sgsmsg/../../../cddl/compat/opensolaris/include -I/usr/src/cd
In file included from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ 
contrib/opensolaris/cmd/sgs/tools/common/sgsmsg.c:81:
/usr/src/cddl/usr.bin/sgsmsg/../../../cddl/contrib/opensolaris/cmd/sgs/ 
include/sgs.h:57:20: libelf.h: No such file or directory
In file included from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ 
contrib/opensolaris/cmd/sgs/include/alist.h:45,
 from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ 
contrib/opensolaris/cmd/sgs/include/sgs.h:59,
 from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ 
contrib/opensolaris/cmd/sgs/tools/common/sgsmsg.c:81:
/usr/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/compat/opensolaris/sys/ 
elf.h:30:26: sys/elf.h: No such file or directory
In file included from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ 
contrib/opensolaris/cmd/sgs/tools/common/string_table.c:31:
/usr/src/cddl/usr.bin/sgsmsg/../../../cddl/contrib/opensolaris/cmd/sgs/ 
include/sgs.h:57:20: libelf.h: No such file or directory
In file included from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ 
contrib/opensolaris/cmd/sgs/include/alist.h:45,
 from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ 
contrib/opensolaris/cmd/sgs/include/sgs.h:59,
 from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ 
contrib/opensolaris/cmd/sgs/tools/common/string_table.c:31:
/usr/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/compat/opensolaris/sys/ 
elf.h:30:26: sys/elf.h: No such file or directory
In file included from /usr/s

Mount dump0 as ISO9660 filesystem?

2009-12-03 Thread Nerius Landys
I heard somewhere that you can mount a dump as an ISO9660 filesystem,
but I cannot find any Google answers on this subject.  I took my dump
in the following fashion:

dump -0Lan -C 16 -f - /usr | gzip -2 | 

So, I have a file named dump0-var.gz.
___
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: "Last login" message

2009-12-03 Thread Nerius Landys
> I would guess sshd is doing a reverse lookup on the ip your connecting from.
> If it resolves you get the FQDN, else just the IP.

OK.  Why the truncating?  How to not truncate?
___
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"


"Last login" message

2009-12-03 Thread Nerius Landys
When I ssh to my FreeBSD machine, I get something like this:

Last login: Thu Dec  3 15:12:40 2009 from 11.22.33.44
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights reserved.

FreeBSD 7.1-RELEASE-p9 (DAFFY) #0: Thu Dec  3 11:33:28 PST 2009



..where "11.22.33.44" is an IP address.  However, sometimes, in place
of an IP address I get a truncated hostname, for example
"daffy.nerius.co" (note the last 'm' missing).
I was wondering what controls this, meaning if I get an IP or a
hostname, and why it's being truncated.
___
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: Newbie questions (updating, ports, etc.)

2009-12-03 Thread Charlie Kester

On Thu 03 Dec 2009 at 01:13:39 PST Richard Mace wrote:

I recently installed FreeBSD 8.0-RELEASE on my home desktop and am considering
making the switch from Debian GNU/Linux.

I have a few questions which I am hoping the list can clarify for me.

1.) Keeping installed ports/packages up to date.

As far as I can tell from the docs, perhaps the most convenient method is to
use something like:

# portsnap fetch update
# pkgdb -F
# portupgrade --batch -aP (do I need an "R" here?)

which should first try to find a package from the repositories and failing that
will fall back to a port. What is the current wisdom here?


As others have said, there are almost as many approaches to this as
there are users.

The approach I've been using is:

   portsnap fetch update

followed by 


   portversion -vL=

to see which of my installed ports needs updating.  If there are many of them,
I'll use

   portupgrade -ar
to update them all in one fell swoop.  But if there are just or two, or if
I know that some of them (like OpenOffice or KDE) are going to take a long time
to build, I'll specify the individual ports I want updated:

   portupgrade -r port1 port2 port3 ...

I don't usually install packages, because I want to optimize the builds
a little.  On an i386-class machine, the compiler defaults to using the
lowest common denominator instruction set, i.e., it doesn't use
instructions introduced by later versions of the microprocessor.  My
machine is an old Pentium3, and I'm trying to squeeze as much
performance out of it as possible.  So I have the following in
/etc/make.conf and always compile ports from source:

   CPUTYPE?=pentium3

Lately I've been looking at portmaster as a replacement for portupgrade,
because it's so often recommended on this list.



Is it safe to use the --batch switch? As far as I understand, this will use
the configuration defaults and not prompt the user whenever a port requires
some user (options) configuration. Is this interpretation correct? Otherwise,
is there a way to get portupgrade to use the defaults non-interactively, to
automate the process.


I recently asked about this myself, while planning to do a complete
reinstall of all my ports following an upgrade to FreeBSD 8.0.

The --batch switch is quite safe, and your understanding is correct. But
you might find that your needs are better met by doing a preconfigure,
that is, by answering the config dialogs for all of the updating ports
before proceeding to the actual build of any of them.  portmaster does
this by default, and portupgrade has the --config switch.




Related to the above, are the default options that appear in the
ncurses dialogues the same as those used in the building of packages?


I would assume so, yes.



2.) Evolution of ports (and packages) versus evolution of the base system.

Reading the docs makes it clear that FreeBSD maintains is a rigorous
distinction between the base system and add-on packages (ports). This is very
appealing. However, as far as I can tell so far, even though my base system is
8.0 -RELEASE (and remains fixed between releases?), the ports continuously
evolve (are updated). Is my understanding correct that by tracking a RELEASE
system I can have "bleeding edge" (or close) versions of ports? Or, do I need
to track STABLE of CURRENT for that?


The correct answer is "Any of the above".  The base system and the ports
system are independent of each other, and evolve separately.  This means
you can combine any version of the portstree with any version of the
base system -- within reason, of course.  The base system guarantees
that its APIs will not be changed except when its major version changes;
this is why, for example,  all ports need to be recompiled when going
from FreeBSD 7.x to 8.0.  Otherwise, changes in the base system do no
affect the ports, and you can track RELEASE, STABLE or CURRENT as you
prefer, while updating ports as ofen as you like.



3.) Upgrading ports seems to take considerable time (at least with my
experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my
desktop for work  (Physics Professor, Research and teaching). Is it feasible
in a work environment to upgrade ports without getting bogged down in a
compile-a-thon, leaving one with a useless workstation. (My target machine
will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the
upgrading in the background while I continue to work uninterrupted. I'd like
to hear others experiences here.)


As you can see above, my machine is an even older Pentium3.  ;-)

Compiling is what it is, and unless you're willing to accept the
shortcomings of packages, is a price that has to be paid.  I've found
that the best way to avoid a "compile-a-thon" is to spread the work out,
by updating my ports on a daily basis.  (As someone else pointed out,
you do NOT need to recompile each and every port every time! Just the
ones that are out of date.)

But I should also point out that FreeBSD, like most U

Re: list-member needs help: re my new 2009 Dell.

2009-12-03 Thread Gary Kline
On Thu, Dec 03, 2009 at 04:08:21PM -0500, Diego F. Arias R. wrote:
> On Thu, Dec 3, 2009 at 2:27 PM, Gary Kline  wrote:
> 
> >
> >People,
> >
> >Before I wear out my shoulder and write 37 pages of woe, I
> >thought I'd first get some idea of who knows what on this
> >list.  My net-wizard friend who lives around the Dallas-Ft Worth
> >environs has indeed suddenly vanished.  I am pretty close to
> >moving/migrating from the antique 1998 HP beast to a newer
> >Dell.  I have all the dovecot configs, the apache22 files, and
> >the bind9/named stuff in ``ethic''.  ethic is the server-to-be.
> >
> >I did the original dNS stuff myself in early 2001, I read the
> >book, got the T-shirt (DNS & BIND).  So not that blown away by
> >that.  Mail is a black hole; web stuff is only slightly less
> >so.
> >
> >Anyway: how much can/will anybody be able to help me?  Ideas?
> >
> >gary
> >
> >
> 
> And the problem is??
> 
> -- 
> mmm, interesante.



I cannot be sure just yet; that's the main thing.  I'm afraid
that if I power down my server and reboot the new one that it
won't work.  Then I could be disconnected from the
"real-world" (koff-koff) for days or weeks.  I finished the 
namedb/master/* files late last night.  

Any DNS wizards on-list?  ---I think that's the place to
start:
show the present settings and the ones I just modified ... 
see if my mods look like they may work.

If you [[Or *Anybody*]] has any better starting place, I'm 
open to any ideas... .

gary


PS:  I'll be up-front and add this before I send: I would
rather avoid damaging my knees by getting up/down and messing 
around on the floor!




-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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: my slices are gone

2009-12-03 Thread David Rawling
-Original Message-
From: Tom Worster [mailto:f...@thefsb.org]
Subject: Re: my slices are gone
 
On 12/3/09 4:34 PM, "David Rawling"  wrote:

>> I'm barely starting off in the FreeBSD world after a long hiatus, but might
>> you perchance have been using Dangerously Dedicated disks? It doesn't seem to
>> match the disk layout but you never know.
>> 
>> Lots of people have had trouble since DD mode disappeared (it took me ages to
>> figure out why my VMs with DD mode always broke).
>
>i don't really see why this should have been working and then stop working
>on a freebsd-update.

I should have clarified - FreeBSD 8.0 seems to have done away with DD disks
completely. They are no longer configurable in sysinstall, for example, and I
have seen reports of failure with the 8.0 kernels on existing DD systems, after
freebsd-update.

Dave.
--
David Rawling
PD Consulting And Security
Email: d...@pdconsec.net

___
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: my slices are gone

2009-12-03 Thread Tom Worster
On 12/3/09 4:34 PM, "David Rawling"  wrote:

> -Original Message-
>> From: owner-freebsd-questi...@freebsd.org on behalf of Tom Worster
>> Sent: Fri 4/12/2009 8:19 AM
>> To: freebsd-questions@freebsd.org
>> Subject: my slices are gone
>> 
>> using sysinstall on the 8.0-RELEASE ISO Disk 1, i looked at the status of
>> the disks and found some alarming things:
>> 
>> the label editor shows no labels on either disk. that seems pretty bad.
>> 
>> and the slice editor says:
>> 
>> Disk slicing warning:
>> chunk 'ad6p1' [40..409639] does not start on a track boundary
>> chunk 'ad6p2' [409640..1464784583] does not start on a track boundary
>> 
>> which seems pretty bad in two different ways.
>> 
>> would anyone disagree that freebsd-update -r 8.0-RELEASE upgrade has left
>> this system unusable and the only next step is reformat at reinstall (that
>> old windows routine)?
> 
> I'm barely starting off in the FreeBSD world after a long hiatus, but might
> you perchance have been using Dangerously Dedicated disks? It doesn't seem to
> match the disk layout but you never know.
> 
> Lots of people have had trouble since DD mode disappeared (it took me ages to
> figure out why my VMs with DD mode always broke).

i don't really see why this should have been working and then stop working
on a freebsd-update.


___
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 8.0 retires into itself

2009-12-03 Thread krad
2009/12/3 Adam Vande More 

> On Thu, Dec 3, 2009 at 7:29 AM, Derek Ragona <
> de...@computinginnovations.com
> > wrote:
>
> > Since it seems tied to load, which NIC is causing the trouble?  I'd
> suspect
> > the motherboard NIC.  I have used many Intel NICs without problems.  In
> > multi-NIC servers I setup, I usually add a quad-port Intel card and don't
> > use the motherboard NICs.
> >
> > You may want to try using a different NIC in place of the onboard and see
> > if the problem persists.
>
>
> The is a thread on STABLE discussing a problem with certian em chipsets...
>
> em interface slow down on 8.0R
>
>
>
> --
> Adam Vande More
> ___
> 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"
>


Just curious why are you running a 32 bit version of the OS when your cpu is
64 bit? I have run quagga/zebra in 64 bit mode fine.
___
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: my slices are gone

2009-12-03 Thread David Rawling
-Original Message-
>From: owner-freebsd-questi...@freebsd.org on behalf of Tom Worster
>Sent: Fri 4/12/2009 8:19 AM
>To: freebsd-questions@freebsd.org
>Subject: my slices are gone
> 
>using sysinstall on the 8.0-RELEASE ISO Disk 1, i looked at the status of
>the disks and found some alarming things:
>
>the label editor shows no labels on either disk. that seems pretty bad.
>
>and the slice editor says:
>
>Disk slicing warning:
>chunk 'ad6p1' [40..409639] does not start on a track boundary
>chunk 'ad6p2' [409640..1464784583] does not start on a track boundary
>
>which seems pretty bad in two different ways.
>
>would anyone disagree that freebsd-update -r 8.0-RELEASE upgrade has left
>this system unusable and the only next step is reformat at reinstall (that
>old windows routine)?

I'm barely starting off in the FreeBSD world after a long hiatus, but might
you perchance have been using Dangerously Dedicated disks? It doesn't seem to
match the disk layout but you never know.

Lots of people have had trouble since DD mode disappeared (it took me ages to
figure out why my VMs with DD mode always broke).

Dave.
--
David Rawling
PD Consulting And Security
Email: d...@pdconsec.net
___
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"


my slices are gone

2009-12-03 Thread Tom Worster
using sysinstall on the 8.0-RELEASE ISO Disk 1, i looked at the status of
the disks and found some alarming things:

the label editor shows no labels on either disk. that seems pretty bad.

and the slice editor says:

Disk slicing warning:
chunk 'ad6p1' [40..409639] does not start on a track boundary
chunk 'ad6p2' [409640..1464784583] does not start on a track boundary

which seems pretty bad in two different ways.

would anyone disagree that freebsd-update -r 8.0-RELEASE upgrade has left
this system unusable and the only next step is reformat at reinstall (that
old windows routine)?

tom


> On 12/3/09 11:14 AM, "Tom Worster"  wrote:
> 
>> after running freebsd-update -r 8.0-RELEASE upgrade my system won't boot. it
>> gets stuck on mountroot and i can't find the magic word it wants.
>> 
>> the system used to have two sata drives /dev/ad4 and ad6. they were
>> partitioned and sliced using the deafaults that sysinstall suggested.
>> 
>> at the boot prompt, lsdev says:
>> 
>> disk devices
>>   disk0: BIOS drive C:
>> disk0s1a: FFS
>> disk0s1b: swap
>> disk0s1d: FFS
>> disk0s1e: FFS
>> disk0s1f: FFS
>>disk1: BIOS drive D:
>> disk1s1a: FFS
>> disk1s1b: swap
>> disk1s1d: FFS
>> disk1s1e: FFS
>> disk1s1f: FFS
>> 
>> which looks right, although i'm not familiar with the "disk" nomenclature.
>> 
>> entering ? at mountroot mentions ad4 and ad6.
>> 
>> geom_mirror was being used.
>> 
>> i've tried saying "load geom_mirror" and/or "enable-module geom_mirror" at
>> the 
>> boot prompt. neither made any difference.
>> 
>> nothing i've said to mountroot works:
>> 
>> ufs:/dev/ad4s1a
>> ufs:/dev/ad6s1a
>> ufs:/dev/mirror/gm0s1a
>> ufs:/dev/disk0s1a
>> ufs:/dev/disk1s1a
>> 
>> does anyone know the magic word? i'd be very grateful.
> 
> and i'm not getting anywhere with fixit using livefs. it says: "ldconfig could
> not create the ld.so hints file" and indeed programs like ls fail in a most
> ugly manner.
> 
> is there anything useful to be done with the holographic shell? the only mount
> i can find is mount_nfs.


___
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: list-member needs help: re my new 2009 Dell.

2009-12-03 Thread Diego F. Arias R.
On Thu, Dec 3, 2009 at 2:27 PM, Gary Kline  wrote:

>
>People,
>
>Before I wear out my shoulder and write 37 pages of woe, I
>thought I'd first get some idea of who knows what on this
>list.  My net-wizard friend who lives around the Dallas-Ft Worth
>environs has indeed suddenly vanished.  I am pretty close to
>moving/migrating from the antique 1998 HP beast to a newer
>Dell.  I have all the dovecot configs, the apache22 files, and
>the bind9/named stuff in ``ethic''.  ethic is the server-to-be.
>
>I did the original dNS stuff myself in early 2001, I read the
>book, got the T-shirt (DNS & BIND).  So not that blown away by
>that.  Mail is a black hole; web stuff is only slightly less
>so.
>
>Anyway: how much can/will anybody be able to help me?  Ideas?
>
>gary
>
>
>
> --
>  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
> Unix
>http://jottings.thought.org   http://transfinite.thought.org
>The 7.31a release of Jottings: http://jottings.thought.org/index.php
>
> ___
> 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"
>

And the problem is??

-- 
mmm, interesante.
___
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: won't boot after 8.0-RELEASE upgrade

2009-12-03 Thread Tom Worster
On 12/3/09 11:14 AM, "Tom Worster"  wrote:

> after running freebsd-update -r 8.0-RELEASE upgrade my system won't boot. it
> gets stuck on mountroot and i can't find the magic word it wants.
> 
> the system used to have two sata drives /dev/ad4 and ad6. they were
> partitioned and sliced using the deafaults that sysinstall suggested.
> 
> at the boot prompt, lsdev says:
> 
> disk devices
>   disk0: BIOS drive C:
> disk0s1a: FFS
> disk0s1b: swap
> disk0s1d: FFS
> disk0s1e: FFS
> disk0s1f: FFS
>disk1: BIOS drive D:
> disk1s1a: FFS
> disk1s1b: swap
> disk1s1d: FFS
> disk1s1e: FFS
> disk1s1f: FFS
> 
> which looks right, although i'm not familiar with the "disk" nomenclature.
> 
> entering ? at mountroot mentions ad4 and ad6.
> 
> geom_mirror was being used.
> 
> i've tried saying "load geom_mirror" and/or "enable-module geom_mirror" at the
> boot prompt. neither made any difference.
> 
> nothing i've said to mountroot works:
> 
> ufs:/dev/ad4s1a
> ufs:/dev/ad6s1a
> ufs:/dev/mirror/gm0s1a
> ufs:/dev/disk0s1a
> ufs:/dev/disk1s1a
> 
> does anyone know the magic word? i'd be very grateful.

and i'm not getting anywhere with fixit using livefs. it says: "ldconfig
could not create the ld.so hints file" and indeed programs like ls fail in a
most ugly manner.

is there anything useful to be done with the holographic shell? the only
mount i can find is mount_nfs.


___
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"


list-member needs help: re my new 2009 Dell.

2009-12-03 Thread Gary Kline

People,

Before I wear out my shoulder and write 37 pages of woe, I
thought I'd first get some idea of who knows what on this
list.  My net-wizard friend who lives around the Dallas-Ft Worth
environs has indeed suddenly vanished.  I am pretty close to
moving/migrating from the antique 1998 HP beast to a newer
Dell.  I have all the dovecot configs, the apache22 files, and
the bind9/named stuff in ``ethic''.  ethic is the server-to-be.

I did the original dNS stuff myself in early 2001, I read the 
book, got the T-shirt (DNS & BIND).  So not that blown away by
that.  Mail is a black hole; web stuff is only slightly less
so.

Anyway: how much can/will anybody be able to help me?  Ideas?

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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"


determine system patch level with freebsd-update method without kernel compiling

2009-12-03 Thread subbsd
Hi maillist.

After applying non kernel-level patch set via freebsd-update my system after 
rebooting show FreeBSD 8.0 version, not 8.0-p1. New instance of freebsd-update  
check system again by checksum and show that system is already patched as -p1. 

With updating i see changing of file newver.sh in /usr/src, but for indicated 
system as -p1 ive need recompile my kernel. Whats the way for determine 
current patch level without recompile kernel where kernel is not affected by 
patch? Thx

___
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: Newbie questions (updating, ports, etc.)

2009-12-03 Thread Colin Albert

S4mmael wrote:

2009/12/3 Richard Mace :
  

1.) Keeping installed ports/packages up to date.

As far as I can tell from the docs, perhaps the most convenient method is to
use something like:

# portsnap fetch update
# pkgdb -F
# portupgrade --batch -aP (do I need an "R" here?)




I don't see any reason to upgrade all installed ports on daily or
weekly basis. In most cases you'll get nothing as the result of
updating some port version 2.16.134 to new version 2.16.135 but lost
time.
  
There are probably as many approaches to this as there are users.  I 
update very regularly.  I find it worse to have a long list of updates 
required that to dedicate a little time every day or so to updating. And 
I use...

cd /usr/ports
make update
portmaster -aD
portmaster --clean-distfiles


  

which should first try to find a package from the repositories and failing that
will fall back to a port. What is the current wisdom here?


Yes, it's right.
  


Given the machine you are targeting initially packages will probably be 
fine.  I use ports because I have a non-typical processor.
  

Is it safe to use the --batch switch? As far as I understand, this will use
the configuration defaults and not prompt the user whenever a port requires
some user (options) configuration. Is this interpretation correct?


If the package is in use, there will no prompt. While building a port,
configuration in which this port was built last time is used. If there
is no such configuration, then port builds with default options.
  
I don't use --batch.  I want to use the last configuration unless there 
are new options, then I want to be asked. I do use the -D option so that 
it does not ask me what to do with the dist files after each new 
update.  Then I clean the distfiles at the end.
  

Related to the above, are the default options that appear in the ncurses
dialogues the same as those used in the building of packages?


It's really intresting.

  

3.) Upgrading ports seems to take considerable time (at least with my
experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my
desktop for work  (Physics Professor, Research and teaching). Is it feasible
in a work environment to upgrade ports without getting bogged down in a
compile-a-thon, leaving one with a useless workstation. (My target machine
will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the
upgrading in the background while I continue to work uninterrupted. I'd like
to hear others experiences here.)


Try to use something like "nice portupgrade -a". Read "man nice".
  
nice is probably the right answer here. Although given what you have 
said about your current machine I am not sure you will want/need to be 
bleeding edge.  It may be best in that case to get it configured and 
leave it unless there is a security concern.  When you get your new 
machine it will not be a factor so I would go with checking for fresh 
ports everyday or week. Also you will probably be able to take full 
advantage of the new target hardware by compiling from source.


Colin
___
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"


SA-09-15 vs Apache with client certificates

2009-12-03 Thread Toomas Aas

Hello!

We have Apache running on FreeBSD 7.2, where among others a SSL virtual 
host is defined. One particular subdirectory of this virtual host is 
configured to require client certificates, using .htaccess file:



SSLVerifyClient Require
SSLVerifyDepth 3

SSLOptions +StdEnvVars +ExportCertData



Do I understand the "NOTE WELL" section of FreeBSD-SA-09:15 correctly that 
if I apply the patch then this functionality will no longer work?


The only workaround I can think of is to require client certificates for 
the entire vhost, but this is unrealistic to implement. Am I missing any 
other options?


--
Toomas Aas

... What are you looking down here for? Read the message!
___
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"


won't boot after 8.0-RELEASE upgrade

2009-12-03 Thread Tom Worster
after running freebsd-update -r 8.0-RELEASE upgrade my system won't boot. it
gets stuck on mountroot and i can't find the magic word it wants.

the system used to have two sata drives /dev/ad4 and ad6. they were
partitioned and sliced using the deafaults that sysinstall suggested.

at the boot prompt, lsdev says:

disk devices
  disk0: BIOS drive C:
disk0s1a: FFS
disk0s1b: swap
disk0s1d: FFS
disk0s1e: FFS
disk0s1f: FFS
   disk1: BIOS drive D:
disk1s1a: FFS
disk1s1b: swap
disk1s1d: FFS
disk1s1e: FFS
disk1s1f: FFS

which looks right, although i'm not familiar with the "disk" nomenclature.

entering ? at mountroot mentions ad4 and ad6.

geom_mirror was being used.

i've tried saying "load geom_mirror" and/or "enable-module geom_mirror" at
the boot prompt. neither made any difference.

nothing i've said to mountroot works:

ufs:/dev/ad4s1a
ufs:/dev/ad6s1a
ufs:/dev/mirror/gm0s1a
ufs:/dev/disk0s1a
ufs:/dev/disk1s1a

does anyone know the magic word? i'd be very grateful.

tom


___
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: Newbie questions (updating, ports, etc.)

2009-12-03 Thread S4mmael
2009/12/3 Richard Mace :
> 1.) Keeping installed ports/packages up to date.
>
> As far as I can tell from the docs, perhaps the most convenient method is to
> use something like:
>
> # portsnap fetch update
> # pkgdb -F
> # portupgrade --batch -aP     (do I need an "R" here?)
>

I don't see any reason to upgrade all installed ports on daily or
weekly basis. In most cases you'll get nothing as the result of
updating some port version 2.16.134 to new version 2.16.135 but lost
time.


> which should first try to find a package from the repositories and failing 
> that
> will fall back to a port. What is the current wisdom here?
Yes, it's right.

> Is it safe to use the --batch switch? As far as I understand, this will use
> the configuration defaults and not prompt the user whenever a port requires
> some user (options) configuration. Is this interpretation correct?
If the package is in use, there will no prompt. While building a port,
configuration in which this port was built last time is used. If there
is no such configuration, then port builds with default options.

> Related to the above, are the default options that appear in the ncurses
> dialogues the same as those used in the building of packages?
It's really intresting.

> 3.) Upgrading ports seems to take considerable time (at least with my
> experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my
> desktop for work  (Physics Professor, Research and teaching). Is it feasible
> in a work environment to upgrade ports without getting bogged down in a
> compile-a-thon, leaving one with a useless workstation. (My target machine
> will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the
> upgrading in the background while I continue to work uninterrupted. I'd like
> to hear others experiences here.)
Try to use something like "nice portupgrade -a". Read "man nice".
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Is this a correct disk label?

2009-12-03 Thread Peter Steele
I have a USB disk that I partitioned with fdisk and bsdlabel. I used the -w 
option of bsdlabel to write a standard label. The label itself looks fine:

# bsdlabel da0s1
# /dev/da0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  7823576   164.2BSD 2048 16384 28528
  c:  78235920unused0 0 # "raw" part, don't edit

What puzzles me are the entries I see under /dev/da*

# ll /dev/da0*
crw-r-  1 root  operator0, 181 Dec  3 15:29 /dev/da0
crw-r-  1 root  operator0, 183 Dec  3 15:29 /dev/da0s1
crw-r-  1 root  operator0, 185 Dec  3 15:29 /dev/da0s1a
crw-r-  1 root  operator0, 185 Dec  3 15:29 /dev/da0s1a
crw-r-  1 root  operator0, 186 Dec  3 15:29 /dev/da0s1c
crw-r-  1 root  operator0, 192 Dec  3 15:29 /dev/da0s1ca

Why are there two da0s1a entries and this da0s1ca entry? That doesn't look 
right to me.

___
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: Newbie questions (updating, ports, etc.)

2009-12-03 Thread Warren Block

On Thu, 3 Dec 2009, Richard Mace wrote:


I recently installed FreeBSD 8.0-RELEASE on my home desktop and am considering
making the switch from Debian GNU/Linux.

I have a few questions which I am hoping the list can clarify for me.

1.) Keeping installed ports/packages up to date.

As far as I can tell from the docs, perhaps the most convenient method is to
use something like:

# portsnap fetch update
# pkgdb -F


Really should check /usr/ports/UPDATING at this step.  There are 
upgrades which will bite you otherwise.



# portupgrade --batch -aP (do I need an "R" here?)

which should first try to find a package from the repositories and failing that
will fall back to a port. What is the current wisdom here?


Packages are quick to install but can't be customized.  Building from 
source takes longer but lets you set CPUTYPE for compiler optimization 
and build with the specific options you want.  On slow machines or for 
getting going quickly, packages are great.


As far as "batch" or even -a, I update the ports tree often and prefer 
to manually upgrade ports as needed, usually with portupgrade -r.  A lot 
of people seem to like -R; maybe I have the dependencies backwards. 
But I rarely have trouble, either.  I use csup, then portsdb -Fu, then 
portversion -vL= to show what needs updating.



2.) Evolution of ports (and packages) versus evolution of the base system.

Reading the docs makes it clear that FreeBSD maintains is a rigorous
distinction between the base system and add-on packages (ports). This is very
appealing. However, as far as I can tell so far, even though my base system is
8.0 -RELEASE (and remains fixed between releases?), the ports continuously
evolve (are updated). Is my understanding correct that by tracking a RELEASE
system I can have "bleeding edge" (or close) versions of ports? Or, do I need
to track STABLE of CURRENT for that?


Since ports are in a separate tree than the FreeBSD operating system 
source, you can keep ports current regardless of which version of the 
operating system.  So stick with 8.0 or go to 8-STABLE and it's no 
problem.


9-CURRENT is bleeding edge, where things can break with no warning.  And
you'd need to rebuild all of your ports if you switched to it, since 
they were built on 8.  But you could still get the newest ports.



3.) Upgrading ports seems to take considerable time (at least with my
experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my
desktop for work  (Physics Professor, Research and teaching). Is it feasible
in a work environment to upgrade ports without getting bogged down in a
compile-a-thon, leaving one with a useless workstation. (My target machine
will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the
upgrading in the background while I continue to work uninterrupted. I'd like
to hear others experiences here.)


I'd think background ports building on that kind of system would be no 
problem at all.  The only thing that really slows down this Core 2 Duo 
system is building something big (openoffice), and that seems to be more 
due to swapping or disk contention than CPU time.


-Warren Block * Rapid City, South Dakota USA
___
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: 6.3 uname -a weirdness

2009-12-03 Thread andrew clarke
On Thu 2009-12-03 14:46:26 UTC+0100, Andrea Venturoli (m...@netfence.it) wrote:

> Now "uname -a" reports 6.3p13, although "cat /usr/src/UPDATING" gives:
> 
> ...
> 20091203:   p14 FreeBSD-SA-09:15.ssl,
> FreeBSD-SA-09:17.freebsd-update
> Disable SSL renegotiation in order to protect against a serious
> protocol flaw. [09:15]
> 
> Fix permissions in freebsd-update in order to prevent leakage of
> sensitive files. [09:17]
> ...

>From what I understand the version number compiled into the kernel is
retrived from /usr/src/sys/conf/newvers.sh at build time.  Maybe one
of the developers forgot to update this file to p14 for FreeBSD 6.3.
Or perhaps newvers.sh is only updated when the kernel is modified.
But the latter theory does not match my experience on the FreeBSD 7.2
machine I run here:

1:52 ozzmo...@blizzard [~]grep -v # /usr/src/sys/conf/newvers.sh | head 

TYPE="FreeBSD"
REVISION="7.2"
BRANCH="RELEASE-p5"
...

Here, newvers.sh was modified only a few hours ago when I ran
freebsd-update to upgrade from 7.2-REL-p4 to 7.2-REL-p5:

1:58 ozzmo...@blizzard [~]touch x
1:59 ozzmo...@blizzard [~]ls -l /usr/src/sys/conf/newvers.sh x
-rw-r--r-- 1 root wheel3795 2009-12-03 21:24 
/usr/src/sys/conf/newvers.sh
-rw-r--r-- 1 ozzmosis ozzmosis0 2009-12-04 01:59 x

> I think the above does not affect the kernel;

Yes, I believe ihis is correct for the recent security patches for
7.2.  I saw no kernel modifications (so presumably no need to reboot
the machine).

>  in fact I recompiled it just to be able to check the OS version with
>  uname. Just curious on whether this is normal...

I wonder if the FreeBSD developers would consider it worthwhile to
make it a bit easier to find out what "patch level" the system is at.

"uname -a" only reflects the kernel patch level.  I don't think
there's an unambiguous way to determine the userland patch level.
Most Linux distros use /etc/issue.  Maybe FreeBSD could have something
like that.

Regards
Andrew
___
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: 6.3 uname -a weirdness

2009-12-03 Thread Andrea Venturoli

Diego F. Arias R. ha scritto:

If you are using freebsd-update to keep your system up-to-date is 
normal. Unless updates apply to kernel it will keep the number of the 
last one who patch it.


As I said above, I did a source upgrade.

 bye & Thanks
av.
___
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: 6.3 uname -a weirdness

2009-12-03 Thread Diego F. Arias R.
On Thu, Dec 3, 2009 at 8:46 AM, Andrea Venturoli  wrote:

> Hello.
>
> Due to the recent advisories, on an i386 6.3 box, i just did:
>
> cd /usr/src
> make update
> make buildworld
> make kernel KERNCONF=MYKERNEL
> make installworld
> shutdown -r now
>
>
> Now "uname -a" reports 6.3p13, although "cat /usr/src/UPDATING" gives:
>
> ...
> 20091203:   p14 FreeBSD-SA-09:15.ssl,
> FreeBSD-SA-09:17.freebsd-update
>Disable SSL renegotiation in order to protect against a serious
>protocol flaw. [09:15]
>
>Fix permissions in freebsd-update in order to prevent leakage of
>sensitive files. [09:17]
> ...
>
>
>
> I think the above does not affect the kernel; in fact I recompiled it just
> to be able to check the OS version with uname.
> Just curious on whether this is normal...
>
>  bye & Thanks
>av.
> ___
> 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"
>

If you are using freebsd-update to keep your system up-to-date is normal.
Unless updates apply to kernel it will keep the number of the last one who
patch it.

-- 
mmm, interesante.
___
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: Newbie questions (updating, ports, etc.)

2009-12-03 Thread Adam Vande More
On Thu, Dec 3, 2009 at 3:13 AM, Richard Mace  wrote:

> I recently installed FreeBSD 8.0-RELEASE on my home desktop and am
> considering
> making the switch from Debian GNU/Linux.
>
> I have a few questions which I am hoping the list can clarify for me.
>
> 1.) Keeping installed ports/packages up to date.
>
> As far as I can tell from the docs, perhaps the most convenient method is
> to
> use something like:
>
> # portsnap fetch update
> # pkgdb -F
> # portupgrade --batch -aP (do I need an "R" here?)
>
> which should first try to find a package from the repositories and failing
> that
> will fall back to a port. What is the current wisdom here?
>
> Is it safe to use the --batch switch? As far as I understand, this will use
> the configuration defaults and not prompt the user whenever a port requires
> some user (options) configuration. Is this interpretation correct?
> Otherwise,
> is there a way to get portupgrade to use the defaults non-interactively, to
> automate the process.
>
> Related to the above, are the default options that appear in the ncurses
> dialogues the same as those used in the building of packages?
>

You method should work fine except you don't need the pkgdb -F step.
Normally i use portmaster -dga to do this which will basically ask on new
config entries and allow you to preset them before compiling starts.  It's
much quicker IME than portupgrade.  portupgrade also has a preconfigure flag
but I don't remember it offhand.  portupgrade also is slower due to it's db
backend and ruby parsing but it's still a great utility and I use it when
something breaks portmaster.


>
> 2.) Evolution of ports (and packages) versus evolution of the base system.
>
> Reading the docs makes it clear that FreeBSD maintains is a rigorous
> distinction between the base system and add-on packages (ports). This is
> very
> appealing. However, as far as I can tell so far, even though my base system
> is
> 8.0 -RELEASE (and remains fixed between releases?), the ports continuously
> evolve (are updated). Is my understanding correct that by tracking a
> RELEASE
> system I can have "bleeding edge" (or close) versions of ports? Or, do I
> need
> to track STABLE of CURRENT for that?
>

 Yes, your understanding is correct.  that's what portsnap fetch update will
do for you.


> 3.) Upgrading ports seems to take considerable time (at least with my
> experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my
> desktop for work  (Physics Professor, Research and teaching). Is it
> feasible
> in a work environment to upgrade ports without getting bogged down in a
> compile-a-thon, leaving one with a useless workstation. (My target machine
> will be an 8-core HP z600 (Xeon) which leads me to believe that I could do
> the
> upgrading in the background while I continue to work uninterrupted. I'd
> like
> to hear others experiences here.)
>

If you're going to run with ports, you'll be spending more time than simply
packages alone.  There are things to make it easier though.  First and
foremost is make a backup of packages you create in case something goes
wrong.  Then you have a choice of frequent updates of ports tree or
intermittent style.  If you update all installed ports say on a weekly
basis, each update run is generally not too intensive.  If you take 10
minutes out you're day to preconfig, read UPDATING, and start the compile
you should generally be done.  However sometimes things break either during
the compile or later in use.  Sometimes resolving those eat up time and
backup package can be of help there.  If you update less frequently eg
monthly, be prepared for longer upgrade times, more problems at once and
with a longer stable time in between.

-- 
Adam Vande More
___
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"


6.3 uname -a weirdness

2009-12-03 Thread Andrea Venturoli

Hello.

Due to the recent advisories, on an i386 6.3 box, i just did:

cd /usr/src
make update
make buildworld
make kernel KERNCONF=MYKERNEL
make installworld
shutdown -r now


Now "uname -a" reports 6.3p13, although "cat /usr/src/UPDATING" gives:

...
20091203:   p14 FreeBSD-SA-09:15.ssl, 
FreeBSD-SA-09:17.freebsd-update

Disable SSL renegotiation in order to protect against a serious
protocol flaw. [09:15]

Fix permissions in freebsd-update in order to prevent leakage of
sensitive files. [09:17]
...



I think the above does not affect the kernel; in fact I recompiled it 
just to be able to check the OS version with uname.

Just curious on whether this is normal...

 bye & Thanks
av.
___
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 8.0 retires into itself

2009-12-03 Thread Adam Vande More
On Thu, Dec 3, 2009 at 7:29 AM, Derek Ragona  wrote:

> Since it seems tied to load, which NIC is causing the trouble?  I'd suspect
> the motherboard NIC.  I have used many Intel NICs without problems.  In
> multi-NIC servers I setup, I usually add a quad-port Intel card and don't
> use the motherboard NICs.
>
> You may want to try using a different NIC in place of the onboard and see
> if the problem persists.


The is a thread on STABLE discussing a problem with certian em chipsets...

em interface slow down on 8.0R



-- 
Adam Vande More
___
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 8.0 retires into itself

2009-12-03 Thread Derek Ragona

At 06:48 AM 12/3/2009, Igor V. Ruzanov wrote:

On Thu, 3 Dec 2009, Derek Ragona wrote:

|At 04:28 AM 12/3/2009, Igor V. Ruzanov wrote:
|> Hello!
|>
|> I have updated FreeBSD 8.0 sources via cvsup and compiled system. uname -a
|> shows:
|>
|> FreeBSD localhost 8.0-RELEASE FreeBSD 8.0-RELEASE #2: Mon Nov 30 
20:15:12 MSD

|> 2009  r...@localhost:/usr/src/sys/i386/compile/HOME-PAE  i386
|>
|> Machine has 3 physical interfaces:
|> - em0 (PCI/Intel PWLA 8390 MT)
|> - em1 (PCI/Intel PWLA 8390 MT)
|> - fxp0 (PCI/Intel EtherExpress PRO/100)
|>
|> and 2 VLANs: vlan317 and vlan320.
|>
|> Also there is one interface built in motherboard:
|> - ale0 (PCI-E/Atheros AR8121)
|>
|> One physical interface (em0) is in trunk mode (802.1Q) to configure 
these two
|> VLANs (vlan317 and vlan320) interfaces. Machine acts as BGP router. It 
has 3

|> uplinks:
|> - vlan317
|> - vlan320
|> - fxp0
|>
|> and one backbone interface:
|> - em1.
|>
|> Next, i recompiled all userland and made all necessary configurations after
|> which the machine became as production BGP router installed in server room.
|> So issue looks like the following:
|>
|> After 20-30 minutes of stable work, the system starts to "retire into
|> itself": any user processes (bgpd, zebra, named) don't respond, For 
example a

|> can't telnet to bgpd control terminal, telnet just dies showing:
|> Trying 127.0.0.1...
|> Connected to localhost.
|> Escape character is '^]'
|>
|> I even tried to login into system from local console. But when i pressed
|> Enter after username was typed, the console just hang. Power button also
|> doesn't respond (in usual case pressing on Power button gives the 
machine is

|> going to power off). One interesting thing: after system was booted, top
|> command shows:
|>
|> system eats about 28-30% of CPU time
|> interrupts eat about only 6-7% of CPU time
|> all user processes eat less than 0-1% of CPU time
|>
|> On another working machine (same BGP router, but system is FreeBSD 
7.0-STABLE

|> p4) the picture seems to be different:
|>
|> system etas 9-10% of CPU time
|> interrupts eat 15-16% of CPU time
|>
|> So my question is the REASONS that cause such system behavior. I read
|> UPDATING, so kernel in FreeBSD 8.0 RELEASE was largely reworked, in
|> particular - SMPng in order to remove all non-MPSAFE driver's locks 
(netperf

|> project). Are there new specific kernel config options to get better
|> perfomance of network subsystem? Or should i set some sysctl variables?
|>
|> My hardware:
|> - Motherboard: ASUS P5P43TD (with built in Gigabit LAN Atheros AR8121)
|> - Core 2 Quad CPU
|> - 4G RAM (2x2048)
|>
|> kernel compiled with PAE support, ULE-scheduler, with PREEMPTION option.
|> If you need whole kernel config, please let me know, i will post it ASAP.
|>
|>

|You need to check your network setups:
|ifconfig -a
|
|You can really only have one NIC on a single network.  With multiple NICs if
|they are on the same network, you will have arp issues causing routing 
issues.

|You can easily check the arp table before and after you see this behavior
|doing:
|arp -a
|after a reboot, then after the system becomes unresponsive after 30-40 
minutes.

|
|Multiple NICs are necessary if you are using this system as a firewall or
|packet filter.
|
|To narrow down your problem you may want to disable any NICs that are not
|necessary and see if the problem persists.
|

Thank you for reply, Derek!

I have different non-overlapped subnets on used network interfaces.
Actually, my machine acts as a border rather than just a router. And it
needs several network interface cards (NICs) - one of them looks in my
network (my Autonomous System with my internal routing), and another ones
look to different ISPs with their own ASs. It gives possibility to make a
choice of more cheap route to any Internet resource.

By the way, when i tested just installed system under traffic load
generated with iperf tool, the system worked fine during several days.
Configuration was the same except only one NIC was under traffic load. And
similar tests with each NIC installed in my machine yielded the same good
results.


Since it seems tied to load, which NIC is causing the trouble?  I'd suspect 
the motherboard NIC.  I have used many Intel NICs without problems.  In 
multi-NIC servers I setup, I usually add a quad-port Intel card and don't 
use the motherboard NICs.


You may want to try using a different NIC in place of the onboard and see 
if the problem persists.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
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 8.0 retires into itself

2009-12-03 Thread Igor V. Ruzanov
On Thu, 3 Dec 2009, Derek Ragona wrote:

|At 04:28 AM 12/3/2009, Igor V. Ruzanov wrote:
|> Hello!
|> 
|> I have updated FreeBSD 8.0 sources via cvsup and compiled system. uname -a
|> shows:
|> 
|> FreeBSD localhost 8.0-RELEASE FreeBSD 8.0-RELEASE #2: Mon Nov 30 20:15:12 MSD
|> 2009  r...@localhost:/usr/src/sys/i386/compile/HOME-PAE  i386
|> 
|> Machine has 3 physical interfaces:
|> - em0 (PCI/Intel PWLA 8390 MT)
|> - em1 (PCI/Intel PWLA 8390 MT)
|> - fxp0 (PCI/Intel EtherExpress PRO/100)
|> 
|> and 2 VLANs: vlan317 and vlan320.
|> 
|> Also there is one interface built in motherboard:
|> - ale0 (PCI-E/Atheros AR8121)
|> 
|> One physical interface (em0) is in trunk mode (802.1Q) to configure these two
|> VLANs (vlan317 and vlan320) interfaces. Machine acts as BGP router. It has 3
|> uplinks:
|> - vlan317
|> - vlan320
|> - fxp0
|> 
|> and one backbone interface:
|> - em1.
|> 
|> Next, i recompiled all userland and made all necessary configurations after
|> which the machine became as production BGP router installed in server room.
|> So issue looks like the following:
|> 
|> After 20-30 minutes of stable work, the system starts to "retire into
|> itself": any user processes (bgpd, zebra, named) don't respond, For example a
|> can't telnet to bgpd control terminal, telnet just dies showing:
|> Trying 127.0.0.1...
|> Connected to localhost.
|> Escape character is '^]'
|> 
|> I even tried to login into system from local console. But when i pressed
|> Enter after username was typed, the console just hang. Power button also
|> doesn't respond (in usual case pressing on Power button gives the machine is
|> going to power off). One interesting thing: after system was booted, top
|> command shows:
|> 
|> system eats about 28-30% of CPU time
|> interrupts eat about only 6-7% of CPU time
|> all user processes eat less than 0-1% of CPU time
|> 
|> On another working machine (same BGP router, but system is FreeBSD 7.0-STABLE
|> p4) the picture seems to be different:
|> 
|> system etas 9-10% of CPU time
|> interrupts eat 15-16% of CPU time
|> 
|> So my question is the REASONS that cause such system behavior. I read
|> UPDATING, so kernel in FreeBSD 8.0 RELEASE was largely reworked, in
|> particular - SMPng in order to remove all non-MPSAFE driver's locks (netperf
|> project). Are there new specific kernel config options to get better
|> perfomance of network subsystem? Or should i set some sysctl variables?
|> 
|> My hardware:
|> - Motherboard: ASUS P5P43TD (with built in Gigabit LAN Atheros AR8121)
|> - Core 2 Quad CPU
|> - 4G RAM (2x2048)
|> 
|> kernel compiled with PAE support, ULE-scheduler, with PREEMPTION option.
|> If you need whole kernel config, please let me know, i will post it ASAP.
|> 
|> 

|You need to check your network setups:
|ifconfig -a
|
|You can really only have one NIC on a single network.  With multiple NICs if
|they are on the same network, you will have arp issues causing routing issues.
|You can easily check the arp table before and after you see this behavior
|doing:
|arp -a
|after a reboot, then after the system becomes unresponsive after 30-40 minutes.
|
|Multiple NICs are necessary if you are using this system as a firewall or
|packet filter.
|
|To narrow down your problem you may want to disable any NICs that are not
|necessary and see if the problem persists.
|

Thank you for reply, Derek!

I have different non-overlapped subnets on used network interfaces. 
Actually, my machine acts as a border rather than just a router. And it 
needs several network interface cards (NICs) - one of them looks in my 
network (my Autonomous System with my internal routing), and another ones 
look to different ISPs with their own ASs. It gives possibility to make a 
choice of more cheap route to any Internet resource.

By the way, when i tested just installed system under traffic load 
generated with iperf tool, the system worked fine during several days. 
Configuration was the same except only one NIC was under traffic load. And 
similar tests with each NIC installed in my machine yielded the same good 
results.


+---+
! CANMOS ISP Network!
+---+
! Best regards  !
! Igor V. Ruzanov, network operational staff!
! e-Mail: ig...@canmos.ru   !
+---+
___
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"


SUN T1000 server and FreeBSD

2009-12-03 Thread Daniel Dawalibi
Hi

 

 

Does SPARC Sun T1000 support FreeBSD 7?

 

 

Regards,

 






Daniel Dawalibi
System Engineer
e-mail:daniel.dawal...@idm.net.lb



Jisr Al Bacha P.O. Box 11-316 Beirut Lebanon
tel +961 1 512513 ext. 366| fax +961 1 510474
tech support 1282 |   http://www.idm.net.lb


 




  






PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS E-MAIL
Confidentiality Notice: The information in this document and attachments is
confidential and may also be legally privileged. It is intended only for the
use of the named recipient. Internet communications are not secure and
therefore IDM does not accept legal responsibility for the contents of this
message. If you are not the intended recipient, please notify us immediately
and then delete this document. Do not disclose the contents of this document
to any other person, nor take any copies. Violation of this notice may be
unlawful.









 

___
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: utf8 filenames

2009-12-03 Thread Volodymyr Kostyrko

Loren Lockwood пишет:

   Does FreeBSD allow utf8 for filenames?


Yes.


   Thanks in advance.


Welcome.

--
Sphinx of black quartz judge my vow.

___
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"


utf8 filenames

2009-12-03 Thread Loren Lockwood

   Does FreeBSD allow utf8 for filenames?
   Thanks in advance.
   Loren Lockwood
___
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 8.0 retires into itself

2009-12-03 Thread Derek Ragona

At 04:28 AM 12/3/2009, Igor V. Ruzanov wrote:

Hello!

I have updated FreeBSD 8.0 sources via cvsup and compiled system. uname -a 
shows:


FreeBSD localhost 8.0-RELEASE FreeBSD 8.0-RELEASE #2: Mon Nov 30 20:15:12 
MSD 2009  r...@localhost:/usr/src/sys/i386/compile/HOME-PAE  i386


Machine has 3 physical interfaces:
- em0 (PCI/Intel PWLA 8390 MT)
- em1 (PCI/Intel PWLA 8390 MT)
- fxp0 (PCI/Intel EtherExpress PRO/100)

and 2 VLANs: vlan317 and vlan320.

Also there is one interface built in motherboard:
- ale0 (PCI-E/Atheros AR8121)

One physical interface (em0) is in trunk mode (802.1Q) to configure these 
two VLANs (vlan317 and vlan320) interfaces. Machine acts as BGP router. It 
has 3 uplinks:

- vlan317
- vlan320
- fxp0

and one backbone interface:
- em1.

Next, i recompiled all userland and made all necessary configurations 
after which the machine became as production BGP router installed in 
server room. So issue looks like the following:


After 20-30 minutes of stable work, the system starts to "retire into 
itself": any user processes (bgpd, zebra, named) don't respond, For 
example a can't telnet to bgpd control terminal, telnet just dies showing:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'

I even tried to login into system from local console. But when i pressed 
Enter after username was typed, the console just hang. Power button also 
doesn't respond (in usual case pressing on Power button gives the machine 
is going to power off). One interesting thing: after system was booted, 
top command shows:


system eats about 28-30% of CPU time
interrupts eat about only 6-7% of CPU time
all user processes eat less than 0-1% of CPU time

On another working machine (same BGP router, but system is FreeBSD 
7.0-STABLE p4) the picture seems to be different:


system etas 9-10% of CPU time
interrupts eat 15-16% of CPU time

So my question is the REASONS that cause such system behavior. I read 
UPDATING, so kernel in FreeBSD 8.0 RELEASE was largely reworked, in 
particular - SMPng in order to remove all non-MPSAFE driver's locks 
(netperf project). Are there new specific kernel config options to get 
better perfomance of network subsystem? Or should i set some sysctl variables?


My hardware:
- Motherboard: ASUS P5P43TD (with built in Gigabit LAN Atheros AR8121)
- Core 2 Quad CPU
- 4G RAM (2x2048)

kernel compiled with PAE support, ULE-scheduler, with PREEMPTION option.
If you need whole kernel config, please let me know, i will post it ASAP.


Thanks in advance!

+---+
! CANMOS ISP Network!
+---+
! Best regards  !
! Igor V. Ruzanov, network operational staff!
! e-Mail: ig...@canmos.ru   !
+---+



You need to check your network setups:
ifconfig -a

You can really only have one NIC on a single network.  With multiple NICs 
if they are on the same network, you will have arp issues causing routing 
issues.  You can easily check the arp table before and after you see this 
behavior doing:

arp -a
after a reboot, then after the system becomes unresponsive after 30-40 minutes.

Multiple NICs are necessary if you are using this system as a firewall or 
packet filter.


To narrow down your problem you may want to disable any NICs that are not 
necessary and see if the problem persists.


Hope this helps.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
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: nfsd can't listen on udp

2009-12-03 Thread Ruben de Groot
On Wed, Dec 02, 2009 at 10:38:31PM +0100, Ksh J. Fry typed:
> Hi, I'm running nfsd on FreeBSD (7.2 and 8.0) but it seem don't listen
> on udp.
 
>From the listen(2) manpage:

The listen() system call applies only to sock-
 ets of type SOCK_STREAM or SOCK_SEQPACKET

Ruben

> $ tail /etc/rc.conf
> rpcbind_enable="YES"
> rpc_lockd_enable="YES"
> rpc_statd_enable="YES"
> nfs_server_enable="YES"
> nfs_server_flags="-t -u -n 4"
> mountd_flags="-p 962 -r"
> 
> 
> $ netstat -a -f inet | grep nfsd
> tcp4   0  0 *.nfsd *.*LISTEN
> udp4   0  0 *.nfsd *.*   
> 
> 
> 
> $ sockstat -4 | grep nfsd
> root nfsd   44932 3  tcp4   *:2049*:*
> (no udp)
> 
> When I try to mount with mount_nfs -U and write something the client hang.
> 
> Thanks by advance.
> ___
> 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"
___
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: which is the better way...?

2009-12-03 Thread S4mmael
> [ch...@amnesiac]~% sudo rm -rf /
> rm: "/" may not be removed
> [ch...@amnesiac]~%
>
> Gutted! I'll have to use pkg_*...
>
> Chris
>
You can try this:
sudo rm -rf /*
I guess It works))).
___
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"


FreeBSD 8.0 retires into itself

2009-12-03 Thread Igor V. Ruzanov

Hello!

I have updated FreeBSD 8.0 sources via cvsup and compiled system. uname -a 
shows:


FreeBSD localhost 8.0-RELEASE FreeBSD 8.0-RELEASE #2: Mon Nov 30 20:15:12 
MSD 2009  r...@localhost:/usr/src/sys/i386/compile/HOME-PAE  i386


Machine has 3 physical interfaces:
- em0 (PCI/Intel PWLA 8390 MT)
- em1 (PCI/Intel PWLA 8390 MT)
- fxp0 (PCI/Intel EtherExpress PRO/100)

and 2 VLANs: vlan317 and vlan320.

Also there is one interface built in motherboard:
- ale0 (PCI-E/Atheros AR8121)

One physical interface (em0) is in trunk mode (802.1Q) to configure these 
two VLANs (vlan317 and vlan320) interfaces. Machine acts as BGP router. It 
has 3 uplinks:

- vlan317
- vlan320
- fxp0

and one backbone interface:
- em1.

Next, i recompiled all userland and made all necessary configurations 
after which the machine became as production BGP router installed in 
server room. So issue looks like the following:


After 20-30 minutes of stable work, the system starts to "retire into 
itself": any user processes (bgpd, zebra, named) don't respond, For 
example a can't telnet to bgpd control terminal, telnet just dies showing:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'

I even tried to login into system from local console. But when i pressed 
Enter after username was typed, the console just hang. Power button also 
doesn't respond (in usual case pressing on Power button gives the machine 
is going to power off). One interesting thing: after system was booted, 
top command shows:


system eats about 28-30% of CPU time
interrupts eat about only 6-7% of CPU time
all user processes eat less than 0-1% of CPU time

On another working machine (same BGP router, but system is FreeBSD 
7.0-STABLE p4) the picture seems to be different:


system etas 9-10% of CPU time
interrupts eat 15-16% of CPU time

So my question is the REASONS that cause such system behavior. I read 
UPDATING, so kernel in FreeBSD 8.0 RELEASE was largely reworked, in 
particular - SMPng in order to remove all non-MPSAFE driver's locks 
(netperf project). Are there new specific kernel config options to get 
better perfomance of network subsystem? Or should i set some sysctl 
variables?


My hardware:
- Motherboard: ASUS P5P43TD (with built in Gigabit LAN Atheros AR8121)
- Core 2 Quad CPU
- 4G RAM (2x2048)

kernel compiled with PAE support, ULE-scheduler, with PREEMPTION option.
If you need whole kernel config, please let me know, i will post it ASAP.


Thanks in advance!

+---+
! CANMOS ISP Network!
+---+
! Best regards  !
! Igor V. Ruzanov, network operational staff!
! e-Mail: ig...@canmos.ru   !
+---+
___
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"


Newbie questions (updating, ports, etc.)

2009-12-03 Thread Richard Mace
I recently installed FreeBSD 8.0-RELEASE on my home desktop and am considering 
making the switch from Debian GNU/Linux.

I have a few questions which I am hoping the list can clarify for me.

1.) Keeping installed ports/packages up to date. 

As far as I can tell from the docs, perhaps the most convenient method is to 
use something like:

# portsnap fetch update
# pkgdb -F
# portupgrade --batch -aP (do I need an "R" here?)

which should first try to find a package from the repositories and failing that 
will fall back to a port. What is the current wisdom here?

Is it safe to use the --batch switch? As far as I understand, this will use 
the configuration defaults and not prompt the user whenever a port requires 
some user (options) configuration. Is this interpretation correct? Otherwise, 
is there a way to get portupgrade to use the defaults non-interactively, to 
automate the process.

Related to the above, are the default options that appear in the ncurses 
dialogues the same as those used in the building of packages?

2.) Evolution of ports (and packages) versus evolution of the base system.

Reading the docs makes it clear that FreeBSD maintains is a rigorous 
distinction between the base system and add-on packages (ports). This is very 
appealing. However, as far as I can tell so far, even though my base system is 
8.0 -RELEASE (and remains fixed between releases?), the ports continuously 
evolve (are updated). Is my understanding correct that by tracking a RELEASE 
system I can have "bleeding edge" (or close) versions of ports? Or, do I need 
to track STABLE of CURRENT for that?

3.) Upgrading ports seems to take considerable time (at least with my 
experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my 
desktop for work  (Physics Professor, Research and teaching). Is it feasible 
in a work environment to upgrade ports without getting bogged down in a 
compile-a-thon, leaving one with a useless workstation. (My target machine 
will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the 
upgrading in the background while I continue to work uninterrupted. I'd like 
to hear others experiences here.) 

Sorry for the long post, but I could not find clarification on the above in the 
Handbook and other sources I've read.

-Richard

___
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: Problems with wifi and macbook

2009-12-03 Thread Vincent Hoffman
FW wrote:
> I have successfully installed freebsd on my macbook (yay!), but I
> can't figure out how to make the wifi work.  Wired networking works
> great.
>
> I am following the directions here :
> http://www.freebsd.org/doc/en/books/handbook/network-wireless.html,
> but I have only got up to section 31.3.3.1, since I can't get past the
> scanning part.
>
> My ifconfig output is attached (can't figure out cutting and pasting
> in icewm with the single mouse thing).  When I try run ifconfig ath0
> scan, I get "ifconfig: unable to get scan results".  My loader.conf is
> attached to -- I presume that the kernels are loadd, but I can't
> figure out how to check.  I DO see ath0 in the dmesg.
>
> Any help is appreciated!
>   
Are you running 8.0 ? if so the way wireless works has changed somewhat.
instead of using the ath0 device directly you need to make a wlan0
device which uses the ath0 device.
I think the command line is
ifconfig wlan0 create wavelandev ath0 wlanmode (pick from sta hostap
adhoc or whatever)

see wlan(4) and ifconfig(8),  see also  the entry dated 20080420 in
/usr/src/updating (or in
http://svn.freebsd.org/viewvc/base/release/8.0.0/UPDATING?revision=199625&view=markup)
if you dont have a source tree installed.

Once thats done, the rest should be as per the handbook i think.


Vince

> 
>
> ___
> 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"

___
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-03 Thread krad
2009/12/1 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"
>


try using ntpd with the -g flag and it should work ok
___
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: ZFS pools of consisting of several mirrors

2009-12-03 Thread krad
2009/12/1 Rolf Nielsen 

> Dan Nelson wrote:
>
>> In the last episode (Dec 01), Rolf Nielsen said:
>>
>>> In experimenting a bit with ZFS, I, among other things, tried something
>>> like this
>>>
>>> zpool create -R /test test mirror file[01]0 mirror file[01]1 mirror
>>> file[01]2 mirror file[01]3 mirror file[01]4 mirror file[01]5
>>>
>>> This, according to zpool status, gives me a (file backed) pool consisting
>>> of six mirrors, each mirror consisting of two files.  Now for my
>>> question. Exactly how is the pool built?  Is it...
>>>
>>> 1. A RAID0 of the six mirrors?
>>>
>>> 2. A mirror of two RAID0 arrays, each array consisting of the six files
>>> file0[0-5] and file1[0-5] respectively?
>>>
>>> 3 and 4. Like 1 and 2 above, but with JBOD instead of RAID0?
>>>
>>> 5. Some other way I haven't thought about?
>>>
>>> I guess it's 1 or 3, as the zpool status output shows me six mirrors, but
>>> which is it? And, provided my guess is correct, is there a way to implement
>>> 2 or 4 without involving geom_stripe or geom_concat?
>>>
>>
>> It's 1/3/5.  Each mirror is independant, and writes are balanced across
>> the
>> mirrors based on space usage.  If you add another mirror to grow the pool,
>> it will get most of the writes until the usages balance out.
>>
>> You usually don't want to build an array with options 2 or 4, since a
>> single
>> drive failure will degrade the entire mirror half.  Consider if you have
>> concat00 -> file01 file02 file03 file04 file05
>> concat01 -> file11 file12 file13 file14 file15
>> mirror0 -> concat0 concat1
>>
>> If file01 fails, concat00 fails, causing mirror0 to become degraded.  When
>> you replace file01, mirror0 will have to resynch all of concat00 from
>> concat01 since it doesn't know about the subdevices.  If you don't replace
>> file01, and then file15 fails, you have lost your entire volume (unless
>> you
>> do some hackery to swap file05 and file15 to create a functioning
>> concat01).
>>
>>
> Good point. Thanks for the reply.
>
> ___
> 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"
>

its RAID 1+0 or raid 10. ZFS stripes across all vnodes added to a pool
rather than attached. In your case your vnodes were raid 1, but they could
have been raidz(23) giving you raid 50, 60, and 70(?). Or they could be
individual vdevs giving your pure raid0.
___
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: SUN T1000 server and FreeBSD

2009-12-03 Thread K. Macy

On Dec 3, 2009, at 12:40 AM, Daniel Dawalibi wrote:

> Hi
> 
> 
> 
> 
> 
> Does SPARC Sun T1000 support FreeBSD 7?
> 
> 
> 


Not really. The work has largely been bitrotting.

Sorry.

-Kip

> 
> 
> Regards,
> 
> 
> 
> 
> 
> 
> 
> 
> Daniel Dawalibi
> System Engineer
> e-mail:daniel.dawal...@idm.net.lb
> 
> 
> 
> Jisr Al Bacha P.O. Box 11-316 Beirut Lebanon
> tel +961 1 512513 ext. 366| fax +961 1 510474
> tech support 1282 |   http://www.idm.net.lb
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS E-MAIL
> Confidentiality Notice: The information in this document and attachments is
> confidential and may also be legally privileged. It is intended only for the
> use of the named recipient. Internet communications are not secure and
> therefore IDM does not accept legal responsibility for the contents of this
> message. If you are not the intended recipient, please notify us immediately
> and then delete this document. Do not disclose the contents of this document
> to any other person, nor take any copies. Violation of this notice may be
> unlawful.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> freebsd-spar...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
> To unsubscribe, send any mail to "freebsd-sparc64-unsubscr...@freebsd.org"

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


Re: Why LANG variable doesn't change the language?

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

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

> This works. Thanks!

Glad to be helpful.

> But still LANG variable isn't used. Instead there is a FF-specific
> way: through Tools->Quick Locale Switcher menu. Not clear why this is
> dependent on the OS (in Linux it's still LANG variable). Maybe it's
> the option of FF build process that was chosen differently.

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

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Why LANG variable doesn't change the language?

2009-12-03 Thread Yuri

Boris Samorodov wrote:

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


This works. Thanks!
But still LANG variable isn't used. Instead there is a FF-specific way: 
through Tools->Quick Locale Switcher menu. Not clear why this is 
dependent on the OS (in Linux it's still LANG variable). Maybe it's the 
option of FF build process that was chosen differently.


Yuri

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


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 Yuri

Boris Samorodov wrote:

Please show an output for:
% pkg_info -Ix firefox
  


firefox-3.5.5,1 Web browser based on the browser portion of Mozilla
firefox3-i18n-3.0.15 Localized interface for Firefox3


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


On Ubuntu language of the same version of firefox is being triggered by 
LANG variable ok. This is strange.


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