Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-questions Digest, Vol 305, Issue 12

1 view
Skip to first unread message

freebsd-ques...@freebsd.org

unread,
Apr 10, 2010, 8:00:25 AM4/10/10
to freebsd-...@freebsd.org
Send freebsd-questions mailing list submissions to
freebsd-...@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
freebsd-ques...@freebsd.org

You can reach the person managing the list at
freebsd-que...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

1. ACPI? problem with release 8.0 (Malcolm Kay)
2. Re: Kernel Config for NAT (Ian Smith)
3. Re: USB Powered Speakers (Chris Whitehouse)
4. Re: perl links (Anton Yuzhaninov)
5. Online school for FreeBSD (jt)
6. Re: perl links (Randal L. Schwartz)


----------------------------------------------------------------------

Message: 1
Date: Sat, 10 Apr 2010 17:22:43 +0930
From: Malcolm Kay <malco...@internode.on.net>
Subject: ACPI? problem with release 8.0
To: freebsd-...@freebsd.org
Message-ID: <201004101722.43...@internode.on.net>
Content-Type: text/plain; charset="us-ascii"

My machine had two SATA 300GB drives
(WDC WD3200KS-00PFB0 21.00M21) one carrying FreeBSD RELEASE-6.3
and the other RELEASE-7.0 all of which worked OK.

Recently added SATA 1TB (WDC WD10EADS-00P8B0 01.00A01) and
installed RELEASE 8.0 thereon. When I boot to RELEASE 8.0
I find after some time, few minutes to rather more minutes
the system just powers down without warning or any obvious cause.
It seems to mostly happen when the system is relatively quiet.

Suspecting the ACPI I added:
hint.acpi.0.disabled=1
to loader.conf.
I then found RELEASE 8.0 would not boot -- or at least
it was unable to mount root. I get a "mountroot>" prompt
but this seemed not to accept anything I could think of,
and "?" to list available targets yielded nothing. Rebooting and
overriding this with option 2 (enable ACPI) in the boot menu
took me back to a bootable but fragile system.

Changing the loader.conf entry to:
debug.acpi.disabled=all
had the same effect as the hint.acpi.0.disabled=1.

I then thought to be somewhat selective with debug.acpi.disabled
and intended to try:
debug.acpi.disabled=acad button cpu lid thermal timer video
only now as I write this I discover I actually entered:
debug.acpi.disabled=acadbutton cpu lid thermal timer video

Now the RELEASE-8.0 booted but remained fragile.

I've repaired this last entry and will proceed to try it.
Meanwhile I feel I am fumbling about in the dark without
sufficient (or any real) knowledge of the range of tasks
performed by ACPI.

Is my guess that I have an interaction problem between ACPI and
RELEASE-8.0 a reasonable one? Where can I go from here?

The system uses a Gigabyte GA-M55SLI-S4 mother board and the
prcessor is AMD Athlon(tm) 64 X2 Dual Core Processor 5600+

Please offer suggestions or comments.

Malcolm Kay


------------------------------

Message: 2
Date: Sat, 10 Apr 2010 19:07:18 +1000 (EST)
From: Ian Smith <smi...@nimnet.asn.au>
Subject: Re: Kernel Config for NAT
To: per...@pluto.rain.com
Cc: freebsd-...@freebsd.org
Message-ID: <2010041018...@sola.nimnet.asn.au>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 9 Apr 2010, per...@pluto.rain.com wrote:
> Ian Smith <smi...@nimnet.asn.au> wrote:
> > > > http://www.freebsd.org/doc/handbook/firewalls-ipfw.html
> > <rant>
> > This is absolutely the worst section of an otherwise great
> > handbook ... Nothing short of a rewrite from scratch could
> > fix it ...
>
> As always, I'm sure a patch -- to provide that rewrite --
> would be welcome.

You're quite right, of course. It's a huge job, and I'm not sure I can
do it; just picked up the latest chapter.sgml for another look. I know
I should STFU or fix it, but I can't help at least warning people who,
unless they're at least familiar with ipfw(8), are going to be either
put off or - in my view - misled or confused.

I'll see if I can't come up with at least some updates and corrections.

Thanks for the kick :)

cheers, Ian


------------------------------

Message: 3
Date: Sat, 10 Apr 2010 11:19:34 +0100
From: Chris Whitehouse <cwh...@onetel.com>
Subject: Re: USB Powered Speakers
To: Programmer In Training <p...@joseph-a-nagy-jr.us>
Cc: freebsd-...@freebsd.org
Message-ID: <4BC050B6...@onetel.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Programmer In Training wrote:
> On 04/09/10 18:31, Chris Whitehouse wrote:
> <snip>
>> Unless you insist on an operating system solution what you are really
>> after is a 5 volt supply. What about buying a mains USB charger of the
>> right capacity, or if you are handy with bits of wire have a look
>
> I wouldn't know where to look for one.

Google mains USB charger :)

>
>> through all those old power supplies for a 5 volt one?

Most households build up a store of old power supplies from defunct or
lost equipment.

Or even use the 5
>> volt supply from inside your computer (if it is a desktop not laptop)
>>
>> Chris
>
> It is a desktop. There is a 5V supply in there?!
>
http://en.wikipedia.org/wiki/Power_supply_unit_%28computer%29#Connectors

Only go this way if you know what you are doing...

Chris


------------------------------

Message: 4
Date: Sat, 10 Apr 2010 10:34:26 +0000 (UTC)
From: Anton Yuzhaninov <cit...@citrin.ru>
Subject: Re: perl links
To: freebsd-...@freebsd.org
Message-ID: <hppk7i$1vf$1...@dough.gmane.org>

On Sat, 10 Apr 2010 07:14:48 +0800, Aiza wrote:
A> When installing perl i see 2 links between /usr/local/bin and /usr/bin.
A> Is this still required or is it something left over from when perl was
A> part of the base system?
A>
A> symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl
A> symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl5

most perl scripts begins with

#!/usr/bin/perl

this is common convention (also outside *BSD world)

--
WBR,
Anton Yuzhaninov

------------------------------

Message: 5
Date: Fri, 09 Apr 2010 21:34:59 -0800
From: jt <jt...@gci.net>
Subject: Online school for FreeBSD
To: freebsd-...@freebsd.org
Message-ID: <C9A04AC2674D444FA6F50F281129733E@jt101>
Content-Type: text/plain; charset=iso-8859-1

I've been doing searches for online schools that teach FreeBSD. I've been trying to learn on an off for years but when it starts getting complicated, I get stuck. The handbook don't do allot of good.

My goal is simply this. I want to open a small business, A server, To lease out web space, domains, etc etc. I want to start small and possibly expand to a rack of servers and so on.

I've been searching all say and cannot find ANY online schools that teach FreeBSD. From what I understand, FreeBSD is the best for security and control. I'll be leasing out shell space too so I need security like sh3lls.net. A company like that is eventually what Id like to accomplish. But I need to know the ground up. I don't want to trust an employee with root access to my server.

I remember seeing a book out there specific to what I'm trying to do.

Anyway, I hope you can hook me up with a school. Or the proper books anyway. FreeBSD for dummies or something.

You guys do excellent work. I hope not only to learn but someday contribute back to the freebsd community.

Thanks for you're time.


------------------------------

Message: 6
Date: Sat, 10 Apr 2010 04:27:35 -0700
From: mer...@stonehenge.com (Randal L. Schwartz)
Subject: Re: perl links
To: Anton Yuzhaninov <cit...@citrin.ru>
Cc: freebsd-...@freebsd.org
Message-ID: <86zl1bt...@red.stonehenge.com>
Content-Type: text/plain; charset=us-ascii

>>>>> "Anton" == Anton Yuzhaninov <cit...@citrin.ru> writes:


Anton> most perl scripts begins with

Anton> #!/usr/bin/perl

Anton> this is common convention (also outside *BSD world)

In fact, it's the recommendation from the original Camel book in 1990
(which I wrote, but the kids forget that :) that no matter where you
install Perl, you always link/symlink /usr/bin/perl so that scripts can
safely use shebang.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


------------------------------


End of freebsd-questions Digest, Vol 305, Issue 12
**************************************************

0 new messages