Re: make release of current

2008-11-27 Thread Beech Rintoul
On Wednesday 26 November 2008 22:54:35 Valentin Bud wrote:
 Hello Beech,

 Could you be more specific on what documentation to read.

 thank you and a great day,
 v

 On Thu, Nov 27, 2008 at 8:20 AM, Beech Rintoul [EMAIL PROTECTED] wrote:
  On Wednesday 26 November 2008 20:40:21 michael wrote:
  will make release work for current? i've built a nice working system
  that i would like to be able to install on several identical machines.
 
  Yes, but read all the docs completely there are a number of options you
  need, like telling it to use your source tree instead of CVS and if you
  want to build packages etc.
 
  Beech

A good place to start is man (7) release.

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---




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


pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1
What pf or ipf firewall keep-state rules needed to allow p2p application 
such as limewire through? Using same firewall rules as in handbook example.

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


Re: large binary, why not strip ?

2008-11-27 Thread Bruce Cran
On Thu, 27 Nov 2008 07:32:23 +
Matthew Seaman [EMAIL PROTECTED] wrote:

 Paul B. Mahol wrote:
  On 11/26/08, Matthew Seaman [EMAIL PROTECTED] wrote:
  Matthew Seaman wrote:
  Kris Kennaway wrote:
 
  Bonus points if you come up with a patch to do this: in most
  cases it will be a simple matter of changing the port's
  do-install: target to use INSTALL_* macros instead of cp/bsdtar
  etc.  This would be a good project to get some familiarity with
  the ports tree.
  Would it be worthwhile to add a test and warning that all
  installed binaries
  have not been stripped to the 'security-check' target in
  bsd.port.mk? That's
  not really what that target was intended for (feeping creaturism
  alert!) but
  it's the obvious place to put such a test.
 
  Probably cleaner to create a whole new target, but that's going to
  duplicate
  some code.
 
  H... I shall work up some patches, probably over the weekend,
  so there's
  something substantive to talk about.
  Done: ports/129210
 
  For the record, I also discovered that, contrary to what I said
  earlier, there is  apparently one class of binary object that will
  not work correctly if stripped: kernel loadable modules.
  
  Kernel loadable modules are already stripped (--strip-debug).
  
 
 KLDs aren't stripped in a way that file(1) recognises:
 
 happy-idiot-talk:/boot/kernel:% file if_em.ko 
 if_em.ko: ELF 32-bit LSB shared object, Intel 80386, version 1
 (FreeBSD), dynamically linked, not stripped
 
 Unfortunately file(1) seems to be about the only tool available to
 test a priori whether a binary object is stripped or not.  It's
 possible that objdump(1) or readelf(1) could do a similar thing, but
 I can't work it out from those man pages.

It seems nm also tells you fairly simply whether a file contains
symbols or not: 

 nm /bin/ls
nm: /bin/ls: no symbols
 nm /usr/local/bin/a2p
004030d0 T Myfatal
00510308 D No
0051a200 B Str
00510300 D Yes
00519e00 A _DYNAMIC
[...]

KLD .ko files are built with full debug data but the source
information (filenames, line numbers etc.) is stripped out into
separate .ko.symbols files, in a similar way that Windows uses .PDB
files; it lets you store the debug information separately and only
match them up if something goes wrong.

To see if a binary contains source data, you can run 'readelf
-w'; no output seems to mean it couldn't find any data.

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


Limewire package install error

2008-11-27 Thread Fbsd1
Tried to pkg_add -r limewire.  Dependant diablo-jdk-1.6.0.07.02.tbz File 
unavailable.  The package diablo-jdk is not on 7.0 or 7.1 pkg server.


Looking up diablo-jdk on the ports website, the long description points 
to here http://www.freebsdfoundation.org/downloads/java.shtml


How am i to get these mis-matched package names to fulfill the limewire 
dependent name?


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


Re: Limewire package install error

2008-11-27 Thread Ott Köstner

Fbsd1 wrote:
Tried to pkg_add -r limewire.  Dependant diablo-jdk-1.6.0.07.02.tbz 
File unavailable.  The package diablo-jdk is not on 7.0 or 7.1 pkg 
server.


Looking up diablo-jdk on the ports website, the long description 
points to here http://www.freebsdfoundation.org/downloads/java.shtml


Just tried to install from ports. Try to install diablo-jdk first from 
ports. There is a file

tzupdater-1_3_9-2008g.zip
which should be downloaded directly from Sun, first creating your 
personal account @Sun. If diablo-jdk is OK, Limewire should be no problem.


Check:
# pkg_version -v|grep diablo
diablo-jdk-1.6.0.07.02_2=   up-to-date with port

-

# cd /usr/ports/net-p2p/limewire

# make
===  Vulnerability check disabled, database not found
= LimeWireOther.zip doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from http://www10.limewire.com/download/.
LimeWireOther.zip 100% of9 MB  315 kBps 
00m00s

===  Extracting for limewire-4.18.8,1
= MD5 Checksum OK for LimeWireOther.zip.
= SHA256 Checksum OK for LimeWireOther.zip.
===   limewire-4.18.8,1 depends on executable: unzip - found
===  Patching for limewire-4.18.8,1
===  Configuring for limewire-4.18.8,1

# make install
===  Installing for limewire-4.18.8,1
===   limewire-4.18.8,1 depends on executable: java - found
===   limewire-4.18.8,1 depends on file: 
/usr/local/diablo-jdk1.6.0/bin/java - found

===   Generating temporary packing list
===  Checking if net-p2p/limewire already installed
install  -o root -g wheel -m 555 
/usr/ports/net-p2p/limewire/work/limewire.sh /usr/local/bin/limewire

/bin/mkdir -p /usr/local/share/java/limewire
/bin/cp -R /usr/ports/net-p2p/limewire/work/LimeWire/* 
/usr/local/share/java/limewire/

/bin/mkdir -p /usr/local/share/doc/limewire
install  -o root -g wheel -m 444 
/usr/ports/net-p2p/limewire/work/README.txt /usr/local/share/doc/limewire/

===   Registering installation for limewire-4.18.8,1


Greetings,
O.K.


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


Re: firewall rules for bitlord, yahoo, limewire

2008-11-27 Thread Wojciech Puchar

because historically ISPs used those ports for throttling.


+1 . skype does the same thing. and it's p2p too , although a lot less so 
than limewire.


well ther are excellent method to block skype when using HTTP proxy not 
NAT ;) (skype can do through proxy)


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


Re: firewall rules for bitlord, yahoo, limewire

2008-11-27 Thread Wojciech Puchar

Yeah. Limewire is written in Java (iirc), which makes it extremely
easy to port it to any system that can run java.


for P2P sharing rtorrent (/usr/ports/net-p2p/rtorrent) works excellent
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Limewire package install error

2008-11-27 Thread Andrew D

Fbsd1 wrote:

Andrew D wrote:

Fbsd1 wrote:
Tried to pkg_add -r limewire.  Dependant diablo-jdk-1.6.0.07.02.tbz 
File unavailable.  The package diablo-jdk is not on 7.0 or 7.1 pkg 
server.


Looking up diablo-jdk on the ports website, the long description 
points to here http://www.freebsdfoundation.org/downloads/java.shtml


How am i to get these mis-matched package names to fulfill the 
limewire dependent name?




You do realise you don't have to install it using a pkg.  you can 
'make install' it in /usr/ports/java/diablo-jdk16


:)



You do realize that I don't want to full around with compiling port 
source. That is the whole reason behind the package system. I am looking 
for answer to error in the package install of limewire and it's 
dependent diablo-jdk.




I do now, with the cross-post It seemed like you wanted it done fairly 
quickly   :)





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


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


November News

2008-11-27 Thread People Compare

Peoplecompare.co.uk - Call 0115 852 47 48

View this email in a web browser:
http://newsletters.e-shot.net/viewwithtoken.asp?6B%2FFISoQvLulndO%2F%3F

Forward to a friend:
http://control.e-shot.net/ForwardToFriend.asp?6B%2FFISoQvLulndO%2F%3F

---

November Newsletter 2008

VERSION 2 NOW LAUNCHES

Version 2 of the peoplecompare site is now live. 

Aswell as the obvious visual improvements to the site there is new 
functionality being programmed as you read, including:- 

CV distribution, interim and contract account types, video media hosting and 
much more!

http://control.e-shot.net//le35.asp?263:1:56076:41



WIN A TRIP TO THE BIG APPLE!

To further encourage further traffic, Peoplecompare are offering a lucky winner 
the opportunity to win a trip to New York City!  The client who posts the 
10,000 job through the site to our network will win the break for 2 and £1000 
spending money. 

This is a great incentive and proving popular amongst the users who have 
provided feedback.

*linkpath*



National TV Campaign hits the Screens!

Its taken a while but at last the peoplecompare brand has hit TV screens across 
the UK. 

The first advert aired this weekend on Sky News and increased site traffic 
significantly resulting in many fresh enquiries. 

The promotion will also be showing on E4, Dave, Bloomberg, The Business Channel 
and Sky News in the coming week.

If you want to preview the advert, please click the link below.
 

http://control.e-shot.net//le35.asp?263:3:56076:41




Why not read our Blog? http://peoplecompare.blogspot.com/

---
People Compare Ltd, 15 Wheeler Gate, Nottingham NG1 2NE.
Registered in England  Wales: 06546591
Tel: 0845 652 1634
This message was sent to [EMAIL PROTECTED]; We hope you found it relevant. 
However, if you'd rather not receive future e-mails from us, please visit the 
opt-out link by clicking 
http://control.e-shot.net/ManageProfile.asp?6B%2FFISoQvLulndO%2F%3F

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


freebsd-update

2008-11-27 Thread gahn
Hi, all:

i did freebsd-update fetch and i got message:

No updates needed to update system to 6.3-RELEASE-p6

what does that suppose to mean? My current system (this one is online) is p4.

Thanks all.


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


Re: freebsd-update

2008-11-27 Thread Gabriel Lavoie
I've also got some problem with freebsd-update, under 7.0. I installed them
to update to 7.0-RELEASE-p6 and when I fetch them again I get the following:

[EMAIL PROTECTED] /home/wildchild]# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be updated as part of updating to 7.0-RELEASE-p6:
/boot/kernel/linker.hints

If I install and fetch them over and over again, this file will always
appear as needing an update.

Gabriel

2008/11/26 gahn [EMAIL PROTECTED]

 Hi, all:

 i did freebsd-update fetch and i got message:

 No updates needed to update system to 6.3-RELEASE-p6

 what does that suppose to mean? My current system (this one is online) is
 p4.

 Thanks all.



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




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


Re: Installing FreeBSD

2008-11-27 Thread Roland Smith
On Wed, Nov 26, 2008 at 07:11:56PM -0800, Rommel Tan wrote:
 [EMAIL PROTECTED] [EMAIL PROTECTED]
 Dear Sir/Madam:
 Pleasant day!
 First of all, sorry if this enquiry shouldn’t be directed to you,
 please help me direct to the right person. 

The questions mailing list is OK.

 Few months ago I’ve purchase a FreeBSD book which includes an
 installation DVD for FreeBSD 6.1. I tried to install it in my Toshiba
 Satellite, Intel Centrino with current Windows XP SP3 OS after doing
 some partition. But, I’m stock with boot error; sorry I’m very new to
 this system; I tried to search for an answer but no to avail.

 Here is the last part of the error:
 .
 Pci6: ACPI PCI bus on pcib2
 Pci6: network at device 2.0 (no driver attached)
 Cbb0: PCI-CArdBus Bridge eme 0x8007000-0xb8007fff irq 16 at device 4.0 on 
 pci6
 Cardbus0: CardBus bus on cbb0
 Pccard0: 16-bit PCCard on cbb0
 Fwohci0: 1394 Open Host Controller Interface mem 
 0xb8008000-0xb80087ff,0xb80-0xb8003fff irq 18 at device 4.2 on pci6
 Fwohci0: OHCI version 1.10 (ROM=0)
 Fwohci0: No. Of Isochronous channels is 4.
 Fwohci0: EUI64 00:02:3f:58:69:40:a5:e6
 NMI ISA b0, EISA ff

Have a look at the following line. It tells you what is wrong.

 RAM parity error, likely hardware failure.

Your Random Access Memory is broken. This is a hardware failure and not
something that FreeBSD can fix. Try replacing the RAM modules.

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)


pgpy7dt3wFYrL.pgp
Description: PGP signature


APIC error

2008-11-27 Thread Da Rock
This is occurring on a linux system, but from my investigations it
wouldn't be limited to just this OS. Therefore, I come seeking wisdom
from some real gurus... only kidding. But the collective experience here
in sysadmin is greater than the experience of desktop users found on
linux lists.

I checked my dmesg today on a system which I know is failing, and found
a message regarding an apic error on cpu1 00(40). The system is a dual
core pentium.

I know the system is failing because I'm getting usb enumeration errors
(something that has come up twice before on dying systems, and has
disappeared as soon as I bought a new one), plus acpi errors in the form
of being unable to attach device data.

I understand this software unable to cope with interrupts at the cpu,
and can mean hardware failure or bad software. But given my hardware
issues I'm fairly certain its the former. My biggest question is where?
How does it come up with something like that?

Can anyone shed some light on the details of this? I'll be greatful for
whatever I can get- information is power after all.

For reference, this is an ASUS notebook which is only a few months old.
I rang the warranty support and started telling them what was going
wrong with it, but I was interrupted by the guy telling me that unless
window$ was on it they weren't even going to touch it. Needless to say I
told him to shove that philosophy where the sun don't shine, but I
thought this was strange coming from a company which has pioneered the
use of linux in the user range through the eeepc range... Fair enough if
they want window$ but they can put it on and not waste my time further
AND leave me without a machine to work with.

What I can't work out is how they are going to be able to diagnose a
problem like this easier with an OS which is a black box (almost). And
their words were that they couldn't test the device properly without
window$!

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


process always running

2008-11-27 Thread Gian Paolo Buono
Hi,
there is a method in freebsd for  restart process whenever it terminates ? I
use in linux respawn in inittab...

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


Re: APIC error

2008-11-27 Thread Ivan Voras
Da Rock wrote:

 I know the system is failing because I'm getting usb enumeration errors
 (something that has come up twice before on dying systems, and has
 disappeared as soon as I bought a new one), plus acpi errors in the form
 of being unable to attach device data.
 
 I understand this software unable to cope with interrupts at the cpu,
 and can mean hardware failure or bad software. But given my hardware
 issues I'm fairly certain its the former. My biggest question is where?
 How does it come up with something like that?
 
 Can anyone shed some light on the details of this? I'll be greatful for
 whatever I can get- information is power after all.

This is too little information for general troubleshooting, except if
someone has encountered this exact problem before.

From your description, especially since you're suggesting a hardware
failure, it could be anything from BIOS or BIOS CMOS error (or
battery) to real hardware problems in the conductors to the buses.



signature.asc
Description: OpenPGP digital signature


realtime network replication

2008-11-27 Thread EforeZZ
Ansar Mohammed wrote:
Hello all,
I need to replicate /home between two freebsd servers in real time (no
scheduled rsyncs)
What are my options?

Hi,

The following configuration seems to do what you ask for:

Two NFS servers, each of them provides access to a huge equal-sized
file-container.
Third server mounts directories with files-containers from the
prevoius two servers.
GEOM RAID1 mirroring is used on the third server to create a /home
filesystem backed by two huge file-containers.

You will have a copy of your /home inside the GEOM file-container on
each of the two servers.
You will get realtime data replication.

Drop a note if the performance of such configuration is acceptable :)

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


Re: Limewire package install error

2008-11-27 Thread Andrew D

Fbsd1 wrote:
Tried to pkg_add -r limewire.  Dependant diablo-jdk-1.6.0.07.02.tbz File 
unavailable.  The package diablo-jdk is not on 7.0 or 7.1 pkg server.


Looking up diablo-jdk on the ports website, the long description points 
to here http://www.freebsdfoundation.org/downloads/java.shtml


How am i to get these mis-matched package names to fulfill the limewire 
dependent name?




You do realise you don't have to install it using a pkg.  you can 'make 
install' it in /usr/ports/java/diablo-jdk16


:)



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


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


Filesystem problems at boot and shutdown?

2008-11-27 Thread Rick Janssen
Rick Janssen wrote:
 I've been playing around with FreeBSD for some time now, still being
 unable to solve some problems. Let me explain.

 I'm trying to run a webserver on the machine. Just basic, nothing too
 fancy. Problem concerns the following: The website served is speedy as
 expected when accessed from local LAN, but when accessed from WAN via
 router, it's realy slow. So, to do some tests, this afternoon I requested
 some pages from an computer outside my LAN. Server was very slow again,
 even ssh slowed to a crawl. Suddenly, without reason I know off,
 everything sped up. I issued a reboot to check if the problem might have
 been 'solved'. This took a long time.

 Back home I checked the logs. It now appeared the long reboot-time was
 caused by a Syncing disk anomaly, which happens when the system prepares
 for shutting down.

 Nov 26 22:38:12 server kernel: Syncing disks, vnodes remaining...1 1 1 1
 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 timed out
 Nov 26 22:38:12 server kernel: Waiting (max 60 seconds) for system process
 `bufdaemon' to stop...done
 Nov 26 22:38:12 server kernel: Syncing disks, buffers remaining... 184 185
 186 1 185 185 185 185 184 184 185 185 185 184 184 185 1 184 184 184 184
 185 185 185 1 184 184 184 184 184 185 184 184 185 185 1 185 184 184 184
 184 184 184 1 185 184 184 184 184 185 184 184 185 1 185 184 184 184 184
 184 184 185 1 184 184 185 184 184 184 184 185 184 184 185 1 185 185 184
 184 184 185 184 184 184 185 1 184 184 185 184 184 185 184 184 185 185 184
 184 184 184 184 1 184 184 184 1 184 184 185 1 185 184 184 1 184 185 184
 184 185 185 184 184 ... etc etc...
 Nov 26 22:38:12 server kernel: Final sync complete

 So I figured, might as well run fschk -y in single user mode to fix
 potential problems. Now I got some new errors:

 Nov 26 20:48:11 server kernel: ad4: WARNING - WRITE_DMA48 UDMA ICRC error
 (retrying request) LBA=1364750271
 Nov 26 20:48:11 server kernel: ad4: FAILURE - WRITE_DMA48
 status=51READY,DSC,ERROR error=4ABORTED LBA=1364750271
 Nov 26 20:48:11 server kernel:
 g_vfs_done():ad4s1g[WRITE(offset=682932174848, length=131072)]error = 5

 So far, nothing serious has followed from these errors I know off. They
 only happen sporadically, during reboots.

 Are these to problems even related, or am I just unlucky? Anyone has some
 suggestions to fix them?

 Regards,
 Rick


Unless there is some incompatibility between FreeBSD - Your disk
controller - Your disk, my best guess is you have a failing disk.  I
would also suggest you check cables, connections (I guess this is an
ATA disk so you may wish the check whether the flat cable is the
80-conductor type and is plugged in correctly).

The disk is a new SATA model (1TB Samsung), so that lessens the chances of
the disk itself being defective somewhat. The mainboard is a MSI K9A2VM-F
(AMD 780V / AMD SB700 chipsets)

Hopefully, if you are
just playing with the system, you don't have any critical data in there,
otherwise I would suggest you back up immediately.  Do you have a spare
disk to try and see what happens?

The thing is, the problem only surfaced yesterday. I've been doing lots of
stuff the last few weeks with the machine, including many reboots and file
system activity. I think a new FreeBSD install on the current disk will
also run fine initially. It seems to me problem 2 (filesystem) was
triggered by problem 1 (webserver performance) somehow, and now it
persists. It's not easily testable.

Whether your other problem depends on this: It could be, since your
webserver might be trying to read from a faulty area and keep retrying.
Or indeed there is some incompatibility and the disk is constantly
under-performing.

But that wouldn't explain why LAN performance is excellent. Why only WAN?
Also, via samba or FTP disk speed is as expected.

You did not mention the speed of you WAN connection, but FWIW I am
running a webserver behind a 1Mbps/256Kbps ADSL line and response is
good enough. SSH is definitely good enough to use in long vi sessions,
with lengthy documents.

The connection is something similar. Should be no cause for the slowness.


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


A2DP

2008-11-27 Thread EforeZZ
Hello,

I noticed that pulseaudio port supports A2DP profile. Is it possible to use
it with FreeBSD bluetooth stack to transmit audio using the SBC codec?

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


Re: process always running

2008-11-27 Thread Anthony M. Rasat
there is a method in freebsd for  restart process whenever it terminates ? I
use in linux respawn in inittab...

I'm still a big fan of Daniel J. Bernstein's daemontools. Go grab it from 
http://cr.yp.to/daemontools.html and be sure to read instructions. Not exactly 
configure-make-install kinda thingy. I don't recall daemontools in FreeBSD 
ports though, maybe there is.

Oh almost forgot, just to save your not-itchy hair, daemontools require your 
application to be running on foreground. Find a way to do so but if you haven't 
found it, there is a tool to do so. Once again, read instructions thoroughly.

-- 

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Filesystem problems at boot and shutdown?

2008-11-27 Thread Manolis Kiagias
Rick Janssen wrote:
 Rick Janssen wrote:
 
 I've been playing around with FreeBSD for some time now, still being
 unable to solve some problems. Let me explain.

 I'm trying to run a webserver on the machine. Just basic, nothing too
 fancy. Problem concerns the following: The website served is speedy as
 expected when accessed from local LAN, but when accessed from WAN via
 router, it's realy slow. So, to do some tests, this afternoon I requested
 some pages from an computer outside my LAN. Server was very slow again,
 even ssh slowed to a crawl. Suddenly, without reason I know off,
 everything sped up. I issued a reboot to check if the problem might have
 been 'solved'. This took a long time.

 Back home I checked the logs. It now appeared the long reboot-time was
 caused by a Syncing disk anomaly, which happens when the system prepares
 for shutting down.

 Nov 26 22:38:12 server kernel: Syncing disks, vnodes remaining...1 1 1 1
 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 timed out
 Nov 26 22:38:12 server kernel: Waiting (max 60 seconds) for system process
 `bufdaemon' to stop...done
 Nov 26 22:38:12 server kernel: Syncing disks, buffers remaining... 184 185
 186 1 185 185 185 185 184 184 185 185 185 184 184 185 1 184 184 184 184
 185 185 185 1 184 184 184 184 184 185 184 184 185 185 1 185 184 184 184
 184 184 184 1 185 184 184 184 184 185 184 184 185 1 185 184 184 184 184
 184 184 185 1 184 184 185 184 184 184 184 185 184 184 185 1 185 185 184
 184 184 185 184 184 184 185 1 184 184 185 184 184 185 184 184 185 185 184
 184 184 184 184 1 184 184 184 1 184 184 185 1 185 184 184 1 184 185 184
 184 185 185 184 184 ... etc etc...
 Nov 26 22:38:12 server kernel: Final sync complete

 So I figured, might as well run fschk -y in single user mode to fix
 potential problems. Now I got some new errors:

 Nov 26 20:48:11 server kernel: ad4: WARNING - WRITE_DMA48 UDMA ICRC error
 (retrying request) LBA=1364750271
 Nov 26 20:48:11 server kernel: ad4: FAILURE - WRITE_DMA48
 status=51READY,DSC,ERROR error=4ABORTED LBA=1364750271
 Nov 26 20:48:11 server kernel:
 g_vfs_done():ad4s1g[WRITE(offset=682932174848, length=131072)]error = 5

 So far, nothing serious has followed from these errors I know off. They
 only happen sporadically, during reboots.

 Are these to problems even related, or am I just unlucky? Anyone has some
 suggestions to fix them?

 Regards,
 Rick


   
 Unless there is some incompatibility between FreeBSD - Your disk
 controller - Your disk, my best guess is you have a failing disk.  I
 would also suggest you check cables, connections (I guess this is an
 ATA disk so you may wish the check whether the flat cable is the
 80-conductor type and is plugged in correctly).
 

 The disk is a new SATA model (1TB Samsung), so that lessens the chances of
 the disk itself being defective somewhat. The mainboard is a MSI K9A2VM-F
 (AMD 780V / AMD SB700 chipsets)

   

In fact, new disks *can* be faulty. Usually, the faults surface few days
/ weeks after initial use. I don't really trust a new disk on my system
until it runs for a couple of months. It will then run for years until
it reaches end-of-life due to wear.
I still suggest you try testing it with some programs like
sysutils/smartmontools

 You did not mention the speed of you WAN connection, but FWIW I am
 running a webserver behind a 1Mbps/256Kbps ADSL line and response is
 good enough. SSH is definitely good enough to use in long vi sessions,
 with lengthy documents.
 

 The connection is something similar. Should be no cause for the slowness.
   

Since it works fine on the LAN, you need to check the router though.
Maybe some setting is slowing it down. Is it one of these cheap DSL
routers? You may want to turn off various features on the router like
firewalls, intrusion detections and so on (it goes without saying that
you will secure your FreeBSD system instead)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make release of current

2008-11-27 Thread michael



Beech Rintoul wrote:

On Wednesday 26 November 2008 20:40:21 michael wrote:
  

will make release work for current? i've built a nice working system
that i would like to be able to install on several identical machines.



Yes, but read all the docs completely there are a number of options you need, 
like telling it to use your source tree instead of CVS and if you want to 
build packages etc.


Beech
  
Thanks, I've made a release before.. a long while ago in a galaxy far 
away... I was just wondering if current would work the same.
Also, is it possible to make an iso containing a multi release? ie: i386 
and amd64?

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


Re: Limewire package install error

2008-11-27 Thread Fbsd1

Andrew D wrote:

Fbsd1 wrote:
Tried to pkg_add -r limewire.  Dependant diablo-jdk-1.6.0.07.02.tbz 
File unavailable.  The package diablo-jdk is not on 7.0 or 7.1 pkg 
server.


Looking up diablo-jdk on the ports website, the long description 
points to here http://www.freebsdfoundation.org/downloads/java.shtml


How am i to get these mis-matched package names to fulfill the 
limewire dependent name?




You do realise you don't have to install it using a pkg.  you can 'make 
install' it in /usr/ports/java/diablo-jdk16


:)



You do realize that I don't want to full around with compiling port 
source. That is the whole reason behind the package system. I am looking 
for answer to error in the package install of limewire and it's 
dependent diablo-jdk.




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


Re: process always running

2008-11-27 Thread Dominik Meister
Hi

Gian Paolo Buono [Thu, Nov 27, 2008 at 02:05:44PM +0100]:
 there is a method in freebsd for  restart process whenever it terminates ? I
 use in linux respawn in inittab...

One possibility that comes to mind is using daemontools [0]. Should be
in ports but there are probably easier ways to achieve this.

[0] http://cr.yp.to/daemontools.html

-- 
Dominik Meister
My public GnuPG key is available at http://www.meisternet.ch/gpg.txt


pgp73qfBc10qU.pgp
Description: PGP signature


Re: Installing FreeBSD

2008-11-27 Thread Masoom Shaikh
On Thu, Nov 27, 2008 at 3:11 AM, Rommel Tan [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] [EMAIL PROTECTED]
 Dear Sir/Madam:
 Pleasant day!
 First of all, sorry if this enquiry shouldn't be directed to you, please
 help me direct to the right person.
 Few months ago I've purchase a FreeBSD book which includes an installation
 DVD for FreeBSD 6.1. I tried to install it in my Toshiba Satellite, Intel
 Centrino with current Windows XP SP3 OS after doing some partition. But, I'm
 stock with boot error; sorry I'm very new to this system; I tried to search
 for an answer but no to avail.
 Here is the last part of the error:
 .
 Pci6: ACPI PCI bus on pcib2
 Pci6: network at device 2.0 (no driver attached)
 Cbb0: PCI-CArdBus Bridge eme 0x8007000-0xb8007fff irq 16 at device 4.0 on
 pci6
 Cardbus0: CardBus bus on cbb0
 Pccard0: 16-bit PCCard on cbb0
 Fwohci0: 1394 Open Host Controller Interface mem
 0xb8008000-0xb80087ff,0xb80-0xb8003fff irq 18 at device 4.2 on pci6
 Fwohci0: OHCI version 1.10 (ROM=0)
 Fwohci0: No. Of Isochronous channels is 4.
 Fwohci0: EUI64 00:02:3f:58:69:40:a5:e6
 NMI ISA b0, EISA ff
 RAM parity error, likely hardware failure.


the above line is very clear to me. RAM is gone. Then it implies u cannot
boot XP on this machine, can you ?


 Fatal trap 19: non-maskable interrupt trap while in kernel mode
 Instruction pointer  = 0x20:0xc0528586
 Stack pointer = 0x28:0xc10209c4
 Frame pointer   = 0x28:0xc10209d8
 Code segment  = base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1,
 gran 1
 Processor eflags   = interrupt enable, IOPL = 0
 Current process= 0 (swapper)
 Trap number  = 19
 Panic: non-maskable interrupt trap
 Uptime: 1s
 Automatic reboot in 15 seconds – press a key on the console to abort

 Hope you can enlighten me on this matter.
 Thank you and more power!

 Best Regards,
 RommelTan


 ---
 
 The information contained in this Internet message is confidential and
 intended only for the use of the individual or entity identified. If
 the reader of this message is not the intended recipient, any
 dissemination, distribution or copying of the information contained in
 this Internet message is strictly prohibited. If you received this
 message in error, please notify the sender ([EMAIL PROTECTED])
 immediately.



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

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


Re: APIC error

2008-11-27 Thread Da Rock

On Thu, 2008-11-27 at 14:32 +0100, Ivan Voras wrote:
 Da Rock wrote:
 
  I know the system is failing because I'm getting usb enumeration errors
  (something that has come up twice before on dying systems, and has
  disappeared as soon as I bought a new one), plus acpi errors in the form
  of being unable to attach device data.
  
  I understand this software unable to cope with interrupts at the cpu,
  and can mean hardware failure or bad software. But given my hardware
  issues I'm fairly certain its the former. My biggest question is where?
  How does it come up with something like that?
  
  Can anyone shed some light on the details of this? I'll be greatful for
  whatever I can get- information is power after all.
 
 This is too little information for general troubleshooting, except if
 someone has encountered this exact problem before.
 
 From your description, especially since you're suggesting a hardware
 failure, it could be anything from BIOS or BIOS CMOS error (or
 battery) to real hardware problems in the conductors to the buses.
 

Would this be in the cpu itself or in the mainboard (best guess)? If its
the cpu it could be from overheating (could the cpu alone cause all
these errors?), but mainboard would mean an inherent communication
problem wouldn't it?

This really is a hardware issue any way you look at it I know, but a
better understanding of what is going on might clarify what we're up
against here... cheers guys :)

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


How to install RPM file on FreeBSD?

2008-11-27 Thread Alex
Hi. Dear All

 

Could you pls let me know how to install file that the format is RPM on
FreeBSD.

Because I want to install a Virtual Machine which name is VMware
Workstation for Linux on FreeBSD? But there only RPM has been published. So
pls kindly help me deal with this case. Thanks.

 

BR

Alex

 

 

 

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


Re: process always running

2008-11-27 Thread Jonathan McKeown
On Thursday 27 November 2008 15:46:58 Dominik Meister wrote:
 Hi

 Gian Paolo Buono [Thu, Nov 27, 2008 at 02:05:44PM +0100]:
  there is a method in freebsd for  restart process whenever it terminates
  ? I use in linux respawn in inittab...

 One possibility that comes to mind is using daemontools [0]. Should be
 in ports but there are probably easier ways to achieve this.

I've never tried it, but according to the manpage for init(8) you can get the 
same effect as a respawn entry in a sysV inittab by putting the command 
in /etc/ttys. Perhaps someone who's done it could comment?

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


Re: make release of current

2008-11-27 Thread Beech Rintoul
On Thursday 27 November 2008 04:44:19 michael wrote:
 Beech Rintoul wrote:
  On Wednesday 26 November 2008 20:40:21 michael wrote:
  will make release work for current? i've built a nice working system
  that i would like to be able to install on several identical machines.
 
  Yes, but read all the docs completely there are a number of options you
  need, like telling it to use your source tree instead of CVS and if you
  want to build packages etc.
 
  Beech

 Thanks, I've made a release before.. a long while ago in a galaxy far
 away... I was just wondering if current would work the same.
 Also, is it possible to make an iso containing a multi release? ie: i386
 and amd64?

Technically, but you'd have to burn it to a DVD and figure out how to choose 
which to boot from. There are people combining all three to a DVD, but I 
haven't built a release in awhile myself and have never tried making it into a 
DVD. Burning a -CURRENT release is no problem, just source it from your src 
tree. It's really no different than burning a regular release. There's no 
problem burning both iso's the problem will be the boot sector.

Beech
-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---




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


Re: SNMPD Consuming Swap Space

2008-11-27 Thread Lowell Gilbert
Davenport, Steve M [EMAIL PROTECTED] writes:

 Hello,
  
 I am running snmpd 5.4.1.2 built from a port on 7-Release, hardware is
 Sun V100, 512Mb total memory, 381Mb free. The daemon starts fine. When a
 snmpwalk is done from another system all is well until the interface
 table and then I see:
  
 interfaces.ifTable.ifEntry.ifSpeed.1 : Gauge32: 1000
 interfaces.ifTable.ifEntry.ifSpeed.2 : Gauge32: 0
 interfaces.ifTable.ifEntry.ifSpeed.3 : Gauge32: 0
 snmpwalk: No response arrived before timeout.

 After the timeout happens, looking at swapinfo -k shows that swap
 space is continually consumed until empty at which point the snmpd
 daemon is stopped:
  
 fbsdh# swap_pager: out of swap space
 swap_pager_getswapspace(16): failed
 Nov 25 11:44:08 fbsdh kernel: pid 84674 (snmpd), uid 0, was killed: out
 of swap space
  
 Now the swap space is freeded:
 fbsdh# swapinfo -k
 Device  1K-blocks UsedAvail Capacity
 /dev/ad0b 209916026456  2072704 1%
  
 Has anyone seen this issue or know of a solution. 

Since you're running the SNMP daemon from a port, not the one from the
base system, you may need developers' assistance for this sort of bug.
Problems like this are often caused by wraparound bugs or infinite loops
in my experience, although there are lots of other possibilities.  If
you can get a stack traceback when it crashes, that will is quite likely
to give a solid clue.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gd-2.0.35 won't install on FreeBSD 6.0-RELEASE

2008-11-27 Thread Lowell Gilbert
FuLLBLaSTstorm [EMAIL PROTECTED] writes:

 GD-2.0.35 fails to install on my production server saying that
 GD_FONTS not found.
 How can I solve this problem?

How were you trying to install gd?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make release of current

2008-11-27 Thread michael



Beech Rintoul wrote:

On Thursday 27 November 2008 04:44:19 michael wrote:
  

Beech Rintoul wrote:


On Wednesday 26 November 2008 20:40:21 michael wrote:
  

will make release work for current? i've built a nice working system
that i would like to be able to install on several identical machines.


Yes, but read all the docs completely there are a number of options you
need, like telling it to use your source tree instead of CVS and if you
want to build packages etc.

Beech
  

Thanks, I've made a release before.. a long while ago in a galaxy far
away... I was just wondering if current would work the same.
Also, is it possible to make an iso containing a multi release? ie: i386
and amd64?



Technically, but you'd have to burn it to a DVD and figure out how to choose 
which to boot from. There are people combining all three to a DVD, but I 
haven't built a release in awhile myself and have never tried making it into a 
DVD. Burning a -CURRENT release is no problem, just source it from your src 
tree. It's really no different than burning a regular release. There's no 
problem burning both iso's the problem will be the boot sector.


Beech
  
What do you think about using a different loader on the iso, one that 
will allow selection of a specific architecture?

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


Re: gcc cross-compiler for linux

2008-11-27 Thread Lowell Gilbert
Xavier Otazu [EMAIL PROTECTED] writes:

 Thanks a lot for this link. Now I see that I need to use the
 cross-gcc compiler.

I've never done it; I just looked it up.  

I'm sure there's more information in the archives of the mailing lists,
and you can always try to consult the port maintainer.

 I am using Matlab inside the linux emulator, and I nedd to create some
 mex files from matlab. In order to create these mes files, matlab
 needs access to a gcc compiler that produces linux elf files. I think I
 cannot use the gentoo-stage3 port, because in order to use I would need
 to chroot and it is not so easy from matlab. Also, when using this
 compiler I should be able to acces to the linux-matlab header files,
 but if I chroot to the gentoo port I won't be able to access them.

They should be inside the compat/linux tree, and therefore accessible.

 I tried to install the devel/cross-gcc port, but I get errors when
 compiling it.

Um, fix the errors?

 I have some doubts about the wiki link you sent me:

 1) What really means null-mount the home directory? I google-d some
 info, but I didn't find good information. What really exactly means
 corresponding entries in the passwd and shadow files are required
 then?

a) man mount_nullfs

b) I would guess that /compat/linux/etc/{passwd,shadow} need to have
   entries to match your /etc/master.passwd.  I can't check for sure 

 2) What really means All you have to do is to compile the ports and
 add includes and libs from the linux system your target in your
 development? Do I have to include the linux headers during
 devel/cross-gcc port building? Or do I have to include them when
 cross-compiling my code?

Logically, I would think that would apply to compiling *your* code.
Anything that's need to build the port should be handled by the port
itself.  

 What options do I have to use when building the linux gcc
 cross-compiler? I use 

I don't know; all I can tell you is that you seem to be on the right
path here.

 make TGTARCH=i386 TGTABI=linux install clean

 Thanks a lot for your help

 Cheers

 Xavier

 On Tue, 25 Nov 2008 15:04:27 -0500
 Lowell Gilbert [EMAIL PROTECTED] wrote:

 Xavier Otazu [EMAIL PROTECTED] writes:
 
  I would like to compile a C++ code to be executed within the linux
  emulator.
 
 http://wiki.freebsd.org/linux-xdev

Good luck.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install RPM file on FreeBSD?

2008-11-27 Thread matt donovan
On Thu, Nov 27, 2008 at 9:14 AM, Alex [EMAIL PROTECTED] wrote:

 Hi. Dear All



 Could you pls let me know how to install file that the format is RPM on
 FreeBSD.

 Because I want to install a Virtual Machine which name is VMware
 Workstation for Linux on FreeBSD? But there only RPM has been published.
 So
 pls kindly help me deal with this case. Thanks.



 BR

 Alex







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


newer VMware Workstations do not work on FreeBSD. Have to use an older one
of use virtualbox which works to a point.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: large binary, why not strip ?

2008-11-27 Thread Eitan Adler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kris Kennaway wrote:
 On Mon, Nov 17, 2008 at 06:40:34PM +, Masoom Shaikh wrote:
 On Mon, Nov 17, 2008 at 5:21 PM, Kris Kennaway [EMAIL PROTECTED] wrote:

 On Sun, Nov 16, 2008 at 12:56:31PM +0100, Wojciech Puchar wrote:
 most of the programs installed from ports have large binary size on disk

 stripping em all reduces their size dramatically

 I cannot see the reason for not stripping them by default ?
 me too
 do I miss anything ?
 no.
 I am confused why both of you are seeing most of the programs
 installed this way.  Can you confirm that this is true and not just an
 exaggeration?

 As Matthew says, there are some ports that fail to strip their
 binaries because of how they install files (using cp etc).  These are
 bugs that should be reported to their maintainers on a case by case
 basis.

 Kris

 --
 In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe [EMAIL PROTECTED]

 Before sending mail I manually stripped * in /usr/local/bin

 else I cud send u the o/p of `ls -lhS`

 yes, most is bit exaggerated...I perhaps was talking about first five

 binaries listed in increasing order of size...
 
 Yeah the largest binaries are likely to be unstripped.  You can use
 pkg_which (part of portupgrade) to work out which ports they came
 from, then send the mainainer a polite email and/or PR request that
 they be installed stripped.
 
 Bonus points if you come up with a patch to do this: in most cases it
 will be a simple matter of changing the port's do-install: target to
 use INSTALL_* macros instead of cp/bsdtar etc.  This would be a good
 project to get some familiarity with the ports tree.
 
I was going to do some work on this except
$file *|grep not stripped
$

- --
Eitan Adler
GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkux3oACgkQtl8kq+nCzNEWwgCglRkz0Il3/bLJazVszuRf69f1
pegAoI/paoyYAz4hqRZhdWuUb6WJk+tK
=fGB3
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Filesystem problems at boot and shutdown?

2008-11-27 Thread Wojciech Puchar

Nov 26 20:48:11 server kernel: ad4: WARNING - WRITE_DMA48 UDMA ICRC error
(retrying request) LBA=1364750271
Nov 26 20:48:11 server kernel: ad4: FAILURE - WRITE_DMA48
status=51READY,DSC,ERROR error=4ABORTED LBA=1364750271
Nov 26 20:48:11 server kernel:
g_vfs_done():ad4s1g[WRITE(offset=682932174848, length=131072)]error = 5



cabling problems or disk overheating (or controller) or failed disk.

ICRC error suggest that it's rather cabling problem.

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


Re: KDM stopping

2008-11-27 Thread Lowell Gilbert
Pieter Donche [EMAIL PROTECTED] writes:

 FreeBSD-7.0-RELEASE, with KDE as desktop environment and KDM as
 display manager.

 I have 2 users, say user1 and user2.
 Boot, KDM login as user1, OK.
 Then I do a close session.
 OK, KDM presents me again with the KDM login screen, login as user2, OK.
 Then again, close session.
 Now, the KDM login screen does not come back. I am stuck with
 a cursor blinking at the upper left corner.
 Ctrl-Alt-F1 brings me to the console, Ctrl-Alt-F7: no X, just a
 login:prompt

 If I reboot and do the same thing, but now first with user2, then user1
 - exactly same behaviour (X dies at the second close session). So,
 it's not connected with user2.

 Anyone a idea what could be wrong? Below are some log details:

Does this happen with xdm as well?
Have you checked with the FreeBSD kde mailing list?


 The /var/log/kdm-log shows:
 --
 ...
 X.Org X Server 1.4.0
 Release Date: 5 September 2007
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 7.0-RELEASE i386
 Current Operating System: FreeBSD pclinwi74.cmi.ua.ac.be 7.0-RELEASE FreeBSD 
 7.
 0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/
 obj/usr/src/sys/GENERIC i386
 Build Date: 13 February 2008  05:50:12PM

 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 Module Loader present
 Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Wed Nov 26 16:27:31 2008
 (EE) Unable to locate/open config file
 New driver is i810
 (==) Using default built-in configuration (55 lines)
 (EE) Failed to load module fbdev (module does not exist, 0)
 (II) Module ddc already built-in
 (II) Module ramdac already built-in
 FreeFontPath: FPE /usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1;
 fixing.
 FreeFontPath: FPE /usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1;
 fixing.
 (EE) I810(0): V_BIOS address 0x0 out of range

 Fatal server error:
 Caught signal 11.  Server aborting


 X.Org X Server 1.4.0
 Release Date: 5 September 2007
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 7.0-RELEASE i386
 Current Operating System: FreeBSD pclinwi74.cmi.ua.ac.be 7.0-RELEASE FreeBSD 
 7.
 0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/
 obj/usr/src/sys/GENERIC i386
 Build Date: 13 February 2008  05:50:12PM


 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 Module Loader present
 Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Wed Nov 26 16:43:42 2008
 (EE) Unable to locate/open config file
 New driver is i810
 (==) Using default built-in configuration (55 lines)
 (EE) Failed to load module fbdev (module does not exist, 0)
 (EE) I810(0): V_BIOS address 0x0 out of range
 (EE) I810(0): VBE initialization failed.
 (EE) Screen(s) found, but none have a usable configuration.

 Fatal server error:
 no screens found
 ---

 /var/log/messages  contains:
 --
 ..
 Nov 26 16:29:03 pclinwi74 kernel: pid 853 (Xorg), uid 0: exited on signal 11 
 (c
 ore dumped)
 Nov 26 16:29:03 pclinwi74 kdm-bin[850]: X server for display :0 terminated 
 unex
 pectedly
 Nov 26 16:29:03 pclinwi74 kdm-bin: :0[1137]: IO Error in XOpenDisplay
 Nov 26 16:29:03 pclinwi74 kdm-bin[850]: Display :0 cannot be opened
 Nov 26 16:29:03 pclinwi74 kdm-bin[850]: Unable to fire up local display :0; 
 dis
 abling.
 Nov 26 16:29:30 pclinwi74 login: ROOT LOGIN (root) ON ttyv0
 Nov 26 16:43:40 pclinwi74 shutdown: reboot by root:
 Nov 26 16:43:42 pclinwi74 kdm-bin[850]: X server for display :0 terminated 
 unex
 pectedly
 Nov 26 16:43:42 pclinwi74 kdm-bin[850]: Unable to fire up local display :0; 
 dis
 abling.
 Nov 26 16:43:42 pclinwi74 syslogd: exiting on signal 15
 

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


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread APseudoUtopia
On Thu, Nov 27, 2008 at 3:56 AM, Fbsd1 [EMAIL PROTECTED] wrote:
 What pf or ipf firewall keep-state rules needed to allow p2p application
 such as limewire through? Using same firewall rules as in handbook example.

Well, what port does limewire use? You need to figure out what port
each application uses, then open the port in your firewall rules.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Pidgin and Vagalume (DBUS problem?)

2008-11-27 Thread Lars Stokholm
Hi

Vagalume (audio/vagalume) has an option to display the currently
playing track in Pidgin's status message. It doesn't work though, so I
was hoping someone in here could help me.

I don't know if it's the same issue or not, but purple-remote can't
seem to communicate with Pidgin either:

%purple-remote setstatus?status=awaymessage=test
No existing libpurple instance detected.

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


Re: gcc cross-compiler for linux

2008-11-27 Thread Tijl Coosemans
On Wednesday 26 November 2008 18:48:39 Xavier Otazu wrote:
 On Tue, 25 Nov 2008 23:31:10 +0100 Tijl Coosemans [EMAIL PROTECTED] wrote:
 From that error message I'd say you probably need to populate
 /usr/local/i386-linux/include with glibc and linux kernel headers.
 
 How can I populate it with them? Manually installing them in this
 directory? May be the devel/cross-binutils port should do it? Is there
 any port that can populate it?

I don't think there's a port. I'd start with a glibc-headers
and kernel-headers RPM from the linux_base port you've installed.

http://rpmfind.net/linux/rpm2html/search.php?query=glibc-headers
http://rpmfind.net/linux/rpm2html/search.php?query=kernel-headers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getpriority(2) and rtprio(2) implementation

2008-11-27 Thread Polytropon
On Wed, 26 Nov 2008 20:14:02 +0100, Mel [EMAIL PROTECTED] wrote:
 For future ref:
 
 find /usr/src/sys -name '*.c' -exec grep kern_$name_of_syscall {} +
 
 will catch 99% of the cases.

I did check with the Midnight Commander's Meta-? (find):
Search from /usr/src in *.c containing getpriority,
refined getpriority(int to get the function's prototype
and implementation. I'm a lazy guy. :-)


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


Re: GIANT_LOCK in release7.0

2008-11-27 Thread Kris Kennaway

Alexander K. Beros wrote:


I have not been able to find any discussion of the following issue.  Ever
since I upgraded to release 7.0, whenever I print to my network printer (I
am using Samba) I get the following output to ttyv0:

lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]
lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]
lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]
lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]
lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]

... this can continue for a very long time depending on the size of the
queue

The actual printing is fine, and since I am rarely at the terminal it isn't
a serious problem.  In fact, if I am working at the server and someone else
is sending jobs to the printer I switch over to ttyv1, so there is really no
inconvenience.

On the other hand, I thought that release 7 is GIANT_LOCK free, so this is
rather unexpected.  I would appreciate any information or explanation.


That's not a correct statement.  The giant lock is not invoked in most 
code pathways, but it is still present in some corners of the kernel, 
for example in some drivers.  It's not important for drivers like lpt 
which are low performance devices.


Do you get any additional diagnostics when you boot in verbose mode 
(boot -v from loader, or use the menu option)?  It might be that lpt is 
encountering an error frequently and resetting itself during I/O.


Also please follow up with your entire dmesg.

Kris

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


Re: process always running

2008-11-27 Thread Sebastian Tymków
Hi,

I use it and it works fine for me. I don't need any third party software to
run/restart process.
Recently I used daemontools for respawn process but it was uncomfortable to
install and configure for me.

Best regards,

Sebastian Tymkow

2008/11/27 Jonathan McKeown [EMAIL PROTECTED]

 On Thursday 27 November 2008 15:46:58 Dominik Meister wrote:
  Hi
 
  Gian Paolo Buono [Thu, Nov 27, 2008 at 02:05:44PM +0100]:
   there is a method in freebsd for  restart process whenever it
 terminates
   ? I use in linux respawn in inittab...
 
  One possibility that comes to mind is using daemontools [0]. Should be
  in ports but there are probably easier ways to achieve this.

 I've never tried it, but according to the manpage for init(8) you can get
 the
 same effect as a respawn entry in a sysV inittab by putting the command
 in /etc/ttys. Perhaps someone who's done it could comment?

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

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


Re: APIC error

2008-11-27 Thread Da Rock

On Thu, 2008-11-27 at 15:23 +0100, Ivan Voras wrote:
 Da Rock wrote:
 
  Would this be in the cpu itself or in the mainboard (best guess)? If its
  the cpu it could be from overheating (could the cpu alone cause all
  these errors?), but mainboard would mean an inherent communication
  problem wouldn't it?
 
 If you can look up the CPU temperature in your BIOS setup, you can
 easily see if the CPU is overheating - reboot and look it up immediately
 after the problems start.
 

I'm not sure I expressed myself too clearly; I meant cpu failure due to
it running too hot for extended periods of time, not causing immediate
problems while this occurring but making the problem apparent later when
the now damaged component on the chip is used.

Thinking about it, though, it would seem more likely that one of the
bridges (north bridge?)(which would mean their cooling mechs aren't
doing very well in the laptop chassis) would be in its death throws
because the cpu is less involved when data is transferred between
components like disks, usb, and video. The cpu is only dragged into the
action to start the process and monitor that it has been completed, or
to handle something the component can't handle like decoding or
encoding. Does that make sense or am I talking gibberish?

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


Re: offline upgrade

2008-11-27 Thread Giorgos Keramidas
On Tue, 25 Nov 2008 14:03:33 -0800 (PST), gahn [EMAIL PROTECTED] wrote:
 Hi, All:

 I have two boxes running 6.3. For certain reasons that I can't upgrade
 them online with freebsd-update utility; the ftp sessions are
 blocked. Are there any other way to upgrade the system offline, both
 kernel and those needed packages?

If you have some means of transferring `/var/db/freebsd-update' from a
machine that *does* have this sort of connectivity, you should be able
to run only:

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


Re: top incorrectly reporting process time

2008-11-27 Thread Kris Kennaway

Ott Köstner wrote:

Jeremy Chadwick wrote:

On Sun, Nov 16, 2008 at 04:34:01PM +0200, Ott Köstner wrote:
 

On several FreeBSD machines I have the following problem:



What FreeBSD version?  (It matters)
  

7.1-PRERELEASE FreeBSD

But I can experience it also on a 7.0 machine. Seems that top reports
incorrectly processes with multiple threads.

$ top -bUbind
last pid: 21635;  load averages:  0.73,  0.46,  0.29  up 1+00:17:18
16:48:10
54 processes:  1 running, 53 sleeping

Mem: 66M Active, 1174M Inact, 204M Wired, 36K Cache, 112M Buf, 555M Free
Swap: 2048M Total, 2048M Free

 PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 979 bind8  440 40288K 32916K select 0   0:16  0.00% named

$ ps -ax|grep 979
 979  ??  Ss 1:11.26 /usr/sbin/named -n 5 -t /var/named -u bind


Check top -H to display the statistics for individual threads.

Kris

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


Re: Kernel crash before dumpon

2008-11-27 Thread Kris Kennaway

Frank Solensky wrote:

I'm trying to get a dump off a machine with a 7.1-beta2 kernel that's
been crashing during the boot process, following the instructions on
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN
I've recompiled the kernel with -g but no vmcore file appears so I'm
assuming that the crash occurs before dumpon is executed.

The page includes the following suggestion on how I might be able to
proceed:
Alternatively, the dump device can be hard-coded via the
dump clause in the config(5) line of a kernel configuration
file. This approach is deprecated and should be used only
if a kernel is crashing before dumpon(8) can be executed.

I tried adding
config dump /dev/ad4s3b
to the configuration file but that option appears to be no longer
supported: the config command gives an error message of:
root/dump/swap specification obsolete

Is the paragraph above obsolete?  If so, what's the preferred way to
collect the dump?


Yes, it's obsolete.  Please file a PR to remove the outdated advice.

Unfortunately in FreeBSD 5 and later there is no way to dump prior to 
multi-user startup, because of how device discovery is now dynamic.  You 
can still use other tools like ddb/remote gdb etc.


Kris

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


Re: freebsd-update

2008-11-27 Thread andrew clarke
On Wed 2008-11-26 20:45:34 UTC-0800, gahn ([EMAIL PROTECTED]) wrote:

 i did freebsd-update fetch and i got message:
 
 No updates needed to update system to 6.3-RELEASE-p6
 
 what does that suppose to mean? My current system (this one is online) is p4.

Did you run freebsd-update install?

Did you reboot the machine after running the install command?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Bernt Hansson

Fbsd1 said the following on 2008-11-27 09:56:
What pf or ipf firewall keep-state rules needed to allow p2p application 
such as limewire through? Using same firewall rules as in handbook example.


Put this in your /etc/ipnat.rules

rdr rl0 0.0.0.0/0 port port# - internal-ip port port# tcp
rdr rl0 0.0.0.0/0 port port# - internal-ip port port# udp


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


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1

Bernt Hansson wrote:

Fbsd1 said the following on 2008-11-27 09:56:
What pf or ipf firewall keep-state rules needed to allow p2p 
application such as limewire through? Using same firewall rules as in 
handbook example.


Put this in your /etc/ipnat.rules

rdr rl0 0.0.0.0/0 port port# - internal-ip port port# tcp
rdr rl0 0.0.0.0/0 port port# - internal-ip port port# udp







How about explaining just why this is going to allow p2p limewire work?

I think you are missing the fact that limewire does not use dedicated 
port numbers. Every session uses different port numbers and the remote 
computers come in on different hight port numbers.

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


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1

APseudoUtopia wrote:

On Thu, Nov 27, 2008 at 3:56 AM, Fbsd1 [EMAIL PROTECTED] wrote:

What pf or ipf firewall keep-state rules needed to allow p2p application
such as limewire through? Using same firewall rules as in handbook example.


Well, what port does limewire use? You need to figure out what port
each application uses, then open the port in your firewall rules.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




I think you are missing the fact that limewire does not use dedicated 
port numbers. Every session uses different port numbers and the remote 
computers come in on different hight port numbers. Limewire starts off 
with a proto igmp  multicast packet to the limewire master server where 
all the other users online computers are listed.


Really need someone who has firewall rule for limewire using ipf or pf 
to share their knowledge.


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


Re: top incorrectly reporting process time

2008-11-27 Thread Ott Köstner

Kris Kennaway wrote:

Ott Köstner wrote:

Jeremy Chadwick wrote:

On Sun, Nov 16, 2008 at 04:34:01PM +0200, Ott Köstner wrote:
 

On several FreeBSD machines I have the following problem:



What FreeBSD version?  (It matters)
  

7.1-PRERELEASE FreeBSD

But I can experience it also on a 7.0 machine. Seems that top reports
incorrectly processes with multiple threads.

$ top -bUbind
last pid: 21635;  load averages:  0.73,  0.46,  0.29  up 1+00:17:18
16:48:10
54 processes:  1 running, 53 sleeping

Mem: 66M Active, 1174M Inact, 204M Wired, 36K Cache, 112M Buf, 555M Free
Swap: 2048M Total, 2048M Free

 PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 979 bind8  440 40288K 32916K select 0   0:16  0.00% named

$ ps -ax|grep 979
 979  ??  Ss 1:11.26 /usr/sbin/named -n 5 -t /var/named -u bind


Check top -H to display the statistics for individual threads.

Kris

# top -bUmysql
last pid:  8336;  load averages:  0.33,  0.30,  0.24  up 13+22:36:29
08:47:07

157 processes: 1 running, 156 sleeping

Mem: 1163M Active, 2058M Inact, 555M Wired, 160M Cache, 214M Buf, 22M Free
Swap: 4096M Total, 432K Used, 4095M Free


 PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU 
COMMAND

1079 mysql   9  200 92316K 70472K sigwai 1   0:04  0.00% mysqld
1015 mysql   1   80  7056K  1332K wait   1   0:00  0.00% sh

-
# top -bHUmysql
last pid:  8497;  load averages:  0.36,  0.32,  0.25  up 13+22:37:43
08:48:21

148 processes: 4 running, 144 sleeping

Mem: 1147M Active, 2068M Inact, 554M Wired, 156M Cache, 214M Buf, 32M Free
Swap: 4096M Total, 432K Used, 4095M Free


 PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
1079 mysql 440 92316K 70472K select 0   4:10  0.00% mysqld
1079 mysql 440 92316K 70472K select 0   3:12  0.00% mysqld
1079 mysql 440 92316K 70472K select 1   1:59  0.00% mysqld
1079 mysql 440 92316K 70472K ucond  0   0:47  0.00% mysqld
1079 mysql 440 92316K 70472K select 0   0:26  0.00% mysqld
1079 mysql 200 92316K 70472K sigwai 1   0:04  0.00% mysqld
1079 mysql 440 92316K 70472K ucond  0   0:04  0.00% mysqld
1079 mysql 440 92316K 70472K ucond  1   0:01  0.00% mysqld
1015 mysql  80  7056K  1332K wait   1   0:00  0.00% sh
1079 mysql 440 92316K 70472K ucond  0   0:00  0.00% mysqld
--
# ps -ax|grep 1079
1079 con- S576:13.90 [mysqld]
--
# ps -aHx|grep 1079
1079 con- S  1:58.71 [mysqld]
1079 con- I  0:00.00 [mysqld]
1079 con- S  0:01.30 [mysqld]
1079 con- I  0:46.72 [mysqld]
1079 con- S  0:03.51 [mysqld]
1079 con- S  0:26.05 [mysqld]
1079 con- S  3:11.80 [mysqld]
1079 con- S  4:09.88 [mysqld]
1079 con- S  0:03.67 [mysqld]


Strange?

Greetings,
O.K.

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


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Bernt Hansson

Fbsd1 said the following on 2008-11-28 07:24:

Bernt Hansson wrote:

Fbsd1 said the following on 2008-11-27 09:56:
What pf or ipf firewall keep-state rules needed to allow p2p 
application such as limewire through? Using same firewall rules as in 
handbook example.


Put this in your /etc/ipnat.rules

rdr rl0 0.0.0.0/0 port port# - internal-ip port port# tcp
rdr rl0 0.0.0.0/0 port port# - internal-ip port port# udp







How about explaining just why this is going to allow p2p limewire work?


Read the handbook on ipfilter.
http://coombs.anu.edu.au/~avalon/

I think you are missing the fact that limewire does not use dedicated 
port numbers. Every session uses different port numbers and the remote 
computers come in on different hight port numbers.


Change port# to port range, then. Or you can skip the firewall.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: top incorrectly reporting process time

2008-11-27 Thread Kris Kennaway

Ott Köstner wrote:

Kris Kennaway wrote:

Ott Köstner wrote:

Jeremy Chadwick wrote:

On Sun, Nov 16, 2008 at 04:34:01PM +0200, Ott Köstner wrote:
 

On several FreeBSD machines I have the following problem:



What FreeBSD version?  (It matters)
  

7.1-PRERELEASE FreeBSD

But I can experience it also on a 7.0 machine. Seems that top reports
incorrectly processes with multiple threads.

$ top -bUbind
last pid: 21635;  load averages:  0.73,  0.46,  0.29  up 1+00:17:18
16:48:10
54 processes:  1 running, 53 sleeping

Mem: 66M Active, 1174M Inact, 204M Wired, 36K Cache, 112M Buf, 555M Free
Swap: 2048M Total, 2048M Free

 PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 979 bind8  440 40288K 32916K select 0   0:16  0.00% named

$ ps -ax|grep 979
 979  ??  Ss 1:11.26 /usr/sbin/named -n 5 -t /var/named -u bind


Check top -H to display the statistics for individual threads.

Kris

# top -bUmysql
last pid:  8336;  load averages:  0.33,  0.30,  0.24  up 13+22:36:29
08:47:07

157 processes: 1 running, 156 sleeping

Mem: 1163M Active, 2058M Inact, 555M Wired, 160M Cache, 214M Buf, 22M Free
Swap: 4096M Total, 432K Used, 4095M Free


 PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU 
COMMAND

1079 mysql   9  200 92316K 70472K sigwai 1   0:04  0.00% mysqld
1015 mysql   1   80  7056K  1332K wait   1   0:00  0.00% sh

- 


# top -bHUmysql
last pid:  8497;  load averages:  0.36,  0.32,  0.25  up 13+22:37:43
08:48:21

148 processes: 4 running, 144 sleeping

Mem: 1147M Active, 2068M Inact, 554M Wired, 156M Cache, 214M Buf, 32M Free
Swap: 4096M Total, 432K Used, 4095M Free


 PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
1079 mysql 440 92316K 70472K select 0   4:10  0.00% mysqld
1079 mysql 440 92316K 70472K select 0   3:12  0.00% mysqld
1079 mysql 440 92316K 70472K select 1   1:59  0.00% mysqld
1079 mysql 440 92316K 70472K ucond  0   0:47  0.00% mysqld
1079 mysql 440 92316K 70472K select 0   0:26  0.00% mysqld
1079 mysql 200 92316K 70472K sigwai 1   0:04  0.00% mysqld
1079 mysql 440 92316K 70472K ucond  0   0:04  0.00% mysqld
1079 mysql 440 92316K 70472K ucond  1   0:01  0.00% mysqld
1015 mysql  80  7056K  1332K wait   1   0:00  0.00% sh
1079 mysql 440 92316K 70472K ucond  0   0:00  0.00% mysqld
-- 



This seems to be the only inconsistent one:


# ps -ax|grep 1079
1079 con- S576:13.90 [mysqld]


Check that your ps binary is in sync with your kernel, i.e. rebuild 
world with the same sources you used to build your kernel.


Kris

-- 
# ps -aHx|grep 1079

1079 con- S  1:58.71 [mysqld]
1079 con- I  0:00.00 [mysqld]
1079 con- S  0:01.30 [mysqld]
1079 con- I  0:46.72 [mysqld]
1079 con- S  0:03.51 [mysqld]
1079 con- S  0:26.05 [mysqld]
1079 con- S  3:11.80 [mysqld]
1079 con- S  4:09.88 [mysqld]
1079 con- S  0:03.67 [mysqld]


Strange?

Greetings,
O.K.

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





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


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1

Bernt Hansson wrote:

Fbsd1 said the following on 2008-11-28 07:24:

Bernt Hansson wrote:

Fbsd1 said the following on 2008-11-27 09:56:
What pf or ipf firewall keep-state rules needed to allow p2p 
application such as limewire through? Using same firewall rules as 
in handbook example.


Put this in your /etc/ipnat.rules

rdr rl0 0.0.0.0/0 port port# - internal-ip port port# tcp
rdr rl0 0.0.0.0/0 port port# - internal-ip port port# udp







How about explaining just why this is going to allow p2p limewire work?


Read the handbook on ipfilter.
http://coombs.anu.edu.au/~avalon/

I think you are missing the fact that limewire does not use dedicated 
port numbers. Every session uses different port numbers and the remote 
computers come in on different hight port numbers.


Change port# to port range, then. Or you can skip the firewall.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



I checked the ipfilter online handbook and can not find anything about 
rules for igmp packets, p2p or limewire. I know what a rdr statement 
does but can not see how it can be applied to a p2p application which 
does NOT use dedicated port numbers. The only way i can run limewire is 
to disable my firewall and that does not make me happy.



I think the conclusion is that all 3 of the freebsd firewalls are unable 
 to monitor packet exchange of p2p applications. These firewalls were 
designed before p2p applications were developed and their (p2p) inherent 
design is to defeat standard firewall designs.

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