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

freebsd-questions Digest, Vol 306, Issue 3

4 views
Skip to first unread message

freebsd-ques...@freebsd.org

unread,
Apr 12, 2010, 10:58:34 PM4/12/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. Re: Online school for FreeBSD (Robert Huff)
2. LSI SAS 9211-8i (Derek Buttineau)
3. Re: IPFW and separate data files. (Steve Bertrand)
4. Promise TX4302 eSATA card doesn't play with a Quantum DLT-v4
tape drive (Kirk Strauser)
5. What`s mistake in MYKERNEL? (oleg)
6. Re: What`s mistake in MYKERNEL? (Rolf Nielsen)
7. Debugging RLIMITs signals: SIGXFSZ and SIGXCPU
(Brian A. Seklecki (CFI NOC))
8. Re: What`s mistake in MYKERNEL? (Rolf Nielsen)
9. Re: Promise TX4302 eSATA card doesn't play with a Quantum
DLT-v4 tape drive (Kirk Strauser)
10. Re: are the are C [or C++] src sites .... (Alejandro Imass)
11. Re: linux-pango update fails (ill...@gmail.com)
12. Re: Promise TX4302 eSATA card doesn't play with a Quantum
DLT-v4 tape drive (Kirk Strauser)
13. Re: ACPI? problem with release 8.0 (Ian Smith)
14. Does FreeBSD can run as dom0 XEN? (Eugen Konkov)
15. Re: RootBSD? (Brodey Dover)
16. what does "boot in safe mode" enable / disable? (Henrik Hudson)
17. Re: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0? (cassetti77)
18. Re: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0?
(Adam Vande More)
19. Re: linux-pango update fails (Chad Perrin)
20. Build error with mplayer (Neil Short)
21. Re: Build error with mplayer (Charlie Kester)
22. Re: are the are C [or C++] src sites .... (Gary Kline)
23. Does small bsd cd exsit? (???)


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

Message: 1
Date: Mon, 12 Apr 2010 08:02:04 -0400
From: Robert Huff <rober...@rcn.com>
Subject: Re: Online school for FreeBSD
To: herbert langhans <herbert...@gmx.net>
Cc: jt <jt...@gci.net>, freebsd-...@freebsd.org
Message-ID: <19395.3004.2...@jerusalem.litteratus.org>
Content-Type: text/plain; charset=us-ascii


herbert langhans writes:

> I sign here too - Lucas' Absolute FreeBSD covers practically all
> the aspects when you new to Unix. Its a good choice. A seperate
> computer for trying out and break'n'reinstall is also a good idea
> for a start.
>
> Its like learning a foreign language. At the beginning you may
> wonder how anybody can ever understand this mumbo jumbo. Then you
> will get an idea of it and go into an experimental stage where
> many things go wrong. And after some years you wonder that there
> was a time before where you could not understand such an obvious,
> logical concept.

For UNIX novices willing to read, I strongly recomment _UNIX
System Administration Handbook_
(http://www.amazon.com/UNIX-System-Administration-Handbook-3rd/dp/0130206016/ref=sr_1_1?ie=UTF8&s=books&qid=1271073058&sr=1-1).
My version, now out of date, covers Solaris, HP-UX, Red Hat, and
FreeBSD. It's very readable, and while it doesn't cover
everything it teaches enough (including some "how" and "why" to be
able to figure things out from the man pages or third-party
documentation.


Robert Huff

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

Message: 2
Date: Mon, 12 Apr 2010 08:27:39 -0400
From: Derek Buttineau <de...@csolve.net>
Subject: LSI SAS 9211-8i
To: freebsd-...@freebsd.org
Message-ID: <36322934-DF82-4702...@csolve.net>
Content-Type: text/plain; charset=us-ascii

We're looking at replacing the HP Raid controller in a HP DL380 G5 with a controller that supports JBOD for utilizing ZFS. We're currently trialling this controller, an HP LSI board (https://h10057.www1.hp.com/ecomcat/hpcatalog/specs/provisioner/05/347786-B21.htm), but we're finding that it has some issues with the mpt driver, namely:

Driver doesn't seem to realize when a drive has been pulled, instead mptutil shows that the drive is still there but only 512B in size.
Driver also doesn't seem to realize when a drive has been reinserted

Both of those seem to end up leading to corruption in the zpool.

Another weird thing with that card, is that if a drive is pulled and the card reinitialized (for example rebooting), the order of the drives shift (i.e. if you pull da2, da3 becomes da2, da4 becomes da3, etc), which again causes problems with the zpool.

Anyway, the LSI SAS 9211-8i looks like a nice card, but am having difficulties determining if it'll be supported by the mpt driver. Does anyone know if it'll work, or does anyone have any suggestions for a good JBOD controller for ZFS and hotswap?

Thanks.

--
Regards,

Derek Buttineau
Internet Systems Developer
Compu-SOLVE Internet Services
Compu-SOLVE Technologies, Inc

Phone: 705-725-1212 x255
E-Mail: de...@csolve.net

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

Message: 3
Date: Mon, 12 Apr 2010 10:04:48 -0400
From: Steve Bertrand <st...@ibctech.ca>
Subject: Re: IPFW and separate data files.
To: freebsd-...@freebsd.org
Cc: Jerry <freebs...@seibercom.net>
Message-ID: <4BC32880...@ibctech.ca>
Content-Type: text/plain; charset=ISO-8859-1

On 2010.04.11 11:57, Jerry wrote:
> I am using IPFW on a FreeBSD-7.3 machine. Presently, I am loading
> several tables for IPFW. So far, I have just keep the data for the
> tables in the actual "ipfw-rules" referenced in the 'rc.conf' file
> itself. What I would like to do is keep the data for these tables in
> separate files and just have them imported when the firewall is loaded.
> I have constructed a simple script that is called from the 'ipfw-rules'
> file.
>
> My question is if there is a better way of accomplishing this? Is there
> a downside to doing this way? The data for these tables tends to be
> dynamic and I would rather work with the separate files than edit the
> master one and risk messing it up.

I have a setup that is very similar to this. I 'include' the other files
from the one referenced in /etc/rc.conf by adding lines like this:

. /etc/ipfw.include

Steve


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

Message: 4
Date: Mon, 12 Apr 2010 09:56:40 -0500
From: Kirk Strauser <ki...@strauser.com>
Subject: Promise TX4302 eSATA card doesn't play with a Quantum DLT-v4
tape drive
To: FreeBSD Mailing List <freebsd-...@FreeBSD.ORG>
Message-ID: <4BC334A8...@strauser.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I have a FreeBSD 8 server with a Quantum DLT-v4 tape drive. I'd been
using it over USB but want to switch to eSATA for various reasons.
Here's the dmesg entry for the drive when connected via USB:

sa0 at umass-sim0 bus 0 scbus0 target 0 lun 0
sa0: <QUANTUM DLT-V4 0A00> Removable Sequential Access SCSI-2 device
sa0: 40.000MB/s transfers

Here are snippets of dmesg when connecting the drive via the new Promise
TX4302 card I just installed:

atapci0: <Promise PDC40718 SATA300 controller> port
0xdc80-0xdcff,0xd800-0xd8ff mem
0xdfbff000-0xdfbfffff,0xdfbc0000-0xdfbdffff irq 66 at device 7.0 on pci3
atapci0: [ITHREAD]
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
ata3: SIGNATURE: eb140101
ast0: FAILURE - MODE_SENSE timed out
ata3: SIGNATURE: eb140101
ast0: FAILURE - MODE_SENSE timed out
ata3: SIGNATURE: eb140101
ast0: FAILURE - MODE_SENSE timed out
ata3: SIGNATURE: eb140101
ast0: FAILURE - MODE_SENSE timed out
ata3: SIGNATURE: eb140101
ast0: FAILURE - MODE_SENSE timed out
device_attach: ast0 attach returned 6

...and then device ast0 never appears. Any idea how I can get these two
pieces of hardware to play nicely together?

--
Kirk Strauser

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

Message: 5
Date: Mon, 12 Apr 2010 19:24:12 +0400
From: "oleg" <sk...@aport.ru>
Subject: What`s mistake in MYKERNEL?
To: freebsd-...@freebsd.org
Message-ID: <web-8...@mail-be01.sovam.com>
Content-Type: text/plain; charset="utf-8"

Hi all users of Free BSD!

I am really hopeing that someone can assist me here.
Got some mistake in the course of assemblage kernel. Can`t
understand
myself, what`s wrong?
My system is:
FreeBSD 8.0-STABLE-201002 #0: Tue Feb 16 21:05:59 UTC 2010
That tree of src directory updated with csup successful.
Look the attached files.
Please, let me know, what mast i do?
Many thanks for the help.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg
Type: application/octet-stream
Size: 9917 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100412/4ddbb37f/dmesg-0001.obj
-------------- next part --------------

--------------------------------------------------------------
>>> stage 3.2: building everything
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/MYKERNEL; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64

.............

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror hints.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror vnode_if.c
:> hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=make sh /usr/src/sys/conf/newvers.sh MYKERNEL
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387
-mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror vers.c
linking kernel.debug
*** Error code 1

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MYKERNEL
Type: application/octet-stream
Size: 13517 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100412/4ddbb37f/MYKERNEL-0001.obj

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

Message: 6
Date: Mon, 12 Apr 2010 17:57:56 +0200
From: Rolf Nielsen <listr...@lazlarlyricon.com>
Subject: Re: What`s mistake in MYKERNEL?
To: oleg <sk...@aport.ru>
Cc: freebsd-...@freebsd.org
Message-ID: <4BC34304...@lazlarlyricon.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 2010-04-12 17:24, oleg wrote:
> Hi all users of Free BSD!
>
> I am really hopeing that someone can assist me here.
> Got some mistake in the course of assemblage kernel. Can`t understand
> myself, what`s wrong?
> My system is:
> FreeBSD 8.0-STABLE-201002 #0: Tue Feb 16 21:05:59 UTC 2010
> That tree of src directory updated with csup successful.
> Look the attached files.
> Please, let me know, what mast i do?
> Many thanks for the help.
>
>
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"


PROCFS requires PSEUDOFS. Either uncomment PSEUDOFS or commernt out
PROCFS. Moreover, the option COMPAT_IA32 recently was renamed
COMPAT_FREEBSD32, but I'm not sure exactly when that happened. You might
want to try changing it.


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

Message: 7
Date: Mon, 12 Apr 2010 11:58:07 -0400
From: "Brian A. Seklecki (CFI NOC)" <sekl...@noc.cfi.pgh.pa.us>
Subject: Debugging RLIMITs signals: SIGXFSZ and SIGXCPU
To: freebsd-...@freebsd.org, netop...@collaborativefusion.com
Message-ID: <4BC3430F...@noc.cfi.pgh.pa.us>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

All:

I've got a process that is mysteriously receiving a SIGTERM (or other
signal. It's a RADIUS daemon; runs a non-Root (not privsep,
unfortunately). Identical hardware, identical code, identical
config on 6.3-PL is fine.

On 8, the daemon is logging receipt of a non-HUP signal and
exiting out.

Our best theory at the moment are changes in default RLIMITs
between RELENG_6and RELENG_8.

For example:
6.3:
open files (-n) 11095
8:
open files (-n) 3520

Either that, or a memory/file handler/other leak that only
manifests in RELENG_8.

Either way, I'd like to debug the kernel handling of RLIMITs.

The best I can find are references to:

/usr/src/sys/kern/kern_resource.c::lim_cb() to SIGXCPU for RLIMIT_CPU
/usr/src/sys/ufs/ffs/ffs_vnops.c::ffs_write() to SIGXFSZ or
... RLIMIT_FSIZE

Not sure about RLIMIT_RSS, RLIMIT_AS, RLIMIT_NOFILE or others.

Unfortunately, in the two places I see, the call 'psignal()' is
used in leui of 'killproc()' to pass those custom RLIMIT's
related signals and psignal() doesn't have any logging like
killproc().

It would be really nice if there could be some standardized
logging for RLIMIT* related resource exhaustion.

For example:
/usr/src/sys/vm/vm_pageout.c: killproc(bigproc, "out of swap space");


So my question are:

1) Anyone else interested in having this "feature" (RLIMIT
debugging, possibly a sysctl(3))?
2) Does anyone have any idea how other RLIMIT_ exhaustion is
handled? A lot of other checks in the code in
kernel_resource.c seems to 'return (error);' on resource
exhaustion.

Thanks, ~BAS


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

Message: 8
Date: Mon, 12 Apr 2010 18:05:04 +0200
From: Rolf Nielsen <listr...@lazlarlyricon.com>
Subject: Re: What`s mistake in MYKERNEL?
To: oleg <sk...@aport.ru>
Cc: freebsd-...@freebsd.org
Message-ID: <4BC344B0...@lazlarlyricon.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 2010-04-12 17:24, oleg wrote:
> Hi all users of Free BSD!
>
> I am really hopeing that someone can assist me here.
> Got some mistake in the course of assemblage kernel. Can`t understand
> myself, what`s wrong?
> My system is:
> FreeBSD 8.0-STABLE-201002 #0: Tue Feb 16 21:05:59 UTC 2010
> That tree of src directory updated with csup successful.
> Look the attached files.
> Please, let me know, what mast i do?
> Many thanks for the help.
>
>
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

You also need to uncomment ppbus, since it's required by all other
parallel port devices. And if you plan to run X, you should uncomment
pty as well, but that shouldn't cause linking of the kernel to fail.


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

Message: 9
Date: Mon, 12 Apr 2010 11:29:20 -0500
From: Kirk Strauser <ki...@strauser.com>
Subject: Re: Promise TX4302 eSATA card doesn't play with a Quantum
DLT-v4 tape drive
To: Mark <red...@sbcglobal.net>
Cc: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID: <4BC34A60...@strauser.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 04/12/10 10:50, Mark wrote:
> Would you need to load atapicam into the kernel??
>
>

That doesn't seem to change things. I'll try again later today by
rebooting with atapicam_load="YES" in /boot/loader.conf just for giggles.
--

Kirk Strauser

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

Message: 10
Date: Mon, 12 Apr 2010 12:34:32 -0400
From: Alejandro Imass <a...@p2ee.org>
Subject: Re: are the are C [or C++] src sites ....
To: Gary Kline <kl...@thought.org>
Cc: FreeBSD Mailing List <freebsd-...@freebsd.org>
Message-ID:
<l2ua14066a01004120934yb...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Apr 10, 2010 at 11:19 AM, Gary Kline <kl...@thought.org> wrote:
>
>        Sites of parts of websites that have example C functions?
>        [continuing from the ^Subject.
>
>        I have googled around and found practically nothing; yet, wen
>        I was looking for a math function I found at least two
>        places.
>
>        Rather than re-inventing the wheel over and again, wouldn't
>        it be nice to have a library of all kinds of functions?
>        --For kernel use, yes, they would need to be BSD specific...
>
>        ideas?
>

When you install a lib in FBSD (and many other FLOSS OSs) it usually
installs a man page, so apropos and of course man will have it: man
sprintf, so the detailed information is usually there...

The tricky part is having like a table of contents of some sort
especially at the library level which is what _I think_ you are
referring to. For example, to answer the question ¿what library should
I use for X or Y need? . If you use Perl, you have the cpan search
engine (and others) wher you go llook for libs. For C it is many times
not tha obvious, nor is there a single repository of libraries for C
as there is for say Perl.

I find your question very interesting but sadly I have no direct
answer myself. I think is more of "a topic" thing in C. For example if
you are making a driver, you will usually be involved in mailing lists
related to that, and people will share X or Y lib secrets with you.
You will also hack someone else's code and look at the libs they are
using, and most importangly you will have books and other stuff that
will point to the use of those libs. Now whether there is a directory
of C libraries around, I don't think so, but if you find one, _please_
share it ;)

Best,
Alejandro Imass

>        gary
>
>        PS:  As if it weren't obvious, no i haven't had my morning
>        jolt of java yet....
>
>
> --
>  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
>        http://jottings.thought.org   http://transfinite.thought.org
>    The 7.79a release of Jottings: http://jottings.thought.org/index.php
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"
>


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

Message: 11
Date: Mon, 12 Apr 2010 13:38:41 -0400
From: "ill...@gmail.com" <ill...@gmail.com>
Subject: Re: linux-pango update fails
To: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID:
<s2kd7195cff1004121038xf...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On 11 April 2010 13:35, Chad Perrin <per...@apotheon.com> wrote:
> I'm having an issue with a linux-pango update on a FreeBSD 7.2 system:
>
>    --->  Upgrading 'linux-pango-1.10.2_3' to 'linux-pango-1.10.2_4'
>    (x11-toolkits/linux-pango)
>    --->  Building '/usr/ports/x11-toolkits/linux-pango'
>    ===>  Cleaning for linux-pango-1.10.2_4
>    ** Command failed [exit code 1]: /usr/bin/script -qa
>    /tmp/portupgrade20100411-69066-1498jpj-0 env UPGRADE_TOOL=portupgrade
>    UPGRADE_PORT=linux-pango-1.10.2_3 UPGRADE_PORT_VER=1.10.2_3 make
>    ** Fix the problem and try again.
>    ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>            ! x11-toolkits/linux-pango (linux-pango-1.10.2_3)
>    (unknown build error)
>
> A Google search for information from the above hasn't proven fruitful.
> Any ideas how I could narrow down the exact problem and work out a
> solution would be appreciated.
>

>From your output it looks to be failing on the "make clean"
stage, which is really weird. Maybe your upgrade tool is
unexpectedly barfing.

Also, have you tried manually removing the work/ directory
or running "make clean" from the port directory?

--
--


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

Message: 12
Date: Mon, 12 Apr 2010 12:53:53 -0500
From: Kirk Strauser <ki...@strauser.com>
Subject: Re: Promise TX4302 eSATA card doesn't play with a Quantum
DLT-v4 tape drive
To: Mark <red...@sbcglobal.net>
Cc: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID: <4BC35E31...@strauser.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 04/12/10 11:50, Mark wrote:
> I have the promise controller, I got it to add dvd burners to the system, but it will not work with the dvd drives. The promise site says the card is atapi compliant but it did not work that way for me. I had to move hard drives to the promise and add the dvd burners to the on board esata. YMMV
>

Good grief. Thanks for the information.

--
Kirk Strauser


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

Message: 13
Date: Tue, 13 Apr 2010 04:33:55 +1000 (EST)
From: Ian Smith <smi...@nimnet.asn.au>
Subject: Re: ACPI? problem with release 8.0
To: Malcolm Kay <malco...@internode.on.net>
Cc: freebsd-...@freebsd.org
Message-ID: <2010041303...@sola.nimnet.asn.au>
Content-Type: TEXT/PLAIN; charset=US-ASCII

In freebsd-questions Digest, Vol 306, Issue 1, Message: 18
On Mon, 12 Apr 2010 15:31:33 +0930 Malcolm Kay <malco...@internode.on.net> wrote:

> I desperately need to make some progress on this issue.

Then I suggest taking it to freebsd-acpi@ without passing go .. maybe
with a bit more data to hand, as outlined in the ACPI debugging section
of the handbook.

> Is it likely that the issue is real rather than hardware
> or disk corruption? Earlier releases are operating OK on the same
> machine.

Sounds like a real issue, but I don't know the hardware. Does it have
the latest available BIOS update? If not, that's step one. Will it
stay up long enough to get a verbose dmesg off it? Do you have a
verbose dmesg from an earlier working release for comparison?

> I have now confirmed that:
> debug.acpi.disabled=acad button cpu lid thermal timer video
> still leaves the system crashing and powering down when idle for
> a while. And the more extensive:
> debug.acpi.disabled=acad bus children button cmbat cpu ec isa
> lid pci pci_link sysresource thermal timer video
> does the same.
>
> I don't really need power management but with acpi disabled the
> disks are not visible to the system.

ACPI needs to work on modern hardware, no question.

> Are there sysctl variables that can influence this behaviour?
> Currently I believe we have:
>
> hw.acpi.supported_sleep_state: S1 S4 S5
> hw.acpi.power_button_state: S5
> hw.acpi.sleep_button_state: S1
> hw.acpi.lid_switch_state: NONE
> hw.acpi.standby_state: S1
> hw.acpi.suspend_state: NONE
> hw.acpi.sleep_delay: 1
> hw.acpi.s4bios: 0
> hw.acpi.verbose: 0

May help to set hw.acpi.verbose=1 in /boot/loader.conf while debugging;
especially useful after verbose boot for detail in dmesg and messages.

> hw.acpi.disable_on_reboot: 0
> hw.acpi.handle_reboot: 0
> hw.acpi.reset_video: 0
> hw.acpi.cpu.cx_lowest: C1

Is that with acpi.thermal disabled? If so, showing hw.acpi and
debug.acpi with everything enabled might provide more clues.

> machdep.idle: amdc1e
> machdep.idle_available: spin, amdc1e, hlt, acpi,
>
> However on the earlier RELEASEs that work I note we do not have
> machdep.idle or machdep.idle_available. Instead I find:
> machdep.cpu_idle_hlt: 1
> machdep.hlt_cpus: 0
>
> Although I've not been able to relate this directly to my problem
> from Googling it seems that there some issues with amdc1e under
> BSD, Linux and perhaps Windows. But all the references seem to
> amd c1e are related to systems in 64 bit mode while I am running
> (or trying to run) i386 so I wonder why I have:
> machdep.idle: amdc1e
>
> Maybe my problem is not acpi as such but this idle mode.

Could well be. Someone on acpi@ will know about amdc1e, I don't,
but any BIOS setting re C1E could be relevant to this.

> My thought is to change this to
> machdep.idle: hlt
> or even
> machdep.idle: acpi

Maybe try setting it to acpi first (without any disabled parts) and try?
Can't do any worse than crash the same?

> Any comments or ideas please!
>
> Thank you for your attention.
>
> Malcolm Kay
>
> On Sat, 10 Apr 2010 05:22 pm, Malcolm Kay wrote:
> > 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.

Adam's suggestion to check that esp. CPU temperature is within spec is
worth checking; if you don't have any thermal zones in your ACPI I'd be
surprised, and maybe concerned. A finger on the heatsink is next best.

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

As it should.

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

The last para may hold the primary keys to the solution set ..

cheers, Ian


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

Message: 14
Date: Sun, 11 Apr 2010 13:18:25 +0300
From: Eugen Konkov <kes...@yandex.ru>
Subject: Does FreeBSD can run as dom0 XEN?
To: freebsd-...@freebsd.org
Message-ID: <211614971.20...@yandex.ru>
Content-Type: text/plain; charset=windows-1251

Hi, all

Does FreeBSD 9-CURRENT can run as dom0 XEN?


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

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

Message: 15
Date: Mon, 12 Apr 2010 16:02:19 -0400
From: Brodey Dover <dove...@gmail.com>
Subject: Re: RootBSD?
To: Garance A Drosehn <g...@freebsd.org>
Cc: Tom Ierna <t...@shockergroup.com>, freebsd-questions
<freebsd-...@freebsd.org>
Message-ID:
<g2j283c23cd1004121302v5...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

I haven't any experience with rootbsd.net but my friend and I have
dealt with ServerNorth based in Canada if you're interested.

On Fri, Apr 9, 2010 at 2:34 PM, Garance A Drosehn <g...@freebsd.org> wrote:
> At 9:04 AM -0400 4/6/10, Tom Ierna wrote:
>>
>> Hi,
>>
>> Anyone have any experience with RootBSD.net?
>>
>> I'm looking to move an office-hosted machine's services to the cloud, and
>> they seem to be one of the only VPS companies centered around BSD support
>> instead of Linux.
>
> I've been using them for a few years now.  What I have with them is a system
> which is meant to be used as a "hot backup" for a system which is here in my
> office.  So, the main things I wanted was (1) real freebsd systems, (2)
> which were someplace far away from Troy NY.  I wanted to be pretty sure that
> any problem which took out my main system would NOT take out my "hot backup"
> system!
>
> I've had absolutely no trouble with them.  The few times that I've had to
> contact them, they've been happy to provide whatever help I needed.  On the
> other hand, my main system has been working fine for almost three years now,
> so this backup system that I have at rootbsd.net has not seen much activity.
>  I just rsync the main system to the backup system once a day, and then
> every few months I upgrade the FreeBSD that I'm running on the system at
> rootbsd.net.
>
> --
> Garance Alistair Drosehn     =               dro...@rpi.edu
> Senior Systems Programmer               or   g...@FreeBSD.org
> Rensselaer Polytechnic Institute;             Troy, NY;  USA
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"
>


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

Message: 16
Date: Mon, 12 Apr 2010 15:11:04 -0800
From: Henrik Hudson <li...@rhavenn.net>
Subject: what does "boot in safe mode" enable / disable?
To: freebsd-...@freebsd.org
Message-ID: <2010041223...@alucard.int.rhavenn.net>
Content-Type: text/plain; charset=us-ascii

I emailed a few days back, to -stable, about having issues running 8-STABLE in a
Xen environment. I solved this, sort of. However, I didn't get any
bites over there.

I have a XEN HVM environment and it was given to me running 8-REL-p2
and it was working fine. I moved up to -STABLE and GENERIC wouldn't
boot. After some fiddling, etc.. I tried booting it in "safe mode"
and viola it boots fine.

The system doesn't show any errors it just stops on "trying to mount
disk: /dev/xxxx". Enabling "logging mode" doesn't show any
difference between the stable kernel and the rel kernel when
booting.

So, I'm guessing there was some sort of regression, but I'm trying
to isolate this. What does "booting in safe mode" enable / disable
that would allow the system to boot successfully?

Thanks.

Henrik
--
Henrik Hudson
li...@rhavenn.net
-----------------------------------------
"God, root, what is difference?" Pitr; UF

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

Message: 17
Date: Mon, 12 Apr 2010 16:30:35 -0700 (PDT)
From: cassetti77 <adrian...@gmail.com>
Subject: Re: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0?
To: freebsd-...@freebsd.org
Message-ID: <282192...@talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


Stacey Roberts wrote:
>
> Hello Oliver,
> Thanks for the response.
>
> On Sat, 10 Apr 2010 20:35:27 +0200
> "O.Herold" <oli...@akephalos.de> wrote:
>
>> Am Sat, 10 Apr 2010 19:22:46 +0100
>> schrieb S Roberts <sta...@vickiandstacey.com>:
>>
>> > Hello,
>> > The wireless nic on my laptop is the Intel WiFi Link 5100AGN.
>> > Is this card supported in FreeBSD as present?
>> >
>> > I checked the FreeBSD 8.0-RELEASE Hardware Notes (at
>> > http://www.freebsd.org/releases/8.0R/hardware.html#WLAN), and I
>> > don't see the Intel WiFi Link 5100AGN actually listed.
>> >
>> > Looking at the online manpage for iwn, it is actually titled "Intel
>> > Wireless WiFi Link 4965AGN IEEE 802.11n driver", but then again, I
>> > also noted that that manpage is timestamped April 13, 2008 and is
>> > tagged for FreeBSD-7.2.
>> >
>> > I'd some help, please.
>> >
>> > Thanks.
>> >
>> > Regards,
>> >
>> > S Roberts
>> >
>> > _______________________________________________
>> > freebsd-...@freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
>> > To unsubscribe, send any mail to
>> > "freebsd-hardwa...@freebsd.org"
>>
>>
>> You have to use 8-stable, then you get support for this kind of
>> adapter.
>>
>
> Understood - install 8-REL, the cvsup to 8-Stable.
>
> Thanks again.
>
> Regards,
>
> S Roberts
>
>> Cheers, Oliver
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questi...@freebsd.org"
>
>
Excuse me. I have a sony vaio vgn-nw21mf too. I read your conversation, but
i have not undertand what i do to configure my intel wifi 5100 agn. I don't
know nothing about MFCED (google do not help me in that case ) . I download
the Freebsd 8-release and i don't know to download a 8-stable. Can you
please say me what i do ? Thank you in every case .... and sorry for my
english!!
Best Regards
adriano

--
View this message in context: http://old.nabble.com/Intel-WiFi-Link-5100AGN-Supported-on-FreeBSD-8.0--tp28203916p28219200.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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

Message: 18
Date: Mon, 12 Apr 2010 18:44:49 -0500
From: Adam Vande More <amvan...@gmail.com>
Subject: Re: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0?
To: cassetti77 <adrian...@gmail.com>
Cc: freebsd-...@freebsd.org
Message-ID:
<k2n6201873e1004121644yc...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Apr 12, 2010 at 6:30 PM, cassetti77 <adrian...@gmail.com> wrote:

>
> Excuse me. I have a sony vaio vgn-nw21mf too. I read your conversation, but
> i have not undertand what i do to configure my intel wifi 5100 agn. I don't
> know nothing about MFCED (google do not help me in that case ) .


For FreeBSD, it means merged from current. Google will help you with that.
You may also want to use www.google.com/bsd


> I download
> the Freebsd 8-release and i don't know to download a 8-stable. Can you
> please say me what i do ? Thank you in every case .... and sorry for my
> english!!
>

You would need to update your system from the release branch to the stable
branch. Basically you need to cvsup sources from STABLE, build world and
kernel then install them. That part is covered well in the handbook.

--
Adam Vande More


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

Message: 19
Date: Mon, 12 Apr 2010 17:37:06 -0600
From: Chad Perrin <per...@apotheon.com>
Subject: Re: linux-pango update fails
To: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID: <2010041223...@guilt.hydra>
Content-Type: text/plain; charset="us-ascii"

On Mon, Apr 12, 2010 at 01:38:41PM -0400, ill...@gmail.com wrote:
>
> >From your output it looks to be failing on the "make clean"
> stage, which is really weird. Maybe your upgrade tool is
> unexpectedly barfing.
>
> Also, have you tried manually removing the work/ directory
> or running "make clean" from the port directory?

Actually, it turns out it was failing on the "deciding to install" stage.
I had thought the update in linux-pango version was a fix for the
longstanding security issue with 1.10.2_3, and I'd thus have a security
patched version, but it turns out that 1.10.2_4 has security issues as
well and that's why it didn't want to install.

I'm pretty severely disappointed in the state of linux-pango security on
FreeBSD right about now.

--
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100413/d63076a5/attachment-0001.pgp

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

Message: 20
Date: Mon, 12 Apr 2010 17:50:58 -0700 (PDT)
From: Neil Short <nes...@yahoo.com>
Subject: Build error with mplayer
To: freebsd-...@freebsd.org, ri...@rrr.de
Message-ID: <907729....@web56502.mail.re3.yahoo.com>
Content-Type: text/plain; charset=us-ascii

Am I missing something?

....
gmake -C stream
gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/MPlayer-1.0rc2/ stream'
cc -O2 -pipe -O3 -ffast-math -fomit-frame-pointer -fno-strict-aliasing -I./libav codec -I./libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-af ter-statement -I. -I. -I./libavutil -O2 -pipe -O3 -ffast-math -fomit-frame-point er -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE 64_SOURCE -DHAVE_CONFIG_H -I/usr/local/include/freetype2 -I.. -I../libavutil -I/ usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/lo
cal/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/ include -I/usr/local/include -I../libavcodec -I../libavformat -Wdisabled-optimiz ation -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -O 2 -pipe -O3 -ffast-math -fomit-frame-pointer -fno-strict-aliasing -D_LARGEFILE_ SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/local /include/freetype2 -I... -I.../libavutil -I/usr/local/include
-I/usr/local/inclu de -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/gtk 12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -c -o dvb_tune.o dvb_tune.c
dvb_tune.c:33:19: error: error.h: No such file or directory
gmake[1]: *** [dvb_tune.o] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer/work/MPlayer-1.0rc2/s tream'
gmake: *** [stream/stream.a] Error 2
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.
carmen#

======

"What did you do?" the man holding the flashlight asked.

"I put down a spider," he said, wondering why the man didn't see; in the beam of yellow light the spider bloated up larger than life. "So it could get away."



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

Message: 21
Date: Mon, 12 Apr 2010 18:58:37 -0700
From: Charlie Kester <cork...@comcast.net>
Subject: Re: Build error with mplayer
To: freebsd-...@freebsd.org
Message-ID: <20100413015...@comcast.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

On Mon 12 Apr 2010 at 17:50:58 PDT Neil Short wrote:
>Am I missing something?
>
>dvb_tune.c:33:19: error: error.h: No such file or directory

It's a known problem.
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145437


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

Message: 22
Date: Mon, 12 Apr 2010 19:05:04 -0700
From: Gary Kline <kl...@thought.org>
Subject: Re: are the are C [or C++] src sites ....
To: Alejandro Imass <a...@p2ee.org>
Cc: FreeBSD Mailing List <freebsd-...@freebsd.org>
Message-ID: <20100413020...@thought.org>
Content-Type: text/plain; charset=iso-8859-1

On Mon, Apr 12, 2010 at 12:34:32PM -0400, Alejandro Imass wrote:
> On Sat, Apr 10, 2010 at 11:19 AM, Gary Kline <kl...@thought.org> wrote:
> >

[[ ... ]]

>
> When you install a lib in FBSD (and many other FLOSS OSs) it usually
> installs a man page, so apropos and of course man will have it: man
> sprintf, so the detailed information is usually there...
>
> The tricky part is having like a table of contents of some sort
> especially at the library level which is what _I think_ you are
> referring to. For example, to answer the question ¿what library should
> I use for X or Y need? . If you use Perl, you have the cpan search
> engine (and others) wher you go llook for libs. For C it is many times
> not tha obvious, nor is there a single repository of libraries for C
> as there is for say Perl.
>
> I find your question very interesting but sadly I have no direct
> answer myself. I think is more of "a topic" thing in C. For example if
> you are making a driver, you will usually be involved in mailing lists
> related to that, and people will share X or Y lib secrets with you.
> You will also hack someone else's code and look at the libs they are
> using, and most importangly you will have books and other stuff that
> will point to the use of those libs. Now whether there is a directory
> of C libraries around, I don't think so, but if you find one, _please_
> share it ;)
>
> Best,
> Alejandro Imass
>

I will, of course, share any info i find if it looks useful.
Most of my hacking-type work these days involves messing with
textfiles, and that may be of little interest since it is not
FBSD specific.

I'm still chasing after some sort of 'user-side' program that
will let people use cheap keyboards and produce a nice THUNK.
That said, I did try out one of the small 8.9" notebooks.
The keyboard 'feel' wasn't that bad. [Still, I didn't press
hard enough on several keys. Having audio would have been a
great help.]

Okay; enough. thanks to everybody; really appreciate the
feedback!

gary

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

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

Message: 23
Date: Tue, 13 Apr 2010 09:41:10 +0800
From: ??? <dshbu...@gmail.com>
Subject: Does small bsd cd exsit?
To: freebsd-...@freebsd.org
Message-ID:
<v2nb69a72a1004121841xd...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello, everyone,
I want to try a bsd distribution. However, after downloading the PC-bsd
(DVD, over 3GB) from the web through all night, my download tool gave me an
error signal... Then I found it may too much big to some extent. Does a
small one exsit, with a full GUI destop? I want use it on my laptop.

Thanks!


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


End of freebsd-questions Digest, Vol 306, Issue 3
*************************************************

0 new messages