Re: starting xfce4 reboots machine

2012-05-30 Thread Waitman Gobble
On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble wrote:

>
>
> On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble wrote:
>
>>
>>
>> On Mon, May 28, 2012 at 7:42 AM, Warren Block  wrote:
>>
>>> On Sun, 27 May 2012, Waitman Gobble wrote:
>>>
>>>  Hi,

 I've been running FreeBSD 10.0-CURRENT for some months, last time i
 rebuilt
 the system was April 20th. I've rebooted my machine many times and
 started
 X and Xfce4 without any trouble, however today I'm out of town on the
 road
 and when I startx my machine reboots. If I log in as root and startx i
 can
 run xorg without xfce4. but if i try startxfce4 the machine reboots. If
 I
 try to startx without xfce4 from my non-root account it locks up.
 It's pretty quick and nothing I can see in the logs...

 Anyone have any ideas about troubleshooting??? It seems like it's out of
 the blue with no changes to the system that I recall. :)

>>>
>>> First, make sure you have cairo-1.10 instead of 1.12.  After that, run
>>> pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that says it is
>>> missing libxfce4-utils.
>>>
>>> After that, well, I still see some unsteadiness from xfce-4.10. There's
>>> a long delay on start, like a DNS timeout (but I have working DNS).
>>>  Switching to console works, switching back usually does not, rebooting the
>>> machine.  Leaving X and starting again reboots the machine.  These last two
>>> could be due to the recent X upgrade, except I'm pretty sure they did not
>>> happen until xfce-4.10.
>>>
>>
>> thanks. i'll check it out..
>>
>> Waitman
>>
>>
> spending some time troubleshooting this. it's a weird harold, the machine
> runs fine for days doing various things (but if i want X i have to log in
> as root first and startx, otherwise instant reboot). I've noticed that if i
> do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap
> of a finger instantly.
>
> I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll
> have to re-add somehow, might have to build from source if it won't stop
> rebooting :)
>
> i'll try the pkg_libchk
>
> Thanks,
>
> Waitman
>
>
this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up with
the zero-byte files.. i did do a pkg_delete but didn't expect to see this.
-rw-r--r--   1 root  wheel 0 May 30 23:16 libcairo-gobject.a
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo-gobject.la
lrwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo-gobject.so -> 
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo-gobject.so.2
-rw-r--r--   1 root  wheel 0 May 30 23:16 libcairo-script-interpreter.a
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo-script-interpreter.la
lrwxr-xr-x   1 root  wheel 0 May 30 23:16 
libcairo-script-interpreter.so -> 
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 
libcairo-script-interpreter.so.2
-rw-r--r--   1 root  wheel 0 May 30 23:16 libcairo.a
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo.la
lrwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo.so -> 
-rwxr-xr-x   1 root  wheel 0 May 30 23:16 libcairo.so.2
-rw-r--r--   1 root  wheel 75894 Mar  5 06:32 libpangocairo-1.0.a
-rwxr-xr-x   1 root  wheel  1705 Mar  5 06:32 libpangocairo-1.0.la
lrwxr-xr-x   1 root  wheel22 Mar  5 06:32 libpangocairo-1.0.so -> 
libpangocairo-1.0.so.0
-rwxr-xr-x   1 root  wheel 53539 Mar  5 06:32 libpangocairo-1.0.so.0
___
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"

Audio CD issue -- most everything but noise

2012-05-30 Thread Gary Aitken
I'm having trouble getting an audio cd to make any (pleasant) noise (9.0 
release).

The cd mounts a regular file system ok and audio generally works ok -- playing 
from a file works.

>cdcontrol eject  (works)
>cdcontrol info   (displays reasonable TOC)
>cdcontrol play   (returns to prompt but I hear nothing)
>cdcontrol status
Audio status = 17, current track = 2, current position = 0:25.43
No media catalog info available
Left volume = 255, right volume = 255

Successive status requests look like it is progressing through the CD just fine.

Specifying an argument to play fails:
>cdcontrol play 1
cdcontrol: Invalid argument

>cdcontrol debug on
cdcontrol: Inappropriate ioctl for device

and the -v argument produces no verbose output.

The CD does not have any direct to mobo audio wire, only the ATA cable.  
I'm assuming fbsd gets the audio down the ata cable, correct?

If I do

>cdcontrol pause
>cdcontrol status

I hear the CD spin up, and it stays spinning for a while.
If I wait for it to spin down and then do

>cdcontrol resume
cdcontrol: Input/output error
>cdcontrol play

I never hear the device spin up.

>cdcontrol pause
>cdcontrol resume
>cdcontrol status

Gives no error message, nor does the device spin up after the resume.
The status does show it playing, however.

Thanks for any helpful hints, I'm totally confused.

Gary
___
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: starting xfce4 reboots machine

2012-05-30 Thread Waitman Gobble
On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble wrote:

>
>
> On Mon, May 28, 2012 at 7:42 AM, Warren Block  wrote:
>
>> On Sun, 27 May 2012, Waitman Gobble wrote:
>>
>>  Hi,
>>>
>>> I've been running FreeBSD 10.0-CURRENT for some months, last time i
>>> rebuilt
>>> the system was April 20th. I've rebooted my machine many times and
>>> started
>>> X and Xfce4 without any trouble, however today I'm out of town on the
>>> road
>>> and when I startx my machine reboots. If I log in as root and startx i
>>> can
>>> run xorg without xfce4. but if i try startxfce4 the machine reboots. If I
>>> try to startx without xfce4 from my non-root account it locks up.
>>> It's pretty quick and nothing I can see in the logs...
>>>
>>> Anyone have any ideas about troubleshooting??? It seems like it's out of
>>> the blue with no changes to the system that I recall. :)
>>>
>>
>> First, make sure you have cairo-1.10 instead of 1.12.  After that, run
>> pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that says it is
>> missing libxfce4-utils.
>>
>> After that, well, I still see some unsteadiness from xfce-4.10. There's a
>> long delay on start, like a DNS timeout (but I have working DNS).
>>  Switching to console works, switching back usually does not, rebooting the
>> machine.  Leaving X and starting again reboots the machine.  These last two
>> could be due to the recent X upgrade, except I'm pretty sure they did not
>> happen until xfce-4.10.
>>
>
> thanks. i'll check it out..
>
> Waitman
>
>
spending some time troubleshooting this. it's a weird harold, the machine
runs fine for days doing various things (but if i want X i have to log in
as root first and startx, otherwise instant reboot). I've noticed that if i
do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap
of a finger instantly.

I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll have
to re-add somehow, might have to build from source if it won't stop
rebooting :)

i'll try the pkg_libchk

Thanks,

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


9.0 on SSD

2012-05-30 Thread Victor Sudakov
Colleagues, 

I have installed 9.0-RELEASE on a SSD drive with the following
tweaking so far:

1. tmpmfs="YES" (WRKDIRPREFIX etc will go there too).

2. mount -o noatime

3. tunefs -t enable

I have not done any tricky partition alignment, do I really need to? Is
anything else advisable?

There is one thing that worries me, why is TRIM not shown as enabled in
camcontrol output?

[root@vas ~] tunefs -p /dev/ada0p2 | & grep -i trim
tunefs: trim: (-t) enabled
[root@vas ~] camcontrol identify ada0 | egrep '^Fea|TRIM'
Feature  Support  Enabled   Value   Vendor
data set management (TRIM) yes
[root@vas ~]


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


VT-d not working for FreeBSD 9.0 guest with IXGBE

2012-05-30 Thread Shesha Sreenivasamurthy
Hi,
  I have an issue with enabling VT-d with freebsd guest and was wondering
of anyone out there are experiencing the similar issues.

I am using the following setup
 HOST: Centos 6.2
 Hypervisor: KVM
 Hardware: ixgbe 82599EB (10 GB nic)
 Guest: freebsd 9.0
 Guest Driver version 2.4.4

When I use MSI/MSIX the link status is shown as "no carrier". When I
disable MSI and MSIX in the guest so that it can fall back on INTx, I see
that the link becomes active. However not packets are sent or received.

When pinged from outside, sysctl shows

dev.ix.0.queue0.txd_head: 0
dev.ix.0.queue0.rxd_head: 0
dev.ix.0.queue0.rxd_tail: 2047
dev.ix.0.queue0.rx_packets: 0
dev.ix.0.mac_stats.good_octets_rcvd: 320
dev.ix.0.mac_stats.good_pkts_rcvd: 5

When pinged from inside, sysctl shows

dev.ix.0.queue0.txd_head: 0
dev.ix.0.queue0.rxd_head: 0
dev.ix.0.queue0.txd_tail: 4
dev.ix.0.queue0.rxd_tail: 2047
dev.ix.0.queue0.tx_packets: 4
dev.ix.0.queue0.rx_packets: 0
dev.ix.0.mac_stats.good_octets_rcvd: 320
dev.ix.0.mac_stats.good_pkts_rcvd: 5
dev.ix.0.mac_stats.good_octets_txd: 0
dev.ix.0.mac_stats.good_pkts_txd: 0

I guess, hardware is getting the packets but not put in the ringbuffer.

If I install freebsd 9.0 on bare metel and have the same hardware and same
driver running, the link comes up and packets are transferred. Therefore,
in case of VT-d (PCI passthrough) the driver is not setting up things
correctly.

Another data point is, if Centos guests is used instead of freebsd guest,
the hardware comes up correctly and can send/receive packets. The freebsd
driver that I am using is the one posted on the intel's website.

http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&ProdId=3189&DwnldID=14688&ProductFamily=Ethernet+Components&ProductLine=Ethernet+Controllers&ProductProduct=Intel%C2%AE+82599+10+Gigabit+Ethernet+Controller&DownloadType=Drivers&OSFullname=FreeBSD*eng
___
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: Firewall, blocking POP3

2012-05-30 Thread Robert Bonomi
> From jbiq...@intranet.com.mx  Wed May 30 13:48:05 2012
> Date: Wed, 30 May 2012 13:47:34 -0500
> To: Robert Bonomi 
> From: Jorge Biquez 
> Subject: Re: Firewall, blocking POP3
> Cc: freebsd-questions@freebsd.org
>
> Hello.
>
> Thanks a lot!. Simple an elegant solution.
>
> I just did that and of course it worked I just was wondering... 
> what if I need to have the service working BUT want to block those 
> break attemps? IN this and other services. ?
> My guess is that it is a never ending process? I mean, block one, 
> block another, another, etc?

If one knows the address-blocks that legitimate customers will be using,
one can block off access from 'everywhere else'.

> What the people who has big servers running for hosting services are 
> doing? Or you just have a policy of strng passworrds, server 
> up-todate and let the attemps to try forever?

There are tools like 'fail2ban' that can be used to lock out persistant
doorknob-rattlers.

Also, one can do things like allow mail access (POP, IMAP, 'whatever')
only via a port that is 'tunneled' through an SSH/SSL connection.

This eliminates almost all doorknob rattling on the mail access ports,
but gets lots of attempts on the SSH port.  Which is generally not a
problem, since the SSH keyspace is vastly larger, and more evenly
distributed, than that for plaintext passwords.

To eliminate virtually all the 'noise' from SSH doorknob-rattling, run
it on a non-standard port.  This does =not= increase the actual security
of the system, but it does greatly reduce the 'noise' in the logs -- so
any actual attack attempt is much more obvious.


___
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: termcap/terminfo magicians anyone? // colors in vim

2012-05-30 Thread Thomas Dickey
On Wed, May 30, 2012 at 05:33:27PM +0400, Peter Vereshagin wrote:
> Hello.
> 
> Being new from linux back in time I tried vim. It had pretty colors in linux 
> for me like that:
> 
> http://www.postimg.com/71000/photo-70938.jpg
> 
> But in freebsd I have what I have:
> 
> http://www.postimg.com/71000/photo-70939.jpg
> 
> It 'just works' for me if I 'vim -T linux' but:
> 
> - I'd like to know exact reason to be fixed other than just 'use linux'
> - It shows colors in ttyvX with TERM=cons25 but it has random '25h'
>   showing up in places when I implement the actions from the begin of
>   vimtutor.

If you tell vim that it's "linux" when it is really cons25, that confuses it. 
A "linux" console recognizes an particular escape sequence ending with "25h"
for making the cursor visible (ending with "25l" for invisible).  vim likes to
use that.  cons25 doesn't support it.

As noted in vim's manpage, the -T option should be used only if the
automatic way (setting $TERM correctly) doesn't work.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpj6Yh3B2Vea.pgp
Description: PGP signature


Re: Address to reach human operator regarding problems with list?

2012-05-30 Thread Julian H. Stacey
Matthew Seaman wrote:
> On 30/05/2012 14:09, Julian H. Stacey wrote:
> >> If you log into mailman at eg.
> >> > http://lists.freebsd.org/mailman/options/freebsd-questions
> >> > you can see your current score.
> 
> > I'm logged in there,
> > A page with 2nd line=20
> > Julian H. Stacey's subscription status, password, and options for the =
> freebsd-questions mailing list.=20
> >=20
> > I can't find any score. Where is it please ?
> > Maybe it might not display if score might be at nill ?=20
> > (nothing bounced to me lately that I'm aware of).
> 
> Hmmm... perhaps you haven't bounced anything from freebsd-questions@...
> For me, the third bit of text on that page says:
> 
> We have received some recent bounces from your address. Your
> current bounce score is 2.0 out of a maximum of 5.0. Please double
> check that your subscribed address is correct and that there are no
> problems with delivery to this address. Your bounce score will be
> automatically reset if the problems are corrected soon.
> 
> Right above "Changing your freebsd-questions membership information."

Ah, OK Thanks, nothing there for me, never happened to see any such
message, I guess I've been lucky, nice feature though.

I found the if clause here, line 159 of
 /usr/ports/mail/mailman/work/mailman-2.1.14/Mailman/HTMLFormatter.py
elif info and info.score > 0:
# Provide information about their current bounce score.  We know

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script, & indent with "> ".
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
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[2]: what 'M' is meaning?

2012-05-30 Thread Eugen Konkov
Hi, Matthew.
MS> On 30/05/2012 20:59, Eugen Konkov wrote:
>> Hi, Freebsd-questions.
>> 
>> 8.3-STABLE #8 r236325M
>> 
>> what does 'M' in revision number mean?

MS> That you have local, uncommitted modifications to the /usr/src tree you
MS> compiled from.  Try 'svn diff'

MS> Cheers,

MS> Matthew

oh, yes, I have local modifications. I have removed that modules,
because of
make installkernel fail with 'no such file or directory'
despite on 'geom_part_ldm.ko' compiled successfully and exists
such situation and with others commeted.

Thank you.


Index: sys/modules/Makefile
===
--- sys/modules/Makefile(revision 236325)
+++ sys/modules/Makefile(working copy)
@@ -315,8 +315,6 @@
vr \
vte \
vx \
-   wb \
-   ${_wbwd} \
${_wi} \
wlan \
wlan_acl \
Index: sys/modules/ralfw/Makefile
===
--- sys/modules/ralfw/Makefile  (revision 236325)
+++ sys/modules/ralfw/Makefile  (working copy)
@@ -1,5 +1,6 @@
 # $FreeBSD$

-SUBDIR=rt2561 rt2561s rt2661 rt2860
+SUBDIR=rt2561 rt2561s rt2661
+# rt2860

 .include 
Index: sys/modules/geom/geom_part/Makefile
===
--- sys/modules/geom/geom_part/Makefile (revision 236325)
+++ sys/modules/geom/geom_part/Makefile (working copy)
@@ -4,7 +4,6 @@
geom_part_bsd \
geom_part_ebr \
geom_part_gpt \
-   geom_part_ldm \
geom_part_mbr \
geom_part_pc98 \
geom_part_vtoc8



-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

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


Re: what 'M' is meaning?

2012-05-30 Thread Matthew Seaman
On 30/05/2012 20:59, Eugen Konkov wrote:
> Hi, Freebsd-questions.
> 
> 8.3-STABLE #8 r236325M
> 
> what does 'M' in revision number mean?

That you have local, uncommitted modifications to the /usr/src tree you
compiled from.  Try 'svn diff'

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


what 'M' is meaning?

2012-05-30 Thread Eugen Konkov
Hi, Freebsd-questions.

8.3-STABLE #8 r236325M

what does 'M' in revision number mean?

-- 
 Eugen  mailto:kes-...@yandex.ru

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


Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-30 Thread Mark Felder

On Wed, 30 May 2012 12:17:07 -0500, John Baldwin  wrote:



Humm, can you test it with 2 CPUs?



We primarily only run with 1 CPU. We have seen it crash on multiple CPU  
VMs. Also, Dane Foster appeared to have been using multiple CPUs in his  
video transcoding VMs.


Unfortunately I can't give you more information at the moment. I'm working  
with Dane to compile easy to follow steps that recreate this failure. I  
have not been successful in getting this to crash on demand in my  
environment, but Dane has so we're trying to recreate his.

___
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: Firewall, blocking POP3

2012-05-30 Thread Patrick
See /usr/ports/security/py-fail2ban (http://www.fail2ban.org/). Used
in conjunction with FreeBSD's ipfw or pf firewall facility, you can
ban an attacking IP address for a set period of time after a
configurable amount of failed attempts. Fail2ban watches your log
files for you and then triggers some sort of action -- which can
really be anything you can conceive of.

Patrick


On Wed, May 30, 2012 at 11:47 AM, Jorge Biquez  wrote:
> Hello.
>
> Thanks a lot!. Simple an elegant solution.
>
> I just did that and of course it worked I just was wondering... what if
> I need to have the service working BUT want to block those break attemps? IN
> this and other services. ?
> My guess is that it is a never ending process? I mean, block one, block
> another, another, etc?
>
> What the people who has big servers running for hosting services are doing?
> Or you just have a policy of strng passworrds, server up-todate and let the
> attemps to try forever?
>
> Thanks for the solution Mr Robert.
>
> Jorge Biquez
>
>
>
>
> At 01:32 p.m. 30/05/2012, Robert Bonomi wrote:
>>
>> > From owner-freebsd-questi...@freebsd.org  Wed May 30 13:16:37 2012
>> > Date: Wed, 30 May 2012 13:08:30 -0500
>> > To: freebsd-questions@freebsd.org
>> > From: Jorge Biquez 
>> > Cc:
>> > Subject: Firewall, blocking POP3
>> >
>> > Hello all.
>> >
>> > I am sorry if the question is too basic.
>> >
>> > I have a personal small machine running
>> >
>> >     FreeBSD 7.3-PRERELEASE #0:
>> >
>> > It runs as my web and email server for a cuple of domains. NO clients
>> > no other users have access to it.
>> >
>> > Is there any , easy/faster way to stop POP3 from being working. I am
>> > running qpopper to be able to download emailes.
>> > I decided to use sendmail since only a few accounts are there and I
>> > do not need more but in the last days the server has been under a big
>> > attack where people is trying to guess users and passwords. I am
>> > using a strong schema of passwords so no problem on that but I rather
>> > to be sure .
>>
>> The mail -server- you use is irrelevant to how users retrieve mail.
>> you can use sendmail and qpopper, or sendmail and an IMAP server, or
>> sendmail and  webmail app, or postix and qpopper, or exim and qpopper,
>> etc.
>>
>>
>> All you have to do to disable qpopper is edit comment out the line in
>> /etc/inetd.conf, and SIGHUP inetd.
>>
>> To re-enable when you need it, uncomment the line, and SIGHUP inetd again.
>
>
> ___
> 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: Firewall, blocking POP3

2012-05-30 Thread Jorge Biquez

Hello.

Thanks a lot!. Simple an elegant solution.

I just did that and of course it worked I just was wondering... 
what if I need to have the service working BUT want to block those 
break attemps? IN this and other services. ?
My guess is that it is a never ending process? I mean, block one, 
block another, another, etc?


What the people who has big servers running for hosting services are 
doing? Or you just have a policy of strng passworrds, server 
up-todate and let the attemps to try forever?


Thanks for the solution Mr Robert.

Jorge Biquez



At 01:32 p.m. 30/05/2012, Robert Bonomi wrote:

> From owner-freebsd-questi...@freebsd.org  Wed May 30 13:16:37 2012
> Date: Wed, 30 May 2012 13:08:30 -0500
> To: freebsd-questions@freebsd.org
> From: Jorge Biquez 
> Cc:
> Subject: Firewall, blocking POP3
>
> Hello all.
>
> I am sorry if the question is too basic.
>
> I have a personal small machine running
>
> FreeBSD 7.3-PRERELEASE #0:
>
> It runs as my web and email server for a cuple of domains. NO clients
> no other users have access to it.
>
> Is there any , easy/faster way to stop POP3 from being working. I am
> running qpopper to be able to download emailes.
> I decided to use sendmail since only a few accounts are there and I
> do not need more but in the last days the server has been under a big
> attack where people is trying to guess users and passwords. I am
> using a strong schema of passwords so no problem on that but I rather
> to be sure .

The mail -server- you use is irrelevant to how users retrieve mail.
you can use sendmail and qpopper, or sendmail and an IMAP server, or
sendmail and  webmail app, or postix and qpopper, or exim and qpopper,
etc.


All you have to do to disable qpopper is edit comment out the line in
/etc/inetd.conf, and SIGHUP inetd.

To re-enable when you need it, uncomment the line, and SIGHUP inetd again.


___
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: Firewall, blocking POP3

2012-05-30 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Wed May 30 13:16:37 2012
> Date: Wed, 30 May 2012 13:08:30 -0500
> To: freebsd-questions@freebsd.org
> From: Jorge Biquez 
> Cc: 
> Subject: Firewall, blocking POP3 
>
> Hello all.
>
> I am sorry if the question is too basic.
>
> I have a personal small machine running
>
> FreeBSD 7.3-PRERELEASE #0:
>
> It runs as my web and email server for a cuple of domains. NO clients 
> no other users have access to it.
>
> Is there any , easy/faster way to stop POP3 from being working. I am 
> running qpopper to be able to download emailes.
> I decided to use sendmail since only a few accounts are there and I 
> do not need more but in the last days the server has been under a big 
> attack where people is trying to guess users and passwords. I am 
> using a strong schema of passwords so no problem on that but I rather 
> to be sure .

The mail -server- you use is irrelevant to how users retrieve mail.
you can use sendmail and qpopper, or sendmail and an IMAP server, or
sendmail and  webmail app, or postix and qpopper, or exim and qpopper,
etc.


All you have to do to disable qpopper is edit comment out the line in 
/etc/inetd.conf, and SIGHUP inetd.

To re-enable when you need it, uncomment the line, and SIGHUP inetd again.



___
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: Address to reach human operator regarding problems with list?

2012-05-30 Thread Ian Smith
In freebsd-questions Digest, Vol 417, Issue 4, Message: 26
On Wed, 30 May 2012 06:31:38 -0400 "Thomas Mueller"  
wrote:

 [Matthew Seaman wrote:]
 > > freebsd-questions-owner@... is correct, except that to my knowledge
 > > there isn't really a moderator for freebsd-questions (it's an open list
 > > that anyone can post to without having to be a member) and that address
 > > ultimately gets dealt with by postmas...@freebsd.org.

'Ultimately' being operative; I gather it rather depends on workload.  
It does sound a little odd that writing to freebsd-questions-owner@ is 
interpreted as mail to a subs-only list (moderators@), which may be well 
down the TODO queue of the postmaster@ team.

 > > The message you got about "held for moderation" is standard boiler-plate
 > > from mailman, and probably not appropriate for your specific circumstances.

I think mentioning the whole circumstance to postmaster@, including the 
result of posting to freebsd-questions-owner@ could be worthwhile; I 
wouldn't suggest every little mail issue should go to postmaster@, but 
apart from Tom's immediate problem, there may be a functional issue.

 > > On the whole though, you shouldn't need to contact anyone about the
 > > warning you received.   It generally occurs when your mail system
 > > rejects messages from the freebsd-questions@... list as spam.  As there
 > > is a certain amount of spam that does appear on the list, this is an
 > > absolutely legitimate practice: trouble is, it's hard for the FreeBSD
 > > mail system to distinguish deliberate non-acceptance of spam from
 > > accidental non-acceptance of traffic due to a broken mailer.

Indeed.  Considering the number of lists and the number of subscribers, 
I think mailman (and spamassassin recipes) do a great job, though it's 
always going to be a battle chasing the latest spammer techniques; the 
recent spamruns with multiple 'From:' addresses being a case in point, 
not a pretty look seeing spam 'apparently' by FreeBSD committers ..

 > > Mailman has an adaptive system that scores you based on how many rejects
 > > you generate in a certain time period.  If you log into mailman at eg.
 > > http://lists.freebsd.org/mailman/options/freebsd-questions
 > > you can see your current score.  Mine is currently 2.0 (out of 5.0) and
 > > has been about that for quite some time.  So long as your score is not
 > > too large, I wouldn't worry about the message you received.  Even if
 > > your score does go over the threshold, you can just use that same
 > > interface to re-enable delivery.

I hadn't checked for ages, but see my score is now 1.0, probably from a 
couple of days downtime last month ie delayed delivery.  This would help 
Tom see if mailman 'knows' anything about his problem, but not what was 
happening to cause that?

 > I contacted my Internet service provider, Insight Cable, about the 
 > problem, and they need a copy of any message that bounces, so they 
 > can see what went awry.

Bit strange asking you to provide copies of messages you didn't get :)

Are they providing your inbound MX server, ie is that where your mail is 
received?  I gather you're not running your own mailserver.  It should 
not be hard to find any such bounces from/to mx2.freebsd.org in their 
mail or spam logs, if it was they who bounced them?  If not, who did?

 > So I can't just ignore the problem.

I rather suspect that even if each bounce is logged at freebsd.org (and 
it might be some task to find yours, beyond that they've been counted), 
that it could be non-trivial to locate the offending source messages.  
Not impossible, Message-IDs are likely logged, but last-resort stuff.

OTOH this may be something postmaster@ does routinely, what do I know :)

 > Maybe I should resend the message to postmas...@freebsd.org instead 
 > of freebsd-questions-ow...@freebsd.org?
 > 
 > This problem relates to FreeBSD emailing lists in general, not just 
 > one list such as questions@ .

Yes, in this case I think you should, after exploring the options 
Matthew outlined.  Be sure to show complete headers of any and all 
messages you need to forward to postmaster@.

cheers, Ian
___
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"


Firewall, blocking POP3

2012-05-30 Thread Jorge Biquez

Hello all.

I am sorry if the question is too basic.

I have a personal small machine running

FreeBSD 7.3-PRERELEASE #0:

It runs as my web and email server for a cuple of domains. NO clients 
no other users have access to it.


Is there any , easy/faster way to stop POP3 from being working. I am 
running qpopper to be able to download emailes.
I decided to use sendmail since only a few accounts are there and I 
do not need more but in the last days the server has been under a big 
attack where people is trying to guess users and passwords. I am 
using a strong schema of passwords so no problem on that but I rather 
to be sure .


I was thinking on the following options.

- Stopping the service, port 110 to respond and open it everytime I 
want to download email.
- Install a firewall and block all the IP's but they are trying from 
a lot different ones.
- Maybe changing the port for pop3 and change all my devices to use 
another port?


In case I need to start from zero and install a newer version I can 
do it, no problem at all but I am not sure if that helps to do things 
a easier way.
Maybe install a complete different schema of sending receiving email 
(perhaps do not use sendmail to send , change to postfix and use IMAP 
instead of pop3. Would that help?


Thank in advance for all your comments and help.

Jorge Biquez

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


Bsdtech QUESTION

2012-05-30 Thread Alex
Hi,
We have managed to secure the domain Bsdtech.com for one of our
web apps however we have decided to change the name
and secure a different name that suits out project better.
If you would be interested in purchasing this domain please
don't hesitate to contact us.

Thanks
Alex Verdea
NameConsultants LLC.
PO BOX 1522
Enka, NC 28728
828-367-7030 (mobile)

___
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: Corrections to: unable to upgrade to mysql55-server

2012-05-30 Thread Matthew Seaman
On 30/05/2012 17:57, Gene wrote:
>  I've been trying to install the port databases/mysql55-server, updating from 
> the older  5.4 version. mysql55-client installed just fine. However, when I 
> "make" the '-server' port I get the errors shown in the first listing below. 
> So I tried 
>  "portmanager databases/mysql55-server -l -u"  
> (latest version of portmanager - 0.4.1_9). 

Did you update to databases/mysql55-client before trying this?
mysqlXX-server depends on mysqlXX-client for the libmysql shared library
and related header files.

Generally to switch from mysql 5.4 to mysql 5.5 you'ld do something like
this:

   0) Backups, fasting, ritual cleansing, sacrifice of black cockerel,
  you know the drill.

   1) Stop MySQL -- plus any web servers or whatever that access mysql.

# /usr/local/etc/rc.d/mysql-server stop
# ...

   2) If there is any mention of MYSQL related variables in
  /etc/make.conf, particularly those referring to version numbers,
  comment them out.

   3) Upgrade mysql-client:

# portmaster -o databases/mysql55-client 'mysql-client-5.4.*'

   4) Upgrade mysql-server:

# portmaster -o databases/mysql55-server 'mysql-server-5.4.*'

   5) If you've got them installed, upgrade mysql-scripts:

# portmaster -o databases/mysql55-scripts 'mysql-scripts-5.4.*'

   6) Upgrade anything that links against libmysql.so -- you can use
  sysutils/bsdadminscripts which contains a handy script to tell
  you what applications on your system are affected.  Or, for the
  lazy and those with excess spare time:

# portmaster -r databases/mysql55-client

  (but this will do far more work than necessary)

   7) Restart mysql and run the supplied program to update schemas etc.

# /usr/local/etc/rc.d/mysql-server start
# mysql_upgrade

   8) Restart any applications that use mysql.

   9) Test.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Corrections to: unable to upgrade to mysql55-server

2012-05-30 Thread Gene
Running 8.1 amd64. Ports are up to date (via portsnap). 

 I've been trying to install the port databases/mysql55-server, updating from 
the older  5.4 version. mysql55-client installed just fine. However, when I 
"make" the '-server' port I get the errors shown in the first listing below. 
So I tried 
 "portmanager databases/mysql55-server -l -u"  
(latest version of portmanager - 0.4.1_9). 

 Attempts to update produce multiple looping errors as in the second listing 
 below. I've found references to this error, but the latest version of 
 portmanager (I thought) was supposed to fix this (or did it just eliminate 
 infinite loops?). Note that I have attempted to compile some of the 
"looping" ports individually and they compile and install with no problems.

 Does anyone have an idea what might be going on here? 

 Thanks in advance... 

First listing
 === 
  

 /usr/bin/c++   -O2 -fno-strict-aliasing -pipe -Wall -Wno-unused-parameter - 
 fno-implicit-templates -fno-exceptions -fno-rtti -O2 -fno-strict-aliasing - 
 pipe -DDBUG_OFF  -Wl,--export-dynamic CMakeFiles/mysqld.dir/main.cc.o  -o 
 mysqld  -pthread libsql.a ../mysys/libmysys.a ../storage/perfschema/ 
 libperfschema.a ../storage/myisam/libmyisam.a ../storage/csv/libcsv.a ../ 
 storage/myisammrg/libmyisammrg.a ../storage/heap/libheap.a ../storage/ 
 innobase/libinnobase.a libpartition.a ../mysys/libmysys.a ../dbug/libdbug.a 
 ../mysys/libmysys.a ../dbug/libdbug.a -lz -lm ../strings/libstrings.a ../
vio/ 
 libvio.a ../regex/libregex.a -lwrap -lcrypt ../extra/yassl/libyassl.a ../ 
 extra/yassl/taocrypt/libtaocrypt.a -pthread 

 libsql.a(sql_yacc.cc.o)(.text+0xb696): In function `MYSQLparse(void*)': 
 : undefined reference to `vtable for 
Alter_table_truncate_partition_statement' 

 libsql.a(sql_yacc.cc.o)(.text+0xb72a): In function `MYSQLparse(void*)': 
 : undefined reference to `vtable for Alter_table_repair_partition_statement' 

 libsql.a(sql_yacc.cc.o)(.text+0xb77a): In function `MYSQLparse(void*)': 
 : undefined reference to `vtable for Alter_table_check_partition_statement' 

 libsql.a(sql_yacc.cc.o)(.text+0xb7de): In function `MYSQLparse(void*)': 
 : undefined reference to `vtable for 
Alter_table_analyze_partition_statement' 

 libsql.a(sql_yacc.cc.o)(.text+0xb842): In function `MYSQLparse(void*)': 
 : undefined reference to `vtable for 
Alter_table_optimize_partition_statement' 

 *** Error code 1 
 1 error 
 ===

Second listing

skipping tcl-modules-8.5.11 /lang/tcl-modules marked IGNORE reason: looping, 
3rd attempt at make
skipping python26-2.6.8 /lang/python26 marked IGNORE reason: looping, 3rd 
attempt at make
skipping expat-2.0.1_2 /textproc/expat2 marked IGNORE reason: looping, 3rd 
attempt at make
skipping renderproto-0.11.1 /x11/renderproto marked IGNORE reason: looping, 
3rd attempt at make
skipping gmp-5.0.5 /math/gmp marked IGNORE reason: looping, 3rd attempt at 
make



--

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


unable to upgrade to mysql55-server

2012-05-30 Thread Gene
Greetings:

ZRunning 8.1 amd64. Ports are up to date (via portsnap).

I've been trying to install the port databases/mysql55-server from the older 
5.4 version. mysql55-client installed just fine. However, when I "make" the 
port I get the shown in the first listing below. So I tried 
"portmanager databases/mysql55-server -l -u"  (latest version - -0.4.1_9). 
Attempts to update produce multiple looping errors as in second listing 
below. I've found references to this error, but the latest version of 
portmanager (I thought) was supposed to fix this (or did it just eliminate 
infinite loops?).

Does anyone have an idea what might be going on here?

Thanks in advance...


===


/usr/bin/c++   -O2 -fno-strict-aliasing -pipe -Wall -Wno-unused-parameter -
fno-implicit-templates -fno-exceptions -fno-rtti -O2 -fno-strict-aliasing -
pipe -DDBUG_OFF  -Wl,--export-dynamic CMakeFiles/mysqld.dir/main.cc.o  -o 
mysqld  -pthread libsql.a ../mysys/libmysys.a ../storage/perfschema/
libperfschema.a ../storage/myisam/libmyisam.a ../storage/csv/libcsv.a ../
storage/myisammrg/libmyisammrg.a ../storage/heap/libheap.a ../storage/
innobase/libinnobase.a libpartition.a ../mysys/libmysys.a ../dbug/libdbug.a 
../mysys/libmysys.a ../dbug/libdbug.a -lz -lm ../strings/libstrings.a ../vio/
libvio.a ../regex/libregex.a -lwrap -lcrypt ../extra/yassl/libyassl.a ../
extra/yassl/taocrypt/libtaocrypt.a -pthread 

libsql.a(sql_yacc.cc.o)(.text+0xb696): In function `MYSQLparse(void*)':
: undefined reference to `vtable for Alter_table_truncate_partition_statement'

libsql.a(sql_yacc.cc.o)(.text+0xb72a): In function `MYSQLparse(void*)':
: undefined reference to `vtable for Alter_table_repair_partition_statement'

libsql.a(sql_yacc.cc.o)(.text+0xb77a): In function `MYSQLparse(void*)':
: undefined reference to `vtable for Alter_table_check_partition_statement'

libsql.a(sql_yacc.cc.o)(.text+0xb7de): In function `MYSQLparse(void*)':
: undefined reference to `vtable for Alter_table_analyze_partition_statement'

libsql.a(sql_yacc.cc.o)(.text+0xb842): In function `MYSQLparse(void*)':
: undefined reference to `vtable for Alter_table_optimize_partition_statement'



*** Error code 1
1 error
===



--

___
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: Chromium - fails to compile

2012-05-30 Thread Lowell Gilbert
Ewald Jenisch  writes:

> On one of my systems (FreeBSD 9.0 AMD64; kernel/system current as of
> today; all ports up to date) chromium (ports/www/chromium) fails to compile.
>
> Here's what I get:
>
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp: In function 'void 
> {anonymous}::S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState&, con
> st uint32_t*, int, uint32_t*) [with bool has_alpha = true, uint32_t = 
> unsigned int]':
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:722:65:   
> instantiated from here
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:603:9: error: 
> '_mm_set1_epi16' was not declared in this scope
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:635:9: error: 
> '_mm_setzero_si128' was not declared in this scope
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:635:9: error: 
> '_mm_packus_epi16' was not declared in this scope
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:671:9: error: 
> '_mm_unpacklo_epi8' was not declared in this scope
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:688:9: error: 
> '_mm_add_epi16' was not declared in this scope
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:693:9: error: 
> '_mm_setzero_si128' was not declared in this scope
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:693:9: error: 
> '_mm_packus_epi16' was not declared in this scope
> third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:696:9: error: 
> '_mm_cvtsi128_si32' was not declared in this scope
> gmake: *** 
> [out/Release/obj.target/skia_opts_ssse3/third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.o]
>  Error 1
> gmake: *** Waiting for unfinished jobs
> *** Error code 1

If you had looked a little earlier in the output, you would have gotten
a bit more of a clue from the compiler.

> Stop in /usr/ports/www/chromium.
> *** Error code 1
>
> Stop in /usr/ports/www/chromium.
>
>
> Please note that I cvsup-ed just a few minutes ago - also tried "make
> distclean" followed by make - same result :-(
>
> Has anybody out there seen this problem before?

Yes. Chromium currently depends on SSE3; the recommended way of enabling
that appears to be setting CPUTYPE. 

I'm not sure what the implications are for build machines whose output
might be used on a variety of hardware...
___
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: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-30 Thread Mark Felder

On Wed, 30 May 2012 10:06:13 -0500, John Baldwin  wrote:



Do you only have one CPU in this VM?  If not, do you know which threads
the other CPUs were running (e.g. do you have ps7.png, etc.)?


correct, only one CPU in the VM
___
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: Address to reach human operator regarding problems with list?

2012-05-30 Thread Matthew Seaman
On 30/05/2012 14:09, Julian H. Stacey wrote:
>> If you log into mailman at eg.
>> > http://lists.freebsd.org/mailman/options/freebsd-questions
>> > you can see your current score.

> I'm logged in there,
> A page with 2nd line 
>   Julian H. Stacey's subscription status, password, and options for the 
> freebsd-questions mailing list. 
> 
> I can't find any score. Where is it please ?
>   Maybe it might not display if score might be at nill ? 
>   (nothing bounced to me lately that I'm aware of).

Hmmm... perhaps you haven't bounced anything from freebsd-questions@...
For me, the third bit of text on that page says:

We have received some recent bounces from your address. Your
current bounce score is 2.0 out of a maximum of 5.0. Please double
check that your subscribed address is correct and that there are no
problems with delivery to this address. Your bounce score will be
automatically reset if the problems are corrected soon.

Right above "Changing your freebsd-questions membership information."

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-30 Thread John Baldwin
On Thursday, May 24, 2012 9:47:46 am Mark Felder wrote:
> On Wed, 23 May 2012 17:30:40 -0500, Adrian Chadd   
> wrote:
> 
> > Hi,
> >
> > can you please, -please- file a PR? And place all of the above
> > information in it so we don't lose it?
> >
> 
> I'd be glad to post a PR and assist in helping to get it permanently  
> fixed. I certainly don't want this data to get lost and honestly our  
> business uses FreeBSD on VMWare so much that we really need a permanent  
> fix as much as anyone else :-)
> 
> The reason I've hesitated to post a PR so far is that I didn't have any  
> truly useful or concrete evidence of where the problem lies. After Dane  
> Foster contacted me and told me he could recreate the crash on demand with  
> his workload it was easier to narrow things down. The suggestion that it  
> was an interrupts issue (by possibly Bjoern Zeeb?) and Dane's discovery  
> that his crashes ceased when em0 and mpt0 share an IRQ, but em0 is  
> completely unused was starting to prove there is some strong evidence here  
> in favor of the interrupts issue.
> 
> Dane, what's the status on your end? Has your fix still been successful?  
> Is it also stable if you simply set hint.mpt.0.msi_enable="1" ?

Hmm, so the set of ps output you have from DDB shows a lot of runnable 
processes and swi6 (Giant taskq) as the only running thread (all consistent
with your hang).  (And that is from your Ctrl-Alt-Esc)

Do you only have one CPU in this VM?  If not, do you know which threads
the other CPUs were running (e.g. do you have ps7.png, etc.)?

-- 
John Baldwin
___
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: Swap files and panics

2012-05-30 Thread Derek Ragona

At 10:54 AM 5/29/2012, Warren Block wrote:
Recently I rearranged partitions on an SSD.  The swap partition was 
eliminated in favor of a swap file on /usr.  This works, allows TRIM 
support on the swap space, and is easier to resize than a partition.


However, sometimes the system panics on shutdown.  It happens after 
"syncing disks", so the filesystems are fine, but it's disconcerting.


I suspect but haven't yet managed to prove that it's only when swap is not 
empty.  A race condition involving when the filesystems are unmounted?  Or 
should there be some code in /etc/rc.d/addswap to run swapoff before shutdown?


This is on a very recent 9-STABLE amd64, i5 2500K.

rc.conf:
swapfile="/usr/swap/swap"



Did you remove the old swap file entry from /etc/fstab?

-Derek

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

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


Unknown modifier 'u' ... Variable ALL_OPTIONS is recursive.

2012-05-30 Thread Arsen.Shnurkov
http://forums.freebsd.org/showthread.php?p=178820

make starts to give error messages for every package:

[root@freebsd62 /usr/ports/www/xsp]# make
Unknown modifier 'u'

Variable ALL_OPTIONS is recursive.


"/usr/ports/Mk is undergoing major changes today, 29 May 2012..."

How to fix this ?

___
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: termcap/terminfo magicians anyone? // colors in vim

2012-05-30 Thread Peter Vereshagin
Hello.

2012/05/30 16:15:24 +0200 uki  => Cc 
freebsd-questions@freebsd.org :
u> Hi,
u> 
u> things to check:
u> * does the color scheme require 256 colors? is your terminal compiled
u> with that feature?

I think I've just recompiled x11/xterm with 256 colors it but did not check the 
old xterm with 256color2.pl as I use tmux... With tmux I see 8 colors, 
8-colored cubes and a white ramp.
Without tmux I see 16 system colors and nothing instead cubes and black ramp 
too.
Why should I need more colors? '-T linux' is just fine with 8 colors... It even 
works (but badly) in ttyvX

I restarted xterm after I rebuilt it, I believe no need to restart Xorg.

u> * check your TERM env variable, (also try setting t_Co in vim) some
u> info here: http://vim.wikia.com/wiki/256_colors_in_vim

TERM is xterm in xterm and screen in tmux.

What if vim takes a different colorscheme depending on its -T parameter ? At 
the least TERM=linux does the needed trick on vim but not on, say. 'ls -G' ...

On a second look I see only 3 colors enough (+ black + white) on the 
what-I-need picture, they are just as bright as they should.

u> cheers,
u> ??ukasz Gruner
u> 
u> 
u> 2012/5/30 Peter Vereshagin :
u> > Hello.
u> >
u> > Being new from linux back in time I tried vim. It had pretty colors in 
linux for me like that:
u> >
u> > http://www.postimg.com/71000/photo-70938.jpg
u> >
u> > But in freebsd I have what I have:
u> >
u> > http://www.postimg.com/71000/photo-70939.jpg
u> >
u> > It 'just works' for me if I 'vim -T linux' but:
u> >
u> >    - I'd like to know exact reason to be fixed other than just 'use linux'
u> >    - It shows colors in ttyvX with TERM=cons25 but it has random '25h'
u> >      showing up in places when I implement the actions from the begin of
u> >      vimtutor.
u> >
u> > Nothing to add more yet other than ':set term=linux' doesn't work for 
colors
u> > that way.
u> >
u> > Thanks in advance.
u> >
u> > --
u> > Peter Vereshagin  (http://vereshagin.org) pgp: 
A0E26627
u> > ___
u> > freebsd-questions@freebsd.org mailing list
u> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
u> > To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"
u> ___
u> freebsd-questions@freebsd.org mailing list
u> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
u> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 
___
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: Need some help building bootcrunch

2012-05-30 Thread Rick Miller
I changed some things around in the bootcrunch.conf and got it to
work.  It was building 'fetch'.  I moved -lfetch before -lmd and it
compiled fine.

On Wed, May 30, 2012 at 10:36 AM, Rick Miller  wrote:
> Hi All,
>
> I am attempting to build a bootcrunch file that I will inject into an
> mfsroot.  I'm unable to get it built completely and hoping someone
> might be able to help me identify the issue.
>
> crunchgen runs and exits without issue.  Running make fails with the
> following error indicating it's not able to find, presumably, libmd
> which exists.
>
> /usr/lib/libfetch.a(http.o)(.text+0x8c0): In function
> `http_authorize':: undefined reference to `MD5Init'
> /usr/lib/libfetch.a(http.o)(.text+0x8d5): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0x8e7): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0x8fc): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0x90e): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0x923): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0x933): In function
> `http_authorize':: undefined reference to `MD5Final'
> /usr/lib/libfetch.a(http.o)(.text+0x991): In function
> `http_authorize':: undefined reference to `MD5Init'
> /usr/lib/libfetch.a(http.o)(.text+0x9a3): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0x9b5): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0x9ca): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0x9f9): In function
> `http_authorize':: undefined reference to `MD5Final'
> /usr/lib/libfetch.a(http.o)(.text+0xa11): In function
> `http_authorize':: undefined reference to `MD5Init'
> /usr/lib/libfetch.a(http.o)(.text+0xa21): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xa33): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xa48): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xa5a): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xa88): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xa93): In function
> `http_authorize':: undefined reference to `MD5Final'
> /usr/lib/libfetch.a(http.o)(.text+0xcc0): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xcd2): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xd1c): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xd2e): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xd47): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xd59): more undefined references to
> `MD5Update' follow
> /usr/lib/libfetch.a(http.o)(.text+0xdaa): In function
> `http_authorize':: undefined reference to `MD5Init'
> /usr/lib/libfetch.a(http.o)(.text+0xdbf): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xdd1): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xdea): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xdfc): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xe46): In function
> `http_authorize':: undefined reference to `MD5Update'
> /usr/lib/libfetch.a(http.o)(.text+0xe56): In function
> `http_authorize':: undefined reference to `MD5Final'
> *** Error code 1
>
> Stop in bootcrunch.
>
> This is the bootcrunch.conf (as you can see, -lmd exists on the libs lines):
>
> buildopts -DRELEASE_CRUNCH -Dlint
>
> srcdirs /usr/src/bin
> progs hostname
> progs pwd
> progs rm
> progs sh
> progs ls
> progs test
> progs cat
> progs df
> progs sleep
> ln sh -sh
> ln test [
>
> srcdirs /usr/src/sbin
> #progs camcontrol
> progs dhclient
> progs fsck_ffs
> progs ifconfig
> progs mount_nfs
> progs newfs
> progs route
> progs rtsol
> progs tunefs
> progs kenv
> progs sysctl
> progs mdmfs
> progs dmesg
> ln fsck_ffs fsck_4.2bsd
> ln fsck_ffs fsck_ufs
>
> srcdirs /usr/src/usr.bin
> progs uname
> progs cpio
> progs find
> progs minigzip
> progs sed
> progs awk
> progs fetch
> progs ifconfig
> ln minigzip gzip
> ln minigzip gunzip
> ln minigzip zcat
>
> srcdirs /usr/src/usr.sbin
> progs arp
> progs sysinstall
> progs usbconfig
>

Re: kde4 on 8.3 and laptop

2012-05-30 Thread doug



On Wed, 30 May 2012, Julian H. Stacey wrote:


Hi,
Reference:

From:   "Brian W." 
Date:   Tue, 29 May 2012 22:48:20 -0700
Message-id: 



"Brian W." wrote:

On May 29, 2012 10:28 PM, "Gary Aitken"  wrote:


On 05/29/12 22:15, Jim Pazarena wrote:

I had kde3 running just fine on 8.2 on my laptop.

I have now installed 8.3 -and- kde4 on my laptop, and the kde system
will not work as expected.

when I type kdm (which is at /usr/local/kde4/bin/kdm)
I get the expected login screen (however the mouse dies), and after I

login,

all I get is a small cli window in the top left corner. The mouse has

gone

dead, and the keyboard doesn't respond, altho there is a prompt in the

cli

window.

All I can do at this point is hold the power button in to reboot.
If I do not try running "kdm", the normal cli works 100%, the ethernet

works,

and the mouse always seems alive (altho in the cli the mouse is of no

value).


Suggestions would be very appreciated.


I don't know about the mouse dieing.  I'm running 9.0 and I've seen that

once or twice when first setting up X.  You don't need to reboot.  Do

 to switch to a different vty.  Log in on that vty, do a ps to

find the process you used to start kdm, (ps -ax | grep kdm) and kill -TERM
that process.  That should get you back to a regular prompt on the original
vty.  Do  to go back to that screen.


Gary


Ctr-alt-shift-backspace has also killed many a stuck x session.


& you can also, from another host (perhaps also running X,
so you still have full convenience/comfort :-) do an
 rlogin or ssh or telnet stuckhost
& then do
ps -laxww > /tmp/t ; vi /tmp/t
look at the columns PID & PPID (parent of Process ID)
ls -ltr /var/log
not only to find & kill stuck stuff, but to analyse what is getting stuck,
failing, & what is called from where, etc.

Cheers,
Julian


If you have not, look at .xsession-errors, Xorg.0.log, and kdm's log. All this 
can be done via ssh of course and is much easier to do that way with a working 
GUI et all.


Flop the hal setttings, e.g. off if on and vise versa. Also you can try xdm and 
startx to see if you get any different symptoms. My last idea is to use tmw with 
xdm or startx. If you still get the error at least you know its Xorg and not 
kde.

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


Chromium - fails to compile

2012-05-30 Thread Ewald Jenisch
Hi,

On one of my systems (FreeBSD 9.0 AMD64; kernel/system current as of
today; all ports up to date) chromium (ports/www/chromium) fails to compile.

Here's what I get:

third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp: In function 'void 
{anonymous}::S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState&, con
st uint32_t*, int, uint32_t*) [with bool has_alpha = true, uint32_t = unsigned 
int]':
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:722:65:   
instantiated from here
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:603:9: error: 
'_mm_set1_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:635:9: error: 
'_mm_setzero_si128' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:635:9: error: 
'_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:671:9: error: 
'_mm_unpacklo_epi8' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:688:9: error: 
'_mm_add_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:693:9: error: 
'_mm_setzero_si128' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:693:9: error: 
'_mm_packus_epi16' was not declared in this scope
third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp:696:9: error: 
'_mm_cvtsi128_si32' was not declared in this scope
gmake: *** 
[out/Release/obj.target/skia_opts_ssse3/third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.o]
 Error 1
gmake: *** Waiting for unfinished jobs
*** Error code 1

Stop in /usr/ports/www/chromium.
*** Error code 1

Stop in /usr/ports/www/chromium.


Please note that I cvsup-ed just a few minutes ago - also tried "make
distclean" followed by make - same result :-(

Has anybody out there seen this problem before?

Thanks much in advance for your help,
-ewald
___
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"


Need some help building bootcrunch

2012-05-30 Thread Rick Miller
Hi All,

I am attempting to build a bootcrunch file that I will inject into an
mfsroot.  I'm unable to get it built completely and hoping someone
might be able to help me identify the issue.

crunchgen runs and exits without issue.  Running make fails with the
following error indicating it's not able to find, presumably, libmd
which exists.

/usr/lib/libfetch.a(http.o)(.text+0x8c0): In function
`http_authorize':: undefined reference to `MD5Init'
/usr/lib/libfetch.a(http.o)(.text+0x8d5): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x8e7): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x8fc): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x90e): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x923): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x933): In function
`http_authorize':: undefined reference to `MD5Final'
/usr/lib/libfetch.a(http.o)(.text+0x991): In function
`http_authorize':: undefined reference to `MD5Init'
/usr/lib/libfetch.a(http.o)(.text+0x9a3): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x9b5): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x9ca): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0x9f9): In function
`http_authorize':: undefined reference to `MD5Final'
/usr/lib/libfetch.a(http.o)(.text+0xa11): In function
`http_authorize':: undefined reference to `MD5Init'
/usr/lib/libfetch.a(http.o)(.text+0xa21): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xa33): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xa48): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xa5a): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xa88): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xa93): In function
`http_authorize':: undefined reference to `MD5Final'
/usr/lib/libfetch.a(http.o)(.text+0xcc0): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xcd2): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xd1c): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xd2e): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xd47): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xd59): more undefined references to
`MD5Update' follow
/usr/lib/libfetch.a(http.o)(.text+0xdaa): In function
`http_authorize':: undefined reference to `MD5Init'
/usr/lib/libfetch.a(http.o)(.text+0xdbf): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xdd1): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xdea): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xdfc): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xe46): In function
`http_authorize':: undefined reference to `MD5Update'
/usr/lib/libfetch.a(http.o)(.text+0xe56): In function
`http_authorize':: undefined reference to `MD5Final'
*** Error code 1

Stop in bootcrunch.

This is the bootcrunch.conf (as you can see, -lmd exists on the libs lines):

buildopts -DRELEASE_CRUNCH -Dlint

srcdirs /usr/src/bin
progs hostname
progs pwd
progs rm
progs sh
progs ls
progs test
progs cat
progs df
progs sleep
ln sh -sh
ln test [

srcdirs /usr/src/sbin
#progs camcontrol
progs dhclient
progs fsck_ffs
progs ifconfig
progs mount_nfs
progs newfs
progs route
progs rtsol
progs tunefs
progs kenv
progs sysctl
progs mdmfs
progs dmesg
ln fsck_ffs fsck_4.2bsd
ln fsck_ffs fsck_ufs

srcdirs /usr/src/usr.bin
progs uname
progs cpio
progs find
progs minigzip
progs sed
progs awk
progs fetch
progs ifconfig
ln minigzip gzip
ln minigzip gunzip
ln minigzip zcat

srcdirs /usr/src/usr.sbin
progs arp
progs sysinstall
progs usbconfig

srcdirs /usr/src/gnu/usr.bin
progs grep

libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
libs -ldialog -lncurses -ldisk -lcam -lsbuf -lutil -lufs -ldevinfo -lkvm
libs -lbsdxml -larchive -lbz2 -lusb -lgnuregex -lz -llzma
libs -lfetch -lmd -lssl -lcrypto -ljail -lm

-- 
Take care
Rick Miller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: termcap/terminfo magicians anyone? // colors in vim

2012-05-30 Thread uki
Hi,

things to check:
* does the color scheme require 256 colors? is your terminal compiled
with that feature?
* check your TERM env variable, (also try setting t_Co in vim) some
info here: http://vim.wikia.com/wiki/256_colors_in_vim

cheers,
Łukasz Gruner


2012/5/30 Peter Vereshagin :
> Hello.
>
> Being new from linux back in time I tried vim. It had pretty colors in linux 
> for me like that:
>
> http://www.postimg.com/71000/photo-70938.jpg
>
> But in freebsd I have what I have:
>
> http://www.postimg.com/71000/photo-70939.jpg
>
> It 'just works' for me if I 'vim -T linux' but:
>
>    - I'd like to know exact reason to be fixed other than just 'use linux'
>    - It shows colors in ttyvX with TERM=cons25 but it has random '25h'
>      showing up in places when I implement the actions from the begin of
>      vimtutor.
>
> Nothing to add more yet other than ':set term=linux' doesn't work for colors
> that way.
>
> Thanks in advance.
>
> --
> Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627
> ___
> 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"


termcap/terminfo magicians anyone? // colors in vim

2012-05-30 Thread Peter Vereshagin
Hello.

Being new from linux back in time I tried vim. It had pretty colors in linux 
for me like that:

http://www.postimg.com/71000/photo-70938.jpg

But in freebsd I have what I have:

http://www.postimg.com/71000/photo-70939.jpg

It 'just works' for me if I 'vim -T linux' but:

- I'd like to know exact reason to be fixed other than just 'use linux'
- It shows colors in ttyvX with TERM=cons25 but it has random '25h'
  showing up in places when I implement the actions from the begin of
  vimtutor.

Nothing to add more yet other than ':set term=linux' doesn't work for colors
that way.

Thanks in advance.

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 
___
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: Address to reach human operator regarding problems with list?

2012-05-30 Thread Julian H. Stacey
Hi Matthew  cc questions@ & "Thomas Mueller" 

> Mailman has an adaptive system that scores you based on how many rejects
> you generate in a certain time period.

I didn't know that, nice :-)

> If you log into mailman at eg.
> http://lists.freebsd.org/mailman/options/freebsd-questions
> you can see your current score.

I'm logged in there,
A page with 2nd line 
Julian H. Stacey's subscription status, password, and options for the 
freebsd-questions mailing list. 

I can't find any score. Where is it please ?
Maybe it might not display if score might be at nill ? 
(nothing bounced to me lately that I'm aware of).


PS the majordomo example I quoted:
> which suggests
>   xxx-owner is preferred (at least by majordomo author,
>   which chronologicaly preceeded mailman), not owner-xxx.

Is not that good an example, as further down in  
/usr/ports/mail/majordomo/files/aliases.majordomo
it flips to the opposite convention, &
there's samples for lists of form
owner-xxx

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script, & indent with "> ".
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
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 indicate source directory in other than /usr/src?

2012-05-30 Thread Peter Vereshagin
Hello.

2012/05/30 07:02:11 -0400 Thomas Mueller  => To 
freebsd-questions@freebsd.org :
TM> I installed FreeBSD 9.0-BETA1 to this partition, mounted now as /BETA1, but 
might want to upgrade this to 10-CURRENT.

Shouldn't you just chroot /BETA1? Newer FreeBSD world should be able to do the 
basic stuff, e. g., buildkernel, even with the kernel from the past branch.

Then you can just boot your 10-current kernel and build your ports within that 
partition mounted as /.

TM> There might have been some characters in your name that xterm couldn't 
understand; I need something better (mlterm?)

xterm works for me in my mutt under tmux, ask me if you need to tweak locale ( 
I see his L char with the '/' over it in place, and the cyrilic letters in my 
other mail, too )

mlterm is better for asian languages; it's unlikely that European ones should 
be shown better in mlterm rather than in xterm.

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 
___
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: mercurial (hg) transaction abort!

2012-05-30 Thread Anton Shterenlikht
On Wed, May 30, 2012 at 01:08:07PM +0200, uki wrote:
> Did you try to hg clone -U and than update?
> 
> Mozilla repo is quite big, and that _might_ be the reason, splitting
> the work in 2 parts will help if that was the cause.

I think I tried, and got the same error,
but I'll try again.

I also suspected that I might be running out of inodes,
so I increased kern.maxvnodes to 15,
whereas I currently have vfs.numvnodes: 125050.
I monitored vfs.numvnodes during hg clone,
and it aborts with kern.maxvnodes still ~10k
move than vfs.numvnodes.

Thanks for your help.

Anton

> 
> Cheers,
> ??ukasz Gruner
> 
> 
> 2012/5/30 Anton Shterenlikht :
> > I'm trying to get firefox sources via mercurial (hg), and I get:
> >
> > # hg clone http://hg.mozilla.org/integration/mozilla-inbound/ src
> > requesting all changes
> > adding changesets
> > adding manifests
> > adding file changes
> > transaction abort!
> > rollback completed
> > abort: connection ended unexpectedly
> > #
> >
> > or
> >
> > # hg clone http://hg.mozilla.org/mozilla-central/
> > destination directory: mozilla-central
> > requesting all changes
> > adding changesets
> > adding manifests
> > adding file changes
> > transaction abort!
> > rollback completed
> > abort: connection ended unexpectedly
> > #
> >
> > # pkg info -xo mercu
> > mercurial-2.1.2: devel/mercurial
> >
> > # hg --version
> > Mercurial Distributed SCM (version 2.1.2)
> > (see http://mercurial.selenic.com for more information)
> >
> > Copyright (C) 2005-2012 Matt Mackall and others
> > This is free software; see the source for copying conditions. There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > #
> >
> > Does this look like there's something wrong with my mercurial installation?
> > Or does it look like there's a problem with mozilla.org?
> > Or does it look like there's a problem with my network connection?
> >
> > Any hint would be helpful.
> >
> > If you are wondering, here's why I need the sources:
> > https://bugzilla.mozilla.org/show_bug.cgi?id=729447
> >
> > Many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Address to reach human operator regarding problems with list?

2012-05-30 Thread Julian H. Stacey
Hi Tom + questions@

"Thomas Mueller" wrote:
> When a list member has problems with the list that require contacting a human 
> list owner/operator, what is the address to send to?
> 
> I received a probe message regarding messages to me that bounced, might have 
> been spams that slipped by the list's filters.


Spammers were also masquerading as me & others recently, I saw the
mailman robot automaticaly refers to the masqueraded innocent.
Happily the spam never got to the (other freebsd) list.


> I was advised in the message that the address was 
> freebsd-questions-ow...@freebsd.org, and I sent my message to that address, 
> got back a message from
> 
> owner-moderat...@freebsd.org with the subject
> 
> Your message to moderators awaits moderator approval
> 
> Quoting the message,
> 
>   Your mail to 'moderators' with the subject
> 
>   Re: freebsd-questions mailing list probe message
> 
>   Is being held until the list moderator can review it for approval.
> 
>   The reason it is being held:
> 
>   Post by non-member to a members-only list

Until [at least] recently questions@ was not a members-only list
  I know as I asked for it be to changed to that, but was declined,

http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/etc/motd.REL=8.2-RELEASE.diff

I suspect questions@ is still not members-only, 
I guess it's just common text or file copied & a message common
to both { bounces from members-only lists, And cases where eg on
questions@, a failing header check detects something dodgy, eg does
not match sender & user asserted From: line }.


>   Either the message will get posted to the list, or you will receive
>   notification of the moderator's decision.  If you would like to cancel
>   this posting, please visit the following URL:
> 
>   http://lists.freebsd.org/mailman/confirm/moderators/693387b I jhs@ 
> deliberately broke this URL, you dont want any robot scanning an archive or 
> mail reader or human clicking it fce42bd3639754d5b2b906e4ad6ce4bcf
> 
> 
>   PLEASE NOTE!  If you would like to post freely to the list, please
>   subscribe first.  If you post from multiple addresses, you can
>   subscribe each address and go into the options page and select 'no
>   mail' for all but one address. This will allow you to post without
>   delay in the future.
> 
>   Sorry for the hassle, but certain immature people made this necessary.
> 
> (end of quote)

mailman might be misconfigured, (or mis-designed?) 
not sending an exactly appropriate message (I think Ive seen similar before)?
Still, it's a message not too far off, telling you list owners will look at it.


> So did I post to the wrong address, were the instructions in error regarding 
> freebsd-questions-ow...@freebsd.org?

The address looks good, this page
http://lists.freebsd.org/mailman/admin/freebsd-questions
also lists that address, (in firefox put mouse over word "moderators" & see
at bottom left of firefox (or see source of course :-) )
freebsd-questions-ow...@freebsd.org


> Should that have been owner-freebsd-questi...@freebsd.org ?

Probably not, It might possibly also exist on @freebsd.org as an alias.  
Per
http://lists.freebsd.org/mailman/listinfo
http://lists.freebsd.org/mailman/listinfo/freebsd-test
has a URL to 
freebsd-test-ow...@freebsd.org
You could try
owner-freebsd-t...@freebsd.org

BTW /usr/ports/mail/majordomo/files/aliases.majordomo reccomends 
an /etc/mail/aliases:
owner-majordomo:   majordomo-owner
(additional to the real:
majordomo-owner:   human-or-Postmaster
)
which suggests
xxx-owner is preferred (at least by majordomo author,
which chronologicaly preceeded mailman), not owner-xxx.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script, & indent with "> ".
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
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: mercurial (hg) transaction abort!

2012-05-30 Thread uki
Did you try to hg clone -U and than update?

Mozilla repo is quite big, and that _might_ be the reason, splitting
the work in 2 parts will help if that was the cause.

Cheers,
Łukasz Gruner


2012/5/30 Anton Shterenlikht :
> I'm trying to get firefox sources via mercurial (hg), and I get:
>
> # hg clone http://hg.mozilla.org/integration/mozilla-inbound/ src
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> transaction abort!
> rollback completed
> abort: connection ended unexpectedly
> #
>
> or
>
> # hg clone http://hg.mozilla.org/mozilla-central/
> destination directory: mozilla-central
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> transaction abort!
> rollback completed
> abort: connection ended unexpectedly
> #
>
> # pkg info -xo mercu
> mercurial-2.1.2: devel/mercurial
>
> # hg --version
> Mercurial Distributed SCM (version 2.1.2)
> (see http://mercurial.selenic.com for more information)
>
> Copyright (C) 2005-2012 Matt Mackall and others
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> #
>
> Does this look like there's something wrong with my mercurial installation?
> Or does it look like there's a problem with mozilla.org?
> Or does it look like there's a problem with my network connection?
>
> Any hint would be helpful.
>
> If you are wondering, here's why I need the sources:
> https://bugzilla.mozilla.org/show_bug.cgi?id=729447
>
> Many thanks
>
> --
> Anton Shterenlikht
> Room 2.6, Queen's Building
> Mech Eng Dept
> Bristol University
> University Walk, Bristol BS8 1TR, UK
> Tel: +44 (0)117 331 5944
> Fax: +44 (0)117 929 4423
> ___
> 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: How to indicate source directory in other than /usr/src?

2012-05-30 Thread Thomas Mueller
>From Lowell Gilbert :

> For ports, I would would normally say that you want SRC_BASE. However,
> that's for building ports, not running them, so I may be missing the
> point.

That may be what I need.  I would be building ports.  For running ports, source 
code wouldn't come into play.

I couldn't find this, but just found it in 
/BETA1/usr/ports/Mk/bsd.port.mk

I installed FreeBSD 9.0-BETA1 to this partition, mounted now as /BETA1, but 
might want to upgrade this to 10-CURRENT.

I noticed a BSDSRCDIR in NetBSD pkgsrc, ported to other mostly (quasi)-Unix 
OSes as well as NetBSD.

>> I may also want to build 10-CURRENT from 9-STABLE system without giving up 
>> the 9-STABLE source tree; I would need both source trees, but then after the
>> first successful build of 10-CURRENT, I could use that to build updated 
>> versions.

> MAKEOBJDIRPREFIX can do this, but in my case I would move the original
> /usr/obj tree out of the way to avoid damaging it by mistake.

I might put 10-CURRENT source tree in /BETA1/usr/src, forever overwriting 
9.0-BETA1 source tree, then 
could set MAKEOBJDIRPREFIX to /BETA1/usr/obj, or is that not necessary?

>From "Michael Ross" :

> I often use nullfs for this kind of thing:

>   mount -t nullfs /where/your/sources/are /usr/src
>   mount -t nullfs /some/dir/for/objects /usr/obj

I hadn't thought of that, but now I need to check this out on "mount" man page.

>From uki :

> Don't know if that will help in Your case, but I just softlink my
> /usr/local/src-stable to /usr/src - never had any issues.

> Cheers,
> ??ukasz Gruner

I thought of that (symbolic link: ln -s) as something to fall back on if I 
don't find something more elegant.

There might have been some characters in your name that xterm couldn't 
understand; I need something better (mlterm?)

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


Wine-fbsd64 updated to 1.5.5 (32bit Wine for 64bit FreeBSD)

2012-05-30 Thread David Naylor
Hi,

Packages [1] for wine-fbsd64-1.5.5 have been uploaded to mediafire [2].  The 
packages for FreeBSD 10 use the pkgng* [3] format.  

There are many reports that wine does not work with a clang compiled world
(help in fixing this problem is appreciated as it affects quite a few users).

The patch [4] for nVidia users is now included in the package and is run on
installation (if the relevant files are accessible).  Please read the
installation messages for further information.

Regards,

David

[1]
 MD5 (wine-1.5.x-freebsd8/wine-fbsd64-1.5.5,1.tbz) = 
2f4b826306dfe7feed396a4752df87ca
 MD5 (wine-1.5.x-freebsd9/wine-fbsd64-1.5.5,1.txz) = 
ff8ef2a3678ae1c6f28bb376f9996c06
 MD5 (wine-1.5.x-freebsd10/wine-fbsd64-1.5.5,1.txz) = 
e53ed61cc5ce5d046f8ae31363b8ef2d
[2] http://www.mediafire.com/wine_fbsd64
[3] http://wiki.freebsd.org/pkgng
[4] The patch is located at /usr/local/share/wine/patch-nvidia.sh
[*] The pkgng packages are now labelled for FreeBSD 64bit by default


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


Re: Address to reach human operator regarding problems with list?

2012-05-30 Thread Thomas Mueller
> freebsd-questions-owner@... is correct, except that to my knowledge
> there isn't really a moderator for freebsd-questions (it's an open list
> that anyone can post to without having to be a member) and that address
> ultimately gets dealt with by postmas...@freebsd.org.

> The message you got about "held for moderation" is standard boiler-plate
> from mailman, and probably not appropriate for your specific circumstances.

> On the whole though, you shouldn't need to contact anyone about the
> warning you received.   It generally occurs when your mail system
> rejects messages from the freebsd-questions@... list as spam.  As there
> is a certain amount of spam that does appear on the list, this is an
> absolutely legitimate practice: trouble is, it's hard for the FreeBSD
> mail system to distinguish deliberate non-acceptance of spam from
> accidental non-acceptance of traffic due to a broken mailer.

> Mailman has an adaptive system that scores you based on how many rejects
> you generate in a certain time period.  If you log into mailman at eg.
> http://lists.freebsd.org/mailman/options/freebsd-questions
> you can see your current score.  Mine is currently 2.0 (out of 5.0) and
> has been about that for quite some time.  So long as your score is not
> too large, I wouldn't worry about the message you received.  Even if
> your score does go over the threshold, you can just use that same
> interface to re-enable delivery.



> Cheers,



> Matthew

> Dr Matthew J Seaman MA, D.Phil.

I contacted my Internet service provider, Insight Cable, about the problem, and 
they need a copy of any message that bounces, so they can see what went awry.

So I can't just ignore the problem.

Maybe I should resend the message to postmas...@freebsd.org instead of 
freebsd-questions-ow...@freebsd.org?

This problem relates to FreeBSD emailing lists in general, not just one list 
such as questions@ .

Tom

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


Re: Address to reach human operator regarding problems with list?

2012-05-30 Thread Peter Vereshagin
Hello.

2012/05/30 10:29:18 +0100 Matthew Seaman  => To Thomas 
Mueller :
MS> On 30/05/2012 10:07, Thomas Mueller wrote:
MS> The message you got about "held for moderation" is standard boiler-plate
MS> from mailman, and probably not appropriate for your specific circumstances.

Anyway that message should mean that there is a closed and hidden mailing list
moderat...@freebsd.org and it's the where the TM's message was redirected?

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 
___
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: kde4 on 8.3 and laptop

2012-05-30 Thread Julian H. Stacey
Hi,
Reference:
> From: "Brian W."  
> Date: Tue, 29 May 2012 22:48:20 -0700 
> Message-id:   
>  

"Brian W." wrote:
> On May 29, 2012 10:28 PM, "Gary Aitken"  wrote:
> >
> > On 05/29/12 22:15, Jim Pazarena wrote:
> > > I had kde3 running just fine on 8.2 on my laptop.
> > >
> > > I have now installed 8.3 -and- kde4 on my laptop, and the kde system
> > > will not work as expected.
> > >
> > > when I type kdm (which is at /usr/local/kde4/bin/kdm)
> > > I get the expected login screen (however the mouse dies), and after I
> login,
> > > all I get is a small cli window in the top left corner. The mouse has
> gone
> > > dead, and the keyboard doesn't respond, altho there is a prompt in the
> cli
> > > window.
> > >
> > > All I can do at this point is hold the power button in to reboot.
> > > If I do not try running "kdm", the normal cli works 100%, the ethernet
> works,
> > > and the mouse always seems alive (altho in the cli the mouse is of no
> value).
> > >
> > > Suggestions would be very appreciated.
> >
> > I don't know about the mouse dieing.  I'm running 9.0 and I've seen that
> once or twice when first setting up X.  You don't need to reboot.  Do
 to switch to a different vty.  Log in on that vty, do a ps to
> find the process you used to start kdm, (ps -ax | grep kdm) and kill -TERM
> that process.  That should get you back to a regular prompt on the original
> vty.  Do  to go back to that screen.
> >
> > Gary
> 
> Ctr-alt-shift-backspace has also killed many a stuck x session.

& you can also, from another host (perhaps also running X,
so you still have full convenience/comfort :-) do an
 rlogin or ssh or telnet stuckhost 
& then do 
ps -laxww > /tmp/t ; vi /tmp/t
look at the columns PID & PPID (parent of Process ID)
ls -ltr /var/log
not only to find & kill stuck stuff, but to analyse what is getting stuck,
failing, & what is called from where, etc.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script, & indent with "> ".
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
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: Address to reach human operator regarding problems with list?

2012-05-30 Thread Matthew Seaman
On 30/05/2012 10:07, Thomas Mueller wrote:
> When a list member has problems with the list that require contacting
> a human list owner/operator, what is the address to send to?
> 
> I received a probe message regarding messages to me that bounced,
> might have been spams that slipped by the list's filters.
> 
> I was advised in the message that the address was
> freebsd-questions-ow...@freebsd.org

freebsd-questions-owner@... is correct, except that to my knowledge
there isn't really a moderator for freebsd-questions (it's an open list
that anyone can post to without having to be a member) and that address
ultimately gets dealt with by postmas...@freebsd.org.

The message you got about "held for moderation" is standard boiler-plate
from mailman, and probably not appropriate for your specific circumstances.

On the whole though, you shouldn't need to contact anyone about the
warning you received.   It generally occurs when your mail system
rejects messages from the freebsd-questions@... list as spam.  As there
is a certain amount of spam that does appear on the list, this is an
absolutely legitimate practice: trouble is, it's hard for the FreeBSD
mail system to distinguish deliberate non-acceptance of spam from
accidental non-acceptance of traffic due to a broken mailer.

Mailman has an adaptive system that scores you based on how many rejects
you generate in a certain time period.  If you log into mailman at eg.
http://lists.freebsd.org/mailman/options/freebsd-questions
you can see your current score.  Mine is currently 2.0 (out of 5.0) and
has been about that for quite some time.  So long as your score is not
too large, I wouldn't worry about the message you received.  Even if
your score does go over the threshold, you can just use that same
interface to re-enable delivery.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Address to reach human operator regarding problems with list?

2012-05-30 Thread Thomas Mueller
When a list member has problems with the list that require contacting a human 
list owner/operator, what is the address to send to?

I received a probe message regarding messages to me that bounced, might have 
been spams that slipped by the list's filters.

I was advised in the message that the address was 
freebsd-questions-ow...@freebsd.org, and I sent my message to that address, got 
back a message from

owner-moderat...@freebsd.org with the subject

Your message to moderators awaits moderator approval

Quoting the message,

  Your mail to 'moderators' with the subject

  Re: freebsd-questions mailing list probe message

  Is being held until the list moderator can review it for approval.

  The reason it is being held:

  Post by non-member to a members-only list

  Either the message will get posted to the list, or you will receive
  notification of the moderator's decision.  If you would like to cancel
  this posting, please visit the following URL:

  
http://lists.freebsd.org/mailman/confirm/moderators/693387bfce42bd3639754d5b2b906e4ad6ce4bcf


  PLEASE NOTE!  If you would like to post freely to the list, please
  subscribe first.  If you post from multiple addresses, you can
  subscribe each address and go into the options page and select 'no
  mail' for all but one address. This will allow you to post without
  delay in the future.

  Sorry for the hassle, but certain immature people made this necessary.

(end of quote)

So did I post to the wrong address, were the instructions in error regarding 
freebsd-questions-ow...@freebsd.org?

Should that have been owner-freebsd-questi...@freebsd.org ?

Sorry to have to bother this list with such an administrative issue.

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


mercurial (hg) transaction abort!

2012-05-30 Thread Anton Shterenlikht
I'm trying to get firefox sources via mercurial (hg), and I get:

# hg clone http://hg.mozilla.org/integration/mozilla-inbound/ src
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: connection ended unexpectedly
# 

or

# hg clone http://hg.mozilla.org/mozilla-central/
destination directory: mozilla-central
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: connection ended unexpectedly
# 

# pkg info -xo mercu
mercurial-2.1.2: devel/mercurial

# hg --version
Mercurial Distributed SCM (version 2.1.2)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#

Does this look like there's something wrong with my mercurial installation?
Or does it look like there's a problem with mozilla.org?
Or does it look like there's a problem with my network connection?

Any hint would be helpful.

If you are wondering, here's why I need the sources:
https://bugzilla.mozilla.org/show_bug.cgi?id=729447

Many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"