Re: tcp hostcache and ip fastforward for review

2003-11-11 Thread Ken Menzel
Hi Andre,
   Your patch applies just fine for me now on Oct 10th current
sources.  Everything seems to be working fine on dual processor Dell
2500 with SMP kernel.  This is a network backup machine. I don't see
any problems,  just as fast as always and seems to be solid so far,
it has only been running a few hours.  I ran some network backups to
this server and ssh sessions out.

Thanks Ken
riker# sysctl -a net.inet.tcp.hostcache.list
net.inet.tcp.hostcache.list:
IP addressMTU  SSTRESH  RTT   RTTVAR BANDWIDTH CWND
SENDPIPE RECVPIPE HITS  UPD  EXP
209.123.219.10  00 14ms  9ms   1805600 6516
0043 3600
207.99.22.1900 17ms 13ms   109840065535
0043  600

- Original Message - 
From: "Andre Oppermann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, November 09, 2003 11:19 AM
Subject: tcp hostcache and ip fastforward for review


> Hello all,
>
> this patch contains three things (to be separated for committing):
>
>  tcp_hostcache
>
>   - removes protocol cloning from routing table (IPv4+6)
>   - removes rtentry pointer from inpcb and in6pcb


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: since 2 days apm / ACPI doesn't work and boot instabilities

2003-11-07 Thread Ken Menzel
Hi Andreas,
I bet acpi isn't even running. As of a few days ago acpi is disabled
as a loadable module due to some changes in progress.  Try adding
'device acpi' to your kernel.conf file and rebuild/reinstall the
kernel.

Ken
- Original Message - 
From: "Andreas Klemm" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 07, 2003 11:07 AM
Subject: since 2 days apm / ACPI doesn't work and boot instabilities


> Hi,
>
> wanted to let you know, that since yesterday ACPI on my
> Dell Latitude D600 doesn't work anymore.
>
> Does anybody have an idea what this breakage might have caused ?
>
> About a week ago I got apm/acpi working with an unoff patch from
this URL.
>
> http://sandcat.nl/~stijn/freebsd/dell.php
>
> I didn't changed anything in:
> /etc/rc.conf
> /boot/loader.conf
> and nothing in the kernel config file.
>
> I only did a "make world" as well as a new kernel and rebooted.
>
> Another thing is, that sometimes I can only boot 1 of 3 times
> without a kernel panic. This morning 2 or 3 consecutive panics,
> prior being able to boot my laptop.
>
> The problem with apm/acpi is since my last make world yesterday.
>
> The boot problems with many panics are longer ...
>
> But its always the same process, where it panics...
>
> In my next mail I'll attach a boot log.
>
> I could offer ssh access, if somebody would be willed trying to
> troubleshoot one or both of these problems.
>
> A comconsole would also be possible.
>
> BTW, -current on my Server is stable. Its only the laptop,
> where those panics happen.
>
>
> Andreas ///
>
> -- 
> Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
> Need a magic printfilter today ? -> http://www.apsfilter.org/
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: howto debug acpi_thermal on Dell 2500 servers

2003-10-10 Thread Ken Menzel
Thanks for the info.  I did try mbmon,   not the x version, but the
command line version.  It hung.  I have hunted for thermal details for
2500 servers on dell's web site but can not find anything that seems
to relate!  I was hoping that acpi was the answer.  Seems like the
it's a secret :( , I am not an expert in this area.  The acpi stuff
looks really cool.  Very easy to use in any program (I use nagios for
monitoring (see ports)).

If anyone knows a detail I don't about this I don't want to flood
current unless it's relevant (I think acpi is relevant to curent, but
general temp stuff would not be).  I will entertain any other ideas in
private messages, so please feel free to e-mail me privately.

Thanks!  Ken
- Original Message - 
From: "Sten" <[EMAIL PROTECTED]>
To: "Ken Menzel" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2003 1:48 PM
Subject: Re: howto debug acpi_thermal on Dell 2500 servers


> On Fri, 10 Oct 2003, Ken Menzel wrote:
>
> > Hi,
> >I am trying to figure out how to use ACPI to get thermal info
on
> > Dell 2500 servers.  I have compiled acpi into the kernel  (see
below
> > for problems with acpi as module with ACPI_DEBUG in make.conf).  I
> > can't seem to get any addtional info from acpi.   Do I need a
debug
> > kernel?  Do I have to have more options in my kernel config?  Is
> > someone already doing (done?) this and I shouldn't bother to try
and
> > debug it?
>
> I do know that on the dell 1550, temperature monitoring is done
> with an lm80, which didn't seem to want to play with smbus.
> (x)mbmon which opens /dev/io directly is able to get temperature
> readings. Might be worth a try.
>
> -- 
> Sten Spans
>
> There is a crack in everything that's how the light gets in.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


howto debug acpi_thermal on Dell 2500 servers

2003-10-10 Thread Ken Menzel
Hi,
   I am trying to figure out how to use ACPI to get thermal info on
Dell 2500 servers.  I have compiled acpi into the kernel  (see below
for problems with acpi as module with ACPI_DEBUG in make.conf).  I
can't seem to get any addtional info from acpi.   Do I need a debug
kernel?  Do I have to have more options in my kernel config?  Is
someone already doing (done?) this and I shouldn't bother to try and
debug it?

Thanks, Ken
I tried to include any relevant details that I saw in other messages
in the archives:

I seemed to get more info without ACPI_DEBUG on and the acpi as a KLD.
sidenote: kernel would not load the acpi.ko file if I made it with
ACPI_DEBUG=1 in make.conf. (See way below)

now I am using:
device  acpi
options ACPI_DEBUG

I tried adding OPTIONS ACPI_VERBOSE but it gives 'unknown option
"ACPI_VERBOSE" '

  My loader.conf is as follows:
riker# cat /boot/loader.conf
hw.acpi.debug=1
hw.acpi.verbose = 1
debug.acpi.layer = "ACPI_ALL_COMPONENTS ACPI_FAN ACPI_THERMAL"
debug.acpi.level = "ACPI_LV_WARN ACPI_LV_ERROR ACPI_LV_OBJECTS"

 sysctl
utput  ---
riker# sysctl -a | grep acpi
  acpisem17 3K  3K   17  64,128
   acpica  1357   175K177K15193  16,64,128,256,512,1024
  acpidev44 1K  1K   44  16
debug.acpi.acpi_ca_version: 0x20030619
debug.acpi.layer: ACPI_UTILITIES ACPI_HARDWARE ACPI_EVENTS ACPI_TABLES
ACPI_NAMESPACE ACPI_PARSER ACPI_DISPATCHER ACPI_EXECUTER
ACPI_RESOURCES ACPI_CA_DEBUGGER ACPI_OS_SERVICES ACPI_CA_DISASSEMBLER
ACPI_ALL_COMPONENTS ACPI_EC ACPI_AC_ADAPTER ACPI_THERMAL ACPI_FAN
debug.acpi.level: ACPI_LV_ERROR ACPI_LV_WARN ACPI_LV_OBJECTS
debug.acpi.semaphore_debug: 0
hw.acpi.supported_sleep_state: S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 5
hw.acpi.s4bios: 0
hw.acpi.verbose: 1
hw.acpi.disable_on_poweroff: 1
machdep.acpi_timer_freq: 3579545
machdep.acpi_root: 1039488
riker#

Hope you can help:  more details below

See below for output of dmesg | grep acpi.
--

riker# dmesg | grep acpi
acpi0:  on motherboard
acpi0: Power Button (fixed)
acpi_cpu0:  on acpi0
acpi_cpu1:  on acpi0
pcib0:  on acpi0
fdc0:  port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio1 port 0x2f8-0x2ff irq 3 on acpi0
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0
pcib1:  on acpi0
pcib3:  on acpi0
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
riker#riker# pciconf -lv
[EMAIL PROTECTED]:0:0:class=0x06 card=0x chip=0x00081166
rev=0x23 hdr=0x00
vendor   = 'Reliance Computer Corp./ServerWorks'
device   = 'NB6536 (CNB20-HE) Hostbridge & MCH, bus/dev/func
0/0/0'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:0:1:class=0x06 card=0x chip=0x00081166
rev=0x01 hdr=0x00
vendor   = 'Reliance Computer Corp./ServerWorks'
device   = 'NB6536 (CNB20-HE) Hostbridge & MCH, bus/dev/func
0/0/0'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:0:2:class=0x06 card=0x chip=0x00061166
rev=0x01 hdr=0x00
vendor   = 'Reliance Computer Corp./ServerWorks'
device   = 'NB6536 (CNB20-HE) Host Bridge, function 2 and function
3'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:0:3:class=0x06 card=0x chip=0x00061166
rev=0x01 hdr=0x00
vendor   = 'Reliance Computer Corp./ServerWorks'
device   = 'NB6536 (CNB20-HE) Host Bridge, function 2 and function
3'
class= bridge
subclass = HOST-PCI

---
way below problems loading acpi as module with debug
Normal boot

riker# kldstat
Id Refs AddressSize Name
 17 0xc040 5aba64   kernel
 21 0xc09ac000 4ceacacpi.ko
 31 0xc890f000 19000linux.ko
riker#


buildkernel and installkernel with ACPI_DEBUG=1

%cat /etc/make.conf
# -- use.perl generated deltas -- #
# Created: Fri Apr  4 09:20:59 2003
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
KERNCONF=ICARZ
CPUTYPE=i686
CFLAGS= -O -pipe
CXXFLAGS+= -fmemoize-lookups -fsave-memoized
ACPI_DEBUG=1

result:


%
%kldstat
Id Refs AddressSize Name
 15 0xc040 5aba64   kernel
 21 0xc88ca000 19000linux.ko
%dmesg | grep acpi
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a351f4.
KLD file acpi.ko - could not finalize loading



-
Ken Menzel  ICQ# 9325188
www.icarz.com  [EMAIL PROTECTED]

___