java / azureus core dumps if cputype is set in make.conf

2005-03-26 Thread cyb
Hello everyone,

  I recently rebuilt my FreeBSD 5.3 system. I updated the source with
cvsup to RELENG_5_3 (security branch). This time i added the CPUTYPE,
CFLAGS and NOPROFILE variables to my /etc/make.conf so it would look
like this:

CPUTYPE= p4
CFLAGS= -O -pipe
NOPROFILE= true
PERL_VER=5.8.6
PERL_VERSION=5.8.6

Building and installing world and kernel went well, everything works
fine.

I installed Azureus (java bittorrent client). The problem is, if I
scroll a scrollbar or just go to the Azureus option menu, I get a core
dump of java and Azureus will give me the following messages in the
error log:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 10 occurred at PC=0x34C0CB3A
Function=_gtk_tree_view_queue_draw_node+0x1B5B
Library=/usr/X11R6/lib/libgtk-x11-2.0.so.600
...
Heap at VM Abort:
Heap
 def new generation   total 576K, used 250K [0x2c47, 0x2c51, 
0x2c95)  eden space 512K,  47% used [0x2c47, 0x2c4acd58, 0x2c4f)
  from space 64K,  11% used [0x2c50, 0x2c501e08, 0x2c51)
  to   space 64K,   0% used [0x2c4f, 0x2c4f, 0x2c50)
 tenured generation   total 5156K, used 4372K [0x2c95, 0x2ce59000, 
0x3047)
   the space 5156K,  84% used [0x2c95, 0x2cd95148, 0x2cd95200, 0x2ce59000)
 compacting perm gen  total 9216K, used 9013K [0x3047, 0x30d7, 
0x3447)
   the space 9216K,  97% used [0x3047, 0x30d3d718, 0x30d3d800, 0x30d7)

Local Time = Sat Mar 26 00:34:53 2005
Elapsed Time = 12
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p7-cyb_25_mar_2005_18_25 mixed 
mode)
#

After a lot of testing I was able to narrow the problem down to
gtk-2.6.4_1 which i had to built with this /etc/make.conf

#CPUTYPE= p4
CFLAGS= -O -pipe
NOPROFILE= true
PERL_VER=5.8.6
PERL_VERSION=5.8.6

Now my question, is it usefull to set the CPUTYPE in make.conf to
activate prozessor-specific optimizations at all?

taken from the example make.conf:
 # The CPUTYPE variable controls which processor should be targeted for
 # generated code.  This controls processor-specific optimizations in
 # certain code (currently only OpenSSL) as well as modifying the value
 # of CFLAGS to contain the appropriate optimization directive to gcc.

Has someone else had problems with Azureus/gtk2 if the CPUTYPE was set?
Is there a known bug in Azureus/gtk2 preventing the use of CPUTYPE?

Regards,
 Andreas

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81





signature.asc
Description: This is a digitally signed message part


Re: mot de passe root

2005-03-26 Thread Peter N. M. Hansteen
Anthony Atkielski [EMAIL PROTECTED] writes:

 This discussion seems very strange, since I don't really understand how
 anyone could effectively use FreeBSD (or any flavor of UNIX) without
 understanding English in the first place.  I've never heard of any
 localized versions of UNIX (?).

There's an amazing amount of material that has been localized into quite
a number of languages. I believe Gnome and KDE are pretty much fully
localized to most languages you can think of these days. 

I tend to run a Norwegian (Nynorsk or Bokmål, whatever I fancy that day)
KDE desktop myself. An ordinary user would get along fine on a typical
desktop system in their local language, IME. On the other hand your
friendly sysadmin would likely be at a great disadvantage with little or
no English.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


Re: kaudiocreator

2005-03-26 Thread Emanuel Strobl
Am Freitag, 25. März 2005 19:14 schrieb dick hoogendijk:
 kaudiocreator is a nice program for extracting audio tracks and
 converting them w/ almost any encoder. Only pittfall is hat kde is
 needed.

You can read audio tracks directly from ata CD-Drives with /dev/acd0t1 t2 t3 
etc. You just have to set the block size of 2352. (for examples see 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html)
The you can make ogg out of the resulting wave files for example...

-Harry


 Is there another program that comes close to the abilities and easy of
 use of this kaudicreator?
 -(My WM is fvmw)-
 I like fast running progs.


pgpPscub87F1S.pgp
Description: PGP signature


Dual Boot -- FreeBSD 5.4 and Fedora Core 3

2005-03-26 Thread Kan Cai
Greetings all:
  I tried to install Fedora Core 3 to my FreeBSD box and make it dual 
boot, but with no luck. The FreeBSD 5.4-Pre is installed in the first 
drive, and work like a champ. I intended to install Fedora Core 3 on my 
second disk, but anaconda crashed at the last moment. The first few lines 
of the dumped trace look as follows.

  Also, should I enable GRUB when installing Fedora, or should I enable it 
on hdb1? I am afraid that it ends up failing to boot my FreeBSD partition.

  Any suggestion and help on this will be most appreciated.
thanks and cheers,
--ken
---
Traceback (most recent call last):
  File /usr/src/build/475969-i386/install//usr/lib/anaconda/gui.py, line 
1074, in handleRenderCal
lback
self.currentWindow.renderCallback()
  File 
/usr/src/build/475969-i386/install//usr/lib/anaconda/iw/progress_gui.py, 
line 242, in rend
erCallback
self.intf.icw.nextClicked()
  File /usr/src/build/475969-i386/install//usr/lib/anaconda/gui.py, line 
789, in nextClicked
self.dispatch.gotoNext()
  File /usr/src/build/475969-i386/install//usr/lib/anaconda/dispatch.py, 
line 171, in gotoNext
self.moveStep()
  File /usr/src/build/475969-i386/install//usr/lib/anaconda/dispatch.py, 
line 239, in moveStep
rc = apply(func, self.bindArgs(args))
  File /usr/src/build/475969-i386/install//usr/lib/anaconda/packages.py, 
line 1155, in doPostInst
all
stdout = devnull)
  File /usr/lib/anaconda/iutil.py, line 53, in execWithRedirect
raise RuntimeError, command +  can not be run
RuntimeError: /usr/sbin/kudzu can not be run
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems starting X windows :S

2005-03-26 Thread Mario Hoerich
# faisal gillani:
 
 Fatal server error:
 xf86EnableIO: Failed to open /dev/io for extended I/O
 
 what can be wrong ?

/dev/io has been made a module a while back.  Either load mem/io
with kldload or rebuild your kernel with an additional 
device io
device mem

in your kernel config.

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


gbde - destroying master key without lockfile

2005-03-26 Thread Peter Schuller
Hello,

I would like to use gbde to encrypt some disks. Using an external lockfile
things work pretty much as documented (except for some options that aren't 
supported
by the tool, but which are listed in the manpage). However, for this particular
situation, I do not want to use an external lockfile.

The manpage seems to imply that without -L/-l, the first sector is used as a 
lockfile.
Indeed, I can init, attach and detach devices without an external lockfile. 
However,
when I attempt to destroy the master key:

 # gbde destroy /dev/label/storage304
 Enter passphrase: 
 Opened with key 0
 gbde: No -L option and no space in sector 0 for lockfile

Trying to use -L for this particular operation fails:

 gbde: illegal option -- L
 Usage error: Invalid option

And trying to specify -n -1 as the manpage says also fails:

 gbde: illegal option -- n
 Usage error: Invalid option

So the question is - how do I destroy the master key (other than dd 
if=/dev/zero of=...)
when not using an external lockfile?

(The reason I do not want to use an external lockfile is simply that I do not 
see a need
for it in my situation and I would feel much more comfortable if the gbde 
volume was
self-contained; no need to backup anything else or keep it in synch.)

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


Re: gbde - destroying master key without lockfile

2005-03-26 Thread Kees Plonsz
Peter Schuller wrote on Saturday 26 March 2005 12:09 in the group 
list.freebsd.questions:

 Hello,
 
 I would like to use gbde to encrypt some disks. Using an external lockfile
 things work pretty much as documented (except for some options that aren't
 supported by the tool, but which are listed in the manpage). However, for
 this particular situation, I do not want to use an external lockfile.
 
 The manpage seems to imply that without -L/-l, the first sector is used as
 a lockfile. Indeed, I can init, attach and detach devices without an
 external lockfile. However, when I attempt to destroy the master key:
 
  # gbde destroy /dev/label/storage304
  Enter passphrase:
  Opened with key 0
  gbde: No -L option and no space in sector 0 for lockfile
 
 Trying to use -L for this particular operation fails:
 
  gbde: illegal option -- L
  Usage error: Invalid option
 
 And trying to specify -n -1 as the manpage says also fails:
 
  gbde: illegal option -- n
  Usage error: Invalid option
 
 So the question is - how do I destroy the master key (other than dd
 if=/dev/zero of=...) when not using an external lockfile?
 
 (The reason I do not want to use an external lockfile is simply that I do
 not see a need for it in my situation and I would feel much more
 comfortable if the gbde volume was self-contained; no need to backup
 anything else or keep it in synch.)
 

Instead of destroy I use nuke.

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


Re: A Riddle

2005-03-26 Thread Xavier Maillard
On 25 Mar 2005, Chris wrote:

 If we're to prove a point to those that name call, are rude,
 troll, and all the other recent events, we must do so on our
 level. Allow them to spew what ever it is they spew, and we
 must simply either ignore it (the correct way imho) Kill em
 with kindness, OR, reply in such a fashion that the user has no
 idea what we're saying.
 
 Let's stop the erosion of this list now before it goes too far.
 
 Over and out...

I totally agree. This plus other things are the reasons why I
chose to switch to another OS.

Over and out too.
-- 
Xavier Maillard

main(){printf(unix[\021%six\012\0],(unix)[have]+fun-0x60);}


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


gnochm

2005-03-26 Thread Osmany Guirola Cruz
Hi people
  I recently installed gnochm via ports(building) and the compilation 
and installation was sucefully but alway a but :-) i get this error when 
i try to run it.
%gnochm
You do not have all of the required Python modules to run gnochm.
Check the gnochm README file for tips on how to fix this.
What follows is the error description highlighting the problematic module.

No module named gtkhtml2
I install the port via portupgrade(-R) and the dependency must be solved 
in the README file of the source i don't find nothing...How can i solve 
this problem ? i think that the proble is with python modules what 
should i do?

Thanks
OSMANY

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


ath driver usage for Netgear WG511T

2005-03-26 Thread Rodger Castle
I am trying to get a Netgear WG511T working with FreeBSD 5.3-RELEASE.

I noticed that this card was listed in my HARDWARE.TXT list, so I assumed it 
would be supported.  Upon trying this card, having it fail, and doing some 
digging in pccard.conf, I see that it is not.  I attempted to use ndis/if_ndis 
with the driver supplied with the card and it throws several errors as well.  I 
do not have access to the error logs at the moment as I am currently compiling 
an upgrade to 5.4-PRERELEASE to attempt to correct the problem.

Assuming this upgrade doesn't work, how should I address this problem and 
assist with its resolution?  Specifically, I am interested in using this card 
in a Toshiba Tecra 550CDT with the FlyingJ Travel Center's Wi-Fi system 
(http://www.tonservices.com/hisp_home.htm) as I travel a lot and would like to 
have a good, stable connection to use to login to my home servers.

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


Re: mot de passe root

2005-03-26 Thread Anthony Atkielski
Peter N. M. Hansteen writes:

 There's an amazing amount of material that has been localized into quite
 a number of languages. I believe Gnome and KDE are pretty much fully
 localized to most languages you can think of these days. 

I was thinking of UNIX itself, not X servers or related products.

I doubt that even Apple has bothered to localize any of the UNIX
software for OS X.  Unless one treats UNIX as a black-box desktop server
(with a localized GUI), it's going to be hard to work with the system
without knowing English.  And if it's ever necessary to go outside the
desktop GUI environment, there again, English is required.

-- 
Anthony


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


Re: .cshrc

2005-03-26 Thread Gert Cuykens
I dont have colors :(
How do you turn off the tab beep ?

# $FreeBSD: src/etc/root/dot.cshrc,v 1.29 2004/04/01 19:28:00 krion Exp $
# 
# .cshrc - csh resource script, read at beginning of execution by each shell
# 
# see also csh(1), environ(7).
#

alias h history 25
alias j jobs -l
alias lals -a 
alias lfls -FA
alias llls -lA

# A righteous umask
umask 22

set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
/usr/local/bin /usr/X11R6/bin $HOME/bin)

setenv  EDITOR  joe 
setenv  PAGER   more
setenv  BLOCKSIZE   K
setenv  CLICOLOR_FORCE  1

if ($?prompt) then
# An interactive shell -- set some stuff up
# set prompt = `/bin/hostname -s`# 
set prompt = [EMAIL PROTECTED]:%b%~%# 
set autolist = ambigous
set filec
set history = 100 
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey ^W backward-delete-word
bindkey -k up history-search-backward 
bindkey -k down history-search-forward
endif
endif
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ath driver usage for Netgear WG511T

2005-03-26 Thread Doug Poland
On Sat, Mar 26, 2005 at 07:30:41AM -0500, Rodger Castle wrote:
 I am trying to get a Netgear WG511T working with FreeBSD 5.3-RELEASE.
 
I use the same card in a Dell C600 laptop on 5.3-STABLE with no
problems.

 I noticed that this card was listed in my HARDWARE.TXT list, so I
 assumed it would be supported.  Upon trying this card, having it fail,
 and doing some digging in pccard.conf, I see that it is not.  I
 attempted to use ndis/if_ndis with the driver supplied with the card
 and it throws several errors as well.  I do not have access to the
 error logs at the moment as I am currently compiling an upgrade to
 5.4-PRERELEASE to attempt to correct the problem.
 
load if_ath.ko at boot


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


hyper threading.

2005-03-26 Thread Perttu Laine
I have 3,4ghz ht processor and freebsd shows up only one processors. I
suppose it should show two in ht models? so, GENERIC kernel doesn't
support it? but should I add to kernel config to enable it? by reading
config examples I think this should be enough:

options   SMP

but is it all I need?


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


Re: File corruption on uploaded files occuring (even under light load)

2005-03-26 Thread Stefan Haglund
Sorry, should have added that it's in FreeBSD 5.3. Does anyone know if 
there is any way to stress-test the PCI bus (preferably without external 
cards)?

Regards,
Stefan Haglund
I have an IWILL KK266-R (VIA KT133A/686B) board with an 1.4GHz 
processor running as a FreeBSD file  web server. The NIC is an Intel 
EtherExpress PRO/100 (I think it's called, fxp anyway). This board has 
an AMI RAID controller (CMD 649) onboard, which I use for all four 
drives (although not in RAID).

My problem:
Files uploaded to this server are sometimes corrupted. It doesn't have 
to be under high load, like directly uploading from a computer. It can 
also occur when I'm downloading from the internet on a computer, and 
save the file to the server. Another thing that is wierd, is that when 
the computer is fresh from a boot, there is always a few netstat Oerrs 
(5-30 I've seen this far) errors occuring when downloading or 
uploading, and never again.

I have run mprime stresstest for a good while, with no complaints. I 
have also tried another NIC, and also moving the NIC to other PCI 
slots. I've tried with kernels without APIC, tried disabling ACPI, and 
I've also disabled throttling. My friend is running a similar setup on 
his server, although a KT266A chipset, and no RAID controller 
(southbridge IDE), and it is solid as a rock.

Anyone have any ideas what might be causing these corruptions? 
Chipset? NIC? RAID controller?

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

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


Re: Anthony's drive issues.Re: ssh password delay

2005-03-26 Thread Colin J. Raven
On Mar 22 at 17:05, Anthony Atkielski said:
Bart Silverstrim writes:
--
And when people are saying that it's more likely X but you insist it's Y
and you don't want to take the time to do Y because there are others
who should be more competent with it, what are you going to do to
compensate them if they drop everything to do Y and find out it wasn't,
in fact, their fault?  Anything?
Who's going to pay me for the time I lose indulging them?
How much time have you lost _just_ within the context of this thread 
alone?
Everyone has attempted - with great diligence and considerable patience 
- to *help* you.

You said earlier (I seem to recall) that this isn't a production 
machine, thus presumably it's a personal project. With hardware of this 
vintage it's to be hoped so anyway.

My point is you've alreay lost timeon a personal project, with no 
certainty of an outcome under *any* OS. Are you so wired in that all the 
hours in your day are billable to some_project_or_other? If so, use the 
80/20 rule and tank this one. It's either that or if you *are* billing 
for your time, you don't understand consultant methodology...to say the 
least of it, because you would be agressively chasing a solution *OR* 
seeing the law of diminshing returns, abandon the project and go do 
something more profitable and with an outcome of some kindinstead of 
cursing out and maligning list members, the OS etc. etc.

I shouldn't have risen to this, but it's already gone from the realms of 
the sublime to the utterly absurd. You've argued _yourself_ into a loop 
from which there seems to be no egress. You're the one frothing 
endlessly about something that you could have gone a long way to 
troubleshooting or even gasp solving! You apparently elected not to 
for reasons best known to yourself. Thus - I think - it's time to put 
this down and give everyone a much deserved rest from the eternally
utterly futile series of exchanges.

sigh
Regards,
-Colin
--
Colin J. Raven
Sat Mar 26 13:08:00 CET 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sh interactive?

2005-03-26 Thread Alejandro Pulver
Hello,

How can I use 'sh' as an interactive shell?

My configuration files are the defaults.

The file '.profile' has the following:

[...]
# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV
[...]

The file '.shrc' has the following:

[...]
# Enable the builtin emacs(1) command line editor in sh(1),
# e.g. C-a - beginning-of-line.
set -o emacs
[...]

However it does not read '.shrc' even if I call it with '-i'.

Will this work if I use 'sh' as my default shell (I use 'tcsh')?

Thanks and Best Regards,
Ale
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pcm device numbering

2005-03-26 Thread Alejandro Pulver
Hello,

I have two sound cards:

SiS 7012 (C-Media Electronics CMI9739 AC97 Codec) - 'snd_ich'
Genius Sound Maker Value 5.1 (CMedia CMI8738) - 'snd_cmi'

The first is integrated in the motherboard, and it is detected first and
used as the default output device (pcm0). The second it detected after
the first, so it is used as the second output device (pcm1).

I want to use my second sound card as the default output device. I tried
using the loader.conf variables *_after and *_before, but they
always load them before booting the kernel, so the integrated card is
detected first and assigned to the default output device (pcm0). So I
have the drivers as modules, and load the driver for the second card
when booting the kernel, and then from the command line I load the
driver for the integrated card.

Is there a (clean, if possible) way to do this (with 'device.hints', or
rc scripts)?

Here is the relevant output of 'pciconf -vl' (after loading the
drivers in the desired order):

[EMAIL PROTECTED]:2:7:  class=0x040100 card=0x70121849 chip=0x70121039 rev=0xa0
hdr=0x00vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS7012 PCI Audio Accelerator'
class= multimedia
subclass = audio

[EMAIL PROTECTED]:9:0:  class=0x040100 card=0x03f6 chip=0x03f6 rev=0x10
hdr=0x00vendor   = 'C-Media Electronics Inc.'
device   = 'CMI8738/PCI C3DX PCI Audio Chip#20013;#22269;'
class= multimedia
subclass = audio

Thanks and Best Regards,
Ale
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ath driver usage for Netgear WG511T

2005-03-26 Thread Rodger Castle
Thanks for the tip, Doug.  I'm a bit sketchy on using and changing drivers as 
laptops seem to be the only time where non-standard drivers are required for me 
(by non-standard, I mean those not enabled by a default install).  I just 
finished the recompile of 5.4-PRERELEASE and loaded the if_ath driver and no 
errors seem to be thrown from dmesg or syslog.  I'll run out to the local truck 
stop tonight, see if it works, and report back.  It seems FlyingJ has some 
specific requirements for their Wi-Fi system but it could be that this is my 
first time experimenting with wi-fi.  At any rate, I'll put a full report of my 
findings tonight up here.

Thanks again for the help.

Rodger

On Sat, 26 Mar 2005 07:37:10 -0600
Doug Poland [EMAIL PROTECTED] wrote:

 On Sat, Mar 26, 2005 at 07:30:41AM -0500, Rodger Castle wrote:
  I am trying to get a Netgear WG511T working with FreeBSD 5.3-RELEASE.
  
 I use the same card in a Dell C600 laptop on 5.3-STABLE with no
 problems.
 
  I noticed that this card was listed in my HARDWARE.TXT list, so I
  assumed it would be supported.  Upon trying this card, having it fail,
  and doing some digging in pccard.conf, I see that it is not.  I
  attempted to use ndis/if_ndis with the driver supplied with the card
  and it throws several errors as well.  I do not have access to the
  error logs at the moment as I am currently compiling an upgrade to
  5.4-PRERELEASE to attempt to correct the problem.
  
 load if_ath.ko at boot
 
 
 -- 
 Regards,
 Doug
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mot de passe root

2005-03-26 Thread cpghost
On Sat, Mar 26, 2005 at 01:52:16PM +0100, Anthony Atkielski wrote:
 I doubt that even Apple has bothered to localize any of the UNIX
 software for OS X.  Unless one treats UNIX as a black-box desktop server
 (with a localized GUI), it's going to be hard to work with the system
 without knowing English.  And if it's ever necessary to go outside the
 desktop GUI environment, there again, English is required.

I've seen a fully localized german version of Unix called SINIX
(Siemens' Unix?).

Well, not *fully* localized, since the commands were still the usual
bunch of 'ls' 'cp', 'mv' etc... (is that really English? ;-)), but
everthing else, including error messages and man pages were in german.
That was really weird looking, yet cute.

I don't know if SINIX is still alive or defunct by now.

Oh yeah, I also remember a french version of PASCAL (with french
keywords!) from the early eighties. That was even weirder than
a localized Unix!

 Anthony

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .cshrc

2005-03-26 Thread Jerry McAllister
 
 Is .profile read by every shell ?

No.   .profile is read up by the sh shell and its derivatives.

When the csh shell and its derivatives such as tcsh starts, 
its reads up .cshrc.The effect is somewhat the same, but it uses
the syntax is for csh. The syntax for .profile is for sh.

The csh shell of more likely not, tcsh, is more friendly for
interacticve use than the sh shell.Those who like the sh type
syntax nowdays use the derivative bash as their shell.  It is also 
more interactive friendly than plain sh.

jerry

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

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


Booting from the second disk

2005-03-26 Thread Alejandro Pulver
Hello,

I have two IDE disks with the following Operating Systems:

IDE-0 -- ad0s1 -- Windows XP Pro
  ad0s5 (extended) -- Windows 2000 Pro

IDE-1 -- ad2s1 -- Debian Sarge (managing LILO at IDE-1)
  ad2s4 -- FreeBSD 5.3

I boot from the second disk. I have LILO in the MBR because it is
capable of swapping disks when loading the operating system (Windows
does not boot because it thinks the disk which the computer boots is the
first disk, and boot.ini refers to the other disk).

So I have to put the following:

other=/dev/hda1
label=Windows
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80

Or:

other=/dev/hda1
label=Windows
boot-as=0x81

Can I do something similar with other Boot Managers (FreeBSD's Boot
Manager, GRUB, etc.)

Which is the better recommended multi-boot layout (with two hard
disks)?

Thanks and Best Regards,
Ale
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .cshrc

2005-03-26 Thread cpghost
On Sat, Mar 26, 2005 at 10:12:26AM -0500, Jerry McAllister wrote:
 The csh shell of more likely not, tcsh, is more friendly for
 interacticve use than the sh shell.Those who like the sh type
 syntax nowdays use the derivative bash as their shell.  It is also 
 more interactive friendly than plain sh.

BTW, why doesn't sh include readline(3) or some other kind of
command line editing capability? The only reason for using bash
over sh is for many people the lack of a decent command line editor
function in sh. Footprint perhaps?

 jerry

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gcc error

2005-03-26 Thread Dick Hoogendijk
Hi,

I'm getting desperate. First I couldn't compile just a gnome package.
OK, it could be missed.. But now I want to compile the new KDE-3.4 and
it does not work :-( Compiling kdelibs3 I get (again) this annoying
error. Googling learned it shows up quit often, but I found no solution.
So, what is this and waht can be done about it? I guess it's a gcc
compiler error. I deleted all gcc packages that were installed (back to
the systems's version - FreeBSD-4.11R). It did not help.

The error I get:

c++: cannot specify -o with -c or -S and multiple compilations
The same error happens sometimes with 'cc'

After this error compiling stops.
No kdelibs3 for me and so, no kde-3.4

Does anybody has any idea about what happens here?

I did not change any options in /etc/make.conf.

=-=-=make.conf=-=-=
CPUTYPE=i686
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
NOPROFILE= true
NO_BIND= true
NO_SENDMAIL= true
ISPELL_NL= yes
ASPELL_NL= yes
WITH_BSD_JDK= true
X_WINDOW_SYSTEM=xfree86-4
# added by use.perl 2005-02-11 19:04:57
PERL_VER=5.8.6
PERL_VERSION=5.8.6
NOPERL=yes
=-=-=end=-=-=

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .cshrc

2005-03-26 Thread Giorgos Keramidas
On 2005-03-26 16:20, [EMAIL PROTECTED] wrote:
On Sat, Mar 26, 2005 at 10:12:26AM -0500, Jerry McAllister wrote:
 The csh shell of more likely not, tcsh, is more friendly for
 interacticve use than the sh shell.  Those who like the sh type
 syntax nowdays use the derivative bash as their shell.  It is also
 more interactive friendly than plain sh.

 BTW, why doesn't sh include readline(3) or some other kind of command
 line editing capability? The only reason for using bash over sh is for
 many people the lack of a decent command line editor function in
 sh. Footprint perhaps?

It does.  You can enable either emacs-style line editing with:

$ set -o emacs

or vi-style command line editing with:

$ set -o vi

Note though that tab completion is not supported for commands or
filenames, AFAIK, so you may still want to stick with bash.

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


Samba problems

2005-03-26 Thread Alejandro Pulver
Hello,

I am using FreeBSD 5.3 with Samba 3.0.7,1.

I can read all files from a Windows 2000 Pro. But when
I try to access a mount point that is an NTFS filesystem, I have no read
permission (files and directories appear as zero length files) until I
access them from the server machine (like doing an 'ls').

My configuration file is as follows:

= BEGIN =
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/12/11 19:24:02

# Global parameters
[global]
workgroup = VARNET
server string = FreeBSD 5.3
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = No

[mnt]
comment = Mounted Filesystems
path = /mnt
guest ok = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[ale]
comment = Ale's Home DIrectory
path = /home/ale
guest ok = Yes
= END ===

Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam', and
'tmp'.

What am I doing wrong?

Thanks and Best Regards,
Ale
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Youngest girls in hard fucking. As in your dream.

2005-03-26 Thread Flossie

Groovy :)

Have you ever seen pretty sexy backslash girls get fucked autecological in 
every holes? Wanna Look?

All colors are the friends of their neighbors and the lovers of their opposites.

Real youung  And beautifull girls

http://www.geocities.com/major_putnam_67/
There is no force so democratic as the force of an ideal.

Try out now. Don't lose link your chance.

Love your enemies, bless them that curse you, do good to them that hate you. 
[Matthew]


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


Re: ath driver usage for Netgear WG511T

2005-03-26 Thread Doug Poland
On Sat, Mar 26, 2005 at 09:56:31AM -0500, Rodger Castle wrote:
 On Sat, 26 Mar 2005 07:37:10 -0600 Doug Poland [EMAIL PROTECTED] wrote:
  On Sat, Mar 26, 2005 at 07:30:41AM -0500, Rodger Castle wrote:
   I am trying to get a Netgear WG511T working with FreeBSD 5.3-RELEASE.
   
  I use the same card in a Dell C600 laptop on 5.3-STABLE with no
  problems.
  
..snip...
  
  load if_ath.ko at boot
  
  
 Thanks for the tip, Doug.  

No problem, BTW, please don't top post on the list.

I'm a bit sketchy on using and changing drivers as laptops seem to be
the only time where non-standard drivers are required for me (by
non-standard, I mean those not enabled by a default install).  

It's really just a matter of enabling support for the particular
hardware in your computer.

 It seems FlyingJ has some specific requirements for their Wi-Fi system
 but it could be that this is my first time experimenting with wi-fi.
 At any rate, I'll put a full report of my findings tonight up here.
 
They may be requiring an SSID or some type of encryption.  In my personal
travel experience I've never come across a wireless provider that
required either.  For me, simply enabling the wireless NIC at boot time
and dhclient ath0 is all I've ever had to do.  YMMV.

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


Re: Samba problems

2005-03-26 Thread Stefan Haglund
First of all, make sure those mounts are accessible for normal users, if 
you haven't. It's under the options for the mount in /etc/fstab, I 
think. You can always do a 'man fstab' if unsure.

Does the username/password (check out 'smbpasswd') you are using to 
connect to samba exist in the samba user database? If not, samba won't 
know who you are, and will use the default guest user to access files 
(usually very restricted). That might be why you can access the mounts 
when you log in to the server, but not through server.

If you go with the first, ALL users will have access. If you want to 
restrict it to, say,  a certain group, you have to go with the second 
solution I think (and add users in the samba user database).

Hope I got the issue correctly, else I dunno :-).
Regards,
Stefan Haglund
Hello,
I am using FreeBSD 5.3 with Samba 3.0.7,1.
I can read all files from a Windows 2000 Pro. But when
I try to access a mount point that is an NTFS filesystem, I have no read
permission (files and directories appear as zero length files) until I
access them from the server machine (like doing an 'ls').
My configuration file is as follows:
= BEGIN =
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/12/11 19:24:02
# Global parameters
[global]
workgroup = VARNET
server string = FreeBSD 5.3
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = No
[mnt]
comment = Mounted Filesystems
path = /mnt
guest ok = Yes
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[ale]
comment = Ale's Home DIrectory
path = /home/ale
guest ok = Yes
= END ===
Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam', and
'tmp'.
What am I doing wrong?
Thanks and Best Regards,
Ale
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: A Riddle

2005-03-26 Thread em1897
Hmm, I wonder if the lack of performance, or the unwanted
emails were more heaviliy weighted in the decision?
If there was any intelligent life on the list you could
counter what you call Trolls with solid techical
arguments. This reminds me of the old bsdi
list. A bunch of half-wits who are just happy
to belong to something and have other half-wits
to correspond with.
FreeBSD used to have open discussions between
users and developers and it used to be real
good. Now it sucks and the developers are
detached, off in their own little world. See
a pattern?
But with a user base from places like gnu-rox.org
and makeworld.com, what do you expect I
guess?
-Original Message-
From: Xavier Maillard [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sat, 26 Mar 2005 12:43:35 +0100
Subject: Re: A Riddle
On 25 Mar 2005, Chris wrote:
If we're to prove a point to those that name call, are rude,
troll, and all the other recent events, we must do so on our
level. Allow them to spew what ever it is they spew, and we
must simply either ignore it (the correct way imho) Kill em
with kindness, OR, reply in such a fashion that the user has no
idea what we're saying.
Let's stop the erosion of this list now before it goes too far.
Over and out...
I totally agree. This plus other things are the reasons why I
chose to switch to another OS.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A Riddle

2005-03-26 Thread Chris
[EMAIL PROTECTED] wrote:
 Hmm, I wonder if the lack of performance, or the unwanted
 emails were more heaviliy weighted in the decision?
 
 If there was any intelligent life on the list you could
 counter what you call Trolls with solid techical
 arguments. This reminds me of the old bsdi
 list. A bunch of half-wits who are just happy
 to belong to something and have other half-wits
 to correspond with.
 
 FreeBSD used to have open discussions between
 users and developers and it used to be real
 good. Now it sucks and the developers are
 detached, off in their own little world. See
 a pattern?
 
 But with a user base from places like gnu-rox.org
 and makeworld.com, what do you expect I
 guess?
 
 
 -Original Message-
 From: Xavier Maillard [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Sat, 26 Mar 2005 12:43:35 +0100
 Subject: Re: A Riddle
 
 On 25 Mar 2005, Chris wrote:
 
 If we're to prove a point to those that name call, are rude,
 troll, and all the other recent events, we must do so on our
 level. Allow them to spew what ever it is they spew, and we
 must simply either ignore it (the correct way imho) Kill em
 with kindness, OR, reply in such a fashion that the user has no
 idea what we're saying.

 Let's stop the erosion of this list now before it goes too far.

 Over and out...
 
 
 I totally agree. This plus other things are the reasons why I
 chose to switch to another OS.

Users that Insult people that offer help (good or bad) says much about
that user.

The tactic at hand (at least with the user that top posts) is to do
nothing more then what it is hoping to do - incite anger *Sigh*

Oh well - most of us are certainly above that.

-- 
Best regards,
Chris

Nothing is ever done for the right reasons.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems starting X windows :S

2005-03-26 Thread Philip M. Golllucci
Hi,
most likely you are running at a security level thats too high
check your  setting in /etc/rc.conf
Start it at -1 or disable it as a start.
If thats not it you might not have the device in your kernel...
add
device io and recompile.

END
-- 

Philip M. Gollucci
Consultant
E-Mail: [EMAIL PROTECTED]
URL   : http://p6m7g8.net/Resume/resume.shtml
Phone : 301.254.5198
$Id: .signature,v 1.7 2004/09/05 23:46:37 philip Exp $

faisal gillani wrote:
i wanted to test freebsd as a desktop but am stuck in
the first step , making frebsd graphical . i get this
error while startingx 

Fatal server error:
xf86EnableIO: Failed to open /dev/io for extended I/O
what can be wrong ?
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
God is the Greatest

		
__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba problems

2005-03-26 Thread Alejandro Pulver
On Sat, 26 Mar 2005 16:59:11 +0100
Stefan Haglund [EMAIL PROTECTED] wrote:

 First of all, make sure those mounts are accessible for normal users,
 if you haven't. It's under the options for the mount in /etc/fstab, I 
 think. You can always do a 'man fstab' if unsure.
 
 Does the username/password (check out 'smbpasswd') you are using to 
 connect to samba exist in the samba user database? If not, samba won't
 
 know who you are, and will use the default guest user to access files 
 (usually very restricted). That might be why you can access the mounts
 when you log in to the server, but not through server.
 
 If you go with the first, ALL users will have access. If you want to 
 restrict it to, say,  a certain group, you have to go with the second 
 solution I think (and add users in the samba user database).
 
 Hope I got the issue correctly, else I dunno :-).
 
 Regards,
 Stefan Haglund
 

Hello,

Thank you for your reply.

I am using the security level SHARE with guest enabled (I have only
two machines on my network).

The mounts are accessible by normal users (like ale), the permissions
in '/mnt/w2k/' are 'rwxr-xr-x', the owner is root and group wheel.

I would like to add that I also have another share that is a FAT32
partition (WinXP) and I can browse it from the other machine (like
everything else).

I tried to map the guest account to the user ale that I use (and I can
access '/mnt/w2k'), but nothing happened.

This only happens in a NTFS mount point. The files and directories show
as truncated, and I can not see (determine size, copy, determine
if it is a file or directory, etc.) them until I do an operation over
them with any normal user in the server, then I can see the files/dirs
affected by the operation I did (ls, etc.). Before I only see the
entries (names) without attributes (permissions, directory flag, etc.).

Thanks and Best Regards,
Ale
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba problems

2005-03-26 Thread Alejandro Pulver
On Sat, 26 Mar 2005 13:54:37 -0300
Alejandro Pulver [EMAIL PROTECTED] wrote:

 On Sat, 26 Mar 2005 16:59:11 +0100
 Stefan Haglund [EMAIL PROTECTED] wrote:
 
  First of all, make sure those mounts are accessible for normal
  users, if you haven't. It's under the options for the mount in
  /etc/fstab, I think. You can always do a 'man fstab' if unsure.
  
  Does the username/password (check out 'smbpasswd') you are using to 
  connect to samba exist in the samba user database? If not, samba
  won't
  
  know who you are, and will use the default guest user to access
  files (usually very restricted). That might be why you can access
  the mounts when you log in to the server, but not through server.
  
  If you go with the first, ALL users will have access. If you want to
  
  restrict it to, say,  a certain group, you have to go with the
  second solution I think (and add users in the samba user database).
  
  Hope I got the issue correctly, else I dunno :-).
  
  Regards,
  Stefan Haglund
  
 
 Hello,
 
 Thank you for your reply.
 
 I am using the security level SHARE with guest enabled (I have
 only two machines on my network).
 
 The mounts are accessible by normal users (like ale), the
 permissions in '/mnt/w2k/' are 'rwxr-xr-x', the owner is root and
 group wheel.
 
 I would like to add that I also have another share that is a FAT32
 partition (WinXP) and I can browse it from the other machine (like
 everything else).
 
 I tried to map the guest account to the user ale that I use (and I
 can access '/mnt/w2k'), but nothing happened.
 
 This only happens in a NTFS mount point. The files and directories
 show as truncated, and I can not see (determine size, copy,
 determine if it is a file or directory, etc.) them until I do an
 operation over them with any normal user in the server, then I can see
 the files/dirs affected by the operation I did (ls, etc.). Before I
 only see the entries (names) without attributes (permissions,
 directory flag, etc.).
 
 Thanks and Best Regards,
 Ale

I even tried mapping the guest account to root but it still does not
work.

Thanks and Best Regards,
Ale
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


firefox 1.0.2 build failure

2005-03-26 Thread Marco Beishuizen
Hello,
I tried to portupgrade firefox from 1.0.1 to 1.0.2, but it fails with the 
following messages:

nsFontMetricsPS.cpp: In member function `nsresult nsFontPSFreeType::Init(nsITrue
TypeFontCatalogEntry*, nsPSFontGenerator*)':
nsFontMetricsPS.cpp:1144: error: 'struct FTC_ImageTypeRec_' has no member named 
'face_id'
nsFontMetricsPS.cpp:1145: error: 'struct FTC_ImageTypeRec_' has no member named 
'width'
nsFontMetricsPS.cpp:1146: error: 'struct FTC_ImageTypeRec_' has no member named 
'height'
nsFontMetricsPS.cpp: In member function `FT_FaceRec_* nsFontPSFreeType::getFTFac
e()':
nsFontMetricsPS.cpp:1231: error: 'struct FTC_ImageTypeRec_' has no member named 
'face_id'
nsFontMetricsPS.cpp: In member function `virtual void nsFT2Type8Generator::Gener
atePSFont(FILE*)':
nsFontMetricsPS.cpp:1625: error: 'struct FTC_ImageTypeRec_' has no member named 
'face_id'
nsFontMetricsPS.cpp:1627: error: 'struct FTC_ImageTypeRec_' has no member named 
'width'
nsFontMetricsPS.cpp:1628: error: 'struct FTC_ImageTypeRec_' has no member named 
'height'
nsFontMetricsPS.cpp:1633: error: 'struct FTC_ImageTypeRec_' has no member named 
'face_id'
gmake[4]: *** [nsFontMetricsPS.o] Error 1
gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx/src/ps'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Did anyone else ran into this problem?
Thanks,
Marco
--
Government spending?  I don't know what it's all about.  I don't know
any more about this thing than an economist does, and, God knows, he
doesn't know much.
-- Will Rogers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Updated on SATA drive problem

2005-03-26 Thread Anthony Atkielski
Today I ran offline diagnostics against the SATA drive that I suspected
of causing DMA errors and two system crashes.  These offline diagnostics
confirmed a problem with the drive and eliminated FreeBSD as a source of
the problem.  I replaced the drive and I'm watching to see if any of the
mystery errors in FreeBSD return (at this point I don't expect them to,
since it seems to have been a defective drive).

It took a tremendously long time for me to figure out how to fix up the
new drive for use.  I'm still not sure what I finally did that
apparently was in the right order and formatted everything correctly.

-- 
Anthony


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


Re: Updated on SATA drive problem

2005-03-26 Thread Chris
Anthony Atkielski wrote:
 Today I ran offline diagnostics against the SATA drive that I suspected
 of causing DMA errors and two system crashes.  These offline diagnostics
 confirmed a problem with the drive and eliminated FreeBSD as a source of
 the problem.  I replaced the drive and I'm watching to see if any of the
 mystery errors in FreeBSD return (at this point I don't expect them to,
 since it seems to have been a defective drive).
 
 It took a tremendously long time for me to figure out how to fix up the
 new drive for use.  I'm still not sure what I finally did that
 apparently was in the right order and formatted everything correctly.
 

That's good news - I'm glad to hear that you are progressing with your
issues. Once you have these items under control - you ought to have a
more enjoyable experiance with whatever OS you wish to use.

-- 
Best regards,
Chris

Keep emotionally active,
cater to your favorite neurosis.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A Riddle

2005-03-26 Thread em1897
--- Chris [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
 Hmm, I wonder if the lack of performance, or the
unwanted
 emails were more heavily weighted in the
decision?

 If there was any intelligent life on the list you
could
 counter what you call Trolls with solid technical
 arguments. This reminds me of the old bsdi
 list. A bunch of half-wits who are just happy
 to belong to something and have other half-wits
 to correspond with.

 FreeBSD used to have open discussions between
 users and developers and it used to be real
 good. Now it sucks and the developers are
 detached, off in their own little world. See
 a pattern?

 But with a user base from places like gnu-rox.org
 and makeworld.com, what do you expect I
 guess?


 -Original Message-
 From: Xavier Maillard [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Sat, 26 Mar 2005 12:43:35 +0100
 Subject: Re: A Riddle

 On 25 Mar 2005, Chris wrote:

 If we're to prove a point to those that name
call, are rude,
 troll, and all the other recent events, we must
do so on our
 level. Allow them to spew what ever it is they
spew, and we
 must simply either ignore it (the correct way
imho) Kill em
 with kindness, OR, reply in such a fashion that
the user has no
 idea what we're saying.

 Let's stop the erosion of this list now before it
goes too far.

 Over and out...


 I totally agree. This plus other things are the
reasons why I
 chose to switch to another OS.
Users that Insult people that offer help (good or
bad) says much about
that user.
The tactic at hand (at least with the user that top
posts) is to do
nothing more then what it is hoping to do - incite
anger *Sigh*
Oh well - most of us are certainly above that.
I don't agree. The spread of disinformation is
like allowing a cancer to go untreated. There
are a lot of people recommending a very poorly
implemented OS because of the propaganda
disseminated here. People's jobs and businesses
are at stake. People waste a tremendous amount
of time (me included) based on the ridiculously
inaccurate comments made by people on this
list.
And like with alchoholism, the first step is
admitting that you have a problem. If you're
going to keep RA-RAing this effort, then
you are part of the problem. You can make
a person Angry by calling him a loser. But
if the shoe fits, it may very well need to
be said to get him off his butt.
As an aside, all of the major web mail providers
default to top posting. Google (ever hear
of them?) only shows the top N lines of a post.
So if you bottom post, you don't see the message
you want to see
without having to make an effort. So when are
you troglodytes going to climb out of your
1994 hibernations and get with the times?
You may prefer one over the other, but its
hardly a capital offense to do otherwise. Most
of us have evolved out of our unix newsreaders.
Anyone with a brain is using web mail for
mailing lists these days: no more whining
about spam or wasted bandwidth.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A Riddle

2005-03-26 Thread Chris
[EMAIL PROTECTED] wrote:
 --- Chris [EMAIL PROTECTED] wrote:
 
 [EMAIL PROTECTED] wrote:
  Hmm, I wonder if the lack of performance, or the
 unwanted
  emails were more heavily weighted in the
 decision?
 
  If there was any intelligent life on the list you
 could
  counter what you call Trolls with solid technical
  arguments. This reminds me of the old bsdi
  list. A bunch of half-wits who are just happy
  to belong to something and have other half-wits
  to correspond with.
 
  FreeBSD used to have open discussions between
  users and developers and it used to be real
  good. Now it sucks and the developers are
  detached, off in their own little world. See
  a pattern?
 
  But with a user base from places like gnu-rox.org
  and makeworld.com, what do you expect I
  guess?
 
 
  -Original Message-
  From: Xavier Maillard [EMAIL PROTECTED]
  To: freebsd-questions@freebsd.org
  Sent: Sat, 26 Mar 2005 12:43:35 +0100
  Subject: Re: A Riddle
 
  On 25 Mar 2005, Chris wrote:
 
  If we're to prove a point to those that name
 call, are rude,
  troll, and all the other recent events, we must
 do so on our
  level. Allow them to spew what ever it is they
 spew, and we
  must simply either ignore it (the correct way
 imho) Kill em
  with kindness, OR, reply in such a fashion that
 the user has no
  idea what we're saying.
 
  Let's stop the erosion of this list now before it
 goes too far.
 
  Over and out...
 
 
  I totally agree. This plus other things are the
 reasons why I
  chose to switch to another OS.

 Users that Insult people that offer help (good or
 bad) says much about
 that user.

 The tactic at hand (at least with the user that top
 posts) is to do
 nothing more then what it is hoping to do - incite
 anger *Sigh*

 Oh well - most of us are certainly above that.
 
 
 I don't agree. The spread of disinformation is
 like allowing a cancer to go untreated. There
 are a lot of people recommending a very poorly
 implemented OS because of the propaganda
 disseminated here. People's jobs and businesses
 are at stake. People waste a tremendous amount
 of time (me included) based on the ridiculously
 inaccurate comments made by people on this
 list.
 
 And like with alchoholism, the first step is
 admitting that you have a problem. If you're
 going to keep RA-RAing this effort, then
 you are part of the problem. You can make
 a person Angry by calling him a loser. But
 if the shoe fits, it may very well need to
 be said to get him off his butt.
 
 As an aside, all of the major web mail providers
 default to top posting. Google (ever hear
 of them?) only shows the top N lines of a post.
 So if you bottom post, you don't see the message
 you want to see
 without having to make an effort. So when are
 you troglodytes going to climb out of your
 1994 hibernations and get with the times?
 You may prefer one over the other, but its
 hardly a capital offense to do otherwise. Most
 of us have evolved out of our unix newsreaders.
 Anyone with a brain is using web mail for
 mailing lists these days: no more whining
 about spam or wasted bandwidth.

We love you. Have a great day!


-- 
Best regards,
Chris

Program design philosophy:
Start at the beginning and continue until the end,
then stop.

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


Re: firefox 1.0.2 build failure

2005-03-26 Thread Michael Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marco Beishuizen wrote:
|
| Hello,
|
| I tried to portupgrade firefox from 1.0.1 to 1.0.2, but it fails
| with the following messages:
|
|
| nsFontMetricsPS.cpp: In member function `nsresult
| nsFontPSFreeType::Init(nsITrue
| TypeFontCatalogEntry*, nsPSFontGenerator*)':
| nsFontMetricsPS.cpp:1144: error: 'struct FTC_ImageTypeRec_' has no
| member named 'face_id'
| nsFontMetricsPS.cpp:1145: error: 'struct FTC_ImageTypeRec_' has no
| member named 'width'
| nsFontMetricsPS.cpp:1146: error: 'struct FTC_ImageTypeRec_' has no
| member named 'height'
| nsFontMetricsPS.cpp: In member function `FT_FaceRec_*
| nsFontPSFreeType::getFTFac
| e()':
| nsFontMetricsPS.cpp:1231: error: 'struct FTC_ImageTypeRec_' has no
| member named 'face_id'
| nsFontMetricsPS.cpp: In member function `virtual void
| nsFT2Type8Generator::Gener
| atePSFont(FILE*)':
| nsFontMetricsPS.cpp:1625: error: 'struct FTC_ImageTypeRec_' has no
| member named 'face_id'
| nsFontMetricsPS.cpp:1627: error: 'struct FTC_ImageTypeRec_' has no
| member named 'width'
| nsFontMetricsPS.cpp:1628: error: 'struct FTC_ImageTypeRec_' has no
| member named 'height'
| nsFontMetricsPS.cpp:1633: error: 'struct FTC_ImageTypeRec_' has no
| member named 'face_id'
| gmake[4]: *** [nsFontMetricsPS.o] Error 1
| gmake[4]: Leaving directory
| `/usr/ports/www/firefox/work/mozilla/gfx/src/ps'
| gmake[3]: *** [libs] Error 2
| gmake[3]: Leaving directory
| `/usr/ports/www/firefox/work/mozilla/gfx/src'
| gmake[2]: *** [libs] Error 2
| gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx'
| gmake[1]: *** [tier_9] Error 2
| gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
| gmake: *** [default] Error 2
| *** Error code 2
|
| Did anyone else ran into this problem?
you need to update print/freetype2 to 2.1.9 and re-start the build.
(you don't have to remove firefox WRKSRC)
Michael
|
| Thanks,
|
| Marco
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCRaBIn4uqfTwEb9YRAnsPAJ4jEvCxOcSl1uiocf5cXmxp6zWdxQCbBlQM
E0tcQ7DnYpdUDFswZHkmOX4=
=hBdn
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


AWK in 4.X different from 5.X?

2005-03-26 Thread Francisco Reyes
Are the AWK in the 4.X branch and 5.X branch different?
Looking at
http://www.shelldorado.com/articles/awkcompat.html#os11
it seems the AWK in the 4.X branch has strftime.
I have 5.3 in my machine and AWK doesn't have that function.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AWK in 4.X different from 5.X?

2005-03-26 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-26, Francisco Reyes scribbled these
curious markings:
 Are the AWK in the 4.X branch and 5.X branch different?
 Looking at
 http://www.shelldorado.com/articles/awkcompat.html#os11

 it seems the AWK in the 4.X branch has strftime.
 I have 5.3 in my machine and AWK doesn't have that function.

Probably because the awk on a 4.x machine is GNU awk, whereas the 5.x
awk is the awk that comes straight from the horse's mouth, so to speak,
and so thus hasn't been extended with GNUisms.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRaMVk/lo7zvzJioRAnIaAJ9PoqgjruOl1n4xaWupkR8It5yEcQCggK5H
Kt/c44EQ2hKao69bzpjfqa0=
=E616
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: mot de passe root

2005-03-26 Thread Anthony Atkielski
[EMAIL PROTECTED] writes:

 Well, not *fully* localized, since the commands were still the usual
 bunch of 'ls' 'cp', 'mv' etc... (is that really English? ;-)), but
 everthing else, including error messages and man pages were in german.
 That was really weird looking, yet cute.

Localizing software destabilizes it; localized versions always contain
more bugs (often very hard-to-find bugs) than original versions.

If I speak the language of the original authors of a software product, I
always use the product in its original language.  Localized versions are
a constant source of trouble.  Even Windows, which makes special
provisions for localization, is still far more bug-prone in non-English
versions, and I always try to install U.S.-English versions if I can get
them.

-- 
Anthony


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


Re: hyper threading.

2005-03-26 Thread Anthony Atkielski
Perttu Laine writes:

 I have 3,4ghz ht processor and freebsd shows up only one processors. I
 suppose it should show two in ht models? so, GENERIC kernel doesn't
 support it? but should I add to kernel config to enable it? by reading
 config examples I think this should be enough:

 options   SMP

Yes, that's all you need.  Just add that line, rebuild and reinstall the
kernel, and you're all set.  Works great.  Hyperthreading doesn't buy
you as much as truly separate processors, but it helps you get more bang
for the buck out of your single processor (depending on the type of
workload you run).

-- 
Anthony


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


Re: Updated on SATA drive problem

2005-03-26 Thread Anthony Atkielski
Chris writes:

 That's good news - I'm glad to hear that you are progressing with your
 issues. Once you have these items under control - you ought to have a
 more enjoyable experiance with whatever OS you wish to use.

Now if I could just fine the problem FreeBSD has with my SCSI drives on
my test machine.  I noticed that the pages and pages of error messages I
get sometimes when doing I/O to the disks are also generated even by
something as simple as smartctl -a which presumably does not do any
physical I/O to the platters.  This would seem to rule out any hardware
problems involving the media, actuators, etc.

-- 
Anthony


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


Missing libraries when making c-client

2005-03-26 Thread Jamie Ostrowski


   Greetings,


   I am having some trouble installing imap from source. I am building a
machine for my boss who *insists* that I cannot use anything from the
ports collection on the machine, so I can't use the imap port.

   The build is failing, and it seems as though it can't find some openssl
include files, judging from the errors I am getting.

   This is on a stock 4.11 system. When I untar the imap-2004c1 source, I
read the readme doc, and I ran

make bsf

since it is a FreeBSD install. It will not compile, though. Here is where
it is failing:

Building with SSL and plaintext passwords disabled unless SSL/TLS
echo   mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2); 
linkage.c
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c  osdep.c
Building OS-dependent module
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make bsf SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
osdep.c:138: x509.h: No such file or directory
osdep.c:139: ssl.h: No such file or directory
osdep.c:141: pem.h: No such file or directory
osdep.c:142: buffer.h: No such file or directory
osdep.c:143: bio.h: No such file or directory
osdep.c:144: crypto.h: No such file or directory


  etc etc etc...


In the Makefile, under the bsf target, we see that the path to the stock
openssl libraries in FreeBSD is declared:

bsf bso:an
$(BUILD) BUILDTYPE=$@ \
SPECIALS=GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl
SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private LOCKPGM=/usr/sbin/mlock



   ...and an ls of /usr/include/openssl does include x509.h, ssl.h, pem.h,
etc.

Does anyone have any explanation for why it isn't finding those files?
Any direction I can go from here? I would rather not build an additional
openssl package from a source tree as I would like to just use what is on
the system. It would make things cleaner (fewer moving parts) when
cvsupping and building world, etc. I would prefer to use the native
libraries.


   Thanks,

   - Jamie





The Moon is Waning Gibbous (100% of Full)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Missing libraries when making c-client

2005-03-26 Thread Jamie Ostrowski


I am having some trouble installing imap from source. I am building a
 machine for my boss who *insists* that I cannot use anything from the
 ports collection on the machine, so I can't use the imap port.

The build is failing, and it seems as though it can't find some openssl
 include files, judging from the errors I am getting.

This is on a stock 4.11 system. When I untar the imap-2004c1 source, I
 read the readme doc, and I ran

 make bsf

 since it is a FreeBSD install. It will not compile, though. Here is where
 it is failing:


Here is something higher up in the make output that looks like it may be a
clue:

Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl
-DSSL_CERT_DIRECTORY=\/usr/local/ssl/certs\
-DSSL_KEY_DIRECTORY=\/usr/local/ssl/certs\  OSCFLAGS
echo   ssl_onceonlyinit ();  linkage.c
echo -L/usr/local/ssl/lib -lssl -lcrypto   LDFLAGS


It seems to be setting info in the files OSCFLAGS and LDFLAGS to
/usr/local/ssl, and I don't have any /usr/local/ssl directory, and I am
unsure how this can be corrected properly.








 Building with SSL and plaintext passwords disabled unless SSL/TLS
 echo   mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2); 
 linkage.c
 cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c  osdep.c
 Building OS-dependent module
 If you get No such file error messages for files x509.h, ssl.h,
 pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
 is not installed on your system. Either install OpenSSL first
 or build with command: make bsf SSLTYPE=none
 `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
 osdep.c:138: x509.h: No such file or directory
 osdep.c:139: ssl.h: No such file or directory
 osdep.c:141: pem.h: No such file or directory
 osdep.c:142: buffer.h: No such file or directory
 osdep.c:143: bio.h: No such file or directory
 osdep.c:144: crypto.h: No such file or directory


   etc etc etc...


 In the Makefile, under the bsf target, we see that the path to the stock
 openssl libraries in FreeBSD is declared:

 bsf bso:an
 $(BUILD) BUILDTYPE=$@ \
 SPECIALS=GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl
 SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private LOCKPGM=/usr/sbin/mlock



...and an ls of /usr/include/openssl does include x509.h, ssl.h, pem.h,
 etc.

 Does anyone have any explanation for why it isn't finding those files?
 Any direction I can go from here? I would rather not build an additional
 openssl package from a source tree as I would like to just use what is on
 the system. It would make things cleaner (fewer moving parts) when
 cvsupping and building world, etc. I would prefer to use the native
 libraries.


Thanks,

- Jamie





 The Moon is Waning Gibbous (100% of Full)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


The Moon is Waning Gibbous (100% of Full)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Missing libraries when making c-client

2005-03-26 Thread Chris
Jamie Ostrowski wrote:
 
Greetings,
 
 
I am having some trouble installing imap from source. I am building a
 machine for my boss who *insists* that I cannot use anything from the
 ports collection on the machine, so I can't use the imap port.

Ahh - but did he tell you NOT to use packages?!


-- 
Best regards,
Chris

A physician's ability is inversely proportional
to his availability.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AWK in 4.X different from 5.X?

2005-03-26 Thread Francisco Reyes
On Sat, 26 Mar 2005, Christopher Nehren wrote:
Probably because the awk on a 4.x machine is GNU awk, whereas the 5.x
awk is the awk that comes straight from the horse's mouth, so to speak,
and so thus hasn't been extended with GNUisms.
Thanks.
That makes sense.
Now I just wonder how to get date in my output. :-(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 1.0.2 build failure

2005-03-26 Thread Marco Beishuizen
On stardate Sat, 26 Mar 2005, the wise Michael Johnson entered:
you need to update print/freetype2 to 2.1.9 and re-start the build.
(you don't have to remove firefox WRKSRC)
Michael
Yes, this worked. Thanks.
Marco
--
I call them as I see them.  If I can't see them, I make them up.
-- Biff Barf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updated on SATA drive problem

2005-03-26 Thread Dan Nelson
In the last episode (Mar 26), Anthony Atkielski said:
 Chris writes:
  That's good news - I'm glad to hear that you are progressing with
  your issues. Once you have these items under control - you ought to
  have a more enjoyable experiance with whatever OS you wish to use.
 
 Now if I could just fine the problem FreeBSD has with my SCSI drives
 on my test machine.  I noticed that the pages and pages of error
 messages I get sometimes when doing I/O to the disks are also
 generated even by something as simple as smartctl -a which
 presumably does not do any physical I/O to the platters.  This would
 seem to rule out any hardware problems involving the media,
 actuators, etc.

smartctl sends raw SCSI requests to the disk, and I think a recent
change in either smartmontools or the scsi code is ending up with the
wrong timeout value, so the request times out immediately.  This
happens to me when I launch smartd on all my machines, but it's
intermittent and doesn't seem to affect anything (I get periodic
temerature notifications after that with no timeout errors).  See PR
misc/73833 .

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


Re: hyper threading.

2005-03-26 Thread em1897
This is the kind of disinformation I have been
referring to
You'll get much better performance with 1 processor in
UP mode. I suggest you do some testing.
-Original Message-
From: Anthony Atkielski [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sat, 26 Mar 2005 19:28:11 +0100
Subject: Re: hyper threading.
Perttu Laine writes:
I have 3,4ghz ht processor and freebsd shows up only one processors. I
suppose it should show two in ht models? so, GENERIC kernel doesn't
support it? but should I add to kernel config to enable it? by reading
config examples I think this should be enough:
options   SMP
Yes, that's all you need.  Just add that line, rebuild and reinstall the
kernel, and you're all set.  Works great.  Hyperthreading doesn't buy
you as much as truly separate processors, but it helps you get more bang
for the buck out of your single processor (depending on the type of
workload you run).

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


Re: mot de passe root

2005-03-26 Thread Josh Ockert
On Sat, 26 Mar 2005 19:26:27 +0100, Anthony Atkielski
[EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] writes:
 
  Well, not *fully* localized, since the commands were still the usual
  bunch of 'ls' 'cp', 'mv' etc... (is that really English? ;-)), but
  everthing else, including error messages and man pages were in german.
  That was really weird looking, yet cute.
 
 Localizing software destabilizes it; localized versions always contain
 more bugs (often very hard-to-find bugs) than original versions.
 
 If I speak the language of the original authors of a software product, I
 always use the product in its original language.  Localized versions are
 a constant source of trouble.  Even Windows, which makes special
 provisions for localization, is still far more bug-prone in non-English
 versions, and I always try to install U.S.-English versions if I can get
 them.
 
 --
 Anthony
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

To be honest I've never used a localized version of *NIX, though I
imagine that the German version of SuSE (or whatever this weeks
capitalization practice is) and the French version of Mandrake would
be quite good. I also imagine there's probably also a good Canadian
French version of OpenBSD. Then again, it could just be my
imagination.

On the other hand, I use the localized French versions of Windows XP
Pro on the computer labs at school and they don't seem to have any
problems -- with the exception that Japanese students always install
this dumbass shareware IME program that sets the character set to
SHIFT-JIS and Firefox's menus are fscked until you task manager and
kill the blasted thing. There's no reason to think that string
replacement would cause more bugs in the technical sense; however, a
bad translation might contribute to a higher frequency of user error.

Maybe I'll have to try installing French FreeBSD and seeing how well it goes :-D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba problems

2005-03-26 Thread Fabian Keil
Alejandro Pulver [EMAIL PROTECTED] wrote:

 I am using FreeBSD 5.3 with Samba 3.0.7,1.
 
 I can read all files from a Windows 2000 Pro. But when
 I try to access a mount point that is an NTFS filesystem, I have no read
 permission (files and directories appear as zero length files) until I
 access them from the server machine (like doing an 'ls').
 
 My configuration file is as follows:
 
 = BEGIN =
 # Samba config file created using SWAT
 # from 127.0.0.1 (127.0.0.1)
 # Date: 2004/12/11 19:24:02
 
 # Global parameters
 [global]
   workgroup = VARNET
   server string = FreeBSD 5.3
   security = SHARE
   log file = /var/log/samba/log.%m
   max log size = 50
   dns proxy = No
 
 [mnt]
   comment = Mounted Filesystems
   path = /mnt
   guest ok = Yes
 
 [printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   browseable = No
 
 [ale]
   comment = Ale's Home DIrectory
   path = /home/ale
   guest ok = Yes
 = END ===
 
 Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam', and
 'tmp'.
 
 What am I doing wrong?

Who owns the subdirectories and who is your guest user?

I'm using samba version 3.0.11 and can't reproduce the described behavior.

My smb.conf is:

[global]

   workgroup = W62
   netbios name = TP51
   server string = Samba Server auf Laptop
   security = user
   encrypt passwords = yes
   log file = /var/log/samba/log.%m
   max log size = 50
   socket options = TCP_NODELAY
   wins support = yes
   dns proxy = no 

[fk]
   comment = No place like home
   path = /home/fk
   valid users = fk
   public = no
   writable = yes
   printable = no

[mnt]
   comment = Quick test
   path = /mnt
   valid users = fk
   public = no
   writable = yes
   printable = no

[EMAIL PROTECTED] /mnt $ls -l
total 8
drwxr-xr-x  1 fk  wheel 0 Apr 22  2009 ad0s1
drwxr-xr-x  1 fk  wheel  4096 Jan  1  1980 ad0s2
drwxr-xr-x  5 fk  wheel   512 Mar 25 19:14 datenspeicher
drwxr-xr-x  2 fk  wheel   512 Mar 26 19:03 test

ad0s1 is ntfs, ad0s2 is fat32. Both can be used without any problems.

I just noticed the strange dates. If I unmount ad0s1 and ad0s2,
the dates make more sense.

[EMAIL PROTECTED] /mnt #ls -l
total 8
drwxr-xr-x  2 fk  wheel  512 Mar 26 18:58 ad0s1
drwxr-xr-x  2 fk  wheel  512 Mar 26 15:03 ad0s2
drwxr-xr-x  5 fk  wheel  512 Mar 25 19:14 datenspeicher
drwxr-xr-x  2 fk  wheel  512 Mar 26 19:03 test

Interesting. I'm using FreeBSD 5.4-PRERELEASE #2: Fri Mar 25 17:53:21 CET 2005.

Fabian
-- 
http://www.fabiankeil.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba problems

2005-03-26 Thread Stefan Haglund
Could you output the /etc/fstab? As far as I know, the major difference 
is that writing to NTFS isn't fully supported in Linux (last I checked). 
Maybe there is something Samba tries to do, that conflicts with that. 
Other than that I don't know, sorry. :-)

Regards,
Stefan Haglund
On Sat, 26 Mar 2005 16:59:11 +0100
Stefan Haglund [EMAIL PROTECTED] wrote:
 

First of all, make sure those mounts are accessible for normal users,
if you haven't. It's under the options for the mount in /etc/fstab, I 
think. You can always do a 'man fstab' if unsure.

Does the username/password (check out 'smbpasswd') you are using to 
connect to samba exist in the samba user database? If not, samba won't

know who you are, and will use the default guest user to access files 
(usually very restricted). That might be why you can access the mounts
when you log in to the server, but not through server.

If you go with the first, ALL users will have access. If you want to 
restrict it to, say,  a certain group, you have to go with the second 
solution I think (and add users in the samba user database).

Hope I got the issue correctly, else I dunno :-).
Regards,
Stefan Haglund
   

Hello,
Thank you for your reply.
I am using the security level SHARE with guest enabled (I have only
two machines on my network).
The mounts are accessible by normal users (like ale), the permissions
in '/mnt/w2k/' are 'rwxr-xr-x', the owner is root and group wheel.
I would like to add that I also have another share that is a FAT32
partition (WinXP) and I can browse it from the other machine (like
everything else).
I tried to map the guest account to the user ale that I use (and I can
access '/mnt/w2k'), but nothing happened.
This only happens in a NTFS mount point. The files and directories show
as truncated, and I can not see (determine size, copy, determine
if it is a file or directory, etc.) them until I do an operation over
them with any normal user in the server, then I can see the files/dirs
affected by the operation I did (ls, etc.). Before I only see the
entries (names) without attributes (permissions, directory flag, etc.).
Thanks and Best Regards,
Ale
 

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


Re: hyper threading.

2005-03-26 Thread Chris
[EMAIL PROTECTED] wrote:
 This is the kind of disinformation I have been
 referring to
 
 You'll get much better performance with 1 processor in
 UP mode. I suggest you do some testing.
 
 -Original Message-
 From: Anthony Atkielski [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Sat, 26 Mar 2005 19:28:11 +0100
 Subject: Re: hyper threading.
 
 Perttu Laine writes:
 
 I have 3,4ghz ht processor and freebsd shows up only one processors. I
 suppose it should show two in ht models? so, GENERIC kernel doesn't
 support it? but should I add to kernel config to enable it? by reading
 config examples I think this should be enough:

 options   SMP
 
 
 Yes, that's all you need.  Just add that line, rebuild and reinstall the
 kernel, and you're all set.  Works great.  Hyperthreading doesn't buy
 you as much as truly separate processors, but it helps you get more bang
 for the buck out of your single processor (depending on the type of
 workload you run).
 

If you feel someone is in error - feel free to jump in and offer what
you feel to be correct information.

Sometimes sitting back and not correcting someone is far worse then
someone offering information based on what they know, experience, or
what have you.

In this case, by NOT offering the correct information, YOU are just as
much to blame for what you say is going on.

For those of us that don't answer, we either don't know (as is the case
wit myself) OR, they have not had a chance to read the thread.

-- 
Best regards,
Chris

It is a simple task to make things complex, but a complex
task to make them simple.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hyper threading.

2005-03-26 Thread em1897
I am offerring the correct information. Turning on SMP on
an HT machine will kill the systems performance much
more than hyperthreading will gain. I told him to test.
The degradation is easily measurable.
-Original Message-
From: Chris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sat, 26 Mar 2005 13:49:53 -0600
Subject: Re: hyper threading.
[EMAIL PROTECTED] wrote:
This is the kind of disinformation I have been
referring to
You'll get much better performance with 1 processor in
UP mode. I suggest you do some testing.
-Original Message-
From: Anthony Atkielski [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sat, 26 Mar 2005 19:28:11 +0100
Subject: Re: hyper threading.
Perttu Laine writes:
I have 3,4ghz ht processor and freebsd shows up only one processors. 
I
suppose it should show two in ht models? so, GENERIC kernel doesn't
support it? but should I add to kernel config to enable it? by 
reading
config examples I think this should be enough:
options   SMP

Yes, that's all you need.  Just add that line, rebuild and reinstall 
the
kernel, and you're all set.  Works great.  Hyperthreading doesn't buy
you as much as truly separate processors, but it helps you get more 
bang
for the buck out of your single processor (depending on the type of
workload you run).
If you feel someone is in error - feel free to jump in and offer what
you feel to be correct information.
Sometimes sitting back and not correcting someone is far worse then
someone offering information based on what they know, experience, or
what have you.
In this case, by NOT offering the correct information, YOU are just as
much to blame for what you say is going on.
For those of us that don't answer, we either don't know (as is the case
wit myself) OR, they have not had a chance to read the thread.
--
Best regards,
Chris
It is a simple task to make things complex, but a complex
task to make them simple.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba problems

2005-03-26 Thread Alejandro Pulver
On Sat, 26 Mar 2005 20:37:51 +0100
Fabian Keil [EMAIL PROTECTED] wrote:

 Alejandro Pulver [EMAIL PROTECTED] wrote:
 
  I am using FreeBSD 5.3 with Samba 3.0.7,1.
  
  I can read all files from a Windows 2000 Pro. But when
  I try to access a mount point that is an NTFS filesystem, I have no
  read permission (files and directories appear as zero length files)
  until I access them from the server machine (like doing an 'ls').
  
  My configuration file is as follows:
  
  = BEGIN =
  # Samba config file created using SWAT
  # from 127.0.0.1 (127.0.0.1)
  # Date: 2004/12/11 19:24:02
  
  # Global parameters
  [global]
  workgroup = VARNET
  server string = FreeBSD 5.3
  security = SHARE
  log file = /var/log/samba/log.%m
  max log size = 50
  dns proxy = No
  
  [mnt]
  comment = Mounted Filesystems
  path = /mnt
  guest ok = Yes
  
  [printers]
  comment = All Printers
  path = /var/spool/samba
  printable = Yes
  browseable = No
  
  [ale]
  comment = Ale's Home DIrectory
  path = /home/ale
  guest ok = Yes
  = END ===
  
  Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam',
  and'tmp'.
  
  What am I doing wrong?
 
 Who owns the subdirectories and who is your guest user?
 
 I'm using samba version 3.0.11 and can't reproduce the described
 behavior.
 
 My smb.conf is:
 
 [global]
 
workgroup = W62
netbios name = TP51
server string = Samba Server auf Laptop
security = user
encrypt passwords = yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY
wins support = yes
dns proxy = no 
 
 [fk]
comment = No place like home
path = /home/fk
valid users = fk
public = no
writable = yes
printable = no
 
 [mnt]
comment = Quick test
path = /mnt
valid users = fk
public = no
writable = yes
printable = no
 
 [EMAIL PROTECTED] /mnt $ls -l
 total 8
 drwxr-xr-x  1 fk  wheel 0 Apr 22  2009 ad0s1
 drwxr-xr-x  1 fk  wheel  4096 Jan  1  1980 ad0s2
 drwxr-xr-x  5 fk  wheel   512 Mar 25 19:14 datenspeicher
 drwxr-xr-x  2 fk  wheel   512 Mar 26 19:03 test
 
 ad0s1 is ntfs, ad0s2 is fat32. Both can be used without any problems.
 
 I just noticed the strange dates. If I unmount ad0s1 and ad0s2,
 the dates make more sense.
 
 [EMAIL PROTECTED] /mnt #ls -l
 total 8
 drwxr-xr-x  2 fk  wheel  512 Mar 26 18:58 ad0s1
 drwxr-xr-x  2 fk  wheel  512 Mar 26 15:03 ad0s2
 drwxr-xr-x  5 fk  wheel  512 Mar 25 19:14 datenspeicher
 drwxr-xr-x  2 fk  wheel  512 Mar 26 19:03 test
 
 Interesting. I'm using FreeBSD 5.4-PRERELEASE #2: Fri Mar 25 17:53:21
 CET 2005.
 
 Fabian
 -- 
 http://www.fabiankeil.de

Hello,

Thank you for your reply.

My guest user is 'nobody', but I also tried with 'ale' and 'root' (wich
owns the mount point).

The directory '/mnt/w2k' is owned by 'root' and the group 'wheel', the
permissions are rwxr-xr-x.

Y have the same strange dates.

Thanks and Best Regards,
Ale
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4-PRERELEASE: panic in ffs_valloc

2005-03-26 Thread Ed Schouten
* Kris Kennaway [EMAIL PROTECTED] wrote:
 Unfortunately that's a relatively common bug that no-one's been able to
 track down yet. It is sometimes associated to failing drives, but not
 always.

I reinstalled my machine yesterday and it Just Works (tm), except for this
warning in my dmesg:

| ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=49904459

where LBA is always the same number. Does that mean my disk has a bad block?

Yours,
-- 
 Ed Schouten [EMAIL PROTECTED]


pgp31RiNBEgDE.pgp
Description: PGP signature


Re: A Riddle

2005-03-26 Thread Fabian Keil
[EMAIL PROTECTED] wrote:

 --- Chris [EMAIL PROTECTED] wrote:
  [EMAIL PROTECTED] wrote:
   Hmm, I wonder if the lack of performance, or the
  unwanted
   emails were more heavily weighted in the
  decision?
  
   If there was any intelligent life on the list you
  could
   counter what you call Trolls with solid technical
   arguments. This reminds me of the old bsdi
   list. A bunch of half-wits who are just happy
   to belong to something and have other half-wits
   to correspond with.
  
   FreeBSD used to have open discussions between
   users and developers and it used to be real
   good. Now it sucks and the developers are
   detached, off in their own little world. See
   a pattern?
  
   But with a user base from places like gnu-rox.org
   and makeworld.com, what do you expect I
   guess?

Please have a look at your own email address.

 As an aside, all of the major web mail providers
 default to top posting. Google (ever hear
 of them?) only shows the top N lines of a post.
 So if you bottom post, you don't see the message
 you want to see
 without having to make an effort. So when are
 you troglodytes going to climb out of your
 1994 hibernations and get with the times?

They don't default to top posting, they put
the cursor on top, so you can read the whole
message and cut irrelevant parts before replying.

If Google doesn't display the whole message,
the interface is crap. That's not the fault of
anybody on this list.

 You may prefer one over the other, but its
 hardly a capital offense to do otherwise. Most
 of us have evolved out of our unix newsreaders.

If you want to be read by as many people
as possible on this list, the easiest way is
to write well formed mails.

Unfortunately, you are not only top posting,
your mailing software also inserts line breaks
where there shouldn't be any and makes it
hard to see who wrote what.

Have a look at the beginning of this mail.
Your quotation is a mess.

 Anyone with a brain is using web mail for
 mailing lists these days: no more whining
 about spam or wasted bandwidth.

Having a brain is good, but  using it is even better.
If the web interface produces garbage, changing
the interface could be a smart move.

Just my two brainless cents.
 
Fabian
-- 
http://www.fabiankeil.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anthony's drive issues.Re: ssh password delay

2005-03-26 Thread Anthony Atkielski
Colin J. Raven writes:

 How much time have you lost _just_ within the context of this thread
 alone?

Not very much, although it was virtually a total waste.

 Everyone has attempted - with great diligence and considerable patience
 - to *help* you.

Most have spent a lot of bandwidth on ad hominem (see your own post for
an example), and virtually none on constructive suggestions. And of
those who offered relatively constructive suggestions, most were pure
conjecture, often influenced by some sort of bias.

 You said earlier (I seem to recall) that this isn't a production
 machine, thus presumably it's a personal project. With hardware of this
 vintage it's to be hoped so anyway.

Yes.

 My point is you've alreay lost timeon a personal project, with no
 certainty of an outcome under *any* OS. Are you so wired in that all the
 hours in your day are billable to some_project_or_other?

I am often pretty short of time, yes.

 I shouldn't have risen to this, but it's already gone from the realms of
 the sublime to the utterly absurd. You've argued _yourself_ into a loop
 from which there seems to be no egress. You're the one frothing 
 endlessly about something that you could have gone a long way to 
 troubleshooting or even gasp solving! You apparently elected not to 
 for reasons best known to yourself. Thus - I think - it's time to put 
 this down and give everyone a much deserved rest from the eternally
 utterly futile series of exchanges.

See my comment above about ad hominem.  If you're really that bothered
by this thread, why do you expend so much energy on something as useless
as a personal attack?  Particularly at this late point, when I've hardly
said anything at all about my problem on this server in several days (no
time to look into it myself).

-- 
Anthony


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


Re: hyper threading.

2005-03-26 Thread Anthony Atkielski
[EMAIL PROTECTED] writes:

 You'll get much better performance with 1 processor in
 UP mode. I suggest you do some testing.

Where can I see the results of your own exhaustive tests?

The purpose of hyperthreading is to keep all hardware on the
microprocessor working.  Many instructions use only certain parts of the
chip, leaving other parts idle.  By allowing two execution contexts to
be maintained simultaneously, hyperthreading makes it possible to better
utilize hardware that might otherwise sit idle.  The ideal case would be
two threads executing completely different instruction sequences that
use very different parts of this chip.  I don't have exact figures but
I'd guess that in ideal situations you might get 20%-30% extra out of a
single processor in this way--enough to negate the greater overhead of
the SMP logic.

A situation in which hyperthreading would _not_ help would be any type
of parallel processing, in which multiple threads execute very similar
instructions.  These instructions are likely to require the same parts
of the microprocessor at the same time, so it's unlikely that they will
be able to execute in parallel--one will have to wait for the other
(because the microprocessor has logic areas that can function
independently and simultaneously, but these areas don't do the same
things, so they are not redundant logic).

-- 
Anthony


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


Re: mot de passe root

2005-03-26 Thread Anthony Atkielski
Josh Ockert writes:

 There's no reason to think that string replacement would cause more
 bugs in the technical sense; however, a bad translation might
 contribute to a higher frequency of user error.

Windows is better adapted to localization than most operating systems,
because it isolates resources like strings in a way that facilitates
keeping them independent of code. Nevertheless, problems arise. Strings
often grow much longer when translated. Unicode poses special problems.
Buffer overflows are more likely. Formatting messages with variable
fields gets more complex and difficult and harder to debug.  And patches
and fixes take longer to get for localized versions; dumps generated in
localized versions are harder to debug, since everything has moved.  The
list goes on and on.

All of these problems are multipled a thousandfold in UNIX and most
other operating systems, where almost all language information is
hard-coded directly into the software.

Localization makes sense for ordinary end users, but not for IT
professionals.  They are vastly better off working in English.

-- 
Anthony


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


Re: mot de passe root

2005-03-26 Thread Josh Ockert
On Sat, 26 Mar 2005 22:10:30 +0100, Anthony Atkielski
[EMAIL PROTECTED] wrote:
 Josh Ockert writes:
 
  There's no reason to think that string replacement would cause more
  bugs in the technical sense; however, a bad translation might
  contribute to a higher frequency of user error.
 
 Windows is better adapted to localization than most operating systems,
 because it isolates resources like strings in a way that facilitates
 keeping them independent of code. Nevertheless, problems arise. Strings
 often grow much longer when translated. Unicode poses special problems.
 Buffer overflows are more likely. Formatting messages with variable
 fields gets more complex and difficult and harder to debug.  And patches
 and fixes take longer to get for localized versions; dumps generated in
 localized versions are harder to debug, since everything has moved.  The
 list goes on and on.
 
 All of these problems are multipled a thousandfold in UNIX and most
 other operating systems, where almost all language information is
 hard-coded directly into the software.
 
 Localization makes sense for ordinary end users, but not for IT
 professionals.  They are vastly better off working in English.
 
 --
 Anthony
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Oh I agree. Actually, my partner in my duo linguistique at the Centre
de Linguistique Appliquée (in Besançon) is an IT guy who wants to
improve his English.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hyper threading.

2005-03-26 Thread Anthony Atkielski
[EMAIL PROTECTED] writes:

 I am offerring the correct information. Turning on SMP on
 an HT machine will kill the systems performance much
 more than hyperthreading will gain.

Why?

I've explained why hyperthreading can provide a modest gain in
performance.  Now explain to me why it would not.

 I told him to test.
 The degradation is easily measurable.

If you can say with certainty that a degradation occurs, then you've
already tested, in which case you can show your work.  If you haven't
tested, then you can't say anything with certainty, in which case your
opinions are pure conjecture.

A quick look at actual research done by various parties on the Web
reveals that HT does provide the modest improvements to which I've
alluded.  It's not as impressive as two processors, but then again,
nobody claimed it would be.  It just makes better use of one processor
and allows you to get more for your money from that processor.

One advantage that I had not previous mentioned is that the availability
of a logical processor for dispatch can improve response time in certain
scenarios, even if the overall processor power doesn't increase that
much.  When compute-bound processes monopolize a single processor, the
response time of the entire system can suffer; but if you have a second
processor waiting for dispatch (even a logical HT processor), you can
immediately attend to other tasks even as the compute-bound process
runs, as long as it isn't launching multiple threads (which most such
processes won't do).

-- 
Anthony


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


Re: mot de passe root

2005-03-26 Thread Peter N. M. Hansteen
Anthony Atkielski [EMAIL PROTECTED] writes:

 Localizing software destabilizes it; localized versions always contain
 more bugs (often very hard-to-find bugs) than original versions.

I fail to see how switching from one set of message strings files in a
correctly written application would destabilize it.

 Localized versions are a constant source of trouble.  Even Windows,
 which makes special provisions for localization, is still far more
 bug-prone in non-English versions, and I always try to install
 U.S.-English versions if I can get them.

Oh, you're talking about Windows.  Yes, there's been a lot of
localization related trouble there.  But then we're relatively safe from
the secret brainfarts of Microsoft developers here.
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


Clean install of FreeBSD, many ports wont compile

2005-03-26 Thread Matt Juszczak
Still can't figure out how to get my FreeBSD machine to work properly.  
I've tried everything.

Download the ISO on Wednesday, Mar 23rd, from ftp.freebsd.org.  standard 
install, cvsup'd the ports, and tried to install 
/usr/ports/editors/pico, /usr/ports/shells/bash2, and a couple other ports.

The output of the bad compile of pico and bash are below:
http://paste.atopia.net/108
http://paste.atopia.net/109
http://paste.atopia.net/110
http://paste.atopia.net/111
I tried memtest, a hard drive test, etc.  I don't understand how a clean 
install of freebsd 5.3 - RELEASE could be doing this.

For the record, I cvsup'd to cvsup2, and I've tried that server on 
another already installed 5.3-RELEASE and it worked fine.  Please, any 
suggestions would be appreciated.  I've never seen anything like this 
before.

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


Re: mot de passe root

2005-03-26 Thread Anthony Atkielski
Peter N. M. Hansteen writes:

 I fail to see how switching from one set of message strings files in a
 correctly written application would destabilize it.

As I've explained, changing string lengths can be a source of trouble;
string copies that worked before are suddenly overflowing buffers.
Inserting variable data into messages is also difficult with localized
software, as the order and format of the variables must often change,
and sometimes a lot of extra code is required to accommodate this.
Special characters can cause code to fail if it is not prepared to
handle 8-bit data--setting the high-order bit is especially likely to
make trouble.  There are lots of potential problems.

And that's just with software that facilitates localization, such as
Windows executables.  In other environments, it gets a lot worse.

 Oh, you're talking about Windows. Yes, there's been a lot of
 localization related trouble there. But then we're relatively safe
 from the secret brainfarts of Microsoft developers here.

As I've already pointed out, localization is actually cleaner and safer
in Windows programs than in most other types of software.  Windows
allows you to isolate strings and similar data in resource files built
separately from the executable code.  In many other environments, you
have to either hard code all language data directly into the program, or
you have to write your own code to allow broad localization.

-- 
Anthony


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


Re: mot de passe root

2005-03-26 Thread Peter N. M. Hansteen
Anthony Atkielski [EMAIL PROTECTED] writes:

 I was thinking of UNIX itself, not X servers or related products.

Take a peek in /usr/share/locale and /usr/local/share/locale next time
you're at a FreeBSD or Linux system.

 I doubt that even Apple has bothered to localize any of the UNIX
 software for OS X.

You haven't checked, then.  

Unless the company's been taken over by the beancounters again, I'd
imagine localized messages are at least available for roughly the same
languates available for the GUI parts.  The thing is, as long as you
stay away from command line options and scripting/programming language
keywords (yes, I have more than 15 years' experience in the localization
industry, I've seen quite a bit of such foolishness) and the software is
sanely written, messages are fairly straightforward and risk-free to
translate.  .

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


Re: How to include header files in makefiles

2005-03-26 Thread Jonathon McKitrick
On Fri, Mar 18, 2005 at 04:38:15PM +, Chuck Robey wrote:
: I honestly keep on switching back and forth, between thinking that the 
: best make is bmake, or gmake.  They both have key items that make them 
: uniquely better.

Other than parallel build tasks (-j2) what does bmake do that is important,
other than being part of the native BSD platform?

Jonathon McKitrick
--
My other computer is your Windows box.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mot de passe root

2005-03-26 Thread Anthony Atkielski
Peter N. M. Hansteen writes:

 Take a peek in /usr/share/locale and /usr/local/share/locale next time
 you're at a FreeBSD or Linux system.

No need.  I can look at the source of almost any UNIX program and see
that there is no provision for localization at all, short of brute
modification of the source code itself.  But this is not unreasonable
for a server operating system, although it's much harder to defend for
software visible to potentially unsophisticated end users.  However,
back in the days when UNIX was written, localization was not a high
priority, and when it was undertaken at all, it was done the hard way,
by rewriting.

 You haven't checked, then.

No, I have not, but I should be _extremely_ surprised if Apple has gone
through all the UNIX source code and modified it to permit easy
localization.  That would come perilously close to a rewrite.

-- 
Anthony


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


Re: FreeBSD 5.4-PRERELEASE: panic in ffs_valloc

2005-03-26 Thread Gary Kline
On Sat, Mar 26, 2005 at 10:16:57PM +, Gary Kline wrote:
On Sat, Mar 26, 2005 at 09:47:47PM +0100, Ed Schouten wrote:
 * Kris Kennaway [EMAIL PROTECTED] wrote:
  Unfortunately that's a relatively common bug that no-one's been able to
  track down yet. It is sometimes associated to failing drives, but not
  always.
 
 I reinstalled my machine yesterday and it Just Works (tm), except for this
 warning in my dmesg:
 
 | ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=49904459
 
 where LBA is always the same number. Does that mean my disk has a bad block?
 
 Yours,
 -- 
  Ed Schouten [EMAIL PROTECTED]


This is a FWIW, but the same thing is happening with DMA 
WRITES on with my 5.3 CD set from Nov, '04 on a 160G Maxtor
drive that I bought last July.   4.10 was fine, and my 
5.2 to 5.3 upgrades went smoothly too.  I used the CD set
because I was configuring a dual-boot W2K/FBSD setup.

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Webmin core dumps...

2005-03-26 Thread Kiffin Gish
I recently did a portupgrade -arR of my server (freebsd 5.3) and since then 
webmin will not start -- it core dumps on me leaving a perl.core file in the 
current directory.

Any ideas what could be happening here? Could it be because perl also happened 
to be upgraded? How can I fix this?

Thanks alot in advance.


Kiffin Gish
Gouda, The Netherlands
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Missing tiff-3.6.1_1

2005-03-26 Thread Christopher Kearns
After installing freeBSD 5.3 on my system, many packages will not 
install. I get an error message that says Warning: tiff-3.6.1_1 is a 
required package but was not found. What do I need to do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hyper threading.

2005-03-26 Thread em1897
Yes, the theory is very nice; you've done a nice
job reading Intel's marketing garb. However if you
don't have a specific hyperthreading-aware scheduler
and particularly well-written, threaded applications,
you'll lose more than you'll gain. Since FreeBSDs
network stack isn't particularly well threaded, nor
is the scheduler optimized for hyperthreading, you
get a big mess at the kernel level. So if you have
a nice application that does a lot of threaded math
operations, you might think you've achieved something,
But what you've missed is that the overhead to manage
the better utilization of the dual-pipelines created
by HT costs more than it gains. Hence, the loss of
performance. The poblem is not at the application level,
but at the kernel level. The SMP overhead is so substantial,
and the OS is working thinking it has 2 processors, that
process switching and interrupt handling slow down
considerably.
A machine with a 50% load UP will run 65-70% load with
HT/SMP running. Like I said, its easily measurable. Thats
at the kernel level (say routing or bridging performance).
Now if the machine isn't a server, it may be just fine.
Thats why I suggested testing. But for a network server
HT is bad. Very Bad.
Not only that, but FreeBSD 5.x actually has a higher
capacity network-wise with 1 processor than 2, and
I'm sure you can theorize why 2 processors should be
faster than one. The theory only matters if you have
well written code to handle it properly. FreeBSD is
a long way off from that.
-Original Message-
From: Anthony Atkielski [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sat, 26 Mar 2005 22:06:38 +0100
Subject: Re: hyper threading.
[EMAIL PROTECTED] writes:
You'll get much better performance with 1 processor in
UP mode. I suggest you do some testing.
Where can I see the results of your own exhaustive tests?
The purpose of hyperthreading is to keep all hardware on the
microprocessor working.  Many instructions use only certain parts of the
chip, leaving other parts idle.  By allowing two execution contexts to
be maintained simultaneously, hyperthreading makes it possible to better
utilize hardware that might otherwise sit idle.  The ideal case would be
two threads executing completely different instruction sequences that
use very different parts of this chip.  I don't have exact figures but
I'd guess that in ideal situations you might get 20%-30% extra out of a
single processor in this way--enough to negate the greater overhead of
the SMP logic.
A situation in which hyperthreading would _not_ help would be any type
of parallel processing, in which multiple threads execute very similar
instructions.  These instructions are likely to require the same parts
of the microprocessor at the same time, so it's unlikely that they will
be able to execute in parallel--one will have to wait for the other
(because the microprocessor has logic areas that can function
independently and simultaneously, but these areas don't do the same
things, so they are not redundant logic).
--
Anthony
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

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


Re: Clean install of FreeBSD, many ports wont compile

2005-03-26 Thread Chuck Robey
Matt Juszczak wrote:
Still can't figure out how to get my FreeBSD machine to work properly.  
I've tried everything.

Download the ISO on Wednesday, Mar 23rd, from ftp.freebsd.org.  standard 
install, cvsup'd the ports, and tried to install 
/usr/ports/editors/pico, /usr/ports/shells/bash2, and a couple other ports.

The output of the bad compile of pico and bash are below:
http://paste.atopia.net/108
http://paste.atopia.net/109
http://paste.atopia.net/110
http://paste.atopia.net/111
I tried memtest, a hard drive test, etc.  I don't understand how a clean 
install of freebsd 5.3 - RELEASE could be doing this.
Looking at your listings, you aren't trying to do a clean install, 
you're trying to do a complete rebuild.  If you don't have your system 
completely built ALREADY at this point, it's a bit like trying to buy a 
car by putting one together, armed with a nice screwdriver.

Back up, tell us if you have a system installed.  IF that's true, then 
stop complaining about trying to install a system, because you have 
that, instead begin researching (by using the FreeBSD handbook) how to 
recompile a kernel.  If you aren't at least somewhat of a programmer, 
then you're going to need to get a friend who IS one to help you out ... 
maybe, learn how to use the FreeBSD IRC channel, it's fairly good.

The way it goes is, first yo uget yourself a system installed, then you 
worry about getting a system recompiled.  Along the way you will do a 
whole lot of learning.

BUT stop complaining about not getting your system to work properly 
unless that really is your problem, cause all you're going to do is 
confuse and upset people who want to help you.

For the record, I cvsup'd to cvsup2, and I've tried that server on 
another already installed 5.3-RELEASE and it worked fine.  Please, any 
suggestions would be appreciated.  I've never seen anything like this 
before.

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


Re: hyper threading.

2005-03-26 Thread Anthony Atkielski
[EMAIL PROTECTED] writes:

 Yes, the theory is very nice; you've done a nice
 job reading Intel's marketing garb.

I haven't read their marketing materials.  I'm simply going by the
technical descriptions I've read of the architecture.

 However if you don't have a specific hyperthreading-aware scheduler
 and particularly well-written, threaded applications, you'll lose more
 than you'll gain.

If that were true, then it would be equally true of systems with actual
multiple physical processors.  In practice, multiple processors provide
an obvious performance gain, and hyperthreading does, too, although it's
much more modest than the gain obtained from physically independent
processors.

 Since FreeBSDs network stack isn't particularly well threaded, nor is
 the scheduler optimized for hyperthreading, you get a big mess at the
 kernel level.

Nothing needs to be specially optimized for hyperthreading.  All you
need is at least two threads available for dispatch, with reasonably
heterogenous instruction mixes that can use different parts of the
processor hardware at the same time.  Real-world instruction mixes are
often in this category in general-purpose operating systems.

 So if you have a nice application that does a lot of threaded math
 operations, you might think you've achieved something,

Heavily math-oriented applications (or any group of applications that
contains similar instruction mixes) are among the least likely to
benefit from hyperthreading, because they will tend to use the same
processor logic at the same time, effectively rendering hyperthreading
moot.

 But what you've missed is that the overhead to manage
 the better utilization of the dual-pipelines created
 by HT costs more than it gains.

Unless FreeBSD is very poorly written indeed, the gain from
hyperthreading should still exceed the slight increase in overhead
incurred by multiprocessing logic.

 Hence, the loss of performance.

Where can I see this loss of performance documented?

 The poblem is not at the application level, but at the kernel level.
 The SMP overhead is so substantial, and the OS is working thinking it
 has 2 processors, that process switching and interrupt handling slow
 down considerably.

How much is so substantial?  Where can I see this documented?

 A machine with a 50% load UP will run 65-70% load with
 HT/SMP running. Like I said, its easily measurable.

Then you can show me the measurements.  Where are they?

A 40% increase in system load just because of multiprocessing is
enormous.  Where did you get this figure?

 Thats at the kernel level (say routing or bridging performance).

But the kernel is only a small fraction of overall processor
utilization.

 Now if the machine isn't a server, it may be just fine.
 Thats why I suggested testing. But for a network server
 HT is bad. Very Bad.

It doesn't matter whether the machine is a server or a desktop.  What
matters is the specific mix and nature of applications.

 Not only that, but FreeBSD 5.x actually has a higher
 capacity network-wise with 1 processor than 2 ...

Here again, I need to see this documented.

 ... and I'm sure you can theorize why 2 processors should be
 faster than one. The theory only matters if you have
 well written code to handle it properly. FreeBSD is
 a long way off from that.

Where can I see the measurements?

-- 
Anthony


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


Re: Clean install of FreeBSD, many ports wont compile

2005-03-26 Thread Matt Juszczak
I think everyone is misunderstanding my issue here.  I setup 5 FreeBSD 
servers at once, we are converting our mail server, web server, DNS 
server, spam gateway, and transparent proxy machine over all at once to 
FreeBSD (well, in steps...but...).

My experience with freebsd is considered intermediate.  I installed all 
these boxes from the ISO.  The FIRST thing I did after the install was 
complete was a:

pkg_add -r cvsup-without-gui
cvsup /etc/ports-supfile (I made the supfile)
cvsup /etc/ports-supfile
cd /usr/ports/shells/bash2
make install
cd /usr/ports/editors/pico
make install
I did not type anything else in between in the initial install and those 
commands above.  The pico and bash installs failed, and only happened on 
this one machine.  The other machines work fine.

Therefore, in my opinion, either something is wrong with the hardware of 
the box, or something was wrong with the ISO I downloaded, because I 
didn't type enough commands to be able to mess anything up.

Thanks for your help in advance.
-Matt
Chuck Robey wrote:
Matt Juszczak wrote:
Still can't figure out how to get my FreeBSD machine to work 
properly.  I've tried everything.

Download the ISO on Wednesday, Mar 23rd, from ftp.freebsd.org.  
standard install, cvsup'd the ports, and tried to install 
/usr/ports/editors/pico, /usr/ports/shells/bash2, and a couple other 
ports.

The output of the bad compile of pico and bash are below:
http://paste.atopia.net/108
http://paste.atopia.net/109
http://paste.atopia.net/110
http://paste.atopia.net/111
I tried memtest, a hard drive test, etc.  I don't understand how a 
clean install of freebsd 5.3 - RELEASE could be doing this.

Looking at your listings, you aren't trying to do a clean install, 
you're trying to do a complete rebuild.  If you don't have your system 
completely built ALREADY at this point, it's a bit like trying to buy 
a car by putting one together, armed with a nice screwdriver.

Back up, tell us if you have a system installed.  IF that's true, then 
stop complaining about trying to install a system, because you have 
that, instead begin researching (by using the FreeBSD handbook) how to 
recompile a kernel.  If you aren't at least somewhat of a programmer, 
then you're going to need to get a friend who IS one to help you out 
... maybe, learn how to use the FreeBSD IRC channel, it's fairly good.

The way it goes is, first yo uget yourself a system installed, then 
you worry about getting a system recompiled.  Along the way you will 
do a whole lot of learning.

BUT stop complaining about not getting your system to work properly 
unless that really is your problem, cause all you're going to do is 
confuse and upset people who want to help you.

For the record, I cvsup'd to cvsup2, and I've tried that server on 
another already installed 5.3-RELEASE and it worked fine.  Please, 
any suggestions would be appreciated.  I've never seen anything like 
this before.

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

!DSPAM:4245e4b9399096707511630!

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


Re: Missing tiff-3.6.1_1

2005-03-26 Thread Kris Kennaway
On Fri, Mar 18, 2005 at 10:59:24AM -0500, Christopher Kearns wrote:
 After installing freeBSD 5.3 on my system, many packages will not 
 install. I get an error message that says Warning: tiff-3.6.1_1 is a 
 required package but was not found. What do I need to do?

First tell us exactly what commands you are trying to run and the
exact errors you receive.

Kris


pgpVcMaBL6jd0.pgp
Description: PGP signature


Re: gcc error

2005-03-26 Thread Kris Kennaway
On Sat, Mar 26, 2005 at 04:24:42PM +0100, Dick Hoogendijk wrote:
 Hi,
 
 I'm getting desperate. First I couldn't compile just a gnome package.
 OK, it could be missed.. But now I want to compile the new KDE-3.4 and
 it does not work :-( Compiling kdelibs3 I get (again) this annoying
 error. Googling learned it shows up quit often, but I found no solution.
 So, what is this and waht can be done about it? I guess it's a gcc
 compiler error. I deleted all gcc packages that were installed (back to
 the systems's version - FreeBSD-4.11R). It did not help.
 
 The error I get:
 
 c++: cannot specify -o with -c or -S and multiple compilations
 The same error happens sometimes with 'cc'

Show us the full error, not a context-free excerpt.

Kris


pgpJBxU1Mra1j.pgp
Description: PGP signature


Re: Missing libraries when making c-client

2005-03-26 Thread Kris Kennaway
On Sat, Mar 26, 2005 at 12:52:43PM -0600, Jamie Ostrowski wrote:
 
 
Greetings,
 
 
I am having some trouble installing imap from source. I am building a
 machine for my boss who *insists* that I cannot use anything from the
 ports collection on the machine, so I can't use the imap port.

Sounds like you need to tell your boss about this problem, then.  This
is precisely what the ports collection is for.

Kris

pgpZbIPE7pyMY.pgp
Description: PGP signature


Re: FreeBSD 5.4-PRERELEASE: panic in ffs_valloc

2005-03-26 Thread Kris Kennaway
On Sat, Mar 26, 2005 at 09:47:47PM +0100, Ed Schouten wrote:
 * Kris Kennaway [EMAIL PROTECTED] wrote:
  Unfortunately that's a relatively common bug that no-one's been able to
  track down yet. It is sometimes associated to failing drives, but not
  always.
 
 I reinstalled my machine yesterday and it Just Works (tm), except for this
 warning in my dmesg:
 
 | ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=49904459
 
 where LBA is always the same number. Does that mean my disk has a bad block?

It's quite possible.

Kris


pgprAZl0Xgfil.pgp
Description: PGP signature


Re: Clean install of FreeBSD, many ports wont compile

2005-03-26 Thread Kris Kennaway
On Sat, Mar 26, 2005 at 04:28:33PM -0500, Matt Juszczak wrote:
 Still can't figure out how to get my FreeBSD machine to work properly.  
 I've tried everything.
 
 Download the ISO on Wednesday, Mar 23rd, from ftp.freebsd.org.  standard 
 install, cvsup'd the ports, and tried to install 
 /usr/ports/editors/pico, /usr/ports/shells/bash2, and a couple other ports.
 
 The output of the bad compile of pico and bash are below:
 
 http://paste.atopia.net/108
 http://paste.atopia.net/109
 http://paste.atopia.net/110
 http://paste.atopia.net/111

---
# make install
=== Building for bash-2.05b.007_2
cd .  autoconf
autoconf: not found
*** Error code 127
---

This usually indicates you have clock problems - autoconf thought that
the pregenerated files were out of date and tried to rebuild them.

Kris


pgplSNIWOvhSR.pgp
Description: PGP signature


Re: IP packets with source address of 0.0.0.0

2005-03-26 Thread jadz
Well, for all those who were interested...

My problem was resolved by upgrading all the sites to tinc1.0.3 and fixing 
a routing problem i had on one of the systems.

Cheers to my only replier.

J

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


ot: FWIW meaning? [Was: Re: FreeBSD 5.4-PRERELEASE: panic in ffs_valloc]

2005-03-26 Thread Emanuel Strobl
Am Samstag, 26. März 2005 23:19 schrieb Gary Kline:
 On Sat, Mar 26, 2005 at 10:16:57PM +, Gary Kline wrote:
[...]
  Yours,
  --
   Ed Schouten [EMAIL PROTECTED]

   This is a FWIW, but the same thing is happening with DMA

While I see this on questions@ - What does FWIW mean?

I think it's like for your information but I have never heard the real 
meaning.

Thanks,

-Harry


pgpvDZsIIBGBa.pgp
Description: PGP signature


Re: ot: FWIW meaning? [Was: Re: FreeBSD 5.4-PRERELEASE: panic in ffs_valloc]

2005-03-26 Thread John Pettitt


Emanuel Strobl wrote:

Am Samstag, 26. März 2005 23:19 schrieb Gary Kline:
  

On Sat, Mar 26, 2005 at 10:16:57PM +, Gary Kline wrote:


[...]
  

Yours,
--
 Ed Schouten [EMAIL PROTECTED]
  

  This is a FWIW, but the same thing is happening with DMA



While I see this on questions@ - What does FWIW mean?

I think it's like for your information but I have never heard the real 
meaning.

Thanks,

-Harry
  

FWIW == For What It's Worth
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rfcomm_pppd and nat - trying to share internet with palm via bluetooth

2005-03-26 Thread Peter Blowers
Hi, ppp newbie here.
I'm trying to share my freebsd machine's internet connection with my 
palm via bluetooth.  The freebsd machine is connected via wired 
ethernet to a linksys wireless access point,  that is connected to my 
cable modem on the wan side.  The linksys AP is my gateway.

Bluetooth seems to be working fine. I can connect and ping the freebsd 
machine from my palm, but I can't get to the internet.
That is, I can't ping my ISP's DNS.  I thought 'nat enable yes' or 'set 
nat enable' would do it, but no luck.

I run the following on the freebsd machine:
/etc/rc.bluetooth start ubt0
sdpd
rfcomm_pppd -s -C 1 -l rfcomm-server
and in /etc/ppp/ppp.conf I have this:
rfcomm-server:
  set device /dev/cuaa1
  set cd off
  set dial
  set speed 115200
  set timeout 0
  nat enable yes
  set ifaddr 192.168.0.1/0 192.168.0.2/0
   enable dns
  add default HISADDR
  open
  disable pap
  deny pap
  disable chap
  deny chap
if I do this in ppp.conf instead:
  set ifaddr 10.10.0.2 10.10.0.201 255.255.255.0
where 10.10.0.2 is the wireless router(gateway), then the palm gets an 
ip of 10.10.0.201 just fine, and it can ping the freebsd machine 
(10.10.0.154) and the wireless router (10.10.0.2), but STILL can't get 
to the internet.
Also tried setting net.inet.ip.forwarding=1. No change.

Anyone have some suggestions?
thanks,
pete
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Anthony's drive issues.Re: ssh password delay

2005-03-26 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:

 I shouldn't have risen to this, but it's already gone from the
 realms of
 the sublime to the utterly absurd.

Colin,

After going back and forth on this problem for weeks, Anthony finally
posted the microcode version that his Adaptec controller is using.  This
microcode is NOT the generic Adaptec microcode that Adaptec normally
supplies with
that controller - instead, it is Adaptec-supplied, HP-modified code.

In a case like this it is very likely a BSD driver issue - why, because
the FreeBSD driver author could not test with every custom-modified
microcode
when he wrote the driver.  There is no list out there of every computer
company who has had a source license to the Adaptec microcode and made
modifications to it.  And naturally you would assume that anyone making
mods to the SCSI microcode would have the brains not to break it.  In
this case that didn't happen.  Most likely HP modified the Adaptec
microcode
because of bugs in the disks that they were supplying with the original
Vectras.  The reason he wasn't seeing problems with NT on the system
was that as we all know Microsoft obtains samples of every name-brand
system that is ever manufactured specifically for compatibility testing,
and
they probably already ran into this problem and put a workaround in their
driver.

I have noticed a similar problem on the same Adaptec controller in a
Compaq system which is running Adaptec-supplied, Compaq-modified
microcode
and a Quantum disk drive. I have MANY systems running the same Adaptec
controller that are using genuine Adaptec adapters which are using
Adaptec
microcode that is not modded by some computer company, that run perfectly
fine.

It is beyond comprehension why companies like Compaq and HP see fit to
fuck around with the perfectly good Adaptec microcode.  But the fact is
that in my and in his system, they have done so.

His three choices are to first: try a different SCSI disk from a
different
manufacturer, in the hopes that it might behave with the modified
microcode.
As I've explained to him I've had problems with Quantum SCSI disks
in the past and I don't use them - if he reverts to his single Seagate
disk he might get lucky and the problem go away - then he will know
to buy a bigger Seagate if he needs more space.

Second, he can go into BIOS and disable the on-motherboard SCSI
controllers
and use an off-the-shelf controller, like a cheap symbiosis or NCR one
for
example.

Third, he can try to
contact the FreeBSD developer who is assigned to
the ahc() driver, tell that person that he has an HP Vectra that uses
a aic7880 chipset that is running microcode that HP modified, and that
his system is having problems, and offer that person his system for
testing.  He may need to ship his system to that developer or more likely
put an IDE disk in it that has a running BSD system on it, attach a disk
to the Adaptec controller, put it on the Internet and set it up for
remote access
so the developer can examine it.

In my case, I'm going to try a different SCSI disk in hopes that the
interaction between the Compaq-modified SCSI adapter and the disk
drive is different and does not trigger whatever bug Compaq introduced
into the Adaptec microcode.  And if that doesen't work I'll just
remove the SCSI adapter and throw it in the garbage and put in a
genuine Adaptec adapter.  Anthony cannot do this because he doesen't
have a separate adapter, his SCSI chipset is on the motherboard.  If he
updated BIOS there's a slight possibility that the updated BIOS might
carry a later rev. of microcode - but I am pretty sure with that Adaptec
chipset that the microcode was in a ROM not in an EEPROM so it can't be
updated.

But Anthony's biggest obstacles to this are that a) he doesen't believe
in
bugs that appear as a result of interactions between microcode in disk
drives and microcode in SCSI adapters, he seems to feel that everyone in
the business exactly perfectly follows the SCSI standard when they
manufacture disks and controllers.  This I find strange because there
have been many times disk manufacturers have posted corrected firmware
for their disk drives - if nobody ever made mistakes in implementations,
no one would ever post microcode updates.  But for some reason Anthony
does not believe in this, or if he does he is convinced that HIS disks
have perfect SCSI implementations.

and b) Anthony is convinced that his Vectra has an Adaptec chipset and
microcode that runs that chipset that is pefectly good and identically
compliant to every other Adaptec chipset, and that the problems he's
having
are not as a result in his hardware not being compliant with every other
Adaptec adapter card, but are the result of some gross in the Adaptec
driver.  This despite that most people running Adaptec controllers with
aic7880 chipsets in them under FreeBSD do NOT have problems.

With that sort of attitude if he were to approach the author of the ahc()
driver he would be told to stick his head up his 

RE: Anthony's drive issues.Re: ssh password delay

2005-03-26 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 Colin J. Raven writes:
 
 How much time have you lost _just_ within the context of this thread
 alone?
 
 Not very much, although it was virtually a total waste.


Actually it was a waste to you because you don't want to try anything,
but it wasn't a waste to others on the list.  Anyone wanting to run
FreeBSD on an old Vectra they have around if they search the list
archives they are going to come across this thread, and be educated.
 
 
 Most have spent a lot of bandwidth on ad hominem (see your own post
 for an example), and virtually none on constructive suggestions. And
 of those who offered relatively constructive suggestions, most were
 pure conjecture, often influenced by some sort of bias.
 

When trying to troubleshoot a problem you make a conjecture as to
what the problem might be then you test for it.  So of course, any
constructive suggestion is going to be conjecture.

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


Re: hyper threading.

2005-03-26 Thread Paul A. Hoadley
On Sat, Mar 26, 2005 at 11:45:21PM +0100, Anthony Atkielski wrote:

 Where can I see the measurements?

Here are some measurements.  A few weeks ago I ran Unixbench 4.1.0
(/usr/ports/benchmarks/unixbench) on a P4 2.8GHz with and without
hyperthreading enabled.  I note a slight difference in the 10 minute
load average in favour of the uniprocessor run (0.00 vs 0.10 in the
hyperthreading run), though I doubt this alone could account for a 15%
difference in total score.


Uniprocessor run:
-
  BYTE UNIX Benchmarks (Version 4.1.0)
  System -- bigbird.logicsquad.net
  Start Benchmark Run: Sun Feb 20 08:23:08 CST 2005
   14 interactive users.
   8:23AM  up 3 days, 14:37, 14 users, load averages: 0.00, 0.00, 0.00
  -r-xr-xr-x  1 root  wheel  105624 Feb 12 00:09 /bin/sh
  /bin/sh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for 
FreeBSD 5.3-CURRENT (rev 1), dynamically linked (uses shared libs), stripped
  /dev/mirror/gm0s1f 164607432 5190146 146248692 3%/usr
Dhrystone 2 using register variables 4438000.0 lps   (10.0 secs, 10 samples)
Double-Precision Whetstone  786.2 MWIPS (10.4 secs, 10 samples)
System Call Overhead 387391.7 lps   (10.0 secs, 10 samples)
Pipe Throughput  595757.1 lps   (10.0 secs, 10 samples)
Pipe-based Context Switching  94343.7 lps   (10.0 secs, 10 samples)
Process Creation   5143.3 lps   (30.0 secs, 3 samples)
Execl Throughput   1127.4 lps   (29.9 secs, 3 samples)
File Read 1024 bufsize 2000 maxblocks637932.0 KBps  (30.0 secs, 3 samples)
File Write 1024 bufsize 2000 maxblocks86241.0 KBps  (30.0 secs, 3 samples)
File Copy 1024 bufsize 2000 maxblocks 84790.0 KBps  (30.0 secs, 3 samples)
File Read 256 bufsize 500 maxblocks  182188.0 KBps  (30.0 secs, 3 samples)
File Write 256 bufsize 500 maxblocks  83127.0 KBps  (30.0 secs, 3 samples)
File Copy 256 bufsize 500 maxblocks   53860.0 KBps  (30.0 secs, 3 samples)
File Read 4096 bufsize 8000 maxblocks1662218.0 KBps  (30.0 secs, 3 samples)
File Write 4096 bufsize 8000 maxblocks47821.0 KBps  (30.0 secs, 3 samples)
File Copy 4096 bufsize 8000 maxblocks 47003.0 KBps  (30.0 secs, 3 samples)
Shell Scripts (1 concurrent)   2584.9 lpm   (60.0 secs, 3 samples)
Shell Scripts (8 concurrent)353.3 lpm   (60.0 secs, 3 samples)
Shell Scripts (16 concurrent)   177.0 lpm   (60.0 secs, 3 samples)
Arithmetic Test (type = short)   687842.3 lps   (10.0 secs, 3 samples)
Arithmetic Test (type = int) 697114.1 lps   (10.0 secs, 3 samples)
Arithmetic Test (type = long)697313.5 lps   (10.0 secs, 3 samples)
Arithmetic Test (type = float)   658678.8 lps   (10.0 secs, 3 samples)
Arithmetic Test (type = double)  658663.3 lps   (10.0 secs, 3 samples)
Arithoh  14359071.4 lps   (10.0 secs, 3 samples)
C Compiler Throughput  1373.3 lpm   (60.0 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places 161336.3 lpm   (30.0 secs, 3 samples)
Recursion Test--Tower of Hanoi98086.8 lps   (20.0 secs, 3 samples)


 INDEX VALUES
TESTBASELINE RESULT  INDEX

Dhrystone 2 using register variables116700.0  4438000.0  380.3
Double-Precision Whetstone  55.0  786.2  142.9
Execl Throughput43.0 1127.4  262.2
File Copy 1024 bufsize 2000 maxblocks 3960.084790.0  214.1
File Copy 256 bufsize 500 maxblocks   1655.053860.0  325.4
File Copy 4096 bufsize 8000 maxblocks 5800.047003.0   81.0
Pipe Throughput  12440.0   595757.1  478.9
Pipe-based Context Switching  4000.094343.7  235.9
Process Creation   126.0 5143.3  408.2
Shell Scripts (8 concurrent) 6.0  353.3  588.8
System Call Overhead 15000.0   387391.7  258.3
 =
 FINAL SCORE 270.4


Hyperthreading run:
---
  BYTE UNIX Benchmarks (Version 4.1.0)
  System -- bigbird.logicsquad.net
  Start Benchmark Run: Sun Feb 20 17:22:33 CST 2005
   2 interactive users.
   5:22PM  up 2 mins, 2 users, load averages: 0.31, 0.23, 0.10
  -r-xr-xr-x  1 root  wheel  105624 Feb 12 00:09 /bin/sh
  /bin/sh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for 
FreeBSD 5.3-CURRENT (rev 1), dynamically linked (uses shared libs), stripped
  /dev/mirror/gm0s1f 164607432 5264584 146174254 3%/usr
Dhrystone 2 using register variables 4463262.0 lps   (10.0 secs, 10 samples)
Double-Precision Whetstone  785.8 MWIPS 

Re: Recommendations for All-in-One device?

2005-03-26 Thread Danny Pansters
On Saturday 19 March 2005 13:29, Brian J. McGovern wrote:
 I'm currently in the market for an All-in-One device for the home
 network, mostly for the fax functionality (it'll be replacing an Canon
 scanner and Okidata 810e laser printer). Before anyone suggests their
 favorite FreeBSD Fax modem/app, I'll let it be known that I've been told
 that the expectation is that we'll have a normal looking/working fax
 machine for the house ;)

 I've searched the mailing lists for All-in-One, and tried searches on
 printers, scanners, copiers, and faxes individually with no real good hits.

 I'm somewhat curious about the HPs, but wanted to get people's experiences
 with different devices, and what works/doesn't work with FreeBSD.

A bit late, but I remembered seeing this question when I was just about to 
start setting up our Officejet replacement: a HP photosmart 2610 all-in-one.

We're using it as a network printer/scanner now, it's not connected through 
USB to one box but it can be. It has stand alone fax and scan/copy 
capability. Setup was easy: Install the hpoj and hpijs ports, and cups and 
sane. I used the cups web interface (and the info provided with hpoj or from 
linuxprinting) to set it up (as a client this time, not as a server which it 
was before when the old OfficeJet was connected to this box with a parralel 
cable). Url/Device is a socket: without hpoj/hpijs, with hpoj its a ptal 
device. In the Driver section you should be able to pick your HP model. That 
should be all.

With KDE I can now print to it (as network printer via ptal), scan from it 
with Kooka (via ptal via gphoto), and I'm sure faxing will also work. 
Stand-alone you can just use the flatbed scanner for input, and the printer 
tray for output.

This is an inkjet, with laserjet printing you may not need or want hpijs but I 
think you probably would anyway. It looks like an officejet only smaller and 
a bit slicker. It also supports CF and other cards (from cameras), the ptal 
driver (and the windows version) should present those as local scsi disks, 
but I haven't really sorted that out yet. The printing/scanning quality is 
great. The hpijs and hpoj come from HP BTW. 

The thing cost us ~ 340 Euro's, which would be ~ 450 USD. I wanted a network 
capable printer (it has its own console but also a web interface), it's just 
easier to use in a network. If it lasts as long as the officejet (I think ~ 7 
years) its worth the buck I guess.

HTH, 

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


Re: hyper threading.

2005-03-26 Thread John Pettitt


Paul A. Hoadley wrote:

On Sat, Mar 26, 2005 at 11:45:21PM +0100, Anthony Atkielski wrote:

  

Where can I see the measurements?



Here are some measurements.  A few weeks ago I ran Unixbench 4.1.0
(/usr/ports/benchmarks/unixbench) on a P4 2.8GHz with and without
hyperthreading enabled.  I note a slight difference in the 10 minute
load average in favour of the uniprocessor run (0.00 vs 0.10 in the
hyperthreading run), though I doubt this alone could account for a 15%
difference in total score.


Uniprocessor run:
-
  BYTE UNIX Benchmarks (Version 4.1.0)
  System -- bigbird.logicsquad.net
  Start Benchmark Run: Sun Feb 20 08:23:08 CST 2005
   14 interactive users.
   8:23AM  up 3 days, 14:37, 14 users, load averages: 0.00, 0.00, 0.00
 [snip]
 =
 FINAL SCORE 270.4


Hyperthreading run:
---
  BYTE UNIX Benchmarks (Version 4.1.0)
  System -- bigbird.logicsquad.net
  Start Benchmark Run: Sun Feb 20 17:22:33 CST 2005
   2 interactive users.
   5:22PM  up 2 mins, 2 users, load averages: 0.31, 0.23, 0.10
 [snip]
 =
 FINAL SCORE 228.9
  

Notice the HT run had load on the box (0.31) when it started.  If you're
going to run benchmarks you need to start with a clean reboot before
each run and make sure all the background daemons have been killed and
and  the load is zero.

However even then this is not a good test of HT - the point of HT is to
improve throughput in multi thread workloads and the benchmark suite is
basically single thread.What would be more interesting would be to
run a test with a constant background load also running.In theory
the HT should do a better job of balancing the load between the
benchmark and the background than the BSD scheduler can on it's own.   I
don't have an HT box here or I'd try it but I'd love to know how it
comes out if somebody is up for it.



  

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


Re: Recommendations for All-in-One device?

2005-03-26 Thread Danny Pansters
s/gphoto/sane/

Duh :)

On Sunday 27 March 2005 00:53, Danny Pansters wrote:
 On Saturday 19 March 2005 13:29, Brian J. McGovern wrote:
  I'm currently in the market for an All-in-One device for the home
  network, mostly for the fax functionality (it'll be replacing an Canon
  scanner and Okidata 810e laser printer). Before anyone suggests their
  favorite FreeBSD Fax modem/app, I'll let it be known that I've been told
  that the expectation is that we'll have a normal looking/working fax
  machine for the house ;)
 
  I've searched the mailing lists for All-in-One, and tried searches on
  printers, scanners, copiers, and faxes individually with no real good
  hits.
 
  I'm somewhat curious about the HPs, but wanted to get people's
  experiences with different devices, and what works/doesn't work with
  FreeBSD.

 A bit late, but I remembered seeing this question when I was just about to
 start setting up our Officejet replacement: a HP photosmart 2610
 all-in-one.

 We're using it as a network printer/scanner now, it's not connected through
 USB to one box but it can be. It has stand alone fax and scan/copy
 capability. Setup was easy: Install the hpoj and hpijs ports, and cups and
 sane. I used the cups web interface (and the info provided with hpoj or
 from linuxprinting) to set it up (as a client this time, not as a server
 which it was before when the old OfficeJet was connected to this box with a
 parralel cable). Url/Device is a socket: without hpoj/hpijs, with hpoj its
 a ptal device. In the Driver section you should be able to pick your HP
 model. That should be all.

 With KDE I can now print to it (as network printer via ptal), scan from it
 with Kooka (via ptal via gphoto), and I'm sure faxing will also work.
 Stand-alone you can just use the flatbed scanner for input, and the printer
 tray for output.

 This is an inkjet, with laserjet printing you may not need or want hpijs
 but I think you probably would anyway. It looks like an officejet only
 smaller and a bit slicker. It also supports CF and other cards (from
 cameras), the ptal driver (and the windows version) should present those as
 local scsi disks, but I haven't really sorted that out yet. The
 printing/scanning quality is great. The hpijs and hpoj come from HP BTW.

 The thing cost us ~ 340 Euro's, which would be ~ 450 USD. I wanted a
 network capable printer (it has its own console but also a web interface),
 it's just easier to use in a network. If it lasts as long as the officejet
 (I think ~ 7 years) its worth the buck I guess.

 HTH,

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


Re: hyper threading.

2005-03-26 Thread Nick Pavlica
Hello,

 However even then this is not a good test of HT - the point of HT is to
 improve throughput in multi thread workloads and the benchmark suite is
 basically single thread.What would be more interesting would be to
 run a test with a constant background load also running.In theory
 the HT should do a better job of balancing the load between the
 benchmark and the background than the BSD scheduler can on it's own.   I
 don't have an HT box here or I'd try it but I'd love to know how it
 comes out if somebody is up for it.

It would be interesting to see the results of the BSD  ULE scheduler
on 5.4 Pre and 6 compared to 5.3R.

--Nick

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


Re: .cshrc

2005-03-26 Thread Gert Cuykens
On Sat, 26 Mar 2005 13:59:18 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 I dont have colors :(
 How do you turn off the tab beep ?
 
 # $FreeBSD: src/etc/root/dot.cshrc,v 1.29 2004/04/01 19:28:00 krion Exp $
 #
 # .cshrc - csh resource script, read at beginning of execution by each shell
 #
 # see also csh(1), environ(7).
 #
 
 alias h history 25
 alias j jobs -l
 alias lals -a
 alias lfls -FA
 alias llls -lA
 
 # A righteous umask
 umask 22
 
 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
 /usr/local/bin /usr/X11R6/bin $HOME/bin)
 
 setenv  EDITOR  joe
 setenv  PAGER   more
 setenv  BLOCKSIZE   K
 setenv  CLICOLOR_FORCE  1
 
 if ($?prompt) then
 # An interactive shell -- set some stuff up
 # set prompt = `/bin/hostname -s`# 
 set prompt = [EMAIL PROTECTED]:%b%~%# 
 set autolist = ambigous
 set filec
 set history = 100
 set savehist = 100
 set mail = (/var/mail/$USER)
 if ( $?tcsh ) then
 bindkey ^W backward-delete-word
 bindkey -k up history-search-backward
 bindkey -k down history-search-forward
 endif
 endif
 

I did CLICOLOR true and now i have colors :)

Still making beep noises doh how do you turn them of ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hyper threading.

2005-03-26 Thread Paul A. Hoadley
Hello,

On Sat, Mar 26, 2005 at 03:54:06PM -0800, John Pettitt wrote:
 
 Paul A. Hoadley wrote:
 
 I note a slight difference in the 10 minute load average in favour
 of the uniprocessor run (0.00 vs 0.10 in the hyperthreading run),
 though I doubt this alone could account for a 15% difference in
 total score.

 Notice the HT run had load on the box (0.31) when it started.  If
 you're going to run benchmarks you need to start with a clean reboot
 before each run and make sure all the background daemons have been
 killed and and the load is zero.

You are absolutely right, and I did note the difference in load
averages.  I'm not making any claims---someone asked for measurements,
and I happened to have these handy.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


pgpvaZGNUOBes.pgp
Description: PGP signature


Re: hyper threading.

2005-03-26 Thread em1897
Uh, thats not the correct load average to use. Use the
numbers obtained from top or systat. Those loads
will show Zero load when you're routing 100K pps.
It doesnt measure kernel load.
-Original Message-
From: Paul A. Hoadley [EMAIL PROTECTED]
To: John Pettitt [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sun, 27 Mar 2005 09:53:25 +0930
Subject: Re: hyper threading.
Hello,
On Sat, Mar 26, 2005 at 03:54:06PM -0800, John Pettitt wrote:
Paul A. Hoadley wrote:
I note a slight difference in the 10 minute load average in favour
of the uniprocessor run (0.00 vs 0.10 in the hyperthreading run),
though I doubt this alone could account for a 15% difference in
total score.
Notice the HT run had load on the box (0.31) when it started.  If
you're going to run benchmarks you need to start with a clean reboot
before each run and make sure all the background daemons have been
killed and and the load is zero.
You are absolutely right, and I did note the difference in load
averages.  I'm not making any claims---someone asked for measurements,
and I happened to have these handy.
--
Paul.
w  http://logicsquad.net/
h  http://paul.hoadley.name/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hyper threading.

2005-03-26 Thread em1897
You can argue the technical theory all you want, but the
measurements say otherwise.
You guys have done it once again. Baited me into firing up a
test that I already know the results of:
Setup: Bridging em0 to em1
Load: 500Kpps, 60 bytes
3.4Ghz P4 1MB Cache
FreeBSD 4.9 - Load: 38% (I put this in for fun :-)
Freebsd 5.4-Pre UP (no HT) - Load: high 55-60% range
FreeBSD 5.4-Pre SMP/HT - Load:  70-80% (much more jumping around)
The bottom line is that if you don't test things to get real
world results, you don't know crap.
If that were true, then it would be equally true of systems with actual
multiple physical processors.  In practice, multiple processors provide
an obvious performance gain, and hyperthreading does, too, although 
it's
much more modest than the gain obtained from physically independent
processors.
this shows that you really are a bit foggy. Did you miss the part
where with 2 processors you actually do have 2 processors?
I can make an argument that networking with 1 processor on 5.4 is
better than with 2. For example, with a test similar to the above, with
2 phyiscal processors FreeBSD 5.4 will start dropping packets way before
it hits 500Kpps unless you increase the interrrupts/second, which of
course increases the system load. And even with the dropped packets
(which should reduce the load because it doesnt have to receive
and transmit the packet), the load is still higher than for 4.x with
a single processor.
You and many others regulary say things like SMP is obviously faster,
or Opterons are noticably faster, but those statements are only true
for certain applications. I've tested an Opteron 2.0Ghz against a 3.4Ghz
P4, and the results are pretty interesting. For raw performance, ie
interrupts/second handling, the P4 wins easily. The P4 wins out of the
cache.  But once you grow out of the cache and get more memory
intensive, the Opteron beats it handily.  So which is really faster? 
You
could argue both depending on what benchmark you use. You
have to test it in the environment where you plan to use it. Because
the answer is almost never black and white.


-Original Message-
From: Anthony Atkielski [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sat, 26 Mar 2005 23:45:21 +0100
Subject: Re: hyper threading.
[EMAIL PROTECTED] writes:
Yes, the theory is very nice; you've done a nice
job reading Intel's marketing garb.
I haven't read their marketing materials.  I'm simply going by the
technical descriptions I've read of the architecture.
However if you don't have a specific hyperthreading-aware scheduler
and particularly well-written, threaded applications, you'll lose more
than you'll gain.
If that were true, then it would be equally true of systems with actual
multiple physical processors.  In practice, multiple processors provide
an obvious performance gain, and hyperthreading does, too, although it's
much more modest than the gain obtained from physically independent
processors.
Since FreeBSDs network stack isn't particularly well threaded, nor is
the scheduler optimized for hyperthreading, you get a big mess at the
kernel level.
Nothing needs to be specially optimized for hyperthreading.  All you
need is at least two threads available for dispatch, with reasonably
heterogenous instruction mixes that can use different parts of the
processor hardware at the same time.  Real-world instruction mixes are
often in this category in general-purpose operating systems.
So if you have a nice application that does a lot of threaded math
operations, you might think you've achieved something,
Heavily math-oriented applications (or any group of applications that
contains similar instruction mixes) are among the least likely to
benefit from hyperthreading, because they will tend to use the same
processor logic at the same time, effectively rendering hyperthreading
moot.
But what you've missed is that the overhead to manage
the better utilization of the dual-pipelines created
by HT costs more than it gains.
Unless FreeBSD is very poorly written indeed, the gain from
hyperthreading should still exceed the slight increase in overhead
incurred by multiprocessing logic.
Hence, the loss of performance.
Where can I see this loss of performance documented?
The poblem is not at the application level, but at the kernel level.
The SMP overhead is so substantial, and the OS is working thinking it
has 2 processors, that process switching and interrupt handling slow
down considerably.
How much is so substantial?  Where can I see this documented?
A machine with a 50% load UP will run 65-70% load with
HT/SMP running. Like I said, its easily measurable.
Then you can show me the measurements.  Where are they?
A 40% increase in system load just because of multiprocessing is
enormous.  Where did you get this figure?
Thats at the kernel level (say routing or bridging performance).
But the kernel is only a small fraction of overall processor
utilization.
Now if the machine isn't a server, it may be just 

which shell irc client do you like ?

2005-03-26 Thread Gert Cuykens
i am looking for a very simple colored one, in the style of 

me 19:10# bla bla
you 19:10# bla bla

no menus or borders
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: which shell irc client do you like ?

2005-03-26 Thread Gert Cuykens
On Sun, 27 Mar 2005 01:56:50 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 i am looking for a very simple colored one, in the style of
 
 me 19:10# bla bla
 you 19:10# bla bla
 
 no menus or borders
 

oh and some kind of warning thingie that tels you if somebody sends
something. A beep for example that you can turn on and off ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >