routing for jails on public IPs, jails on private IPs between 2 servers

2009-08-05 Thread Izhar Firdaus
Hi ,

I have this question which need some comment/help on:

== the setup ==
I have 2 freebsd servers with several jails running on it. Each server
have several jails thats either listening on publicly accessible IP or
listening on a loopback/private IP. The two servers are connected
together using vpn with routing that allows ServerA to connect to
private jails in ServerB and vice versa.

ServerA 
(10.1.0.1_tun0,192.168.1.1_bge0,192.168.1.2_bge0,127.0.1.1_lo1,127.0.1.1_lo1)
- JailA(192.168.1.2_bge0)
- JailB(127.0.1.1_lo1)
- JailC(127.0.1.1_lo1)

ServerB 
(10.1.0.3_tun0,192.168.1.3_bge0,192.168.1.4_bge0,127.0.2.1_lo1,127.0.2.2_lo1)
- JailA(192.168.1.4_bge0)
- JailB(127.0.2.1_lo1)
- JailC(127.0.2.2_lo1)


== the issue ==

under the current config,
ServerA can connect to all private jails in ServerB through
vpn+routing and vice versa.
Private jails in ServerA can connect to public jails in ServerB
through NAT and vice versa.

However, I cant figure out how to allow public jails in ServerA to
connect to private jails in ServerB.

Anybody have idea on how to implement it?

Thanks


-- 
Mohd Izhar Firdaus Bin Ismail
Amano Hikaru  天野晃 「あまの ひかる」
http://fedoraproject.org/wiki/MohdIzharFirdaus
http://blog.kagesenshi.org
92C2 B295 B40B B3DC 6866  5011 5BD2 584A 8A5D 7331
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: find question

2009-08-05 Thread Matthew Seaman
Jay Hall wrote:
 I am sure this is something I am doing that is obviously wrong, but I
 cannot figure it out.
 
 I am reading a list of directories from a file, and then listing all of
 the files in the directory to a file.
 
 Here is the code.
 
 #!/usr/local/bin/bash
 cat ${FILELIST} | while read LINE
 do
 echo ${LINE}
 `find ${LINE} -type f  ${TMPFILE}`
 done
 
 Here is the output.
 /usr/home/windowsaccess
 
 find: illegal option -- t
 find: illegal option -- y
 find: illegal option -- p
 find: illegal option -- e
 find: f: No such file or directory
 
 Any suggestions would be greatly appreciated.
 

Try this as:

for line in $( cat $FILELIST ) ; do
echo $line
find $line -type f  $TMPFILE
done

*assuming that none of the directory names in $FILELIST contain spaces*

This will split the contents of the file based on the current setting of 
$IFS (input field separator, which usually matches any whitespace).  You can
do some interesting tricks by redefining IFS...

Not sure what you're trying to achieve by the backticks around your find line
-- that actually says take the output of this command and try and run it as
a command line which is probably not what you want.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


How to find real CPU temperature?

2009-08-05 Thread Unga
Hi all

I'm running FreeBSD 7.2 on Intel P4 computer.

The lmmon -i shows 21C and when go to BIOS shows 65C! BIOS reading seems to 
be correct as the CPU heat pipe is very hot to the extent cannot touch.

How do I read the real BIOS temperature readings when FreeBSD is running to 
check whether the computer is over heating?

Unga


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


Re: Moused crashes with Synaptics

2009-08-05 Thread Bertram Scharpf
Hi Mel,

Am Dienstag, 04. Aug 2009, 18:50:24 -0800 schrieb Mel Flynn:
 On Tuesday 04 August 2009 03:26:24 Bertram Scharpf wrote:
  Further I seem to have missed something else. I found the page
  http://wiki.freebsd.org/SynapticsTouchpad where are mentioned some
  sysctls:
 
hw.psm.synaptics_support=1
hw.psm.synaptics.vscroll_hor_area=1300
 
  I don't have those ctls here and I cannot find the kernel driver
  that provides them.
 
 That's because they're loader tunables. You set them in
 /boot/loader.conf. The LOADER TUNABLES section of psm(4) details
 it.

Ah, I did not know that there are options that have to be set at
boot time.

Thank you!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cvs tag usage

2009-08-05 Thread David Southwell
 On Tue, Aug 4, 2009 at 5:32 PM, b. f.bf1...@googlemail.com wrote:
  He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE.
 
  Well, neither actually.  :)   s/0_2/2_0/  .  But I inferred from the
  context  -- it seemed obvious, particularly from what he wrote later
  -- that he meant those choices as suffixes to RELENG, which he omitted
  for the sake of brevity.  I assumed you also made this inference.

 Agreed, but IMHO, it's better to be precise and not assume too much. :-)
OK guys this has now reached the point where I am again confudes -- here is my 
original posting amended to ensure there is no ambiguity

I am confused about the usage of the tag for src.

I took a look at the web pages and found the following choices:

RELENG_7_BP
RELENG_7_2_BP
RELENG_7_2_0_RELEASE
RELENG_7_2

But could not find anything that told me where -p2 fits into this!!


# uname -a

7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

To synchronize src and keep up to date do I use:

*default release=cvs tag=RELENG_7_2
will this automatically track the latest version in 7_2  and therefore keep 
track with 7.2-RELEASE-p2 or later??

or
do I need to use something like:

*default release=cvs tag=RELENG_7_2-p2

or
something else!!

Where can I find some explanation on this?
Maybe something from this discussion could be added to the 
handbook/synching.html page so the choice of suffix for configuring cvsup 
could be made easier for those who are not familiar with the meaning of 
undocumented suffixing such as -p2 !!. 

Another could there possibly be some consistency between the output from uname 
-a and the suffixing used for synching of the src be practicable. Please do 
not bite my head off if it is not practical -- I acknowledge it is a question 
born of ignorance and confusion chuckles

david

Thanks in advance

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


Re: cvs tag usage

2009-08-05 Thread David Southwell
 On Tue, Aug 4, 2009 at 5:32 PM, b. f.bf1...@googlemail.com wrote:
  He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE.
 
  Well, neither actually.  :)   s/0_2/2_0/  .  But I inferred from the
  context  -- it seemed obvious, particularly from what he wrote later
  -- that he meant those choices as suffixes to RELENG, which he omitted
  for the sake of brevity.  I assumed you also made this inference.

Glen

You hit the sweet spot!!

David

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


Network card Intel and 802.1P tag

2009-08-05 Thread Andrey O.Sokolov
Hi!

I have two network interfaces - fxp and em
When i send on both interface packet with 802.1P tag, i see this tag on
fxp and don't see on em.

em:
10:41:14.849139 00:18:ba:8a:c8:c1 (oui Unknown)  00:15:b7:62:de:ec (oui
Unknown), ethertype 802.1Q (0x8100), length 118: vlan 20, p 0

fxp:
10:40:56.259886 00:18:ba:8a:c8:c1 (oui Unknown)  00:02:b3:61:d5:5a (oui
Unknown), ethertype 802.1Q (0x8100), length 118: vlan 20, p 4

FreeBSD 7.2-RELEASE

em0: Intel(R) PRO/1000 Network Connection 6.9.6 port 0xbfe0-0xbfff mem
0xffae-0xffaf irq 16 at device 0.0 on pci1

fxp0: Intel 82550 Pro/100 Ethernet port 0xa000-0xa03f mem
0xe402-0xe4020fff,0xe400-0xe401 irq 19 at device 1.0 on pci2
miibus0: MII bus on fxp0

Any idea how I can see 802.1P tag on em?

-- 
__
 ***AOS224-RIPE***  tel/fax: +380-56-3728171


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


Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
I have found http://docs.freebsd.org/info/gcc/gcc.ifo.Optimize_Options.html.

I am about to build a new kernel am starting to dig a bit deeper into things I 
have, until now, taken for granted.

The above link is very informative in technical terms about how to control 
optimization but I find it difficult to interpret the info in a way that tells 
me what might work best on my own system (Intel quad Core) with 8G of ram.

Current kernel is GENERIC but as I said I am going to build a new one.
# uname-a
FreeBSD dns1.vizion2000.net 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 
24 00:14:35 UTC 2009 r...@amd64-
builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 
Could anyone please point me in the right direction to achieve greater 
understanding of what optimizations may be most appropriate for compiling a 
kernel for my system. The docs are very good on the how but are not very 
helpful when it comes to solving the what why and when questions when 
the who is a dummy chuckles.

Thanks in advance

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


Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Roland Smith
On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote:
 I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html.
 
 I am about to build a new kernel am starting to dig a bit deeper into things 
 I 
 have, until now, taken for granted.
 
 The above link is very informative in technical terms about how to control 
 optimization but I find it difficult to interpret the info in a way that 
 tells 
 me what might work best on my own system (Intel quad Core) with 8G of ram.

The build system takes care of that, once you have set the correct
CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See
make.conf(5), /usr/src/share/mk/bsd.cpu.mk and
/usr/src/sys/conf/kern.pre.mk.

Additionally, compiler settings for building the kernel can be set with
COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is
not guaranteed to work. If you don't know what you are doing, do not use
COPTFLAGS and stick with the defaults that the build system generates. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpeDZQkhccvL.pgp
Description: PGP signature


Re: How to find real CPU temperature?

2009-08-05 Thread Erik Norgaard

Unga wrote:

Hi all

I'm running FreeBSD 7.2 on Intel P4 computer.

The lmmon -i shows 21C and when go to BIOS shows 65C! BIOS reading seems to 
be correct as the CPU heat pipe is very hot to the extent cannot touch.

How do I read the real BIOS temperature readings when FreeBSD is running to 
check whether the computer is over heating?


$ sysctl hw.acpi.thermal.tz0.temperature

on my computer shows 56C
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to find real CPU temperature?

2009-08-05 Thread Modulok
On 8/5/09, Unga unga...@yahoo.com wrote:

 I'm running FreeBSD 7.2 on Intel P4 computer.

 The lmmon -i shows 21C and when go to BIOS shows 65C! BIOS reading seems
 to be correct as the CPU heat pipe is very hot to the extent cannot touch.

 How do I read the real BIOS temperature readings when FreeBSD is running to
 check whether the computer is over heating?

If your mainboard supports it, and depending on your CPU, you might
look into sysutils/mbmon, found in the ports collection. Aside from
that, what does the following command output?

sysctl -a | grep temp

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


Re: How to find real CPU temperature?

2009-08-05 Thread Unga
--- On Wed, 8/5/09, Erik Norgaard norga...@locolomo.org wrote:

 From: Erik Norgaard norga...@locolomo.org
 Subject: Re: How to find real CPU temperature?
 To: Unga unga...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Wednesday, August 5, 2009, 7:03 PM
 Unga wrote:
  Hi all
  
  I'm running FreeBSD 7.2 on Intel P4 computer.
  
  The lmmon -i shows 21C and when go to BIOS shows
 65C! BIOS reading seems to be correct as the CPU heat pipe
 is very hot to the extent cannot touch.
  
  How do I read the real BIOS temperature readings when
 FreeBSD is running to check whether the computer is over
 heating?
 
 $ sysctl hw.acpi.thermal.tz0.temperature
 
 on my computer shows 56C

Here is what it show on my computer:

sysctl -a | grep hw.acpi.thermal
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.tz0.temperature: 19.0C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 90.0C
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 90.0C
hw.acpi.thermal.tz0._ACx: 90.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz0._TC1: 4
hw.acpi.thermal.tz0._TC2: 3
hw.acpi.thermal.tz0._TSP: 60

so which is the CPU temperature, 19.0C or 90.0C? Where does it documented what 
hw.acpi.thermal.tz0.temperature means?

Unga




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


Re: How to find real CPU temperature?

2009-08-05 Thread Erik Norgaard

Unga wrote:


Here is what it show on my computer:

sysctl -a | grep hw.acpi.thermal
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.tz0.temperature: 19.0C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 90.0C
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 90.0C
hw.acpi.thermal.tz0._ACx: 90.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz0._TC1: 4
hw.acpi.thermal.tz0._TC2: 3
hw.acpi.thermal.tz0._TSP: 60

so which is the CPU temperature, 19.0C or 90.0C? Where does it documented what 
hw.acpi.thermal.tz0.temperature means?


From that it appears the kernel can't read the temperature sensor, this 
may be a problem with the ACPI not being properly supported for your 
processor.


The 90.0C entries are different entries that take action against 
overheating, if the temperature reaches 90 putting your system to sleep 
or throtling down speed.


BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Scott Bennett
 On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith rsm...@xs4all.nl wrote:
On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote:
 I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html.
 
 I am about to build a new kernel am starting to dig a bit deeper into things 
 I 
 have, until now, taken for granted.
 
 The above link is very informative in technical terms about how to control 
 optimization but I find it difficult to interpret the info in a way that 
 tells 
 me what might work best on my own system (Intel quad Core) with 8G of ram.

The build system takes care of that, once you have set the correct
CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See
make.conf(5), /usr/src/share/mk/bsd.cpu.mk and
/usr/src/sys/conf/kern.pre.mk.

 As I read the man page for [g]cc, though, setting -march=nocona (which
is where the CPUTYPE information ends up in the cc commands) tells the
compiler which base instruction set to use and which model of instruction
scheduling to use, but to get the rest of the model-dependent features used,
he would still need to add -mmmx -msse -msse2 -msse3 at a minimum for most
other compilations, though these would not be advisable for kernel
compilations.  I don't recall whether SSE4 instructions are in the Nocona/
Merom/Kentfield chips or first appear in the Core i7 series.  I don't think
the compiler versions available under FreeBSD support the SSE4 instructions,
though, so SSE4 doesn't matter anyway.

Additionally, compiler settings for building the kernel can be set with
COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is
not guaranteed to work. If you don't know what you are doing, do not use
COPTFLAGS and stick with the defaults that the build system generates. 

 Right.  -O3 might royally screw a kernel in particular. :-)


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
  On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith rsm...@xs4all.nl 
wrote:
 On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote:
  I have found
  http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html.
 
  I am about to build a new kernel am starting to dig a bit deeper into
  things I have, until now, taken for granted.
 
  The above link is very informative in technical terms about how to
  control optimization but I find it difficult to interpret the info in a
  way that tells me what might work best on my own system (Intel quad
  Core) with 8G of ram.
 
 The build system takes care of that, once you have set the correct
 CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See
 make.conf(5), /usr/src/share/mk/bsd.cpu.mk and
 /usr/src/sys/conf/kern.pre.mk.

  As I read the man page for [g]cc, though, setting -march=nocona (which
 is where the CPUTYPE information ends up in the cc commands) tells the
 compiler which base instruction set to use and which model of instruction
 scheduling to use, but to get the rest of the model-dependent features
 used, he would still need to add -mmmx -msse -msse2 -msse3 at a minimum
 for most other compilations, though these would not be advisable for kernel
 compilations.  I don't recall whether SSE4 instructions are in the Nocona/
 Merom/Kentfield chips or first appear in the Core i7 series.  I don't think
 the compiler versions available under FreeBSD support the SSE4
 instructions, though, so SSE4 doesn't matter anyway.

 Additionally, compiler settings for building the kernel can be set with
 COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is
 not guaranteed to work. If you don't know what you are doing, do not use
 COPTFLAGS and stick with the defaults that the build system generates.

  Right.  -O3 might royally screw a kernel in particular. :-)


   Scott Bennett, Comm. ASMELG, CFIAG
Thanks for add more useful info however would you mind elaborating a little 
more because I do not understand the implications.

should I have:
CPUTYPE=nocona 
in make.conf?
Do I need anything else in make.conf?

So far my draft make.conf has these entries:

CPUTYPE=nocona

CFLAGS= -O2 -fno-strict-aliasing -pipe

FORCE_MAKE_JOBS=true

Incidentally I am also puzzled because it appears necessary to use amd64 
GENERIC as my starting point when the cpu is actually Intel Quad Core!! 

I presume this means that in drafting a kernconf I need to refer to;

dns1# pwd
/usr/src/sys/amd64/conf
dns1# ls -l
total 44
-rw-r--r--  1 root  wheel 13 Jun 20  2005 .cvsignore
-rw-r--r--  1 root  wheel482 Apr 15 04:14 DEFAULTS
-rw-r--r--  1 root  wheel  11968 Apr 15 04:14 GENERIC
-rw-r--r--  1 root  wheel818 Apr 15 04:14 GENERIC.hints
-rw-r--r--  1 root  wheel   1036 Apr 15 04:14 MAC
-rw-r--r--  1 root  wheel132 Apr 15 04:14 Makefile
-rw-r--r--  1 root  wheel  20721 Apr 15 04:14 NOTES


It would be great if some logical consistency could be introduced into naming 
conventions!!! It would really help those of us who know little and make it a 
trifle easier to climb the greasy pole of knowledge chuckles


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


Wierd X crash

2009-08-05 Thread Coert Waagmeester
Hello all,

I am fairly new to FreeBSD. I use linux a lot.

Am running FreeBSD 7.2 i386 with the nvidia 173 driver with an AGP
GeForce FX 5200.


My X works, with xinerama and two screens, perfectly,
but as soon as I hold down any key (like Backspace to remove a line of
text) X crashes.

This is in the log:

Fatal server error:
Caught signal 11.  Server aborting

The rest of the log is fine.

I have fiddled with HAL and DBUS, turning them off and on, but no luck.


Any tips would be greatly appreciated.

Regards,
Coert

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


kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread David Southwell
Hi every one

My understanding is that one uses the amd64 for building a kernel for systems 
with Intel Quad Core processors.

It is helpful when naming conventions follow a logical strand. I mean why does 
freebsd use a single manufacturer's name to represent a genre? 

David 

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


RE: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Johan Hendriks

  On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith
rsm...@xs4all.nl 
wrote:
 On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote:
  I have found
  http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html.
 
  I am about to build a new kernel am starting to dig a bit deeper
into
  things I have, until now, taken for granted.
 
  The above link is very informative in technical terms about how to
  control optimization but I find it difficult to interpret the info
in a
  way that tells me what might work best on my own system (Intel
quad
  Core) with 8G of ram.
 
 The build system takes care of that, once you have set the correct
 CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See
 make.conf(5), /usr/src/share/mk/bsd.cpu.mk and
 /usr/src/sys/conf/kern.pre.mk.

  As I read the man page for [g]cc, though, setting -march=nocona
(which
 is where the CPUTYPE information ends up in the cc commands) tells
the
 compiler which base instruction set to use and which model of
instruction
 scheduling to use, but to get the rest of the model-dependent
features
 used, he would still need to add -mmmx -msse -msse2 -msse3 at a
minimum
 for most other compilations, though these would not be advisable for
kernel
 compilations.  I don't recall whether SSE4 instructions are in the
Nocona/
 Merom/Kentfield chips or first appear in the Core i7 series.  I don't
think
 the compiler versions available under FreeBSD support the SSE4
 instructions, though, so SSE4 doesn't matter anyway.

 Additionally, compiler settings for building the kernel can be set
with
 COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is
 not guaranteed to work. If you don't know what you are doing, do not
use
 COPTFLAGS and stick with the defaults that the build system
generates.

  Right.  -O3 might royally screw a kernel in particular. :-)


   Scott Bennett, Comm. ASMELG, CFIAG
Thanks for add more useful info however would you mind elaborating a
little 
more because I do not understand the implications.

should I have:
CPUTYPE=nocona 
in make.conf?
Do I need anything else in make.conf?

So far my draft make.conf has these entries:

CPUTYPE=nocona

CFLAGS= -O2 -fno-strict-aliasing -pipe

FORCE_MAKE_JOBS=true

Incidentally I am also puzzled because it appears necessary to use
amd64 
GENERIC as my starting point when the cpu is actually Intel Quad Core!!


I presume this means that in drafting a kernconf I need to refer to;

dns1# pwd
/usr/src/sys/amd64/conf
dns1# ls -l
total 44
-rw-r--r--  1 root  wheel 13 Jun 20  2005 .cvsignore
-rw-r--r--  1 root  wheel482 Apr 15 04:14 DEFAULTS
-rw-r--r--  1 root  wheel  11968 Apr 15 04:14 GENERIC
-rw-r--r--  1 root  wheel818 Apr 15 04:14 GENERIC.hints
-rw-r--r--  1 root  wheel   1036 Apr 15 04:14 MAC
-rw-r--r--  1 root  wheel132 Apr 15 04:14 Makefile
-rw-r--r--  1 root  wheel  20721 Apr 15 04:14 NOTES


It would be great if some logical consistency could be introduced into
naming 
conventions!!! It would really help those of us who know little and
make it a 
trifle easier to climb the greasy pole of knowledge chuckles

It is logical.
You use i386 on old amd processors also.
The naming amd64 comes from the fact that AMD did come first with the 64
bit processor.
If Intel was the first it proberly would have a name like i386_64 or
something like that.

Nothing to worry about.
If your Intel proccessor has 64 bit support use the AMD64 version

It is just a name.

About the make.conf the use of nocona is ok but put a ? mark ofter
CPUTYPE
Do not ask me why, people told me it is better, if i understand
correctly It has someting to do about the choice the compiler has while
building, it could override the nocona setting if it is needed.
If i recall correct

CPUTYPE?=nocona

I would ditch the CFLAGS, the normal setings ar the same as that line 

FORCE_MAKE_JOBS=true

FORCE_MAKE_JOBS is also ok



 

 



No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.44/2282 - Release Date:
08/04/09 18:01:00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread Erik Trulsson
On Wed, Aug 05, 2009 at 02:14:49PM +0100, David Southwell wrote:
 Hi every one
 
 My understanding is that one uses the amd64 for building a kernel for systems 
 with Intel Quad Core processors.

That depends on if you installed the amd64 version of FreeBSD or the i386
version.  The kernel should of course match the rest of the system.
Intel's Quad Core processors (at least all the models they have released so
far) supports both amd64 and i386.  (i386 being 32-bit, while amd64 is
64-bit.)

 
 It is helpful when naming conventions follow a logical strand. I mean why 
 does 
 freebsd use a single manufacturer's name to represent a genre? 

The amd64 architecture is called that because it was AMD who invented and
created it and was for a while the only one using it and since AMD named the
architecture AMD64 that was the name FreeBSD used too.  Later Intel also
started using it (while using their own name(s) for it), but FreeBSD has
stuck with the name amd64.  This is no more strange than calling the i386
architecture for i386 even if it runs on a whole lot of processors other
than the original Intel 80386.



-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread Jonathan McKeown
On Wednesday 05 August 2009 15:14:49 David Southwell wrote:
 Hi every one

 My understanding is that one uses the amd64 for building a kernel for
 systems with Intel Quad Core processors.

 It is helpful when naming conventions follow a logical strand. I mean why
 does freebsd use a single manufacturer's name to represent a genre?

Because it's technically correct, as I understand it.

Unless I've got this wrong (in which case I'm sure someone will shout), there 
were initially two 64-bit instruction sets, amd64 from AMD and ia64 from 
Intel. ia64 saw so little uptake that Intel started using the AMD instruction 
set, but amd64 is still the appropriate description for most 64-bit 
processors these daya regardless of manufacturer.

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


Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
   On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith

 rsm...@xs4all.nl

 wrote:
  On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote:
   I have found
   http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html.
  
   I am about to build a new kernel am starting to dig a bit deeper

 into

   things I have, until now, taken for granted.
  
   The above link is very informative in technical terms about how to
   control optimization but I find it difficult to interpret the info

 in a

   way that tells me what might work best on my own system (Intel

 quad

   Core) with 8G of ram.
  
  The build system takes care of that, once you have set the correct
  CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See
  make.conf(5), /usr/src/share/mk/bsd.cpu.mk and
  /usr/src/sys/conf/kern.pre.mk.
 
   As I read the man page for [g]cc, though, setting -march=nocona

 (which

  is where the CPUTYPE information ends up in the cc commands) tells

 the

  compiler which base instruction set to use and which model of

 instruction

  scheduling to use, but to get the rest of the model-dependent

 features

  used, he would still need to add -mmmx -msse -msse2 -msse3 at a

 minimum

  for most other compilations, though these would not be advisable for

 kernel

  compilations.  I don't recall whether SSE4 instructions are in the

 Nocona/

  Merom/Kentfield chips or first appear in the Core i7 series.  I don't

 think

  the compiler versions available under FreeBSD support the SSE4
  instructions, though, so SSE4 doesn't matter anyway.
 
  Additionally, compiler settings for building the kernel can be set

 with

  COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is
  not guaranteed to work. If you don't know what you are doing, do not

 use

  COPTFLAGS and stick with the defaults that the build system

 generates.

   Right.  -O3 might royally screw a kernel in particular. :-)
 
 
Scott Bennett, Comm. ASMELG, CFIAG
 
 Thanks for add more useful info however would you mind elaborating a

 little

 more because I do not understand the implications.
 
 should I have:
 CPUTYPE=nocona
 in make.conf?
 Do I need anything else in make.conf?
 
 So far my draft make.conf has these entries:
 
 CPUTYPE=nocona
 
 CFLAGS= -O2 -fno-strict-aliasing -pipe
 
 FORCE_MAKE_JOBS=true
 
 Incidentally I am also puzzled because it appears necessary to use

 amd64

 GENERIC as my starting point when the cpu is actually Intel Quad Core!!
 
 
 I presume this means that in drafting a kernconf I need to refer to;
 
 dns1# pwd
 /usr/src/sys/amd64/conf
 dns1# ls -l
 total 44
 -rw-r--r--  1 root  wheel 13 Jun 20  2005 .cvsignore
 -rw-r--r--  1 root  wheel482 Apr 15 04:14 DEFAULTS
 -rw-r--r--  1 root  wheel  11968 Apr 15 04:14 GENERIC
 -rw-r--r--  1 root  wheel818 Apr 15 04:14 GENERIC.hints
 -rw-r--r--  1 root  wheel   1036 Apr 15 04:14 MAC
 -rw-r--r--  1 root  wheel132 Apr 15 04:14 Makefile
 -rw-r--r--  1 root  wheel  20721 Apr 15 04:14 NOTES
 
 
 It would be great if some logical consistency could be introduced into

 naming

 conventions!!! It would really help those of us who know little and

 make it a

 trifle easier to climb the greasy pole of knowledge chuckles

 It is logical.
 You use i386 on old amd processors also.
 The naming amd64 comes from the fact that AMD did come first with the 64
 bit processor.
 If Intel was the first it proberly would have a name like i386_64 or
 something like that.

 Nothing to worry about.
 If your Intel proccessor has 64 bit support use the AMD64 version

 It is just a name.

 About the make.conf the use of nocona is ok but put a ? mark ofter
 CPUTYPE
 Do not ask me why, people told me it is better, if i understand
 correctly It has someting to do about the choice the compiler has while
 building, it could override the nocona setting if it is needed.
 If i recall correct

 CPUTYPE?=nocona

 I would ditch the CFLAGS, the normal setings ar the same as that line

 FORCE_MAKE_JOBS=true

 FORCE_MAKE_JOBS is also ok


Hi Johan

Thanks for that - you comments are really helpful and place things in context.

I would still be inclined to feel that although the naming convention can be 
historically justified it remains practically illogical!!! Naming conventions 
work well when they help people understand what they represent.  To illustrate 
my point at one time Britain referred as the British Empire but such a title 
would be laughable today!! 

David

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


Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Roland Smith
On Wed, Aug 05, 2009 at 07:38:20AM -0500, Scott Bennett wrote:
  On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith rsm...@xs4all.nl wrote:
 On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote:
  I have found 
  http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html.
  
  I am about to build a new kernel am starting to dig a bit deeper into 
  things I 
  have, until now, taken for granted.
  
  The above link is very informative in technical terms about how to control 
  optimization but I find it difficult to interpret the info in a way that 
  tells 
  me what might work best on my own system (Intel quad Core) with 8G of ram.
 
 The build system takes care of that, once you have set the correct
 CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See
 make.conf(5), /usr/src/share/mk/bsd.cpu.mk and
 /usr/src/sys/conf/kern.pre.mk.
 
  As I read the man page for [g]cc, though, setting -march=nocona (which
 is where the CPUTYPE information ends up in the cc commands) tells the
 compiler which base instruction set to use and which model of instruction
 scheduling to use, but to get the rest of the model-dependent features used,
 he would still need to add -mmmx -msse -msse2 -msse3 at a minimum for most
 other compilations, though these would not be advisable for kernel
 compilations. 

Both i386 and amd64 explicitly prohibit the use of FPU, SSE and other
SIMD operations inside the kernel itself. These operations are exclusively 
reserved for user applications. See /usr/src/sys/conf/kern.mk.

The makefiles for the kernel add appropriate options depending on the CPUTYPE.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpTqmfJj2L92.pgp
Description: PGP signature


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread Mark Stapper
David Southwell wrote:
 Hi every one

 My understanding is that one uses the amd64 for building a kernel for systems 
 with Intel Quad Core processors.

 It is helpful when naming conventions follow a logical strand. I mean why 
 does 
 freebsd use a single manufacturer's name to represent a genre? 

 David 

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
   
One would use the amd64 version of FreeBSD on 64-bit platforms (apart
from the itanium platforms).
the amd64 or x86-64 instuction set has been designed by amd, which
called it amd64.
Intel implemented amd's design in their EM64T or Intel 64 instruction
set, which is compatible with amd's implementation(mostly IS amd's
implementation).
As such, amd64 is as valid a platform name as IA64(or Itanium) is.





signature.asc
Description: OpenPGP digital signature


Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Roland Smith
On Wed, Aug 05, 2009 at 02:02:05PM +0100, David Southwell wrote:
  Additionally, compiler settings for building the kernel can be set with
  COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is
  not guaranteed to work. If you don't know what you are doing, do not use
  COPTFLAGS and stick with the defaults that the build system generates.
 
   Right.  -O3 might royally screw a kernel in particular. :-)
 
 
Scott Bennett, Comm. ASMELG, CFIAG
 Thanks for add more useful info however would you mind elaborating a little 
 more because I do not understand the implications.
 
 should I have:
 CPUTYPE=nocona 
 in make.conf?

Yes.

 Do I need anything else in make.conf?

If you are building a custom kernel, you can set the name of the kernel
config there. E.g.:

KERNCONF=FOO

You should then put your kernel config in /usr/src/sys/amd64/conf/FOO.

 So far my draft make.conf has these entries:
 
 CPUTYPE=nocona

OK.

 CFLAGS= -O2 -fno-strict-aliasing -pipe

CFLAGS are used for building userland programs. COPTFLAGS are used for building
the kernel. I think that the values you've listed here are already the
default, so they are superfluous really.

 FORCE_MAKE_JOBS=true

This is only for ports.

 Incidentally I am also puzzled because it appears necessary to use amd64 
 GENERIC as my starting point when the cpu is actually Intel Quad Core!! 

This is a FAQ. AMD originated the 64-bit extensions to the x86
architecture while intel was chasing the itanium pipedream. This
extended architecture became known as x86_64 or amd64. After itanium
became a dud, intel started making amd64 compatible chips as well,
because the AMD chips had been hugely successfull.

 I presume this means that in drafting a kernconf I need to refer to;
 
 dns1# pwd
 /usr/src/sys/amd64/conf
 dns1# ls -l
 total 44
 -rw-r--r--  1 root  wheel 13 Jun 20  2005 .cvsignore
 -rw-r--r--  1 root  wheel482 Apr 15 04:14 DEFAULTS

Some options were moved to a DEFAULT file that is automatically included
in every kernel, so that people can't forget them. Formetting one of
those can result in an unusable kernel.

 -rw-r--r--  1 root  wheel  11968 Apr 15 04:14 GENERIC
 -rw-r--r--  1 root  wheel818 Apr 15 04:14 GENERIC.hints
 -rw-r--r--  1 root  wheel   1036 Apr 15 04:14 MAC
 -rw-r--r--  1 root  wheel132 Apr 15 04:14 Makefile
 -rw-r--r--  1 root  wheel  20721 Apr 15 04:14 NOTES

NOTES contains extra options that aren't in the GENERIC kernel.

 It would be great if some logical consistency could be introduced into naming 
 conventions!!! It would really help those of us who know little and make it a 
 trifle easier to climb the greasy pole of knowledge chuckles

Just look at the beginning of each file. You'll find a description of
that files purpose.

You should base you kernel configuration on the GENERIC kernel. The
first thing you need to do is change the ident line to match the
filename. A kernel config FOO should include ident FOO. Then remove
devices and options that you don't need. If you don't know what a device
or option is, leave it in. For devices, there is usually a manual
page. E.g. if you see 'device em', you can get information about it with
'man em'.

Look at the dmesg(8) output to see which devices you actually have.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpoAhgnCCcmk.pgp
Description: PGP signature


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread David Southwell
 On Wed, Aug 05, 2009 at 02:14:49PM +0100, David Southwell wrote:
  Hi every one
 
  My understanding is that one uses the amd64 for building a kernel for
  systems with Intel Quad Core processors.

 That depends on if you installed the amd64 version of FreeBSD or the i386
 version.  The kernel should of course match the rest of the system.
 Intel's Quad Core processors (at least all the models they have released so
 far) supports both amd64 and i386.  (i386 being 32-bit, while amd64 is
 64-bit.)

  It is helpful when naming conventions follow a logical strand. I mean why
  does freebsd use a single manufacturer's name to represent a genre?

 The amd64 architecture is called that because it was AMD who invented and
 created it and was for a while the only one using it and since AMD named
 the architecture AMD64 that was the name FreeBSD used too.  Later Intel
 also started using it (while using their own name(s) for it), but FreeBSD
 has stuck with the name amd64.  This is no more strange than calling the
 i386 architecture for i386 even if it runs on a whole lot of processors
 other than the original Intel 80386.

I would still be inclined to feel that although the naming convention can be 
historically justified it remains practically illogical!!! Naming conventions 
work well when they help people understand what they represent.  To illustrate 
my point at one time Britain referred as the British Empire but such a title 
would be laughable today!! 

There is enough for people to get their head around in understanding what is 
going on without adding additional levels of confusion because noone thought 
of future developments!!  However this is not an argument anyone is likely to 
get steamed up about -- however illogical it may be chuckles

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


Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
 On Wed, Aug 05, 2009 at 02:02:05PM +0100, David Southwell wrote:
   Additionally, compiler settings for building the kernel can be set
with COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2
is not guaranteed to work. If you don't know what you are doing, do
not use COPTFLAGS and stick with the defaults that the build system
generates.
  
Right.  -O3 might royally screw a kernel in particular. :-)
  
  
 Scott Bennett, Comm. ASMELG, CFIAG
 
  Thanks for add more useful info however would you mind elaborating a
  little more because I do not understand the implications.
 
  should I have:
  CPUTYPE=nocona
  in make.conf?

 Yes.

  Do I need anything else in make.conf?

 If you are building a custom kernel, you can set the name of the kernel
 config there. E.g.:

 KERNCONF=FOO

 You should then put your kernel config in /usr/src/sys/amd64/conf/FOO.

  So far my draft make.conf has these entries:
 
  CPUTYPE=nocona

 OK.

  CFLAGS= -O2 -fno-strict-aliasing -pipe

 CFLAGS are used for building userland programs. COPTFLAGS are used for
 building the kernel. I think that the values you've listed here are already
 the default, so they are superfluous really.

  FORCE_MAKE_JOBS=true

 This is only for ports.

  Incidentally I am also puzzled because it appears necessary to use amd64
  GENERIC as my starting point when the cpu is actually Intel Quad Core!!

 This is a FAQ. AMD originated the 64-bit extensions to the x86
 architecture while intel was chasing the itanium pipedream. This
 extended architecture became known as x86_64 or amd64. After itanium
 became a dud, intel started making amd64 compatible chips as well,
 because the AMD chips had been hugely successfull.

  I presume this means that in drafting a kernconf I need to refer to;
 
  dns1# pwd
  /usr/src/sys/amd64/conf
  dns1# ls -l
  total 44
  -rw-r--r--  1 root  wheel 13 Jun 20  2005 .cvsignore
  -rw-r--r--  1 root  wheel482 Apr 15 04:14 DEFAULTS

 Some options were moved to a DEFAULT file that is automatically included
 in every kernel, so that people can't forget them. Formetting one of
 those can result in an unusable kernel.

  -rw-r--r--  1 root  wheel  11968 Apr 15 04:14 GENERIC
  -rw-r--r--  1 root  wheel818 Apr 15 04:14 GENERIC.hints
  -rw-r--r--  1 root  wheel   1036 Apr 15 04:14 MAC
  -rw-r--r--  1 root  wheel132 Apr 15 04:14 Makefile
  -rw-r--r--  1 root  wheel  20721 Apr 15 04:14 NOTES

 NOTES contains extra options that aren't in the GENERIC kernel.

  It would be great if some logical consistency could be introduced into
  naming conventions!!! It would really help those of us who know little
  and make it a trifle easier to climb the greasy pole of knowledge
  chuckles

 Just look at the beginning of each file. You'll find a description of
 that files purpose.

 You should base you kernel configuration on the GENERIC kernel. The
 first thing you need to do is change the ident line to match the
 filename. A kernel config FOO should include ident FOO. Then remove
 devices and options that you don't need. If you don't know what a device
 or option is, leave it in. For devices, there is usually a manual
 page. E.g. if you see 'device em', you can get information about it with
 'man em'.

 Look at the dmesg(8) output to see which devices you actually have.

 Roland
Roland

Thank you

I will be digging around  and try and make good use of yr advice

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


Re: upgrade 7.2 overwrites partitions

2009-08-05 Thread PJ
Polytropon wrote:
 On Mon, 03 Aug 2009 10:58:58 -0400, PJ af.gour...@videotron.ca wrote:
   
 Could somone explain to me why an upgrade from sysinstall would
 overwrite partitions; especially when the instructions indicate that
 files will not be overwritten?
 

 I'm not sure how to explain. It's possible that sysinstall recreated
 the slices and paritions, or at least the partitions were marked as
 to be formatted (Y after the file system type in the partition
 editor).

 Because I've never used the Upgrade functionality of sysinstall,
 I'm not even sure what it is supposed to do.
   
Well, whatever it was it sure screwed up my system; not only FBSD but
the whole machine became un bootable when some xcb or something like
that could not be loaded because of some problem with a python port. And
there is the crux of the matter... thre's too much sloppiness and
overlapping in the way that the ports/packages and the update/upgrade
methods are implemented and especially, documented.
Due to diligence and a great deal of my time, I managed to save all the
files that were on the system and recovered the XP disks so everything
can now be re-installed and used.
The only victim in the end is FreeBSD as I will never touch it again.
It has been going downhill since way back; but I think I just preferred
to stay with my illusions and tolerated the waste of time and effort
reconfiguring, searching for answers and reinstalling, rebooting and the
whole shebang under the aura of learning. So learn I did. Don't touch
it; it sucks.
There are other systems better than FBSD, so g'bye all. :o :-P

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

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


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread Mark Stapper
David Southwell wrote:
 David Southwell wrote:
 
 Hi every one

 My understanding is that one uses the amd64 for building a kernel for
 systems with Intel Quad Core processors.

 It is helpful when naming conventions follow a logical strand. I mean why
 does freebsd use a single manufacturer's name to represent a genre?

 David

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
   
 One would use the amd64 version of FreeBSD on 64-bit platforms (apart
 from the itanium platforms).
 the amd64 or x86-64 instuction set has been designed by amd, which
 called it amd64.
 Intel implemented amd's design in their EM64T or Intel 64 instruction
 set, which is compatible with amd's implementation(mostly IS amd's
 implementation).
 As such, amd64 is as valid a platform name as IA64(or Itanium) is.
 

 That is undoubtably true -- what it also means is that both names are equally 
 logical or illogical depending upon your point of view.

 My view is that both are equally illogical because they are tied to a 
 manufacturer rather than to function. Names are best chosen to facilitate 
 selection by single step logic that encapsulates what the name represents 
 rather than by having an abstruse historical context that has neglible 
 bearing 
 upon current function.

 my 2 p

 But lets not get worked up about this chuckles

 david



   
You make a good point. It would be more logical and maybe even more
correct to call it x86-64.
This would however imply that any x86-64 implementation is supported.
This is probably the case now, though i am unsure if freeBSD amd64 works
on for instance via platforms.
Since x86-64 isn't exactly an ISO standard, and amd64
is(http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=43784),
it's not strange to name the branch that has been developed to work on
amd's implementation of x86-64 is called amd64.
Besides, I am a real AMD fanboy when it comes to processors... so why
would I want that? ;-)




signature.asc
Description: OpenPGP digital signature


Re: Wierd X crash

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 04:37:38 Coert Waagmeester wrote:

 I am fairly new to FreeBSD. I use linux a lot.

 Am running FreeBSD 7.2 i386 with the nvidia 173 driver with an AGP
 GeForce FX 5200.


 My X works, with xinerama and two screens, perfectly,
 but as soon as I hold down any key (like Backspace to remove a line of
 text) X crashes.

Any key? Even one that does not create scrolling on the screen? like backspace 
in an empty file?
Unless someone else has seen this, sounds really hard to debug without a 
coredump :/
The only long shot I got to offer is that nvidia provides TwinView which does 
the same as Xinerama and you might want to try that out instead. There's 
detailed information about it in one of the Nvidia README's.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: upgrade 7.2 overwrites partitions

2009-08-05 Thread Jonathan McKeown
On Wednesday 05 August 2009 15:49:38 PJ wrote:
 Polytropon wrote:
  On Mon, 03 Aug 2009 10:58:58 -0400, PJ af.gour...@videotron.ca wrote:
  Could somone explain to me why an upgrade from sysinstall would
  overwrite partitions; especially when the instructions indicate that
  files will not be overwritten?
 
  I'm not sure how to explain. It's possible that sysinstall recreated
  the slices and paritions, or at least the partitions were marked as
  to be formatted (Y after the file system type in the partition
  editor).
 
  Because I've never used the Upgrade functionality of sysinstall,
  I'm not even sure what it is supposed to do.

 Well, whatever it was it sure screwed up my system

You screwed up your system. Possibly that started when you tried to use 
freebsd-update with a non-GENERIC kernel, but you then thrashed around, 
apparently ignoring most of the help you were offered on this list and 
getting into more and more trouble, while never explaining exactly what you 
were doing. This is the textbook example of how not to report a problem:

 the whole machine became un bootable when some xcb or something like
 that could not be loaded because of some problem with a python port.

Even so, several people put time and effort into helping you, and suggesting 
ways you could reach a quicker solution when you made it clear what your 
personal effort limit was.

 Due to diligence and a great deal of my time, I managed to save all the
 files that were on the system and recovered the XP disks so everything
 can now be re-installed and used.

Actually, it was also a great deal of time donated by other busy people around 
the world.

 The only victim in the end is FreeBSD as I will never touch it again.
 It has been going downhill since way back; but I think I just preferred
 to stay with my illusions and tolerated the waste of time and effort
 reconfiguring, searching for answers and reinstalling, rebooting and the
 whole shebang under the aura of learning. So learn I did. Don't touch
 it; it sucks.
 There are other systems better than FBSD, so g'bye all. :o :-P

``I can't use it, therefore it's rubbish''. That's fine, no-one forced you to 
use FreeBSD in the first place and I doubt anyone minds that you don't want 
to use it any more.

Personally, I do think it's a pity, because FreeBSD (in my experience, since 
FreeBSD 4.5) is stable, easy to use (once you have the basic Unix concepts on 
board), and astonishingly well-documented. It's also supported by one of the 
friendliest and most knowledgeable communities I know.

I don't recognise FreeBSD or its user community in your description and I hope 
your tirade, on an extremely publically archived mailing list, doesn't put 
other people off trying it.

Having said all that, I wish you well and I hope you find a system which suits 
you better than the one you have trashed.

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


Re: kernel designations terminology confusion -- amd64 used for into quad core

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 05:27:55 Erik Trulsson wrote:

 The amd64 architecture is called that because it was AMD who invented and
 created it and was for a while the only one using it and since AMD named
 the architecture AMD64 that was the name FreeBSD used too.  Later Intel
 also started using it (while using their own name(s) for it), but FreeBSD
 has stuck with the name amd64.

This isn't completely correct. There is actually an ia64 architecture, before 
Intel was ready to give up the who dictates the PC 64bit architecture 
battle. There's a handful of CPU's who use that instruction set, but later 
Intel switched to supporting AMD's instruction set and thus the PC 64 bit 
architecture now is amd64.

It'll be fun to see people asking in a few years why Oracle processors are 
called sparc64...
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: find question

2009-08-05 Thread Glen Barber
On Wed, Aug 5, 2009 at 3:36 AM, Matthew
Seamanm.sea...@infracaninophile.co.uk wrote:

 Try this as:

    for line in $( cat $FILELIST ) ; do
        echo $line
        find $line -type f  $TMPFILE
    done

 *assuming that none of the directory names in $FILELIST contain spaces*



   for line in $( cat $FILELIST | sed -e 's/\ //g') ; do
   echo $line
   find $line -type f  $TMPFILE
   done

This *should* fix any directories containing spaces.

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


Re: How to find real CPU temperature?

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 04:04:18 Erik Norgaard wrote:
 Unga wrote:
  Here is what it show on my computer:
 
  sysctl -a | grep hw.acpi.thermal
  hw.acpi.thermal.min_runtime: 0
  hw.acpi.thermal.polling_rate: 10
  hw.acpi.thermal.user_override: 0
  hw.acpi.thermal.tz0.temperature: 19.0C
  hw.acpi.thermal.tz0.active: -1
  hw.acpi.thermal.tz0.passive_cooling: 1
  hw.acpi.thermal.tz0.thermal_flags: 0
  hw.acpi.thermal.tz0._PSV: 90.0C
  hw.acpi.thermal.tz0._HOT: -1
  hw.acpi.thermal.tz0._CRT: 90.0C
  hw.acpi.thermal.tz0._ACx: 90.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
  hw.acpi.thermal.tz0._TC1: 4
  hw.acpi.thermal.tz0._TC2: 3
  hw.acpi.thermal.tz0._TSP: 60
 
  so which is the CPU temperature, 19.0C or 90.0C? Where does it documented
  what hw.acpi.thermal.tz0.temperature means?

  From that it appears the kernel can't read the temperature sensor, this
 may be a problem with the ACPI not being properly supported for your
 processor.

 The 90.0C entries are different entries that take action against
 overheating, if the temperature reaches 90 putting your system to sleep
 or throtling down speed.

_PSV = throttle down CPU speed
_CRT = critical shutdown temperature

Given that these are the same value, this indeed looks like ACPI problems. 
These values should be different, and can be quite a few degrees apart, so 
that the passive cooling actually has some time to do it's work.

The acpi_thermal(4) man page details all the values. One can also use sysctl -
d hw.acpi.thermal.tz0.passive_cooling to get a short description.

If you want these values to make more sense, you should take the issue up with 
the acpi mailing list and be ready to do some debugging. At minimum you should 
provide the info outlined here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: find question

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 07:00:40 Glen Barber wrote:
 On Wed, Aug 5, 2009 at 3:36 AM, Matthew

 Seamanm.sea...@infracaninophile.co.uk wrote:
  Try this as:
 
 for line in $( cat $FILELIST ) ; do
 echo $line
 find $line -type f  $TMPFILE
 done
 
  *assuming that none of the directory names in $FILELIST contain spaces*

for line in $( cat $FILELIST | sed -e 's/\ //g') ; do
echo $line
find $line -type f  $TMPFILE
done

 This *should* fix any directories containing spaces.

And also make find look in non-existing directories.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Opera in your repos

2009-08-05 Thread Ilya Shpan'kov

Hi,

I work in Opera Software - yes, we make a proprietary browser ;)
Last 7 years I use GNU/Linux and know that, for example, in Russia the
Opera browser is very popular in BSD Community. Well, there is a
question: whether Opera is included to your distro and if not - how we can
fix this problem? We are ready for any discussions, technical help or
agreement, if necessary.

Thanks in advance,

--
Best regards,

Ilya Shpan'kov
Community Outreach Manager for Russia
Opera Software ASA

Mobile: +47 46351421
Web-site: http://my.opera.com/IlyaShpankov/
Skype: shpankov
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Opera in your repos

2009-08-05 Thread Vincent Hoffman
Hi,
Opera is indeed already in the ports (and packages) and has been since
November 5th 2000 according to the Makefile in ports/www/opera. and it
appears the port is maintained by one of the staff at opera
MAINTAINER= freebsd-maintai...@opera.com
Keep up the good work :)

Vince



Vince


Ilya Shpan'kov wrote:
 Hi,
 
 I work in Opera Software - yes, we make a proprietary browser ;)
 Last 7 years I use GNU/Linux and know that, for example, in Russia the
 Opera browser is very popular in BSD Community. Well, there is a
 question: whether Opera is included to your distro and if not - how we can
 fix this problem? We are ready for any discussions, technical help or
 agreement, if necessary.
 
 Thanks in advance,
 

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


Re: find question

2009-08-05 Thread Glen Barber
On Wed, Aug 5, 2009 at 11:12 AM, Mel
Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 On Wednesday 05 August 2009 07:00:40 Glen Barber wrote:
 On Wed, Aug 5, 2009 at 3:36 AM, Matthew

 Seamanm.sea...@infracaninophile.co.uk wrote:
  Try this as:
 
     for line in $( cat $FILELIST ) ; do
         echo $line
         find $line -type f  $TMPFILE
     done
 
  *assuming that none of the directory names in $FILELIST contain spaces*

    for line in $( cat $FILELIST | sed -e 's/\ //g') ; do
        echo $line
        find $line -type f  $TMPFILE
    done

 This *should* fix any directories containing spaces.

 And also make find look in non-existing directories.

True, but any script that needs to find directories containing spaces
is going to be hack-ish.

for line in $( cat $FILELIST | sed -e 's/\ /SPACE/g') ; do
   echo $line | sed -e 's/SPACE/\ /g'
   find $line -type f  $TMPFILE
done

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


Re: Opera in your repos

2009-08-05 Thread Ilya Shpan'kov

Thanks a lot, Vincent!

В письме от Wed, 05 Aug 2009 17:32:26 +0200, Vincent Hoffman  
vi...@unsane.co.uk сообщал:



Hi,
Opera is indeed already in the ports (and packages) and has been since
November 5th 2000 according to the Makefile in ports/www/opera. and it
appears the port is maintained by one of the staff at opera
MAINTAINER= freebsd-maintai...@opera.com
Keep up the good work :)

Vince



Vince


Ilya Shpan'kov wrote:

Hi,

I work in Opera Software - yes, we make a proprietary browser ;)
Last 7 years I use GNU/Linux and know that, for example, in Russia the
Opera browser is very popular in BSD Community. Well, there is a
question: whether Opera is included to your distro and if not - how we  
can

fix this problem? We are ready for any discussions, technical help or
agreement, if necessary.

Thanks in advance,





--
Best regards,

Ilya Shpan'kov
Community Outreach Manager for Russia
Opera Software ASA

Mobile: +47 46351421
Web-site: http://my.opera.com/IlyaShpankov/
Skype: shpankov
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Opera in your repos

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 07:02:18 Ilya Shpan'kov wrote:

 I work in Opera Software - yes, we make a proprietary browser ;)
 Last 7 years I use GNU/Linux and know that, for example, in Russia the
 Opera browser is very popular in BSD Community. Well, there is a
 question: whether Opera is included to your distro and if not - how we can
 fix this problem? We are ready for any discussions, technical help or
 agreement, if necessary.

Well, we can start to agree that FreeBSD is not a distro, but a UNIX 
operating system. :)
Opera is available in the ports system as 3rd party software made to work on 
FreeBSD. There are 3 opera ports, which you can view here:
http://www.freshports.org/www/opera
http://www.freshports.org/www/opera-devel
http://www.freshports.org/www/linux-opera (through linux emulation)

There are no issues I'm aware of, that's specific to the FreeBSD/Opera 
combination (no flash support is an issue with Adobe, not Opera and I got one 
bugreport in the queue, that I'm also not sure is FreeBSD specific, more 
built-in torrent application specific).
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Some problems with Marvell Yukon NIC

2009-08-05 Thread Anton

   Hello freebsd-questions,

 Found the solution here: [1]http   
://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-10/msg01065
   .html
   But do not know how to apply patch :-(

   Please, help

   --

   --

   Best regards,

Anton= ;[2]mailto:an...@sng.by

Administrator

   Feel free to contact me

   via ICQ 363780596

   via Skype dobryak47

   via phone +375 29 3320987

References

   1. 3Dhttp://uni=/
   2. 3Dmailto:an...@sng.by;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Network card Intel and 802.1P tag

2009-08-05 Thread Nikos Vassiliadis

Andrey O.Sokolov wrote:

Any idea how I can see 802.1P tag on em?


You should, I guess, with no extra steps. Perhaps the em driver
has some hardware capability, which set the priority tag to zero?

Is the vlan hardware processing enabled?
Could you post the output of ifconfig em0?

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


Re: Network card Intel and 802.1P tag

2009-08-05 Thread Gary Gatten
Not ALL chipsets / drivers support 802.1Q / p , maybe this is one of them?

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: arc...@alkar.net arc...@alkar.net
Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Wed Aug 05 10:48:45 2009
Subject: Re: Network card Intel and 802.1P tag

Andrey O.Sokolov wrote:
 Any idea how I can see 802.1P tag on em?

You should, I guess, with no extra steps. Perhaps the em driver
has some hardware capability, which set the priority tag to zero?

Is the vlan hardware processing enabled?
Could you post the output of ifconfig em0?

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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

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

Re: Opera in your repos

2009-08-05 Thread Tsu-Fan Cheng
Mmm afaIk, FreeBSd didn't make any software into distro, we just put
them into our app system, called ports or port collections, which has
all apps that can run on freebsd.
http://www.freebsd.org/cgi/ports.cgi?query=operastype=all


http://www.freebsd.org/cgi/ports.cgi?query=operastype=all

On Wed, Aug 5, 2009 at 11:02 AM, Ilya Shpan'kov il...@opera.com wrote:

 Hi,

 I work in Opera Software - yes, we make a proprietary browser ;)
 Last 7 years I use GNU/Linux and know that, for example, in Russia the
 Opera browser is very popular in BSD Community. Well, there is a
 question: whether Opera is included to your distro and if not - how we can
 fix this problem? We are ready for any discussions, technical help or
 agreement, if necessary.

 Thanks in advance,

 --
 Best regards,

 Ilya Shpan'kov
 Community Outreach Manager for Russia
 Opera Software ASA

 Mobile: +47 46351421
 Web-site: http://my.opera.com/IlyaShpankov/
 Skype: shpankov
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

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


7.2 CD won't boot

2009-08-05 Thread John Nielsen.
Hi guys,

My 7.2 Release Disc 1 won't boot.  I get the following and nothing more:

CD Loader 1.2

Building the boot loader arguments
Looking up /BOOT/LOADER... Found
Relocating the loader and the BTX

I'm running on a Intel SE7501BR2, single Xeon, 2GB.  I have burned a
second CD and swapped the CD drive, cable and RAM, all to no avail.  I
have a RR1520 RAID controller, but removed that as well.  On-board SCSI
controller and serial ports have been disabled, too.  Nothing seems to
make a difference.

What on earth could be going on?

Thanks,

Brad Waite

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


Re: 7.2 CD won't boot

2009-08-05 Thread Adam Vande More
On Wed, Aug 5, 2009 at 10:41 AM, John Nielsen. i...@us.army.org wrote:

 Hi guys,

 My 7.2 Release Disc 1 won't boot.  I get the following and nothing more:

 CD Loader 1.2

 Building the boot loader arguments
 Looking up /BOOT/LOADER... Found
 Relocating the loader and the BTX

 I'm running on a Intel SE7501BR2, single Xeon, 2GB.  I have burned a
 second CD and swapped the CD drive, cable and RAM, all to no avail.  I
 have a RR1520 RAID controller, but removed that as well.  On-board SCSI
 controller and serial ports have been disabled, too.  Nothing seems to
 make a difference.

 What on earth could be going on?

 Thanks,

 Brad Waite

 What platform are you using?  eg amd64

Update BIOS, disable acpi.


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


Re: 7.2 CD won't boot

2009-08-05 Thread Glen Barber
On Wed, Aug 5, 2009 at 11:41 AM, John Nielsen.i...@us.army.org wrote:
 Hi guys,

 My 7.2 Release Disc 1 won't boot.  I get the following and nothing more:

 CD Loader 1.2

 Building the boot loader arguments
 Looking up /BOOT/LOADER... Found
 Relocating the loader and the BTX

 I'm running on a Intel SE7501BR2, single Xeon, 2GB.  I have burned a
 second CD and swapped the CD drive, cable and RAM, all to no avail.  I
 have a RR1520 RAID controller, but removed that as well.  On-board SCSI
 controller and serial ports have been disabled, too.  Nothing seems to
 make a difference.

 What on earth could be going on?


Can you verify if another machine boots the CD?  Could be a bad download.

Could be a hardware incompatibility.

Also, could you try disabling ACPI at boot?



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


Re: 7.2 CD won't boot

2009-08-05 Thread David Southwell
 On Wed, Aug 5, 2009 at 11:41 AM, John Nielsen.i...@us.army.org wrote:
  Hi guys,
 
  My 7.2 Release Disc 1 won't boot.  I get the following and nothing more:
 
  CD Loader 1.2
 
  Building the boot loader arguments
  Looking up /BOOT/LOADER... Found
  Relocating the loader and the BTX
 
  I'm running on a Intel SE7501BR2, single Xeon, 2GB.  I have burned a
  second CD and swapped the CD drive, cable and RAM, all to no avail.  I
  have a RR1520 RAID controller, but removed that as well.  On-board SCSI
  controller and serial ports have been disabled, too.  Nothing seems to
  make a difference.
 
  What on earth could be going on?

 Can you verify if another machine boots the CD?  Could be a bad download.

 Could be a hardware incompatibility.

 Also, could you try disabling ACPI at boot?
I found the amd64 dvd download to be corrupt recently. So do check the 
download -- did you verify your download?

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


Re: find question

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 07:33:42 Glen Barber wrote:
 On Wed, Aug 5, 2009 at 11:12 AM, Mel

 Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
  On Wednesday 05 August 2009 07:00:40 Glen Barber wrote:
  On Wed, Aug 5, 2009 at 3:36 AM, Matthew
 
  Seamanm.sea...@infracaninophile.co.uk wrote:
   Try this as:
  
  for line in $( cat $FILELIST ) ; do
  echo $line
  find $line -type f  $TMPFILE
  done
  
   *assuming that none of the directory names in $FILELIST contain
   spaces*
 
 for line in $( cat $FILELIST | sed -e 's/\ //g') ; do
 echo $line
 find $line -type f  $TMPFILE
 done
 
  This *should* fix any directories containing spaces.
 
  And also make find look in non-existing directories.

 True, but any script that needs to find directories containing spaces
 is going to be hack-ish.

 for line in $( cat $FILELIST | sed -e 's/\ /SPACE/g') ; do
echo $line | sed -e 's/SPACE/\ /g'
find $line -type f  $TMPFILE
 done

Not really, simply quote your arguments so that IFS is not in the picture. The 
OP had the right the idea by using a pipe+while read.

% echo My Documents|while read LINE; do find ${LINE} -type f; done
My Documents/foo

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


Re: 7.2 CD won't boot

2009-08-05 Thread David Southwell
  On Wed, Aug 5, 2009 at 11:41 AM, John Nielsen.i...@us.army.org wrote:
   Hi guys,
  
   My 7.2 Release Disc 1 won't boot.  I get the following and nothing
   more:
  
   CD Loader 1.2
  
   Building the boot loader arguments
   Looking up /BOOT/LOADER... Found
   Relocating the loader and the BTX
  
   I'm running on a Intel SE7501BR2, single Xeon, 2GB.  I have burned a
   second CD and swapped the CD drive, cable and RAM, all to no avail.  I
   have a RR1520 RAID controller, but removed that as well.  On-board SCSI
   controller and serial ports have been disabled, too.  Nothing seems to
   make a difference.
  
   What on earth could be going on?
 
  Can you verify if another machine boots the CD?  Could be a bad download.
 
  Could be a hardware incompatibility.
 
  Also, could you try disabling ACPI at boot?

 I found the amd64 dvd download to be corrupt recently. So do check the
 download -- did you verify your download?

 David
John 

My cc to you was bounced.

jn07te...@yahoo.de: host d.mx.mail.yahoo.com[68.142.202.247] said: 554
delivery error: dd This user doesn't have a yahoo.de account
(jn07te...@yahoo.de) [-5] - mta247.mail.mud.yahoo.com (in reply to end of
DATA command)
David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


help installing

2009-08-05 Thread J Lee Hughes
how can help me install free bsd

I get loaded free bsd
it said is loaded good
Can not get xwindow to load or kde

help

use to opensuse the best for os
==
J Lee Hughes K C 0 H W A 73
=
Do what you can every day!
Learn what you can every day!
Life is good!
=
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: help installing

2009-08-05 Thread David Southwell
 how can help me install free bsd

 I get loaded free bsd
 it said is loaded good
 Can not get xwindow to load or kde

 help

 use to opensuse the best for os
 ==
 J Lee Hughes K C 0 H W A 73
 =
 Do what you can every day!
 Learn what you can every day!
 Life is good!
 =

Welcome
Do you have another machine available with access to the internet.

If so use that one to go to http://www.freebsd.org
follow the links to documentationhandbook
you should find everything you need there.

Come back here if you get stuck

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


Re: Opera in your repos

2009-08-05 Thread Randall Wood
 There are no issues I'm aware of, that's specific to the FreeBSD/Opera 
 combination (no flash support is an issue with Adobe, not Opera and I got one 
 bugreport in the queue, that I'm also not sure is FreeBSD specific, more 
 built-in torrent application specific).
 -- 

No problems here - it's my browser of choice on FreeBSD, and it hasn't given me
any trouble at all.  Congrats.


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


Re: Looking for fast graphical web browser

2009-08-05 Thread Randall Wood
On Mon, Aug 03, 2009 at 11:53:22AM +0200, Wolfgang Riegler wrote:
 Has anyone tested Arora?

I'm actually surprised no one has recommended Konqueror.  It's not my favorite 
browser (I happen to love Opera) but it would seem to mostly fit the bill of 
fast, graphical.  One trick it does that I appreciate is assigning a letter to 
every link.  When you hold down the control key, the letters appear and you can 
navigate just by pressing control and a letter key.  Konqueror certainly has 
its detractors though, so I guess it's a matter of taste.

Happy hunting.
-- 
http://www.therandymon.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Network card Intel and 802.1P tag

2009-08-05 Thread Nikos Vassiliadis

Gary Gatten wrote:

Not ALL chipsets / drivers support 802.1Q / p , maybe this is one of them?


The vlan driver handles tagging itself in software. You don't need
support by the hardware driver or the NIC itself. That said, Intel
NICs are known to work correctly and support dot1Q tags natively in
hardware. Maybe this behavior is some regression with the priority
tags, which by the way are completely ignored by the vlan driver.
You cannot set a priority tag or have the vlan driver process it
in a special way. I guess processing priority tags is not very useful
since one cannot expect a FreeBSD box to replace a switch!

As I understand Andrey just runs tcpdump on the physical interface.
He doesn't use the vlan driver. He should see everything that reaches
the ethernet port. tagged or not.

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


Re: Looking for fast graphical web browser

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 09:57:30 Randall Wood wrote:
 On Mon, Aug 03, 2009 at 11:53:22AM +0200, Wolfgang Riegler wrote:
  Has anyone tested Arora?

 I'm actually surprised no one has recommended Konqueror.  It's not my
 favorite browser (I happen to love Opera) but it would seem to mostly fit
 the bill of fast, graphical.  One trick it does that I appreciate is
 assigning a letter to every link.  When you hold down the control key, the
 letters appear and you can navigate just by pressing control and a letter
 key.  Konqueror certainly has its detractors though, so I guess it's a
 matter of taste.

Well, the script support and rendering bugs are a bit too noticeable for my 
taste. Though last time I tried was KDE 4.1.x. I suppose I could give it 
another shot with 4.3 in the tree.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Network card Intel and 802.1P tag

2009-08-05 Thread Andrey O.Sokolov
У Ср, 2009-08-05 у 10:54 -0500, Gary Gatten пише:
 Not ALL chipsets / drivers support 802.1Q / p , maybe this is one of them?

I have this problem on some ethernet cards, such as:

   e...@pci0:14:0:0:class=0x02 card=0x109a15d9
chip=0x109a8086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = '82573L Intel PRO/1000 PL Network Adaptor'
class  = network
subclass   = ethernet

   e...@pci0:6:0:0: class=0x02 card=0x108c15d9 chip=0x108c8086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82573E Intel Corporation 82573E Gigabit Ethernet
Controller (Copper)'
class  = network
subclass   = ethernet


Andrey O.Sokolov wrote:
  Any idea how I can see 802.1P tag on em?
 
 You should, I guess, with no extra steps. Perhaps the em driver
 has some hardware capability, which set the priority tag to zero?

 Is the vlan hardware processing enabled?

How I can enable this processing?


 Could you post the output of ifconfig em0?
 

Output of ifconfig both:


em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500

options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
ether 00:15:b7:62:de:ec
media: Ethernet 100baseTX full-duplex
status: active
vlan20: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500
options=3RXCSUM,TXCSUM
ether 00:15:b7:62:de:ec
inet 
media: Ethernet 100baseTX full-duplex
status: active
vlan: 20 parent interface: em0
==
fxp0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric
0 mtu 1500

options=219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC
ether 00:02:b3:61:d5:5a
media: Ethernet 100baseTX full-duplex
status: active
vlan20: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500
options=3RXCSUM,TXCSUM
ether 00:02:b3:61:d5:5a
inet 
media: Ethernet 100baseTX full-duplex
status: active
vlan: 20 parent interface: fxp0



-- 

 ***AOS224-RIPE***   mailto:arc...@alkar.net



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


foot-shot?

2009-08-05 Thread Gary Kline

Hm.  Last night mutt began to fail to sent mail; it exited with a
127.  When I tried to rebuolt mutt, turns out that I'm missing
GNU m4... .  I'll paste the build snafus after my sig here on my 
server.  Ideas how things ggot hosed?  anybody?


-- 
  Gary Kline  kl...@thought.org   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org

 

===  Configuring for mutt-1.4.2.3_3
/usr/local/share/aclocal/soup.m4:7: warning: underquoted definition of
AM_PATH_SOUP
  run info '(automake)Extending aclocal'
  or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/oaf.m4:4: warning: underquoted definition of
AM_PATH_OAF
/usr/local/share/aclocal/linc.m4:1: warning: underquoted definition of
AM_PATH_LINC
/usr/local/share/aclocal/libglade.m4:7: warning: underquoted definition
of AM_PATH_LIBGLADE
/usr/local/share/aclocal/libfame.m4:6: warning: underquoted definition of
AM_PATH_LIBFAME
/usr/local/share/aclocal/libart.m4:11: warning: underquoted definition of
AM_PATH_LIBART
/usr/local/share/aclocal/libIDL.m4:6: warning: underquoted definition of
AM_PATH_LIBIDL
/usr/local/share/aclocal/imlib.m4:9: warning: underquoted definition of
AM_PATH_IMLIB
/usr/local/share/aclocal/imlib.m4:167: warning: underquoted definition of
AM_PATH_GDK_IMLIB
/usr/local/share/aclocal/gtkgl.m4:4: warning: underquoted definition of
AM_PATH_GTKGL
/usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of
AM_PATH_GTK
/usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of
AM_PATH_GLIB
/usr/local/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted
definition of AM_PATH_GDK_PIXBUF
/usr/local/share/aclocal/gconf-1.m4:4: warning: underquoted definition of
AM_PATH_GCONF
/usr/local/share/aclocal/gconf-1.m4:71: warning: underquoted definition
of AM_GCONF_SOURCE
/usr/local/share/aclocal/audiofile.m4:12: warning: underquoted definition
of AM_PATH_AUDIOFILE
/usr/local/share/aclocal/aalib.m4:12: warning: underquoted definition of
AM_PATH_AALIB
/usr/local/share/aclocal/ORBit.m4:4: warning: underquoted definition of
AM_PATH_ORBIT
autom4te-2.62: need GNU m4 1.4 or later: /usr/local/bin/gm4
aclocal-1.9: /usr/local/bin/autom4te-2.62 failed with exit status: 1
*** Error code 1

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


Re: Network card Intel and 802.1P tag

2009-08-05 Thread Nikos Vassiliadis

Andrey O.Sokolov wrote:

Is the vlan hardware processing enabled?


How I can enable this processing?



ifconfig em0 vlanhwtag enables vlan processing in hw
ifconfig em0 -vlanhwtag disables vlan processing in hw

Maybe one these will work correctly without the zeroing effect.

Perhaps off topic, but why are you interested in priority
tags, since FreeBSD will silently ignore them?

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


Re: [?? Probable Spam] Re: Network card Intel and 802.1P tag

2009-08-05 Thread Andrey O.Sokolov
У Ср, 2009-08-05 у 20:41 +0300, Nikos Vassiliadis пише:

  Is the vlan hardware processing enabled?
  
  How I can enable this processing?
  
 
 ifconfig em0 vlanhwtag enables vlan processing in hw
 ifconfig em0 -vlanhwtag disables vlan processing in hw
 Maybe one these will work correctly without the zeroing effect.

I tried both variant on both NIC - fxp and em
The result doesn't change ;(

 Perhaps off topic, but why are you interested in priority
 tags, since FreeBSD will silently ignore them?

I developing QoS-model for big network.
I have casualy found out this problem, when I analyzed the traffic with
different COS-value from various devices.

-- 

 ***AOS224-RIPE***   mailto:arc...@alkar.net



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


Re: [?? Probable Spam] Re: Network card Intel and 802.1P tag

2009-08-05 Thread Nikos Vassiliadis

Andrey O.Sokolov wrote:

I tried both variant on both NIC - fxp and em
The result doesn't change ;(


You should post to net@ and maybe the maintainer will help
you. Include pciconf.


Perhaps off topic, but why are you interested in priority
tags, since FreeBSD will silently ignore them?


I developing QoS-model for big network.
I have casualy found out this problem, when I analyzed the traffic with
different COS-value from various devices.


Yes, but at the end of the day FreeBSD will ignore the priority tag.
It would be just cosmetic. But, I agree that you should see the correct
priority tag.

Nikos


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


Re: Wierd X crash

2009-08-05 Thread Coert Waagmeester

On Wed, 2009-08-05 at 06:36 -0800, Mel Flynn wrote:
 On Wednesday 05 August 2009 04:37:38 Coert Waagmeester wrote:
 
  I am fairly new to FreeBSD. I use linux a lot.
 
  Am running FreeBSD 7.2 i386 with the nvidia 173 driver with an AGP
  GeForce FX 5200.
 
 
  My X works, with xinerama and two screens, perfectly,
  but as soon as I hold down any key (like Backspace to remove a line of
  text) X crashes.
 
 Any key? Even one that does not create scrolling on the screen? like 
 backspace 
 in an empty file?
 Unless someone else has seen this, sounds really hard to debug without a 
 coredump :/
 The only long shot I got to offer is that nvidia provides TwinView which does 
 the same as Xinerama and you might want to try that out instead. There's 
 detailed information about it in one of the Nvidia README's.


Twinview did indeed completely solve the problem!

What are the (dis)advantages of TwinView and Xinerama?

Thanks!
Coert

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


Re: upgrade 7.2 overwrites partitions

2009-08-05 Thread Polytropon
Jonathan,

I'd like to thank you for your polite words. I'm not sure I could
have been able to express in the same way. Allow me a few comments:

On Wed, 5 Aug 2009 16:51:53 +0200, Jonathan McKeown j.mcke...@ru.ac.za wrote:
 On Wednesday 05 August 2009 15:49:38 PJ wrote:
  Well, whatever it was it sure screwed up my system
 
 You screwed up your system. Possibly that started when you tried to use 
 freebsd-update with a non-GENERIC kernel, but you then thrashed around, 
 apparently ignoring most of the help you were offered on this list and 
 getting into more and more trouble, while never explaining exactly what you 
 were doing.

For any operating system is true: As long as you can't master it
because you don't exactly know how to do things, it's always a
little bit dangerous.



 ``I can't use it, therefore it's rubbish''. That's fine, no-one forced you to 
 use FreeBSD in the first place and I doubt anyone minds that you don't want 
 to use it any more.

I had a similar problem last year: My home directory is still gone
and FreeBSD doesn't seem to be able to restore it. But I haven't
found (a) a system that brings back my precious data and (b) can
offer the same functionality and easyness of use FreeBSD does.

This is, of course, a very individual problem. As you know from this
list, most problems are of a less important nature. But failing
to read the documentation - you can always ask if you don't understand
what something might mean - has never been a problem. If you stick
to the official handbook, no serious problems should occur.



 Personally, I do think it's a pity, because FreeBSD (in my experience, since 
 FreeBSD 4.5) is stable, easy to use (once you have the basic Unix concepts on 
 board), and astonishingly well-documented. It's also supported by one of the 
 friendliest and most knowledgeable communities I know.

In relations to most Linusi and MICROS~1 stuff in general, FreeBSD is the
MOST EXCELLENT documented OS I've ever used - and I have used many OSes
during my career. The FAQ, the handbook and especially the manpages are
great. Of course, that's my point of view as a developer. For a normal
user, this might look a bit different, but finally, there's this very
helpful and friendly list.



 Having said all that, I wish you well and I hope you find a system which 
 suits 
 you better than the one you have trashed.

I honestly second that. If FreeBSD isn't your cup of tea, try something
else. I'm sure you'll find some OS that fits your needs better.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


net-mgmt/flowd - broken ?

2009-08-05 Thread Kalle Møller
Hi

I'm trying to build flowd with perl

make WITH_PERL=YES

But it returns that it is broken ?

flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist.

Without perl it installs fine. The problem is that I need the perl part to
get some of the other tools to work :S

Anything I can do to get this not broken ...

-- 

Med Venlig Hilsen

Kalle R. Møller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wierd X crash

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 10:17:19 Coert Waagmeester wrote:
 On Wed, 2009-08-05 at 06:36 -0800, Mel Flynn wrote:
  On Wednesday 05 August 2009 04:37:38 Coert Waagmeester wrote:
   I am fairly new to FreeBSD. I use linux a lot.
  
   Am running FreeBSD 7.2 i386 with the nvidia 173 driver with an AGP
   GeForce FX 5200.
  
  
   My X works, with xinerama and two screens, perfectly,
   but as soon as I hold down any key (like Backspace to remove a line of
   text) X crashes.
 
  Any key? Even one that does not create scrolling on the screen? like
  backspace in an empty file?
  Unless someone else has seen this, sounds really hard to debug without a
  coredump :/
  The only long shot I got to offer is that nvidia provides TwinView which
  does the same as Xinerama and you might want to try that out instead.
  There's detailed information about it in one of the Nvidia README's.

 Twinview did indeed completely solve the problem!

 What are the (dis)advantages of TwinView and Xinerama?

TwinView is preferred on nvidia cards. I don't know the exact history, but I 
think XFree and nvidia were working on multi-monitor/vidcard support around 
the same time and nvidia came up with TwinView, while XFree provided Xinerama.

Apparently, nvidia didn't like the Xinerama API and stuck with it's own, while 
incorporating some compatibility functions to make things work better, but I 
always found TwinView to work as advertized and Xinerama being buggy. Of 
course, my experience is no measurement for past and future results ;)
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cvs tag usage

2009-08-05 Thread Polytropon
On Wed, 5 Aug 2009 10:00:09 +0100, David Southwell da...@vizion2000.net wrote:
 I took a look at the web pages and found the following choices:
 
 RELENG_7_BP
 RELENG_7_2_BP
 RELENG_7_2_0_RELEASE
 RELENG_7_2
 
 But could not find anything that told me where -p2 fits into this!!

The -p2 is appended when you follow RELENG_7_2, which is the security
branch (release branch) of FreeBSD 7.2. You will get ONLY the patches.
For example, when the second patch is applied and you download, compile
and install the OS, uname will give 7.2-RELEASE-p2.

If you follow RELENG_7, you get the stable branch. Here, more than
just the patches are delivered to you when updating the sources. So
you won't get -p2, but something like 7.0-STABLE together with your
compile date. As far as I know, /etc/motd will be updated and then
show 7.2-STABLE-20090101 (the proper date of course).

The -STABLE branch is a bit experimental, allthough it includes those
things that are considered to be running well.

If you are interested in the bleeding edge of FreeBSD's development,
you follow RELENG_7. This will then deliver the -CURRENT branch to you
with all modifications. It may happen that a -CURRENT of today doesn't
compile, but tomorrow, it will do. It's considered to be the experimental
branch where changes can appear and disappear.



 To synchronize src and keep up to date do I use:
 
 *default release=cvs tag=RELENG_7_2
 will this automatically track the latest version in 7_2  and therefore keep 
 track with 7.2-RELEASE-p2 or later??

Exactly. You follow the -STABLE branch of FreeBSD 7.2 and will always get
the latest *stable* 7.2 sources, but won't reach 7.3 with this setting.



 or
 do I need to use something like:
 
 *default release=cvs tag=RELENG_7_2-p2

No. As far as I know, you can't update to a specific patchlevel in this
way. But using CVS correctly - don't ask me how to do this :-) - you can
update your system to any point of time in development.



 or
 something else!!

Or else. :-)



 Where can I find some explanation on this?

The handbook mentions it in its comparison between RELEASE and STABLE.



 Maybe something from this discussion could be added to the 
 handbook/synching.html page so the choice of suffix for configuring cvsup 
 could be made easier for those who are not familiar with the meaning of 
 undocumented suffixing such as -p2 !!. 

Good idea.



 Another could there possibly be some consistency between the output from 
 uname 
 -a and the suffixing used for synching of the src be practicable.

The problem is that there are different naming conventions.



 Please do 
 not bite my head off if it is not practical -- I acknowledge it is a question 
 born of ignorance and confusion chuckles

I already had horsehead goulash with sauerkraut, thanks. :-)





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: net-mgmt/flowd - broken ?

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 10:35:02 Kalle Møller wrote:

 make WITH_PERL=YES

 But it returns that it is broken ?

 flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist.

 Without perl it installs fine. The problem is that I need the perl part to
 get some of the other tools to work :S

 Anything I can do to get this not broken ...

You could fix the plist and ping the maintainer (added to CC).
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


new machine trying to install /usr/ports

2009-08-05 Thread Admin

hi there,

I am trying to get some basic ports tools installed on a new machine.  I 
downloaded the entire ports.tar.gz and then placed all those contents in 
/usr/ports


What are the best next steps to follow to get things up an running?  I 
was hoping to install portsnap but here the error I am receiving.  What 
is wrong?



su-3.2# pkg_add -r portsnap
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6-stable/Latest/portsnap.tbz: 
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6-stable/Latest/portsnap.tbz' 
by URL



Cheers,

Noah

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


Re: new machine trying to install /usr/ports

2009-08-05 Thread Neal Hogan
On Wed, Aug 5, 2009 at 2:01 PM, Adminad...@enabled.com wrote:
 hi there,

 I am trying to get some basic ports tools installed on a new machine.  I
 downloaded the entire ports.tar.gz and then placed all those contents in
 /usr/ports

 What are the best next steps to follow to get things up an running?  I was
 hoping to install portsnap but here the error I am receiving.  What is
 wrong?


http://www.freebsd.org/doc/en/books/handbook/portsnap.html


 su-3.2# pkg_add -r portsnap
 Error: FTP Unable to get
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6-stable/Latest/portsnap.tbz:
 File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch
 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6-stable/Latest/portsnap.tbz'
 by URL


 Cheers,

 Noah

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

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


Re: upgrade 7.2 overwrites partitions

2009-08-05 Thread Michael Powell
Polytropon wrote:
[snip] 
 
 Personally, I do think it's a pity, because FreeBSD (in my experience,
 since FreeBSD 4.5) is stable, easy to use (once you have the basic Unix
 concepts on board), and astonishingly well-documented. It's also
 supported by one of the friendliest and most knowledgeable communities I
 know.
 
 In relations to most Linusi and MICROS~1 stuff in general, FreeBSD is the
 MOST EXCELLENT documented OS I've ever used - and I have used many OSes
 during my career. The FAQ, the handbook and especially the manpages are
 great. Of course, that's my point of view as a developer. For a normal
 user, this might look a bit different, but finally, there's this very
 helpful and friendly list.


Many people's only familiarity with computers in general will be from a 
Windows centric perspective. Somehow there is a tendency to believe that 
inserting a CD, booting, and then proceeding to click OK in a dialog box a 
few dozen times makes them some kind of expert when they successfully get 
Windows installed.

Coming from a Windows centric environment myself I initially found that 
there was a great deal of material to be learned, and RTFM was the way to do 
it. I've noticed people who come from university computer science programs 
have a much better foundation upon which to build. Most computer users do 
not fit this category, myself included.

While this deficiency can be overcome with self study, I am also aware that 
not everyone who reads documentation necessarily understands the material. 
If too much background education is missing the documentation just resembles 
gobbeldy-gook and is ignored, with the fall back position of click OK a few 
dozen times and the OS will take care of it for me expected to pick up the 
slack.

I would not be where I am today in my understanding and use of FreeBSD if  
not for the excellent documentation and surrounding community. I feel I owe 
my success in utilizing FreeBSD to the people who took the time to write 
this stuff down for people like me to use. It is with a great measure of 
gratitude to these people I owe my success.

 
[snip] 

-Mike



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


eclipse install

2009-08-05 Thread Coert Waagmeester
Hello all,

What is the best way to install eclipse on FreeBSD 7.2?

On Linux I installed java, and downloaded the newest eclipse.

Regards,
Coert

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


Writing to a uhid device?

2009-08-05 Thread Brian McGovern
I picked up a Velleman K8055 digital I/O controller that connects to a
PC via a USB port. FreeBSD picks up this device as a uhid, and I can see
the following elements:

bmcgover-pc# usbhidctl -f /dev/uhid2 -r
Report descriptor:
Collection page=Microsoft usage=0x0001
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0002, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0003, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0004, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0005, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0006, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0007, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0008, logical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0002, logical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0003, logical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0004, logical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0005, logical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0006, logical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0007, logical range 0..255
Output  size=8 count=1 page=Microsoft usage=0x0008, logical range 0..255
End collection
Total   input size 8 bytes
Total  output size 0 bytes
Total feature size 0 bytes


Reading from the device 8 bytes at a time does whats expected - I can
see the digital and analog inputs, the counters, etc, and all is fine.

However, I notice on the above output that the total output size is 0,
and writing 8 bytes of information to the device seems to do nothing for
the outputs.

I'm guessing at this point that its an issue somewhere with the driver,
but a quick look at uhid_do_write() looks like its doing something,
although the behavior changes around sc-sc_oid and sc-sc_osize
(possible issue with the 'total output size' being 0, above?).

Does anyone have any thoughts or ideas, or better yet, experience with
such devices, before I spend a couple of days of banging my head against
the wall trying to figure out whats happening under the hood? Is there
a special/magic process? Or should I just be able to write the 8 bytes,
1 for each output, as I read the input?

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


sshd and dhcp bind to specific address

2009-08-05 Thread Stefan Miklosovic
hi,

my pc gets ip address from dhcp server,
but on my pc, there is running
sshd.

I want to make ssh to listen to only one
ip address, but if ip changes due to dhcp,
ssh server do not work properly.

I know, that dhcp is able to assign ip address
to client from some range e.g. 192.168.0.1-254
It is possible to do the same with ssh in case
that it is not possible to do it only with one ip?

I want a solution which would work every time,
not only some specific one.

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


Re: Wierd X crash

2009-08-05 Thread Morten Grunnet Buhl
* Coert Waagmeester lgro...@waagmeester.co.za [2009-08-05 14:37 +0200]:
...
 Am running FreeBSD 7.2 i386 with the nvidia 173 driver with an AGP
 GeForce FX 5200.
 
 My X works, with xinerama and two screens, perfectly,
 but as soon as I hold down any key (like Backspace to remove a line of
 text) X crashes.
...
 
 Any tips would be greatly appreciated.
- Take a look at this PR
  http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133946
  I might be what you are seeing?

-- 
I have no signature!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sshd and dhcp bind to specific address

2009-08-05 Thread Erik Norgaard

Stefan Miklosovic wrote:

hi,

my pc gets ip address from dhcp server,
but on my pc, there is running
sshd.

I want to make ssh to listen to only one
ip address, but if ip changes due to dhcp,
ssh server do not work properly.

I know, that dhcp is able to assign ip address
to client from some range e.g. 192.168.0.1-254
It is possible to do the same with ssh in case
that it is not possible to do it only with one ip?

I want a solution which would work every time,
not only some specific one.


I don't know if this will solve your problem, you can set ListenAddress 
in sshd_config, by default this is 0.0.0.0 or any. You can have multiple 
ListenAddress entries.


I do not know if you can specify an ip-range, that would solve the 
problem I guess. It doesn't seem like you can configure sshd to bind to 
a particular interface, whichever address it may have, that would be the 
best solution.


BR, Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sshd and dhcp bind to specific address

2009-08-05 Thread Glen Barber
On Wed, Aug 5, 2009 at 5:11 PM, Stefan
Miklosovicmiklosovic.free...@gmail.com wrote:
 hi,

 my pc gets ip address from dhcp server,
 but on my pc, there is running
 sshd.

 I want to make ssh to listen to only one
 ip address, but if ip changes due to dhcp,
 ssh server do not work properly.

 I know, that dhcp is able to assign ip address
 to client from some range e.g. 192.168.0.1-254
 It is possible to do the same with ssh in case
 that it is not possible to do it only with one ip?


Is this a local network, inside 192.168.0.0/24 ?  Are you able to
configure a static IP for this machine?

If not, I wrote a little script that runs every 15 minutes via cron(8)
which gets my IP address, performs a diff(1) against a static file
containing the current IP.  If the IP is different, it mails me the
new IP.  However, this assumes t hat outside access is the problem,
not internal access.


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


Problems with FreeBSD installation

2009-08-05 Thread Miguel
Hi,

I've been trying to install FreeBSD in my laptop, but without success.  I
started with 7.2, but during installation i got the error:

  No disk found!  Please verify that your disk controller...

Looking at the logs, everything seems fine to me (although its my first time on
the FreeBSD world).  I get lines such as:

atapci0: ATI IXP600 SATA300 controller [...]
atapci0: [ITHREAD]
atapci0: AHCI Version 01.10 controller with 4 ports detected
ata2: ATA channel 0 on atapci0
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci0
ata3: [ITHREAD]
ata4: ATA channel 2 on atapci0
ata4: [ITHREAD]
ata5: ATA channel 3 on atapci0
ata5: [ITHREAD]
[...]
atapci1: ATI IPX600 UDMA 133 controller [...]
ata0: ATA channel 0 on atapci1
ata0: [ITHREAD]
[...]

(Note that i wrote these logs manually -- got some photos that I can upload to
some URL if needed.)

So, could not find any issues in the logs, apart from some ACPI errors:

acpi0_check: nexus0 attached
acpi0_check: acpi0 not-present
acpi0_check: acpi0 not-present
acpi0_check: acpi0 not-present
acpi0_check: acpi0 not-present
...

in fact, I have some other ACPI-related errors at the beginning of the logs, but
these are common also on Linux -- I believe these are due to a buggy BIOS, which
unfortunately I am not able to upgrade since I have not windows installed (I
have a Toshiba Satellite A210).

Anyway, I decided to try a more recent version of FreeBSD and downloaded

  8.0-CURRENT-200906-amd64-disc1.iso

which was the most recent snapshot for my Turion64 processor.

Tried to boot it but this time the installation just freeze before the install
application event starts.  Last log lines are:

acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST
device_attach: acpi0 attach returned 6
Timecounters tick every 1.000 msec
md0: Preload image /boot/mfsroot 4194304 bytes at 0x80fd8660
SMP: AP CPU #1 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/md0
warning: no time-of-day clock registered, system time will not be set accurately

And at this point... nothing else -- system freezes.

Please let me know if anyone has any suggestions for me to have a FreeBSD
installation on my laptop.  I am, of course, available to provide any additional
information you might need to debug the issue.

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


Re: eclipse install

2009-08-05 Thread Polytropon
On Wed, 05 Aug 2009 23:00:08 +0200, Coert Waagmeester 
lgro...@waagmeester.co.za wrote:
 Hello all,
 
 What is the best way to install eclipse on FreeBSD 7.2?
 
 On Linux I installed java, and downloaded the newest eclipse.

On FreeBSD, you don't need to download things manually via a web
browser in this old fashioned way. :-)

Have a look at FreeBSD's ports collection. You'll find java/eclipse
as well as many additions to this IDE. You can of course use
the pkg_add -r command to install them, or your favourite port
management program (portmaster, portinstall etc.), or use the
plain method of make install.

There are different versions of Java availabe on FreeBSD. You
can choose between Sun's JDK and the Diablo JDK, and there are
some others.

Sadly, I can't provide much more information because I have up
using Java and Eclipse many years ago. :-(





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems with FreeBSD installation

2009-08-05 Thread Glen Barber
On Wed, Aug 5, 2009 at 5:01 PM, Miguelluis.hen...@gmail.com wrote:
 Hi,

 I've been trying to install FreeBSD in my laptop, but without success.  I
 started with 7.2, but during installation i got the error:

  No disk found!  Please verify that your disk controller...

 Looking at the logs, everything seems fine to me (although its my first time 
 on
 the FreeBSD world).  I get lines such as:

 atapci0: ATI IXP600 SATA300 controller [...]
 atapci0: [ITHREAD]
 atapci0: AHCI Version 01.10 controller with 4 ports detected
 ata2: ATA channel 0 on atapci0
 ata2: [ITHREAD]
 ata3: ATA channel 1 on atapci0
 ata3: [ITHREAD]
 ata4: ATA channel 2 on atapci0
 ata4: [ITHREAD]
 ata5: ATA channel 3 on atapci0
 ata5: [ITHREAD]
 [...]
 atapci1: ATI IPX600 UDMA 133 controller [...]
 ata0: ATA channel 0 on atapci1
 ata0: [ITHREAD]
 [...]

 (Note that i wrote these logs manually -- got some photos that I can upload to
 some URL if needed.)

 So, could not find any issues in the logs, apart from some ACPI errors:

 acpi0_check: nexus0 attached
 acpi0_check: acpi0 not-present
 acpi0_check: acpi0 not-present
 acpi0_check: acpi0 not-present
 acpi0_check: acpi0 not-present
 ...

 in fact, I have some other ACPI-related errors at the beginning of the logs, 
 but
 these are common also on Linux -- I believe these are due to a buggy BIOS, 
 which
 unfortunately I am not able to upgrade since I have not windows installed (I
 have a Toshiba Satellite A210).



[snip]



 acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST
 device_attach: acpi0 attach returned 6
 Timecounters tick every 1.000 msec
 md0: Preload image /boot/mfsroot 4194304 bytes at 0x80fd8660
 SMP: AP CPU #1 Launched!
 WARNING: WITNESS option enabled, expect reduced performance.
 Trying to mount root from ufs:/dev/md0
 warning: no time-of-day clock registered, system time will not be set 
 accurately

 And at this point... nothing else -- system freezes.

 Please let me know if anyone has any suggestions for me to have a FreeBSD
 installation on my laptop.  I am, of course, available to provide any 
 additional
 information you might need to debug the issue.


Can you try booting with ACPI disabled?  It should be option 2 from
the loader menu.


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


Re: Problems with FreeBSD installation

2009-08-05 Thread Miguel
Hi Glen,

On Wed, Aug 5, 2009 at 10:33 PM, Glen Barberglen.j.bar...@gmail.com wrote:
 On Wed, Aug 5, 2009 at 5:01 PM, Miguelluis.hen...@gmail.com wrote:
 Hi,

 I've been trying to install FreeBSD in my laptop, but without success.  I
 started with 7.2, but during installation i got the error:

  No disk found!  Please verify that your disk controller...

 Looking at the logs, everything seems fine to me (although its my first time 
 on
 the FreeBSD world).  I get lines such as:

 atapci0: ATI IXP600 SATA300 controller [...]
 atapci0: [ITHREAD]
 atapci0: AHCI Version 01.10 controller with 4 ports detected
 ata2: ATA channel 0 on atapci0
 ata2: [ITHREAD]
 ata3: ATA channel 1 on atapci0
 ata3: [ITHREAD]
 ata4: ATA channel 2 on atapci0
 ata4: [ITHREAD]
 ata5: ATA channel 3 on atapci0
 ata5: [ITHREAD]
 [...]
 atapci1: ATI IPX600 UDMA 133 controller [...]
 ata0: ATA channel 0 on atapci1
 ata0: [ITHREAD]
 [...]

 (Note that i wrote these logs manually -- got some photos that I can upload 
 to
 some URL if needed.)

 So, could not find any issues in the logs, apart from some ACPI errors:

 acpi0_check: nexus0 attached
 acpi0_check: acpi0 not-present
 acpi0_check: acpi0 not-present
 acpi0_check: acpi0 not-present
 acpi0_check: acpi0 not-present
 ...

 in fact, I have some other ACPI-related errors at the beginning of the logs, 
 but
 these are common also on Linux -- I believe these are due to a buggy BIOS, 
 which
 unfortunately I am not able to upgrade since I have not windows installed (I
 have a Toshiba Satellite A210).



 [snip]



 acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST
 device_attach: acpi0 attach returned 6
 Timecounters tick every 1.000 msec
 md0: Preload image /boot/mfsroot 4194304 bytes at 0x80fd8660
 SMP: AP CPU #1 Launched!
 WARNING: WITNESS option enabled, expect reduced performance.
 Trying to mount root from ufs:/dev/md0
 warning: no time-of-day clock registered, system time will not be set 
 accurately

 And at this point... nothing else -- system freezes.

 Please let me know if anyone has any suggestions for me to have a FreeBSD
 installation on my laptop.  I am, of course, available to provide any 
 additional
 information you might need to debug the issue.


 Can you try booting with ACPI disabled?  It should be option 2 from
 the loader menu.

Yes, I tried that already with same results.

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


Re: Problems with FreeBSD installation

2009-08-05 Thread Glen Barber
On Wed, Aug 5, 2009 at 5:35 PM, Miguelluis.hen...@gmail.com wrote:
 Hi Glen,


 Can you try booting with ACPI disabled?  It should be option 2 from
 the loader menu.

 Yes, I tried that already with same results.


Can you try the installation media on another machine (to rule out a
bad CD or bad burn)?

Also, is it possible to upgrade the BIOS on the problem machine?

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


Re: Problems with FreeBSD installation

2009-08-05 Thread Miguel
On Wed, Aug 5, 2009 at 10:37 PM, Glen Barberglen.j.bar...@gmail.com wrote:
 On Wed, Aug 5, 2009 at 5:35 PM, Miguelluis.hen...@gmail.com wrote:
 Hi Glen,


 Can you try booting with ACPI disabled?  It should be option 2 from
 the loader menu.

 Yes, I tried that already with same results.


 Can you try the installation media on another machine (to rule out a
 bad CD or bad burn)?

The CD image seems to be fine (both of them): I have installed them on a Linux
kvm virtual machine and there were no problems -- both are able to do the
complete installation and I am able to boot the resulting image.

(Sorry, no other physical machines available at the moment.)

 Also, is it possible to upgrade the BIOS on the problem machine?

I would love to upgrade my BIOS but I am unable to do that -- I have not Windows
installed and my vendor requires Windows to be installed in order to perform the
upgrade (yes, I know!  I will never buy another laptop from them!)

I have not tried 8.0-BETA (as someone on the IRC channel suggested) but not sure
if it will make any difference.  As far as I understand, the snapshot I tried is
more recent than 8.0-BETA2.  Or am I wrong?  Is it worth downloading one more
ISO just to try it?

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


Re: eclipse install

2009-08-05 Thread Coert Waagmeester

On Wed, 2009-08-05 at 23:33 +0200, Polytropon wrote:
 On Wed, 05 Aug 2009 23:00:08 +0200, Coert Waagmeester 
 lgro...@waagmeester.co.za wrote:
  Hello all,
  
  What is the best way to install eclipse on FreeBSD 7.2?
  
  On Linux I installed java, and downloaded the newest eclipse.
 
 On FreeBSD, you don't need to download things manually via a web
 browser in this old fashioned way. :-)
 
 Have a look at FreeBSD's ports collection. You'll find java/eclipse
 as well as many additions to this IDE. You can of course use
 the pkg_add -r command to install them, or your favourite port
 management program (portmaster, portinstall etc.), or use the
 plain method of make install.
 
 There are different versions of Java availabe on FreeBSD. You
 can choose between Sun's JDK and the Diablo JDK, and there are
 some others.
 
 Sadly, I can't provide much more information because I have up
 using Java and Eclipse many years ago. :-(
 
 
 
 
 
I tried it via the ports, but this error keeps popping up:
Missing pkg-descr for patch-2.5.9.

And I do not know if it is important enough, but I want to use Eclipse
3.5

At the moment I am installing ports/java/jdk16

And then I'll try to use the download of eclipse 3.5


Thank you so far,
Coert

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


Re: Problems with FreeBSD installation

2009-08-05 Thread Glen Barber
On Wed, Aug 5, 2009 at 5:45 PM, Miguelluis.hen...@gmail.com wrote:
 On Wed, Aug 5, 2009 at 10:37 PM, Glen Barberglen.j.bar...@gmail.com wrote:
 On Wed, Aug 5, 2009 at 5:35 PM, Miguelluis.hen...@gmail.com wrote:
 Hi Glen,


 Can you try booting with ACPI disabled?  It should be option 2 from
 the loader menu.

 Yes, I tried that already with same results.


 Can you try the installation media on another machine (to rule out a
 bad CD or bad burn)?

 The CD image seems to be fine (both of them): I have installed them on a Linux
 kvm virtual machine and there were no problems -- both are able to do the
 complete installation and I am able to boot the resulting image.

 (Sorry, no other physical machines available at the moment.)


That's fine.  At least you know the media / image are working.

 Also, is it possible to upgrade the BIOS on the problem machine?

 I would love to upgrade my BIOS but I am unable to do that -- I have not 
 Windows
 installed and my vendor requires Windows to be installed in order to perform 
 the
 upgrade (yes, I know!  I will never buy another laptop from them!)


No comment. :-)

 I have not tried 8.0-BETA (as someone on the IRC channel suggested) but not 
 sure
 if it will make any difference.  As far as I understand, the snapshot I tried 
 is
 more recent than 8.0-BETA2.  Or am I wrong?  Is it worth downloading one more
 ISO just to try it?


The -BETA, -BETA1, -BETA2 images are run the same way -RELEASE images
are -- once the image is released, there are no further updates to it.
 That is why when you download a -RELEASE, any patches that may have
been released afterwards are not reflected in the install image.

For what it's worth, I tried the -BETA2 image on my laptop, and the
ndis driver was causing panics.  I used 7.2-RELEASE to install the OS,
and rebuilt world/kernel from my build machine using NFS, and the
panics went away.

After rereading your original question, you were using a -CURRENT
snapshot to install -- -BETA2 was released a few weeks ago.  It may
have the problem fixed, yes, but it is not guaranteed.  To answer your
question, is it worth downloading...: that depends.  If you're
willing to waste another CD if it fails, is up to you, but your
problem may be fixed in -BETA2.


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


Re: Problems with FreeBSD installation

2009-08-05 Thread Miguel
On Wed, Aug 5, 2009 at 10:52 PM, Glen Barberglen.j.bar...@gmail.com wrote:
 I have not tried 8.0-BETA (as someone on the IRC channel suggested) but not 
 sure
 if it will make any difference.  As far as I understand, the snapshot I 
 tried is
 more recent than 8.0-BETA2.  Or am I wrong?  Is it worth downloading one more
 ISO just to try it?


 The -BETA, -BETA1, -BETA2 images are run the same way -RELEASE images
 are -- once the image is released, there are no further updates to it.
  That is why when you download a -RELEASE, any patches that may have
 been released afterwards are not reflected in the install image.

 For what it's worth, I tried the -BETA2 image on my laptop, and the
 ndis driver was causing panics.  I used 7.2-RELEASE to install the OS,
 and rebuilt world/kernel from my build machine using NFS, and the
 panics went away.

 After rereading your original question, you were using a -CURRENT
 snapshot to install -- -BETA2 was released a few weeks ago.  It may
 have the problem fixed, yes, but it is not guaranteed.  To answer your
 question, is it worth downloading...: that depends.  If you're
 willing to waste another CD if it fails, is up to you, but your
 problem may be fixed in -BETA2.

Yes, I understand -- just realised that BETA2 is more recent than the snapshot I
tried.  Most probably, I'll just wait until 8.0 is actually released.  My
problem with trying BETA2 is that it will take long time to get it (slow
connection here) and most probably my problem will remain.

Isn't there a way (an easy way, I mean!) to get a custom kernel from freebsd.org
that I could replace in my ISO?

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


Re: eclipse install

2009-08-05 Thread Polytropon
On Wed, 05 Aug 2009 23:53:22 +0200, Coert Waagmeester 
lgro...@waagmeester.co.za wrote:
 I tried it via the ports, but this error keeps popping up:
 Missing pkg-descr for patch-2.5.9.

Seems to be a dependency. As far as I investigated the port's Makefile,
gpatch should be fine, too. Instead of building the (g)patch utility,
you could surely use pkg_add -r (g)patch to install it.

I tried make in devel/patch and it seems to run well. Maybe you try
to install (even build) patch prior to a new make attempt for eclipse.



 And I do not know if it is important enough, but I want to use Eclipse
 3.5

As far as I checked, pkg_add will provide 3.4.? only at the moment.



 And then I'll try to use the download of eclipse 3.5

If it runs on FreeBSD, there should be no problem. If it's a Linux
binary, enable the Linux ABI which should make it run, too.



 Thank you so far,
 Coert

Good luck!


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: eclipse install

2009-08-05 Thread Daniel Underwood
I wish there was a FreeBSD package of the newest version of Eclipse
CDT (or at least ganymede version).  I do my research in Eclipse-CDT
Galileo on multiple Linux systems, and it would be nice to be able to
mess with things occasionally on my FreeBSD box.  Although I can't
recall specifics, I know things (e.g., project settings, makefile
management) are done differently on the newer versions than on the
version in the ports.

If I'm wrong and/or I'm missing something, please, someone tell me.
I'd LOVE to be wrong here :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sshd and dhcp bind to specific address

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 13:11:08 Stefan Miklosovic wrote:

 my pc gets ip address from dhcp server,
 but on my pc, there is running
 sshd.

 I want to make ssh to listen to only one
 ip address, but if ip changes due to dhcp,
 ssh server do not work properly.

 I know, that dhcp is able to assign ip address
 to client from some range e.g. 192.168.0.1-254
 It is possible to do the same with ssh in case
 that it is not possible to do it only with one ip?

 I want a solution which would work every time,
 not only some specific one.

Create a script called /etc/dhclient-exit-hooks. Check the dhclient-script 
manpage for some info on the available variables. From there you can work out 
if $new_ip_address is different from $old_ip_address, rewrite /etc/sshd_config 
with the new ip address and restart sshd.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sshd and dhcp bind to specific address

2009-08-05 Thread Robert Huff

Glen Barber wrote:


my pc gets ip address from dhcp server,
but on my pc, there is running
sshd.

I want to make ssh to listen to only one
ip address, but if ip changes due to dhcp,
ssh server do not work properly.

I know, that dhcp is able to assign ip address
to client from some range e.g. 192.168.0.1-254
It is possible to do the same with ssh in case
that it is not possible to do it only with one ip?



Is this a local network, inside 192.168.0.0/24 ?  Are you able to
configure a static IP for this machine?

If not, I wrote a little script that runs every 15 minutes via cron(8)
which gets my IP address, performs a diff(1) against a static file
containing the current IP.  If the IP is different, it mails me the
new IP.  However, this assumes that outside access is the problem,
not internal access.


	I have a set of scripts I run when I know I have been handed a 
different address; they're not pretty, but they change the IP for 
sshd.conf and various stuff in bind.



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


Re: Problems with FreeBSD installation

2009-08-05 Thread Glen Barber
On Wed, Aug 5, 2009 at 6:10 PM, Miguelluis.hen...@gmail.com wrote:
 Yes, I understand -- just realised that BETA2 is more recent than the 
 snapshot I
 tried.  Most probably, I'll just wait until 8.0 is actually released.  My
 problem with trying BETA2 is that it will take long time to get it (slow
 connection here) and most probably my problem will remain.


Possible that it will remain - more probable that it has been fixed though.

 Isn't there a way (an easy way, I mean!) to get a custom kernel from 
 freebsd.org
 that I could replace in my ISO?


Not that I am aware of.

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


Re: eclipse install

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 13:53:22 Coert Waagmeester wrote:

 I tried it via the ports, but this error keeps popping up:
 Missing pkg-descr for patch-2.5.9.

I believe you have a defective ports tree. You should have the following file:
SHA256 (/usr/ports/devel/patch/pkg-descr) = 
629097523839c5e305a4115c1b3629029b734166e5ff8f73923812e0149e9912

If you do not, then try updating your ports tree and look for errors/warnings 
with whatever method you're using.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems with FreeBSD installation

2009-08-05 Thread Miguel
On Wed, Aug 5, 2009 at 11:48 PM, Glen Barberglen.j.bar...@gmail.com wrote:
 On Wed, Aug 5, 2009 at 6:10 PM, Miguelluis.hen...@gmail.com wrote:
 Yes, I understand -- just realised that BETA2 is more recent than the 
 snapshot I
 tried.  Most probably, I'll just wait until 8.0 is actually released.  My
 problem with trying BETA2 is that it will take long time to get it (slow
 connection here) and most probably my problem will remain.


 Possible that it will remain - more probable that it has been fixed though.

Hmm... Ok, I will try it then.  Not sure if I am able to do this
today, but I try it.

 Isn't there a way (an easy way, I mean!) to get a custom kernel from 
 freebsd.org
 that I could replace in my ISO?


 Not that I am aware of.

Right, I could not find it too.

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


qt4 issue

2009-08-05 Thread Tsu-Fan Cheng
Hi,
   just update ports today and found out qt4 splitting into more ports. I am
not sure why I install qt4 in the first place, and I don't run KDE. Can
someone remind me of possible use of qt4 in a system? And, the only
necessary qt I need is qt-copy, which is deported, I guess. How can I fix
this?? thx


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


Re: Moxa 8-port serial multiplexor, how-to

2009-08-05 Thread Tim Judd
On 7/29/09, Doug Poland d...@polands.org wrote:
 On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote:

 At Fri, 24 Jul 2009 10:32:52 -0500,
 Doug Poland wrote:
 Hello,

 I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card
 working in 7.2-RELEASE(i386).

 I've recompiled a GENERIC kernel with

   options COM_MULTIPORT

 and loaded the puc(4) module.  I don't have any new ttyd? or cuad?
 devices in /dev.

 After reading the handbook(26.2) and man puc(4), sio(4).  man sio(4)
 talks about adding /boot/device.hints but not for my particular
 hardware.  I'm at a loss on how to continue.

 Suggestions, pointers, URLs welcome.


 Hi.

 If you want to load the puc(4) driver as a loadable module, you should
 load the sio(4) or uart(4) driver module as well.  But these drivers
 are included in the GENERIC kernel.  So you should to remove sio(4) or
 uart(4) from the kernel and load it as a loadable module.

 The other solution is to builtin the puc(4) driver to the
 kernel. i.e.:

  sio(4)  puc(4)  status
  or uart(4)
  
  module  module  work
  builtin builtin work
  builtin module  not work - current choice?
  module  builtin not work
  
  (module = loadable module, builtin = kernel builtin)

 Other modifications will not be needed for PCI multiport cards.

 I removed devices sio and uart from my kernel, loaded them as modules
 in /boot/loader.conf, and now I have 8 additional cuad? devices!

 Many thanks for your help.

 --
 Regards,
 Doug


Trying to help a buddy who also has a Moxa multiport serial card.  He
followed this thread and isn't seeing the same success

Doug,
can I get the following in a pastebin or in this thread?

pciconf -lvvv



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


Re: Problems with FreeBSD installation

2009-08-05 Thread Miguel
On Wed, Aug 5, 2009 at 11:48 PM, Glen Barberglen.j.bar...@gmail.com wrote:
 On Wed, Aug 5, 2009 at 6:10 PM, Miguelluis.hen...@gmail.com wrote:
 Yes, I understand -- just realised that BETA2 is more recent than the 
 snapshot I
 tried.  Most probably, I'll just wait until 8.0 is actually released.  My
 problem with trying BETA2 is that it will take long time to get it (slow
 connection here) and most probably my problem will remain.


 Possible that it will remain - more probable that it has been fixed though.

Ok, some updates: I downloaded 8.0-BETA2 ISO and the result was exactly the
same, i.e., system freezes during CD boot in the same point as before.  This
time I did not actually tried to install the CD on a virtual machine, but I can
not believe it is a problem with the CD image ;-)

This time I disabled _everything_ I could disable in my BIOS and selected
several options from the boot manager: the default option, the option with ACPI
disabled, the option safe-mode (or something like that...) and finally the
verbose option, which gave me some more information.  Here's the last messages
I see in the console before freeze:

start_init: trying /sbin/init
start_init: trying /sbin/oinit
start_init: trying /sbin/init.bak
start_init: trying /rescue/init
start_init: trying /stand/sysinstall

And that's all.  Any ideas? :-(

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


Re: Moxa 8-port serial multiplexor, how-to

2009-08-05 Thread Doug Poland
On Wed, Aug 05, 2009 at 05:54:30PM -0600, Tim Judd wrote:
 On 7/29/09, Doug Poland d...@polands.org wrote:
  On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote:
 
  At Fri, 24 Jul 2009 10:32:52 -0500,
  Doug Poland wrote:
  Hello,
 
  I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card
  working in 7.2-RELEASE(i386).
 
  I've recompiled a GENERIC kernel with
 
options COM_MULTIPORT
 
  and loaded the puc(4) module.  I don't have any new ttyd? or cuad?
  devices in /dev.
 
  After reading the handbook(26.2) and man puc(4), sio(4).  man
  sio(4) talks about adding /boot/device.hints but not for my
  particular hardware.  I'm at a loss on how to continue.
 
  Suggestions, pointers, URLs welcome.
 
 
  Hi.
 
  If you want to load the puc(4) driver as a loadable module, you
  should load the sio(4) or uart(4) driver module as well.  But these
  drivers are included in the GENERIC kernel.  So you should to
  remove sio(4) or uart(4) from the kernel and load it as a loadable
  module.
 
  The other solution is to builtin the puc(4) driver to the
  kernel. i.e.:
 
 sio(4)  puc(4)  status
 or uart(4)
 
 module  module  work
 builtin builtin work
 builtin module  not work - current choice?
 module  builtin not work
 
 (module = loadable module, builtin = kernel builtin)
 
  Other modifications will not be needed for PCI multiport cards.
 
  Watanabe,
 
  I removed devices sio and uart from my kernel, loaded them as
  modules in /boot/loader.conf, and now I have 8 additional cuad?
  devices!
 
 
 Trying to help a buddy who also has a Moxa multiport serial card.  He
 followed this thread and isn't seeing the same success
 
 Doug,
 can I get the following in a pastebin or in this thread?
 
 pciconf -lvvv
 
Certainly...

hos...@pci0:0:0:0:  class=0x06 card=0x01511028 chip=0x25708086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface'
class  = bridge
subclass   = HOST-PCI
vgap...@pci0:0:2:0: class=0x03 card=0x01511028 chip=0x25728086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82865G Integrated Graphics Device'
class  = display
subclass   = VGA
uh...@pci0:0:29:0:  class=0x0c0300 card=0x01511028 chip=0x24d28086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
class  = serial bus
subclass   = USB
uh...@pci0:0:29:1:  class=0x0c0300 card=0x01511028 chip=0x24d48086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
class  = serial bus
subclass   = USB
uh...@pci0:0:29:2:  class=0x0c0300 card=0x01511028 chip=0x24d78086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
class  = serial bus
subclass   = USB
uh...@pci0:0:29:3:  class=0x0c0300 card=0x01511028 chip=0x24de8086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
class  = serial bus
subclass   = USB
eh...@pci0:0:29:7:  class=0x0c0320 card=0x01511028 chip=0x24dd8086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller'
class  = serial bus
subclass   = USB
pc...@pci0:0:30:0:  class=0x060400 card=0x chip=0x244e8086 rev=0xc2 
hdr=0x01
vendor = 'Intel Corporation'
device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface 
to PCI Bridge'
class  = bridge
subclass   = PCI-PCI
is...@pci0:0:31:0:  class=0x060100 card=0x chip=0x24d08086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge'
class  = bridge
subclass   = PCI-ISA
atap...@pci0:0:31:1:class=0x01018a card=0x01511028 chip=0x24db8086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801EB/ER (ICH5/ICH5R) EIDE Controller'
class  = mass storage
subclass   = ATA
atap...@pci0:0:31:2:class=0x01018f card=0x01511028 chip=0x24d18086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801EB (ICH5) SATA Controller'
class  = mass storage
subclass   = ATA
no...@pci0:0:31:3:  class=0x0c0500 card=0x01511028 chip=0x24d38086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801EB/ER (ICH5/ICH5R) SMBus Controller'
class  = serial bus
subclass   = SMBus
no...@pci0:0:31:5:  class=0x040100 card=0x01511028 chip=0x24d58086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
device = '815B104D 

Re: Moxa 8-port serial multiplexor, how-to

2009-08-05 Thread Tim Judd
On 8/5/09, Doug Poland d...@polands.org wrote:
 On Wed, Aug 05, 2009 at 05:54:30PM -0600, Tim Judd wrote:
 On 7/29/09, Doug Poland d...@polands.org wrote:
  On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote:
 
  At Fri, 24 Jul 2009 10:32:52 -0500,
  Doug Poland wrote:
  Hello,
 
  I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card
  working in 7.2-RELEASE(i386).
 
  I've recompiled a GENERIC kernel with
 
options COM_MULTIPORT
 
  and loaded the puc(4) module.  I don't have any new ttyd? or cuad?
  devices in /dev.
 
  After reading the handbook(26.2) and man puc(4), sio(4).  man
  sio(4) talks about adding /boot/device.hints but not for my
  particular hardware.  I'm at a loss on how to continue.
 
  Suggestions, pointers, URLs welcome.
 
 
  Hi.
 
  If you want to load the puc(4) driver as a loadable module, you
  should load the sio(4) or uart(4) driver module as well.  But these
  drivers are included in the GENERIC kernel.  So you should to
  remove sio(4) or uart(4) from the kernel and load it as a loadable
  module.
 
  The other solution is to builtin the puc(4) driver to the
  kernel. i.e.:
 
sio(4)  puc(4)  status
or uart(4)

module  module  work
builtin builtin work
builtin module  not work - current choice?
module  builtin not work

(module = loadable module, builtin = kernel builtin)
 
  Other modifications will not be needed for PCI multiport cards.
 
  Watanabe,
 
  I removed devices sio and uart from my kernel, loaded them as
  modules in /boot/loader.conf, and now I have 8 additional cuad?
  devices!
 

 Trying to help a buddy who also has a Moxa multiport serial card.  He
 followed this thread and isn't seeing the same success

 Doug,
 can I get the following in a pastebin or in this thread?

 pciconf -lvvv

 Certainly...

 hos...@pci0:0:0:0:class=0x06 card=0x01511028 chip=0x25708086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface'
 class  = bridge
 subclass   = HOST-PCI
 vgap...@pci0:0:2:0:   class=0x03 card=0x01511028 chip=0x25728086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82865G Integrated Graphics Device'
 class  = display
 subclass   = VGA
 uh...@pci0:0:29:0:class=0x0c0300 card=0x01511028 chip=0x24d28086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
 class  = serial bus
 subclass   = USB
 uh...@pci0:0:29:1:class=0x0c0300 card=0x01511028 chip=0x24d48086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
 class  = serial bus
 subclass   = USB
 uh...@pci0:0:29:2:class=0x0c0300 card=0x01511028 chip=0x24d78086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
 class  = serial bus
 subclass   = USB
 uh...@pci0:0:29:3:class=0x0c0300 card=0x01511028 chip=0x24de8086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
 class  = serial bus
 subclass   = USB
 eh...@pci0:0:29:7:class=0x0c0320 card=0x01511028 chip=0x24dd8086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller'
 class  = serial bus
 subclass   = USB
 pc...@pci0:0:30:0:class=0x060400 card=0x chip=0x244e8086 rev=0xc2
 hdr=0x01
 vendor = 'Intel Corporation'
 device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub
 Interface to PCI Bridge'
 class  = bridge
 subclass   = PCI-PCI
 is...@pci0:0:31:0:class=0x060100 card=0x chip=0x24d08086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge'
 class  = bridge
 subclass   = PCI-ISA
 atap...@pci0:0:31:1:  class=0x01018a card=0x01511028 chip=0x24db8086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82801EB/ER (ICH5/ICH5R) EIDE Controller'
 class  = mass storage
 subclass   = ATA
 atap...@pci0:0:31:2:  class=0x01018f card=0x01511028 chip=0x24d18086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82801EB (ICH5) SATA Controller'
 class  = mass storage
 subclass   = ATA
 no...@pci0:0:31:3:class=0x0c0500 card=0x01511028 chip=0x24d38086 rev=0x02
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82801EB/ER (ICH5/ICH5R) SMBus Controller'
 class  = serial bus
 subclass   = SMBus
 no...@pci0:0:31:5:class=0x040100 card=0x01511028 chip=0x24d58086 rev=0x02
 

Re: Moxa 8-port serial multiplexor, how-to

2009-08-05 Thread Doug Poland
On Wed, Aug 05, 2009 at 06:34:45PM -0600, Tim Judd wrote:
 On 8/5/09, Doug Poland d...@polands.org wrote:
  On Wed, Aug 05, 2009 at 05:54:30PM -0600, Tim Judd wrote:
  On 7/29/09, Doug Poland d...@polands.org wrote:
   On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote:
  
   At Fri, 24 Jul 2009 10:32:52 -0500,
   Doug Poland wrote:
   Hello,
  
   I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card
   working in 7.2-RELEASE(i386).
  
   I've recompiled a GENERIC kernel with
  
 options COM_MULTIPORT
  
   and loaded the puc(4) module.  I don't have any new ttyd? or cuad?
   devices in /dev.
  
   After reading the handbook(26.2) and man puc(4), sio(4).  man
   sio(4) talks about adding /boot/device.hints but not for my
   particular hardware.  I'm at a loss on how to continue.
  
   Suggestions, pointers, URLs welcome.
  
  
   Hi.
  
   If you want to load the puc(4) driver as a loadable module, you
   should load the sio(4) or uart(4) driver module as well.  But
   these drivers are included in the GENERIC kernel.  So you should
   to remove sio(4) or uart(4) from the kernel and load it as a
   loadable module.
  
   The other solution is to builtin the puc(4) driver to the
   kernel. i.e.:
  
   sio(4)  puc(4)  status
   or uart(4)
   
   module  module  work
   builtin builtin work
   builtin module  not work - current choice?
   module  builtin not work
   
   (module = loadable module, builtin = kernel builtin)
  
   Other modifications will not be needed for PCI multiport cards.
  
   Watanabe,
  
   I removed devices sio and uart from my kernel, loaded them as
   modules in /boot/loader.conf, and now I have 8 additional cuad?
   devices!
  
 
  Trying to help a buddy who also has a Moxa multiport serial card.
  He followed this thread and isn't seeing the same success
 
  Doug,
  can I get the following in a pastebin or in this thread?
 
  pciconf -lvvv
 
  Certainly...
 
  hos...@pci0:0:0:0:  class=0x06 card=0x01511028 chip=0x25708086 rev=0x02
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface'
  class  = bridge
  subclass   = HOST-PCI
  vgap...@pci0:0:2:0: class=0x03 card=0x01511028 chip=0x25728086 rev=0x02
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82865G Integrated Graphics Device'
  class  = display
  subclass   = VGA
  uh...@pci0:0:29:0:  class=0x0c0300 card=0x01511028 chip=0x24d28086 rev=0x02
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
  class  = serial bus
  subclass   = USB
  uh...@pci0:0:29:1:  class=0x0c0300 card=0x01511028 chip=0x24d48086 rev=0x02
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
  class  = serial bus
  subclass   = USB
  uh...@pci0:0:29:2:  class=0x0c0300 card=0x01511028 chip=0x24d78086 rev=0x02
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
  class  = serial bus
  subclass   = USB
  uh...@pci0:0:29:3:  class=0x0c0300 card=0x01511028 chip=0x24de8086 rev=0x02
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller'
  class  = serial bus
  subclass   = USB
  eh...@pci0:0:29:7:  class=0x0c0320 card=0x01511028 chip=0x24dd8086 rev=0x02
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller'
  class  = serial bus
  subclass   = USB
  pc...@pci0:0:30:0:  class=0x060400 card=0x chip=0x244e8086 rev=0xc2
  hdr=0x01
  vendor = 'Intel Corporation'
  device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub
  Interface to PCI Bridge'
  class  = bridge
  subclass   = PCI-PCI
  is...@pci0:0:31:0:  class=0x060100 card=0x chip=0x24d08086 rev=0x02
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge'
  class  = bridge
  subclass   = PCI-ISA
  atap...@pci0:0:31:1:class=0x01018a card=0x01511028 chip=0x24db8086 
  rev=0x02
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82801EB/ER (ICH5/ICH5R) EIDE Controller'
  class  = mass storage
  subclass   = ATA
  atap...@pci0:0:31:2:class=0x01018f card=0x01511028 chip=0x24d18086 
  rev=0x02
  hdr=0x00
  vendor = 'Intel Corporation'
  device = '82801EB (ICH5) SATA Controller'
  class  = mass storage
  subclass   = ATA
  no...@pci0:0:31:3:  class=0x0c0500 card=0x01511028 chip=0x24d38086 rev=0x02
  

Re: Problems with FreeBSD installation

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 13:01:30 Miguel wrote:
 Hi,

 I've been trying to install FreeBSD in my laptop, but without success.  I
 started with 7.2, but during installation i got the error:

   No disk found!  Please verify that your disk controller...

 Looking at the logs, everything seems fine to me (although its my first
 time on the FreeBSD world).  I get lines such as:

 atapci0: ATI IXP600 SATA300 controller [...]
 atapci0: [ITHREAD]
 atapci0: AHCI Version 01.10 controller with 4 ports detected
 ata2: ATA channel 0 on atapci0
 ata2: [ITHREAD]
 ata3: ATA channel 1 on atapci0
 ata3: [ITHREAD]
 ata4: ATA channel 2 on atapci0
 ata4: [ITHREAD]
 ata5: ATA channel 3 on atapci0
 ata5: [ITHREAD]
 [...]
 atapci1: ATI IPX600 UDMA 133 controller [...]
 ata0: ATA channel 0 on atapci1
 ata0: [ITHREAD]
 [...]

 (Note that i wrote these logs manually -- got some photos that I can upload
 to some URL if needed.)

 So, could not find any issues in the logs, apart from some ACPI errors:

 acpi0_check: nexus0 attached
 acpi0_check: acpi0 not-present
 acpi0_check: acpi0 not-present
 acpi0_check: acpi0 not-present
 acpi0_check: acpi0 not-present
 ...

 in fact, I have some other ACPI-related errors at the beginning of the
 logs, but these are common also on Linux -- I believe these are due to a
 buggy BIOS, which unfortunately I am not able to upgrade since I have not
 windows installed (I have a Toshiba Satellite A210).

 Anyway, I decided to try a more recent version of FreeBSD and downloaded

   8.0-CURRENT-200906-amd64-disc1.iso

 which was the most recent snapshot for my Turion64 processor.

 Tried to boot it but this time the installation just freeze before the
 install application event starts.  Last log lines are:

 acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST
 device_attach: acpi0 attach returned 6
 Timecounters tick every 1.000 msec
 md0: Preload image /boot/mfsroot 4194304 bytes at 0x80fd8660
 SMP: AP CPU #1 Launched!
 WARNING: WITNESS option enabled, expect reduced performance.
 Trying to mount root from ufs:/dev/md0
 warning: no time-of-day clock registered, system time will not be set
 accurately

 And at this point... nothing else -- system freezes.

 Please let me know if anyone has any suggestions for me to have a FreeBSD
 installation on my laptop.  I am, of course, available to provide any
 additional information you might need to debug the issue.

Your best bet is to poll the mobile list (CC'd) to see if anyone was able to 
get FreeBSD working on this laptop (or even to know whether this is a lost 
cause till somebody makes some patches for this laptop). Since 7.2 also does 
not work and with 8.0-RELEASE being in it's final stages, it's unlikely you 
can get some priority from the developers for it being a regression bug. The 
acpi and missing disk can be related (most likely are), but unless you get at 
least a live FS working (even the USB image for 8.0-BETA2) it will be hard to 
get an acpidump(8). So this really depends on someone knowledgeable having 
this laptop or BIOS tricks that get you to a stage where more info can be 
gathered and saved/snapshot.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Opera in your repos

2009-08-05 Thread Frank Shute
On Wed, Aug 05, 2009 at 07:43:05AM -0800, Mel Flynn wrote:

[snip]
 
 Well, we can start to agree that FreeBSD is not a distro, but a UNIX 
 operating system. :)

We can't quite agree on that ;)

BSD=Berkeley Software Distribution AKA distro of Unix

At least the OP didn't make the faux pas of calling FreeBSD a Linux
distro like one of his colleagues did a couple of years ago on this
list.

He'll also be relieved to know that plenty of people use Opera on
FreeBSD.

I'd point him to bsdstats for some numbers but it doesn't seem very
functional ATM.

[snip]

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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


Re: foot-shot?

2009-08-05 Thread Gary Kline
On Wed, Aug 05, 2009 at 10:40:38AM -0700, Gary Kline wrote:
 
   Hm.  Last night mutt began to fail to sent mail; it exited with a
   127.  When I tried to rebuilt mutt, turns out that I'm missing
   GNU m4... .  I'll paste the build snafus after my sig here on my 
   server.  Ideas how things got hosed?  anybody?
 
[[ ... ]]

  
 
 ===  Configuring for mutt-1.4.2.3_3
 /usr/local/share/aclocal/soup.m4:7: warning: underquoted definition of
 AM_PATH_SOUP

foo, bar, baz ...
 


Well, gents [*],

Somehow my installed world got partially deleted and to save myself
further grief, I rebuilt everything.  *Then* rebuilt mutt.  portmaster 
gets stuck on the java stuff because we still hasta fetch it ourselves.
I thought Sun was going to fix that.  In any case, my diablo-jdk16
timezone file is MIA, so I'm wedged  as far as further upgrading goes.


Been thinking over what someone said recently about restricting or
dropping further ports.  BSD is the best opensource system around.  But
keeping everything current is painful.  Does anybody know if PCBSD is as
pushbutton as, say, Ubuntu is?  I'll always use FreeBSD on my DNS,
apache22, and mail server side.  Zero crashes in 7 years.  But if I want
to play music or watch a DVD--or do serious web video stuff--I use 
Ubuntu.
I'd like to say kilowatts by having one tao that can handle everything
from hacking code to playing a movie.

There is the talent here to fix the fixable ...  at the same time, we've
all got real lives, jobs, school, families, etc.  And a limited 
volunteer
base.   ...That's my dime's worth.

gary





[*] to spare raging replies, no, i am not a sexist/chauvinist.  Only
30 years ago about a third of my computer class was female.  Not to
mention some drop-dead blondes in my ckt theory class... .
I mean, some serious female EE talent there! :-)  ...  Now?? dunno.

[?]
:-(

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

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


  1   2   >