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. identifying single drives on hardware RAID0 (Ruben Bloemgarten)
   2. [current tinderbox] failure on i386/pc98 (FreeBSD Tinderbox)
   3. [current tinderbox] failure on ia64/ia64 (FreeBSD Tinderbox)
   4. hang on reboot with -Current (David Gurvich)
   5. [current tinderbox] failure on powerpc/powerpc (FreeBSD Tinderbox)
   6. Re: How to catch interrupt (Roman Kurakin)
   7. Re: Serial console - how to reboot? (Frode Nordahl)
   8. Re: Serial console - how to reboot? (Eirik Oeverby)
   9. Re: [current tinderbox] failure on amd64/amd64 (Bruce M Simpson)
  10. vr0: couldn't map memory/ports (Andrey Smirnov)
  11. Re: Bogus signal handler causes kernel panic (5.2.1-p8/i386)
      (Simon Barner)
  12. [current tinderbox] failure on sparc64/sparc64 (FreeBSD Tinderbox)
  13. Re: Possible Threading problem with -CURRENT / MySQL?
      (Claus Guttesen)
  14. Re: Possible Threading problem with -CURRENT / MySQL?
      (Daniel Eischen)
  15. Re: USB woes.  (Ian FREISLICH)
  16. Heap size limit in java (Paul Dlug)
  17. Re: Heap size limit in java (Andrew Milton)
  18. Re: ** HEADS UP **  GDB detached from the 5-CURRENT build
      (David O'Brien)
  19. Re: Heap size limit in java (Charles Swiger)
  20. Re: strange message appearing in a fresh current (Doug White)
  21. Re: Problems installing FreeBSD with 3ware 9500S-4LP (Doug White)
  22. Re: identifying single drives on hardware RAID0 (Doug White)
  23. Re: Realtek RT8139 (onboard) - failed to receive packet in
      loopback	mode (Bill Paul)
  24. Re: Heap size limit in java (Doug White)
  25. Re: ** HEADS UP **  GDB detached from the 5-CURRENT build
      (Roman Kurakin)
  26. RE: STI, HLT in acpi_cpu_idle_c1 (Don Bowman)
  27. Re: Problems installing FreeBSD with 3ware 9500S-4LP
      (Patrick Hurrelmann)
  28. Stack backtrace (Grover Lines)
  29. importing gcc 3.4? (Sean McNeil)


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

Message: 1
Date: Fri, 18 Jun 2004 14:04:09 +0200
From: "Ruben Bloemgarten" <ruben@bloemgarten.demon.nl>
Subject: identifying single drives on hardware RAID0
To: <freebsd-current@freebsd.org>
Message-ID: <E1BbI87-000Ec4-00@post-20.mail.nl.demon.net>
Content-Type: text/plain;	charset="US-ASCII"

Hi all,

 

Probably a dumb question here : but I want to identify a specific drive in
RAID0 config, but only the logical drive is reported dmesg. Is this even
possible ? Also, if this post is misdirected, my bad. 

 

Thanks in advance, 

 

Ruben 


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

Message: 2
Date: Fri, 18 Jun 2004 08:19:37 -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: <20040618121937.31A637306D@freebsd-current.sentex.ca>

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

TB --- 2004-06-18 11:03:14 - /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-18 11:57:39 - building generic kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-06-18 11:57:39 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src

TB --- 2004-06-18 11:57:39 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Fri Jun 18 11:57:39 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 Fri Jun 18 12:10:55 GMT 2004
TB --- 2004-06-18 12:10:55 - generating LINT kernel config
TB --- 2004-06-18 12:10:55 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src/
sys/pc98/conf
TB --- 2004-06-18 12:10:55 - /usr/bin/make -B LINT
TB --- 2004-06-18 12:10:56 - building LINT kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-06-18 12:10:56 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src

TB --- 2004-06-18 12:10:56 - /usr/bin/make buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Fri Jun 18 12:10:56 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/netinet/ip_output.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/netinet/raw_ip.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/netinet/tcp_debug.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/netinet/tcp_hostcache.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/netinet/tcp_input.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/netinet/tcp_output.c
/tinderbox/CURRENT/i386/pc98/src/sys/netinet/tcp_output.c: In function `tcp_ou
tput':
/tinderbox/CURRENT/i386/pc98/src/sys/netinet/tcp_output.c:886: warning: `save'
 might be used uninitialized in this function
*** Error code 1

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-18 12:19:36 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-06-18 12:19:36 - ERROR: failed to build lint kernel
TB --- 2004-06-18 12:19:36 - tinderbox aborted


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

Message: 3
Date: Fri, 18 Jun 2004 08:26:11 -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: <20040618122611.3672F7306D@freebsd-current.sentex.ca>

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

TB --- 2004-06-18 12:24: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
[...]
/tinderbox/CURRENT/ia64/ia64/src/contrib/binutils/bfd/cofflink.c: At top level
:
/tinderbox/CURRENT/ia64/ia64/src/contrib/binutils/bfd/cofflink.c:2831: error: 
syntax error before "_bfd_coff_generic_relocate_section"
/tinderbox/CURRENT/ia64/ia64/src/contrib/binutils/bfd/cofflink.c: In function 
`_bfd_coff_generic_relocate_section':
/tinderbox/CURRENT/ia64/ia64/src/contrib/binutils/bfd/cofflink.c:2868: error: 
`FALSE' undeclared (first use in this function)
/tinderbox/CURRENT/ia64/ia64/src/contrib/binutils/bfd/cofflink.c:2941: error: 
structure has no member named `undefined_symbol'
/tinderbox/CURRENT/ia64/ia64/src/contrib/binutils/bfd/cofflink.c:2943: error: 
`TRUE' undeclared (first use in this function)
/tinderbox/CURRENT/ia64/ia64/src/contrib/binutils/bfd/cofflink.c:2951: error: 
structure has no member named `in_reloc_p'
/tinderbox/CURRENT/ia64/ia64/src/contrib/binutils/bfd/cofflink.c:3008: error: 
structure has no member named `reloc_overflow'
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src/gnu/usr.bin/binutils/libbfd.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src/gnu/usr.bin/binutils.
*** Error code 1

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

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

Stop in /tinderbox/CURRENT/ia64/ia64/src.
TB --- 2004-06-18 12:26:11 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-06-18 12:26:11 - ERROR: failed to build world
TB --- 2004-06-18 12:26:11 - tinderbox aborted


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

Message: 4
Date: Fri, 18 Jun 2004 08:30:03 -0400
From: David Gurvich <david.gurvich@verizon.net>
Subject: hang on reboot with -Current
To: freebsd-current@freebsd.org
Message-ID: <391112FA-C123-11D8-89AB-000393AB07D8@verizon.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Backing out int_machdep.c does not affect this.  Nor does booting with 
or without ACPI.  What is the method to back out libpthread support?  
Wanted to test that next.  The nvidia-driver works on iso-image 
2/22/2004 which does not include libpthread, as well as being more 
stable in general.  5.2.1-Current worked when there were hanging 
dependencies which were cleaned out with a new buildworld buildkernel 
cycle.


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

Message: 5
Date: Fri, 18 Jun 2004 08:30:35 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on powerpc/powerpc
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<powerpc@freebsd.org>
Message-ID: <20040618123035.3492D7306D@freebsd-current.sentex.ca>

TB --- 2004-06-18 12:26:11 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-06-18 12:26:11 - starting CURRENT tinderbox run for powerpc/powerp
c
TB --- 2004-06-18 12:26:11 - checking out the source tree
TB --- 2004-06-18 12:26:11 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c
TB --- 2004-06-18 12:26:11 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A 
src
TB --- 2004-06-18 12:28:30 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-06-18 12:28:30 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c/src
TB --- 2004-06-18 12:28:30 - /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
[...]
sed -e 's,!!TRAD_HEADER!!,,g' /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.b
in/binutils/libbfd/config.h.fbsd > config.h
echo '#define BFD_VERSION	214920000'	> bfdver.h
echo '#define BFD_VERSION_DATE	20040510'	>> bfdver.h
echo '#define BFD_VERSION_STRING "2.15 [FreeBSD] 2004-05-23"'	>> bfdver.h
rm -f .depend
mkdep -f .depend -a    -I. -I/tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bi
n/binutils/libbfd/powerpc -I/tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin
/binutils/libbfd -I/tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils
/libbfd/../libbfd/powerpc -I/tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/tin
derbox/CURRENT/powerpc/powerpc/src/i386/tinderbox/CURRENT/powerpc/powerpc/src/
gnu/usr.bin/binutils/libbfd/../libbfd -I/tinderbox/CURRENT/powerpc/powerpc/src
/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/include -DDEFAULT_VE
CTOR=bfd_elf32_powerpc_vec -D_GNU_SOURCE -I/tinderbox/CURRENT/powerpc/powerpc/
src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd -DSELECT_ARCH
ITECTURES=" &bfd_powerpc_arch" -DHAVE_bfd_elf32_powerpc_vec -DHAVE_bfd_elf32_p
owerpcle_vec -DHAVE_ppcboot_vec -DSELECT_VECS=" &bfd_elf32_powerpc_vec ,&bfd_e
lf32_powerpcle_vec ,&ppcboot_vec" -I/home/tinderbox/sandbox/CURRENT/powerpc/po
werpc/obj/powerpc/tinderbox/CURRENT/powerpc/powerpc/sr
 c/i386/legacy/usr/include /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/
binutils/libbfd/../../../../contrib/binutils/bfd/cpu-powerpc.c /tinderbox/CURR
ENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binuti
ls/bfd/cpu-rs6000.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutil
s/libbfd/../../../../contrib/binutils/bfd/elf32.c /tinderbox/CURRENT/powerpc/p
owerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf32-
gen.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../..
/../../contrib/binutils/bfd/elf32-ppc.c /tinderbox/CURRENT/powerpc/powerpc/src
/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elflink.c /tinde
rbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contr
ib/binutils/bfd/ppcboot.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/b
inutils/libbfd/../../../../contrib/binutils/bfd/archive.c /tinderbox/CURRENT/p
owerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../.
 ./../contrib/binutils/bfd/archive64.c /tinderbox/CURRENT/powerpc/powerpc/src/
gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/archures.c /tinde
rbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contr
ib/binutils/bfd/bfd.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binut
ils/libbfd/../../../../contrib/binutils/bfd/binary.c /tinderbox/CURRENT/powerp
c/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/cac
he.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../
./../contrib/binutils/bfd/coffgen.c /tinderbox/CURRENT/powerpc/powerpc/src/gn
u/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/corefile.c /tinderb
ox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib
/binutils/bfd/elf.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutil
s/libbfd/../../../../contrib/binutils/bfd/elf-eh-frame.c /tinderbox/CURRENT/po
werpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../..
 /../contrib/binutils/bfd/elf-strtab.c /tinderbox/CURRENT/powerpc/powerpc/src/
gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/format.c /tinderb
ox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib
/binutils/bfd/hash.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binuti
ls/libbfd/../../../../contrib/binutils/bfd/ihex.c /tinderbox/CURRENT/powerpc/p
owerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/init.c
 /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../.
./contrib/binutils/bfd/libbfd.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr
.bin/binutils/libbfd/../../../../contrib/binutils/bfd/linker.c /tinderbox/CURR
ENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binuti
ls/bfd/merge.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/lib
bfd/../../../../contrib/binutils/bfd/opncls.c /tinderbox/CURRENT/powerpc/power
pc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib
 /binutils/bfd/reloc.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binu
tils/libbfd/../../../../contrib/binutils/bfd/section.c /tinderbox/CURRENT/powe
rpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/s
rec.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../..
/../../contrib/binutils/bfd/stab-syms.c /tinderbox/CURRENT/powerpc/powerpc/src
/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/stabs.c /tinderb
ox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib
/binutils/bfd/syms.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binuti
ls/libbfd/../../../../contrib/binutils/bfd/targets.c /tinderbox/CURRENT/powerp
c/powerpc/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/tek
hex.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd/../..
/../../contrib/binutils/bfd/dwarf1.c /tinderbox/CURRENT/powerpc/powerpc/src/gn
u/usr.bin/binutils/libbfd/../../../../contrib/binutils
 /bfd/dwarf2.c /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/lib
bfd/../../../../contrib/binutils/bfd/bfdio.c /tinderbox/CURRENT/powerpc/powerp
c/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/simple.c
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/elf32-ppc.c:34:23:
 elf32-ppc.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils.
*** Error code 1

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

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

Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
TB --- 2004-06-18 12:30:35 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-06-18 12:30:35 - ERROR: failed to build world
TB --- 2004-06-18 12:30:35 - tinderbox aborted


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

Message: 6
Date: Fri, 18 Jun 2004 16:38:02 +0400
From: Roman Kurakin <rik@cronyx.ru>
Subject: Re: How to catch interrupt
To: Bruce Evans <bde@zeta.org.au>
Cc: freebsd-current@freebsd.org
Message-ID: <40D2E22A.40702@cronyx.ru>
Content-Type: text/plain; charset=us-ascii; format=flowed

Ok. Thanks for information. I guess I need to remove this code from my 
driver.
This code is part of cx(4) and ctau(4) drivers. These cards are legacy 
ISA cards,
IRQ line could be set any (from a definite set). The only reason why we 
probe
for IRQ is to write to the user messages that IRQ is not functional - 
most probable
it is assigned fot PCI/PNP. After we add this code calls to our tech 
support with
question why device is not working (due to this reason) decreased twice.

rik

Bruce Evans wrote:

>On Thu, 17 Jun 2004, Roman Kurakin wrote:
>  
>
>>Bruce Evans wrote:
>>    
>>
>>> [using isa_irq_pending()]
>>>
>>>      
>>>
>>So spin lock should help me in some cases but there is other cases were
>>this wouldn't help or I miss
>>smth?
>>    
>>
>
>Right.  isa_irq_pending() only works right for isa devices at boot time
>(not for probing later).
>
>  
>
>>In this case if some driver will acquire interrupt while probing
>>and after this it will release it
>>(for example it will decide that this is wrong intr and will try other),
>>and after we will try to load
>>sio driver we may fail to load it case we would unable to check this
>>intr line.
>>    
>>
>
>sio only uses this mechanism to print a helpful (?) message about which
>irqs it found.  It gives priority to the irq resource.
>
>There's really nothing better than actually setting up the irq and
>seeing if one arrives.  sio doesn't do this mainly because when it was
>written its probe was run before interrupts are fully unmasked (they
>were blocked by splhigh() until the end of isa_configure()).  npx used
>to have the same problem, but I changed it to use bus_setup_intr()
>normally.  This caused new problems which were only fixed recently in
>npx and are unfixed at lower levels.  The interrupt system still leaves
>edge triggered interrupt active after bus_teardown_intr().
>
>If you don't know the irq number and don't trust the irq resource to
>give it, then there seems to be nothing better than trying all irq
>numbers until your irq is found or bus_setup_intr() fails.  There can
>be up to 193 (?) possible irq numbers on i386's.
>
>Bruce
>
>
>  
>




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

Message: 7
Date: Fri, 18 Jun 2004 14:47:13 +0200
From: Frode Nordahl <frode@nordahl.net>
Subject: Re: Serial console - how to reboot?
To: Eirik Oeverby <ltning@anduin.net>
Cc: current@freebsd.org
Message-ID: <9F39B3EE-C125-11D8-AEFE-000A95A9A574@nordahl.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hello,

AMI MegaRAID also had this problem on Linux, so I suspect it's a design 
fault in the RAID controller or firmware / BIOS.

They even mentioned in a previous firmware README that you should 
increase the timeout in the Linux SCSI driver to avoid this problem :-)


Mvh,
Frode

On Jun 12, 2004, at 12:08, Eirik Oeverby wrote:

> Hi all,
>
> I have recently been getting the following messages on my console:
> swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 
> 1072, size: 4096
> swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 832, 
> size: 4096
> swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 512, 
> size: 4096
> swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 576, 
> size: 4096
> swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 584, 
> size: 4096
>
> I am aware that this usually indicates a bad drive or something, but 
> given that it's a RAID volume hanging on an AMI MegaRAID controller 
> (SCSI), and none of the drives in the array are degraded, that can't 
> really be the case. I'm suspecting a bug in the driver (though freebsd 
> 4.10 should be stable, right?) or a faulty cable or such.
>
> What would mitigate the problem for now though would be to have a way 
> to reboot the system. I'm about 1000 miles away from the box, so I 
> can't go there, but I do have access via serial console (which is 
> where I'm getting these messages). I'm using minicom, but could use 
> any other serial comms package on FreeBSD. Not sure if C-A-D would 
> help, but as I don't know how to push that keycombo through minicom 
> anyway, I'm kinda stuck.
> The box is replying to pings but no other services are available. The 
> console is also 'dead', i.e. i can't get any command prompts or login 
> prompt. Only these messages who keep showing up, about 1 per second.
>
> Entering the kernel debugger might help, though I'm actually not sure 
> if it's compiled into the running kernel. But if it is, how can I get 
> to it via serial?
>
> Anyone?
>
> Thanks,
> /Eirik
>
> _______________________________________________
> 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: 8
Date: Fri, 18 Jun 2004 14:52:37 +0200
From: Eirik Oeverby <ltning@anduin.net>
Subject: Re: Serial console - how to reboot?
To: Frode Nordahl <frode@nordahl.net>
Cc: current@freebsd.org
Message-ID: <40D2E595.9010804@anduin.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

Frode Nordahl wrote:
> Hello,
> 
> AMI MegaRAID also had this problem on Linux, so I suspect it's a design 
> fault in the RAID controller or firmware / BIOS.
> 
> They even mentioned in a previous firmware README that you should 
> increase the timeout in the Linux SCSI driver to avoid this problem :-)

Doubt that.

It has been stable (uptimes of 3 months plus) on another motherboard. 
Right now I'm suspecting the root cause is a lousy connection to one of 
the drives on the bus.

Interesting info, though. Will have to look into it again..

Thanks,
/Eirik


> 
> 
> Mvh,
> Frode
> 
> On Jun 12, 2004, at 12:08, Eirik Oeverby wrote:
> 
>> Hi all,
>>
>> I have recently been getting the following messages on my console:
>> swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 
>> 1072, size: 4096
>> swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 832, 
>> size: 4096
>> swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 512, 
>> size: 4096
>> swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 576, 
>> size: 4096
>> swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 584, 
>> size: 4096
>>
>> I am aware that this usually indicates a bad drive or something, but 
>> given that it's a RAID volume hanging on an AMI MegaRAID controller 
>> (SCSI), and none of the drives in the array are degraded, that can't 
>> really be the case. I'm suspecting a bug in the driver (though freebsd 
>> 4.10 should be stable, right?) or a faulty cable or such.
>>
>> What would mitigate the problem for now though would be to have a way 
>> to reboot the system. I'm about 1000 miles away from the box, so I 
>> can't go there, but I do have access via serial console (which is 
>> where I'm getting these messages). I'm using minicom, but could use 
>> any other serial comms package on FreeBSD. Not sure if C-A-D would 
>> help, but as I don't know how to push that keycombo through minicom 
>> anyway, I'm kinda stuck.
>> The box is replying to pings but no other services are available. The 
>> console is also 'dead', i.e. i can't get any command prompts or login 
>> prompt. Only these messages who keep showing up, about 1 per second.
>>
>> Entering the kernel debugger might help, though I'm actually not sure 
>> if it's compiled into the running kernel. But if it is, how can I get 
>> to it via serial?
>>
>> Anyone?
>>
>> Thanks,
>> /Eirik
>>
>> _______________________________________________
>> 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: 9
Date: Fri, 18 Jun 2004 14:13:06 +0100
From: Bruce M Simpson <bms@spc.org>
Subject: Re: [current tinderbox] failure on amd64/amd64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>
Cc: amd64@freebsd.org
Message-ID: <20040618131305.GJ58783@empiric.dek.spc.org>
Content-Type: text/plain; charset=us-ascii

On Fri, Jun 18, 2004 at 06:56:39AM -0400, FreeBSD Tinderbox wrote:
> /tinderbox/CURRENT/amd64/amd64/src/sys/netinet/tcp_output.c: In function `tc
p_output':
> /tinderbox/CURRENT/amd64/amd64/src/sys/netinet/tcp_output.c:886: warning: `s
ave' might be used uninitialized in this function
> *** Error code 1

Should be dealt with now

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

Message: 10
Date: Fri, 18 Jun 2004 16:50:26 +0400
From: Andrey Smirnov <smir@delit.net>
Subject: vr0: couldn't map memory/ports
To: current@freebsd.org
Message-ID: <40D2E512.8070700@delit.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hello!

Upgrading my notebook from Mar 19 -CURRENT to Jun 16 revealed a problem:

vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x1400-0x14ff irq 10 at 
device 18.0 on pci0
vr0: couldn't map ports/memory
device_attach: vr0 attach returned 6

The same thing happens to firewire, it doesn't bother me much.
Relevant lines about vr0 from Mar 19 kernel say:

vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x1400-0x14ff irq 10 at 
device 18.0 on pci0
vr0: Ethernet address: 00:40:ca:bf:f0:87
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: OUI 0x004063, model 0x0032, rev. 8
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: bpf attached

It seems to me this is something with resource allocation, I tried 
setting 'OS' in BIOS to 'DOS' / 'Win XP' without any visible difference.

Other devices work OK (including ndis0, nvidia0). In my tests I disabled 
all kernel modules (sound, nvidia), although this doesn't change 
anything. Booting with ACPI disabled also doesn't change anything.

Good news are that now (with Jun 16) power button works and I'm able to 
switch off my notebook without 'shutdown -p now'.

I put verbose dmesg with Mar 19, Jun 16 kernel and acpidump -t -d output 
here:

http://images.delit.net/dmesg.bad.v
http://images.delit.net/dmesg.good.v
http://images.delit.net/acpi.asl.bz2

Thanks,
Andrey.

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

Message: 11
Date: Fri, 18 Jun 2004 15:49:44 +0200
From: Simon Barner <barner@in.tum.de>
Subject: Re: Bogus signal handler causes kernel panic (5.2.1-p8/i386)
To: Bruce Evans <bde@zeta.org.au>
Cc: current@freebsd.org
Message-ID: <20040618134944.GC1049@zi025.glhnet.mhn.de>
Content-Type: text/plain; charset="us-ascii"

Bruce,

first of all thanks a lot for your comprehensive replys. I tried both of
your patched with the following results:

- patch 1 ("the quick & dirty one"): The panic is gone, the program is its
  infinite loop printing lots of '.'s and some '*'s, without any
  recognizable pattern and consumes 100% cpu, but nothing bad happens.

- patch 2 ("the not so quick one"): My system still panics (stack trace
  attached).
  
  Additionally, I see the following messages on my console (e.g. when I
  run `script' (but only as root IIRC, I can examine this further if you
  need this information):
  
Jun 18 14:56:09 zi025 kernel: kernel trap 22 with interrupts disabled
Jun 18 14:56:09 zi025 kernel: npxdna: fpcurthread == curthread 1 times
                                                              ^^^
                                            this counter is increasing

For your reference, I also attached my kernel configuration.

Simon
-------------- next part --------------
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
panic: arithmetic trap
panic messages:
---
Fatal trap 6: arithmetic trap while in kernel mode
instruction pointer	= 0x8:0xc061670a
stack pointer	        = 0x10:0xcb4b89e4
frame pointer	        = 0x10:0xcb4b89e4
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= 775 (a.out)
trap number		= 6
panic: arithmetic trap

syncing disks, buffers remaining... 224 224 224 224 224 224 224 224 224 224 22
4 224 224 224 224 224 224 224 224 224 
giving up on 139 buffers
Uptime: 1m46s
Dumping 192 MB
 16 32 48 64 80 96 112 128 144 160 176
---
Reading symbols from /usr/src/sys/i386/compile/KISTE/modules/usr/src/sys/modul
es/fdescfs/fdescfs.ko.debug...done.
Loaded symbols for /usr/src/sys/i386/compile/KISTE/modules/usr/src/sys/modules
/fdescfs/fdescfs.ko.debug
Reading symbols from /boot/kernel/green_saver.ko...done.
Loaded symbols for /boot/kernel/green_saver.ko
#0  doadump () at ../../../kern/kern_shutdown.c:240
240		dumping++;
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:240
#1  0xc04f0cbb in boot (howto=256) at ../../../kern/kern_shutdown.c:372
#2  0xc04f0f91 in panic () at ../../../kern/kern_shutdown.c:550
#3  0xc0611f68 in trap_fatal (frame=0xcb4b89a4, eva=0)
    at ../../../i386/i386/trap.c:821
#4  0xc0611ab4 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = -1055699840, t
f_ebp = -884241948, tf_isp = -884241968, tf_ebx = 514, tf_edx = -1055699840, t
f_ecx = -884241776, tf_eax = -884241776, tf_trapno = 6, tf_err = 0, tf_eip = -
1067358454, tf_cs = 8, tf_eflags = 65606, tf_esp = -884241932, tf_ss = -106735
8532})
    at ../../../i386/i386/trap.c:618
#5  0xc0605998 in calltrap () at {standard input}:94
#6  0xc06166bc in npxsetregs (td=0x0, addr=0x0) at ../../../i386/isa/npx.c:963

#7  0xc060bd6b in set_fpcontext (td=0xc1134c80, mcp=0x0)
    at ../../../i386/i386/machdep.c:2529
#8  0xc060a76a in sigreturn (td=0xc1134c80, uap=0x0)
    at ../../../i386/i386/machdep.c:982
#9  0xc061224b in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077940612, tf_esi = -107
7940604, tf_ebp = -1077940684, tf_isp = -884241036, tf_ebx = 1, tf_edx = 67240
9248, tf_ecx = 13, tf_eax = 417, tf_trapno = 22, tf_err = 2, tf_eip = -1077936
211, tf_cs = 31, tf_eflags = 582, tf_esp = -1077941560, tf_ss = 47})
    at ../../../i386/i386/trap.c:1010
#10 0xc06059ed in Xint0x80_syscall () at {standard input}:136
---Can't read userspace from dump, or kernel process---

(kgdb) bt full
#0  doadump () at ../../../kern/kern_shutdown.c:240
No locals.
#1  0xc04f0cbb in boot (howto=256) at ../../../kern/kern_shutdown.c:372
No locals.
#2  0xc04f0f91 in panic () at ../../../kern/kern_shutdown.c:550
	td = (struct thread *) 0xc1134c80
	bootopt = 256
	newpanic = 0
	ap = 0xcb4b894c "G\001e?"
	buf = "arithmetic trap", '\0' <repeats 240 times>
#3  0xc0611f68 in trap_fatal (frame=0xcb4b89a4, eva=0)
    at ../../../i386/i386/trap.c:821
	code = 16
	type = 6
	ss = 16
	esp = 0
	softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, 
  ssd_dpl = 0, ssd_p = 1, ssd_xx = 0, ssd_xx1 = 0, ssd_def32 = 1, ssd_gran = 1
}
#4  0xc0611ab4 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = -1055699840, t
f_ebp = -884241948, tf_isp = -884241968, tf_ebx = 514, tf_edx = -1055699840, t
f_ecx = -884241776, tf_eax = -884241776, tf_trapno = 6, tf_err = 0, tf_eip = -
1067358454, tf_cs = 8, tf_eflags = 65606, tf_esp = -884241932, tf_ss = -106735
8532})
    at ../../../i386/i386/trap.c:618
---Type <return> to continue, or q <return> to quit---
	td = (struct thread *) 0xc1134c80
	p = (struct proc *) 0xc226dc5c
	sticks = 3257326684
	i = 0
	ucode = 0
	type = 6
	code = 0
	eva = 0
#5  0xc0605998 in calltrap () at {standard input}:94
No locals.
#6  0xc06166bc in npxsetregs (td=0x0, addr=0x0) at ../../../i386/isa/npx.c:963

	s = 514
#7  0xc060bd6b in set_fpcontext (td=0xc1134c80, mcp=0x0)
    at ../../../i386/i386/machdep.c:2529
	addr = (union savefpu *) 0xcb4b8a90
#8  0xc060a76a in sigreturn (td=0xc1134c80, uap=0x0)
    at ../../../i386/i386/machdep.c:982
	uc = {uc_sigmask = {__bits = {0, 0, 0, 0}}, uc_mcontext = {
    mc_onstack = 0, mc_gs = 47, mc_fs = 47, mc_es = 47, mc_ds = 47, 
    mc_edi = -1077940612, mc_esi = -1077940604, mc_ebp = -1077940684, 
    mc_isp = -884241036, mc_ebx = 1, mc_edx = 672409248, mc_ecx = 13, 
    mc_eax = 1, mc_trapno = 12, mc_err = 2, mc_eip = 671874187, mc_cs = 31, 
    mc_eflags = 662, mc_esp = -1077940740, mc_ss = 47, mc_len = 640, 
    mc_fpformat = 65537, mc_ownedfp = 131074, mc_spare1 = {0}, mc_fpstate = {

---Type <return> to continue, or q <return> to quit---
      -60801, -65536, -1, 0, 0, 0, -65536, -589504512, -589505316, 1476411390,
 
      175106046, 1073648009, -402761728, -1853289873, 1476411390, 175106046, 

      1073648009, -1396195328, -1694889029, 16382, 0, 1073989632, 
      0 <repeats 106 times>}, mc_spare2 = {0, 0, 0, 0, 0, 0, 0, 0}}, 
  uc_link = 0x0, uc_stack = {ss_sp = 0x0, ss_size = 0, ss_flags = 4}, 
  uc_flags = 0, __spare__ = {0, 0, 0, 0}}
	p = (struct proc *) 0xc226dc5c
	regs = (struct trapframe *) 0xcb4b8d48
	cs = 0
	eflags = 662
	error = 0
	ret = 0
#9  0xc061224b in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077940612, tf_esi = -107
7940604, tf_ebp = -1077940684, tf_isp = -884241036, tf_ebx = 1, tf_edx = 67240
9248, tf_ecx = 13, tf_eax = 417, tf_trapno = 22, tf_err = 2, tf_eip = -1077936
211, tf_cs = 31, tf_eflags = 582, tf_esp = -1077941560, tf_ss = 47})
    at ../../../i386/i386/trap.c:1010
	params = 0xbfbfeacc---Can't read userspace from dump, or kernel process---

(kgdb)
-------------- next part --------------
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-co
nfig.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files. 
# If you are in doubt as to the purpose or necessity of a line, check first 
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.394.2.3 2004/01/26 19:42:11 nectar E
xp $
makeoptions	DEBUG=-g
machine		i386
cpu		I586_CPU
ident		KISTE	

options		CPU_FASTER_5X86_FPU
options		CPU_SUSP_HLT
options		CPU_UPGRADE_HW_CACHE
options		CPU_WT_ALLOC
options		NO_F00F_HACK

options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options		INET6
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MD_ROOT			#MD is a potential root device
options 	MSDOSFS			#MSDOS Filesystem
options         SMBFS                   #SMB/CIFS filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                #Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options         COMPAT_LINUX
options		LINPROCFS

# Debugging for use in -current
#options 	DDB			#Enable the kernel debugger
#options 	INVARIANTS		#Enable calls of extra sanity checking
#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, requi
red by INVARIANTS
#options 	WITNESS			#Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

device		isa
device		eisa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapicam		# emulate ATAPI devices as
					# SCSI ditto via CAM	
device          scbus           	# base SCSI code
device          pass            	# CAM passthrough driver
device          cd              	# SCSI CD-ROMs
options 	ATA_STATIC_ID		# Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

# Enable this for the pcvt (VT220 compatible) console driver
#device		vt
#options 	XSERVER			# support for X server on a vt console
#options 	FAT_CURSOR		# start with block cursor

# Floating point support - do not disable.
device		npx

# Power management support (see NOTES for more options)
device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		ppi		# Parallel port interface device

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
#device		rl		# RealTek 8129/8139
device		xl		# 3com 90x (Boomerang)

options         RANDOM_IP_ID
options		NETSMB
options		NETSMBCRYPTO
options         LIBMCHAIN
options         LIBICONV

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

### ipfilter ###
options         IPFILTER                #ipfilter support
options         IPFILTER_LOG            #ipfilter logging
options         IPFILTER_DEFAULT_BLOCK  #block all packets by default
options         PFIL_HOOKS              #required by IPFILTER

# Sound
device pcm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040618/
0a84af20/attachment-0001.bin

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

Message: 12
Date: Fri, 18 Jun 2004 09:12:34 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on sparc64/sparc64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<sparc64@freebsd.org>
Message-ID: <20040618131234.8D4B87306D@freebsd-current.sentex.ca>

TB --- 2004-06-18 12:30:35 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-06-18 12:30:35 - starting CURRENT tinderbox run for sparc64/sparc6
4
TB --- 2004-06-18 12:30:35 - checking out the source tree
TB --- 2004-06-18 12:30:35 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4
TB --- 2004-06-18 12:30:35 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A 
src
TB --- 2004-06-18 12:33:29 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-06-18 12:33:29 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-06-18 12:33:29 - /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
[...]
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ex
clude.c
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/fu
ll-write.c
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ge
tdate.c
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ge
tline.c
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ge
tstr.c
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ha
sh.c
{standard input}: Assembler messages:
{standard input}:1283: Error: Illegal operands
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src/gnu.
*** Error code 1

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

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

Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
TB --- 2004-06-18 13:12:34 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-06-18 13:12:34 - ERROR: failed to build world
TB --- 2004-06-18 13:12:34 - tinderbox aborted


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

Message: 13
Date: Fri, 18 Jun 2004 16:31:34 +0200 (CEST)
From: Claus Guttesen<cguttesen@yahoo.dk>
Subject: Re: Possible Threading problem with -CURRENT / MySQL?
To: Daniel Eischen <eischen@vigrid.com>
Cc: freebsd-threads@freebsd.org
Message-ID: <20040618143134.4512.qmail@web14101.mail.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

> > frodo~/temp%>cc -O2 -Wall -o pthread_lock
> > pthread_lock.c -lpthread
> > 
> > frodo~/temp%>./pthread_lock
> > ^C
> > frodo~/temp%>echo $?
> > 130
> > 
> > Pressing ctrl-c worked here. ULE, current from
> June
> > 15'th.
> 
> SMP or UP?

SMP, ACPI APIC Table: <ASUS   CUV4XDLS>, dual PIII, 1
GB of RAM.

regards
Claus


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

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

Message: 14
Date: Fri, 18 Jun 2004 10:10:10 -0400 (EDT)
From: Daniel Eischen <eischen@vigrid.com>
Subject: Re: Possible Threading problem with -CURRENT / MySQL?
To: Claus Guttesen<cguttesen@yahoo.dk>
Cc: freebsd-threads@freebsd.org
Message-ID:
	<Pine.GSO.4.10.10406181009530.20163-100000@pcnet5.pcnet.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 18 Jun 2004, [iso-8859-1] Claus Guttesen wrote:

> > When this pthread program runs under ULE, I can not
> > interrupt it
> > pressing ctrl+c has no effect, I have this problem
> > for a long time.
> > http://people.freebsd.org/~davidxu/kse/locktest.c
> > David Xu
> 
> frodo~/temp%>cc -O2 -Wall -o pthread_lock
> pthread_lock.c -lpthread
> 
> frodo~/temp%>./pthread_lock
> ^C
> frodo~/temp%>echo $?
> 130
> 
> Pressing ctrl-c worked here. ULE, current from June
> 15'th.

SMP or UP?

-- 
Dan Eischen


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

Message: 15
Date: Fri, 18 Jun 2004 17:05:07 +0200
From: Ian FREISLICH <if@hetzner.co.za>
Subject: Re: USB woes. 
Cc: ticso@cicely.de
Message-ID: <E1BbKvT-000OOL-00@hetzner.co.za>

> > OK - we have a problem, but we don't know which :(
> > Add USB_DEBUG to your kernel and you should get more data out of this
> > case.
> 
> I'll send output tomorrow or later tonight.

What I thought was a hang was just a really long timeout...

uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xe000-0xe01f irq 10 at 
device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
umass0: DATAFAB Flash Reader, rev 2.00/1.19, addr 2
umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0

umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT

Then after removing and reconnecting it I get the following console
messages:

umass0: at uhub0 port 2 (addr 2) disconnected
umass0: detached
usb_new_device: set address 2 failed - trying a port reset
usb_new_device: set address 2 failed - trying a port reset
usb_new_device: set address 2 failed - trying a port reset
usb_new_device: set address 2 failed
uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED
uhub0: device problem, disabling port 2

Ian

--
Ian Freislich

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

Message: 16
Date: Fri, 18 Jun 2004 12:05:14 -0400
From: Paul Dlug <paul@aps.org>
Subject: Heap size limit in java
To: freebsd-current@freebsd.org
Cc: Panagiotis Astithas <past@noc.ntua.gr>
Message-ID: <487C4BD2-C141-11D8-9D52-000393BB3E22@aps.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed

I originally posed to my question to freebsd-java. My issue was that I 
was unable to set a java heap size of more than approx 2000m using java 
(-Xmx2000m), it would fail with the error "COuld not reserve enough 
space for object heap.

Panagiotis Astithas looked into this a bit further and found that it 
was due to the JVM being unable to mmap 3gb or more of memory. His 
explanation is below along with some of the background information.

Any help would be greatly appreciated. I imagine others have hit this 
issue or will shortly. It's somewhat critical to getting large scale 
java applications running on FreeBSD that the JVM be able to access 
enough memory.

Thanks,
Paul


From: Panagiotis Astithas <past@noc.ntua.gr>
Date: May 24, 2004 3:57:27 AM EDT
To: Greg Lewis <glewis@eyesbeyond.com>
Cc: Paul Dlug <paul@aps.org>, freebsd-java@freebsd.org
Subject: Re: Heap size limit

Greg Lewis wrote:
> On Fri, Apr 23, 2004 at 09:49:27AM -0400, Paul Dlug wrote:
>> I'm trying to start a JVM with a large heap size and getting an error 
>> message:
>>
>> java -Xms256m -Xmx2024m
>> Error occurred during initialization of VM
>> Could not reserve enough space for object heap
>>
>> I tried a bunch of different sizes and anything under 2024m works 
>> just fine so this appears to be a hard limit. I've tried changing a 
>> few system parameters but can't seem to stumble on the right one. Can 
>> someone help me out with this?
> Obviously I'm a long way behind on freebsd-java, but I'm catching up 
> now...
> My strong suggestion is that you're hitting the maximum amount of 
> memory
> that your user can mmap.  I'm not exactly sure what setting dictate 
> that,
> but its almost certainly what you're running into.

Definitely:
ktrace java -Xms256m -Xmx2024m

[...]
  15034 java     CALL  mmap(0,0x82800000,0,0x1042,0xffffffff,0,0,0)
  15034 java     RET   mmap -1 errno 22 Invalid argument
  15034 java     CALL  write(0x1,0xbfbfd670,0x2b)
  15034 java     GIO   fd 1 wrote 43 bytes
        "Error occurred during initialization of VM
        "
  15034 java     RET   write 43/0x2b
  15034 java     CALL  write(0x1,0xbfbfd670,0x2e)
  15034 java     GIO   fd 1 wrote 46 bytes
        "Could not reserve enough space for object heap"
[...]


% grep 22 /usr/include/errno.h
#define EINVAL          22              /* Invalid argument */

%man mmap
[...]

      [EINVAL]    MAP_FIXED was specified and the addr argument was not
                  page aligned, or part of the desired address space
                  resides out of the valid address space for a user
                  process.
[...]


Now try changing vm.max_proc_mmap to an insanely large value:

# sysctl vm.max_proc_mmap=10000000000000
vm.max_proc_mmap: 26960 -> 2147483647

We see the requested size gets truncated to 2 GB.
This still doesn't help us, though:

# /usr/local/jdk1.4.2/bin/java -Xms256m -Xmx2024m
Error occurred during initialization of VM
Could not reserve enough space for object heap


The weird thing is that in a GENERIC kernel, the kernel/userland 
address space split is 1 GB / 3 GB. As it can bee sen from the 
following excerpt from /sys/i386/conf/NOTES:

#
# Change the size of the kernel virtual address space.  Due to
# constraints in loader(8) on i386, this must be a multiple of 4.
# 256 = 1 GB of kernel address space.  Increasing this also causes
# a reduction of the address space in user processes.  512 splits
# the 4GB cpu address space in half (2GB user, 2GB kernel).
#
options         KVA_PAGES=260


Why you can't mmap up to 3 GB of memory, I don't know. Perhaps we 
should take it to -current or -hackers.

Cheers,
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece


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

Message: 17
Date: Sat, 19 Jun 2004 02:13:06 +1000
From: Andrew Milton <akm@theinternet.com.au>
Subject: Re: Heap size limit in java
To: Paul Dlug <paul@aps.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040618161306.GX80364@camelot.theinternet.com.au>
Content-Type: text/plain; charset=us-ascii

+-------[ Paul Dlug ]----------------------
| I originally posed to my question to freebsd-java. My issue was that I 
| was unable to set a java heap size of more than approx 2000m using java 
| (-Xmx2000m), it would fail with the error "COuld not reserve enough 
| space for object heap.
| 
| Panagiotis Astithas looked into this a bit further and found that it 
| was due to the JVM being unable to mmap 3gb or more of memory. His 
| explanation is below along with some of the background information.
| 
| Any help would be greatly appreciated. I imagine others have hit this 
| issue or will shortly. It's somewhat critical to getting large scale 
| java applications running on FreeBSD that the JVM be able to access 
| enough memory.

I think it's pretty well summed up in the mmap manpage (if this is still
currently correct).

BUGS
     The len argument is limited to 2GB.  Mmapping slightly more than 2GB does

     not work, but it is possible to map a window of size (filesize % 2GB) for

     file sizes of slightly less than 2G, 4GB, 6GB and 8GB.

     The limit is imposed for a variety of reasons.  Most of them have to do
     with FreeBSD not wanting to use 64 bit offsets in the VM system due to
     the extreme performance penalty.  So FreeBSD uses 32bit page indexes and

     this gives FreeBSD a maximum of 8TB filesizes.  It is actually bugs in
     the file system code that causes the limit to be further restricted to
     1TB (loss of precision when doing blockno calculations).

     Another reason for the 2GB limit is that file system metadata can reside

     at negative offsets.

-- 
Totally Holistic Enterprises Internet|                      | Andrew Milton
The Internet (Aust) Pty Ltd          |  M:+61 416 022 411   |
ACN: 082 081 472 ABN: 83 082 081 472 |akm@theinternet.com.au| Carpe Daemon

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

Message: 18
Date: Fri, 18 Jun 2004 09:43:44 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: ** HEADS UP **  GDB detached from the 5-CURRENT build
To: Roman Kurakin <rik@cronyx.ru>
Cc: freebsd-current@freebsd.org
Message-ID: <20040618164344.GC23934@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii

On Thu, Jun 17, 2004 at 09:26:42PM +0400, Roman Kurakin wrote:
> David O'Brien wrote:
> >On Wed, Jun 16, 2004 at 08:22:54PM +0400, Roman Kurakin wrote:
> >>David O'Brien wrote:
> >>
> >>>I have disconnected (i.e., disabled) `gdb` from 'make world' due to the
> >>>impending binutils 2.15 import.  GDB 5.12 cannot consume the 2.15 bfd and

> >>>libiberty.
> >>>
> >>>For now GDB users will have to use the devel/gdb6 port.  There will be an

> >>>import of GDB 6.x into the /usr/src tree before 5.3-RELEASE.
> >>>
> >>How long it may take?
> >>
> >Not sure.  But it would be emancely useful if people would use the gdb6
> >port so gdb6 gets wider testing on FreeBSD before 5.3.
> 
> I hope I wouldn't need to test it beofre 5.3 :-)
> rik

This was a quite content-free message.  You've just given up your rights
to complain one bit if gdb 6.1 doesn't work for you in FreeBSD 5.3.
 
-- 
-- David  (obrien@FreeBSD.org)

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

Message: 19
Date: Fri, 18 Jun 2004 12:54:33 -0400
From: Charles Swiger <cswiger@mac.com>
Subject: Re: Heap size limit in java
To: Paul Dlug <paul@aps.org>
Cc: freebsd-current@freebsd.org
Message-ID: <2C7643B6-C148-11D8-99B8-003065ABFD92@mac.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Jun 18, 2004, at 12:05 PM, Paul Dlug wrote:
[ ...not being able to mmap() more than 2 GB of memory... ]
> Any help would be greatly appreciated. I imagine others have hit this 
> issue or will shortly. It's somewhat critical to getting large scale 
> java applications running on FreeBSD that the JVM be able to access 
> enough memory.

One approach would be to split up the workload into two (or more) 
JVM's, each of which using less than the current 2GB limit.

If that approach is not workable for your problem domain, then please 
consider the fact that no matter what changes are made, a 32-bit 
platform is never going to be able to give your JVM more than 4 GB.  If 
you really have a need to exceed 2GB JVM heap size, you should 
seriously consider switching to a 64-bit platform.  I don't know 
whether Java+FreeBSD+AMD64 is stable enough for production, so Sun 
SPARC or even a PowerPC-based Mac might be a better choice.

-- 
-Chuck


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

Message: 20
Date: Fri, 18 Jun 2004 10:16:07 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: strange message appearing in a fresh current
To: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Cc: current@freebsd.org
Message-ID: <20040618101433.H36931@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 18 Jun 2004, Divacky Roman wrote:

>
> kernel trap 22 with interrupts disabled
> npxdna: fpcurthread == curthread 1 times
>
> I am getting this quite often (uptime is about 2 minutes and I've got it
> at least 3 times)

Are you compiling with CPU_ENABLE_SSE?

Also try backing out rev 1.151 of src/sys/i386/isa/npx.c.  Its possible
its just noticing another bug somewhere...

>
> spravci ~# uname -a
> FreeBSD spravci.mzm.cz 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Fri Jun 18
> 12:44:39 C
> EST 2004     root@spravci.mzm.cz:/usr/obj/usr/src/sys/MYKERNEL  i386
> spravci ~#
>
> built for i686 cpu (amd duron) with -O -pipe
>
> roman
> _______________________________________________
> 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"
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org

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

Message: 21
Date: Fri, 18 Jun 2004 10:27:47 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: Problems installing FreeBSD with 3ware 9500S-4LP
To: Patrick Hurrelmann <outi@bytephobia.de>
Cc: freebsd-current@freebsd.org
Message-ID: <20040618101949.B36931@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

Please don't crosspost -questions and other lists. I've removed it from
the cc:.

On Fri, 18 Jun 2004, Patrick Hurrelmann wrote:

> finally i received my new raid-controller, bu i have problems installing
> FreeBSD on it :/
>
> I tried different releases and current snapshots...

The twa driver is still very new. It just came out a few weeks ago, I
think. I haven't seen one of those cards yet and we have a lot of 3ware
here.

Whats the RAID config?

> 5.1-Release
> w ACPI: Loading twa.ko (binary distribution of 3ware.com for 5.2) in 		sysin
stall failes.
> w/o ACPI: same as w ACPI.

I wouldn't expect this to work.

> 5.2-Release
> w ACPI: loaded twa.ko in sysinstall.
> 	install went ok, on next reboot it just halts after BTX-Loader.
> 	I cannot load twa.ko in loader.
> w/o ACPI: same as w ACPI.

Hm, sounds like the loader is getting corrupted. Try booting the install
CD, breaking out of the loader countdown and run these commands
(untested):

unload
set rootdev=disk1s1a (or whatever disk you put freebsd on)
boot /boot/kernel/kernel

>
> 5.2.1-Release
> identical to 5.2 Release.
>
> 5.2-CURRENT-20040420
> w ACPI:	install went ok, on next reboot the following message scrolls 		the 
screen and it reboots:
> 	"Console internal keyboard/video" (or sth. like that)
> w/o ACPI: same as w ACPI.
>
> 5.2-CURRENT-20040504
> identical to 5.2-CURRENT-20040420
>
> 5.2-CURRENT-20040617
> identical to 5.2-CURRENT-20040420
>
> I attached a normal and a verbose-dmesg.

I'm suspecting two problems:

1. Volume was not created correctly so the loader binary is corrupted
2. The twa Int13 handler doesn't like how boot2 is loading the loader
binary, which shouldn't happen.

I'd check for a twa firmware update; these sound like firmware or
firmware/BIOS issues.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org

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

Message: 22
Date: Fri, 18 Jun 2004 10:30:57 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: identifying single drives on hardware RAID0
To: Ruben Bloemgarten <ruben@bloemgarten.demon.nl>
Cc: freebsd-current@freebsd.org
Message-ID: <20040618102917.V36931@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 18 Jun 2004, Ruben Bloemgarten wrote:

> Probably a dumb question here : but I want to identify a specific drive in
> RAID0 config, but only the logical drive is reported dmesg. Is this even
> possible ? Also, if this post is misdirected, my bad.

What raid hardware?

In general, with hardware RAID (PCI cards and the like), the component
physical disks of a logical array are hidden from the OS to keep you from
accessing them directly and destroying the array, and to simplify the
presentation of the array to the OS.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org

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

Message: 23
Date: Fri, 18 Jun 2004 17:32:04 +0000 (GMT)
From: wpaul@FreeBSD.ORG (Bill Paul)
Subject: Re: Realtek RT8139 (onboard) - failed to receive packet in
	loopback	mode
To: braukmann@tse-online.de (Andreas Braukmann)
Cc: freebsd-current@freebsd.org
Message-ID: <20040618173204.3DE7816A4D2@hub.freebsd.org>
Content-Type: text/plain; charset=US-ASCII

> On 06/18/04 01:51:17 +0000 Bill Paul wrote:
> > Please try the code located at:
> >  
> > http://www.freebsd.org/~wpaul/re 
> 
> thanks. The patched if_re.c doesn't compile. You added a
> member rl_link to the struct rl_softc in pci/if_rlreg.h,
> didn't you? 
> 
> I'd appreciate getting the appropriate patch for if_rlreg.h.

Heh. You were able to trivally patch if_re.c but not if_rlreg.h? :)

I uploaded a new copy and diff of if_rlreg.h to the same URL. Please
try again.

-Bill

--
=============================================================================

-Bill Paul            (510) 749-2329 | Senior Engineer, Master of Unix-Fu
                 wpaul@windriver.com | Wind River Systems
=============================================================================

              <adamw> you're just BEGGING to face the moose
=============================================================================


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

Message: 24
Date: Fri, 18 Jun 2004 10:38:21 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: Heap size limit in java
To: Paul Dlug <paul@aps.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040618103353.L36931@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 18 Jun 2004, Paul Dlug wrote:

> I originally posed to my question to freebsd-java. My issue was that I
> was unable to set a java heap size of more than approx 2000m using java
> (-Xmx2000m), it would fail with the error "COuld not reserve enough
> space for object heap.

What do you have MAXDSIZ set to?

You're running into the limits of 32 bit memory addressing, probably.
FreeBSD reserves ~1.5GB of the 4GB address space for the kernel's use, and
gives the rest to userland.  You can adjust this boundary with the
KVA_PAGES kernel compile option, but you have to do some mean tuning to
avoid running out of KVM.  I have nameservers set up this way, but named
is the only thing running on the system.

On 64 bit platforms (sparc64, amd64), the limit is far enough away that
you won't encounter this specific problem.

The command line in question is:
# /usr/local/jdk1.4.2/bin/java -Xms256m -Xmx2024m
-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org

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

Message: 25
Date: Fri, 18 Jun 2004 21:34:07 +0400
From: Roman Kurakin <rik@cronyx.ru>
Subject: Re: ** HEADS UP **  GDB detached from the 5-CURRENT build
To: obrien@freebsd.org
Cc: freebsd-current@freebsd.org
Message-ID: <40D3278F.5070204@cronyx.ru>
Content-Type: text/plain; charset=us-ascii; format=flowed

David O'Brien wrote:

>On Thu, Jun 17, 2004 at 09:26:42PM +0400, Roman Kurakin wrote:
>  
>
>>David O'Brien wrote:
>>    
>>
>>>On Wed, Jun 16, 2004 at 08:22:54PM +0400, Roman Kurakin wrote:
>>>      
>>>
>>>>David O'Brien wrote:
>>>>
>>>>        
>>>>
>>>>>I have disconnected (i.e., disabled) `gdb` from 'make world' due to the
>>>>>impending binutils 2.15 import.  GDB 5.12 cannot consume the 2.15 bfd and

>>>>>libiberty.
>>>>>
>>>>>For now GDB users will have to use the devel/gdb6 port.  There will be an

>>>>>import of GDB 6.x into the /usr/src tree before 5.3-RELEASE.
>>>>>
>>>>>          
>>>>>
>>>>How long it may take?
>>>>
>>>>        
>>>>
>>>Not sure.  But it would be emancely useful if people would use the gdb6
>>>port so gdb6 gets wider testing on FreeBSD before 5.3.
>>>      
>>>
>>I hope I wouldn't need to test it beofre 5.3 :-)
>>rik
>>    
>>
>
>This was a quite content-free message.  You've just given up your rights
>to complain one bit if gdb 6.1 doesn't work for you in FreeBSD 5.3.
>  
>
I just wish to not have a bugs :-). In fact most of bugs I have to deal 
with or too simple that I can
catch them by just looking in to the source code while I am in subway or 
couldn't be debugged at all.

Most probably I'll setup dgb for training, to improve my gdb skills, 
since during school summer
vacation that just started for me I'll have more spare time (that could 
be eaten buy primary work :-( )

rik




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

Message: 26
Date: Fri, 18 Jun 2004 14:04:08 -0400
From: Don Bowman <don@sandvine.com>
Subject: RE: STI, HLT in acpi_cpu_idle_c1
To: 'Matthew Dillon' <dillon@apollo.backplane.com>
Cc: "'current@freebsd.org'" <current@freebsd.org>
Message-ID:
	<FE045D4D9F7AED4CBFF1B3B813C85337051D902A@mail.sandvine.com>
Content-Type: text/plain;	charset="iso-8859-1"

From: Matthew Dillon [mailto:dillon@apollo.backplane.com]

 ... STI, HLT, etc

For posterity, you are correct. Adding the 'nop' there,
my lockup still occurs.

--don

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

Message: 27
Date: Fri, 18 Jun 2004 20:12:53 +0200
From: Patrick Hurrelmann <outi@bytephobia.de>
Subject: Re: Problems installing FreeBSD with 3ware 9500S-4LP
To: Doug White <dwhite@gumbysoft.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040618201253.044a6666@duality.bytephobia.de>
Content-Type: text/plain; charset=US-ASCII

On Fri, 18 Jun 2004 10:27:47 -0700 (PDT)
Doug White <dwhite@gumbysoft.com> wrote:

> Please don't crosspost -questions and other lists. I've removed it from
> the cc:.

ok, noticed that.

> > finally i received my new raid-controller, bu i have problems installing
> > FreeBSD on it :/
> >
> > I tried different releases and current snapshots...
> 
> The twa driver is still very new. It just came out a few weeks ago, I
> think. I haven't seen one of those cards yet and we have a lot of 3ware
> here.
> 
> Whats the RAID config?

I forgot to include that. Shame on me.
4x 120GB, 7200rpm, 8mb chache WesternDigital Disks are configured as one Raid 
5 array. 

> > 5.1-Release
> > w ACPI: Loading twa.ko (binary distribution of 3ware.com for 5.2) in 		sys
install failes.
> > w/o ACPI: same as w ACPI.
>
> I wouldn't expect this to work.

I tried that, as download page on 3ware says (FreeBSD 5.1, but i excpect that 
this is an error)
 
> > 5.2-Release
> > w ACPI: loaded twa.ko in sysinstall.
> > 	install went ok, on next reboot it just halts after BTX-Loader.
> > 	I cannot load twa.ko in loader.
> > w/o ACPI: same as w ACPI.
> 
> Hm, sounds like the loader is getting corrupted. Try booting the install
> CD, breaking out of the loader countdown and run these commands
> (untested):
> 
> unload
> set rootdev=disk1s1a (or whatever disk you put freebsd on)
> boot /boot/kernel/kernel

No, i think i didn't make it clearly enough. It halt on BTX-Loader.
I don't to the "real" loader. I don't see what modules it loads, etc.
I'll reboot an post the exact message i see.

> >
> > 5.2.1-Release
> > identical to 5.2 Release.
> >
> > 5.2-CURRENT-20040420
> > w ACPI:	install went ok, on next reboot the following message scrolls 		th
e screen and it reboots:
> > 	"Console internal keyboard/video" (or sth. like that)
> > w/o ACPI: same as w ACPI.
> >
> > 5.2-CURRENT-20040504
> > identical to 5.2-CURRENT-20040420
> >
> > 5.2-CURRENT-20040617
> > identical to 5.2-CURRENT-20040420
> >
> > I attached a normal and a verbose-dmesg.
> 
> I'm suspecting two problems:
> 
> 1. Volume was not created correctly so the loader binary is corrupted
> 2. The twa Int13 handler doesn't like how boot2 is loading the loader
> binary, which shouldn't happen.
> 
> I'd check for a twa firmware update; these sound like firmware or
> firmware/BIOS issues.

twa.ko from 3ware dowload-site included new firmware. The controller has been 
updated automatically.

I have second ide-disk with a some day old current. I can mount the partitions
 created during install. All seems to be ok.

I tried a install with twa.ko of current, but it panics with an page-fault eve
rytime i load the module through sysinstall.
 
> -- 
> Doug White                    |  FreeBSD: The Power to Serve
> dwhite@gumbysoft.com          |  www.FreeBSD.org
> 

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

Message: 28
Date: Fri, 18 Jun 2004 11:19:03 -0700
From: "Grover Lines" <grover@ceribus.net>
Subject: Stack backtrace
To: <freebsd-current@freebsd.org>
Message-ID: <20040618181945.C228143D2F@mx1.FreeBSD.org>
Content-Type: text/plain;	charset="us-ascii"

I've been having some problems with cvsup corruption and haven't been able
to trace it to the source so I decided to recompile my kernel with all
GENERIC options and debugging to see if it was something that I had changed
that caused the problem. I'm not sure what this means but it popped up
during the build of cvsup. 

Is this a possible source of my problem or is this something not to worry
about?

malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the following
non-sleepable locks held:
exclusive sleep mutex inp (tcpinp) r = 0 (0xc1d17bd0) locked @
/usr/src/sys/netinet/tcp_usrreq.c:1037
Stack backtrace:
witness_warn(5,0,c08db91d,c08c1095,c08c5805) at witness_warn+0x194
uma_zalloc_arg(c1021b00,d6b19c0c,2,c066635e,0) at uma_zalloc_arg+0x50
ip_ctloutput(c284213c,d6b19cb8,c08ce5cb,40e,c1d17bd0) at ip_ctloutput+0x9b
tcp_ctloutput(c284213c,d6b19cb8,0,0,0) at tcp_ctloutput+0xad
sosetopt(c284213c,d6b19cb8,d6b19cb4,0,c284213c) at sosetopt+0x48
setsockopt(c1d4ddc0,d6b19d14,14,d6b19d48,5) at setsockopt+0xd4
syscall(2f,2f,2f,281a6920,3) at syscall+0x12f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (105), eip = 0x28108fef, esp = 0xbfbfe91c, ebp = 0xbfbfe948 ---


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

Message: 29
Date: Fri, 18 Jun 2004 11:21:12 -0700
From: Sean McNeil <sean@mcneil.com>
Subject: importing gcc 3.4?
To: freebsd-current@freebsd.org
Message-ID: <1087582872.64458.1.camel@server.mcneil.com>
Content-Type: text/plain

Is this going to happen sometime soon?  There are fixes for amd64
support that I'd very much like to have in 3.4.

Sean



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

_______________________________________________
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 18
***********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......
�� ��源:������� bbs.ustc.edu.cn��[FROM: 210.45.72.234]