[panic] iwi - sleeping thread owns a non-sleepable lock

2006-09-19 Thread Kipp Holger

Hello,

I encounter a very annyoing panic with iwi0 on
'my' hp laptop 'Compaq nx8220'.

See kern/103368. Maybe the other open iwi-messages
are related (kern/89926 etc.)?

Is there a way to tell an Intel PRO/2200BG-card to
only use 802.11b and not 11g without crashing the
system?

Additional feedback can be provided if necessary.

Regards,
Holger Kipp
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do I change kern.ipc.shmmax in FreeBSD 5.x automatically after reboot?

2006-03-22 Thread Kipp Holger

Hello,

I have the following entries in /boot/loader.conf:

  kern.ipc.shm_use_phys=1
  kern.ipc.semmns=500
  kern.ipc.semmni=40
  kern.ipc.semmap=500

which are set correctly. Unfortunately, the following
two entries

  kern.ipc.shmmax=51200
  kern.ipc.shmall=65526

do not change the corresponding values according
to sysctl, no matter whether I put them in 
/boot/loader.conf or /etc/sysctl.conf.

Changing them by hand (as root with 'sysctl') afterwards
however _does_ work, so I have (for now) put
those two settings in a little script
(/usr/local/etc/rc.d/000_sysctl.sh)

Has this behaviour changed for 6.x?
Anyone who could explain this behaviour?

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


AW: two external ips

2005-09-12 Thread Kipp Holger

RYAN vAN GINNEKEN wrote on Monday, Mo 12.09.2005 09:32

 
 need help setting up machine to forward external ips


Could you provide more details? What do you want to
accomplish? What networks are to be used (dmz, internal
and/or external networks, default routes etc.)

Do you want to forward all IP packets, or do you want
to filter this based on protocol, ports, direction etc.
(eg tcp: http/https/ftp/ssh, udp: dns)

For general info about routing/nat/firewall you might
find the man-pages for ipnat, ipfw, ipf and pf (pfctl)
useful (or confusing, if you are new to this ;-)

If the subject really just means that you want to
use a computer with one NIC that has two external
IPs, you just might to add an alias. See 'man ifconfig'
for this and keep an eye on the _non-conflicting_(!)
netmask.

Regards,
Holger Kipp

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


AW: vinum volume manager

2005-09-07 Thread Kipp Holger

Tomas Palfi wrote on Wednesday, 07.09.2005 14:25
 
 Hi All,

 I have used the following message as a template, I have exactly the same
 problem with vinum, and wonder if someone knows the solution to it. 

 However, it appears that the vinum config isn't being saved, as
 rebooting the machine can't find the vinum root partition, and
 after manually booting to the pre-vinum root (ufs:ad0s1a) running
 vinum list shows no volume information.
 
 During the reboot, vinum appears to load ok, but it can't find
 the root (as shown by the last bit of the dmesg):

I have the same problem on 4.10 with ide-disks (3ware controller),
but without mounting root via vinum.

Anyway, you might succeed if you tell vinum the names of the 
devices it should use in /boot/loader.conf, eg. with:

vinum.drives=/dev/twed1 /dev/twed2 /dev/twed3 /dev/twed4

there is also a vinum command 'read' which will read the configuration
from the drive(s) specified. Please note that if you do not specify
all drives in one command, vinum will not find the other drives and
complain about missing drives, marking the relevant volumes as
degraded or worse.

Hope this helps.

Best regards,
Holger Kipp
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: update libpthread

2005-06-21 Thread Kipp Holger
Khanh Cao Van wrote on Tue 21.06.2005 16:00

 Peter Jeremy tell me that I have to update libpthread to be able to
 install JDK 1.4 on freeBSD 4.7 . But I could not find out what ports
 contain that lib . Help me if you know .

Not port. Base system. Considering this, the best solution for you
seems to be to upgrade the base system to 4.8-RELEASE or later.

 Please do not tell me about why still using freeBSD 4.7 . It not my
 own , it the customer's and I have to work on it if I do not want my
 project false . If I was , I'll take the latest 5.4 immediatly

For cvsup see:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

Regards,
Holger Kipp
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: autofs

2005-06-10 Thread Kipp Holger

Dmitriy Kirhlarov wrote on Fri 10.06.2005 14:34

 Why autofs was exclude from FreeBSD?

google says:

http://lists.freebsd.org/pipermail/freebsd-fs/2004-September/000737.html

http://freebsdaddicts.org/forum/viewtopic.php?pid=1042

--- 8  snip ---
markm   2004-11-10 19:54:18 UTC

  FreeBSD src repository

  Modified files:
sys/conf files 
sys/modules  Makefile 
  Removed files:
sys/modules/autofs   Makefile 
sys/fs/autofsautofs.h autofs_util.c autofs_vfsops.c 
 autofs_vnops.c 
  Log:
  Remove at request of author, perhaps to be re-added later.
--

Regards,
Holger Kipp
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


sshd on 5.4-STABLE broken!?

2005-05-18 Thread Kipp Holger
Hi,

I am still having a problem with sshd-behaviour which
looks similar to bin/33155 or maybe it is related to
bin/74255?

- what am I doing wrong?
- is someone else experiencing the same behaviour?
- can I provide any additional data?

the systems in question are default installations with
only a few additional packages (like webservers with
apache_modssl, mod_perl), but no openssl from ports or
other magical changes to the configuration.
All 5.4-STABLE systems were updated from 5.3-STABLE.

 
Connecting to a server with ssh and pressing ctrl-c
instead of entering a password results in a process
that won't terminate. After ten processes have been
created like this, login via ssh is (of course) not
possible any longer...

I do see this behaviour on several servers with
FreeBSD 5.3-STABLE from 16.11.2004 (SMP) and one server with
FreeBSD 5.4-STABLE from 11.05.2005 (SMP)
(HP ProLiant DL360/380)

and I don't see this on another server with
FreeBSD 5.4-STABLE from 06.11.2005 (SMP) and
FreeBSD 5.4-STABLE from 16.11.2005 (single processor AMD Duron)
(Dell PowerEdge 2800 and Home-PC with ASRock-Board)

so this is really strange. Below is output of ps
and sockstat with the relevant entries as found on
one of those misbehaving systems.

Ideas welcome!


Regards,
Holger Kipp




server1 is 5.4-STABLE #17: Wed May 11 11:52:39 CEST 200

24734  ??  Ss 0:00,04 sshd: unknown [priv] (sshd)
24736  ??  S  0:00,00 sshd: blubber [pam] (sshd)

root sshd   24736 3  stream - ??
root sshd   24736 4  tcp4   server1:22   server2:3220
root sshd   24736 5  stream (not connected)
root sshd   24736 7  stream - ??
root sshd   24734 3  stream - ??
root sshd   24734 4  tcp4   server1:22   server2:3220
root sshd   24734 5  stream (not connected)
root sshd   24734 7  stream - ??


a few minutes later:

24736  ??  I  0:00,00 sshd: blubber [pam] (sshd)

root sshd   24736 3  stream - ??
root sshd   24736 4  tcp4   server1:22   server2:3220
root sshd   24736 5  stream (not connected)
root sshd   24736 7  stream - ??

--

again:

24736  ??  I  0:00,00 sshd: blubber [pam] (sshd)
25350  ??  Ss 0:00,04 sshd: unknown [priv] (sshd)
25352  ??  S  0:00,00 sshd: blubber [pam] (sshd)

root sshd   25352 3  stream - ??
root sshd   25352 4  tcp4   server1:22   server2:1076
root sshd   25352 5  stream (not connected)
root sshd   25352 6  stream - ??
root sshd   25350 3  stream - ??
root sshd   25350 4  tcp4   server1:22   server2:1076
root sshd   25350 5  stream (not connected)
root sshd   25350 6  stream - ??
root sshd   24736 3  stream - ??
root sshd   24736 4  tcp4   server1:22   server2:3220
root sshd   24736 5  stream (not connected)
root sshd   24736 7  stream - ??

and two minutes later:

24736  ??  I  0:00,00 sshd: blubber [pam] (sshd)
25352  ??  I  0:00,00 sshd: blubber [pam] (sshd)

root sshd   25352 3  stream - ??
root sshd   25352 4  tcp4   server1:22   server2:1076
root sshd   25352 5  stream (not connected)
root sshd   25352 6  stream - ??
root sshd   24736 3  stream - ??
root sshd   24736 4  tcp4   server1:22   server2:3220
root sshd   24736 5  stream (not connected)
root sshd   24736 7  stream - ??

and eleven hours later:

24736  ??  I  0:00,00 sshd: blubber [pam] (sshd)
25352  ??  I  0:00,00 sshd: blubber [pam] (sshd)

root sshd   25352 3  stream - ??
root sshd   25352 5  stream (not connected)
root sshd   25352 6  stream - ??
root sshd   24736 3  stream - ??
root sshd   24736 5  stream (not connected)
root sshd   24736 7  stream - ??

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


RE: Performance issue

2005-05-09 Thread Kipp Holger
Same test on a 5.3-STABLE from 31.01.2005:

   81,90 real77,05 user 3,51 sys
 22908  maximum resident set size
   620  average shared memory size
 20083  average unshared data size
   128  average unshared stack size
  5379  page reclaims
26  page faults
 0  swaps
36  block input operations
 0  block output operations
 0  messages sent
 0  messages received
 0  signals received
62  voluntary context switches
 10623  involuntary context switches

This is a on a slow dual-processor system:

Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (732.98-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x683  Stepping = 3
  Features=0x387fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,PN,MMX,FXSR,SSE
real memory  = 2281635840 (2175 MB)
avail memory = 2232012800 (2128 MB)
ACPI APIC Table: PTLTDAPIC  
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

(if this is of any help). Scheduler is 4BSD.

Regards,
Holger Kipp

-Original Message-
From: [EMAIL PROTECTED] on behalf of Pete French
Sent: Mon 09.05.2005 18:10
To: [EMAIL PROTECTED]; freebsd-stable@freebsd.org
Subject: Re: Performance issue
 
 Whereas, the typical result for the new rig looked more like

   105.36 real71.10 user33.41 sys
...
  10548  involuntary context switches

Now I just ran this test myself. This machine is a 2.4 gig P4 with
hyperthreading enabled. Much as I am an AMD fan, I would expect a 1gig
Athlon to be significantly slower than a 2.4 gig Pentium 4. 

but:

   93.45 real56.55 user36.85 sys
  1857  involuntary context switches

Uhhh... so it takes almost the same time to do the calculation, but spends
actually *more* of it in system space. Does far less context switches though,
but I am assuming thats due to HTT.

Numbers look very odd to me. So I then ran it on another P4 system we have
round here which is still running 4.11. This is a 2.66 gig P4, not a 2.4
so it should be a bit faster, but:

   33.77 real33.49 user 0.07 sys
   711  involuntary context switches

Over two and a half times faster ?! Thats not right at all!

All the new systems I have tried are 5.4-RC4, so should be the
latest and greatest. When my colleague finishes on his machine I
can try a GENERIC 5.4-RC4 kernel on another P4 and see what that
gives.

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

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


RE: FreeBSD and very heavy web server

2005-04-22 Thread Kipp Holger


peceka wrote on Fri 22.04.2005 10:40

 On 4/21/05, Kipp Holger [EMAIL PROTECTED] wrote: 
  peceka wrote on Thu 21.04.2005 11:02
 Yes, I expect many parallel connections... 
 I've got two machines for that, so traffic will be divided by DNS
 round robin. But 1024 child processes will be good thing too, thanks.

  - Does it make sense to separate static and dynamic requests?
   You might want to use separate servers(*) for static and
   dynamic requests, using a quick low-footprint webserver for
   static requests that allows for many parallel requests. Maybe
   lighttpd is all you need (ymmv)

 Unfortunately, all pages will be dynamic :\

You don't have any static requests for .gif/.jpg/.css-files etc.?

lighttpd does support php4, CGI, FastCGI and load-balanced FastCGI,
and also php-code caching. Just go to http://www.lighttpd.net/ 
I haven't tried it myself, though, as we have slightly more
complicated requirements here ;-)

  - Make sure you don't run out of mbufs, open file descriptors etc.
 Ok, I'll have an eye open on this.

If you have a lot of parallel connections you might also want to
monitor tcp connections and tune corresponding sysctls, so you don't
have any useless entries in your tables. But I'm not an expert in
this field (especially with10k+ open sockets...) - the default
settings have worked for me most of the time.

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


RE: FreeBSD and very heavy web server

2005-04-21 Thread Kipp Holger

peceka wrote on Thu 21.04.2005 11:02

 i must set up a web server. I want to do this on FreeBSD 5.X. and
 Apache 1.3 for this and php4.

What do you mean by 'very heavy web server'? Please be more specific.

- Do you expect many parallel connections? Default configuration
  allows for 512 child processes with apache, so you might want
  to set this higher during compilation (eg set to 1024).
- Does it make sense to separate static and dynamic requests?
  You might want to use separate servers(*) for static and
  dynamic requests, using a quick low-footprint webserver for
  static requests that allows for many parallel requests. Maybe
  lighttpd is all you need (ymmv)
- Make sure you don't run out of mbufs, open file descriptors etc.
- ...


Regards,
Holger Kipp

(*) eg shttpd, lighttpd,...
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Can FreeBSD be installed on DellPowerEdge2800 ?

2005-03-01 Thread Kipp Holger
On Tue 01.03.2005 17:49, lhmwzy wrote:

Please reply to hk at alogis dot com. This is not my native
account.

 Subject: Can FreeBSD be installed on DellPowerEdge2800 ? 

Yes

 Anybody did this?

Yes.

 Any help is appreciateed?

Boot from FreeBSD 5.3-RELEASE-CD and install. No problems
so far. You might want to disable USB within BIOS, though,
because they seem to be shared with other critical devices
(nics and raidcontroller). But I don't use USB anyway.
Then you might want to upgrade to 5-STABLE.

This is on Dell PowerEdge 2800 with 2GB ECC RAM,
4 x 36GB SCSI and amrd-Controller (PERC-4-something).

Binary copy of SAP 4.6C and Oracle 8 (from a working
installation on FreeBSD 4.x) works nearly without changes
(using emulators/linux_base-suse-9.1 and one additional
rpm (some compatibility-thing)).

Regards,
Holger Kipp
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


[WORKAROUND]: 'setxkbmap de' does not work as expected

2004-09-30 Thread Kipp Holger
Hello,

I encountered a problem with setxkbmap. I connect from Cygwin, start
afterstep and issue setxkbmap de. This gives an error. A different
call with parameters taken from /usr/X11R6/lib/X11/xkb/keymap/xfree86
works, though:

$ setxkbmap -v 9 de
Setting verbose level to 9
locale is C
Couldn't interpret _XKB_RULES_NAMES property
Use defaults: rules - 'xorg' model - 'pc101' layout - 'us'
Warning! Multiple definitions of keyboard layout
 Using command line, ignoring X server
setxkbmap in free(): warning: junk pointer, too high to make sense
Applied rules from xorg:
model:  pc101
layout: de
options:t~
Trying to build keymap using the following components:
keycodes:   xfree86+aliases(qwertz)
types:  complete
compat: complete
symbols:pc/pc(pc101)+pc/de
geometry:   pc(pc101)
Error loading new keyboard description


It does however work correctly with
setxkbmap -v 10 -keycodes xfree86 -types default -symbols en_US(pc105)+de 
-geometry pc(pc102)
Setting verbose level to 10
locale is C
Couldn't interpret _XKB_RULES_NAMES property
Use defaults: rules - 'xorg' model - 'pc101' layout - 'us'
setxkbmap in free(): warning: junk pointer, too high to make sense
Warning! Multiple definitions of keycodes
 Using command line, ignoring rules file
Warning! Multiple definitions of symbols
 Using command line, ignoring rules file
Warning! Multiple definitions of types
 Using command line, ignoring rules file
Warning! Multiple definitions of geometry
 Using command line, ignoring rules file
Applied rules from xorg:
model:  pc101
layout: us
variant:X (  (
options:(258BJQYbr|
Trying to build keymap using the following components:
keycodes:   xfree86
types:  default
compat: complete
symbols:en_US(pc105)+de
geometry:   pc(pc102)
%

--

This is with FreeBSD 5.3-BETA3 default install (updated, but default
installation of xorg-* as it was on the iso-images):

xorg-clients-6.7.0_3 X client programs and related files from X.Org
xorg-documents-6.7.0 Documentation of X11 protocol and libraries from X.Org
xorg-fonts-100dpi-6.7.0 X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-6.7.0 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-6.7.0 X.Org Cyrillic bitmap fonts
xorg-fonts-encodings-6.7.0 X.Org font encoding files
xorg-fonts-miscbitmaps-6.7.0 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-6.7.0 X.Org TrueType fonts
xorg-fonts-type1-6.7.0 X.Org Type1 fonts
xorg-fontserver-6.7.0 X font server from X.Org
xorg-libraries-6.7.0_1 X11 libraries and headers from X.Org
xorg-manpages-6.7.0 X.Org library manual pages
xorg-server-6.7.0_5 X.Org X server and related programs
xorg-vfbserver-6.7.0 X virtual framebuffer server from X.Org

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