Re: PAE kernel problem on Dell PowerEdge 2950

2009-03-03 Thread "Remorque"
On Wed, Mar 4, 2009 at 6:26 AM, Olivier Nicole  wrote:

> Hi,
>
> I have a couple of new Dell PowerEdge 2950 with 16GB RAM and I found
> the following issue when trying to install FreeBSD.
>
> FreeBSD i386 6.4_RELENG
> ===
>
> 8 GB RAM: OK except "acpi_alloc_makeop_handler: can't alloc wake
>  memory" corrected with PR 120515
>
> 16GB RAM: panic: "pmap_mapdev: could'n allocate kernel vistual memory"
>  when loading miibus
>
> 32GB RAM: panic as soon as the kernel loads, cannot read the error
>  message (several pages)
>
> FreeBSD i386 7.1
> 
>
> Plain distribution, I have not yet upgraded to RELENG.
>
> It reports for each CPU, on GENERIC and PAE kernel:
>
>cpu0:  on acpi0
>est0:  on cpu0
>est: CPU supports Enhanced Speedstep, but is not recognized.
>est: cpu_vendor GenuineIntel, msr 471b471b0600471b
>
> 8 GB RAM: OK
>
> 16GB RAM: OK
>
> 32GB RAM: panic as soon as the kernel loads
>
> I got the 32GB RAM by combining the memory from both servers.
>
> I'd prefer using legacy kernel (6.4) but I beleive 7.1 is OK too.
>
> One of the server will not be installed for a while and I could run
> test on it if I am directed what to doo.
>
> I can repost to a more appropriate list if I am told what list would
> be the best.
>

Hmm, while not adding any value, I thank God you started off this thread. I
have two of those I should be installing any time now. However, I am going
to use 7.1-STABLE on them.

I see no reason why you should run 6.4 at all though. What's your motivation
towards thaat angle?

I suggest you install the 7.1 and update it to -STABLE then see if anything
changes as regards the CPU (est message), while we wait for the magic word
from the dedicated developers.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"The only time a woman really succeeds in changing a man is when he is a
baby."
 - Natalie Wood
___
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"


autoconf262 package error

2009-03-03 Thread Fbsd1
When doing a pkg_add for autoconf262 it does not do auto package add for 
its dependents like other packages do. Some thing is wrong with the 
autoconf262 package on 7.1.

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


Re: I cannot login coz bash is deinstalled

2009-03-03 Thread lacalling
I tried to vi /etc/passwd and change the path of shell to sh from bash.
it did not work coz it is encrypted?

anyway i suceessed with chsh finally.


On Wed, Mar 4, 2009 at 1:02 PM, Tim Judd  wrote:

>
>
> On Tue, Mar 3, 2009 at 9:49 PM, Olivier Nicole  wrote:
>
>> Hi,
>>
>> > How can I change my shell to sh without logining?
>>
>> You cannot!
>>
>> But what you can:
>>
>> - boot in singkle user mode
>> - mount all your s=disks: mount -a
>> - edit /etc/passwd with your favourite editor
>>
>> Bests,
>>
>> olivier
>
>
>
> WRONG!
>
> DO NOT EDIT /etc/passwd DIRECTLY!!!
> vipw, or change your EDITOR environment variable to use something else
> other than vi.
>
> Otherwise correct.
>
>
___
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: I cannot login coz bash is deinstalled

2009-03-03 Thread Tim Judd
On Tue, Mar 3, 2009 at 9:49 PM, Olivier Nicole  wrote:

> Hi,
>
> > How can I change my shell to sh without logining?
>
> You cannot!
>
> But what you can:
>
> - boot in singkle user mode
> - mount all your s=disks: mount -a
> - edit /etc/passwd with your favourite editor
>
> Bests,
>
> olivier



WRONG!

DO NOT EDIT /etc/passwd DIRECTLY!!!
vipw, or change your EDITOR environment variable to use something else other
than vi.

Otherwise correct.
___
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: I cannot login coz bash is deinstalled

2009-03-03 Thread Bryant Eadon

Bryant Eadon wrote:

lacalling wrote:

I forget to change shell before I deinstalled bash.
A errer occurs when i try to login with my user or root. And it 
returns to

login.

I can only login in with single user mode which freebsd proovide, but few
tools are provided.

How can I change my shell to sh without logining?

I have a debian cd which can bring me to its shell,but when i mount 
/dev/hda

,it says no such device.

Thanks.


Have you tried 'chsh -s /bin/sh' ?
mount /usr, it's in /usr/bin/chsh by default.

This is one of the reasons to leave the root shell at a safe default. 
Alternatively, a different super-user account could be created to avoid 
this problem -- leaving root with it's mostly stock (safe) setup.




I should note that you'll need to be logged in as single user. And according to 
the man pages it should go something like this :


/usr/bin/chsh -s /bin/sh root

(not tested)
___
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: I cannot login coz bash is deinstalled

2009-03-03 Thread Bryant Eadon

lacalling wrote:

I forget to change shell before I deinstalled bash.
A errer occurs when i try to login with my user or root. And it returns to
login.

I can only login in with single user mode which freebsd proovide, but few
tools are provided.

How can I change my shell to sh without logining?

I have a debian cd which can bring me to its shell,but when i mount /dev/hda
,it says no such device.

Thanks.


Have you tried 'chsh -s /bin/sh' ?
mount /usr, it's in /usr/bin/chsh by default.

This is one of the reasons to leave the root shell at a safe default. 
Alternatively, a different super-user account could be created to avoid this 
problem -- leaving root with it's mostly stock (safe) setup.

___
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: I cannot login coz bash is deinstalled

2009-03-03 Thread Olivier Nicole
Hi,

> How can I change my shell to sh without logining?

You cannot!

But what you can:

- boot in singkle user mode
- mount all your s=disks: mount -a
- edit /etc/passwd with your favourite editor

Bests,

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


I cannot login coz bash is deinstalled

2009-03-03 Thread lacalling
I forget to change shell before I deinstalled bash.
A errer occurs when i try to login with my user or root. And it returns to
login.

I can only login in with single user mode which freebsd proovide, but few
tools are provided.

How can I change my shell to sh without logining?

I have a debian cd which can bring me to its shell,but when i mount /dev/hda
,it says no such device.

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


Re: bsdstats not working in 7.1

2009-03-03 Thread Frank Shute
On Tue, Mar 03, 2009 at 02:15:03PM -0900, Mel wrote:
>
> On Sunday 01 March 2009 06:59:35 Frank Shute wrote:
> > On Sun, Mar 01, 2009 at 07:20:21PM +0800, Fbsd1 wrote:
> > > bsdstats is now in the base system.
> >
> > On what?
> 
> In PC-BSD since forever, maybe OP is confuzzled a bit ;)

Ah! That confuzzled me too!

For the OP's benefit:

$ pkg_info -D bsdstats*

Information for bsdstats-5.4_2:

Install notice:

This script, meant to be run monthly, submits statistics anonymously
to a central checkin server (http://bsdstats.org), in an attempt to
generate reasonably accurate demographics of both *BSD usage, as well
as devices in use.

Steps have been taken to make eliminate security concerns brought up
in earlier releases of this, including, but not limited to, not storing
anything in the database that has been deemed as 'sensitive' (ie. IP of
the reporting server, and hostname).


To enable monthly reporting, edit or create /etc/periodic.conf and add this 
line:
monthly_statistics_enable="YES"

To enable boottime reporting, edit or create /etc/rc.conf and add this line:
bsdstats_enable="YES"

To enable device reporting, add this line:
monthly_statistics_report_devices="YES"

To enable ports reporting, add this line:
monthly_statistics_report_ports="YES"

To run it manually the first time, just run it as:
${LOCALBASE}/etc/periodic/monthly/300.statistics -nodelay

To view current statistics, go to:
http://www.bsdstats.org


So it looks like the OPs system is just reporting on boot.


Regards,

-- 

 Frank 


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

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


PAE kernel problem on Dell PowerEdge 2950

2009-03-03 Thread Olivier Nicole
Hi,

I have a couple of new Dell PowerEdge 2950 with 16GB RAM and I found
the following issue when trying to install FreeBSD.

FreeBSD i386 6.4_RELENG
===

8 GB RAM: OK except "acpi_alloc_makeop_handler: can't alloc wake
  memory" corrected with PR 120515

16GB RAM: panic: "pmap_mapdev: could'n allocate kernel vistual memory"
  when loading miibus

32GB RAM: panic as soon as the kernel loads, cannot read the error
  message (several pages)

FreeBSD i386 7.1


Plain distribution, I have not yet upgraded to RELENG.

It reports for each CPU, on GENERIC and PAE kernel:

cpu0:  on acpi0
est0:  on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 471b471b0600471b

8 GB RAM: OK 

16GB RAM: OK

32GB RAM: panic as soon as the kernel loads

I got the 32GB RAM by combining the memory from both servers.

I'd prefer using legacy kernel (6.4) but I beleive 7.1 is OK too.

One of the server will not be installed for a while and I could run
test on it if I am directed what to doo.

I can repost to a more appropriate list if I am told what list would
be the best.

TIA,

Olivier
___
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: portmanager/portmaster like application for packages?

2009-03-03 Thread Ian Smith
On Tue, 3 Mar 2009 08:32:10 -0900 Mel  
wrote:
 > On Sunday 01 March 2009 14:02:19 per...@pluto.rain.com wrote:
 > > Mel  wrote:
 > > > On Saturday 28 February 2009 23:06:10 Fbsd1 wrote:
 > > > > I am looking for software like portmanager/portmaster but works
 > > > > on the package system instead of the port system. Is there such
 > > > > am application available?
 > > >
 > > > Not (yet). Without /usr/ports it's impossible to find out what
 > > > software needs updating, or you'd have to download and trust the
 > > > INDEX-7 on the FreeBSD package servers.
 > >
 > > ... which may not be much of a stretch for those who are prepared
 > > to download and trust the packages themselves, from the same place.
 > 
 > It is a stretch in practice. The INDEX is based on /usr/ports, which is 
 > ahead 
 > of the packages that are actually compiled on the buildservers.

Well, sometimes by a day or two, so I guess if you're portupgrading 
daily or whatever.  For larger portupgrades after a while (as I tend :) 
I very rarely miss finding all the latest packages, ie as perryh said:

 > > portupgrade -PP manages somehow.
 > 
 > Not somehow, but because it works with /usr/ports. Try renaming your ports 
 > directory and see how that goes. Also, -PP wastes a lot of bandwidth. Just 
 > look at the ammount of packages that are downloaded which aren't actually 
 > installed, because the version is older or equal then installed.

I don't get your latter point, Mel.  Assuming the ports tree is up to 
date (I can't comment on using just an INDEX without a ports tree) then 
the package versions obtained using -PP match those in the ports tree; I 
don't recall it ever downloading older packages than the ports versions?

 > > BTW, the OP may not realize that 
 > > "the package system" is a subset of "the port system", rather than
 > > an alternative.  Packages are generated using the port system.
 > 
 > It's an alternative way to install the same software. One can in fact use 
 > packages without having /usr/ports present at all. I'm using my own tools, 
 > using a custom INDEX format on the build server. But there's still too many 
 > raw edges that I'd like the tools released into the wild.

Fair enough, but I think perryh's point stands; many people appear to 
believe that ports and packages are separate systems.  We've even seen 
people say "you shouldn't mix the two methods" which is utter nonsense.

For a large (likely overdue :) portupgrade session, after updating the 
tree I start with portupgrade -anPP which fetches all available packages 
to /usr/ports/packages, without updating anything yet.  Sometimes some 
regional mirrors aren't quite up to date, so I might need to finish off 
with a visit to somewhere closer to (ultimately) ftp.freebsd.org.

Then portupgrade -aP uses the (now local) packages, builds any ports for 
which there is no package for licence etc reasons, sometimes grabbing a 
few more dependent packages along the way, but my poor lil' ol' laptop 
doesn't need to spend days compiling Xorg, KDE, openoffice if you use 
it, and a bunch of other big ports; it only takes quite a few hours :) 
and a little extra bandwidth saving days of building is fine by me ..

The only largish port that always needs (re)building here is PHP, where 
the default options and thus the built package - weirdly, in my view - 
doesn't include mod_php, though I bet most PHP users wanted it for that.

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"


Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
On Tue, Mar 3, 2009 at 6:48 PM, Morgan Wesström
 wrote:
>> relay=...@localhost
 Isn't "w...@localhost" a very weird hostname for a relay? Can you really
 resolve that into an IP address?
 /Morgan
>>> Hm, I'm not sure where it's getting that from. The MAILTO variable is
>>> set in the crontab, so it shouldn't be going to or relaying through
>>> localhost at all, right? It should go directly to gmail's servers?
>>
>> If grep 'n23LA0td086797' /var/log/maillog only yields one entry, then
>> something is wrong with your email setup. There should at least be one more
>> entry from the spooler to pickup final destination. And yes, the
>> relay 'w...@localhost' seems odd, but since I gave up sendmail for postfix
>> years ago, I'm not current with how it spits things into syslog.
>>
>
> In my case I only see either "local" there or my smart host as defined
> in /var/mail/{hostname}.mc
> Can you provide a "diff -u" between /etc/mail/freebsd.mc and
> /etc/mail/{hostname}.mc ?
>
> /Morgan

I'd switch over to postfix, but I'm only using this to send output
from cron and the daily security run scripts. I don't receive any mail
over the network, so I think it'd be pointless to go through the
effort of switching and configuring another MTA.

Here's the diff. I figured it was too long to include in the email
(word wrap will make it hard to read :-P)
http://pastebin.ca/1352338

Here's the full contents of /etc/mail/{hostname}.mc
http://pastebin.ca/1352340

Thanks for the help.
___
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: purpose of /etc/wall_cmos_clock

2009-03-03 Thread Lars Eighner

On Wed, 4 Mar 2009, Fbsd1 wrote:


What is /etc/wall_cmos_clock used for and how is it created?


I thought we covered this last time.  If the zero-length file exits, it
indicates the hardware (cmos) clock keeps local time.  If it is absent, 
UCT is assumed.  See man 8 adjkerntz (and numerous SEE ALSOs).


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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: desktop app/config

2009-03-03 Thread Fbsd1

Jean-Paul Natola wrote:

"Jean-Paul Natola"  wrote:



Ok so I left the machine running over the weekend to install KDE,

And when I got in this morning it said that my disk was out of space-
I loaded nothing but the basic freebsd os and nothing other than kde
(granted its only a 10 gig drive) but that should be enough for a kde
desktop no? 


It may be that you need to clean-out the workspaces with 
rm -rf /usr/ports/*/*/work, and start again.



BTW I'd go for KDE3 rather than KDE4. The latter still seems to be very
fragile to me, and it needs a fairly up-to-date machine, with and a well
supported 3-d graphics card if you want the effects.

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


So I followed the instructions above, and after a few days I wount up again
with my 6 gig slice filling up before  kde3 could install-

I must be doing something wrong if I cant install kde 3 on a 6 gig slice?




You would be better off to install the package version of 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"


purpose of /etc/wall_cmos_clock

2009-03-03 Thread Fbsd1

What is /etc/wall_cmos_clock used for and how is it created?
___
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: Cron Not Sending Mail

2009-03-03 Thread Morgan Wesström
> relay=...@localhost
>>> Isn't "w...@localhost" a very weird hostname for a relay? Can you really
>>> resolve that into an IP address?
>>> /Morgan
>> Hm, I'm not sure where it's getting that from. The MAILTO variable is
>> set in the crontab, so it shouldn't be going to or relaying through
>> localhost at all, right? It should go directly to gmail's servers?
> 
> If grep 'n23LA0td086797' /var/log/maillog only yields one entry, then 
> something is wrong with your email setup. There should at least be one more 
> entry from the spooler to pickup final destination. And yes, the 
> relay 'w...@localhost' seems odd, but since I gave up sendmail for postfix 
> years ago, I'm not current with how it spits things into syslog.
> 

In my case I only see either "local" there or my smart host as defined
in /var/mail/{hostname}.mc
Can you provide a "diff -u" between /etc/mail/freebsd.mc and
/etc/mail/{hostname}.mc ?

/Morgan
___
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: bsdstats not working in 7.1

2009-03-03 Thread Mel
On Sunday 01 March 2009 06:59:35 Frank Shute wrote:
> On Sun, Mar 01, 2009 at 07:20:21PM +0800, Fbsd1 wrote:
> > bsdstats is now in the base system.
>
> On what?

In PC-BSD since forever, maybe OP is confuzzled a bit ;)

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Xorg is now broken

2009-03-03 Thread Glen Barber
On Tue, Mar 3, 2009 at 5:38 PM, Wojciech Puchar
 wrote:
something useless, again.

I don't see your Xorg.0.log attached.  Did you read
/usr/ports/UPDATING regarding the X11 upgrade?

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


Re: Cron Not Sending Mail

2009-03-03 Thread Mel
On Tuesday 03 March 2009 13:44:34 APseudoUtopia wrote:
> On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesström
>
>  wrote:
> > Glen Barber wrote:
> >> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia  
wrote:
> >>> Thanks for the tips. I've put the following line in my normal user
> >>> account's crontab (This account does have a shell, it's one I use on a
> >>> daily basis):
> >>>
> >>> SHELL=/bin/sh
> >>> mailto=my_email_acco...@gmail.com
> >>> *       *       *       *       *       /sbin/ping -c4 localhost
> >>>
> >>> I'm getting no emails at all. In /var/log/maillog, I'm getting the
> >>> following output:
> >>>
> >>> Mar  3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www,
> >>> size=0, class=0, nrcpts=0,
> >>> msgid=<200903032110.n23la0td086...@subdomain.domain.tld>,
> >>> relay=...@localhost
> >
> > Isn't "w...@localhost" a very weird hostname for a relay? Can you really
> > resolve that into an IP address?
> > /Morgan
>
> Hm, I'm not sure where it's getting that from. The MAILTO variable is
> set in the crontab, so it shouldn't be going to or relaying through
> localhost at all, right? It should go directly to gmail's servers?

If grep 'n23LA0td086797' /var/log/maillog only yields one entry, then 
something is wrong with your email setup. There should at least be one more 
entry from the spooler to pickup final destination. And yes, the 
relay 'w...@localhost' seems odd, but since I gave up sendmail for postfix 
years ago, I'm not current with how it spits things into syslog.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
On Tue, Mar 3, 2009 at 5:44 PM, Glen Barber  wrote:
> On Tue, Mar 3, 2009 at 5:29 PM, APseudoUtopia  wrote:
>>
>> I have tested it - and sending mail manually from command line to the
>> gmail account works fine without any problems.
>>
>
> What I'm saying is that you changed two of the variables without
> actually verifying one or the other work first.  Change the MAILTO
> back to root and retest.
>
>
> --
> Glen Barber
>

SHELL=/bin/sh
#mailto=st...@tastetherainbow.ws
MAILTO=root
*   *   *   *   *   /sbin/ping -c4 localhost

Still no email. Same message in the maillog:

Mar  3 22:48:00 youcant sendmail[92113]: n23Mm0vP092113: from=www,
size=0, class=0, nrcpts=0,
msgid=<200903032248.n23mm0vp092...@youcant.tastetherainbow.ws>,
relay=...@localhost

This is driving me crazy :-\
___
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: Cron Not Sending Mail

2009-03-03 Thread Glen Barber
On Tue, Mar 3, 2009 at 5:29 PM, APseudoUtopia  wrote:
>
> I have tested it - and sending mail manually from command line to the
> gmail account works fine without any problems.
>

What I'm saying is that you changed two of the variables without
actually verifying one or the other work first.  Change the MAILTO
back to root and retest.


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


Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesström
 wrote:
>
> Glen Barber wrote:
>> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia  
>> wrote:
>>> Thanks for the tips. I've put the following line in my normal user
>>> account's crontab (This account does have a shell, it's one I use on a
>>> daily basis):
>>>
>>> SHELL=/bin/sh
>>> mailto=my_email_acco...@gmail.com
>>> *       *       *       *       *       /sbin/ping -c4 localhost
>>>
>>> I'm getting no emails at all. In /var/log/maillog, I'm getting the
>>> following output:
>>>
>>> Mar  3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www,
>>> size=0, class=0, nrcpts=0,
>>> msgid=<200903032110.n23la0td086...@subdomain.domain.tld>,
>>> relay=...@localhost
>
> Isn't "w...@localhost" a very weird hostname for a relay? Can you really
> resolve that into an IP address?
> /Morgan

Hm, I'm not sure where it's getting that from. The MAILTO variable is
set in the crontab, so it shouldn't be going to or relaying through
localhost at all, right? It should go directly to gmail's servers?
___
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: Xorg is now broken

2009-03-03 Thread Wojciech Puchar
I'm using Freebsd 7.1 and everything had been working fine, until I noticed 
there were upgrades for Xorg.  I went ahead and used portupgrade to upgrade 
the packages and now I get a server error 11.  I'm including the Xorg.0.log 
and xorg.conf for you to examine.



good lesson to not change things that are working :)
___
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: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
On Tue, Mar 3, 2009 at 4:17 PM, Glen Barber  wrote:
> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia  wrote:
>> Thanks for the tips. I've put the following line in my normal user
>> account's crontab (This account does have a shell, it's one I use on a
>> daily basis):
>>
>> SHELL=/bin/sh
>> mailto=my_email_acco...@gmail.com
>> *       *       *       *       *       /sbin/ping -c4 localhost
>>
>> I'm getting no emails at all. In /var/log/maillog, I'm getting the
>> following output:
>>
>> Mar  3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www,
>> size=0, class=0, nrcpts=0,
>> msgid=<200903032110.n23la0td086...@subdomain.domain.tld>,
>> relay=...@localhost
>>
>
> You've replaced a problem with another problem.  Have you tried to
> send the mail locally first?
>
> --
> Glen Barber
>

I have tested it - and sending mail manually from command line to the
gmail account works fine without any problems.
___
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: Cron Not Sending Mail

2009-03-03 Thread Morgan Wesström

Glen Barber wrote:
> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia  wrote:
>> Thanks for the tips. I've put the following line in my normal user
>> account's crontab (This account does have a shell, it's one I use on a
>> daily basis):
>>
>> SHELL=/bin/sh
>> mailto=my_email_acco...@gmail.com
>> *   *   *   *   *   /sbin/ping -c4 localhost
>>
>> I'm getting no emails at all. In /var/log/maillog, I'm getting the
>> following output:
>>
>> Mar  3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www,
>> size=0, class=0, nrcpts=0,
>> msgid=<200903032110.n23la0td086...@subdomain.domain.tld>,
>> relay=...@localhost

Isn't "w...@localhost" a very weird hostname for a relay? Can you really
resolve that into an IP address?
/Morgan
___
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: Cron Not Sending Mail

2009-03-03 Thread Glen Barber
On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia  wrote:
> Thanks for the tips. I've put the following line in my normal user
> account's crontab (This account does have a shell, it's one I use on a
> daily basis):
>
> SHELL=/bin/sh
> mailto=my_email_acco...@gmail.com
> *       *       *       *       *       /sbin/ping -c4 localhost
>
> I'm getting no emails at all. In /var/log/maillog, I'm getting the
> following output:
>
> Mar  3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www,
> size=0, class=0, nrcpts=0,
> msgid=<200903032110.n23la0td086...@subdomain.domain.tld>,
> relay=...@localhost
>

You've replaced a problem with another problem.  Have you tried to
send the mail locally first?

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


Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
On Mon, Mar 2, 2009 at 10:14 PM, Glen Barber  wrote:
> On Sun, Mar 1, 2009 at 2:24 PM, APseudoUtopia  wrote:
> [snip]
>>
>> #
>> # User www's crontab
>> # Note, I also tried removing the MAILTO to no avail
>> #
>> MAILTO=root
>> # m     h       dom     mon     dow     cmd
>> *       *       *       *       *       echo "Hello"
>>
>>
> [snip]
>
> 1.)  You are not using the full path to /bin/echo, which is why it is failing.
>
> 2.) This is a poor designed way to test cron's mail output.
>
> A Better(tm) way would be something like:
> MAILTO=root
> */5 * * * * /bin/ping -c1 localhost >/dev/null
>
> which would mail to root on success or failure.
>
> Regards,
>
> --
> Glen Barber
>

Thanks for the tips. I've put the following line in my normal user
account's crontab (This account does have a shell, it's one I use on a
daily basis):

SHELL=/bin/sh
mailto=my_email_acco...@gmail.com
*   *   *   *   *   /sbin/ping -c4 localhost

I'm getting no emails at all. In /var/log/maillog, I'm getting the
following output:

Mar  3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www,
size=0, class=0, nrcpts=0,
msgid=<200903032110.n23la0td086...@subdomain.domain.tld>,
relay=...@localhost
___
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"


Xorg is now broken

2009-03-03 Thread Arthur Barlow
I'm using Freebsd 7.1 and everything had been working fine, until I 
noticed there were upgrades for Xorg.  I went ahead and used portupgrade 
to upgrade the packages and now I get a server error 11.  I'm including 
the Xorg.0.log and xorg.conf for you to examine.


I'm running an older PIII based Gateway PC that uses a Premedia video 
card, which in turn uses the "xf86-video-glint" driver.  All suggestions 
are welcome.
Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
#   RgbPath  "/usr/local/share/X11/rgb"
ModulePath   "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load  "GLcore"
Load  "dbe"
Load  "dri"
Load  "extmod"
Load  "glx"
Load  "record"
Load  "xtrap"
Load  "freetype"
#   Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName"Monitor Model"
HorizSync   30.00 - 81.00
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB"  # []
#Option "DefaultRefresh"# []
#Option "ModeSetClearScreen"# []
Identifier  "Card0"
Driver  "glint"
VendorName  "Texas Instruments"
BoardName   "TVP4020 [Permedia 2]"
BusID   "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultDepth 24
SubSection "Display"
Modes  "1024x768" 
Viewport   0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 4
EndSubSection
SubSection "Display"
Modes  "1024x768"
Viewport   0 0
Depth 8
EndSubSection
SubSection "Display"
Modes  "1024x768"
Viewport   0 0
Depth 15
EndSubSection
SubSection "Display"
Modes  "1024x768"
Viewport   0 0
Depth 16
EndSubSection
SubSection "Display"
Modes  "1024x768"
Depth 24
EndSubSection
EndSection

___
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: Server encryption

2009-03-03 Thread David Karapetyan
Yes, having to enter the password in after reboot is a bit of a pain.  
That is not all; the encrypted drive must be fsck'd as well, which is a 
bit annoying. At present, I encrypt secure documents on my laptop, and 
leave my server unencrypted; thanks to your input, I will continue to do 
so. Thank you. 

On Tue, Mar 03, 2009 at 03:18:57PM -0500, Bill Moran wrote:
> In response to David Karapetyan :
> 
> > Hello, I was wondering if it was a worthwhile endeavor to encrypt a 
> > backup hard drive on a server that I currently have in my office at 
> > school (I am a graduate student). I do have sensitive data on it 
> > (backups of my mail, as well as an msmtprc file that contains the 
> > password to a gmail account of mine). I am not particularly worried 
> > about theft of my server, but you never know. Am I simply being 
> > paranoid, or is there a considerable risk when one does not encrypt?
> 
> If you don't encrypt the data and the server is stolen, the thief
> has your data if he wants it.
> 
> If you do encrypt it, the thief has to go to considerable length to
> steal the system without powering it down, and even then it's difficult
> to get the actual data.
> 
> Most thieves don't care about your data.  The value of the hardware is
> enough, and they'll probably reformat the HDD with a bootleg Windows
> Vista install anyway.
> 
> You have to decide for yourself whether you feel the risk justifies
> the effort.  Keep in mind that if you encrypt the drive, you'll have
> to enter the password any time the system is rebooted (such as after
> a power outage).
> 
> Hope this helps.
> 
> -- 
> Bill Moran
> http://www.potentialtech.com
> http://people.collaborativefusion.com/~wmoran/

-- 
--
Best,
David Karapetyan
http://davidkarapetyan.com
University of Notre Dame
Department of Mathematics
255 Hurley Hall
Notre Dame, IN 46556-4618
Phone: 574-631-5706
Cell:  202-460-5173
Fax:   574-631-6579

___
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: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-03 Thread Mel
On Tuesday 03 March 2009 07:26:02 Andrew Moran wrote:
> On Mar 3, 2009, at 8:01 AM, Andrew Moran wrote:
> > In Mar 3, 2009, at 7:40 AM, Mel wrote:
> >> On Monday 02 March 2009 16:21:53 Andrew Moran wrote:
>  What's even weirder is that the process gets that far. Did you play
>  with
>  kern.maxdsiz loader tuneable?
>  If so, set it lower, so you can at least have the machine in a
>  usable state at
>  all times. 4G should be enough for any process and should give
>  enough time
>  for you to spot the leak and get a ktrace.
> >>>
> >>> Nope, I haven't tweaked any kernel settings, just using the generic
> >>> DEFAULT amd64 kernel.   I've been way about tweaking settings
> >>> because
> >>> I don't fully understand what the 'correct' values for my setup are.
> >>
> >> Could you show kenv kern.maxdsiz and if unset limits -H -d? Looks
> >> like it's
> >> 32G on my 6.x amd64, in which case setting it is a good idea.
> >> echo 'kern.maxdsiz="8G"' >> /boot/loader.conf
> >> echo 'kern.defdsiz="4G"' >> /boot/loader.conf
> >
> > Thank you for helping me. The earlier suggestion of toggling
> > Perl Malloc didn't work, nor did syncing sources and installing new
> > kernel and new world which is what I did lsat night.
> >
> > As for kernel settings, I don't have anything in my loader.conf,
> > and I'm not entirely sure how to show things that aren't sysctls, as
> > this one doesn't seem to be:
> >
> > celebrian# sysctl -a | grep kern.maxdsiz
> > celebrian# sysctl -a | grep kern.defdsiz
> > celebrian#
>
> Ok sadly that didn't seem to do much:
>
> celebrian# cat /boot/loader.conf
> kern.maxdsiz="8G"
> kern.defdsiz="4G"
> celebrian#

Can you show limits -H -d?

> I rebooted, but still see my memory being chewed up.   Almost
> immediately after booting, one of my spamassassin processes spun out
> of control.  Here's the top with it eating 16 gigs of memory:
>
>PIDUIDTHR PRI NICE   SIZERES STATE  C   TIME   WCPU
> COMMAND
>   1611   1030  1  680 15062M   818M CPU2   2   0:44 20.65%
> perl5.8.9

At this point, have your cd to a partition large enough to hold a few 100 
megs, and type:
ktrace -p 1611

where 1611 is the PID of the perl process. You may want to be a bit earlier 
then this point. After a few seconds, type ktrace -C. Then kdump|less. There 
should be plenty of allocations there (*alloc* functions).

>
> and from dmesg:
>
> 
> swap_pager_getswapspace(16): failed
> swap_pager_getswapspace(16): failed
> swap_pager_getswapspace(16): failed
> swap_pager_getswapspace(16): failed
> swap_pager_getswapspace(3): failed
> swap_pager_getswapspace(16): failed
> pid 1611 (perl5.8.9), uid 1030, was killed: out of swap space
>
>
> The computer gets pretty unresponsive during this, unless swapoff my
> swap, then the process eats the memory faster and gets killed
> faster.   Did I type in the wrong variables?

Nope, I'm now reading up myself, I would think this works on amd64. You can 
see defaults in /boot/defaults/loader.conf.

Maybe it only works on what top shows as RES memory (truely used memory, so 
overallocation is possible). In that case, set kern.defdsiz to 512M, perl 
should bug out earlier and probably doesn't affect normal operations (busy 
MySQL server might).

I do hope this feature isn't obsolete on amd64, I kinda like knowing there's a 
guard against my programming errors ;)

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Server encryption

2009-03-03 Thread Bill Moran
In response to David Karapetyan :

> Hello, I was wondering if it was a worthwhile endeavor to encrypt a 
> backup hard drive on a server that I currently have in my office at 
> school (I am a graduate student). I do have sensitive data on it 
> (backups of my mail, as well as an msmtprc file that contains the 
> password to a gmail account of mine). I am not particularly worried 
> about theft of my server, but you never know. Am I simply being 
> paranoid, or is there a considerable risk when one does not encrypt?

If you don't encrypt the data and the server is stolen, the thief
has your data if he wants it.

If you do encrypt it, the thief has to go to considerable length to
steal the system without powering it down, and even then it's difficult
to get the actual data.

Most thieves don't care about your data.  The value of the hardware is
enough, and they'll probably reformat the HDD with a bootleg Windows
Vista install anyway.

You have to decide for yourself whether you feel the risk justifies
the effort.  Keep in mind that if you encrypt the drive, you'll have
to enter the password any time the system is rebooted (such as after
a power outage).

Hope this helps.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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"


Server encryption

2009-03-03 Thread David Karapetyan
Hello, I was wondering if it was a worthwhile endeavor to encrypt a 
backup hard drive on a server that I currently have in my office at 
school (I am a graduate student). I do have sensitive data on it 
(backups of my mail, as well as an msmtprc file that contains the 
password to a gmail account of mine). I am not particularly worried 
about theft of my server, but you never know. Am I simply being 
paranoid, or is there a considerable risk when one does not encrypt?

On Tue, Mar 03, 2009 at 08:33:55PM +0100, Leslie Jensen wrote:
>
> I'm considering a Squid box serving two different networks, both with  
> their own Internet access.
>
> Access from network 1 to default router on network 1
> and
> Access from network 2 to default router on network 2
>
>
> How do one set default router per NIC?
>
> Thanks
>
> /Leslie
> ___
> 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"

-- 
--
Best,
David Karapetyan
http://davidkarapetyan.com
University of Notre Dame
Department of Mathematics
255 Hurley Hall
Notre Dame, IN 46556-4618
Phone: 574-631-5706
Cell:  202-460-5173
Fax:   574-631-6579

___
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: Configuring default router per NIC!

2009-03-03 Thread Mel
On Tuesday 03 March 2009 10:33:55 Leslie Jensen wrote:
> I'm considering a Squid box serving two different networks, both with
> their own Internet access.
>
> Access from network 1 to default router on network 1
> and
> Access from network 2 to default router on network 2
>
>
> How do one set default router per NIC?

One can't as the default router is per IP stack (per machine). One can however 
use different routing tables per process, using setfib(1) on FreeBSD 7.1 and 
above.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Ports on Macbook

2009-03-03 Thread Julian Wissmann


Am 03.03.2009 um 13:40 schrieb Luigi Iannone:

This is not right. The US doesn't recognize the judging of any other  
country according to proskauerguide, nor do any other countries have  
to recognize US law or judging. You are saying that basically every  
country that has signed Internation Commercial Agreement basically  
subordinates their own laws which is not the case. Their own laws come  
first.



The EULA states:

"This License will be governed by and construed in accordance with  
the laws of the State of California,.."


Since I assume that Sweden has signed international commercial  
agreements with the USA, I think that it odes not matter what the  
Swedish law says about signing or not a license agreement, in this  
specific case the law of California applies.


L.

On Mar 3, 2009, at 13:29 , Bernt Hansson wrote:


FBSD UG said the following on 2009-03-03 09:25:

On 2 mrt 2009, at 20:22, Bernt Hansson wrote:

FBSD UG skrev:


You're not buying the software, you buy a license to use it on one
Apple computer.


Mostly semantics,  if I name my computer "APPLE" Then it's  
"legal" to
install. Crap, if I buy it I can install it on ANY computer. Does  
not
have to be a computer named "APPLE" it could be "IBM", "HP" or  
any other

brand or non brand.




did you sign all Swedish laws then?


Kind of way, yes, since I voted in the election 2006


How is Apple going to prevent illegal copying?


They have the copyright laws, as I stated before.
___
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 
"


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


Configuring default router per NIC!

2009-03-03 Thread Leslie Jensen


I'm considering a Squid box serving two different networks, both with 
their own Internet access.


Access from network 1 to default router on network 1
and
Access from network 2 to default router on network 2


How do one set default router per NIC?

Thanks

/Leslie
___
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: Ports on Macbook

2009-03-03 Thread Luigi Iannone


On Mar 3, 2009, at 19:07 , Charles Oppermann wrote:


On Tue March 3 2009 4:40:37 am Luigi Iannone wrote:

The EULA states:
"This License will be governed by and construed in accordance with  
the

laws of the State of California,.."
Since I assume that Sweden has signed international commercial
agreements with the USA, I think that it odes not matter what the
Swedish law says about signing or not a license agreement, in this
specific case the law of California applies.


In a previous message, I posted the link to the license agreements  
Apple uses
for Mac OS.  There is a Swedish language version for Sweden which  
appears
basically the same as the United States version, but says that the  
laws of

Sweden would apply.


Strange, in the english version is clearly stated that translations  
are provided in the sake of clarity but legally only the english one  
count.


Luigi



___
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: ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument

2009-03-03 Thread Faizan ul haq Muhammad




 


> From: faiz...@hotmail.com
> To: freebsd-questions@freebsd.org
> Date: Tue, 3 Mar 2009 16:48:54 +
> Subject: ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument
> 
> 
> Hi all,I am trying to use Dummynet on a modified FreeBSD 7 
> kernel. I haveloaded Dummynet in to the kernel
> when I add pipes, but pipe config returns thefollowing error:# 
> ipfw pipe 1 config delay 100msipfw: 
> setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument
> _
> Express your personality in color! Preview and select themes for Hotmail®. 
> http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme___
> 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"
It worked when i deleted and rewrote the dummynet option in KERNEL and rebuild 
it...

 

/Regards

_
Windows Live™ Groups: Create an online spot for your favorite groups to meet.
http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009___
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: bsd.rd for FreeBSD install

2009-03-03 Thread Tim Judd
On Mon, Mar 2, 2009 at 10:36 AM, new_guy  wrote:

>
> Hi,
>
> We normally use OpenBSD, but would like to try FreeBSD on a test system.
> Usually, when updating from one OpenBSD release to another, we do so by
> downloading the latest bsd.rd and booting from that to complete the
> install.
> Our machines have no optical drives. Does FreeBSD have a similar method to
> installation?
>
> Thanks!
> --
> View this message in context:
> http://www.nabble.com/bsd.rd-for-FreeBSD-install-tp22292723p22292723.html
> Sent from the freebsd-questions mailing list archive at Nabble.com.
>

Being relatively familiar with both, let me input my advice.

first of all, Open and Free use different DOS-partition partition IDs,
OpenBSD being A6, and FreeBSD being A5.  This would be the first road block
to overcome.

Second, there isn't a produced single file to boot FreeBSD in a ramdisk
image from the FreeBSD folks.  There is one out there called mfsbsd that
does that.  Creating a ramdisk based kernel would work, and you'd need to
shove what's in the bootonly CD into that kernel image.

I doubt you'll be able to produce a kernel for FreeBSD on OpenBSD.  Haven't
tried it, but I bet the pmake syntax for FreeBSD will give OpenBSD problems.

Running a PXE/NFS/DHCP boot server would be the first thing I'd go into to
do a completely CD/DVD-less system.  But you have to start from
somewhere...  You have to boot FreeBSD from external medium so you can
prepare a hard drive.

Is it a problem to float a USB CD/DVD drive around to install?  would a
bootserver help you in your efforts?

There's just so many ways to approach this, your initial post isn't helping
me to lean one way or another.

Can you provide your factors why your systems are CD/DVD-less?  Do these
systems boot from PXE/network?


when you answer these questions, something might come into mind that would
benefit you most...  but the different partition IDs is going to become a
hurlde without a external boot medium.

Let me know,

--TJ
___
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: Ports on Macbook

2009-03-03 Thread Charles Oppermann
On Tue March 3 2009 4:40:37 am Luigi Iannone wrote:
> The EULA states:
> "This License will be governed by and construed in accordance with the
> laws of the State of California,.."
> Since I assume that Sweden has signed international commercial
> agreements with the USA, I think that it odes not matter what the
> Swedish law says about signing or not a license agreement, in this
> specific case the law of California applies.

In a previous message, I posted the link to the license agreements Apple uses 
for Mac OS.  There is a Swedish language version for Sweden which appears 
basically the same as the United States version, but says that the laws of 
Sweden would apply.
___
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: Ports on Macbook

2009-03-03 Thread michael



Andrew Gould wrote:
On Tue, Mar 3, 2009 at 9:00 AM, michael > wrote:


Andrew Gould wrote:

On Tue, Mar 3, 2009 at 7:33 AM, michael
mailto:michael.copel...@gmail.com>> wrote:
 



*snip*

...and legalities aside, let's not forget the question of ethics.

Andrew
 



ethics is like latin, few care. but i agree with you in entirety.

michael


At least you didn't make a "dead language" analogy.  ;-)

Andrew
I was tempted to, but when i considered it, i came to the conclusion 
that it would just lead this thread down another rabbit trail. wrong is 
wrong, no matter your country.

___
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: Apache

2009-03-03 Thread Mel
On Sunday 01 March 2009 06:26:46 Monty Pyth wrote:
> It is Apache 2.2. There is no /etc/localtime and no /etc/wall_cmos_clock.
> For right now I am trying to figure out why the httpd-access.log is showing
> +. As I stated three weeks ago I saved several files from the server to
> my PC at home. Both my PC(running windows XP Pro, NTFS) and the server were
> both in the EST time zone. The files on my PC showed the file created and
> modified dates of 02/10/2009 17:33:00. The access log shows me accessing
> those files [10/Feb/2009 17:33:00 +]. Where is the + coming from
> when the time 17:33:00 is the same time my PC was set to? When I ran the
> BIOS is was set to the correct date and time.

Run tzsetup. Then restart apache.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: A problem about pkg_deinstall

2009-03-03 Thread Mel
On Sunday 01 March 2009 05:28:05 Robert Huff wrote:
> Mel writes:
> >  Aside what Michael pointed out, ports-mgmt/pkg_cutleaves is much
> >  easier for this task. It will only delete leaves, so if b is
> >  still needed by X, it will not come up on the next iteration. And
> >  you get to see the short description of the package, so may
> >  decide to keep it anyway...
>
>   I'd like to suggest a better solution is not auto-deleting in
> either direction.  Even if the code were perfect - of which there is
> no evidence - the people are not, Unless you're (generic "you")
> planning to wipe out something huge (e.g. X11, or Gnome/KDE) and
> know _exactly_ what you're doing ... it's like hanging a "Kick me!"
> sign around your neck.

pkg_cutleaves is interactive by default. Asks confirmation for each port, then 
only deletes at the end of the run. Unless you explicitedly tell it to be not 
interactive...

Really should check it out. My only beef with it is that it writes "kept" 
packages as package names, rather then origin, so keeping autoconf-2.56 will 
result in all autoconf packages to be kept next run.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: portmanager/portmaster like application for packages?

2009-03-03 Thread Mel
On Sunday 01 March 2009 14:02:19 per...@pluto.rain.com wrote:
> Mel  wrote:
> > On Saturday 28 February 2009 23:06:10 Fbsd1 wrote:
> > > I am looking for software like portmanager/portmaster but works
> > > on the package system instead of the port system. Is there such
> > > am application available?
> >
> > Not (yet). Without /usr/ports it's impossible to find out what
> > software needs updating, or you'd have to download and trust the
> > INDEX-7 on the FreeBSD package servers.
>
> ... which may not be much of a stretch for those who are prepared
> to download and trust the packages themselves, from the same place.

It is a stretch in practice. The INDEX is based on /usr/ports, which is ahead 
of the packages that are actually compiled on the buildservers.

> portupgrade -PP manages somehow.

Not somehow, but because it works with /usr/ports. Try renaming your ports 
directory and see how that goes. Also, -PP wastes a lot of bandwidth. Just 
look at the ammount of packages that are downloaded which aren't actually 
installed, because the version is older or equal then installed.

> BTW, the OP may not realize that 
> "the package system" is a subset of "the port system", rather than
> an alternative.  Packages are generated using the port system.

It's an alternative way to install the same software. One can in fact use 
packages without having /usr/ports present at all. I'm using my own tools, 
using a custom INDEX format on the build server. But there's still too many 
raw edges that I'd like the tools released into the wild.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: bsd.rd for FreeBSD install

2009-03-03 Thread Mel
On Monday 02 March 2009 08:36:39 new_guy wrote:

> We normally use OpenBSD, but would like to try FreeBSD on a test system.
> Usually, when updating from one OpenBSD release to another, we do so by
> downloading the latest bsd.rd and booting from that to complete the
> install. Our machines have no optical drives. Does FreeBSD have a similar
> method to installation?

You can use nanobsd (toolt/tools/nanobsd) on a flash card and possibly through 
PXE, but I'd never tried that. You'd still have to circumvent the bootstrap 
of making that image, unless someone on the list wants to share his nanobsd 
image.
If the machines have floppies, there are downloadable floppy images.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Ports on Macbook

2009-03-03 Thread Andrew Gould
On Tue, Mar 3, 2009 at 9:00 AM, michael  wrote:

> Andrew Gould wrote:
>
>> On Tue, Mar 3, 2009 at 7:33 AM, michael 
>> wrote:
>>
>>
>>>
 *snip*

>>> ...and legalities aside, let's not forget the question of ethics.
>>
>> Andrew
>>
>>
>
> ethics is like latin, few care. but i agree with you in entirety.
>
> michael
>
>
At least you didn't make a "dead language" analogy.  ;-)

Andrew
___
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: Root shell

2009-03-03 Thread Mel
On Sunday 01 March 2009 07:47:44 Glen Barber wrote:
> On Sun, Mar 1, 2009 at 11:43 AM, Daniel Lannstrom  wrote:
> > On Sun, Mar 01, 2009 at 11:11:56AM -0500, Glen Barber wrote:
> >> This explains one of the reasons not to change root's shell:
> >>
> >> http://www.freebsd.org/doc/en/books/faq/security.html#TOOR-ACCOUNT
> >
> > Yes that's exactly what I meant. Is there any other reason except for
> > that? As I see it that problem can easily be solved by copying bash to
> > the root file system. Also many systems today have the root and /usr
> > on the same file system.
>
> You'd have to also copy more than just the binary file.

True, that's why ports respect PREFIX.

> It's more 
> complex than that, and generally is a Bad Idea(tm).

FUD. Just use:
make -C /usr/ports/shells/bash -DWITH_STATIC_BASH PREFIX=/

(or PREFIX=/opt or PREFIX=/static or whatever, just as long as it resides on 
the root partition).

If something isn't working that should work (f.e. rc.d scripts), it's easy to 
chsh -s /bin/csh, relog and see if it works then. I've seen one case where a 
startup script didn't work because root shell was zsh. Judging from that 
case, zsh thought it was running interactively or PROMPTS set in .zlogin 
rather then .zshrc and various tty related commands screwed things up. Also, 
zsh is more aggressive on correcting command line arguments. All this 
ammounts to "know your shell" which is an argument *for* changing root's 
shell to something you're familiar with, rather leaving it at csh out of 
unfounded paranoia.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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"


ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument

2009-03-03 Thread Faizan ul haq Muhammad

Hi all,I am trying to use Dummynet on a modified FreeBSD 7 
kernel. I haveloaded Dummynet in to the kernel
when I add pipes, but pipe config returns thefollowing error:# 
ipfw pipe 1 config delay 100msipfw: 
setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument
_
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme___
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: desktop app/config

2009-03-03 Thread Jean-Paul Natola

"Jean-Paul Natola"  wrote:


> Ok so I left the machine running over the weekend to install KDE,
> 
> And when I got in this morning it said that my disk was out of space-
> I loaded nothing but the basic freebsd os and nothing other than kde
> (granted its only a 10 gig drive) but that should be enough for a kde
> desktop no? 

>>>It may be that you need to clean-out the workspaces with 
>>>rm -rf /usr/ports/*/*/work, and start again.

>>>BTW I'd go for KDE3 rather than KDE4. The latter still seems to be very
>>>fragile to me, and it needs a fairly up-to-date machine, with and a well
>>>supported 3-d graphics card if you want the effects.
___
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"


So I followed the instructions above, and after a few days I wount up again
with my 6 gig slice filling up before  kde3 could install-

I must be doing something wrong if I cant install kde 3 on a 6 gig slice?


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


Cross Compile Tools on Linux

2009-03-03 Thread Bhattiprolu RaviKumar
Hi All,

I have a Xeon based server box running FreeBSD 7.1. We do not want to
use this machine to run any compilation/build jobs. We want to build our
software on a Linux based build machine and transfer the final binary to
server. Are there any cross compile tools available on Linux which will
create FreeBSD targets? I looked at crosstool and crosstool-ng and they do
not have FreeBSD as one of the targets.

Any information on this will be of great help to me.

thanks and regards,
Ravi
___
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: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-03 Thread Andrew Moran


On Mar 3, 2009, at 8:01 AM, Andrew Moran wrote:



In Mar 3, 2009, at 7:40 AM, Mel wrote:


On Monday 02 March 2009 16:21:53 Andrew Moran wrote:


What's even weirder is that the process gets that far. Did you play
with
kern.maxdsiz loader tuneable?
If so, set it lower, so you can at least have the machine in a
usable state at
all times. 4G should be enough for any process and should give
enough time
for you to spot the leak and get a ktrace.


Nope, I haven't tweaked any kernel settings, just using the generic
DEFAULT amd64 kernel.   I've been way about tweaking settings  
because

I don't fully understand what the 'correct' values for my setup are.


Could you show kenv kern.maxdsiz and if unset limits -H -d? Looks  
like it's

32G on my 6.x amd64, in which case setting it is a good idea.
echo 'kern.maxdsiz="8G"' >> /boot/loader.conf
echo 'kern.defdsiz="4G"' >> /boot/loader.conf



Thank you for helping me. The earlier suggestion of toggling  
Perl Malloc didn't work, nor did syncing sources and installing new  
kernel and new world which is what I did lsat night.


As for kernel settings, I don't have anything in my loader.conf,   
and I'm not entirely sure how to show things that aren't sysctls, as  
this one doesn't seem to be:


celebrian# sysctl -a | grep kern.maxdsiz
celebrian# sysctl -a | grep kern.defdsiz
celebrian#



Ok sadly that didn't seem to do much:

celebrian# cat /boot/loader.conf
kern.maxdsiz="8G"
kern.defdsiz="4G"
celebrian#

I rebooted, but still see my memory being chewed up.   Almost  
immediately after booting, one of my spamassassin processes spun out  
of control.  Here's the top with it eating 16 gigs of memory:


  PIDUIDTHR PRI NICE   SIZERES STATE  C   TIME   WCPU  
COMMAND
 1611   1030  1  680 15062M   818M CPU2   2   0:44 20.65%  
perl5.8.9


and from dmesg:


swap_pager_getswapspace(16): failed
swap_pager_getswapspace(16): failed
swap_pager_getswapspace(16): failed
swap_pager_getswapspace(16): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(16): failed
pid 1611 (perl5.8.9), uid 1030, was killed: out of swap space


The computer gets pretty unresponsive during this, unless swapoff my  
swap, then the process eats the memory faster and gets killed  
faster.   Did I type in the wrong variables?


--Andy
___
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: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-03 Thread Andrew Moran


In Mar 3, 2009, at 7:40 AM, Mel wrote:


On Monday 02 March 2009 16:21:53 Andrew Moran wrote:


What's even weirder is that the process gets that far. Did you play
with
kern.maxdsiz loader tuneable?
If so, set it lower, so you can at least have the machine in a
usable state at
all times. 4G should be enough for any process and should give
enough time
for you to spot the leak and get a ktrace.


Nope, I haven't tweaked any kernel settings, just using the generic
DEFAULT amd64 kernel.   I've been way about tweaking settings because
I don't fully understand what the 'correct' values for my setup are.


Could you show kenv kern.maxdsiz and if unset limits -H -d? Looks  
like it's

32G on my 6.x amd64, in which case setting it is a good idea.
echo 'kern.maxdsiz="8G"' >> /boot/loader.conf
echo 'kern.defdsiz="4G"' >> /boot/loader.conf



Thank you for helping me. The earlier suggestion of toggling Perl  
Malloc didn't work, nor did syncing sources and installing new kernel  
and new world which is what I did lsat night.


As for kernel settings, I don't have anything in my loader.conf,  and  
I'm not entirely sure how to show things that aren't sysctls, as this  
one doesn't seem to be:


celebrian# sysctl -a | grep kern.maxdsiz
celebrian# sysctl -a | grep kern.defdsiz
celebrian#


(Btw, using Perl Malloc didn't work, nor did syncing sources and  
installing new kernel and new world.)


I'm going to try your settings in loader.conf and see if they work for  
me.


--Andy
___
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: libpthread not found

2009-03-03 Thread Mel
On Sunday 01 March 2009 00:41:54 m.borsat...@alice.it wrote:

> I've installed netbeans from ports without error messages. when I started
> the program I got an error like this: "libpthread.so.2 needed by java not
> found". I've verified that there is a libpthread.so.20 in
> /usr/local/lib/pth.

Did you upgrade your machine to 6.x to 7.x recently and not recompile your 
ports? That's the only way I can think of that would "install netbeans 
without error messages". Your java was compiled on 6.x and used 
libpthread.so.2 and libc.so.6 from there.
If you installed diablo-jdk15 on your 7.x system the compat6x port should have 
been installed automatically.
The other case that could explain this, would be that you modified 
ldconfig_paths in /etc/rc.conf and removed /usr/local/lib/compat/pkg.

Either way, if you have:
diablo-jdk-1.5.* in /var/db/pkg, you should do what Dan said and install 
misc/compat6x.
libmap.conf is a bad idea.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-03 Thread Mel
On Monday 02 March 2009 16:21:53 Andrew Moran wrote:

> > What's even weirder is that the process gets that far. Did you play
> > with
> > kern.maxdsiz loader tuneable?
> > If so, set it lower, so you can at least have the machine in a
> > usable state at
> > all times. 4G should be enough for any process and should give
> > enough time
> > for you to spot the leak and get a ktrace.
>
> Nope, I haven't tweaked any kernel settings, just using the generic
> DEFAULT amd64 kernel.   I've been way about tweaking settings because
> I don't fully understand what the 'correct' values for my setup are.

Could you show kenv kern.maxdsiz and if unset limits -H -d? Looks like it's 
32G on my 6.x amd64, in which case setting it is a good idea.
echo 'kern.maxdsiz="8G"' >> /boot/loader.conf
echo 'kern.defdsiz="4G"' >> /boot/loader.conf

would set it to 4G soft limit, 8G hard limit. The difference between soft and 
hard is, that the limits(1) program can be used to run a process with more 
then 4G allocatable memory and nothing can run with more then 8G, until 
loader tunable is changed and a reboot is done.

I really have no idea why on amd64 this default is so high, surely 32G for a 
process is an extreme circumstance, for which one would require 4 physical 
CPU's to begin with.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: unhappy XOrg upgrade ate the linux version of libuuid.so.1

2009-03-03 Thread Paul Schmehl
--On Monday, March 02, 2009 23:21:21 -0600 Steve Franks 
 wrote:





There has always been a /usr/ports/UPDATING atleast as far back as 6.0 is
when I noticed itbut that's when I started using FreeBSD


Well, I'll be d###'ed.  So there is.  Makes sense, I guess.  Wonder
how many other "UPDATING"'s are floating around the system...



That's easy.
pa...@utd65257# locate UPDATING
/usr/ports/UPDATING
/usr/src/UPDATING

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

___
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: load average and some built-in monitoring mechanism

2009-03-03 Thread Ivan Voras
Zbigniew Szalbot wrote:
> Hi there,
> 
> My machine has recently been taken down by (most likely) runaway java
> process. The box had to be rebooted as there was no remote access to
> it but I am not able to find anything useful in logs to confirm
> whether it was java. Is there a tool that would enable me to
> automatically turn on verbose logging of top processes to some file
> once the load average is greater than the specified value? This way,
> once the storm is over, I would be able to see which process(es) went
> nuts.
> 
> I guess a tool like that may simply already exist in which case I'd
> appreciate links/more information. How are you dealing with such
> issues when/if they happen to you?

I don't think something like that already exists in base. You can use
"top -d1" to get a snapshot from top and a small shell script (or a
script in your chosen language) to test if the load average (you can get
it from sysctl vm.loadavg) gets unreasonable.





signature.asc
Description: OpenPGP digital signature


Re: unhappy XOrg upgrade ate the linux version of libuuid.so.1

2009-03-03 Thread Mel
On Monday 02 March 2009 20:21:21 Steve Franks wrote:
> > There has always been a /usr/ports/UPDATING atleast as far back as 6.0 is
> > when I noticed itbut that's when I started using FreeBSD
>
> Well, I'll be d###'ed.  So there is.  Makes sense, I guess.  Wonder
> how many other "UPDATING"'s are floating around the system...

There's even a pkg_updating(1), allthough it's matching is flakey at times.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Ports on Macbook

2009-03-03 Thread michael

Andrew Gould wrote:

On Tue, Mar 3, 2009 at 7:33 AM, michael  wrote:
  


*snip*

...and legalities aside, let's not forget the question of ethics.

Andrew
  


ethics is like latin, few care. but i agree with you in entirety.

michael

___
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: RAID Gone Wild - One Array Split Into Two

2009-03-03 Thread Alex Kirk
What branch is this patch supposed to apply against? I've tried  
7.0-RELEASE and 7.1-RELEASE, and judging by the dates involved, it's  
somewhere in between the two.


Or should I be asking this on the freebsd-hackers list, where that  
patch was originally posted?


Alex


Alex,

This is known problem with FreeBSD and ICH7..ICH8..ICH9 chipsets.  
There is a patch for it:


http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html

I though didn't test the patch, and funny thing, I posted  earlier  
today asking if anyone had tried out that patch.


Hope this helps, keep me posted if you're able to bring it online.

Thanks,

Tamouh


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Alex Kirk
Sent: March 1, 2009 8:20 PM
To: Jamie
Cc: questi...@freebsd.org
Subject: Re: RAID Gone Wild - One Array Split Into Two

>> Does anyone have a clue how I can fix this, preferably while
>> retaining my data? I could wipe the box if necessary, but
I'd really
>> prefer not to, as that would be a huge pain in the butt.
>
>> Thanks,
>> Alex Kirk
>
>
>
>
>I would begin by going into the raid BIOS at bootup to see what
> containers are now configured. If everything is hosed up in
there the
> OS isn't going to be able to fix anything.
>
>
>   - Jamie
>

Sorry, should have already gone over this.

The RAID BIOS is terrible - my options are "Create Array", "Delete
Array", "Reset Disk States", and "Exit". It shows only the
one array,
but all four disks show as Offline Member in red there. I'm just
concerned that if I reset the array or delete it, the state
table (or
whatever other magic is involved in making RAID work) will get hosed
up and the data will be unrecoverable.

Alex



This message was sent using IMP, the Internet Messaging Program.
___
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"










This message was sent using IMP, the Internet Messaging Program.
___
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: read BSD format disk from Mac OSX

2009-03-03 Thread Julian Wissmann


Am 02.03.2009 um 19:37 schrieb Roland Smith:


On Mon, Mar 02, 2009 at 09:16:02AM -0500, Tsu-Fan Cheng wrote:

Hi all,
   I format a ext disk (UFS) and transfer some files into it, hand it
over to my friend who has a macbook. He complained the macbook can't
read it. I don't have a mac on hand, I wonder if there is any utility
that will help a mac to read a BSD, thanks!!


Macs use GUID partition tables. These are supported by the GENERIC
FreeBSD kernel (at least in 7.1). You'll need the gpt(8) program to  
make

them. The following link is a kind of HOWTO:
http://forums.freebsd.org/archive/index.php/t-1305.html

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


Formatting the Disk GUID is a start. Your friend could use FUSE as  
well though. It's available for OS X (see http://code.google.com/p/macfuse/) 
. Or you could format the FreeBSD disk with UFS1! which is afaik  
supported by OS X.


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


installing i386.rpm files on fbsd-amd64

2009-03-03 Thread luizbcampos
I need to put my printer to work and its driver finishes as
i386.rpm files. I've already installed linux_base-fc4 but when I type
"/compat/linux/bin rpm -ivh  --root=/usr/compat/linux/rpmfile.rpm"  I
got permission denied as root
___
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: Ports on Macbook

2009-03-03 Thread Andrew Gould
On Tue, Mar 3, 2009 at 7:33 AM, michael  wrote:

> Marc Coyles wrote:
>
>> http://www.apple.com/legal/sla/macosx.html
>>
>>
> They can write whatever they want. I'm not binded by it.
>
>

>> "This License allows you to install and use one copy of the Apple
>> Software on a single *Apple-labeled* computer at a time"
>>
>> So, in theory, apply white lx tape to any PC, write "APPLE" on it
>> in black marker. That PC is now labelled "Apple" and you can therefore
>> use their software on it legally... (?) O_o
>>
>> Marci
>>
>>
> playing the semantics game has gotten people in trouble before.
> on a side note, Sweden is a member of Interpol, and therefore subject to
> international laws.
>
> #this is specifically to our Swedish friend
>
> "http://www.interpol.int/Public/ICPO/Members/default.asp";
> "http://en.wikipedia.org/wiki/Interpol";
> In order to maintain as politically neutral a role as possible, Interpol's
> constitution  forbids its
> involvement in crimes that do not overlap several member countries,^[2] <
> http://en.wikipedia.org/wiki/Interpol#cite_note-1> or in any political,
> military, religious, or racial crimes.^[3] <
> http://en.wikipedia.org/wiki/Interpol#cite_note-2> Its work focuses
> primarily on public safety, terrorism <
> http://en.wikipedia.org/wiki/Terrorism>, organized crime <
> http://en.wikipedia.org/wiki/Organized_crime>, war crimes <
> http://en.wikipedia.org/wiki/War_crimes>, illicit drug <
> http://en.wikipedia.org/wiki/Illicit_drug> production, drug trafficking <
> http://en.wikipedia.org/wiki/Drug_trafficking>, weapons smuggling <
> http://en.wikipedia.org/wiki/Weapons_smuggling>, human trafficking <
> http://en.wikipedia.org/wiki/Human_trafficking>, money laundering <
> http://en.wikipedia.org/wiki/Money_laundering>, child pornography <
> http://en.wikipedia.org/wiki/Child_pornography>, white-collar crime <
> http://en.wikipedia.org/wiki/White-collar_crime>, computer crime <
> http://en.wikipedia.org/wiki/Computer_crime>, intellectual property crime
>  and corruption <
> http://en.wikipedia.org/wiki/Political_corruption>.
>
> violating laws of more than one member state, in this case the united
> states and anywhere that a stolen copy transfers to in the member states
> constitutes a crime. that being digital or physical media. people have
> already been prosecuted in countries for doing exactly this and arguing that
> their own laws say its not forbidden.
>
>> ___
>>  
>
>
...and legalities aside, let's not forget the question of ethics.

Andrew
___
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: Ports on Macbook

2009-03-03 Thread Da Rock
On Tue, 2009-03-03 at 12:52 +, Marc Coyles wrote:
> > >>> http://www.apple.com/legal/sla/macosx.html
> > >> They can write whatever they want. I'm not binded by it.
> 
> "This License allows you to install and use one copy of the Apple
> Software on a single *Apple-labeled* computer at a time"
> 
> So, in theory, apply white lx tape to any PC, write "APPLE" on it
> in black marker. That PC is now labelled "Apple" and you can therefore
> use their software on it legally... (?) O_o
> 
> Marci

This will be my last comment on this matter as the topic is long
overdrawn. Until crazy people in the US (not all- just the some who
insist on stupid policies) step out of their topsy turvy virtual
realities and into the real world there are going to be semantics like
this.

This should be a simple thing (and I believe the BSD license presents
this- I'll check again to be sure): respect the authors ownership to the
software as a writer, don't come whinging when it doesn't work like you
think it should.

MS and other whack job fools (in an effort to maximise their control and
obtain as much money as they can without much effort) come up with these
stupid, crazy licenses and "agreements" which in reality can't be
enforced and expect people to live by them. GPL is not much different
here- its only free in a purchasing sense. Licenses limit peoples use of
the software; intellectual property should be honoured (and is through
copyright), but limits are limits and should not be fettered on good
people. (I will point out that I have done ethics studies at uni and I
do understand the ramifications of my comments here) Something you can't
hold in your hands shouldn't be sellable- time on the other hand should
(and can) be. Look at the absolute shambles of the current situation
with the plethora of licenses and the conflicting agreements between
them all, the confusion for the average user and the minefield for the
sysadmins.

What happens when someone does click no and attempts a refund? The
stores will not honour that refund and money is lost by the customer. In
Australia, there is legal precedent that negates a corporation's use of
size and force against a smaller client - currently this being used
against banks and credit card companies, but it would apply here: the
EULA's essentially state "say yes or your money will have been wasted".

Not to mention that you pay money for the crappy software full of bugs
and a security nightmare, then pay again for someone to come out and fix
the problems you find! I personally would rather pay for the fix and
skip the initial costs...

RIAA and DMCA and any other acronym against the small single users need
to get a life! Instead of fighting the current go with the flow- it
seems that of late the tide might be finally turning with the
subscription services offered: a step in the RIGHT direction. Now if
only MS and others would take the hint and get a clue as to how the real
world works...

Thats my rant... I'm out of breath :)

___
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: Ports on Macbook

2009-03-03 Thread michael

Marc Coyles wrote:

http://www.apple.com/legal/sla/macosx.html
  

They can write whatever they want. I'm not binded by it.



"This License allows you to install and use one copy of the Apple
Software on a single *Apple-labeled* computer at a time"

So, in theory, apply white lx tape to any PC, write "APPLE" on it
in black marker. That PC is now labelled "Apple" and you can therefore
use their software on it legally... (?) O_o

Marci
  

playing the semantics game has gotten people in trouble before.
on a side note, Sweden is a member of Interpol, and therefore subject to 
international laws.


#this is specifically to our Swedish friend

"http://www.interpol.int/Public/ICPO/Members/default.asp";
"http://en.wikipedia.org/wiki/Interpol";
In order to maintain as politically neutral a role as possible, 
Interpol's constitution  
forbids its involvement in crimes that do not overlap several member 
countries,^[2]  or in 
any political, military, religious, or racial crimes.^[3] 
 Its work focuses 
primarily on public safety, terrorism 
, organized crime 
, war crimes 
, illicit drug 
 production, drug trafficking 
, weapons smuggling 
, human trafficking 
, money laundering 
, child pornography 
, white-collar crime 
, computer crime 
, intellectual property 
crime  and 
corruption .


violating laws of more than one member state, in this case the united 
states and anywhere that a stolen copy transfers to in the member states 
constitutes a crime. that being digital or physical media. people have 
already been prosecuted in countries for doing exactly this and arguing 
that their own laws say its not forbidden.

___
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: Anyone know SunFire hardware

2009-03-03 Thread Dimitri Yioulos
On Monday 02 March 2009 5:06 pm, new_guy wrote:
> Paul Schmehl-2 wrote:
> > I've done some Googling, and the most common answer seems to be "hit
> > STOP+A",
> > but there is no STOP key on an Intel keyboard.  Is there a magic
> > incantation
> > that will work?   Maybe the entrails of a young goat?
>
> Ctrl + Break
>
> I'm sticking with OpenBSD... BTW.
>
> --

Hopefully that works for you, and in the process spares that poor young goat.

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


RE: Ports on Macbook

2009-03-03 Thread Marc Coyles
> >>> http://www.apple.com/legal/sla/macosx.html
> >> They can write whatever they want. I'm not binded by it.

"This License allows you to install and use one copy of the Apple
Software on a single *Apple-labeled* computer at a time"

So, in theory, apply white lx tape to any PC, write "APPLE" on it
in black marker. That PC is now labelled "Apple" and you can therefore
use their software on it legally... (?) O_o

Marci


___
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: Ports on Macbook

2009-03-03 Thread Luigi Iannone

The EULA states:

"This License will be governed by and construed in accordance with the  
laws of the State of California,.."


Since I assume that Sweden has signed international commercial  
agreements with the USA, I think that it odes not matter what the  
Swedish law says about signing or not a license agreement, in this  
specific case the law of California applies.


L.

On Mar 3, 2009, at 13:29 , Bernt Hansson wrote:


FBSD UG said the following on 2009-03-03 09:25:

On 2 mrt 2009, at 20:22, Bernt Hansson wrote:

FBSD UG skrev:


You're not buying the software, you buy a license to use it on one
Apple computer.


Mostly semantics,  if I name my computer "APPLE" Then it's "legal"  
to
install. Crap, if I buy it I can install it on ANY computer. Does  
not
have to be a computer named "APPLE" it could be "IBM", "HP" or any  
other

brand or non brand.




did you sign all Swedish laws then?


Kind of way, yes, since I voted in the election 2006


How is Apple going to prevent illegal copying?


They have the copyright laws, as I stated before.
___
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: who took my cd drive?

2009-03-03 Thread Maciej Milewski
Tuesday 03 March 2009 13:08:46 michael napisał(a):
> the loader has lsmod

Ahh. OK. My fault. I haven't got any problems with loader so even not used it 
too much.

Pozdrawiam,
Maciej Milewski
___
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: Ports on Macbook

2009-03-03 Thread Bernt Hansson

Da Rock said the following on 2009-03-03 13:13:

On Sat, 2009-02-28 at 22:37 -0800, Charles Oppermann wrote:

That depends on where you are domiciled. Under certain scenarios, simply
open the box, or installing the software constitutes acceptance of the
EULA.

Yes I'm aware of that, but that kind of agreement isn't valid in Sweden.
That would be tantamount to allowing software piracy in Sweden.  The Mac OS X 
license agreements are contained in a PDF file here:


http://images.apple.com/legal/sla/docs/macosx105.pdf

There is a Swedish language agreement for sales in Sweden.  Using on-line 
translation tools, it appears to be similar to what's already been stated; 
use of the software consistutes acceptance of the agreement.  If you do not 
agree, you are requested to return the software.  Presumably, the retail 
materials contain this agreement, and I'm sure there is digital copy that is 
presented and must be agreed to before use.


I'm sure that Apple has very good lawyers who drafted the license agreements 
and are aware of Swedish law.  While what you are doing may or may not be in 
violation of any licenses, your position that "clicking yes or no is not a 
handshake or oral agreement acording to Swedish law" seems dubious and 
ill-advised.


Consider what you're suggesting:  If EULA's and license agreements simply 
weren't valid in Sweden, then what would prevent massive piracy from 
occuring?  I would assume that if license agreements in Sweden weren't 
enforcable, someone would be setting up their own software copying business.




I don't see how one could assume that software piracy (copying software
illegally in this context) would be suddenly legal based simply on the
eula being invalid. EULA's are for the USE of software- not the copying
and selling of those copies of it.


Exactly! EULAs is for the use of programs. BUT you can NOT make an 
agreement like MS or apples EULAs or any EULA that reads "doing this you 
agree to that"


___
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: Ports on Macbook

2009-03-03 Thread Bernt Hansson

FBSD UG said the following on 2009-03-03 09:25:


On 2 mrt 2009, at 20:22, Bernt Hansson wrote:


FBSD UG skrev:


You're not buying the software, you buy a license to use it on one
Apple computer.


Mostly semantics,  if I name my computer "APPLE" Then it's "legal" to
install. Crap, if I buy it I can install it on ANY computer. Does not
have to be a computer named "APPLE" it could be "IBM", "HP" or any other
brand or non brand.




did you sign all Swedish laws then?


Kind of way, yes, since I voted in the election 2006


How is Apple going to prevent illegal copying?


They have the copyright laws, as I stated before.
___
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: Ports on Macbook

2009-03-03 Thread Bernt Hansson

Polytropon said the following on 2009-03-03 03:24:

On Mon, 02 Mar 2009 20:22:50 +0100, Bernt Hansson  wrote:

FBSD UG skrev:
You're not buying the software, you buy a license to use it on one  
Apple computer.



Mostly semantics,  if I name my computer "APPLE" Then it's "legal" to
install. Crap, if I buy it I can install it on ANY computer. Does not
have to be a computer named "APPLE" it could be "IBM", "HP" or any other
brand or non brand.


I think an important point is that you loose support from Apple
if you're not installing Mac OS X on Apple brand hardware.


That may be. But i'm not talking about apple specificly.


As for the license agreement, if you buy Mac OS X from the shelf
(for example), you've not confirmed any contract-like agreement
with Apple yet, but you've purchased some rights already, for
example the right to burn the whole package (not a nice example
but I'm sure you get the idea); the EULA mentions nothing about
this (legally possible) behavior.


Well, you have the right to make a backup. Is it that?


The Mac OS X versions sold along with the "Hackintosh" are no
illegally pirated copies, they're "boxes" from the shelf. It's
up to the customer what to do with it.


Yes. Like with any digital file/s

___
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 use portmanager/portmaster?

2009-03-03 Thread Ricardo Jesus

Da Rock wrote:

On Sat, 2009-02-28 at 23:33 +0100, Frank Wißmann wrote:

Am Samstag 28 Februar 2009 22:39:26 schrieb Roland Smith:

On Sat, Feb 28, 2009 at 10:08:45PM +0100, Frank Wißmann wrote:

Am Samstag 28 Februar 2009 21:42:35 schrieb Roland Smith:

On Sat, Feb 28, 2009 at 07:49:16PM +0100, Frank Wißmann wrote:

Hi, list!
I have a problem using the above mentioned programs because
there doesn't seem to be a manpage installed. Can anybody give
me a clue on how to get help?

Both do have manpages. What kind of error do you get when you try
e.g. 'man portmaster'? It might be that your manual pages setup
is broken.

I get the message "No manual entry for portmaster", but using your
command I can read it. "man man" e. g. works perfectly.

That sounds to me that the configuration for the man command is
broken. If you give the 'manpath' command, does the output include
/usr/local/man? If not, add the following lines to
/etc/manpath.config:

OPTIONAL_MANPATH/usr/local/man
MANPATH_MAP /usr/local/bin  /usr/local/man

Roland
"manpath" does show correct settings AFAIK meaning that the answer to 
your question is "yes".


Frank



Try a rehash.

$ rehash

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


Do a Da Rock said.

Do notice that both portmaster and portmanager are third party 
applications and need to be installed.


cd /usr/ports/ports-mgmt/portmaster/; make install clean; rehash
cd /usr/ports/ports-mgmt/portmanager/; make install clean; rehash

___
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: Ports on Macbook

2009-03-03 Thread Bernt Hansson

Da Rock said the following on 2009-03-03 12:34:

http://www.apple.com/legal/sla/macosx.html 

They can write whatever they want. I'm not binded by it.



Cool country... :)


It is. Now it's +3 degrees.
___
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: Ports on Macbook

2009-03-03 Thread Da Rock
On Sat, 2009-02-28 at 22:37 -0800, Charles Oppermann wrote:
> > > That depends on where you are domiciled. Under certain scenarios, simply
> > > open the box, or installing the software constitutes acceptance of the
> > > EULA.
> >
> > Yes I'm aware of that, but that kind of agreement isn't valid in Sweden.
> 
> That would be tantamount to allowing software piracy in Sweden.  The Mac OS X 
> license agreements are contained in a PDF file here:
> 
> http://images.apple.com/legal/sla/docs/macosx105.pdf
> 
> There is a Swedish language agreement for sales in Sweden.  Using on-line 
> translation tools, it appears to be similar to what's already been stated; 
> use of the software consistutes acceptance of the agreement.  If you do not 
> agree, you are requested to return the software.  Presumably, the retail 
> materials contain this agreement, and I'm sure there is digital copy that is 
> presented and must be agreed to before use.
> 
> I'm sure that Apple has very good lawyers who drafted the license agreements 
> and are aware of Swedish law.  While what you are doing may or may not be in 
> violation of any licenses, your position that "clicking yes or no is not a 
> handshake or oral agreement acording to Swedish law" seems dubious and 
> ill-advised.
> 
> Consider what you're suggesting:  If EULA's and license agreements simply 
> weren't valid in Sweden, then what would prevent massive piracy from 
> occuring?  I would assume that if license agreements in Sweden weren't 
> enforcable, someone would be setting up their own software copying business.
> 

I don't see how one could assume that software piracy (copying software
illegally in this context) would be suddenly legal based simply on the
eula being invalid. EULA's are for the USE of software- not the copying
and selling of those copies of it.

> ...and if that happened, I would expect software companies to change their 
> license agreements in order to prevent it.  
> 
> > If you are under 18 you can't make any 
> > legally binding agreements without your legal guardians permission.
> 
> That might be true, but at least in the United States, parents or guardians 
> are usually held responsible.
> ___
> 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: who took my cd drive?

2009-03-03 Thread michael

Maciej Milewski wrote:

Tuesday 03 March 2009 12:33:16 Paul B. Mahol napisał(a):
  

On 3/3/09, prad  wrote:


On Mon, 2 Mar 2009 14:46:27 -0500

Glen Barber  wrote:
  

Try the atapicam kernel module.


i pushed 6 to get loader prompt and there did
boot atapicam
but got

elf32_loadfile: can't load module before kernel

which i thought was weird since in the help boot it says if you don't
load the module, it will boot it instead of the default. if i
load atapicam
then it just boots acpi.ko
  

Normal behaviour. You need to load kernel too.
lsmod is useful command to list loaded modules.


Isn't lsmod a linux utility?
I always thought FreeBSD has kldstat?
  

the loader has lsmod

Maciej Milewski
___
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 use portmanager/portmaster?

2009-03-03 Thread Da Rock
On Sat, 2009-02-28 at 23:33 +0100, Frank Wißmann wrote:
> Am Samstag 28 Februar 2009 22:39:26 schrieb Roland Smith:
> > On Sat, Feb 28, 2009 at 10:08:45PM +0100, Frank Wißmann wrote:
> > > Am Samstag 28 Februar 2009 21:42:35 schrieb Roland Smith:
> > > > On Sat, Feb 28, 2009 at 07:49:16PM +0100, Frank Wißmann wrote:
> > > > > Hi, list!
> > > > > I have a problem using the above mentioned programs because
> > > > > there doesn't seem to be a manpage installed. Can anybody give
> > > > > me a clue on how to get help?
> > > >
> > > > Both do have manpages. What kind of error do you get when you try
> > > > e.g. 'man portmaster'? It might be that your manual pages setup
> > > > is broken.
> > >
> > > I get the message "No manual entry for portmaster", but using your
> > > command I can read it. "man man" e. g. works perfectly.
> >
> > That sounds to me that the configuration for the man command is
> > broken. If you give the 'manpath' command, does the output include
> > /usr/local/man? If not, add the following lines to
> > /etc/manpath.config:
> >
> > OPTIONAL_MANPATH/usr/local/man
> > MANPATH_MAP /usr/local/bin  /usr/local/man
> >
> > Roland
> 
> "manpath" does show correct settings AFAIK meaning that the answer to 
> your question is "yes".
> 
> Frank
> 

Try a rehash.

$ rehash

___
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: who took my cd drive?

2009-03-03 Thread Maciej Milewski
Tuesday 03 March 2009 12:33:16 Paul B. Mahol napisał(a):
> On 3/3/09, prad  wrote:
> > On Mon, 2 Mar 2009 14:46:27 -0500
> >
> > Glen Barber  wrote:
> >> Try the atapicam kernel module.
> >
> > i pushed 6 to get loader prompt and there did
> > boot atapicam
> > but got
> >
> > elf32_loadfile: can't load module before kernel
> >
> > which i thought was weird since in the help boot it says if you don't
> > load the module, it will boot it instead of the default. if i
> > load atapicam
> > then it just boots acpi.ko
>
> Normal behaviour. You need to load kernel too.
> lsmod is useful command to list loaded modules.
Isn't lsmod a linux utility?
I always thought FreeBSD has kldstat?

Maciej Milewski
___
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: Ports on Macbook

2009-03-03 Thread Da Rock
On Sat, 2009-02-28 at 20:04 +0100, Bernt Hansson wrote:
> Sean Cavanaugh skrev:
> > --
> > From: "Bernt Hansson" 
> > Sent: Saturday, February 28, 2009 11:26 AM
> > To: "Sean Cavanaugh" 
> > Cc: "freebsd-questions" 
> > Subject: Re: Ports on Macbook
> > 
> >> Sean Cavanaugh said the following on 2009-02-28 16:25:
> >>> -
> >>> From: "Bernt Hansson" 
> >>> Sent: Saturday, February 28, 2009 9:32 AM
> >>> To: "FBSD UG" 
> >>> Cc: "freebsd-questions" 
> >>> Subject: Re: Ports on Macbook
> >>
> > 
> 
> > read the license.
> > 
> > "PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY BEFORE 
> > USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY 
> > THE TERMS OF THIS LICENSE."
> 
> NO. I'm not in any way binded by that eula. Those kind of non agreements
> is not legaly binding in Sweden. I MUST SIGN AN AGREEMENT to be binded
> by it.
> 
> > http://www.apple.com/legal/sla/macosx.html 
> 
> They can write whatever they want. I'm not binded by it.
> 

Cool country... :)

___
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: who took my cd drive?

2009-03-03 Thread Paul B. Mahol
On 3/3/09, prad  wrote:
> On Mon, 2 Mar 2009 14:46:27 -0500
> Glen Barber  wrote:
>
>> Try the atapicam kernel module.
>>
> i pushed 6 to get loader prompt and there did
> boot atapicam
> but got
>
> elf32_loadfile: can't load module before kernel
>
> which i thought was weird since in the help boot it says if you don't
> load the module, it will boot it instead of the default. if i
> load atapicam
> then it just boots acpi.ko

Normal behaviour. You need to load kernel too.
lsmod is useful command to list loaded modules.

-- 
Paul
___
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: OT: what is the X11 equiv of /dev/null

2009-03-03 Thread cpghost
On Mon, Mar 02, 2009 at 06:42:26PM -0500, Aryeh M. Friedman wrote:
>  I was thinking is there someway to direct a X11 app to target the 
>  X11 equiv of /dev/null ?
>
> Not quite what I want is to have it so no graphic (non-virtual) output 
> is sent

How about setting up an X server on another machine (or another
console), and redirect the output of your X11 app to it by setting
DISPLAY accordingly? Something like:

  % env DISPLAY=mynullhost:10.0 myxapp
  % env DISPLAY=:1.0 myxapp

Or, if you start your app from within X and just want to hide its
windows, you could also try to configure your favorite window manager
to automatically hide all windows from a particular application (if
your wm allows it and if your X11 app tells its name in an X11 resource
(check out RESOURCES in X(7), and -xrm)).

-cpghost.

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


Re: local copy of handbook

2009-03-03 Thread Ricardo Jesus

Daniel Gerzo wrote:

Hello Jerry,


For more information see http://docsnap.sk.freebsd.org/ and possibly
the rsync manual page.



I was having a problem reaching that URL; however, I found that this
one: http://www.oook.cz/bsd/docsnap.html did seem to work. In any case,
I am unable to get the 'rsync' command to work. This is the output of
one such attempt.



~ $ sudo rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/
rsync: failed to connect to docsnap.sk.FreeBSD.org: Operation timed out
(60) rsync error: error in socket IO (code 10) at clientserver.c(124)
[receiver=3.0.5]



This has happened continually for the past few days. I am not sure if
it is a temporary problem or or permanent one.


The docsnap.sk.FreeBSD.org (as well as ftp.sk and cvsup.sk) server is
currently offline due to some problems after its update.

Unfortunately it's been a vacations period here and we were unable to get
personally to the box and fix it. However I have been told that the
issue should be resolved tommorrow, so I would recommend you to try
tommorrow or a bit later.

I tried to update my doc with DocSnap but it seems the is no docsnap 
rsync module in the server.


flumen# rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc
rsync: failed to connect to docsnap.sk.FreeBSD.org: Connection refused (61)
rsync error: error in socket IO (code 10) at clientserver.c(124) 
[receiver=3.0.5]

flumen# ping docsnap.sk.FreeBSD.org
PING sk.FreeBSD.org (81.89.56.57): 56 data bytes
64 bytes from 81.89.56.57: icmp_seq=0 ttl=243 time=67.247 ms
64 bytes from 81.89.56.57: icmp_seq=1 ttl=243 time=68.471 ms
64 bytes from 81.89.56.57: icmp_seq=2 ttl=243 time=68.076 ms
64 bytes from 81.89.56.57: icmp_seq=3 ttl=243 time=72.538 ms
64 bytes from 81.89.56.57: icmp_seq=4 ttl=243 time=67.705 ms
^C
--- sk.FreeBSD.org ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 67.247/68.807/72.538/1.909 ms
flumen# rsync docsnap.sk.FreeBSD.org
rsync: link_stat "/usr/ports/net/rsync/docsnap.sk.FreeBSD.org" failed: 
No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1040) [sender=3.0.5]


Any news regarding the server's availability?
___
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: Ports on Macbook

2009-03-03 Thread Matthias Apitz
El día Tuesday, March 03, 2009 a las 09:25:03AM +0100, FBSD UG escribió:

> 
> On 2 mrt 2009, at 20:22, Bernt Hansson wrote:
> 
> >FBSD UG skrev:
> >>
> >>You're not buying the software, you buy a license to use it on one
> >>Apple computer.
> >
> >Mostly semantics,  if I name my computer "APPLE" Then it's "legal" to
> >install. Crap, if I buy it I can install it on ANY computer. Does not
> >have to be a computer named "APPLE" it could be "IBM", "HP" or any  
> >other
> >brand or non brand.
> >
> >
> did you sign all Swedish laws then?
> 
> How is Apple going to prevent illegal copying?

Could you please chat this off-topic issues off-list? Thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Ports on Macbook

2009-03-03 Thread FBSD UG


On 2 mrt 2009, at 20:22, Bernt Hansson wrote:


FBSD UG skrev:


You're not buying the software, you buy a license to use it on one
Apple computer.


Mostly semantics,  if I name my computer "APPLE" Then it's "legal" to
install. Crap, if I buy it I can install it on ANY computer. Does not
have to be a computer named "APPLE" it could be "IBM", "HP" or any  
other

brand or non brand.



did you sign all Swedish laws then?

How is Apple going to prevent illegal copying?
___
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"