Send freebsd-current mailing list submissions to
	freebsd-current@freebsd.org

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

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

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


Today's Topics:

   1. ciss(4) panic (Lukas Ertl)
   2. Re: Possible Threading problem with -CURRENT / MySQL?
      (Claus Guttesen)
   3. [current tinderbox] failure on i386/pc98 (FreeBSD Tinderbox)
   4. cccc junk pointer (was: Re: [current tinderbox] failure on
      i386/pc98) (Robert Watson)
   5. Re: Possible Threading problem with -CURRENT / MySQL?
      (Lasse Laursen)
   6. Re: Mirroring without Vinum (GEOM?) (Pawel Jakub Dawidek)
   7. Re: Possible Threading problem with -CURRENT / MySQL?
      (Steve Kargl)
   8. acpi interrupt storm when disabling, IPI hang (Don Bowman)
   9. Re: Storing a lot of little files (Cyrille Lefevre)
  10. [current tinderbox] failure on ia64/ia64 (FreeBSD Tinderbox)
  11. Re: HEADSUP: geom_vinum committed (Paul Mather)
  12. Re: HEADSUP: geom_vinum committed (Lukas Ertl)
  13. trying to use a bootable cd on freebsd. (Julian Elischer)
  14. Re: HEADSUP: geom_vinum committed (Lukas Ertl)
  15. Re: Page fault in kernel mode; unable to dump core;
      reproducable (Peter Schuller)
  16. Re: PAE on -current pitfalls and issues? (Peter Wemm)
  17. Re: HEADSUP: geom_vinum committed (Lukas Ertl)
  18. Re: misc/63204: /dev/mixer broken with ESS Maestro-2 (John)
  19. Re: cccc junk pointer (was: Re: [current tinderbox] failure
      on	i386/pc98) (Kris Kennaway)
  20. Re: Storing a lot of little files (Jens Schweikhardt)
  21. Re: Storing a lot of little files (Julian Elischer)
  22. Re: Possible Threading problem with -CURRENT / MySQL?
      (Julian Elischer)
  23. Re: Possible Threading problem with -CURRENT / MySQL?
      (Julian Elischer)


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

Message: 1
Date: Tue, 15 Jun 2004 18:05:21 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: ciss(4) panic
To: current@FreeBSD.org
Cc: ps@FreeBSD.org
Message-ID: <20040615180404.N640@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Hi there,

I saw a panic today when I yanked out a drive from a Compaq Smart Array.
The drive in question was configured as a single RAID0 disk and not 
mounted.

The debug log can be found at
<http://people.freebsd.org/~le/ciss_panic.txt>, interesting in particular
are the 0xdeadc0de references.

I can provide more info if needed.

cheers,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org                     http://people.freebsd.org/~le/

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

Message: 2
Date: Tue, 15 Jun 2004 19:12:25 +0200 (CEST)
From: Claus Guttesen<cguttesen@yahoo.dk>
Subject: Re: Possible Threading problem with -CURRENT / MySQL?
To: Daniel Eischen <eischen@vigrid.com>,	Lasse Laursen
	<laursen@netgroup.dk>
Cc: freebsd-current@freebsd.org
Message-ID: <20040615171225.711.qmail@web14107.mail.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

> > We just had our first lockup for today - and the
> last one. Next step is to
> > downgrade to Linux :( *crud*
> 

Maby not the greatest comfort, but I've had a Dell
2650 with the Perc3-controller working for weeks. I
installed rt3 (troubleticket-system) which needed
Mysql (or postgresql). I installed Mysql 4.0 and
haven't had problems with it. I increased the amount
of RAM than Mysql can utilize, but that's about it.

All installed from /usr/ports using portinstall.

FreeBSD 5.2.1, 2 GB RAM, dual Xeon @ 2.4 Ghz. Other
than enabling -O2 and CPUTYPE=i686 in /etc/make.conf
and make a customized kernel with amr in my kernel,
everything else is pretty much default.

I never touched HTT in BIOS nor using sysctl, that's
working out of the box.

/etc/make.conf:
CPUTYPE=i686
CFLAGS= -O2 -pipe -funroll-loops -fno-strict-aliasing
COPTFLAGS= -O2 -pipe -funroll-loops
..
etc. etc. etc.

/usr/src/sys/i386/conf/DELL2650:
machine     i386
cpu            I686_CPU
ident          DELL
options      SCHED_4BSD              #4BSD scheduler
options      SMP                     # Symmetric
MultiProcessor Kernel
device        apic
device        amr             # AMI MegaRAID
device        bge             # Broadcom BCM570xx
Gigabit Ethernet

regards
Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter o
g virusscan

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

Message: 3
Date: Tue, 15 Jun 2004 13:13:45 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on i386/pc98
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<i386@freebsd.org>
Message-ID: <20040615171345.3CD097303F@freebsd-current.sentex.ca>

TB --- 2004-06-15 15:57:02 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-06-15 15:57:02 - starting CURRENT tinderbox run for i386/pc98
TB --- 2004-06-15 15:57:02 - checking out the source tree
TB --- 2004-06-15 15:57:02 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98
TB --- 2004-06-15 15:57:02 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A 
src
TB --- 2004-06-15 16:02:06 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-06-15 16:02:06 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src

TB --- 2004-06-15 16:02:06 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-06-15 16:57:23 - building generic kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-06-15 16:57:23 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src

TB --- 2004-06-15 16:57:23 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Tue Jun 15 16:57:23 GMT 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for GENERIC completed on Tue Jun 15 17:10:49 GMT 2004
TB --- 2004-06-15 17:10:49 - generating LINT kernel config
TB --- 2004-06-15 17:10:49 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src/
sys/pc98/conf
TB --- 2004-06-15 17:10:49 - /usr/bin/make -B LINT
TB --- 2004-06-15 17:10:49 - building LINT kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-06-15 17:10:49 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src

TB --- 2004-06-15 17:10:49 - /usr/bin/make buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Tue Jun 15 17:10:49 GMT 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/crypto/sha1.c
cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/crypto/sha2/sha2.c
cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/ddb/db_access.c
cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/ddb/db_break.c
cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/ddb/db_command.c
cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua
l  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/
pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/pc
98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/cont
rib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -DGP
ROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-string
s -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions /
tinderbox/CURRENT/i386/pc98/src/sys/ddb/db_elf.c
cccc:  in free(): error: junk pointer, too high to make sense
Abort trap (core dumped)
*** Error code 134

Stop in /tinderbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/
sys/LINT.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/pc98/src.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/pc98/src.
TB --- 2004-06-15 17:13:44 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-06-15 17:13:44 - ERROR: failed to build lint kernel
TB --- 2004-06-15 17:13:44 - tinderbox aborted


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

Message: 4
Date: Tue, 15 Jun 2004 13:20:35 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: cccc junk pointer (was: Re: [current tinderbox] failure on
	i386/pc98)
To: FreeBSD Tinderbox <tinderbox@freebsd.org>
Cc: current@freebsd.org
Message-ID:
	<Pine.NEB.3.96L.1040615131933.66022C-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Tue, 15 Jun 2004, FreeBSD Tinderbox wrote:

> >>> stage 3.2: building everything
> [...]
> cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i38
6/pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
pc98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
 /tinderbox/CURRENT/i386/pc98/src/sys/crypto/sha1.c
> cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i38
6/pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
pc98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
 /tinderbox/CURRENT/i386/pc98/src/sys/crypto/sha2/sha2.c

> cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i38
6/pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
pc98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
 /tinderbox/CURRENT/i386/pc98/src/sys/ddb/db_access.c
> cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i38
6/pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
pc98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
 /tinderbox/CURRENT/i386/pc98/src/sys/ddb/db_break.c
> cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i38
6/pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
pc98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
 /tinderbox/CURRENT/i386/pc98/src/sys/ddb/db_command.c
> cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i38
6/pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/ti
nderbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc98/
src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -I/
tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/
pc98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/co
ntrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -D
GPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-stri
ngs -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions
 /tinderbox/CURRENT/i386/pc98/src/sys/ddb/db_elf.c
> cccc:  in free(): error: junk pointer, too high to make sense
> Abort trap (core dumped)
> *** Error code 134
> 
> Stop in /tinderbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/sr
c/sys/LINT.
> *** Error code 1
> 
> Stop in /tinderbox/CURRENT/i386/pc98/src.
> *** Error code 1
> 
> Stop in /tinderbox/CURRENT/i386/pc98/src.
> TB --- 2004-06-15 17:13:44 - WARNING: /usr/bin/make returned exit code  1 
> TB --- 2004-06-15 17:13:44 - ERROR: failed to build lint kernel
> TB --- 2004-06-15 17:13:44 - tinderbox aborted

I've noticed a few of these recently.  Do we have any information on
whether this is a compiler bug, a hardware problem on the tinderbox, or a
kernel problem on the tinderbox?

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Senior Research Scientist, McAfee Research



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

Message: 5
Date: Tue, 15 Jun 2004 19:22:22 +0200
From: "Lasse Laursen" <laursen@netgroup.dk>
Subject: Re: Possible Threading problem with -CURRENT / MySQL?
To: "Claus Guttesen" <cguttesen@yahoo.dk>,	"Daniel Eischen"
	<eischen@vigrid.com>
Cc: freebsd-threads@freebsd.org
Message-ID: <082101c452fd$66bd1dd0$ce01000a@animal>
Content-Type: text/plain;	charset="iso-8859-1"

Hi Claus,

How many queries per second does the machine handle? We are at approx 100
queries per second in prime time. The load on the server is low and the
performance is OK (haven't tried anything else but FreeBSD so I can't
compare with Linux). Everything is working fine until a single thread
suddenly locks up the entire system. :(

There are no special compile options for neither FreeBSD or for MySQL (from
ports).

Regards
--
Lasse Laursen � VP, Hosting Technology � NetGroup Processing Aps
St. Kongensgade 40H � DK-1264 Copenhagen K, Denmark
Phone: +45 3370 1526 � Fax: +45 3313 0066

- Don't be fooled by cheap finnish imitations - BSD is the One True Code
----- Original Message ----- 
From: "Claus Guttesen" <cguttesen@yahoo.dk>
To: "Daniel Eischen" <eischen@vigrid.com>; "Lasse Laursen"
<laursen@netgroup.dk>
Cc: <freebsd-current@freebsd.org>; "Cedric Tabary" <cedric@carpediem.fr>;
"mike" <mike@mike2k.com>; <freebsd-threads@freebsd.org>
Sent: Tuesday, June 15, 2004 7:12 PM
Subject: Re: Possible Threading problem with -CURRENT / MySQL?


> > > We just had our first lockup for today - and the
> > last one. Next step is to
> > > downgrade to Linux :( *crud*
> >
>
> Maby not the greatest comfort, but I've had a Dell
> 2650 with the Perc3-controller working for weeks. I
> installed rt3 (troubleticket-system) which needed
> Mysql (or postgresql). I installed Mysql 4.0 and
> haven't had problems with it. I increased the amount
> of RAM than Mysql can utilize, but that's about it.
>
> All installed from /usr/ports using portinstall.
>
> FreeBSD 5.2.1, 2 GB RAM, dual Xeon @ 2.4 Ghz. Other
> than enabling -O2 and CPUTYPE=i686 in /etc/make.conf
> and make a customized kernel with amr in my kernel,
> everything else is pretty much default.
>
> I never touched HTT in BIOS nor using sysctl, that's
> working out of the box.
>
> /etc/make.conf:
> CPUTYPE=i686
> CFLAGS= -O2 -pipe -funroll-loops -fno-strict-aliasing
> COPTFLAGS= -O2 -pipe -funroll-loops
> ...
> etc. etc. etc.
>
> /usr/src/sys/i386/conf/DELL2650:
> machine     i386
> cpu            I686_CPU
> ident          DELL
> options      SCHED_4BSD              #4BSD scheduler
> options      SMP                     # Symmetric
> MultiProcessor Kernel
> device        apic
> device        amr             # AMI MegaRAID
> device        bge             # Broadcom BCM570xx
> Gigabit Ethernet
>
> regards
> Claus
>
>
> Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads,
spamfilter og virusscan
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



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

Message: 6
Date: Tue, 15 Jun 2004 19:36:02 +0200
From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject: Re: Mirroring without Vinum (GEOM?)
To: Dag-Erling Sm?rgrav <des@des.no>
Cc: Eirik Oeverby <ltning@anduin.net>
Message-ID: <20040615173602.GG12007@darkness.comp.waw.pl>
Content-Type: text/plain; charset="iso-8859-2"

On Mon, Jun 14, 2004 at 03:23:54PM +0200, Dag-Erling Sm?rgrav wrote:
+> Eirik Oeverby <ltning@anduin.net> writes:
+> > The geom_mirror class sounds interesting too, though. I will find this
+> > in the tree?
+> 
+> yes.

I'm not sure if this is what he is looking for.
This class is only a example class. Additionaly it uses metadata in first
sector of disks and this isn't good.

+> >              How hard will it be to decipher the sources and figure
+> > out how to use it? Is there no reference to it elsewhere?
+> 
+> you will probably have to write a geom_mirror module for the
+> (undocumented) geom(8) utility (see /usr/src/sbin/geom).

Actually it is documented. I forgot to connect manual page to the build.
Thanks for a reminder, it is connected now.

BTW. I'm working on geom_mirror in perforce. It works fine (automatic
part - automatic providers detection, configuration and synchronization).
I'm starting tests tomorrow. There are few thing to implement still.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040615/
28d8897c/attachment-0001.bin

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

Message: 7
Date: Tue, 15 Jun 2004 10:36:42 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: Possible Threading problem with -CURRENT / MySQL?
To: Claus Guttesen <cguttesen@yahoo.dk>
Cc: Cedric Tabary <cedric@carpediem.fr>
Message-ID: <20040615173642.GA20669@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii

On Tue, Jun 15, 2004 at 07:12:25PM +0200, Claus Guttesen wrote:
>>> We just had our first lockup for today - and the
>>> last one. Next step is to
>>> downgrade to Linux :( *crud*
>> 
> 
> /etc/make.conf:
> CPUTYPE=i686
> CFLAGS= -O2 -pipe -funroll-loops -fno-strict-aliasing
> COPTFLAGS= -O2 -pipe -funroll-loops

man make.conf

Now read the descriptions for CFLAGS and COPTFLAGS.

-- 
Steve

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

Message: 8
Date: Tue, 15 Jun 2004 13:55:13 -0400
From: Don Bowman <don@sandvine.com>
Subject: acpi interrupt storm when disabling, IPI hang
To: "'current@freebsd.org'" <current@freebsd.org>,
	"'acpi@freebsd.org'" <acpi@freebsd.org>
Message-ID:
	<FE045D4D9F7AED4CBFF1B3B813C85337051D8FE6@mail.sandvine.com>
Content-Type: text/plain; charset="iso-8859-1"

When i run 'acpiconf -d', i get an interrupt storm on irq9...
vmstat -i shows ~1000/s.

Jun 15 13:41:33 cdata kernel: Interrupt storm detected on "irq9: acpi0";
throttling interrupt source

when i try to re-enable, i get an error:

# acpiconf -e
acpi0: interrupt handler already installed
    ACPI-0210: *** Error: Unable to install System Control Interrupt
Handler, AE_ALREADY_EXISTS
acpiconf: enable failed: Device not configured
# 

System is a Supermicro X5DPE motherboard, dual 2.8GHz Xeon,
533MHz FSB, Intel e7501 chipset.

# sysctl hw.acpi
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: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_poweroff: 0
hw.acpi.reset_video: 1
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 99%


The system will not boot 5.x if acpi is disabled.
It will run 4.x without trouble tho.

I am currently debugging a problem where 2
of the processors are in acpi_cpu_c1, 1 is
in idle, and 1 calls smp_tlb_shootdown, but
the IPI to one of the other processors never
completes, so it hangs. I have a core file
from this state.

(kgdb) printStack2 0xed09acdc
 <acpi_cpu_idle+129>:     0xa10cc483
 <cpu_idle+40>:   0xf689c3c9
 <idle_proc+25>:  0xe800768d
 <fork_exit+113>: 0xb808c483
 <fork_trampoline+8>:     0xe90cc483
(kgdb)  printStack2 0xed09dcd8
 <acpi_cpu_c1+5>: 0x5590c3c9
 <acpi_cpu_idle+193>:     0x0000d4e9
 <cpu_idle+40>:   0xf689c3c9
 <idle_proc+25>:  0xe800768d
 <fork_exit+113>: 0xb808c483
 <fork_trampoline+8>:     0xe90cc483
(kgdb)  printStack2 0xed0a0cd8
 <acpi_cpu_c1+5>: 0x5590c3c9
 <acpi_cpu_idle+193>:     0x0000d4e9
 <cpu_idle+40>:   0xf689c3c9
 <idle_proc+25>:  0xe800768d
 <fork_exit+113>: 0xb808c483
 <fork_trampoline+8>:     0xe90cc483

(kgdb)  printStack2 0xeec7dc3c
 <cluster_callback+43>:   0x0128978b
 <bufdone+275>:   0x000350e9
 <bufdonebio+63>: 0x6404c483
 <biodone+134>:   0x8d04c483
 <g_dev_done+91>: 0x5bf8658d
 <biodone+134>:   0x8d04c483
 <g_io_schedule_up+218>:  0xc483f689
 <g_up_procbody+26>:      0xeb04c483
 <fork_exit+113>: 0xb808c483
 <fork_trampoline+8>:     0xe90cc483

Sometimes that last one is like:

#7  0xc068e066 in smp_tlb_shootdown (vector=246, addr1=0, addr2=0)
    at machine/cpufunc.h:305
#8  0xc068e1d0 in smp_invlpg_range (addr1=3876638720, addr2=3876769792)
    at /usr/src/sys/i386/i386/mp_machdep.c:1030
#9  0xc0690643 in pmap_invalidate_range (pmap=0xc077dd80, sva=3876638720, 
    eva=3876769792) at /usr/src/sys/i386/i386/pmap.c:640
#10 0xc0690be0 in pmap_qenter (sva=3876638720, m=0xde548600, count=0)
    at /usr/src/sys/i386/i386/pmap.c:958
#11 0xc058aca3 in cluster_rbuild (vp=0xc83db104, filesize=1073741824, 
    lbn=40844, blkno=241691456, size=16384, run=8, fbp=0x0)
    at /usr/src/sys/kern/vfs_cluster.c:508
#12 0xc058a3a8 in cluster_read (vp=0xc83db104, filesize=1073741824, 
    lblkno=40844, size=16384, cred=0x0, totread=8192, seqcount=127, bpp=0x0)
    at /usr/src/sys/kern/vfs_cluster.c:263
#13 0xc063dc4a in ffs_read (ap=0x0) at /usr/src/sys/ufs/ffs/ffs_vnops.c:441
#14 0xc059e325 in vn_read (fp=0xc5a02198, uio=0xf53c1c88, 
    active_cred=0xc59f6280, flags=0, td=0xc6645e70) at vnode_if.h:398
#15 0xc05655bc in dofileread (td=0xc6645e70, fp=0xc5a02198, fd=23, 
    buf=0x706b40c0, nbyte=8192, offset=0, flags=0)
    at /usr/src/sys/sys/file.h:233
#16 0xc0565467 in read (td=0xc6645e70, uap=0xf53c1d14)
    at /usr/src/sys/kern/sys_generic.c:107
#17 0xc06956f7 in syscall (frame=
      {tf_fs = 138149935, tf_es = 138149935, tf_ds = -1078001617, tf_edi =
81682, tf_esi = 137404728, tf_ebp = -1077946040, tf_isp = -180609676, tf_ebx
= 608, tf_edx = 23, tf_ecx = 137834496, tf_eax = 3, tf_trapno = 22, tf_err =
2, tf_eip = 1749868123, tf_cs = 31, tf_eflags = 582, tf_esp = -1077946068,
tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1004
#18 0x684cde5b in ?? ()


(kgdb) disass acpi_cpu_c1
Dump of assembler code for function acpi_cpu_c1:
0xc084cc44 <acpi_cpu_c1>:       push   %ebp
0xc084cc45 <acpi_cpu_c1+1>:     mov    %esp,%ebp
0xc084cc47 <acpi_cpu_c1+3>:     sti    
0xc084cc48 <acpi_cpu_c1+4>:     hlt    
0xc084cc49 <acpi_cpu_c1+5>:     leave  
0xc084cc4a <acpi_cpu_c1+6>:     ret    
0xc084cc4b <acpi_cpu_c1+7>:     nop    
End of assembler dump.


(kgdb) disass acpi_cpu_idle
Dump of assembler code for function acpi_cpu_idle:
0xc084caa0 <acpi_cpu_idle>:     push   %ebp
 ...
0xc084cb4f <acpi_cpu_idle+175>: cltd   
0xc084cb50 <acpi_cpu_idle+176>: idivl  0xc0753f0c
0xc084cb56 <acpi_cpu_idle+182>: mov    %eax,0x9c(%esi)
0xc084cb5c <acpi_cpu_idle+188>: call   0xc084cc44 <acpi_cpu_c1>
0xc084cb61 <acpi_cpu_idle+193>: jmp    0xc084cc3a <acpi_cpu_idle+410>
0xc084cb66 <acpi_cpu_idle+198>: mov    %esi,%esi
0xc084cb68 <acpi_cpu_idle+200>: cmpl   $0x3,0x4(%edi)
0xc084cb6c <acpi_cpu_idle+204>: jne    0xc084cb88 <acpi_cpu_idle+232>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.boot
Type: application/octet-stream
Size: 8280 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040615/
2ab8b149/dmesg-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cdata.asl.gz
Type: application/octet-stream
Size: 10931 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040615/
2ab8b149/cdata.asl-0001.obj

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

Message: 9
Date: Tue, 15 Jun 2004 19:56:06 +0200
From: "Cyrille Lefevre" <clefevre-lists@9online.fr>
Subject: Re: Storing a lot of little files
To: "Eugene" <el2000@km.ru>, <freebsd-current@freebsd.org>
Message-ID: <005501c45302$08d2a8c0$7890a8c0@dyndns.org>
Content-Type: text/plain;	charset="Windows-1251"

"Eugene" <el2000@km.ru> wrote:
> Hello freebsd-current,
>
>   I need to store a lot (hundreds of millions) of very little files (from 8

bytes
>   to 50K) in my filesystem.

some times ago, there where something called "inode fs" (aka IFS).
unfortunatelly, this was killed from -current (5.x) two years ago.

more details here (google "freebsd +ifs +inode"):

http://www.squid-cache.org/mail-archive/squid-dev/200101/0432.html
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/ufs/ifs/Attic/README
http://lists.freebsd.org/pipermail/freebsd-fs/2003-June/000129.html

>   What's the best way to optimize it? Which newfs options can you
>   recommend me?

so, the best way would be to have multi-level directories to reduce
the number of entries in one directory whatever the underlying file
system is (except, maybe, database-like filesystems).

something like :

/a/b/c/cfile
/a/b/d/dfile
/a/c/e/efile
etc.

using google "million +files +directory +fs" :

http://aa11.cjb.net/sun_managers/2000/01/msg00303.html

Cyrille Lefevre.
-- 
home: mailto:cyrille.lefevre@laposte.net


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

Message: 10
Date: Tue, 15 Jun 2004 14:51:28 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on ia64/ia64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<ia64@freebsd.org>
Message-ID: <20040615185128.BA0507303F@freebsd-current.sentex.ca>

TB --- 2004-06-15 17:13:45 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-06-15 17:13:45 - starting CURRENT tinderbox run for ia64/ia64
TB --- 2004-06-15 17:13:45 - checking out the source tree
TB --- 2004-06-15 17:13:45 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64
TB --- 2004-06-15 17:13:45 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A 
src
TB --- 2004-06-15 17:18:27 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-06-15 17:18:27 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64/src

TB --- 2004-06-15 17:18:27 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-06-15 18:51:10 - building generic kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-06-15 18:51:10 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64/src

TB --- 2004-06-15 18:51:10 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Tue Jun 15 18:51:10 GMT 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
[...]
/tinderbox/CURRENT/ia64/ia64/obj/ia64/tinderbox/CURRENT/ia64/ia64/src/sys/GENE
RIC/modules/tinderbox/CURRENT/ia64/ia64/src/sys/modules/my created for /tinder
box/CURRENT/ia64/ia64/src/sys/modules/my
===> netgraph
===> netgraph/UI
/tinderbox/CURRENT/ia64/ia64/obj/ia64/tinderbox/CURRENT/ia64/ia64/src/sys/GENE
RIC/modules/tinderbox/CURRENT/ia64/ia64/src/sys/modules/netgraph/UI created fo
r /tinderbox/CURRENT/ia64/ia64/src/sys/modules/netgraph/UI
===> netgraph/async
/tinderbox/CURRENT/ia64/ia64/obj/ia64/tinderbox/CURRENT/ia64/ia64/src/sys/GENE
RIC/modules/tinderbox/CURRENT/ia64/ia64/src/sys/modules/netgraph/async created
 for /tinderbox/CURRENT/ia64/ia64/src/sys/modules/netgraph/async
===> netgraph/atm
===> netgraph/atm/atm
*** Signal 11

Stop in /tinderbox/CURRENT/ia64/ia64/src/sys/modules/netgraph/atm/atm.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src/sys/modules/netgraph/atm.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src/sys/modules/netgraph.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src/sys/modules.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/obj/ia64/tinderbox/CURRENT/ia64/ia64/src/
sys/GENERIC.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src.
TB --- 2004-06-15 18:51:28 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-06-15 18:51:28 - ERROR: failed to build generic kernel
TB --- 2004-06-15 18:51:28 - tinderbox aborted


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

Message: 11
Date: Tue, 15 Jun 2004 15:17:02 -0400
From: Paul Mather <paul@gromit.dlib.vt.edu>
Subject: Re: HEADSUP: geom_vinum committed
To: freebsd-current@freebsd.org
Message-ID: <20040615191702.GA56695@gromit.dlib.vt.edu>
Content-Type: text/plain; charset=iso-8859-1

On Tue, 15 Jun 2004 10:46:27 -0500, Craig Boston <craig@xfoil.gank.org> wrote:


=> On Saturday 12 June 2004 04:28 pm, Lukas Ertl wrote:
=> > Bug reports, suggestions, critics and flames are happily awaited, even
=> > more so when they have patches attached. :-)
=> 
=> I don't suppose there is any equivalent to the vinum.autostart sysctl, is 

=> there?
=> 
=> I tried it out on a system that has everything on vinum, including root and
 
=> swap -- loading geom_vinum from loader.  It found _SOME_ of the subdisks on
 
=> its own during boot, but I got "Root mount failed: 22" when trying 
=> ufs:/dev/gvinum/root
=> 
=> ? from the root mount prompt listed some of the subdisks and plexes, but no
t 
=> all of them, so I think it's not completely done initializing at the point 

=> that root is mounted.  If I get some time later I'll try to figure out what
's 
=> going on.

I also tried out an all-Vinum configuration with the newly committed
gvinum.  The configuration was created using vinum.  Gvinum picked it
up, but incorrectly---the driveoffsets of all the subdisks were
wrong---meaning none of the filesystems could be mounted.  Vinum, on
the other hand, picks up the correct configuration.

Here is the vinum.conf file I used when creating the configuration
using "vinum create":

>>>>> vinum.conf >>>>>
#
# Vinum configuration file for installed system.
#
# Commented lines are from disklabel, and used to position vinum
# subdisks.  Note that the driveoffset is 16 sectors less than
# the offset in the disklabel, to account for the bootstrap
# (to be in accordance with the start of the vinum partition).
drive laurel device /dev/ad1s1h
drive hardy device /dev/ad2s1h
#  a:   524288  1048576    4.2BSD     2048 16384 32776 
volume root setupstate
  plex org concat
    sd length 524288s driveoffset 1048560s drive laurel
  plex org concat
    sd length 524288s driveoffset 1048560s drive hardy
#  b:  1048295      281      swap                    
volume swap setupstate
  plex org concat
    sd length 1048295s driveoffset 265s drive laurel
  plex org concat
    sd length 1048295s driveoffset 265s drive hardy
#  d:  1048576  1572864    4.2BSD     2048 16384     8 
volume var setupstate
  plex org concat
    sd length 1048576s driveoffset 1572848s drive laurel
  plex org concat
    sd length 1048576s driveoffset 1572848s drive hardy
#  e: 47360177  2621440    4.2BSD     2048 16384 28552 
volume usr setupstate
  plex org concat
    sd length 47360177s driveoffset 2621424s drive laurel
  plex org concat
    sd length 47360177s driveoffset 2621424s drive hardy
#  h: 49981601       16     vinum                    
<<<<<

(BTW, gvinum failed to parse the above config file correctly.  I got
complaints about "setupstate" from what I rememeber.  Vinum accepts it
without complaint.)

Here is the output of "vinum printconfig":

>>>>> vinum printconfig >>>>>
# Vinum configuration of , saved at Sun Jun 13 23:54:35 2004
drive hardy device /dev/ad2s1h
drive laurel device /dev/ad1s1h
volume root
volume swap
volume var
volume usr
plex name root.p0 org concat vol root 
plex name root.p1 org concat vol root 
plex name swap.p0 org concat vol swap 
plex name swap.p1 org concat vol swap 
plex name var.p0 org concat vol var 
plex name var.p1 org concat vol var 
plex name usr.p0 org concat vol usr 
plex name usr.p1 org concat vol usr 
sd name root.p0.s0 drive laurel plex root.p0 len 524288s driveoffset 1048560s 
plexoffset 0s
sd name root.p1.s0 drive hardy plex root.p1 len 524288s driveoffset 1048560s p
lexoffset 0s
sd name swap.p0.s0 drive laurel plex swap.p0 len 1048295s driveoffset 265s ple
xoffset 0s
sd name swap.p1.s0 drive hardy plex swap.p1 len 1048295s driveoffset 265s plex
offset 0s
sd name var.p0.s0 drive laurel plex var.p0 len 1048576s driveoffset 1572848s p
lexoffset 0s
sd name var.p1.s0 drive hardy plex var.p1 len 1048576s driveoffset 1572848s pl
exoffset 0s
sd name usr.p0.s0 drive laurel plex usr.p0 len 47360177s driveoffset 2621424s 
plexoffset 0s
sd name usr.p1.s0 drive hardy plex usr.p1 len 47360177s driveoffset 2621424s p
lexoffset 0s
<<<<<

(Note that the "driveoffset" values for the subdisks matches those
given in the configuration file.)

Here is the output of "gvinum printconfig" (issued after a reboot, so
the vinum kernel module is not loaded, only geom_vinum):

>>>>> gvinum printconfig >>>>>
# Vinum configuration of , saved at Sun Jun 13 23:57:52 2004
drive laurel device ad1s1h
drive hardy device ad2s1h
volume usr
volume var
volume swap
volume root
plex name usr.p1 org concat vol usr
plex name usr.p0 org concat vol usr
plex name var.p1 org concat vol var
plex name var.p0 org concat vol var
plex name swap.p1 org concat vol swap
plex name swap.p0 org concat vol swap
plex name root.p1 org concat vol root
plex name root.p0 org concat vol root
sd name usr.p1.s0 drive hardy len 47360177s driveoffset 265s plex usr.p1 plexo
ffset 0s
sd name usr.p0.s0 drive laurel len 47360177s driveoffset 265s plex usr.p0 plex
offset 0s
sd name var.p1.s0 drive hardy len 1048576s driveoffset 47360442s plex var.p1 p
lexoffset 0s
sd name var.p0.s0 drive laurel len 1048576s driveoffset 47360442s plex var.p0 
plexoffset 0s
sd name swap.p1.s0 drive hardy len 1048295s driveoffset 48409018s plex swap.p1
 plexoffset 0s
sd name swap.p0.s0 drive laurel len 1048295s driveoffset 48409018s plex swap.p
0 plexoffset 0s
sd name root.p1.s0 drive hardy len 524288s driveoffset 49457313s plex root.p1 
plexoffset 0s
sd name root.p0.s0 drive laurel len 524288s driveoffset 49457313s plex root.p0
 plexoffset 0s
<<<<<

(Note that the subdisk lengths are correct, but the driveoffsets are
all wrong.  I don't know if it's significant or coincidental that the
order of the volumes, plexes, and subdisks is exactly the reverse of
that in the vinum version.)

So, it may have been in your case that the root volume failed to mount
because gvinum was looking in the wrong place on the drive and getting
a corrupt superblock.

Needless to say, those testing out gvinum on existing Vinum
configurations should exercise due caution due to the real possibility
of corruption (as Lukas warned in his initial announcement).

Cheers,

Paul.

e-mail: paul@gromit.dlib.vt.edu

"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa

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

Message: 12
Date: Tue, 15 Jun 2004 21:49:30 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: HEADSUP: geom_vinum committed
To: Paul Mather <paul@gromit.dlib.vt.edu>
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040615214439.P640@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Tue, 15 Jun 2004, Paul Mather wrote:

> # Commented lines are from disklabel, and used to position vinum
> # subdisks.  Note that the driveoffset is 16 sectors less than
> # the offset in the disklabel, to account for the bootstrap
> # (to be in accordance with the start of the vinum partition).

Does that mean that you're mixing bsdlabels and vinum?  This could 
certainly lead to problems.  Furthermore I haven't tested root-on-vinum 
yet.

> (BTW, gvinum failed to parse the above config file correctly.  I got
> complaints about "setupstate" from what I rememeber.  Vinum accepts it
> without complaint.)

That's because I haven't implemented the 'setupstate' keyword.  In my 
opinion any RAID that needs to be initialized should be initialized.  We 
could argue about that, of course. :-)

> (Note that the "driveoffset" values for the subdisks matches those
> given in the configuration file.)

I'll try to replay that, but it could take some time to setup a 
root-on-vinum configuration here.

> Needless to say, those testing out gvinum on existing Vinum
> configurations should exercise due caution due to the real possibility
> of corruption (as Lukas warned in his initial announcement).

That's what I said, yes.

cheers,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org                     http://people.freebsd.org/~le/

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

Message: 13
Date: Tue, 15 Jun 2004 12:58:44 -0700
From: Julian Elischer <julian@freebsd.org>
Subject: trying to use a bootable cd on freebsd.
To: current@freebsd.org
Message-ID: <40CF54F4.4070201@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed


I have a cdrom from intel.
it boots into a standalone system for configuring their motherboard.
So far so good.

THe system I need to use it on doesn't have a cdrom.
but it DOES have a USB port and can boot of a USB drive.
It can also boot using PXE.

If I look on the cdrom I see nothing special.
Certainly no flpooy images or such...

How does this boot?

Can I extract something from this I can put on
a USB dongle to make it boot there instead?

Intell suggested I use  PXE over the net..
what do I export?


julian@julian:cd /cdrom
julian@julian:ls -la
total 57
dr-xr-xr-x   1 root  wheel   2048 Mar 25  2003 .
drwxr-xr-x  22 root  wheel   1024 Apr 14 04:08 ..
dr-xr-xr-x   1 root  wheel   2048 Nov 14  2002 ACROBAT
dr-xr-xr-x   1 root  wheel   2048 Feb 18  2003 DOCS
dr-xr-xr-x   1 root  wheel   2048 Mar 24  2003 Drivers
dr-xr-xr-x   1 root  wheel   4096 Mar 25  2003 SE7501BR2
dr-xr-xr-x   1 root  wheel  10240 Mar 19  2003 SMaRT
-r-xr-xr-x   1 root  wheel  20480 Sep  5  2002 autorun.exe
-r-xr-xr-x   1 root  wheel     47 Sep  5  2002 autorun.inf
dr-xr-xr-x   1 root  wheel   2048 Mar 25  2003 diskimag
dr-xr-xr-x   1 root  wheel   6144 Jan 27  2003 images
-r-xr-xr-x   1 root  wheel   6577 Nov 14  2002 linux.htm
julian@julian:cd images
julian@julian:ls -la
total 94
dr-xr-xr-x  1 root  wheel   6144 Jan 27  2003 .
dr-xr-xr-x  1 root  wheel   2048 Mar 25  2003 ..
-r-xr-xr-x  1 root  wheel     43 Mar 28  2002 HG.gif
-r-xr-xr-x  1 root  wheel   1685 Apr 16  2002 additional_documents.gif
-r-xr-xr-x  1 root  wheel   1077 Apr 16  2002 additional_documents_bar.gif
[...]
julian@julian:cd ../diskimag/
julian@julian:ls -a
                               XLNT2022.exe
.                              XLNT2023.exe
1R1D1DI.EXE                     fms11_nw.exe
1R1D2DI.EXE                     fms11_uw.exe
7902_win.exe                    infinst_enu-4.30.1006.exe
BOOTDISK.EXE                    lnx6_2r3.exe
FBRV55BD.EXE                    nw-6_2.exe
NT-6_2_1.EXE                    raid1026.exe
NT-6_2_2.EXE                    rh73_13.exe
NW_13.EXE                       rh80_130.exe
README.TXT                      sl81_13.exe
SBR2V101.EXE                    unx-6_2.exe
Win_HR.EXE                      w2k-6_2.exe
XLNT2021.exe
julian@julian:


If I mount it differently I see:
umount /cdrom
julian# mount -ogens,nojoliet,extatt,norrip /cdrom
julian# ls -l /cdrom
total 48
dr-xr-xr-x  1 root  wheel   2048 Nov 14  2002 ACROBAT
-r-xr-xr-x  1 root  wheel  20480 Sep  5  2002 AUTORUN.EXE
-r-xr-xr-x  1 root  wheel     47 Sep  5  2002 AUTORUN.INF
dr-xr-xr-x  1 root  wheel   2048 Mar 25  2003 DISKIMAG
dr-xr-xr-x  1 root  wheel   2048 Feb 18  2003 DOCS
dr-xr-xr-x  1 root  wheel   2048 Mar 24  2003 DRIVERS
dr-xr-xr-x  1 root  wheel   4096 Jan 27  2003 IMAGES
-r-xr-xr-x  1 root  wheel   6577 Nov 14  2002 LINUX.HTM
dr-xr-xr-x  1 root  wheel   2048 Mar 25  2003 SE7501BR
dr-xr-xr-x  1 root  wheel   8192 Mar 19  2003 SMART

(just in case there was some hidden file or something)

either way, how can I make this a bootable device of some other form?

is it possible?





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

Message: 14
Date: Tue, 15 Jun 2004 22:04:25 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: HEADSUP: geom_vinum committed
To: Paul Mather <paul@gromit.dlib.vt.edu>
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040615220333.N640@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Tue, 15 Jun 2004, Paul Mather wrote:

> gvinum.  The configuration was created using vinum.  Gvinum picked it
> up, but incorrectly---the driveoffsets of all the subdisks were
> wrong---meaning none of the filesystems could be mounted.  Vinum, on

After having a closer look I have to agree that the offsets are calculated 
incorrectly.  Hold on, I'll fix that!

cheers,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org                     http://people.freebsd.org/~le/

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

Message: 15
Date: Tue, 15 Jun 2004 22:40:21 +0200
From: Peter Schuller <peter.schuller@infidyne.com>
Subject: Re: Page fault in kernel mode; unable to dump core;
	reproducable
To: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Cc: current@freebsd.org
Message-ID: <200406152240.21398.peter.schuller@infidyne.com>
Content-Type: text/plain;  charset="iso-8859-1"

> That's what I saw on my T40. However, this only happens if I boot with a
> GENERIC kernel instead of a custom one.

This is a T40p, though I am not using GENERIC. I presume there is some 
specific driver/feature that is causing it, that I happen to have loaded and 

you don't.

> I'm not sure about that; however, I can get the backtrace reliably by
> issuing a 'panic' command in DDB.

Hmm, ok. Do I need to do anything during compilation to enable this then 
perhaps? I found some instructions Googling but those were extremely old and 

applicable to the new build system. However I then checked the handbook and I 

didn't see it mentioned.

> Perhaps this is also related to the thread "Thinkpad panic woes (was Re:
> CDRW causes Thinkpad T41 to panic)" about two weeks ago?
>
> http://lists.freebsd.org/pipermail/freebsd-current/2004-June/028173.html

Maybe. While I tried the PS2 solution once, I have i enabled at the moment 
(firstly I want the CD-ROM working and secondly if Windows were to break I  
would no longer be able to boot from CD nor re-enable the drive bay).


-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org


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

Message: 16
Date: Tue, 15 Jun 2004 13:57:58 -0700
From: Peter Wemm <peter@wemm.org>
Subject: Re: PAE on -current pitfalls and issues?
To: freebsd-current@freebsd.org
Cc: Daniel Lang <dl@leo.org>
Message-ID: <200406151357.58738.peter@wemm.org>
Content-Type: text/plain;  charset="iso-8859-1"

On Tuesday 15 June 2004 05:55 am, Daniel Lang wrote:
> Hi again,
>
> Daniel Lang wrote on Tue, Jun 15, 2004 at 02:46:05PM +0200:
> [..]
>
> > - Do I need to include 'options PAE' somehow into the
> >   build of the kernel-modules in order to use them?
> >   Or is a pure static kernel the only option?
>
> I just stumbled across the handbook section about PAE,
> so this says modules are not working. I assume this is
> still the case.

There's a gotcha with KVA_PAGES.  On a standard kernel, there are 1024 
Page directory slots.  By default we use 256 of them for 1 out of 4GB.

On a PAE kernel, there are now 2048 page directory slots.  The same 1:3 
split requires a default KVA_PAGES of 512.  So if you want to increase 
KVA beyond the default 1GB, do not forget to take the scaling into 
account.

> Cheers,
>  Daniel

-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5

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

Message: 17
Date: Tue, 15 Jun 2004 23:00:23 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: HEADSUP: geom_vinum committed
To: Paul Mather <paul@gromit.dlib.vt.edu>
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040615225801.N640@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Tue, 15 Jun 2004, Paul Mather wrote:

> On Tue, 15 Jun 2004 10:46:27 -0500, Craig Boston <craig@xfoil.gank.org> wrot
e:
>
> => I tried it out on a system that has everything on vinum, including root a
nd
> => swap -- loading geom_vinum from loader.  It found _SOME_ of the subdisks 
on
> => its own during boot, but I got "Root mount failed: 22" when trying
> => ufs:/dev/gvinum/root
> [...]
> So, it may have been in your case that the root volume failed to mount
> because gvinum was looking in the wrong place on the drive and getting
> a corrupt superblock.

I've just committed a version that should fix that, could you two please 
cvsup and try again?

thanks for you patience, :-)
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org                     http://people.freebsd.org/~le/

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

Message: 18
Date: Tue, 15 Jun 2004 16:16:20 -0500
From: John <strgout@unixjunkie.com>
Subject: Re: misc/63204: /dev/mixer broken with ESS Maestro-2
To: freebsd-current@freebsd.org
Cc: steven@403forbidden.net
Message-ID: <20040615211620.GA2743@mail.unixjunkie.com>
Content-Type: text/plain; charset=us-ascii

i've started working on this a little more and seem to have found a pattern.
First off 4.10 has all the same problems that 5.2.1 and current have. I have n
ot
tried 4.9, but someone told me they had the same problems with 4.9.
This is what i've noticed when i boot 4.8 kernel and run a 4.10 userland sound

works fine. I did notice this in the dmesg though which is different from the

others.

pcm0: <ESS Technology Maestro-2E> port 0xfc00-0xfcff irq 11 at device 12.0 on 
pci0
pcm0: agg_rdcodec() RW_DONE timed out.
-> pcm0: will perform cold reset. <-
pcm0: <Asahi Kasei AK4540 ac97 codec>


Note the will perform cold reset. I don't see this with 4.10 or current and
from looking at the bugreport no one else does either.
i tried removing this if statment (but nothing between it) from maestro.c

/* if (bus_space_read_1(ess->st, ess->sh, PORT_CODEC_STAT)
            & CODEC_STAT_MASK) { */
blablabl

}

but it still didn't work with 4.10. Well maybe this is enough info for someone

with a little more clue to look into this. Also could someone assign this to 

sound@ assuming that is the correct place for this.

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

Message: 19
Date: Tue, 15 Jun 2004 14:30:00 -0700
From: Kris Kennaway <kris@obsecurity.org>
Subject: Re: cccc junk pointer (was: Re: [current tinderbox] failure
	on	i386/pc98)
To: Robert Watson <rwatson@freebsd.org>
Cc: i386@freebsd.org
Message-ID: <20040615212959.GA21965@xor.obsecurity.org>
Content-Type: text/plain; charset="us-ascii"

On Tue, Jun 15, 2004 at 01:20:35PM -0400, Robert Watson wrote:

> > cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-ext
erns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast
-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i
386/pc98/src/sys -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/acpica -I/
tinderbox/CURRENT/i386/pc98/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/pc9
8/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/pf -
I/tinderbox/CURRENT/i386/pc98/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i38
6/pc98/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/pc98/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 
-DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-st
rings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functio
ns /tinderbox/CURRENT/i386/pc98/src/sys/ddb/db_elf.c
> > cccc:  in free(): error: junk pointer, too high to make sense
> > Abort trap (core dumped)
> > *** Error code 134
> > 
> > Stop in /tinderbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/
src/sys/LINT.
> > *** Error code 1
> > 
> > Stop in /tinderbox/CURRENT/i386/pc98/src.
> > *** Error code 1
> > 
> > Stop in /tinderbox/CURRENT/i386/pc98/src.
> > TB --- 2004-06-15 17:13:44 - WARNING: /usr/bin/make returned exit code  1 

> > TB --- 2004-06-15 17:13:44 - ERROR: failed to build lint kernel
> > TB --- 2004-06-15 17:13:44 - tinderbox aborted
> 
> I've noticed a few of these recently.  Do we have any information on
> whether this is a compiler bug, a hardware problem on the tinderbox, or a
> kernel problem on the tinderbox?

I'd be suspicious of ithread pre-emption..try backing out
sys/i386/i386/intr_machdep.c

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040615/
b625ddcd/attachment-0001.bin

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

Message: 20
Date: Tue, 15 Jun 2004 20:17:05 +0200
From: Jens Schweikhardt <schweikh@schweikhardt.net>
Subject: Re: Storing a lot of little files
To: Eugene <el2000@km.ru>
Cc: freebsd-current@freebsd.org
Message-ID: <20040615181705.GA42947@schweikhardt.net>
Content-Type: text/plain; charset=us-ascii

I'm just brainstorming here, but...

#   I need to store a lot (hundreds of millions) of very little files (from 8 
bytes
#   to 50K) in my filesystem.
#   What's the best way to optimize it?

What about not using a file system at all, but a database that maps
file names to contents? I'm not sure how well dbm(3) scales, or other
similar "simple" databases, but it might prove workable.

Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)

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

Message: 21
Date: Tue, 15 Jun 2004 16:10:08 -0700 (PDT)
From: Julian Elischer <julian@elischer.org>
Subject: Re: Storing a lot of little files
To: Cyrille Lefevre <clefevre-lists@9online.fr>
Cc: freebsd-current@freebsd.org
Message-ID:
	<Pine.BSF.4.21.0406151606070.50415-100000@InterJet.elischer.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Tue, 15 Jun 2004, Cyrille Lefevre wrote:

> "Eugene" <el2000@km.ru> wrote:
> > Hello freebsd-current,
> >
> >   I need to store a lot (hundreds of millions) of very little files (from 
8
> bytes
> >   to 50K) in my filesystem.
> 
> some times ago, there where something called "inode fs" (aka IFS).
> unfortunatelly, this was killed from -current (5.x) two years ago.
> 
> more details here (google "freebsd +ifs +inode"):
> 
> http://www.squid-cache.org/mail-archive/squid-dev/200101/0432.html
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/ufs/ifs/Attic/README
> http://lists.freebsd.org/pipermail/freebsd-fs/2003-June/000129.html

It's "supposed" to be coming back some time..
there are also "microfiles" (< 64 bytes)
which store the data in the inode.. You can simulate this
by using a symlink and using readlink(2) to instead of read(2)
when ever you encounter a symlink. (if you have source).

There were patches for microfiles floating around somewhere but
they were "pre-softupdates". I still think it would be a good idea.

/etc/malloc.conf uses this approach.


> 
> >   What's the best way to optimize it? Which newfs options can you
> >   recommend me?
> 
> so, the best way would be to have multi-level directories to reduce
> the number of entries in one directory whatever the underlying file
> system is (except, maybe, database-like filesystems).
> 
> something like :
> 
> /a/b/c/cfile
> /a/b/d/dfile
> /a/c/e/efile
> etc.
> 
> using google "million +files +directory +fs" :
> 
> http://aa11.cjb.net/sun_managers/2000/01/msg00303.html
> 
> Cyrille Lefevre.
> -- 
> home: mailto:cyrille.lefevre@laposte.net
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 


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

Message: 22
Date: Tue, 15 Jun 2004 16:19:07 -0700 (PDT)
From: Julian Elischer <julian@elischer.org>
Subject: Re: Possible Threading problem with -CURRENT / MySQL?
To: Lasse Laursen <laursen@netgroup.dk>
Cc: freebsd-current@freebsd.org
Message-ID:
	<Pine.BSF.4.21.0406151616520.50415-100000@InterJet.elischer.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Mon, 14 Jun 2004, Lasse Laursen wrote:

> The server runs fine until a single thread/query suddenly locks up the
> entire MySQL daemon. After that all queries are just queued and a restart of

> the daemon is needed to unlock the system. The system itself is stable
> enough as far as I can see. 'top' reports a lot of locks (*Giant) so I
> assume that it's some weird problem with the threading? We used to use
> FreeBSD on non-SMP machines without any problems.
> 
> I have tried with linux threads as well but the same problem occurs.
> 
> Have anyone experienced any similar problems and found a solution to this
> rather weird problem?

When this happens you need to examine the state of each thread.
I have not seen teh result of a 'ps alxH' when this happens..

Also you should try 'ktrace' the process for a while when stopped as it
might be retrying something , which may show up.






julian



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

Message: 23
Date: Tue, 15 Jun 2004 16:20:38 -0700 (PDT)
From: Julian Elischer <julian@elischer.org>
Subject: Re: Possible Threading problem with -CURRENT / MySQL?
To: mike <mike@mike2k.com>
Cc: Lasse Laursen <laursen@netgroup.dk>
Message-ID:
	<Pine.BSF.4.21.0406151619180.50415-100000@InterJet.elischer.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Mon, 14 Jun 2004, mike wrote:

> welcome to our hell. we've been experiencing mysql problems on freebsd 5.x
> as well. it sounds like scheduler/threading is to blame but we were not
> able to give sufficient or proper motivation to the folks who could
> examine this deeper - we even offered $500 cash to whomever stepped up to
> help resolve this.
> 
> linux runs almost 2x as fast on the same hardware with no configuring -
> and we get nearly the same results running in single CPU mode vs. dual CPU
> mode on fbsd... something is definately fubar with the mysql+fbsd5.x
> combination.
> 
>
 
You complained about this some time ago and you have still not responded 
with the information I suggest..

---- quote from my previous mail---------------
I'm not saying I can help particularly
but the problem is that the people who can help are generally not
interested in databases.. what needs to happen is for 
some analysis to be made as to where the time is being spent..
I vaguely remember you saying htat teh cpu was not piegged when you had
this problem... You didn't indicate whether the disks were at 100%.

to check this you should try running systat -vmstat
while noticing the slowdown and try see what is at 100%.
if it turns out that you are NOT seeing disk or CPU limitted
then the next step would be to take a snapshot of operations using 
ktrace -d -p (pid)  for 20 second followe by krtace -C to turn it off
again.

then looking at the output may give an idea of what operations are
taking too long, and what is waiting on what..

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

Julian




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

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

End of freebsd-current Digest, Vol 65, Issue 7
**********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......

�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234]