A success story, of sorts

2002-10-28 Thread Garrett Wollman
Last week I decided to blow away my newer laptop's ancient 4.3
installation (well, actually, Lose XP decided to do it for me, but
that's another story).  I had just gotten my complimentary developer's
CD set from FreeBSDmall.com (thanks, guys!) and decided to reinstall
everything from scratch.

So after I finished fighting with Windows eXtreme Punishment, I stick
the 4.7 install CD and reboot.  Windows loads again.  I spend the next
hour playing all sorts of games with the BIOS, and so far as I can
tell it just absolutely refuses to load the 4.7 CD.  (Windows
installed from CD just fine.)  I borrow a Debian 3.0 CD from a
cow-orker, and it gets a little bit further, but crashes before
loading the kernel.  Finally, I give up in despair and make boot
floppies.  Works perfectly.

I do as minimal an installation as I possibly can, and immediately
cvsup to -current.  Buildworld runs perfectly; installworld drops dead
pretty quickly, as I hadn't yet rebooted with the new kernel.  Having
done that, everything goes smoothly.

Every reboot, ACPI prints some odd messages on my console:

pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 initial configuration 
\\_SB_.LNKA irq  11: [  5  6  7 10 11 12] low,level,sharable 0.11.0
\\_SB_.LNKB irq  11: [  5  6  7 10 11 12] low,level,sharable 0.11.1
\\_SB_.LNKC irq  11: [  5  6  7 10 11 12] low,level,sharable 0.9.0
\\_SB_.LNKE irq   3: [  3  4] low,level,sharable 0.7.0
\\_SB_.LNKD irq  11: [  5  6  7 10 11 12] low,level,sharable 0.13.0
\\_SB_.LNKD irq  11: [  5  6  7 10 11 12] low,level,sharable 0.12.0
\\_SB_.LNKD irq  11: [  5  6  7 10 11 12] low,level,sharable 0.5.3
\\_SB_.LNKD irq  11: [  5  6  7 10 11 12] low,level,sharable 0.15.0
\\_SB_.LNKA irq  11: [  5  6  7 10 11 12] low,level,sharable 0.16.0
 before setting priority for links 
 before fixup boot-disabled links -
 after fixup boot-disabled links --
 arbitrated configuration -
\\_SB_.LNKA irq  11: [  5  6  7 10 11 12] low,level,sharable 0.11.0
\\_SB_.LNKB irq  11: [  5  6  7 10 11 12] low,level,sharable 0.11.1
\\_SB_.LNKC irq  11: [  5  6  7 10 11 12] low,level,sharable 0.9.0
\\_SB_.LNKE irq   3: [  3  4] low,level,sharable 0.7.0
\\_SB_.LNKD irq  11: [  5  6  7 10 11 12] low,level,sharable 0.13.0
\\_SB_.LNKD irq  11: [  5  6  7 10 11 12] low,level,sharable 0.12.0
\\_SB_.LNKD irq  11: [  5  6  7 10 11 12] low,level,sharable 0.5.3
\\_SB_.LNKD irq  11: [  5  6  7 10 11 12] low,level,sharable 0.15.0
\\_SB_.LNKA irq  11: [  5  6  7 10 11 12] low,level,sharable 0.16.0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0xd000-0xdfff at device 
0.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
 initial configuration 
\\_SB_.LNKD irq  11: [  5  6  7 10 11 12] low,level,sharable 1.0.0
 before setting priority for links 
 before fixup boot-disabled links -
 after fixup boot-disabled links --
 arbitrated configuration -
\\_SB_.LNKD irq  11: [  5  6  7 10 11 12] low,level,sharable 1.0.0
pci1: ACPI PCI bus on pcib1

This looks to me like debugging information that probably should not
be printed by default.  The ASL and raw DSDT are available on request.

What else is there to mention

NEWCARD worked beautifully with my Enterasys RoamAbout card and with
my old standby 3C589D (which I use when I need a static address).  I
am noticing some surprising network hesitation on the 3Com when I send
large files to the laptop.  Now that I have working CardBus I should
try upgrading to a 32-bit network card.

After deleting the cvsup that I had originally installed and
installing an older (non-gui) version, I was able to build X from
scratch with no trouble.  Mozilla 1.2 also built without error.  KDE
was another story, but I didn't care to spend a lot of time debugging
huge C++ programs so I stopped bothering with it.  I also built
ImageMagick, which I need when downloading images from my digital
camera, and had no trouble other than the useless dependency that it
has on some library or other that I couldn't care less about and never
builds for me anyway.  I had to back the openssh-portable port off to
the previous version so that the Kerberos patches would apply.
(Perhaps this needs to be separated out into a separate port.)

All the commits I made this past weekend were build-tested on the
laptop (accessing it remotely from home), so from that perspective at
least the system seems pretty solid.

Disklabel is unhappy with GEOM, as others have already noted.  I don't
anticipate needing to redo the label any time soon, so I'm not
immediately concerned about this.

I have no clue how to interpret the output from `sysctl
hw.acpi.thermal'.

-GAWollman


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: A success story, of sorts

2002-10-28 Thread Peter Wemm
Garrett Wollman wrote:

 I have no clue how to interpret the output from `sysctl
 hw.acpi.thermal'.

peter@mobile[2:44pm]~-100 sysctl hw.acpi.thermal
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 30
hw.acpi.thermal.tz0.temperature: 3281
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3581
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3731
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1

The temperatures are in kelvin * 10.  ie: subtract 2731 to get degrees
celcius, then divide by 10.  In my case above: 3281 - 2731 = 550, or 55.0C.

There are two types of cooling.  active or passive.  In my case its passive -
ie: fully automatic.  _PSV is the nominal temperature that the fan starts
to kick in at, 85C in this case.  _CRT is the critical (you're about
to catch fire) alert temperature - 100C in my case.  I think _HOT is the
point that you should be worried, while _CRT = power down now or else!.

The various _AC0, _AC1 etc are for the active cooling system.  ie: the OS has
to monitor the temperature, and set the fan speed as it crosses the _AC*
levels.  There is another method that it calls to do this, and this is driven
by the kthread acpi_fan or acpi_thermal, I dont remember exactly.

.tz0. is thermal zone 0.  There may be more than one zone, especially in
larger servers.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: A success story, of sorts

2002-10-28 Thread Garrett Wollman
On Mon, 28 Oct 2002 14:51:31 -0800, Peter Wemm [EMAIL PROTECTED] said:

 The temperatures are in kelvin * 10.  ie: subtract 2731 to get degrees
 celcius, then divide by 10.  In my case above: 3281 - 2731 = 550, or 55.0C.

Cool.  I just wasted an hour hacking up xload to make it display
temperature (in dekadegrees Celsius) instead of load average.

-GAWollman


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message