Re: Does QEMU support Windows VPN ? (5th try)

2005-03-27 Thread bsdzz

I have been trying to connect from my FreeBSD box to a Microsoft
   

VPN.  I am running Windows 2000 Pro and also Windows Millennium
inside  QEMU.  I have also tried using both -user-net and
/dev/tun0 connections.  The connections fail while trying to
authenticate my name and password. 
   

What does the port maintainer say?
 

The port maintainer has not replied to my email I sent them.
Am I the only one trying to use Microsoft's VPN and RemoteAccess 
software from within QEMU ?

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


The FreeBSD Diary: 2005-03-06 - 2005-03-26

2005-03-27 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: gcc error

2005-03-27 Thread Dick Hoogendijk
On 26 Mar Kris Kennaway wrote:
 On Sat, Mar 26, 2005 at 04:24:42PM +0100, Dick Hoogendijk wrote:
  
  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.

Sure I want to do that. But I'm bit of an novice. How can I grep those
errors on screen to a file?

-- 
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: gcc error

2005-03-27 Thread Giorgos Keramidas
On 2005-03-27 10:21, Dick Hoogendijk [EMAIL PROTECTED] wrote:
On 26 Mar Kris Kennaway wrote:
On Sat, Mar 26, 2005 at 04:24:42PM +0100, Dick Hoogendijk wrote:
 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.

 Sure I want to do that. But I'm bit of an novice. How can I grep those
 errors on screen to a file?

Before you start building anything, run script(1):

$ script
Script started, output file is typescript
$ gcc -o hello hello.c
$ exit

Script done, output file is typescript

Then you will have a file called 'typescript' in the current working
directory, which will contain everything you typed or saw on your terminal
while you were within the 'scripted shell'.  Edit this file and copy
whatever parts seem useful :-)

- Giorgos

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


Re: gcc error

2005-03-27 Thread dick hoogendijk
On Sun, 27 Mar 2005 11:36:32 +0300
Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2005-03-27 10:21, Dick Hoogendijk [EMAIL PROTECTED] wrote:

  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.
 
  Sure I want to do that. But I'm bit of an novice. How can I grep
  those errors on screen to a file?
 
 Before you start building anything, run script(1):
 
 $ script
 Script started, output file is typescript
 $ gcc -o hello hello.c
 $ exit
 
 Script done, output file is typescript

Ah, thank you. This will go into 'notes' ;-)
Starting the recompile of kdelibs3 now..

-- 
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: KDE on FreeBSD 5.3

2005-03-27 Thread Bachelier Vincent
Ok, that's simple,
kde is a system which use client - server mode to communicate between each 
application. it use the hostname to know where to listen and to know where to 
ask question. Well, if you set a hostname without any real sense, like 
vincent for example, it will try to resolv it, in order to know what is you 
local ip. Well, I don't know why kde don't use localhost or 127.0.0.1 despite 
of hostname but is like that. If you don't put your hostname in your hosts 
file, the resolv could be very long ... and it could failed. But if it exist in 
hosts file, kde ask it, and the system answer immediatly. The system go on !

ok, see ya
perhaps kde developer could give a better explanation. ciao


Le Sat, Mar 26, 2005 at 04:24:44PM +, Rhys Campbell a écrit:
 From: Rhys Campbell [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: KDE on FreeBSD 5.3
 Date: Sat, 26 Mar 2005 16:24:44 +
 
 Merci Vincent,
 
 rc.conf was fine but added what you said to the hosts file.
 After a reboot apps started up very quickly. Could I bother you
 to briefly explain why?
 
 Thanks again.
 
 Rhys
 
 From: Bachelier Vincent [EMAIL PROTECTED]
 To: Rhys Campbell [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: KDE on FreeBSD 5.3
 Date: Fri, 25 Mar 2005 22:29:46 +0100
 
 Hi,
 perhaps you have a problem with you host.
 Try to edit /etc/rc.conf
 find hostname
 if they is not one, set one
 
 exemple:
 hostname=vincent
 
 well, edit /etc/hosts
 put this:
 
 ::1 vincent
 127.0.0.1 vincent
 
 well, now reload all, perhaps it would go on
 see ya
 
 Le Fri, Mar 25, 2005 at 06:23:46PM +, Rhys Campbell a ?crit:
  From: Rhys Campbell [EMAIL PROTECTED]
  To: freebsd-questions@freebsd.org
  Date: Fri, 25 Mar 2005 18:23:46 +
  Subject: KDE on FreeBSD 5.3
 
  KDE on my FreeBSD machine is very slow to start up application. Once the
  application is open it is very responsive and user input. The K menu is
  also displayed with speed it's just that any application seems to take
  several minutes to open.
 
  I'm fairly new to *nix so maybe I've missed something obvious. The only
  thing I can think of is that maybe there are a lot of pocess running in 
 the
  background that have a higher priority than desktop applications. Any 
 ideas?
 
 
 
 --
 Vincent Bachelier [EMAIL PROTECTED]
 Language: Francais / English
 Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux
 
 Citation (fortune):
 
 The only problem with being a man of leisure is that you can never stop
 and take a rest.
 

-- 
Vincent Bachelier [EMAIL PROTECTED]
Language: Francais / English
Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux

Citation (fortune):

Try to find the real tense of the report you are reading:  Was it done,
is it being done, or is something to be done?  Reports are now written
in four tenses:  past tense, present tense, future tense, and
pretense.  Watch for novel uses of CONGRAM (CONtractor GRAMmer),
defined by the imperfect past, the insufficient present, and the
absolutely perfect future.
-- Amrom Katz
___
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-27 Thread Anthony Atkielski
Ted Mittelstaedt writes:

 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.

I wouldn't automatically assume that there were _bugs_ in the disks.

Companies that modify things in this way usually do so because they are
under the mistaken impression that they can somehow build a better
machine by throwing away all the standard stuff and home-brewing their
own branded versions of everything (the phenomenon isn't limited to just
computers, either).  This is one argument _against_ buying major brands;
at least when you buy a no-name brand off the shelf or build something
yourself, everything on the machine is likely to be conformant to
industry standards.

HP probably thought they were doing the world a favor by modifying the
firmware--they probably thought they were adding value, instead of
diminishing compatibility and maintainability.  I don't agree with them,
but that's neither here nor there now.

As far as I know, the disk drives themselves are off-the-shelf drives.
One is a Western Digital Barracuda, and the other is a Quantum Atlas, if
I remember correctly.  Both were branded HP on the box, but the drives
themselves carry the original manufacturers' labels.

 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.

This isn't nearly as universal as you imply.  Microsoft is regularly
bitten by custom-modified software and hardware on computers used by its
customers.  That includes computers built by major brands such as
HP/COMPAQ, Dell, and so on.  Sometimes a vendor will have a specific
configuration formally certified by Microsoft for use with Windows; but
if it doesn't, or if it makes any change at all in the configuration
after certification, the result may not work.  The most desperate
customers may actually loan some of their actual machines to Microsoft
PSS in order to help the latter find problems and workarounds.  The
hardware vendors are not always cooperative, and sometimes they seem to
be clueless about their own modifications.

In this case, given that this was a high-end machine from a major brand
that came with Windows NT preinstalled, it may have been formally
certified by Microsoft (although I removed the pre-installed copy of
French Windows NT Workstation and replaced it with U.S. English Windows
NT Server, which still ran okay).  But things don't always turn out so
happily.

 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.

The differences in microcode are probably minor.  Hardware manufacturers
may be willing to let computer companies cook up custom versions of
microcode, but I daresay they are far less willing to come up with
custom _hardware_ for computer companies, which would cost a fortune--no
computer company is likely to bring in enough business to justify a
significant hardware change.  So naturally the microcode can't drift too
much if it has to stay compatible with the same hardware.  But it can
easily drift enough to screw up the software.

 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.

They want to be different. They think they are so important and so
special that everything has to be altered by their magic touch. They
fantasize that customers will say no, I don't want that standard
firmware, I want REAL HP/COMPAQ firmware, it's so much nicer! Of
course, that doesn't happen in real life, and if anything, the custom
stuff works against them. Customers moan and groan about the custom
stuff all the time.  About 99% of the vendor-specific stuff serves no
discernable purpose, and just makes the systems harder to use and
maintain.  They will run okay in the EXACT configuration that came
preinstalled from the factory; but if you so much as look at a jumper,
things will start to fail.

 His three choices are to first: try a different SCSI disk 

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

2005-03-27 Thread Anthony Atkielski
Ted Mittelstaedt writes:

 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.

It was a waste to me because nobody knows what the problem is or how to
fix it, and the only suggestions I got were that the hardware was
failing, which I know isn't true.

 When trying to troubleshoot a problem you make a conjecture as to
 what the problem might be then you test for it.

I guess it's a good thing that nobody conjectured that it might be bad
utility power, or I'd have to switch to a new nuclear plant in order to
troubleshooot the problem.

-- 
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-27 Thread Anthony Atkielski
Paul A. Hoadley writes:

 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.

It's not clear to what extent these measurements represent simultaneous
processing.

The presumed advantage of hyperthreading resides in the ability to make
better use of the processor hardware when you have more than one
execution thread running AND the threads are doing entirely different
things.  Intel has demonstrated this by running completely different
tasks at the same time on HT and non-HT systems; the HT systems
consistently perform better.  Both desktop and server systems can
benefit from this.

However, if you run measurements that consist of a single execution
thread, or several execution threads performing the same type of work,
HT will probably be slower than a UP environment.  In this case, HT
contributes nothing because the various threads are competing for the
same processor hardware at the same time, so the global instruction rate
does not improve with HT--and since SMP has higher OS overhead than a
uniprocessor environment, the net result is a loss of performance.

In order to profit from HT, then, you must have a mix of different tasks
running on the system at the same time.  This should be the normal case
for most desktop and server systems, but it is never seen in benchmarks
unless they are specifically designed to simulate this.  Thus, while HT
may help in real-world applications of servers and desktops, the only
way to see this in measurements is to make sure they duplicate the type
of instruction mix seen on these systems in real life.

The actual architecture of hyperthreading is pretty straightforward, and
it's pretty clear that it cannot result in degraded performance: either
it improves performance, or it makes no difference.  So the only
question is whether or not HT improves performance enough in a
real-world environment to offset the greater OS overhead of managing
multiple processors.  I think that with a heterogenous instruction mix
of the type likely to be seen in real-world systems, it does (admittedly
not by much).  In some systems that are doing a lot of homogenous
number-crunching, performance might go down, but it's difficult to
imagine such a scenario for a server.  Some desktops might be in that
situation, if they are dedicated to single tasks (games, Mathematica,
CAD, etc.).

-- 
Anthony


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


MRTG, and FreeBSD rl0 aliases

2005-03-27 Thread Matt Rechkemmer
This little problem has been bothering me for sometime.  I'm trying to do a
MRTG setup on my 5.3 system.  The ISP I colocate with has allocated me a /29
in public space.  Let's say for e-mail purposes, I've been given
192.168.0.29/29.  Here are two entries from my mrtg.cfg:

Target[localhost_192.168.0.30]: /192.168.0.30:[EMAIL PROTECTED]
SetEnv[localhost_192.168.0.30]: MRTG_INT_IP=192.168.0.30
MRTG_INT_DESCR=rl0
MaxBytes[localhost_192.168.0.30]: 125
Title[localhost_192.168.0.30]: 192.168.0.30
PageTop[localhost_192.168.0.30]: H1192.168.0.30/H1
 TABLE
   TRTDSystem:/TD TDHybrid/TD/TR
   TRTDMaintainer:/TD TD[EMAIL PROTECTED]/TD/TR
   TRTDIP:/TD TD192.168.0.30/TD/TR
 /TABLE

Target[localhost_192.168.0.31]: /192.168.0.31:[EMAIL PROTECTED]
SetEnv[localhost_192.168.0.31]: MRTG_INT_IP=192.168.0.31
MRTG_INT_DESCR=rl0
MaxBytes[localhost_192.168.0.31]: 125
Title[localhost_192.168.0.31]: 192.168.0.31
PageTop[localhost_192.168.0.31]: H1192.168.0.31/H1
 TABLE
   TRTDSystem:/TD TDHybrid/TD/TR
   TRTDMaintainer:/TD TD[EMAIL PROTECTED]/TD/TR
   TRTDIP:/TD TD192.168.0.31/TD/TR
 /TABLE

You'd think these would produce two very different graphs, since the other IP
isn't as widely used.  The interesting part is, the graphs report the same
incoming/outgoing KBPS.  

Thoughts?

P.S. Assuming I get all this fixed, is there a way to aggregate all those
statistic in a separate graph? I tried the + methodology in the target field
and got some unusual results.
___
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-27 Thread Fabian Keil
Alejandro Pulver [EMAIL PROTECTED] wrote:

 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?

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

Did you see in samba's log that the guest user was changed?
How did you change it, with guest user or with force user?

As your problem can be reproduced, increasing samba's debug
level might help. Samba should log why read access was denied.

If you access the samba share with mount_smbfs, do you see
the same behavior?
 
 The directory '/mnt/w2k' is owned by 'root' and the group 'wheel', the
 permissions are rwxr-xr-x.

If you only want read access, this looks fine.

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: hyper threading.

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

 You can argue the technical theory all you want, but the
 measurements say otherwise.

You have to ensure that you're doing the right measurements.

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)

You'll find that the total CPU time required from start to finish for a
single thread is ALWAYS higher for SMP than for a UP environment, even
if you have separate physical processors.

Several things happen when you move from a uniprocessor environment to
an environment with two or more processors:

- The total CPU time for each thread increases.

- The total system load on a per process basis increases.

- The total throughput of the system improves if there is more than one
independent process running in the system.

- Each of the processors runs more slowly than it would if it were the
only processor running in a UP environment.

If you run a single-thread benchmark on a MP system, you'll find that it
runs more slowly than it does on a UP system. If you run multiple
single-thread independent benchmarks on a MP system, you'll find that
total CPU time for each benchmark increases over that required in a UP
system--but the elapsed time required to complete all benchmarks
substantially diminishes.

To properly gauge the performance of a multiprocessor system, you must
run a realistic mix of tasks on the system and measure overall
throughput.  If you do this, you'll find that you always come out ahead
with multiple processors, even HT processors.

Hyperthreading is just a special case of multiprocessing that imposes
some additional restrictions.  HT is much more sensitive to similarities
in instruction mix across processes, because the actual processor
hardware is being shared.  With a sufficiently heterogenous instruction
mix across multiple execution threads, this isn't a problem; but if you
are running a single-threaded benchmark, or a series of identical
single-threaded benchmarks, it can seriously distort your measurements.

Although adding physical processors diminishes the performance of each
processor, it still adds overall processing power, up to a certain
point. The increment is never equal to the actual number of processors
added, though; that is, if you go from one to two processors, you never
get a doubling of effective processor power--it's more like 70-80%. The
percentage increment gets worse with each additional processor, until
you reach a point at which performance actually starts to decline (the
point at which this happens is extremely hardware dependent, but it's
always well beyond two processors).

Hyperthreaded processors should not diminish in performance just because
HT is turned on, because the hardware contention that diminishes
performance in conventional MP systems is largely absent in a HT
microprocessor.  However, since you are really still only sharing a
single processor with HT, the overall increment is much lower than it
would be with two physical processors, and it is very sensitive to the
instruction mix.

 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 actually read what Intel had to say on how the architecture works, and
I spent years measuring systems the hard way (with hardware monitors and
probes), so I know somewhat whereof I speak.  Multiprocessing was always
a significant hot-button issue with customers, as they always wanted to
know how much they really gained with multiple processors (as opposed to
what they had been promised).

 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.

Load is not a problem, as long as it's below 100%.  Since individual
processors slow down in MP configurations, anything that depends on raw
processor speed will suffer in an MP configuration.  However, overall
system throughput is greatly enhanced by running with several
processors.  At the same time, the total processor time required to
complete all tasks is greater in an MP environment than it would be in a
UP environment--it's the fact that things can run in parallel that
improves the throughput.

Moral: if you want to avoid dropping packets in the situation you
describe, increase the interrupt rate.  The additional processing power
of the system will make this practical.

 You and many others regulary say things like SMP is obviously faster,
 or Opterons are noticably faster, but those statements are only 

Re: hyper threading.

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

 When you get your machine running without a kernel
 let me know. The kernel is the key to the O/S. If you
 don't need networking and don't have many interrupts,
 then it probably doesnt matter that much.

The kernel represents only a small part of total system utilization and
throughput.  Even if everything is single-threaded through the kernel,
you can still get performance benefits from multiple processors, because
they can run userland processes in parallel.

If total system load is 5% kernel and 80% userland in a UP environment,
and moving to a MP environment doubles kernel overhead, total system
load has still increased by only 5%.

In general, many things must be single-threaded through the kernel
because of the need for proper synchronization.  Thus, the kernel always
shows more negative effects from MP than the system as a whole, but
since it is so small in the overall picture, MP still improves global
performance.

-- 
Anthony


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


Re: gcc error

2005-03-27 Thread Dick Hoogendijk
On 26 Mar Kris Kennaway wrote:
 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.

OK, probably too much, but here it is..
=-=-=

Making all in http
gmake[3]: Entering directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http'
Making all in kcookiejar
gmake[4]: Entering directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http/kcookiejar'
Making all in tests
gmake[5]: Entering directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http/kcookiejar/tests'
gmake[5]: Nothing to be done for `all'.
gmake[5]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http/kcookiejar/tests'
gmake[5]: Entering directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http/kcookiejar'
source='kcookiejar.cpp' object='kcookiejar.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H 
-I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl 
-I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore 
-I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio 
-I../../../kio/kfile -I../../..  -I/usr/X11R6/include -I/usr/local/include 
-I/usr/local/include  -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   
-I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H 
-D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W 
-Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe 
-fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new 
-fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -c -o kcookiejar.lo kcookiejar.cpp
/usr/X11R6/bin/moc ./kcookieserver.h -o kcookieserver.moc
source='kcookieserver.cpp' object='kcookieserver.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H 
-I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl 
-I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore 
-I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio 
-I../../../kio/kfile -I../../..  -I/usr/X11R6/include -I/usr/local/include 
-I/usr/local/include  -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   
-I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H 
-D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W 
-Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe 
-fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new 
-fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -c -o kcookieserver.lo kcookieserver.cpp
/usr/X11R6/bin/moc ./kcookiewin.h -o kcookiewin.moc
source='kcookiewin.cpp' object='kcookiewin.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H 
-I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl 
-I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore 
-I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio 
-I../../../kio/kfile -I../../..  -I/usr/X11R6/include -I/usr/local/include 
-I/usr/local/include  -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   
-I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H 
-D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W 
-Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe 
-fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new 
-fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -c -o kcookiewin.lo kcookiewin.cpp
../../../dcop/dcopidl/dcopidl ./kcookieserver.h  kcookieserver.kidl || ( rm -f 
kcookieserver.kidl ; false )
../../../dcop/dcopidl2cpp/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub 
kcookieserver.kidl
source='kcookieserver_skel.cpp' object='kcookieserver_skel.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H 
-I. -I. -I../../.. -I../../../dcop 

k3b port error.

2005-03-27 Thread Perttu Laine
Running FreeBSD 5.4-BETA1 and k3b port make stops with output pasted
below. Port is latest one. Any way to get it working?

---
then mv -f .deps/k3bflacdecoder.Tpo .deps/k3bflacdecoder.Plo; \
else rm -f .deps/k3bflacdecoder.Tpo; exit 1; \
fi
In file included from /usr/local/include/id3/utils.h:37,
 from /usr/local/include/id3/tag.h:34,
 from /usr/local/include/id3/misc_support.h:32,
 from k3bflacdecoder.cpp:34:
/usr/local/include/id3/id3lib_strings.h:103: warning: unused parameter '__c'
/usr/local/include/id3/id3lib_strings.h:106: warning: unused parameter '__c'
k3bflacdecoder.cpp: In member function `virtual QString
K3bFLACDecoder::technica lInfo(const QString) const':
k3bflacdecoder.cpp:311: error: `get_field' has not been declared
k3bflacdecoder.cpp:311: error: request for member of non-aggregate
type before ' (' token
/usr/local/include/id3/globals.h: At global scope:
/usr/local/include/id3/globals.h:542: warning:
'ID3_v1_genre_description' define d but not used
gmake[4]: *** [k3bflacdecoder.lo] Error 1
gmake[4]: Leaving directory
`/usr/ports/sysutils/k3b/work/k3b-0.11.20/src/audiod ecoding/flac'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/sysutils/k3b/work/k3b-0.11.20/src/audiod ecoding'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/sysutils/k3b/work/k3b-0.11.20/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/k3b/work/k3b-0.11.20'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/sysutils/k3b.
--


-- 
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: which shell irc client do you like ?

2005-03-27 Thread Paul Waring
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

I don't know what you mean by no menus or borders, but irssi is pretty
stripped down and can be run from the console:

http://www.irssi.org/

I run it from a screen session all the time and it works well once you
get the hang of it. I think you can make it beep when new messages
come in but because I run it on a remote server I've never bothered to
look into/activate this feature.

Paul

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


FreeBSD Questions mailing list

2005-03-27 Thread pradeep susarla
  Hi, I am Pradeep from India. Recently I purchased FreeBSD latest
  version. But when I was installing, setup failed with an unknown error
  message. I came to know that this version does not support ACPI or
  Advanced power management system. I also got hold of the remedy. But I
  could not do it. Can you please suggest me to disable this feature in
  system through ther FreeBSD setup.
  Waiting for your reply.
  Bye.
  Pradeep.
  

  

References
  Visible links
  Hidden links:
  1. http://g.msn.com/1HMAENIN/141??PS=8318
  2. http://www.webhelp.com/webhelp/index.jsp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


flash player plugin.

2005-03-27 Thread Perttu Laine
yet another question from me...
I can't get flash player working on firefox anyway. (fbsd 5.4-beta1
and ff 1.0.2). I tired install ports www/flashplugin-firefox,
www/flashpluginwrapper and www/linuxpluginwrapper. none of them
succesfully. about:plugins in firefox won't show flash and flash sites
doesn't work. so, question is - how to get it work?

-- 
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: flash player plugin.

2005-03-27 Thread Dev Tugnait
Did you edit /etc/libmap.conf if so what did you add?

Regards,
Dev Tugnait

* Perttu Laine ([EMAIL PROTECTED]) wrote:
 yet another question from me...
 I can't get flash player working on firefox anyway. (fbsd 5.4-beta1
 and ff 1.0.2). I tired install ports www/flashplugin-firefox,
 www/flashpluginwrapper and www/linuxpluginwrapper. none of them
 succesfully. about:plugins in firefox won't show flash and flash sites
 doesn't work. so, question is - how to get it work?
 
 -- 
 kpn @ IRCnet
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
+--==/\/\==--+   (__)  FreeBSD  
  
|   [EMAIL PROTECTED] |\\\'',)  The   
 
|Kernel  ESCAFLOWNE  |  \/  \ ^Power
  
| Web http://unixdaemon.org  |  .\._/_)To   
  
+--==\/\/==--+ Serve 

[ We've switched the bath sponge with a tribble. ] 
___
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-27 Thread Mario Hoerich
# Francisco Reyes:

[ strftime() not in 5.x-awk ]

 Now I just wonder how to get date in my output. :-(

Well, if nothing else helps there's always system(date).
However, you could also install lang/gawk.

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


definition of soft/hard interrupts.

2005-03-27 Thread Bahadir Balban
Hi,

In The design and implementation of 4.4BSD, the execution of
workqueues, some timer events and scheduling are referred to as
software interrupts, as well as system calls. I thought only system
calls would be in soft interrupt category as they are initiated with
a software interrupt instruction.

By my definition, a hardware interrupt is one that is notified by the
interrupt controller, and to my knowledge, timer events are hardware
interrupts. Am I wrong?

There's also a softclock and hardclock defined. It is as if, an
interrupt handler for an interrupt reported on the controller, is
termed as hard, but a low-priority workqueue initiated by a later
timer event is called as a software interrupt here. The distinction
here mainly being made by their priority. Would you confirm this?

In my opinion this isn't the way to put it and software interrupts
should only mean interrupts initiated by interrupt instructions.

All this is mentioned in pp. 56-57 in the book and extends to other parts.

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


Re: Failure with php4 and libgd support

2005-03-27 Thread Alexander Chamandy
Thanks for your help.  I'm a bit farther now using just --with-gd, but
I'm still having problems.  I'd like to find out what's causing the
crt1.o error.  See below:

configure:29964: gcc -o conftest -g -O2  -R/usr/local/lib
-L/usr/local/lib  conftest.c -ljpeg  -lm  15
/usr/lib/crt1.o(.text+0x64): In function `_start':
: undefined reference to `_init_tls'
configure: failed program was:
#line 29953 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }



On Sat, 19 Mar 2005 10:25:19 -0600, Ryan J. Cavicchioni
[EMAIL PROTECTED] wrote:
 Hi Alexander,
 
 PHP actually comes with libgd bundled now. Just use --with-gd (but you
 may not even have to do that). You do not need the external library.
 
 Alexander Chamandy wrote:
 
 I take it noone can help me with this?
 
 
 On Wed, 16 Mar 2005 18:27:54 -0500, Alexander Chamandy
 [EMAIL PROTECTED] wrote:
 
 
 Hello,
 
I'm having some problems with php4 and libgd support.  I'm
 running FreeBSD/i386 5.3 which was upgraded from the 4.x STABLE branch
 a long time ago, but I think a portion of the upgrade may've gone
 horribly wrong with regards to the compiler or include files.  Most
 things compile fine (userland, kernel, other applications).. but
 certain things like Apache2, php (*ONLY* when it's testing libgd in
 the configuration process - otherwise, without gd it compiles fine)
 fail completely.  I was wondering if anyone had experienced something
 similiar or had any suggestions.  Any help would be greatly
 appreciated!  Here is the config.log gd-related error messages from
 php 4.3.10 with the commandline:
 
 ./configure --with-gd=/usr/local --with-mysql
 --with-apxs=/usr/local/apache/bin/apxs
 
 
 
 8 *snip snip* 8
 
 
 configure:33488: checking for gdImageString16 in -lgd
 configure:33507: gcc -o conftest -g -O2  -R/usr/local/lib
 -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
 -lgd
 -lm  15
 /usr/lib/crt1.o(.text+0x64): In function `_start':
 : undefined reference to `_init_tls'
 /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
 /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
 /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
 /usr/local/lib/libgd.so: undefined reference to `__stderrp'
 /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
 /usr/local/lib/libm.so.2: undefined reference to `fputs'
 /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
 configure: failed program was:
 #line 33496 configure
 #include confdefs.h
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
 builtin and then its argument prototype would still apply.  */
 char gdImageString16();
 
 int main() {
 gdImageString16()
 ; return 0; }
 configure:33619: checking for gdImagePaletteCopy in -lgd
 configure:33638: gcc -o conftest -g -O2  -R/usr/local/lib
 -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
 -lgd
 -lm  15
 /usr/lib/crt1.o(.text+0x64): In function `_start':
 : undefined reference to `_init_tls'
 /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
 /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
 /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
 /usr/local/lib/libgd.so: undefined reference to `__stderrp'
 /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
 /usr/local/lib/libm.so.2: undefined reference to `fputs'
 /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
 configure: failed program was:
 #line 33627 configure
 #include confdefs.h
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
 builtin and then its argument prototype would still apply.  */
 char gdImagePaletteCopy();
 
 int main() {
 gdImagePaletteCopy()
 ; return 0; }
 configure:33750: checking for gdImageCreateFromPng in -lgd
 configure:33769: gcc -o conftest -g -O2  -R/usr/local/lib
 -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
 -lgd
 -lm  15
 /usr/lib/crt1.o(.text+0x64): In function `_start':
 : undefined reference to `_init_tls'
 /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
 /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
 /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
 /usr/local/lib/libgd.so: undefined reference to `__stderrp'
 /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
 /usr/local/lib/libm.so.2: undefined reference to `fputs'
 /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
 configure: failed program was:
 #line 33758 configure
 #include confdefs.h
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int 

Vinum Problem

2005-03-27 Thread Robert Slade
Hi,

I have managed to setup a vinum volume using 2 striped disks, the volume
is created and I can do newfs on it and mount it. 

However, when I set start_vinum=YES in rc.conf, vinum loads then I get
panic, followed by hanging vnode.

I'm using 5.3.

Any pointers please.

Rob

___
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-27 Thread em1897
Right. Thats what I said. You'll killl your networking.
So you don't want HT or SMP on a Server. Thats
what most MP machines are used for.
-Original Message-
From: Anthony Atkielski [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sun, 27 Mar 2005 12:33:36 +0200
Subject: Re: hyper threading.
[EMAIL PROTECTED] writes:
You can argue the technical theory all you want, but the
measurements say otherwise.
You have to ensure that you're doing the right measurements.
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)
You'll find that the total CPU time required from start to finish for a
single thread is ALWAYS higher for SMP than for a UP environment, even
if you have separate physical processors.
Several things happen when you move from a uniprocessor environment to
an environment with two or more processors:
- The total CPU time for each thread increases.
- The total system load on a per process basis increases.
- The total throughput of the system improves if there is more than one
independent process running in the system.
- Each of the processors runs more slowly than it would if it were the
only processor running in a UP environment.
If you run a single-thread benchmark on a MP system, you'll find that it
runs more slowly than it does on a UP system. If you run multiple
single-thread independent benchmarks on a MP system, you'll find that
total CPU time for each benchmark increases over that required in a UP
system--but the elapsed time required to complete all benchmarks
substantially diminishes.
To properly gauge the performance of a multiprocessor system, you must
run a realistic mix of tasks on the system and measure overall
throughput.  If you do this, you'll find that you always come out ahead
with multiple processors, even HT processors.
Hyperthreading is just a special case of multiprocessing that imposes
some additional restrictions.  HT is much more sensitive to similarities
in instruction mix across processes, because the actual processor
hardware is being shared.  With a sufficiently heterogenous instruction
mix across multiple execution threads, this isn't a problem; but if you
are running a single-threaded benchmark, or a series of identical
single-threaded benchmarks, it can seriously distort your measurements.
Although adding physical processors diminishes the performance of each
processor, it still adds overall processing power, up to a certain
point. The increment is never equal to the actual number of processors
added, though; that is, if you go from one to two processors, you never
get a doubling of effective processor power--it's more like 70-80%. The
percentage increment gets worse with each additional processor, until
you reach a point at which performance actually starts to decline (the
point at which this happens is extremely hardware dependent, but it's
always well beyond two processors).
Hyperthreaded processors should not diminish in performance just because
HT is turned on, because the hardware contention that diminishes
performance in conventional MP systems is largely absent in a HT
microprocessor.  However, since you are really still only sharing a
single processor with HT, the overall increment is much lower than it
would be with two physical processors, and it is very sensitive to the
instruction mix.
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 actually read what Intel had to say on how the architecture works, and
I spent years measuring systems the hard way (with hardware monitors and
probes), so I know somewhat whereof I speak.  Multiprocessing was always
a significant hot-button issue with customers, as they always wanted to
know how much they really gained with multiple processors (as opposed to
what they had been promised).
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.
Load is not a problem, as long as it's below 100%.  Since individual
processors slow down in MP configurations, anything that depends on raw
processor speed will suffer in an MP configuration.  However, overall
system throughput is greatly enhanced by running with several
processors.  At the same time, the total processor time required to
complete all tasks is greater in an MP environment than it would be in a
UP environment--it's the fact that things can run in parallel that
improves the throughput.
Moral: if you want to avoid dropping 

Re: Vinum Problem

2005-03-27 Thread Ean Kingston
On March 27, 2005 10:35 am, Robert Slade wrote:
 Hi,

 I have managed to setup a vinum volume using 2 striped disks, the volume
 is created and I can do newfs on it and mount it.

 However, when I set start_vinum=YES in rc.conf, vinum loads then I get
 panic, followed by hanging vnode.

 I'm using 5.3.

 Any pointers please.

In 5.3, you need to use gvinum instead of vinum. To do this set 
start_vinum=NO in /etc/rc.conf and set geom_vinum_load=YES 
in /boot/loader.conf.

gvinum will read your vinum configuration just fine so you only need to make 
the changes I suggested to get it to work.

Althought this is documented, it is not what I would call 'well documented' 
yet.

-- 
Ean Kingston

E-Mail: ean AT hedron DOT org
URL: http://www.hedron.org/
___
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-27 Thread em1897
Test it yourself. I made a comment about making sure
you test before you assume that HT is helpful. I don't
feel compelled to convince you. Do what you want.
-Original Message-
From: John Pettitt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sat, 26 Mar 2005 17:23:40 -0800
Subject: Re: hyper threading.
Well you've proven than if you pick your benchmark you can get the
result you want.
So what that says it that the kernel network code doesn't get any
benefit from HT - given that HT is supposed to benefit diverse user
tasks  and no multiple copies of the same code this is not big news -
since you have a HT box how about running a less system code intensive
and more diverse  test?
John
[EMAIL PROTECTED] wrote:
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 

Re: A Riddle

2005-03-27 Thread em1897
WRONG on all counts!
Firstly, anyone who uses their own server for lists is
a complete idiot. Are you trying to insult everyone
who has found AOL or Yahoo or Gmail to be more
convenient for not clogging their server with lists
traffic? Or do you just feel important because you
laid out the $20 for your own domain?
And YES, they do default to top posting. You hit
reply, and you get this (see below). Its not really
conducive to bottom posting, and when you do
a google search and hit a long thread you read the
answer you want first, rather than having to page
down 200 times.  If you're over 50 and once
used a pdp11 then you may argue the opposite,
but times are a-changing, so get with it.
-Original Message-
From: Fabian Keil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sat, 26 Mar 2005 21:59:59 +0100
Subject: Re: A Riddle
[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]


Jails ....

2005-03-27 Thread Grant Peel
Hi all,
I have put in a number of hours over the past few days researching scponly 
and sftp and scp.

It seems to me, that for all the work of scponly shell to be setup, why not 
just create a simple jail and allow ssh teminal access for users?

That having been said, is it possible to set up jails for existing users 
that include only simple commands, like:

ls
mkdir
rmdir
pico
rm
chown
chmod
if so, are there any guru's who would like to type and explanation and step 
by step how to here?

-G 

___
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-27 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-27, Paul Waring scribbled these
curious markings:
 I run it from a screen session all the time and it works well once you
 get the hang of it. I think you can make it beep when new messages
 come in but because I run it on a remote server I've never bothered to
 look into/activate this feature.

Surely you have screen(1) set up to show terminal beeps to you
*somehow*, right? I personally prefer having it use esdplay because I
usually have rhythmbox going, but you should be able to use a good ol'
terminal bell.

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

iD8DBQFCRt/kk/lo7zvzJioRAh86AJ9Ji+xagBoQX7cbKgnG4hpymXVHgwCgiNb2
JDfaZeTykxcz28TMckiLpx4=
=IbOa
-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: A Riddle

2005-03-27 Thread Chris
[EMAIL PROTECTED] wrote:
-Original Message-
From: Fabian Keil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sat, 26 Mar 2005 21:59:59 +0100
Subject: Re: A Riddle
[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
*** Formatted correctly for ease of reading ***
[EMAIL PROTECTED] wrote:
 WRONG on all counts!

 Firstly, anyone who uses their own server for lists is
 a complete idiot.
So - according to YOU, most all of us that run our own servers are 
idiots. Yanno what? You sound like the type that is forced to use his 
parents PC, Forced to use AOL, and forced to use web mail.

So - since YOU can't have what most of us can and do have, you feel the 
need to lash out and verbally abuse.

This is a classic case of the have-nots are beside them selfs over the 
haves.

It's one thing to say something like:
It's my opinion that (insert rhetoric here)
Then to make a sweeping generalization as you just did. Shows us what 
kind a man (or boy) you are.

Grow up - show some respect, don't insult - you will live longer when 
you do join society.

And, as I said before - even tho you may bash us, think you are superior 
to us - we still love you anyways.

Oh, and have a great day!
--
Best regards,
Chris
If on an actuarial basis there is a 50 50 chance that
something will go wrong,
It will actually go wrong nine times out of ten.
___
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-27 Thread em1897
Apparently you can't read. I didn't say you were an
idiot for running your own server. Only that you
were an idiot to use your server to download
tons of crap from lists that you don't want to
read when for free you can have it stored elsewhere.
I have a server, and a domain (several) and lots of
other cool stuff. I got tired of wasting cpu cycles
and disk space, considering that maybe 1 out of 20
messages actually interests me. You guys always
complain about wasted bandwidth. Well if you use
yahoo or gmail or aol then you don't waste any bandwidth
of your own. You just read what you want to read.
-Original Message-
From: Chris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Sent: Sun, 27 Mar 2005 10:31:58 -0600
Subject: Re: A Riddle
[EMAIL PROTECTED] wrote: 
 
-Original Message- 
From: Fabian Keil [EMAIL PROTECTED] 
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sat, 26 Mar 2005 21:59:59 +0100 
Subject: Re: A Riddle 
 [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 
 
*** Formatted correctly for ease of reading *** 
 
[EMAIL PROTECTED] wrote: 
WRONG on all counts! 
 
Firstly, anyone who uses their own server for lists is 
a complete idiot. 
 
So - according to YOU, most all of us that run our own servers are 
idiots. Yanno what? You sound like the type that is forced to use his 
parents PC, Forced to use AOL, and forced to use web mail. 
 
So - since YOU can't have what most of us can and do have, you feel the 
need to lash out and verbally abuse. 
 
This is a classic case of the have-nots are beside them selfs over the 
haves. 
 
It's one thing to say something like: 
 
It's my opinion that (insert rhetoric here) 
 
Then to make a sweeping generalization as you just did. Shows us what 
kind a man (or boy) you are. 
 
Grow up - show some respect, don't insult - you will live longer when 
you do join society. 
 
And, as I said before - even tho you may bash us, think you are 
superior to us - we still love you anyways. 
 
Oh, and have a great day! 
 
-- Best regards, 
Chris 
 
If on an actuarial basis there is a 50 50 chance that 
something will go wrong, 
It will actually go wrong nine times out of ten. 
___ 
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-27 Thread em1897
You know, you spout all of this wonderful theory without considering
the quality of the implementation. Everything is implementation.
And a key point that you consistently overlook is that
FreeBSD 5.x is a particularly poor implementation of SMP.
Linux and Dragonfly get 80% improvement in performance
with a 2nd processor, and FreeBSD doesn't. Theory is
meaningless if the implementation sucks, which is more
than just part of the point. The concept that the kernel
is poorly implemented by userland is well done is just not
an assumption that you can make.
-Original Message-
From: Anthony Atkielski [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sun, 27 Mar 2005 12:33:36 +0200
Subject: Re: hyper threading.
[EMAIL PROTECTED] writes:
You can argue the technical theory all you want, but the
measurements say otherwise.
You have to ensure that you're doing the right measurements.
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)
You'll find that the total CPU time required from start to finish for a
single thread is ALWAYS higher for SMP than for a UP environment, even
if you have separate physical processors.
Several things happen when you move from a uniprocessor environment to
an environment with two or more processors:
- The total CPU time for each thread increases.
- The total system load on a per process basis increases.
- The total throughput of the system improves if there is more than one
independent process running in the system.
- Each of the processors runs more slowly than it would if it were the
only processor running in a UP environment.
If you run a single-thread benchmark on a MP system, you'll find that it
runs more slowly than it does on a UP system. If you run multiple
single-thread independent benchmarks on a MP system, you'll find that
total CPU time for each benchmark increases over that required in a UP
system--but the elapsed time required to complete all benchmarks
substantially diminishes.
To properly gauge the performance of a multiprocessor system, you must
run a realistic mix of tasks on the system and measure overall
throughput.  If you do this, you'll find that you always come out ahead
with multiple processors, even HT processors.
Hyperthreading is just a special case of multiprocessing that imposes
some additional restrictions.  HT is much more sensitive to similarities
in instruction mix across processes, because the actual processor
hardware is being shared.  With a sufficiently heterogenous instruction
mix across multiple execution threads, this isn't a problem; but if you
are running a single-threaded benchmark, or a series of identical
single-threaded benchmarks, it can seriously distort your measurements.
Although adding physical processors diminishes the performance of each
processor, it still adds overall processing power, up to a certain
point. The increment is never equal to the actual number of processors
added, though; that is, if you go from one to two processors, you never
get a doubling of effective processor power--it's more like 70-80%. The
percentage increment gets worse with each additional processor, until
you reach a point at which performance actually starts to decline (the
point at which this happens is extremely hardware dependent, but it's
always well beyond two processors).
Hyperthreaded processors should not diminish in performance just because
HT is turned on, because the hardware contention that diminishes
performance in conventional MP systems is largely absent in a HT
microprocessor.  However, since you are really still only sharing a
single processor with HT, the overall increment is much lower than it
would be with two physical processors, and it is very sensitive to the
instruction mix.
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 actually read what Intel had to say on how the architecture works, and
I spent years measuring systems the hard way (with hardware monitors and
probes), so I know somewhat whereof I speak.  Multiprocessing was always
a significant hot-button issue with customers, as they always wanted to
know how much they really gained with multiple processors (as opposed to
what they had been promised).
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.
Load is not a problem, as long as it's below 100%.  Since individual
processors slow down in MP configurations, anything that 

Re: Jails ....

2005-03-27 Thread [EMAIL PROTECTED]
On Sun, 27 Mar 2005 11:23:05 -0500
Grant Peel [EMAIL PROTECTED] wrote:

 It seems to me, that for all the work of scponly shell to be setup,
 why not  just create a simple jail and allow ssh teminal access for
 users?
 
 That having been said, is it possible to set up jails for existing
 users  that include only simple commands, like:
 
 ls
 mkdir
 rmdir
 pico
 rm
 chown
 chmod
 
 if so, are there any guru's who would like to type and explanation and
 step  by step how to here?

i can think of one possible solution for this :

1) you create the jail (see : man jail [with one exception, i prefer a
make world for the host and then use a make installworld for the jails
instead of make world again for the jail])

2) make /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin
only accessible for root (and users for possible other services) and 
set the PATH to include a new dir e.g. /newbin/ which is accessible for
users, and copy the shell (and possible other basic commands) they need
in that dir too

___
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-27 Thread Al
I tried this a couple of days ago, and I similarly got the missing
tiff-3.6.1_1 error as it was no where to be found in the ftp site.
I had installed FreeBSD 5.3 and the ports collection from a CD onto 
a new machine.  I got that error afterwards when I tried to build 
from ports samba3, IIRC.

cvsup-ing the ports collection eliminated those errors.  


On Sat, Mar 26, 2005 at 02:57:54PM -0800, Kris Kennaway wrote:
 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


___
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-27 Thread Gert Cuykens
On Sun, 27 Mar 2005 13:45:01 +0100, Paul Waring [EMAIL PROTECTED] wrote:
 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
 
 I don't know what you mean by no menus or borders, but irssi is pretty
 stripped down and can be run from the console:
 
 http://www.irssi.org/
 
 I run it from a screen session all the time and it works well once you
 get the hang of it. I think you can make it beep when new messages
 come in but because I run it on a remote server I've never bothered to
 look into/activate this feature.

thx irssi and bitlbee is just what i needed to cover everything :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Emacs and backspace - again

2005-03-27 Thread Lowell Gilbert
Rodger Castle [EMAIL PROTECTED] writes:

 I'm using emacs20 from the ports collection (as emacs from ports would not 
 compile due to the Xau3d compile error) on 5.4-PRERELEASE.
 $TERM is xterm

There haven't been any reported failures in building
x11-toolkits/Xaw3d in at least several months.

I'd suggest you put your efforts into solving the problem
with that rather than workarounds for obsolete versions 
of emacs.
___
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-27 Thread Francisco Reyes
On Sun, 27 Mar 2005, Mario Hoerich wrote:
Now I just wonder how to get date in my output. :-(
Well, if nothing else helps there's always system(date).
However, you could also install lang/gawk.
Since this was from a shell script I did
date | awk '{print #$1   $2 - $3 - $6}'
It works for my needs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Enabling sound on Dell Dimension 8300 (FreeBSD 5.1-RELEASE)

2005-03-27 Thread Amit Kumar Saha

Hi,
I am trying to enable the builtin sound card present in Dell
Dimension 8300 but cant seem to get it done. As far as I remember, in
FreeBSD 5.3 it can be done simply by having the following two options in
the kernel config file:

device sound
device snd_ich

However, FreeBSD 5.1 does not recognize any of these even (Even man sound
or man snd_ich does not work even though it should work on any FreeBSD 5.*
So I guess I have to give some hardware hints in order to

config MYCONFIG gives the following error report:
=

config: Error: device sound is unknown
config: Error: device snd_ich is unknown

(/boot/kernel/ however has the files snd_ich.ko as well as snd_pcm.ko)

The output of cat /dev/sndstat is as follows:
=

FreeBSD Audio Driver (newpcm)
Installed devices:


The dmesg output is as follows:


== START OF dmesg output

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #3: Tue Oct 14 18:17:28 CDT 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/NEW
Preloaded elf kernel /boot/kernel/kernel at 0xc070.
Preloaded elf module /boot/kernel/acpi.ko at 0xc0700294.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 3192009524 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 1073168384 (1023 MB)
avail memory = 1035091968 (987 MB)
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: DELL   8300on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00feae0
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_cpu0: CPU port 0x530-0x537 on acpi0
acpi_cpu1: CPU port 0x530-0x537 on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel Generic host to PCI bridge mem 0xe800-0xefff at device 
0.0 on pci0
pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xff80-0xff9f irq 11 at 
device 29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xff60-0xff7f irq 10 at 
device 29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xff40-0xff5f irq 9 at 
device 29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xff20-0xff3f irq 11 at 
device 29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
fxp0: Intel 82801BA (D865) Pro/100 VE Ethernet port 0xdf40-0xdf7f mem 
0xfcfff000-0xfcff irq 10 at device 8.0 on pci2
fxp0: Ethernet address 00:07:e9:5f:67:fd
miibus0: MII bus on fxp0
inphy0: i82562ET 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 UDMA100 controller port 
0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 
0xfebffc00-0xfebf irq 9 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: Intel ICH5 SATA150 controller port 
0xfea0-0xfeaf,0xfe30-0xfe33,0xfe20-0xfe27,0xfe10-0xfe13,0xfe00-0xfe07 irq 9 at 
device 31.2 on pci0
ata2: at 0xfe00 on atapci1
ata3: at 0xfe20 on atapci1
pci0: serial bus, SMBus at device 31.3 (no driver attached)
pci0: multimedia, audio at device 31.5 (no driver attached)
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0

Re: which shell irc client do you like ?

2005-03-27 Thread Paul Waring
On Sun, 27 Mar 2005 16:28:29 + (UTC), Christopher Nehren
[EMAIL PROTECTED] wrote:
 Surely you have screen(1) set up to show terminal beeps to you
 *somehow*, right? I personally prefer having it use esdplay because I
 usually have rhythmbox going, but you should be able to use a good ol'
 terminal bell.

No I don't, because it's not a feature that I see any need for. I'm
sure there is a way to do it but if I don't want that particular
feature I'm not going to spend time looking for how to enable it.

Paul

-- 
Rogue Tory
www.roguetory.org.uk
___
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-27 Thread Gert Cuykens
On Sun, 27 Mar 2005 16:28:29 + (UTC), Christopher Nehren
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 2005-03-27, Paul Waring scribbled these
 curious markings:
  I run it from a screen session all the time and it works well once you
  get the hang of it. I think you can make it beep when new messages
  come in but because I run it on a remote server I've never bothered to
  look into/activate this feature.
 
 Surely you have screen(1) set up to show terminal beeps to you
 *somehow*, right? I personally prefer having it use esdplay because I
 usually have rhythmbox going, but you should be able to use a good ol'
 terminal bell.

so how do you do the beep thingie ? Becuase i did not find it ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's an easy way to replace a drive?

2005-03-27 Thread Matthew Seaman
On Thu, Mar 24, 2005 at 07:55:13PM +0100, Anthony Atkielski wrote:

 Can I boot from the FreeBSD boot CD and avoid mounting anything on any
 of the hard drives at all? (That's not a problem in this case, since the
 root is on a different drive, but if I ever had to replace the drive
 containing the root I'm just wondering how to go about it.)

Use Disk2 - the live filesystem disk - for that purpose.  If you boot
from it, it puts you into sysinstall just like disk1, but you can
select 'Fixit mode' from the main menu and get a shell prompt while
running entirely of the CD.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   8 Dane Court Manor
  School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone
Tel: +44 1304 617253  Kent, CT14 0JL UK


pgp1u7Q5nwbr5.pgp
Description: PGP signature


Re: FreeBSD 4.x Opteron Question

2005-03-27 Thread Matthew Seaman
On Wed, Mar 23, 2005 at 01:10:37PM -0800, NMH wrote:
 
 --- Matthew Seaman [EMAIL PROTECTED]
 wrote:
  On Tue, Mar 15, 2005 at 08:50:22AM -0800, Boris
  Spirialitious wrote:
   When opteron support start for Freebsd? I have
  4.9. 
   is supported? Or 4.11 better? I can't use 5.x.
  
  Well, AMD64 support as a tier-1 platform only came
  in with 5.x, so
  you're S.O.L. if you have to use a 4.x release
  version.  
   
   Will a i386 disk boot on opteron system? Can I
   use same disk image for intel and amd MBs? Any
   big problems?
  
  You can generally run AMD64 machines in IA32 mode --
  but what would be
  the point? All you get then is a machine that costs
  more than an
  equivalent IA32 box and that probably performs
  worse.

  Actually, I use a ton of Opterons in IA32 mode that
 blow past the fastest pent 4's we tried. I have found
 them very stable, reliable and faster than the
 Pentium.
  (have not tried the Xeons) Of course they are even
 faster in 64 bit mode. But sadly most programs that I
 need don't work well or at all in 64 bit mode yet.

Indeed yes.  I stand corrected, and having had the opportunity to play
with some Opteron kit since I wrote the reply above, I must agree that
they do provide excellent performance in both IA32 and AMD64 modes.

Prices aren't even too outrageous, considering the extra performance.
Lead time for getting the kit is a little longer than for the Xeons,
and our supplier can't do a 1U Opteron rack mount with dual power
supplies yet, but those are minor considerations.  Guess we're going
to be getting a few more AMD64 boxes coming in, in future.

   Cheers,

   Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   8 Dane Court Manor
  School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone
Tel: +44 1304 617253  Kent, CT14 0JL UK


pgpNplBsOkta0.pgp
Description: PGP signature


Re: A Riddle

2005-03-27 Thread Dev Tugnait
I sticky this thread as retarded.

* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
 Apparently you can't read. I didn't say you were an
 idiot for running your own server. Only that you
 were an idiot to use your server to download
 tons of crap from lists that you don't want to
 read when for free you can have it stored elsewhere.
 
 I have a server, and a domain (several) and lots of
 other cool stuff. I got tired of wasting cpu cycles
 and disk space, considering that maybe 1 out of 20
 messages actually interests me. You guys always
 complain about wasted bandwidth. Well if you use
 yahoo or gmail or aol then you don't waste any bandwidth
 of your own. You just read what you want to read.
 
 
 -Original Message-
 From: Chris [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
 Sent: Sun, 27 Mar 2005 10:31:58 -0600
 Subject: Re: A Riddle
 
 [EMAIL PROTECTED] wrote: 
  
 -Original Message- 
 From: Fabian Keil [EMAIL PROTECTED] 
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Sat, 26 Mar 2005 21:59:59 +0100 
 Subject: Re: A Riddle 
  [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 
  
 *** Formatted correctly for ease of reading *** 
  
 [EMAIL PROTECTED] wrote: 
 WRONG on all counts! 
  
 Firstly, anyone who uses their own server for lists is 
 a complete idiot. 
  
 So - according to YOU, most all of us that run our own servers are 
 idiots. Yanno what? You sound like the type that is forced to use his 
 parents PC, Forced to use AOL, and forced to use web mail. 
  
 So - since YOU can't have what most of us can and do have, you feel the 
 need to lash out and verbally abuse. 
  
 This is a classic case of the have-nots are beside them selfs over the 
 haves. 
  
 It's one thing to say something like: 
  
 It's my opinion that (insert rhetoric here) 
  
 Then to make a sweeping generalization as you just did. Shows us what 
 kind a man (or boy) you are. 
  
 Grow up - show some respect, don't insult - you will live longer when 
 you do join society. 
  
 And, as I said before - even tho you may bash us, think you are 
 superior to us - we still love you anyways. 
  
 Oh, and have a great day! 
  
 -- Best regards, 
 Chris 
  
 If on an actuarial basis there is a 50 50 chance that 
 something will go wrong, 
 It will actually go wrong nine times out of ten. 
 ___ 
 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
 

Re: which shell irc client do you like ?

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

On 2005-03-27, Gert Cuykens scribbled these
curious markings:
 Surely you have screen(1) set up to show terminal beeps to you
 *somehow*, right? I personally prefer having it use esdplay because I
 usually have rhythmbox going, but you should be able to use a good ol'
 terminal bell.

 so how do you do the beep thingie ? Becuase i did not find it ?

By default, screen translates terminal bells into messages which are
displayed at the bottom of the screen. The bad thing about this is that
it dismisses such messages as soon as you hit a key. What this means is
that if you're typing away at a document of some sort and someone
mentions your nick on IRC, you may not notice. Using ^A-G (default
keybindings) will make the bell audible, so that you'll be able to hear
it. Whether your terminal emulation program that you use to log into the
system translates it into something visual is another matter. If you
want to always use this setting but you don't want to have to hit ^A-G
every time you start screen, put this in a file named ~/.screenrc:

vbell off

And you'll never see that annoying visual bell ever again.

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

iD8DBQFCRvDnk/lo7zvzJioRAvQqAKCwMobp9DMHT/yNlEgeehsU97SS1wCdH6gp
ZzWiNWqBEjNfFnvNcBLzaCA=
=R0Kg
-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]


inetd vs standalone daemon

2005-03-27 Thread Gert Cuykens
Is inetd a daemon that start other daemons ?
Is sql and apache a standalone daemon ?
Can i delete inetd ?
I vote we get rid of inetd :)
___
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-27 Thread Gert Cuykens
On Sun, 27 Mar 2005 17:41:25 + (UTC), Christopher Nehren
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 2005-03-27, Gert Cuykens scribbled these
 curious markings:
  Surely you have screen(1) set up to show terminal beeps to you
  *somehow*, right? I personally prefer having it use esdplay because I
  usually have rhythmbox going, but you should be able to use a good ol'
  terminal bell.
 
  so how do you do the beep thingie ? Becuase i did not find it ?
 
 By default, screen translates terminal bells into messages which are
 displayed at the bottom of the screen. The bad thing about this is that
 it dismisses such messages as soon as you hit a key. What this means is
 that if you're typing away at a document of some sort and someone
 mentions your nick on IRC, you may not notice. Using ^A-G (default
 keybindings) will make the bell audible, so that you'll be able to hear
 it. Whether your terminal emulation program that you use to log into the
 system translates it into something visual is another matter. If you
 want to always use this setting but you don't want to have to hit ^A-G
 every time you start screen, put this in a file named ~/.screenrc:
 
 vbell off
 
 And you'll never see that annoying visual bell ever again.

And how do you turn on beeps in irssi ?
___
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-27 Thread Anthony Atkielski
[EMAIL PROTECTED] writes:

 You know, you spout all of this wonderful theory without considering
 the quality of the implementation.

Somethings can be derived directly from theory.  If you know the design
of the hardware, you can predict that two processors will provide x%
increment of throughput over a single processor, even if you don't
actually measure them.

In my case, I cite both theory and my own experience in measuring actual
systems.  The general principles of behavior of multiprocessor systems
are well understood, although specific implementations vary.  It is
clear, based even on design data alone, that hyperthreading will
generally improve throughput and should never diminish it (disregarding
OS overhead).  It is equally clear that the gain won't be as great as
having physically independent processors, but the idea of putting more
of the idle processor logic to work is a good one.

 And a key point that you consistently overlook is that FreeBSD 5.x is
 a particularly poor implementation of SMP. Linux and Dragonfly get 80%
 improvement in performance with a 2nd processor, and FreeBSD doesn't.

I'd need to see measurements to substantiate this.

In general, when it comes to optimization, it's best not to fret too
much over how many percentage points of processor power or throughput
you gain or lose with specific configuration or implementation choices.
If your system is running so close to the wire that five percent makes
the difference between 100% busy and less than 100% busy, you need more
hardware in any case.

 The concept that the kernel is poorly implemented by userland is well
 done is just not an assumption that you can make.

Actually, it's not something that I spend a lot of time thinking about.
Right now, my production system is never more than 0.4% busy.  And if it
were 99% busy, I'd be looking at faster hardware, no matter what OS or
HT/MP options I might have implemented.

-- 
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-27 Thread Anthony Atkielski
[EMAIL PROTECTED] writes:

 Right. Thats what I said. You'll killl your networking.

Beyond a certain network load, you have to increase the number of timer
interrupts per second no matter how fast your processors are or how many
of them you have, if you are polling your I/O interfaces instead of
being driven from interrupts.

I don't like the idea of routinely running 1000 timer interrupts per
second, but I note that FreeBSD 6.x apparently is moving to this number
(?).  I'd prefer that it be readily configurable.

There are other options but I'm not sure how well x86 hardware supports
them.  Having a very accurate, very high resolution elapsed-time counter
on the processor(s) can help lower overhead by allowing the OS to get
accurate time information without waiting for an interrupt and with
execution of only a single instruction.  Having programmable, very high
resolution timers would help, too.

-- 
Anthony


___
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-27 Thread Christopher Nehren
On 2005-03-27, Gert Cuykens scribbled these
curious markings:
 And how do you turn on beeps in irssi ?

/set beep_msg_level hilight

I recommend perusing through irssi's online help. You'd be surprised at
what's available (even *I'm* surprised, and I've been using it for a
while; even tinkered with the Perl API).

Best Regards,
Christopher Nehren
-- 
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: Vinum Problem

2005-03-27 Thread Robert Slade
On Sun, 2005-03-27 at 16:59, Ean Kingston wrote:
 On March 27, 2005 10:35 am, Robert Slade wrote:
  Hi,
 
  I have managed to setup a vinum volume using 2 striped disks, the volume
  is created and I can do newfs on it and mount it.
 
  However, when I set start_vinum=YES in rc.conf, vinum loads then I get
  panic, followed by hanging vnode.
 
  I'm using 5.3.
 
  Any pointers please.
 
 In 5.3, you need to use gvinum instead of vinum. To do this set 
 start_vinum=NO in /etc/rc.conf and set geom_vinum_load=YES 
 in /boot/loader.conf.
 
 gvinum will read your vinum configuration just fine so you only need to make 
 the changes I suggested to get it to work.
 
 Althought this is documented, it is not what I would call 'well documented' 
 yet.

Ean,

Thank you, that got me further, I appears to have created a new
/dev/gvinum/test, which seems to the right size, but when I mount it as
/test, I get not a directory when I try and ls it.

I have tried to find documentation on geom, but that seems to be related
to mirroring.

Rob

___
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-27 Thread Alejandro Pulver
On Sun, 27 Mar 2005 11:02:44 +0200
Fabian Keil [EMAIL PROTECTED] wrote:

 Alejandro Pulver [EMAIL PROTECTED] wrote:
 
  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?
 
  My guest user is 'nobody', but I also tried with 'ale' and 'root'
  (wich owns the mount point).
 
 Did you see in samba's log that the guest user was changed?
 How did you change it, with guest user or with force user?
 
 As your problem can be reproduced, increasing samba's debug
 level might help. Samba should log why read access was denied.
 
 If you access the samba share with mount_smbfs, do you see
 the same behavior?
  
  The directory '/mnt/w2k' is owned by 'root' and the group 'wheel',
  the permissions are rwxr-xr-x.
 
 If you only want read access, this looks fine.
 
 Fabian
 -- 
 http://www.fabiankeil.de


Hello,

Thank you for your reply.

I saw in SWAT that the connection from the other machine was mapped to
the desired local user in all cases (I tried nobody, ale and
root). I used guest account = user.

Something strange is happening: I can access the sahre '/mnt' (and
'w2k') with 'smbclient' (using the 'guest' user), but if I do it with
'mount_smbfs //[EMAIL PROTECTED]/mnt /home/ale/tmp' then the problem appears,
even with 'root' (I can not see/access entries until I list them with
any user from '/mnt/w2k').

I think the problem is with Samba, not 'mount_smbfs'.

This message appears (many times) in debug level 0:

[2005/03/27 15:04:38, 1] smbd/service.c:make_connection_snum(648)
  mariana (192.168.1.1) connect to service mnt initially as user nobody
(uid=65534, gid=65534) (pid 1217)[2005/03/27 15:04:44, 0]
locking/posix.c:posix_fcntl_lock(657)  posix_fcntl_lock: WARNING: lock
request at offset 0, length 4096 returned[2005/03/27 15:04:44, 0]
locking/posix.c:posix_fcntl_lock(658)  an Invalid argument error. This
can happen when using 64 bit lock offsets[2005/03/27 15:04:44, 0]
locking/posix.c:posix_fcntl_lock(659)  on 32 bit NFS mounted file
systems.

The other message I noticed (but I think it is not an error) in level 3
is:

[2005/03/27 14:16:19, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [nobody] - [nobody]
FAILED with error NT_STATUS_WRONG_PASSWORD[2005/03/27 14:16:19, 3]
auth/auth.c:check_ntlm_password(219)  check_ntlm_password:  Checking
password for unmapped user [EMAIL PROTECTED] with the new
password interface[2005/03/27 14:16:19, 3]
auth/auth.c:check_ntlm_password(222)  check_ntlm_password:  mapped user
is: [EMAIL PROTECTED]

The one that also called my attention was:

[2005/03/27 14:16:30, 3] smbd/error.c:error_packet(105)
  error string = Is a directory
[2005/03/27 14:16:30, 3] smbd/error.c:error_packet(129)
  error packet at smbd/nttrans.c(862) cmd=162 (SMBntcreateX)
NT_STATUS_FILE_IS_A_DIRECTORY

However I do not know about the internal working of Samba so perhaps I
missed some important messages.

I made different logs with different debug levels. They are in
ftp://ftp.varnet.to (public FTP) in a directory called samba_logs. The
local machine is called ale and the other mariana. The best log in
level 3 is in the directory log.3_2.

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: inetd vs standalone daemon

2005-03-27 Thread cpghost
On Sun, Mar 27, 2005 at 07:46:09PM +0200, Gert Cuykens wrote:
 Can i delete inetd ?

Why would you want to? Just don't enable it from /etc/rc.conf
and you'll be fine. If you need it, you can always enable it
later. Many machines run just fine without inetd. It all depends
what you wanna do.

 I vote we get rid of inetd :)

No. With inetd, you can also turn regular filters into network
aware programs (sort of). And not every network service is always
needed all the time. Having a deamon for each of those seldom used
services hanging around is just wastful.

-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: inetd vs standalone daemon

2005-03-27 Thread bob
 Is inetd a daemon that start other daemons ?
YES

 Is sql and apache a standalone daemon ?
YES

 Can i delete inetd ?
Just don't start it at boot time

 I vote we get rid of inetd :)
It's your box, do what ever you want

___
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: inetd vs standalone daemon

2005-03-27 Thread Marty Landman
At 02:05 PM 3/27/2005, [EMAIL PROTECTED] wrote:
On Sun, Mar 27, 2005 at 07:46:09PM +0200, Gert Cuykens wrote:
 I vote we get rid of inetd :)
No. With inetd, you can also turn regular filters into network
aware programs (sort of). And not every network service is always
needed all the time. Having a deamon for each of those seldom used
services hanging around is just wastful.
How much wasting is going on though? Can I get a good feel for resources 
consumed by looking at 'top'?

I'm happy with my set up the way it is and am just asking in the hopes of 
learning more than I know (not very hard at this point).

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search  Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: inetd vs standalone daemon

2005-03-27 Thread Gert Cuykens
On Sun, 27 Mar 2005 21:05:11 +0200, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 On Sun, Mar 27, 2005 at 07:46:09PM +0200, Gert Cuykens wrote:
  Can i delete inetd ?
 
 Why would you want to? Just don't enable it from /etc/rc.conf
 and you'll be fine. If you need it, you can always enable it
 later. Many machines run just fine without inetd. It all depends
 what you wanna do.
 
  I vote we get rid of inetd :)
 
 No. With inetd, you can also turn regular filters into network
 aware programs (sort of). And not every network service is always
 needed all the time. Having a deamon for each of those seldom used
 services hanging around is just wastful.

i think its less wasteful cpu time to run separate daemons then to run
1 big daemon. Because the big daemon needs to find out which service
it needs to start every time a fedex guy is knocking at the door while
a separate daemon already knows what it needs to do before the fedex
guy is standing at the door.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: inetd vs standalone daemon

2005-03-27 Thread Gert Cuykens
On Sun, 27 Mar 2005 14:13:00 -0500, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
  Is inetd a daemon that start other daemons ?
 YES
 
  Is sql and apache a standalone daemon ?
 YES
 
  Can i delete inetd ?
 Just don't start it at boot time

and that would be (rc.conf) inetd_enable=NO ?
 
  I vote we get rid of inetd :)
 It's your box, do what ever you want

So how do we remove it from freebsd ? Please let it be a pkg_delete :)
If not witch freebsd source developer do i need to pull his leg to
remove it from source into a pkg ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: inetd vs standalone daemon

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

On 2005-03-27, Gert Cuykens scribbled these
curious markings:
 Is inetd a daemon that start other daemons ?

Kind of. Its manual page is very descriptive.

 Is sql and apache a standalone daemon ?

SQL is (or is not, depending upon whom you believe) the Structured Query
Language. It's a standard, a concept, an idea. It has no representation
as software. Certain implementations of SQL, however, in server-based
environments manifest themselves as daemons, yes. Certain other
implementations in server-like environments don't manifest themselves as
daemons (e.g.  SQLite).

Apache can be run either way, but I've never found a need to run it
under inetd. It's always served me well in standalone mode.

 Can i delete inetd ?

I wouldn't. Why do you want to do so? Besides, unless you add the
appropriate flag somewhere in your buildworld infrastructure, it'll be
built and reinstalled when you update your base system anyway.

 I vote we get rid of inetd :)

And I vote that you research your votes before making them.

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

iD8DBQFCRxSuk/lo7zvzJioRAkQyAKCFyKQqlkY45qBHNgiEno1mfGD7rwCfc9ZD
vFw39yYDXVwRd+wGEvNSOEI=
=1oct
-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: inetd vs standalone daemon

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

On 2005-03-27, Gert Cuykens scribbled these
curious markings:
 So how do we remove it from freebsd ? Please let it be a pkg_delete :)
 If not witch freebsd source developer do i need to pull his leg to
 remove it from source into a pkg ?

Here's a bit of basic information about FreeBSD. Despite what you may
have learned about Linux, having every single file in the system
managed by a package is *NOT* a good idea[1]. You end up with systems
lacking compilers[2] that way, which confuse new users who try to build
software. inetd is not part of any package, and I hope that it never
will be. inetd is part of FreeBSD's base system -- the collection of
software, documentation, c. that the FreeBSD group maintains on their
own, separate from the Ports Collection which is (for the most part)
composed entirely of third-party software.

I will admit that this doesn't permit for the granularity available in
Linux distributions. But personally, I don't want that sort of
granularity. I don't want to have to *worry* about installing a
compiler, OpenSSL, and the like. I just want to tell it to install
everything and have it *actually* install everything.

If you want to make a fully package-based version of FreeBSD, where
everything from /bin/ls to /usr/sbin/inetd is a package, then by all
means do so. You won't even be alone in your desire. I seem to remember
a group of people vocalising a request for this a while ago. You'll
never be able to count me as a user, though. :)

[1]: I'm not exactly pleased with the distributions concept when you
install, but since I always select All anyway, it's a moot point I
suppose.

[2]: And other crucial things like OpenSSL, which even crops up on
FreeBSD from time to time.

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

iD8DBQFCRxbyk/lo7zvzJioRAuY6AJ97blX5BpXNuvL96dK2yHdKeS8NKACgqd/r
P8L8J/sI8CveGycvd0yv/cg=
=ytvh
-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: inetd vs standalone daemon

2005-03-27 Thread Thomas Foster
Im still confused as to your questions.. again.. most of these are answered 
by a simple glance at the FreeBSD handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-inetd.html
If you want to remove the inetd binary from your system .. go for it...
There are those who still use it as a wrapper for other services... such at 
identd (auth) or even finger

As far as removing it from sources.. you could try to pull a freebsd source 
developers leg but I assume you wont get very far..

The Fed-Ex metaphor is interesting but not really relevent to all services 
wrapped in inetd..

T
- Original Message - 
From: Gert Cuykens [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sunday, March 27, 2005 12:01 PM
Subject: Re: inetd vs standalone daemon


On Sun, 27 Mar 2005 14:13:00 -0500, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Is inetd a daemon that start other daemons ?
YES
 Is sql and apache a standalone daemon ?
YES
 Can i delete inetd ?
Just don't start it at boot time
and that would be (rc.conf) inetd_enable=NO ?
 I vote we get rid of inetd :)
It's your box, do what ever you want
So how do we remove it from freebsd ? Please let it be a pkg_delete :)
If not witch freebsd source developer do i need to pull his leg to
remove it from source into a pkg ?
___
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: which shell irc client do you like ?

2005-03-27 Thread Gert Cuykens
On Sun, 27 Mar 2005 18:13:18 + (UTC), Christopher Nehren
[EMAIL PROTECTED] wrote:
 On 2005-03-27, Gert Cuykens scribbled these
 curious markings:
  And how do you turn on beeps in irssi ?
 
 /set beep_msg_level hilight
 
 I recommend perusing through irssi's online help. You'd be surprised at
 what's available (even *I'm* surprised, and I've been using it for a
 while; even tinkered with the Perl API).

Thx ps how do you do /set | more in irc language ?
___
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-27 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-27, Gert Cuykens scribbled these
curious markings:
 Thx ps how do you do /set | more in irc language ?

Have you tried using the backscroll, accessible (in irssi at least) with
Page Up / Page Down?

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

iD8DBQFCRxu9k/lo7zvzJioRAkSDAJ9haweGhIh26RzklyJhilgupulATQCeJVi4
zI7WihLvMPa9ieub338Ss6Q=
=Rn6H
-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: hyper threading.

2005-03-27 Thread RW
On Saturday 26 March 2005 22:45, Anthony Atkielski wrote:
 [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.

The situation is very different.

Multiple processors can run multiple processes at the same time. A HT 
processor can only run two threads from the same process. And most software 
isn't multithreaded.
___
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-27 Thread Gert Cuykens
On Sun, 27 Mar 2005 20:45:04 + (UTC), Christopher Nehren
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 2005-03-27, Gert Cuykens scribbled these
 curious markings:
  Thx ps how do you do /set | more in irc language ?
 
 Have you tried using the backscroll, accessible (in irssi at least) with
 Page Up / Page Down?
 

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


more problems with 5.3 and TIMEOUT - WRITE_DMA

2005-03-27 Thread Mike Daemon
I got this annoying problem when upgradeing to 5.3, the miniinst iso
blurps out TIMEOUT - WRITE_DMA when it starts writing base to my
disk. And when I tried to first install 5.2.1 and upgrade (cvsup, make
buildworld etc.. ) to 5.3 that way everything seems fine until I
reboot to single-user-mode, as soon as Im starting to write anything
to the disk it´s blurping out those errors.. I have diagnosticed my
disk, checked my cabling and fixed my PSU (installed a brand new one).
No difference. I noticed that my ide-controller was supported in 4.11,
but not? in 5.3, is that realy true? seems very strange...

Sence I duel boot with Wintendo/Lunix and don´t see this problem with
those oses I´m very confused of what to do next..

I´ll tried some snapshots to but no luck... 

/ Mike

ps My dmesg goes in the attachment, in hope for a patch/solution to
this problem. ds
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc0e6d000.
Preloaded mfs_root /boot/mfsroot at 0xc0e6d244.
Preloaded elf module /boot/kernel/acpi.ko at 0xc0e6d288.
ACPI APIC Table: ASUS   P4S533  
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2400.10-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
  
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 268419072 (255 MB)
avail memory = 246906880 (235 MB)
ioapic0 Version 0.0 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ASUS   P4S533   on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20
pcibios: BIOS version 2.10
Using $PIR table, 10 entries at 0xc00f1b10
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: SIS Generic host to PCI bridge mem 0xe800-0xebff at
device 0.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 2.0 on pci0
isa0: ISA bus on isab0
ohci0: SiS 5571 USB controller mem 0xe680-0xe6800fff irq 20 at
device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: SiS 5571 USB controller on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: SiS 5571 USB controller mem 0xe600-0xe6000fff irq 23 at
device 2.3 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: SiS 5571 USB controller on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ums0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev
1.10/3.00, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
atapci0: SiS 5513 UDMA33 controller port 0xd800-0xd80f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: multimedia, audio at device 5.0 (no driver attached)
rl0: RealTek 8139 10/100BaseTX port 0xa400-0xa4ff mem
0xe500-0xe5ff irq 17 at device 9.0 on pci0
rl0: Ethernet address: 00:c1:26:0e:fe:f5
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port
0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: Option ROM at iomem 0xd-0xd3fff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 2400095416 Hz quality 800
Timecounters tick every 10.000 msec
md0: Preloaded image 

Re: more problems with 5.3 and TIMEOUT - WRITE_DMA

2005-03-27 Thread Thomas Foster
I had this same issue on an older AMD Nforce board.  5.2.1 seemed to install 
and run.. but moving to 5.3 gave me issues.  I tinkered with the DMA 
settings in the BIOS.. to no avail.  The Geometry seemed to be off on the 
drive I noticed (IBM deskstar) when I newfs'd it.. so I changed out drives.. 
but never got it working..  I eventually just dropped Gentoo on it.

What chipset, drive controller hard drive are you using on this system?
T
- Original Message - 
From: Mike Daemon [EMAIL PROTECTED]
To: FreeBSD Questions freebsd-questions@freebsd.org
Sent: Sunday, March 27, 2005 1:15 PM
Subject: more problems with 5.3 and TIMEOUT - WRITE_DMA

I got this annoying problem when upgradeing to 5.3, the miniinst iso
blurps out TIMEOUT - WRITE_DMA when it starts writing base to my
disk. And when I tried to first install 5.2.1 and upgrade (cvsup, make
buildworld etc.. ) to 5.3 that way everything seems fine until I
reboot to single-user-mode, as soon as Im starting to write anything
to the disk it´s blurping out those errors.. I have diagnosticed my
disk, checked my cabling and fixed my PSU (installed a brand new one).
No difference. I noticed that my ide-controller was supported in 4.11,
but not? in 5.3, is that realy true? seems very strange...
Sence I duel boot with Wintendo/Lunix and don´t see this problem with
those oses I´m very confused of what to do next..
I´ll tried some snapshots to but no luck...
/ Mike
ps My dmesg goes in the attachment, in hope for a patch/solution to
this problem. ds



___
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-27 Thread Anthony Atkielski
RW writes:

 Multiple processors can run multiple processes at the same time. A HT
 processor can only run two threads from the same process.

This is incorrect.  HT processors don't care where the threads come
from; it is possible to run threads from two completely different
processes on the same HT processor.  The threads have completely
independent architectural states and can come from anywhere in the
system.

However, the design of hyperthreading favors a certain amount of
commonality between the contexts of each thread.  While it's best to
have different instruction mixes, it helps if both threads are executing
in the same memory spaces, since resources such as on-device cache are
shared between the threads in the HT processor.  Completely different
threads in different processes executing out of different areas of
memory might cause more contention for cache and similar resources (TLB,
etc.), diminishing the advantage of hyperthreading.

Also, spin waits need special consideration on HT processors.  If one
thread spins on a gate or semaphore held by the other thread, it
effectively slows the other thread down, keeping both threads moving
more slowly than they might if they were in completely separate
processors.  A solution for this suggested by Intel is the PAUSE
instruction, which forces complete execution of a spin-wait instruction
before the next execution can begin, thus freeing resources for the
other thread in the processor.  Intel recommends the use of PAUSE even
when HT processors are not being used.

Still another recommendation is to schedule first physically independent
processors, then HT logical processors.  This requires that the OS be
aware of the difference between the two.  This usually makes more
efficient use of processor resources, except for some very specific
cases where running two threads on the same HT processor might run as
fast or faster than running them separately (if they are referencing a
lot of the same shared resources, such as cache).

Intel claims up to a 30% improvement in throughput for an HT processor
as compared to a normal processor.  For truly separate physical
processors, the improvement is more like 60%, and possibly much more.

Hyperthreading should not be seen as a substitute for multiple
processors.  It's more like a way to make better use of each processor.

Hyperthreading is especially useful when multiple execution threads
exist in a common context, such as multithreaded daemons or
multithreaded desktop applications.  In these situations, the HT
architecture is used to the fullest, with corresponding improvements in
performance.

Recent changes in FreeBSD architecture to allow a multithreaded kernel
are among the situations in which hyperthreading can be put to good use.
The new multithreaded architecture of Apache 2.x should also be able to
put HT to good use.

-- 
Anthony


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


upgrading net-snmp-5.2.1 gives error

2005-03-27 Thread gustaaf wijnands
Hello all,
portupgrading net-snmp-5.2.1 doesn't seem to work on my machine:
/libexec/ld-elf.so.1: 
/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/SNMP/SNMP.so: Undefined 
symbol perl_get_sv
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade3553.1 make
** Fix the problem and try again.

I am running FreeBSD 5.3-RELEASE-p5 #7. Anybody any idea what can be 
wrong and what can be done about it?

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


Re: more problems with 5.3 and TIMEOUT - WRITE_DMA

2005-03-27 Thread Mike Daemon
On Sun, 27 Mar 2005 13:32:43 -0800, Thomas Foster [EMAIL PROTECTED] wrote:
 I had this same issue

I´ll have seen some more posts on the list with about the same problem
therefore, I hope some bright one will take alook at the code.. and
post something smart.. I´m very much stuck, hopeing any new snapshot
will work..

 on an older AMD Nforce board.  5.2.1 seemed to install
 and run.. but moving to 5.3 gave me issues.  I tinkered with the DMA
 settings in the BIOS.. to no avail.  The Geometry seemed to be off on the
 drive I noticed (IBM deskstar) when I newfs'd it.. so I changed out drives..
 but never got it working..  I eventually just dropped Gentoo on it.
 
 What chipset, drive controller hard drive are you using on this system?

http://www.freebsd.org/cgi/man.cgi?query=atasektion=4manpath=FreeBSD+5.3-RELEASE

I´ll notised that my idecontroller IS supported by the ata-driver,
witch makes it even stranger.. (I think I will check on my cabling
once more, even if it´s a newly installed _rounded_ 32 pin cable..)

My atacontroller: SiS 5513
My HDD: Seagate 200 GB


 
 T
 
 - Original Message -
 From: Mike Daemon [EMAIL PROTECTED]
 To: FreeBSD Questions freebsd-questions@freebsd.org
 Sent: Sunday, March 27, 2005 1:15 PM
 Subject: more problems with 5.3 and TIMEOUT - WRITE_DMA
 
 I got this annoying problem when upgradeing to 5.3, the miniinst iso
 blurps out TIMEOUT - WRITE_DMA when it starts writing base to my
 disk. And when I tried to first install 5.2.1 and upgrade (cvsup, make
 buildworld etc.. ) to 5.3 that way everything seems fine until I
 reboot to single-user-mode, as soon as Im starting to write anything
 to the disk it´s blurping out those errors.. I have diagnosticed my
 disk, checked my cabling and fixed my PSU (installed a brand new one).
 No difference. I noticed that my ide-controller was supported in 4.11,
 but not? in 5.3, is that realy true? seems very strange...
 
 Sence I duel boot with Wintendo/Lunix and don´t see this problem with
 those oses I´m very confused of what to do next..
 
 I´ll tried some snapshots to but no luck...
 
 / Mike
 
 ps My dmesg goes in the attachment, in hope for a patch/solution to
 this problem. ds
 
 
 
  ___
  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: upgrading net-snmp-5.2.1 gives error

2005-03-27 Thread Thomas Foster
Does it compile WITH_PERL=NO ?
what version of autoconf and libtool are you using?
and perl -v returns what version?
what happens after running ldconfig -R
T
- Original Message - 
From: gustaaf wijnands [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sunday, March 27, 2005 1:35 PM
Subject: upgrading net-snmp-5.2.1 gives error


Hello all,
portupgrading net-snmp-5.2.1 doesn't seem to work on my machine:
/libexec/ld-elf.so.1: 
/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/SNMP/SNMP.so: Undefined 
symbol perl_get_sv
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade3553.1 make
** Fix the problem and try again.

I am running FreeBSD 5.3-RELEASE-p5 #7. Anybody any idea what can be wrong 
and what can be done about it?

Thanks,
--
Gustaaf Wijnands
___
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: which shell irc client do you like ?

2005-03-27 Thread Chuck Robey
Christopher Nehren wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2005-03-27, Gert Cuykens scribbled these
curious markings:
Thx ps how do you do /set | more in irc language ?

Have you tried using the backscroll, accessible (in irssi at least) with
Page Up / Page Down?
Just curious if you folks have tried the mozilla application, available 
only from mozilla (not firefox) called chatzilla?  I have tried nearly 
all of the other IRC clients, it's not a minimal one, but it's very very 
nice.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFCRxu9k/lo7zvzJioRAkSDAJ9haweGhIh26RzklyJhilgupulATQCeJVi4
zI7WihLvMPa9ieub338Ss6Q=
=Rn6H
-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]


Re: which shell irc client do you like ?

2005-03-27 Thread Christopher Nehren
On 2005-03-27, Chuck Robey scribbled these
curious markings:
 Just curious if you folks have tried the mozilla application, available 
 only from mozilla (not firefox) called chatzilla?  I have tried nearly 
 all of the other IRC clients, it's not a minimal one, but it's very very 
 nice.

I personally try to keep things as console-based as possible. screen,
irssi, elinks, mutt, slrn and vim are my best friends. I'd be in serious
trouble if ncurses broke. :)

Best Regards,
Christopher Nehren
-- 
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: upgrading net-snmp-5.2.1 gives error

2005-03-27 Thread gustaaf wijnands
Thomas Foster wrote:
Does it compile WITH_PERL=NO ?
It doesn't compile WITHOUT_PERL=yes

what version of autoconf and libtool are you using?
pkg_info |grep autoconf
autoconf-2.13.000227_5 Automatically configure source code on many Un*x 
platforms
autoconf-2.59_2 Automatically configure source code on many Un*x 
platforms

pkg_info |grep libtool
libtool-1.3.5_2 Generic shared library support script (version 1.3)
libtool-1.5.10_1Generic shared library support script (version 1.5)

and perl -v returns what version?
perl -v
This is perl, v5.8.6 built for i386-freebsd-64int
perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
  Platform:
osname=freebsd, osvers=5.3-release-p5, archname=i386-freebsd-64int
uname='freebsd laptop.intern 5.3-release-p5 freebsd 5.3-release-p5 
#7: wed ja 
   n 26 21:10:23 cet 2005 
[EMAIL PROTECTED]:usrobjusrsrcsysmykernel i386 '
config_args='-sde -Dprefix=/usr/local 
-Darchlib=/usr/local/lib/perl5/5.8.6/mach 
-Dprivlib=/usr/local/lib/perl5/5.8.6 
-Dman3dir=/usr/local/lib/perl5/5.8.6/perl 
  /man/man3 
-Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl 

 /5.8.6/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.6 
-Dscriptdir=/usr/local 
   /bin 
-Dsiteman3dir=/usr/local/lib/perl5/5.8.6/man/man3 
-Dsiteman1dir=/usr/local/m 
   an/man1 -Ui_malloc -Ui_iconv 
-Uinstallusrbinperl -Dcc=cc -Doptimize=-O -pipe  -Du 

seshrplib -Dccflags=-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.6/BSDPAN 
-Ud_dosuid 
-Ui_gdbm -Dusethreads=n -Dusemymalloc=y 
-Duse64bitint'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
  Compiler:
cc='cc', ccflags 
='-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.6/BSDPAN -DHAS_FP 

  SETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-I/usr/local/include',
optimize='-O -pipe ',
cppflags='-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.6/BSDPAN 
-DHAS_FPSETMASK - 
  DHAS_FLOATINGPOINT_H -fno-strict-aliasing 
-pipe -I/usr/local/include'
ccversion='', gccversion='3.4.2 [FreeBSD] 20040728', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, 
Off_t='off_t', lseek 
 size=8
alignbytes=4, prototype=define
  Linker and Libraries:
ld='cc', ldflags =' -Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' 
-Wl,-R/usr/local/ 
  lib/perl5/5.8.6/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'

Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Locally applied patches:
SUIDPERLIO0 - fix PERLIO_DEBUG local root exploit (CAN-2005-0155)
SUIDPERLIO1 - fix PERLIO_DEBUG buffer overflow (CAN-2005-0156)
  Built under freebsd
  Compiled at Feb  6 2005 20:47:58
  @INC:
/usr/local/lib/perl5/site_perl/5.8.6/mach
/usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl/5.8.5
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.6/BSDPAN
/usr/local/lib/perl5/5.8.6/mach
/usr/local/lib/perl5/5.8.6
.

what happens after running ldconfig -R
still the same error. Any idea? Thank for helping me
--
Gustaaf Wijnands
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Does QEMU support Windows VPN ? (5th try)

2005-03-27 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 I have been trying to connect from my FreeBSD box to a Microsoft
 
 
 VPN.  I am running Windows 2000 Pro and also Windows Millennium
 inside  QEMU.  I have also tried using both -user-net and
 /dev/tun0 connections.  The connections fail while trying to
 authenticate my name and password.
 
 
 
 What does the port maintainer say?
 
 
 The port maintainer has not replied to my email I sent them.
 
 Am I the only one trying to use Microsoft's VPN and RemoteAccess
 software from within QEMU ? 
 

We use poptop from the ports and it works fine for Microsoft's PPP
VPN client.  If you want my notes on how to set it up and configure
it just ask.

Ted

___
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-27 Thread Jonathan Chen
On Sun, Mar 27, 2005 at 12:09:03PM -0500, Francisco Reyes wrote:
 On Sun, 27 Mar 2005, Mario Hoerich wrote:
 
 Now I just wonder how to get date in my output. :-(
 
 Well, if nothing else helps there's always system(date).
 However, you could also install lang/gawk.
 
 Since this was from a shell script I did
 date | awk '{print #$1   $2 - $3 - $6}'

How about:
date +#%a %b - %d - %Y
-- 
Jonathan Chen [EMAIL PROTECTED]
--
char *p=char *p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help!

2005-03-27 Thread Charlie Sorsby
Every time I turn round, someone is telling me that I should update
to a more recent version of freeBSD.  Each time I try, I encounter
nothing but trouble.

Before I even begin:  *CAN* freeBSD be installed on the fourth of
four SCSI disk drives on the second of two SCSI cards?

I know of no way to record the error messages other than with
pencil and paper -- not a very efficient method in this computer
age, especially when one is in the throes of frustration.

I tried some time ago, updating to 4.5, the latest version for
which I have a CDROM.  When I encountered problems and queried this
list, I received a message to the effect that the installer should
quit working after X years.  Perhaps that was tongue in cheek but
it was singularly unhelpful.

So, I continued to use 3.4 which, aside from the fact that I can't
add anything new or update any ports or ... has stood me in good
stead for years.

Finally getting tired of using netscape 4.76 -- I've been unsuccessful
at finding any modern browser that I can install under 3.4 --
and having it crashed by modern web sites, I decided to try again.
I fetched the floppy images for 4.11 -- I have no interest in 5.x,
4.x is far enough removed from real BSD that I wouldn't go that
route it I had a choice.

Busy with other things, I finally got round to trying an ftp
install today.

Before I proceed, I suppose that I'd best tell you what my system
comprises:

M'board:Intel D845WN

CPU:P4, 2.4GHz, 478, 512K, 400MHz FSB

Memory: Crucial 512MB, 168-pin, DIMM 64Mx64, PC133 SDRAM

Case:   Antec Sonata with Antec TruePower supply.

SCSI cards (presently, the Adaptec is in the PCI slot closer to the
CPU):
Adaptec 2940
Tekram DC-390U2W

Ethernet;   Intel PRO100S

Disk drives (The first three are on the 2940, the fourth on the
Tekram):
IBM DORS-32160 WA0A, 2GB (from original system,
with leftover freeBSD 2.1.5 stuff,
no longer bootable.)
Seagate ST34501N 0015, 4GB (with freeBSD 3.4)
Seagate ST39216N 0010, 9GB (/home -- no OS)
Seagate ST318517W 0105, 18GB (on which I tried
to install 4.5 before and 4.11 today.

CDROM drive:Plextor (don't recall specs.)

Video card: Matrox Millennium G400, AGP4X, 32MB SGRAM

Oh -- FWIW, I'm also running XFree86 4.1.0 although that should not
be relevant to the installation problem but, like the feller says,
for the sake of completeness...

(I'll append -- at the end of this message -- dmesg from latest
boot after unsuccessful installation to cover anything that I've
forgotten.  This system has simply evolved over the years.)

I hope I won't forget any parts of this; I had to get back to 3.4
in order to be able to do this e-mail.  I got through the fdisk
and disklabel (re)configuration of the fourth disk onto which I
planned to install freeBSD 4.11 (having selected Standard Install)

Here's what I tried to set up as (Unix) partitions (remember this
is on the 18GB drive):

/128MB  # Thought this should be more than enough
swap 512MB
/usr4196MB
/var 512MB
/usr/local  4196MB
/tmp 512MB
/spare  # Everything else -- to be disposed of later.

I then proceeded to choose the installation package or whatever
it's called -- I chose ALL and then replied yes to the query
about installing the ports collection.

I believe that the next query was the choice of installation medium;
I chose (the first) ftp and the first (ftp.freebsd.org?) server in
the list and fetching the bits and pieces began.

Within a very few minutes, the installer complained that it had run
out of space on / -- why it would have tried to fetch everything to
the root partition is beyond me but that's what it said.  Oh --
there was one previous complaint about not being able to create a
swap partition that I'd requested as partition b.  I don't
understand that, either.

Aside (just in case it may be relevant):  Recently, I've not been
able to boot the CDROM.  I had no reason to try when I rebuilt the
system some time ago with the Intel m'board and Antec case.  I
first noticed it some time ago when I tried to install 4.5.  I had
never had a problem with the old Gigabyte m'board system.  As I
said, I don't know if this is relevant but thought I'd better
mention it just in case.

Here's the dmesg output:

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.4-RELEASE #6: Tue Jun 29 08:43:56 MDT 2004
[EMAIL PROTECTED]:/usr/src/sys/compile/KERNEL.CRS
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 2392250892 Hz
CPU: unknown (2392.25-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
  

cvsup, portupgrade, installing ports, and firewalls

2005-03-27 Thread Pat Maddox
I've got the pf firewall installed, and every time I run cvsup,
portupgrade or try to install ports, I have to disable it.  What
outgoing and incoming ports do I need to allow in order to run these
without disabling the firewall?
___
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-27 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 Ted Mittelstaedt writes:

 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.

 I wouldn't automatically assume that there were _bugs_ in the disks.


Not for the Seagate that you have but as I've said before I've had
problems with Quantum SCSI disk drives on other controllers, in
different systems, and even on NT.

And, HP used to manufacture their own SCSI disks, as
I recall they stopped doing it sometime around that era.  They put
special firmware that supported some extra features in the HP 6000
and S800/900 (like sector atomicity, patent EP565855, anyone remember
that) in them, and did that up until 1996.  I also recall issues with
the HP disks on certain controllers.  I suspect that some of those
Vectra servers were sold with HP disks in them.

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

 I don't recall ever saying anything about the microcode, only the
 hardware.


OK, but let's just say that the way you were using the terminology
you wern't differentiating the microcode from the aic7880 chipset.
Granted, we on the list overlooked this as well - nobody asked
you early on to post the firmware versions of the Adaptec controller.
We all I think assumed that HP just used the Adaptec aic7880 with
the regular Adaptec firmware/microcode.

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

 Whereas Microsoft just modified the OS to accommodate the special
 microcode.  That's why Microsoft is number one.

You also pay Microsoft for their stuff - makes a big difference - my
guess
if you contacted the ahc() developer and offered to pay him the cost of
an NT server license he would be more than happy to mod the driver no
matter how much of an asshole you chose to be to him.  (or her)

In any case if you meet the driver author halfway and don't approach it
like it's his driver that's broken, but rather that your hardware isn't
exactly compliant, (regardless of what you really believe) you won't be
put into the anal insertion category.

Ted

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


Re: Help!

2005-03-27 Thread Anthony Atkielski
Charlie Sorsby writes:

 Every time I turn round, someone is telling me that I should update
 to a more recent version of freeBSD.  Each time I try, I encounter
 nothing but trouble.

If the version you are currently running does what you require, there is
no reason for you to update, no matter what anyone says.

 I tried some time ago, updating to 4.5, the latest version for
 which I have a CDROM.  When I encountered problems and queried this
 list, I received a message to the effect that the installer should
 quit working after X years.  Perhaps that was tongue in cheek but
 it was singularly unhelpful.

Nobody suggested that you replace all your hardware?  Well, you were
lucky, then.  Newer versions of FreeBSD never have bugs; if they don't
work on a system that worked with an older version of FreeBSD, the only
possibility is that the hardware somehow failed while you were
installing the newer version.  I've been told this again and again when
I've had problems, but I obstinately refuse to believe it just because
someone says it is so.

 So, I continued to use 3.4 which, aside from the fact that I can't
 add anything new or update any ports or ... has stood me in good
 stead for years.

If it works, don't change it.  Don't listen to the upgrade fanatics who
constantly install the latest bleeding-edge releases of the OS simply
because they don't have anything better to do.  Never fix what isn't
broken.

 Finally getting tired of using netscape 4.76 -- I've been unsuccessful
 at finding any modern browser that I can install under 3.4 -- and
 having it crashed by modern web sites, I decided to try again.

Ah, that's different ... at least in that case you have a reason to
upgrade.

I daresay that lynx will probably run under 3.4, but it's not a very
exciting browser.

 I fetched the floppy images for 4.11 -- I have no interest in 5.x,
 4.x is far enough removed from real BSD that I wouldn't go that
 route it I had a choice.

Where and what is real BSD?

 Within a very few minutes, the installer complained that it had run
 out of space on / -- why it would have tried to fetch everything to
 the root partition is beyond me but that's what it said.

For what it's worth, I have about 128 MB in use on / after a standard
install of 5.3, which is no doubt bigger than 4.x, but you may still be
getting close.  I put 2 GB on /, and 7% is in use.

-- 
Anthony


___
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-27 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 Ted Mittelstaedt writes:

 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.

 It was a waste to me because nobody knows what the problem is or how
 to fix it, and the only suggestions I got were that the hardware was
 failing, which I know isn't true.


And to test with just one disk on the controller, specifically the
Seagate,
but also with just the Quantum, to eliminate a possible bad interaction
between the disks and to eliminate possible incompatible firmware in
either of the disks to that of the Adaptec controller.  Since you haven't
done that we still don't know if possibly it would work fine with only
one of the disks on the chain.

 When trying to troubleshoot a problem you make a conjecture as to
 what the problem might be then you test for it.

 I guess it's a good thing that nobody conjectured that it might be bad
 utility power, or I'd have to switch to a new nuclear plant in order
 to troubleshooot the problem.

It would have been an invalid conjecture because while your utility power
might be bad, the power your getting from your UPS certainly isn't.  I do
assume you have this on a UPS, right?

Ted

___
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-27 Thread Anthony Atkielski
Ted Mittelstaedt writes:

 You also pay Microsoft for their stuff - makes a big difference ...

The rest of FreeBSD seems to have been written without any checks from
me.

 ... my guess if you contacted the ahc() developer and offered to pay
 him the cost of an NT server license he would be more than happy to
 mod the driver no matter how much of an asshole you chose to be to
 him. (or her)

I probably still have a pristine copy of NT Server in a sealed box
somewhere. I think I bought several copies.  I know I have a sealed box
of Office 97, since it's sitting right next to me, but apparently it has
some issues when installed on XP (these days I hesitate to install
anything from Microsoft because installing one MS product seems to
install about 95% of its other products automagically).

 In any case if you meet the driver author halfway and don't approach
 it like it's his driver that's broken, but rather that your hardware
 isn't exactly compliant, (regardless of what you really believe) you
 won't be put into the anal insertion category.

If I have to worry about hurting the developer's delicate feelings,
maybe a new developer might be a good idea.  I hoped to stop having to
deal with schoolkids when I got out of school.  Good developers feel
morally obligated to deliver bug-free code and don't have to be nagged
about it.

-- 
Anthony


___
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-27 Thread Chris
Anthony Atkielski wrote:
  If I have to worry about hurting the developer's delicate feelings,
maybe a new developer might be a good idea.  I hoped to stop having to
deal with schoolkids when I got out of school.  Good developers feel
morally obligated to deliver bug-free code and don't have to be nagged
about it.
Tell that to the MS developers then - perhaps they will listen to you.
Tell them to stop producing bloated code. Code that allows every 12 
year-old on the planet to code a new back door, Trojan, or virus.

Tell them - and once they start doing that - maybe the real technical 
users around the world won't snicker when they here the word, Microsoft.

--
Best regards,
Chris
People will believe anything if you whisper it.
___
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-27 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:

 In any case if you meet the driver author halfway and don't approach
 it like it's his driver that's broken, but rather that your hardware
 isn't exactly compliant, (regardless of what you really believe) you
 won't be put into the anal insertion category.

 If I have to worry about hurting the developer's delicate feelings,
 maybe a new developer might be a good idea.  I hoped to stop having to
 deal with schoolkids when I got out of school.  Good developers feel
 morally obligated to deliver bug-free code and don't have to be nagged
 about it.

But the ahc() driver -is- bug free.  It's not bug free when it's running
on modified hardware, but it's fine when it's running with unmodded
hardware.

Your complaint sounds somewhat like the guy who bought a 68 Mustang then
complained when he had to cut away the shock towers to fit in a 460
and headers, then complained more when the torque from his engine twisted
the frame of the car.

Your going to be told to stick your head up your ass as long as you keep
believing that your hardware and it's firmware has nothing to do with
the problem.  Tens of thousands (probably more) of other people run
FreeBSD
servers for years using aic7880 chipsets without seeing what your seeing.
Clearly, there is something in your hardware that is different from all
these other people and that FreeBSD doesn't work with.

Your controller is probably the most common narrow scsi controller in
use among people running FreeBSD production servers.  Only the Symbiosis
narrow scsi chipset probably has a larger following, and a lot of these
are only running tapedrives and CD's.  (since they were sold with no boot
rom)

Ted

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


cdrom trouble with wine

2005-03-27 Thread jason henson
I have got to a point where I need some help.  I have got starcraft tot 
install, broodwar to install, and update it.  I can run programs from cd 
in with, like setup.exe, but starcraft still can't read a file on the 
cd.  I have mounted the cd in my home dir, created the right wine config 
file, and even used dd to make an iso that I mounted and it still didn't 
work.  I don't think this game even uses any secure rom because a simple 
disc copy on to a cdr works fine in windows.  Anyone had a problem like 
this?

$ wine starcraft.exe
fixme:file:get_default_drive_device auto detection of DOS devices not 
supported on this platform
fixme:ntdll:NtQueryVolumeInformationFile device info not properly 
supported on this platform
err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not 
available
$

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


RE: Help!

2005-03-27 Thread bob
Use your 3.4 FreeBSD system or a win system to download the mini.iso
file for 4.11 and then burn it to cd. Boot your box from the 4.11
mini newly created cd and accept the default slice sizes, select not
to install the ports collection.  The ports collection is over 3000
strong now and some are variations of same base port. You are being
foolish to select all ports as that is unnecessary and a gross waist
of disk space. After base install is complete then select the ports
you want and install separately.

You are way back level and there has been great changes in the
system and the sysinstall process. Read and follow this Install
guide for step by step instructions for 4.11 release as it's the
same as 4.10.


http://freebsd.packards-home.net/index.php


Yes FreeBSD CAN be installed on the fourth of four SCSI disk drives
on the second of two SCSI cards, but if you have other operating
systems on those other disks you will have to manual update the MBR
(master boot record)  multi boot program on the HD the PC bios point
to for selecting which operating system you want to boot from.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charlie
Sorsby
Sent: Sunday, March 27, 2005 5:51 PM
To: [EMAIL PROTECTED]
Subject: Help!

Every time I turn round, someone is telling me that I should update
to a more recent version of freeBSD.  Each time I try, I encounter
nothing but trouble.

Before I even begin:  *CAN* freeBSD be installed on the fourth of
four SCSI disk drives on the second of two SCSI cards?

I know of no way to record the error messages other than with
pencil and paper -- not a very efficient method in this computer
age, especially when one is in the throes of frustration.

I tried some time ago, updating to 4.5, the latest version for
which I have a CDROM.  When I encountered problems and queried this
list, I received a message to the effect that the installer should
quit working after X years.  Perhaps that was tongue in cheek but
it was singularly unhelpful.

So, I continued to use 3.4 which, aside from the fact that I can't
add anything new or update any ports or ... has stood me in good
stead for years.

Finally getting tired of using netscape 4.76 -- I've been
unsuccessful
at finding any modern browser that I can install under 3.4 --
and having it crashed by modern web sites, I decided to try again.
I fetched the floppy images for 4.11 -- I have no interest in 5.x,
4.x is far enough removed from real BSD that I wouldn't go that
route it I had a choice.

Busy with other things, I finally got round to trying an ftp
install today.

Before I proceed, I suppose that I'd best tell you what my system
comprises:

M'board:Intel D845WN

CPU:P4, 2.4GHz, 478, 512K, 400MHz FSB

Memory: Crucial 512MB, 168-pin, DIMM 64Mx64, PC133 SDRAM

Case:   Antec Sonata with Antec TruePower supply.

SCSI cards (presently, the Adaptec is in the PCI slot closer to the
CPU):
Adaptec 2940
Tekram DC-390U2W

Ethernet;   Intel PRO100S

Disk drives (The first three are on the 2940, the fourth on the
Tekram):
IBM DORS-32160 WA0A, 2GB (from original system,
with leftover freeBSD 2.1.5 stuff,
no longer bootable.)
Seagate ST34501N 0015, 4GB (with freeBSD 3.4)
Seagate ST39216N 0010, 9GB (/home -- no OS)
Seagate ST318517W 0105, 18GB (on which I tried
to install 4.5 before and 4.11 today.

CDROM drive:Plextor (don't recall specs.)

Video card: Matrox Millennium G400, AGP4X, 32MB SGRAM

Oh -- FWIW, I'm also running XFree86 4.1.0 although that should not
be relevant to the installation problem but, like the feller says,
for the sake of completeness...

(I'll append -- at the end of this message -- dmesg from latest
boot after unsuccessful installation to cover anything that I've
forgotten.  This system has simply evolved over the years.)

I hope I won't forget any parts of this; I had to get back to 3.4
in order to be able to do this e-mail.  I got through the fdisk
and disklabel (re)configuration of the fourth disk onto which I
planned to install freeBSD 4.11 (having selected Standard Install)

Here's what I tried to set up as (Unix) partitions (remember this
is on the 18GB drive):

/128MB  # Thought this should be more than
enough
swap 512MB
/usr4196MB
/var 512MB
/usr/local  4196MB
/tmp 512MB
/spare  # Everything else -- to be disposed of later.

I then proceeded to choose the installation package or whatever
it's called -- I chose ALL and then replied yes to the query
about installing the ports collection.

I believe that the next query was the choice of installation medium;
I chose (the first) ftp and the first (ftp.freebsd.org?) server in
the list and fetching the bits and pieces began.

Within a very few 

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

2005-03-27 Thread Anthony Atkielski
Ted Mittelstaedt writes:

 And to test with just one disk on the controller, specifically the
 Seagate, but also with just the Quantum, to eliminate a possible bad
 interaction between the disks and to eliminate possible incompatible
 firmware in either of the disks to that of the Adaptec controller.
 Since you haven't done that we still don't know if possibly it would
 work fine with only one of the disks on the chain.

A waste of time without first determining what the messages coming from
FreeBSD actually meant.

Do you always start swapping hardware in and out whenever you see an
unfamiliar message on the console?

 It would have been an invalid conjecture because while your utility power
 might be bad, the power your getting from your UPS certainly isn't. I do
 assume you have this on a UPS, right?

Yes ... but what makes you so sure it's not suddenly defective?

-- 
Anthony


___
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-27 Thread Anthony Atkielski
Chris writes:

 Tell that to the MS developers then - perhaps they will listen to you.

Done.

 Tell them to stop producing bloated code.

I've tried, but that is both a tendency of many developers (especially
PC developers) and a marketing imperative.

 Code that allows every 12 year-old on the planet to code a new back
 door, Trojan, or virus.

Bloat alone doesn't allow that, and Microsoft code isn't any more
vulnerable to this than any other code of comparable complexity for PC
systems.

 Tell them - and once they start doing that - maybe the real technical
 users around the world won't snicker when they here the word,
 Microsoft.

What does any of this have to do with FreeBSD?

-- 
Anthony


___
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-27 Thread Anthony Atkielski
Ted Mittelstaedt writes:

 But the ahc() driver -is- bug free.  It's not bug free when it's running
 on modified hardware, but it's fine when it's running with unmodded
 hardware.

It's also free of bugs if it's never called.

 Your complaint sounds somewhat like the guy who bought a 68 Mustang then
 complained when he had to cut away the shock towers to fit in a 460
 and headers, then complained more when the torque from his engine twisted
 the frame of the car.

I don't know anything about cars.

 Your going to be told to stick your head up your ass as long as you keep
 believing that your hardware and it's firmware has nothing to do with
 the problem.

No, I'll be told that as long as I'm dealing with children instead of
adults.

 Tens of thousands (probably more) of other people run
 FreeBSD servers for years using aic7880 chipsets without seeing
 what your seeing.

Even more run Windows without seeing what I'm seeing.

Someone must be running my machine, since it is mentioned on the 5.3
compatibility list.

 Clearly, there is something in your hardware that is different from all
 these other people and that FreeBSD doesn't work with.

Probably.  Sounds like an OS bug to me.

-- 
Anthony


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


Re: cdrom trouble with wine

2005-03-27 Thread jason henson
jason henson wrote:
I have got to a point where I need some help.  I have got starcraft 
tot install, broodwar to install, and update it.  I can run programs 
from cd in with, like setup.exe, but starcraft still can't read a file 
on the cd.  I have mounted the cd in my home dir, created the right 
wine config file, and even used dd to make an iso that I mounted and 
it still didn't work.  I don't think this game even uses any secure 
rom because a simple disc copy on to a cdr works fine in windows.  
Anyone had a problem like this?

$ wine starcraft.exe
fixme:file:get_default_drive_device auto detection of DOS devices not 
supported on this platform
fixme:ntdll:NtQueryVolumeInformationFile device info not properly 
supported on this platform
err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not 
available
$

thanks,
Jason

BTW staredit works, but is slugish with out nice.
___
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-27 Thread RW
On Sunday 27 March 2005 22:33, Anthony Atkielski wrote:
 RW writes:
  Multiple processors can run multiple processes at the same time. A HT
  processor can only run two threads from the same process.

 This is incorrect.  HT processors don't care where the threads come
 from; it is possible to run threads from two completely different
 processes on the same HT processor.

But what would be the point, that's slower than running with HT turned-off.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 4.6 4.8

2005-03-27 Thread Joe Parker
  
I have version 4.6 and 4.8 of FreeBSD and I am having trouble getting pass a 
certain point. This is the procedure I have followed form The FreeBSD Handbook, 
3rd Edition, Volume I: User Guide Edited by Murray Stokely and Chern Lee.
 
I boot for the CD and start form Start kernel configuration in full-screen 
visual mode.
 
Then Press X
 
Then delete:
 
Advansys SCSI narrow controller
 
Adaptec 154 X SCSI controller
 
Adaptec 152 X SCSI and computable sound card
 
Buslogic SCSI controller
 
Then press Q 
 
Save these parameters before exiting YES
 
While loading the sysinstall it freezes up when it reaches sio0: type 8250.
 
The book shows type 16550A
 
The computer I am trying to install FreeBSD on is an AMD 700 MHz marchine with 
512 MB of memory. Nothing else on the hard drive. It will be a stand a lone 
computer once I get FreeBSD installed.
 
Any help you can give me will be greatly appreciated.
 
Best Regards,  Joe 
 
 


Joe Parker
[EMAIL PROTECTED]
Why Wait? Move to EarthLink.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Installation

2005-03-27 Thread Joe Parker

  
I have version 4.6 and 4.8 of FreeBSD and I am having trouble getting pass a 
certain point. This is the procedure I have followed form The FreeBSD Handbook, 
3rd Edition, Volume I: User Guide Edited by Murray Stokely and Chern Lee.
 
I boot for the CD and start form Start kernel configuration in full-screen 
visual mode.
 
Then Press X
 
Then delete:
 
Advansys SCSI narrow controller
 
Adaptec 154 X SCSI controller
 
Adaptec 152 X SCSI and computable sound card
 
Buslogic SCSI controller
 
Then press Q 
 
Save these parameters before exiting YES
 
While loading the sysinstall it freezes up when it reaches sio0: type 8250.
 
The book shows type 16550A
 
The computer I am trying to install FreeBSD on is an AMD 700 Mhz maching with 
512 K of memory. Nothing else on the hard drive. It will be a stand a lone 
computer once I get FreeBSD installed.
 
Any help you can give me will be greatly appreciated.
 
Best Regards,  Joe 
 
 

Joe Parker
[EMAIL PROTECTED]
Why Wait? Move to EarthLink.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dependency problem: atk-1.0.901

2005-03-27 Thread Bnonn
Hi everyone, when attempting to install GTK2 or XFCE, I get a stop error
stating that the package atk-1.0.901 does not exist. I've
checked /usr/ports/accessibility/atk and have found that atk1.6.1
exists, and can be installed without problems, however apparently this
is not the right version.

I'm running FreeBSD 5.4 and have tried updating via cvs etc, without any
luck. It seems strange to me that this dependency problem would exist,
as surely a lot of people install GTK2, if not XFCE. Does anyone know of
a way to get around this? I'd sort of like to have a gui for my
machine :)

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


Re: FreeBSD Installation

2005-03-27 Thread Abu Khaled
On Sun, 27 Mar 2005 16:33:35 -0800, Joe Parker [EMAIL PROTECTED] wrote:
 
 
 I have version 4.6 and 4.8 of FreeBSD and I am having trouble getting pass a 
 certain point. This is the procedure I have followed form The FreeBSD 
 Handbook, 3rd Edition, Volume I: User Guide Edited by Murray Stokely and 
 Chern Lee.
 
 I boot for the CD and start form Start kernel configuration in full-screen 
 visual mode.
 
 Then Press X
 
 Then delete:
 
 Advansys SCSI narrow controller
 
 Adaptec 154 X SCSI controller
 
 Adaptec 152 X SCSI and computable sound card
 
 Buslogic SCSI controller
 
 Then press Q
 
 Save these parameters before exiting YES
 
 While loading the sysinstall it freezes up when it reaches sio0: type 8250.
 
 The book shows type 16550A

sio0 is the serial interface. If you don't need it try to disable it
bios to see if it's the reason for this problem.

 
 The computer I am trying to install FreeBSD on is an AMD 700 Mhz maching with 
 512 K of memory. Nothing else on the hard drive. It will be a stand a lone 
 computer once I get FreeBSD installed.
 
 Any help you can give me will be greatly appreciated.
 
 Best Regards,  Joe
 
 
 Joe Parker
 [EMAIL PROTECTED]
 Why Wait? Move to EarthLink.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


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


RE: FreeBSD Installation

2005-03-27 Thread bob
4.11 is the current production stable release which contains massive
changes from 4.8 one of which is the kernel configuration in
full-screen visual mode is not required any longer. The book you
are referencing is outdated. Release 4.6 and 4.8 are no longer
supported versions. The 5.3 version is brand new and still
experiencing problems and is not as stable and reliable as 4.11. No
need to get to close to the bleeding edge by using the 5.3 version.

Follow the step by step instructions in the Install guide at this
URL

http://www.unixguide.net/freebsd/fbsd_installguide/index.php


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Parker
Sent: Sunday, March 27, 2005 7:34 PM
To: freebsd-questions@FreeBSD.org
Subject: FreeBSD Installation



I have version 4.6 and 4.8 of FreeBSD and I am having trouble
getting pass a certain point. This is the procedure I have followed
form The FreeBSD Handbook, 3rd Edition, Volume I: User Guide Edited
by Murray Stokely and Chern Lee.

I boot for the CD and start form Start kernel configuration in
full-screen visual mode.

Then Press X

Then delete:

Advansys SCSI narrow controller

Adaptec 154 X SCSI controller

Adaptec 152 X SCSI and computable sound card

Buslogic SCSI controller

Then press Q

Save these parameters before exiting YES

While loading the sysinstall it freezes up when it reaches sio0:
type 8250.

The book shows type 16550A

The computer I am trying to install FreeBSD on is an AMD 700 Mhz
maching with 512 K of memory. Nothing else on the hard drive. It
will be a stand a lone computer once I get FreeBSD installed.

Any help you can give me will be greatly appreciated.

Best Regards,  Joe



Joe Parker
[EMAIL PROTECTED]
Why Wait? Move to EarthLink.
___
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-27 Thread Anthony Atkielski
RW writes:

 But what would be the point, that's slower than running with HT turned-off.

Not necessarily.  It depends on a lot of things.

It any case, nobody is forced to run with HT and SMP enabled.

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

2005-03-27 Thread stheg olloydson
it was said:

snip

While loading the sysinstall it freezes up when it reaches
sio0:
type 8250.

Yow!
 
The book shows type 16550A

The computer I am trying to install FreeBSD on is an AMD 700
Mhz
 maching with 512 K of memory.

snip

The 8250 UART has been obsolete for _years_ (pre-386 days). Try
disabling the serial ports in BIOS. You may want to do the same
to the parallel port, too. After you get set up, try enabling
them to see what happens.
Don't fool with 4.6; it's pretty old. (Not as old as an 8250
chip, but still) After getting the 4.8 system running, you
should update to 4.11. Hang on to the book, though, because a
lot of the information will still apply. The up-to-date handbook
is available online at www.freebsd.org. Some ftp servers have it
in pdf format if you dislike reading online.
Out of curiosity, what motherboard make and model do you have?

HTH,

stheg

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Xorg mouse problems

2005-03-27 Thread Alexander Chamandy
Hi all,

I've got a PS/2 Labtech optical mouse with and Xorg 6.8.2 running on
FreeBSD 5.4PR with an AMD Athlon and a GeForce 2 MX and I'm having
some strange problems with Xorg and moused.  This all worked fine
under NetBSD (1.6.x and 2.0) with the wsmouse driver, but strangely,
now when I use Xorg and/or moused on FreeBSD the mouse skips on
verticle or horizontal movement all the way across the screen.  I've
tried changing the resolution, disabling ACPI, using different
protocols and nothing has resolved the problem.  Has anyone
experienced this before and if so, how have they resolved it?


dmesg included: 

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-PRERELEASE #0: Sun Mar 27 08:12:11 EST 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/ambrosia
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (1343.06-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x644  Stepping = 4
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
  AMD Features=0xc044RSVD,AMIE,DSP,3DNow!
real memory  = 805224448 (767 MB)
avail memory = 782417920 (746 MB)
npx0: math processor on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 9 Entries on motherboard
$PIR: BIOS IRQ 15 for 0.4.INTC is not valid for link 0x3
pci0: PCI bus on pcib0
$PIR: ROUTE_INTERRUPT failed.
agp0: VIA 82C8363 (Apollo KT133x/KM133) host to PCI bridge mem
0xe400-0xe7ff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 82C686B UDMA100 controller port
0xd800-0xd80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on
pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 7 at device
4.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd000-0xd01f irq 7 at device
4.3 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: bridge, PCI-unknown at device 4.4 (no driver attached)
pci0: multimedia, audio at device 4.5 (no driver attached)
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xa400-0xa47f mem
0xd580-0xd580007f irq 7 at device 13.0 on pci0
miibus0: MII bus on xl0
xlphy0: 3c905C 10/100 internal PHY on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:76:e3:6d:42
atapci1: Promise PDC20265 UDMA100 controller port
0x8800-0x883f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007
mem 0xd500-0xd501 irq 10 at device 17.0 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
orm0: ISA Option ROMs at iomem
0xd-0xd07ff,0xcc000-0xce7ff,0xc-0xcb7ff on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown: PNP0501 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNPb002 can't assign resources (irq)
unknown: PNP0f13 can't assign resources (irq)
unknown: PNP0303 can't assign resources (port)
Timecounter TSC frequency 1343055484 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDROM CRD-8320B/1.24 at ata0-master PIO4
ad4: 76319MB WDC WD800JB-00CRA1/17.07W17 [155061/16/63] at ata2-master UDMA100
Mounting root from ufs:/dev/ad4s1a



-- 
Best wishes,

Alexander G. Chamandy
Webmaster
www.bsdfreak.org
Your Source For BSD News!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


re: Had to revert from 5.3 to 4.11

2005-03-27 Thread Bruce Campbell

Ted Mittelstaedt said...
Bruce,

  Please do us a favor, these kinds of reports basically go into the
bit bucket when posted to the freebsd-questions mailing list.

  If you would be so kind, please run send-pr on your 4.11 systems
and send what your seeing in as a bug.  Granted, since it's not
specific nobody is going to be able to send you a patch or some
such - but there is still value in these reports being in there as
if others report the same trouble a coorelation can be drawn.

  Also please list the model number of your SuperMicro motherboards.

Thanks!
Ted

Supermicro motherboard X5DPR-8G2+

It has been running 4.11 solidly for almost 2 months now.

Some more info on the system is here (about a problem experienced
on the same system):

  http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/75855

Kris Kennaway said...
Probably this:

ftp://ftp.FreeBSD.org/pub/FreeBSD/ERRATA/notices/FreeBSD-EN-05:03.ipi.asc

Kris

I applied that towards the end of January.  Pretty sure anyway,
memory is fading.

We were running:

  FreeBSD 5.3-RELEASE-p5 #3

when we abandoned ship.  If memory serves, I rebuilt the kernel
only (not the world), when I applied those patches.

I have left the department that owns the server now,  but
I've asked them to followup to this mailling list when they
continue with the diagnosis.

 -Original Message-
 From: owner-freebsd-questions at freebsd.org
 [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Bruce Campbell
 Sent: Tuesday, March 01, 2005 6:01 PM
 To: freebsd-questions at freebsd.org
 Subject: Had to revert from 5.3 to 4.11



 Upgraded a large e-mail server from 4.7 to 5.3 late December/2004

 The 5.3 system never stayed up for more than 3 days (kernel panics
 - often while running vacation).

 A fair bit of fiddling trying to keep it running for about a month,
 then gave up.  Kept the kernel tree updated, no difference.

 Reverted to 4.11 about 3 weeks ago, no problems since.

 Also upgraded a web server to 5.3 during that time, and
 had to retreat also, same reasons.

 We do have a heavily loaded 5.2.1 system running well.

 Main difference between the crashy and reliable system
 is nfs home dirs on the mail and web servers.  nfs server
 is 4.7

 Same hardware in all cases, dual xeon supermicro.

 At a later time we will invest further diagnostic effort.
 Sorry for the lack of specifics.




-- 
Bruce Campbell
Manager, Science Computing
C2-260
University of Waterloo
(519)888-4567 ext 6991


This mail sent through www.mywaterloo.ca
___
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-27 Thread Martin McCann

 
 No, I'll be told that as long as I'm dealing with children instead of
 adults.

this is around the fith time recently you have either insinuated or
outright claimed that the participants of this mailing list are all
immature children. And yet you return time and time again asking for
help. What does this say about you? 

You have now also started taking your attitute into many other threads,
making it very difficult to sift through the techunicaly relevent and
helpful threads thanks to your inability to control your tantrums. 

You are spoiling this list for the people who would like to work
together to solve their problems. Yes, you can be kill mailed, but that
will not remove your replies. It looks like the only solution is to
filter out any mail containing your name anywhere in the text (even this
is not fool proof due to unquoted citations), and this will mean that
many useful or genuine mails will be filtered also due to having your
name in it. 

Yes everyone on this list are immature children, and yes no-one will
listen to any objective critisism of their mightly religious icon
FreeBSD. Any problem anyone gives is obviously the fault of other people
because FreeBSD is perfect. Now that you have agreement, please be on
your way to find the adult company you seek. 

Martin 
 

  

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


Portupgrade (vs. Portmanager) question

2005-03-27 Thread Jay O'Brien
Updating a computer, pkg_info reported I only had two packages, 
cvsup-without-gui-16.1h and perl-5.8.5, both of which were out 
of date as reported by pkg_version. 

I tried to install portmanager, but it was not able to get the 
needed files from http://portmanager.sunsite.dk.

So, I installed portupgrade. Those files came in fine.

I then did portupgrade -a -N -vu -rR, which was successful for me 
several months ago on another computer. 

The computer ran for over nearly two hours, with messages scrolling 
by so fast it was nearly impossible to read, filling up the screen with 
text.  I used script so as to capture the screen messages; the capture 
file of the screen is 1.2MB in size!  

Now, pkg_info says I have 10 packages installed; added were ezm3, 
gettext, gmake, libiconv, libtool, portupgrade,ruby and ruby18. If 
these all required to make portupgrade or perl work, where is that 
reference?

Help!  What did I do?  

Jay O'Brien
Rio Linda, California, USA


PS.. I tried to install portmanager again, and this time it got the 
files immediately and installed fine. It took about a minute, not two 
hours. It reports that all my ports are up to date. Whew.

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


  1   2   >