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. Re: CPUTYPE=p4 & kernel config (Ilker OZUPAK)
2. [current tinderbox] failure on i386/i386 (FreeBSD Tinderbox)
3. sendfile problem (Re: Network related procs hang in unusual
sfpbsy state) (Andrew Gallatin)
4. [current tinderbox] failure on i386/pc98 (FreeBSD Tinderbox)
5. Re[2]: Whay is broken ATARAID that ignored? (Paul Mather)
6. Re: CPUTYPE=p4 & kernel config (Ilker OZUPAK)
7. serial console stops just before login prompt (Kim Culhan)
8. Re: serial console stops just before login prompt
(Simon L. Nielsen)
9. Re: CPUTYPE=p4 & kernel config (Andre Guibert de Bruet)
10. Re: portupgrade upgrades ports despite +IGNOREME files
(Craig Boston)
11. Re: kldload won't load (Bill Paul)
12. Re: CPUTYPE=p4 & kernel config (Michael Nottebrock)
13. Re: CPUTYPE=p4 & kernel config (Johan Pettersson)
14. Re: CPUTYPE=p4 & kernel config (Johan Pettersson)
15. [current tinderbox] failure on sparc64/sparc64 (FreeBSD Tinderbox)
16. Re: kldload won't load (Jason Dusek)
17. CVSUP and 5.2.1 RELEASE (Jason Dusek)
18. serial console working -just a couple small nits (Kim Culhan)
19. Re: CVSUP and 5.2.1 RELEASE (Barney Wolff)
20. Re: CVSUP and 5.2.1 RELEASE (Poul-Henning Kamp)
21. sysctl debug.debugger_on_panic (Lukas Ertl)
22. Re: CVSUP and 5.2.1 RELEASE (Barney Wolff)
23. Re: CVSUP and 5.2.1 RELEASE (Kirk Strauser)
24. Re: sysctl debug.debugger_on_panic (Marcel Moolenaar)
25. Re: sysctl debug.debugger_on_panic (Lukas Ertl)
26. Re: sysctl debug.debugger_on_panic (Marcel Moolenaar)
27. Re: CVSUP and 5.2.1 RELEASE (Poul-Henning Kamp)
28. Re: CVSUP and 5.2.1 RELEASE (Jason Dusek)
29. SW_WDOG problem (Gerrit Nagelhout)
30. Re: sysctl debug.debugger_on_panic (Lukas Ertl)
31. Re: sysctl debug.debugger_on_panic (Marcel Moolenaar)
32. Re: sysctl debug.debugger_on_panic (Lukas Ertl)
33. Re: panic: m_copym, length > size of mbuf chain (Robert Watson)
----------------------------------------------------------------------
Message: 1
Date: Tue, 13 Jul 2004 15:10:33 +0300
From: Ilker OZUPAK <ilker.ozupak@emu.edu.tr>
Subject: Re: CPUTYPE=p4 & kernel config
To: Johan Pettersson <manlix@demonized.net>
Cc: freebsd-current@freebsd.org
Message-ID: <200407131510.48257.ilker.ozupak@emu.edu.tr>
Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 13 July 2004 11:38, you wrote:
> On Mon, 12 Jul 2004 22:17:56 -0400 (EDT)
>
> Andre Guibert de Bruet <andy@siliconlandmark.com> wrote:
> > On Mon, 12 Jul 2004, Ilker OZUPAK wrote:
> > > is there any kernel options that is mandatory for the
> > > "CPUTYPE=p4" case. anything to be addded to GENERIC
> > > or to not to be removed.
> >
> > Your CPU qualifies for the I686_CPU cpu directive. You may consider
> > commenting out I{4,5}86_CPU if you are not concerned with having the
> > kernel boot on older machines. You may also want to add "options
> > CPU_ENABLE_SSE".
> >
> > Regards,
> > Andy
>
> 'CPU_ENABLE_SSE' is automatically enabled when the kernel is compiled
> with 'cpu I686_CPU'.
so here are two different configs
<conf_1>
machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
...
...
</conf_1>
<conf_2>
machine i386
cpu I686_CPU
...
...
</conf_2>
for the first config i should enable it manually. (for a P4 machine)
and in second one it is enabled by default so i dont need to add enable
to kern. conf
should i put options CPU_DISABLE_SSE for P2 and P3 machines?
would not using disable option on a p2 machine with kern. conf like
second couse any ill effects? like not being able to run the binaries compiled
with -march=pentium4 ...
and is this enable disable automaticly has anything to do with CPUTYPE option
on the /etc/make.conf
- --
ilker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA89FEvxSBSqT0G9ARApQ2AKCLrSXFcJ5LeGsqfdB4Y/5hTCR75ACg83Mg
t7kFnSoOgC5Qt7XOmZlvi9M=
=za1D
-----END PGP SIGNATURE-----
------------------------------
Message: 2
Date: Tue, 13 Jul 2004 08:24:04 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on i386/i386
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<i386@freebsd.org>
Message-ID: <20040713122404.9C8557303F@freebsd-current.sentex.ca>
TB --- 2004-07-13 10:57:48 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-13 10:57:48 - starting CURRENT tinderbox run for i386/i386
TB --- 2004-07-13 10:57:48 - checking out the source tree
TB --- 2004-07-13 10:57:48 - cd /home/tinderbox/sandbox/CURRENT/i386/i386
TB --- 2004-07-13 10:57:48 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-07-13 11:02:52 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-13 11:02:52 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-07-13 11:02:52 - /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-07-13 11:59:33 - building generic kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-07-13 11:59:33 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-07-13 11:59:33 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Tue Jul 13 11:59:33 UTC 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 Jul 13 12:16:04 UTC 2004
TB --- 2004-07-13 12:16:04 - generating LINT kernel config
TB --- 2004-07-13 12:16:04 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src/
sys/i386/conf
TB --- 2004-07-13 12:16:04 - /usr/bin/make -B LINT
TB --- 2004-07-13 12:16:04 - building LINT kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-07-13 12:16:04 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-07-13 12:16:04 - /usr/bin/make buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Tue Jul 13 12:16:04 UTC 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/
i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i3
86/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/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/i386/src/sys/fs/deadfs/dead_vnops.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/
i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i3
86/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/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/i386/src/sys/fs/devfs/devfs_devs.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/
i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i3
86/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/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/i386/src/sys/fs/devfs/devfs_rule.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/
i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i3
86/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/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/i386/src/sys/fs/devfs/devfs_vfsops.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/
i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i3
86/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/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/i386/src/sys/fs/devfs/devfs_vnops.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/
i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tind
erbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/sr
c/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/ti
nderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i3
86/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/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/i386/src/sys/fs/fdescfs/fdesc_vfsops.c
/tinderbox/CURRENT/i386/i386/src/sys/fs/fdescfs/fdesc_vfsops.c: In function `f
desc_root':
/tinderbox/CURRENT/i386/i386/src/sys/fs/fdescfs/fdesc_vfsops.c:138: warning: d
eclaration of `td' shadows a parameter
*** Error code 1
Stop in /tinderbox/CURRENT/i386/i386/obj/tinderbox/CURRENT/i386/i386/src/sys/L
INT.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/i386/src.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/i386/src.
TB --- 2004-07-13 12:24:04 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-13 12:24:04 - ERROR: failed to build lint kernel
TB --- 2004-07-13 12:24:04 - tinderbox aborted
------------------------------
Message: 3
Date: Tue, 13 Jul 2004 09:05:16 -0400 (EDT)
From: Andrew Gallatin <gallatin@cs.duke.edu>
Subject: sendfile problem (Re: Network related procs hang in unusual
sfpbsy state)
To: Gary Stanley <gary@outloud.org>
Cc: alc@freebsd.org
Message-ID: <16627.56844.22088.901721@grasshopper.cs.duke.edu>
Content-Type: text/plain; charset=us-ascii
Gary Stanley writes:
> New current kernel from about 3 days ago, certain processes hang after
> about a day in this state;
>
> 80 599 1 0 -16 -2 59020 53548 sfpbsy D< ?? 1141:08.65
> /mnt/zeus/web/bin/zeus.web
This means that the webserver was trying to send a file via
sendfile(), it encountered a busy page, and went to sleep waiting for
that page to be not-busy. But nothing ever woke it up...
You might be able to work around this temporarily by disabling
sendfile on your web server. But its something which needs to be
fixed.
It would be interesting to look at the page in question to see if its
still busy. Do you have a gdb which can do kernel debugging?
(apparently ports/dev/gdb53 can..)
Drew
------------------------------
Message: 4
Date: Tue, 13 Jul 2004 09:26:13 -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: <20040713132613.C6C507303F@freebsd-current.sentex.ca>
TB --- 2004-07-13 12:24:04 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-13 12:24:04 - starting CURRENT tinderbox run for i386/pc98
TB --- 2004-07-13 12:24:04 - checking out the source tree
TB --- 2004-07-13 12:24:04 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98
TB --- 2004-07-13 12:24:04 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-07-13 12:29:14 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-13 12:29:14 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src
TB --- 2004-07-13 12:29: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-07-13 13:26:13 - building generic kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-07-13 13:26:13 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src
TB --- 2004-07-13 13:26:13 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Tue Jul 13 13:26:13 UTC 2004
>>> stage 1: configuring the kernel
--------------------------------------------------------------
cd /tinderbox/CURRENT/i386/pc98/src/sys/pc98/conf; PATH=/home/tinderbox/sandb
ox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/i386/legacy/usr/
sbin:/home/tinderbox/sandbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386
/pc98/src/i386/legacy/usr/bin:/home/tinderbox/sandbox/CURRENT/i386/pc98/obj/pc
98/tinderbox/CURRENT/i386/pc98/src/i386/legacy/usr/games:/home/tinderbox/sandb
ox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/i386/usr/sbin:/h
ome/tinderbox/sandbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/s
rc/i386/usr/bin:/home/tinderbox/sandbox/CURRENT/i386/pc98/obj/pc98/tinderbox/C
URRENT/i386/pc98/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d
/home/tinderbox/sandbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98
/src/sys/GENERIC /tinderbox/CURRENT/i386/pc98/src/sys/pc98/conf/GENERIC
config: Error: device "card" does not take a count
config: 1 errors
*** Error code 1
Stop in /tinderbox/CURRENT/i386/pc98/src.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/pc98/src.
TB --- 2004-07-13 13:26:13 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-13 13:26:13 - ERROR: failed to build generic kernel
TB --- 2004-07-13 13:26:13 - tinderbox aborted
------------------------------
Message: 5
Date: Tue, 13 Jul 2004 09:28:18 -0400
From: Paul Mather <paul@gromit.dlib.vt.edu>
Subject: Re[2]: Whay is broken ATARAID that ignored?
To: freebsd-current@freebsd.org
Cc: Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
Message-ID: <1089725297.92521.55.camel@zappa.Chelsea-Ct.Org>
Content-Type: text/plain
On Mon, 12 Jul 2004 19:22:23 +0200, Gabriel Ambuehl
<gabriel_ambuehl@buz.ch> wrote:
> I know. But rather this than FreeBSD going on to write to a RAID1 array
> that's actually out of sync. Nobody in their sane mind will yank out
> drives, modify just one and then expect it to still work.
Nobody in their sane mind would expect this *not* to work! It's one of
the basic tenets of RAID 1 that if one drive fails (is unavailable to
the array) that the array will still continue to be usable (i.e., you
can read from it and write to it using the remaining drives) until the
failed drive is eventually replaced and the whole array brought back
into sync by reconstructing onto the new (replacement) drive. Being
able to write to a degraded array means it *will* be out of sync with
whatever replacement drive is eventually used.
It shouldn't matter whether the drive failure is actual or "simulated"
(by removal and later replacement of the same drive). It should
correctly recognise an array inconsistency and reconstruct properly. I
use RAIDframe under NetBSD/alpha and it even has an option to raidctl to
"soft fail" a RAID component, as well as allowing reconstruction onto
specific replacement drives.
It is very likely (and entirely sensible) that people will undergo
various simulated failure testing, and physical removal of a drive is
the easiest way to do this. (Actually, I guess the "detach/attach"
approach as suggested in the handbook is even easier.) I know that's
what I did, and I couldn't get "atacontrol rebuild" to work at all so I
gave up on ATA RAID. It's better to know beforehand that you won't be
able to reconstruct a RAID array when it fails that to discover that
fact after an actual real failure when you have important data on it.
(I did the same failure and reconstruction testing under RAIDframe
before deciding to adopt it on my NetBSD/alpha system. The man page
even strongly encourages doing this, so you know and have practised the
steps before an actual failure happens, thereby minimising the chances
of first-time operator error.)
> As to documenting it, that wouldn't hurt.
It would actually help *a lot*. It's better to document things properly
to allow people to make an informed choice beforehand than to have them
commit to something and then regret it later when they find it doesn't
actually work. I would rather have known up-front that ATA RAID is "not
ready for prime time" than to have wasted all the time I did finding
that out for myself. This is especially true of a system that is
somewhat geared towards improving reliability.
I don't mind if something doesn't work, but I'd rather know that up
front where possible.
> >> Well I do agree the rebuild procedure should be described better.
Here is the "rebuild" documentation (from atacontrol(1)):
rebuild Rebuild a RAID1 array on a RAID capable ATA controller.
There is also Section 13.4.3 of the handbook, but that is prefaced with
an assumption that you are using hot-swap drives. It does not say what
to do if your system does not have hot-swap drives. So, there are a lot
of common cases not covered by anything other than the one-liner in
atacontrol(1).
I've asked before, so I guess I should ask again, for official
clarification of the one-line "rebuild" description: will it work for a
FreeBSD native RAID array, i.e., one created and hosted on a non-RAID
controller. The "create" entry in atacontrol(1) states the following:
create Create a type ATA RAID. The type can be RAID0 (stripe), RAID1
(mirror), RAID0+1 or SPAN (JBOD). In case the RAID has a RAID0
component, the interleave must be specified in number of sec-
tors. The RAID will be created of the individual disks named
disk0 ... diskN.
Although the ATA driver allows for creating an ATA RAID on disks
with any controller, there are restrictions. It is only possi-
ble to boot on an array if it is either located on a ``real''
ATA RAID controller like the Promise or Highpoint controllers,
or if the RAID declared is of RAID1 or SPAN type; in case of a
SPAN, the partition to boot must reside on the first disk in the
SPAN.
(Note the first sentence of the second paragraph, particularly the "any
controller" part.)
In the restrictions, nothing is mentioned about rebuilding (only
booting). Yet, the "rebuild" entry explicitly mentions "RAID capable."
Is it possible to rebuild an ATA RAID array on a non-RAID capable
controller (i.e., a standard ATA controller)? Because you can create
and use ATA RAID arrays on such non-RAID capable controllers, it would
seem worthy to mention the important caveat that you can't rebuild
arrays using them if that is the case. (That would beg the question,
why allow ATA RAID arrays to be created on them, then? Are you supposed
to move the drives to a RAID capable controller machine after array
creation for actual use? Or are you supposed to move them just to
effect reconstruction??)
One way or the other, it would be nice to know ahead of time.
I wonder how geom_mirror is coming along...
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: 6
Date: Tue, 13 Jul 2004 16:59:45 +0300
From: Ilker OZUPAK <ilker.ozupak@emu.edu.tr>
Subject: Re: CPUTYPE=p4 & kernel config
To: freebsd-current@freebsd.org
Message-ID: <200407131659.58147.ilker.ozupak@emu.edu.tr>
Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 13 July 2004 11:38, I wrote: (and made a typo)
> On Mon, 12 Jul 2004 22:17:56 -0400 (EDT)
>
> Andre Guibert de Bruet <andy@siliconlandmark.com> wrote:
> > On Mon, 12 Jul 2004, Ilker OZUPAK wrote:
> > > is there any kernel options that is mandatory for the
> > > "CPUTYPE=p4" case. anything to be addded to GENERIC
> > > or to not to be removed.
> >
> > Your CPU qualifies for the I686_CPU cpu directive. You may consider
> > commenting out I{4,5}86_CPU if you are not concerned with having the
> > kernel boot on older machines. You may also want to add "options
> > CPU_ENABLE_SSE".
> >
> > Regards,
> > Andy
>
> 'CPU_ENABLE_SSE' is automatically enabled when the kernel is compiled
> with 'cpu I686_CPU'.
so here are two different configs
<conf_1>
machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
...
...
</conf_1>
<conf_2>
machine i386
cpu I686_CPU
...
...
</conf_2>
for the first config i should enable it manually. (for a P4 machine)
and in second one it is enabled by default so i dont need to add enable
to kern. conf
should i put options CPU_DISABLE_SSE for P2 and P3 machines?
would not using disable option on a p2 machine with kern. conf like
******* ^^^^^^^ ^^^^
******* enable p4
second couse any ill effects? like not being able to run the binaries
compiled with -march=pentium4 ...
and is this enable disable automaticly has anything to do with CPUTYPE option
on the /etc/make.conf
- - --
ilker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA8+rcvxSBSqT0G9ARAo5hAJ0XrKQegK3CgjTdYANNxnNWD4waOACgwJ6X
jaIl4wz2nPFXQKiBJ7WYap8=
=qXjb
-----END PGP SIGNATURE-----
------------------------------
Message: 7
Date: Tue, 13 Jul 2004 07:36:12 -0700 (PDT)
From: Kim Culhan <w8hdkim@yahoo.com>
Subject: serial console stops just before login prompt
To: freebsd-current@FreeBSD.org
Message-ID: <20040713143612.53207.qmail@web50708.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Here are the details:
Setup serial console as follows:
o Added to /etc/make.conf
BOOT_COMCONSOLE_SPEED= 115200
BOOT_COMCONSOLE_PORT= 0x3F8
o make world;make install new kernel
o write new bootblocks
bsdlabel -B da0s1
o Added to /boot/loader.conf
console="comconsole"
When the machine boots the console output is directed
to the serial port as expected (speed changed to 115200)
up to this point:
Starting background file system checks in 60 seconds.
Tue Jul 13 10:05:06 EDT 2004
em0: Link is up 100 Mbps Full Duplex
At this point there is no login: prompt on the terminal.
A login appears on the vga output of the machine and
it is possible to login if its booted with the keyboard
attached.
If the keyboard is not attached at boot time, the login:
prompt is displayed but attaching the keyboard at this point
does not give keyboard control.
If the machine is then rebooted, the console output associated
with the reboot is displayed on the serial port:
JJJboot() called on cpu#1 <-- 'JJJ' just some garbage chars
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to
stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...2 2 2
1 1 0 0 0 stopped
syncing disks, buffers remaining...
done
Uptime: 4m30s
Shutting down ACPI
Rebooting...
cpu_reset called on cpu#0
cpu_reset: Stopping other CPUs
Any more thoughts on this are greatly appreciated.
-kim
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------------
Message: 8
Date: Tue, 13 Jul 2004 16:58:35 +0200
From: "Simon L. Nielsen" <simon@FreeBSD.org>
Subject: Re: serial console stops just before login prompt
To: Kim Culhan <w8hdkim@yahoo.com>
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040713145835.GD21962@eddie.nitro.dk>
Content-Type: text/plain; charset="us-ascii"
On 2004.07.13 07:36:12 -0700, Kim Culhan wrote:
> Setup serial console as follows:
[...]
> At this point there is no login: prompt on the terminal.
You need to change /etc/tty's to start a getty on the serial console.
E.g. for the first serial port change
ttyd0 "/usr/libexec/getty std.9600" dialup off secure
to
ttyd0 "/usr/libexec/getty std.115200" dialup on secure
That should do the trick.
--
Simon L. Nielsen
FreeBSD Documentation Team
-------------- 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/20040713/
c96f3b0d/attachment-0001.bin
------------------------------
Message: 9
Date: Tue, 13 Jul 2004 10:59:00 -0400 (EDT)
From: Andre Guibert de Bruet <andy@siliconlandmark.com>
Subject: Re: CPUTYPE=p4 & kernel config
To: Johan Pettersson <manlix@demonized.net>
Cc: ilker.ozupak@emu.edu.tr
Message-ID: <20040713104934.U24726@alpha.siliconlandmark.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Tue, 13 Jul 2004, Johan Pettersson wrote:
> On Mon, 12 Jul 2004 22:17:56 -0400 (EDT)
> Andre Guibert de Bruet <andy@siliconlandmark.com> wrote:
>
>> On Mon, 12 Jul 2004, Ilker OZUPAK wrote:
>>
>>> is there any kernel options that is mandatory for the
>>> "CPUTYPE=p4" case. anything to be addded to GENERIC
>>> or to not to be removed.
>>
>> Your CPU qualifies for the I686_CPU cpu directive. You may consider
>> commenting out I{4,5}86_CPU if you are not concerned with having the
>> kernel boot on older machines. You may also want to add "options
>> CPU_ENABLE_SSE".
>
> 'CPU_ENABLE_SSE' is automatically enabled when the kernel is compiled
> with 'cpu I686_CPU'.
Pentium Pros, IIs, Xeon IIs and early Celerons are 686s but they do not
support SSE (SIMD was introduced with the PIII, IIRC). Are you positive
that SSE floating-point calculations are enabled with I686_CPU?
Here's what the cpu features bitfield expands to on an older 686:
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR>
Compare this to the following, which was taken from a newer 686:
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE>
Regards,
> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/ >
------------------------------
Message: 10
Date: Tue, 13 Jul 2004 10:21:39 -0500
From: Craig Boston <craig@xfoil.gank.org>
Subject: Re: portupgrade upgrades ports despite +IGNOREME files
To: "Eli K. Breen" <eli@gopostal.ca>
Cc: freebsd-current@freebsd.org
Message-ID: <20040713152138.GA41495@nowhere>
Content-Type: text/plain; charset=us-ascii
On Mon, Jul 12, 2004 at 02:23:52PM -0700, Eli K. Breen wrote:
> cd /usr/ports/lang/perl5.8/
> touch "+IGNOREME"
AFAICT, the +IGNOREME file should be in the package directory, not the
port directory. For example,
cd /var/db/pkg/perl-5.8.4/
touch +IGNOREME
> Add 'lang/perl*', as a held package in /usr/local/etc/pkgtools.conf to
> no avail.
The -f option to portupgrade overrides held packages and reinstalls them
anyway. Another possibility that may be useful to you is the -x option
to portupgrade to exclude certain ports from this run only. i.e.
portupgrade -Raf -x perl
Multiple -x options can be specified if you have a long list of ports
that you don't want to reinstall.
Hope this helps,
Craig
------------------------------
Message: 11
Date: Tue, 13 Jul 2004 15:52:10 +0000 (GMT)
From: wpaul@FreeBSD.ORG (Bill Paul)
Subject: Re: kldload won't load
To: jason-dusek@uiowa.edu (Jason Dusek)
Cc: freebsd-current@freebsd.org
Message-ID: <20040713155210.A6EB916A4CF@hub.freebsd.org>
Content-Type: text/plain; charset=US-ASCII
> So, the problem is *not* that kldload can not find the file?
The problem is that the kernel linker can't resolve one of the symbols
_in_ the file. Unfortunately, there's no special errno for 'symbol in
module not found,' so it returns 'file not found' (ENOENT) instead.
> There is something
> new at the bottom of my dmesg:
>
> link_elf: symbol device_get_sysctl_ctx undefined
>
> What's this mean and how do I fix ndis?
It means that instead of downloading just the NDIS bits (/sys/compat/ndis
and /sys/dev/if_ndis) and dropping them into your 5.2.1 kernel source
tree, you downloaded the _entire_ 5-CURRENT kernel source and tried to
build the NDIS module there instead.
You can't do that. People have added features and made changes to
the NDISulator that depend on changes and features in the 5-CURRENT
source. I've tried to keep the code backwards compatible with
5.2.1-RELEASE by putting in #ifdefs that check __FreeBSD_version,
which is defined in /sys/sys/param.h.
If you had downloaded _just_ /sys/compat/ndis and /sys/dev/if_ndis, you
would have been able to build the code correctly since the compiler would
have picked the right definition of __FreeBSD_version. But instead, you
overwrote all of your kernel source code and clobbered /sys/sys/param.h
with the one from 5-CURRENT as well. Now the compiler thinks it's building
stuff for a 5-CURRENT kernel instead of a 5.2.1-RELEASE kernel.
The end result is that you're building an ndis.ko which would only work
correctly on 5-CURRENT, but you're trying to kldload it into a system
running a kernel from 5.2.1-RELEASE. There was no device_get_sysctl_ctx()
function in 5.2.1-RELEASE, so that obviously won't work.
Again, what you should have done was kept your 5.2.1-RELEASE source tree
and dropped just the bits from /sys/compat/ndis and /sys/dev/if_ndis into
it (you also need /sys/modules/ndis and /sys/modules/if_ndis, which have
just Makefiles in them).
You might notice that /sys/modules/if_ndis/Makefile now tries to
automagically generate pccarddevs.h on the fly. FreeBSD 5.2.1-RELEASE
didn't work that way, so edit the Makefile and remove the reference
to pccarddevs.h from the SRCS list otherwise compiling the module
will fail.
-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: 12
Date: Tue, 13 Jul 2004 17:54:51 +0200
From: Michael Nottebrock <michaelnottebrock@gmx.net>
Subject: Re: CPUTYPE=p4 & kernel config
To: freebsd-current@FreeBSD.org
Cc: ilker.ozupak@emu.edu.tr
Message-ID: <200407131755.01883.michaelnottebrock@gmx.net>
Content-Type: text/plain; charset="iso-8859-1"
On Tuesday 13 July 2004 16:59, Andre Guibert de Bruet wrote:
> Pentium Pros, IIs, Xeon IIs and early Celerons are 686s but they do not
> support SSE (SIMD was introduced with the PIII, IIRC). Are you positive
> that SSE floating-point calculations are enabled with I686_CPU?
CPU_ENABLE_SSE (explicit or implicit with I686_CPU) enables the _check_ for
SSE (and if they are available, they're enabled).
--
,_, | Michael Nottebrock | lofi@freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040713/
05be4a97/attachment-0001.bin
------------------------------
Message: 13
Date: Tue, 13 Jul 2004 18:07:51 +0200
From: Johan Pettersson <manlix@demonized.net>
Subject: Re: CPUTYPE=p4 & kernel config
To: Andre Guibert de Bruet <andy@siliconlandmark.com>
Cc: ilker.ozupak@emu.edu.tr
Message-ID: <20040713180751.47cbed2b.manlix@demonized.net>
Content-Type: text/plain; charset=US-ASCII
On Tue, 13 Jul 2004 10:59:00 -0400 (EDT)
Andre Guibert de Bruet <andy@siliconlandmark.com> wrote:
>
> On Tue, 13 Jul 2004, Johan Pettersson wrote:
>
> > On Mon, 12 Jul 2004 22:17:56 -0400 (EDT)
> > Andre Guibert de Bruet <andy@siliconlandmark.com> wrote:
> >
> >> On Mon, 12 Jul 2004, Ilker OZUPAK wrote:
> >>
> >>> is there any kernel options that is mandatory for the
> >>> "CPUTYPE=p4" case. anything to be addded to GENERIC
> >>> or to not to be removed.
> >>
> >> Your CPU qualifies for the I686_CPU cpu directive. You may consider
> >> commenting out I{4,5}86_CPU if you are not concerned with having
> >the> kernel boot on older machines. You may also want to add "options
> >> CPU_ENABLE_SSE".
> >
> > 'CPU_ENABLE_SSE' is automatically enabled when the kernel is
> > compiled with 'cpu I686_CPU'.
>
> Pentium Pros, IIs, Xeon IIs and early Celerons are 686s but they do
> not support SSE (SIMD was introduced with the PIII, IIRC). Are you
> positive that SSE floating-point calculations are enabled with
> I686_CPU?
>
> Here's what the cpu features bitfield expands to on an older 686:
> Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P
> GE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
>
> Compare this to the following, which was taken from a newer 686:
> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P
> GE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
>
> Regards,
>
> > Andre Guibert de Bruet | Enterprise Software Consultant >
> > Silicon Landmark, LLC. | http://siliconlandmark.com/ >
>From src/sys/i386/NOTES:
# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default
# on I686_CPU and above.
------------------------------
Message: 14
Date: Tue, 13 Jul 2004 18:16:02 +0200
From: Johan Pettersson <manlix@demonized.net>
Subject: Re: CPUTYPE=p4 & kernel config
To: ilker.ozupak@emu.edu.tr
Cc: freebsd-current@freebsd.org
Message-ID: <20040713181602.7c01a204.manlix@demonized.net>
Content-Type: text/plain; charset=US-ASCII
> so here are two different configs
> <conf_1>
> machine i386
> cpu I486_CPU
> cpu I586_CPU
> cpu I686_CPU
> ....
> ....
> </conf_1>
>
> <conf_2>
> machine i386
> cpu I686_CPU
> ....
> ....
> </conf_2>
>
> for the first config i should enable it manually. (for a P4 machine)
>
> and in second one it is enabled by default so i dont need to add
> enable to kern. conf
>
> should i put options CPU_DISABLE_SSE for P2 and P3 machines?
>
> would not using disable option on a p2 machine with kern. conf like
> second couse any ill effects? like not being able to run the binaries
> compiled with -march=pentium4 ...
>
> and is this enable disable automaticly has anything to do with CPUTYPE
> option on the /etc/make.conf
>
'options CPU_ENABLE_SSE' is enabled with both conf_1 and conf_2. And you
don't need to use CPU_DISABLE_SSE. P3 supports SSE. And in the case with
P2, the support for SSE is in the kernel but the cpu doesnt use it.
I don't think you can run binaries compiled with -march=pentium4 och a
P2... or could you? Please correct me if im wrong. :)
No, make.conf don't have any impact on the CPU_ENABLE_SSE-option.
CPUTYPE in make.conf just sets -march for kernel/world/ports builds.
------------------------------
Message: 15
Date: Tue, 13 Jul 2004 12:36:31 -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: <20040713163631.7BB167303F@freebsd-current.sentex.ca>
TB --- 2004-07-13 15:41:39 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-13 15:41:39 - starting CURRENT tinderbox run for sparc64/sparc6
4
TB --- 2004-07-13 15:41:39 - cleaning the sandbox
TB --- 2004-07-13 15:42:44 - checking out the source tree
TB --- 2004-07-13 15:42:44 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4
TB --- 2004-07-13 15:42:44 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A
src
TB --- 2004-07-13 15:49:39 - patching the sources
TB --- 2004-07-13 15:49:39 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-07-13 15:49:39 - /usr/bin/patch -f -s -i/home/tinderbox/sandbox/sp
arc64.diff
TB --- 2004-07-13 15:49:39 - building world (CFLAGS=-O -pipe)
TB --- 2004-07-13 15:49:39 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-07-13 15:49:39 - /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-07-13 16:33:59 - building generic kernel (COPTFLAGS=-O -pipe)
TB --- 2004-07-13 16:33:59 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-07-13 16:33:59 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Tue Jul 13 16:33:59 UTC 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 -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions
-std=c99 -g -nostdinc -I- -I. -I/tinderbox/CURRENT/sparc64/sparc64/src/sys -
I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/tinderbox/CU
RRENT/sparc64/sparc64/src/sys/contrib/altq -I/tinderbox/CURRENT/sparc64/sparc6
4/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contri
b/pf -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath -I/tinderbox
/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/
sparc64/sparc64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-com
mon -finline-limit=15000 -mcmodel=medlow -msoft-float -ffreestanding -Werror
/tinderbox/CURRENT/sparc64/sparc64/src/sys/kern/kern_descrip.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions
-std=c99 -g -nostdinc -I- -I. -I/tinderbox/CURRENT/sparc64/sparc64/src/sys -
I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/tinderbox/CU
RRENT/sparc64/sparc64/src/sys/contrib/altq -I/tinderbox/CURRENT/sparc64/sparc6
4/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contri
b/pf -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath -I/tinderbox
/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/
sparc64/sparc64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-com
mon -finline-limit=15000 -mcmodel=medlow -msoft-float -ffreestanding -Werror
/tinderbox/CURRENT/sparc64/sparc64/src/sys/kern/kern_environment.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions
-std=c99 -g -nostdinc -I- -I. -I/tinderbox/CURRENT/sparc64/sparc64/src/sys -
I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/tinderbox/CU
RRENT/sparc64/sparc64/src/sys/contrib/altq -I/tinderbox/CURRENT/sparc64/sparc6
4/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contri
b/pf -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath -I/tinderbox
/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/
sparc64/sparc64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-com
mon -finline-limit=15000 -mcmodel=medlow -msoft-float -ffreestanding -Werror
/tinderbox/CURRENT/sparc64/sparc64/src/sys/kern/kern_event.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions
-std=c99 -g -nostdinc -I- -I. -I/tinderbox/CURRENT/sparc64/sparc64/src/sys -
I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/tinderbox/CU
RRENT/sparc64/sparc64/src/sys/contrib/altq -I/tinderbox/CURRENT/sparc64/sparc6
4/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contri
b/pf -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath -I/tinderbox
/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/
sparc64/sparc64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-com
mon -finline-limit=15000 -mcmodel=medlow -msoft-float -ffreestanding -Werror
/tinderbox/CURRENT/sparc64/sparc64/src/sys/kern/kern_exec.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions
-std=c99 -g -nostdinc -I- -I. -I/tinderbox/CURRENT/sparc64/sparc64/src/sys -
I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/tinderbox/CU
RRENT/sparc64/sparc64/src/sys/contrib/altq -I/tinderbox/CURRENT/sparc64/sparc6
4/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contri
b/pf -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath -I/tinderbox
/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/
sparc64/sparc64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-com
mon -finline-limit=15000 -mcmodel=medlow -msoft-float -ffreestanding -Werror
/tinderbox/CURRENT/sparc64/sparc64/src/sys/kern/kern_exit.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions
-std=c99 -g -nostdinc -I- -I. -I/tinderbox/CURRENT/sparc64/sparc64/src/sys -
I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/tinderbox/CU
RRENT/sparc64/sparc64/src/sys/contrib/altq -I/tinderbox/CURRENT/sparc64/sparc6
4/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contri
b/pf -I/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath -I/tinderbox
/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/
sparc64/sparc64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-com
mon -finline-limit=15000 -mcmodel=medlow -msoft-float -ffreestanding -Werror
/tinderbox/CURRENT/sparc64/sparc64/src/sys/kern/kern_fork.c
/tinderbox/CURRENT/sparc64/sparc64/src/sys/kern/kern_fork.c: In function `fork
1':
/tinderbox/CURRENT/sparc64/sparc64/src/sys/kern/kern_fork.c:303: warning: pass
ing arg 1 of `suser' from incompatible pointer type
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/tinderbox/CURRENT/sparc
64/sparc64/src/sys/GENERIC.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
TB --- 2004-07-13 16:36:31 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-13 16:36:31 - ERROR: failed to build generic kernel
TB --- 2004-07-13 16:36:31 - tinderbox aborted
------------------------------
Message: 16
Date: Tue, 13 Jul 2004 13:00:38 -0500
From: Jason Dusek <jason-dusek@uiowa.edu>
Subject: Re: kldload won't load
To: Dag-Erling Sm?rgrav<des@des.no>
Cc: questions@freebsd.org
Message-ID: <40F42346.4030400@uiowa.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Sure:
1 # grep FreeBSD_version /sys/sys/param.h
* __FreeBSD_version numbers are documented in the Porter's Handbook.
#undef __FreeBSD_version
#define __FreeBSD_version 502121 /* Master, propagated to newvers */
#if (defined(BURN_BRIDGES) || __FreeBSD_version >= 600000) \
Dag-Erling Sm�rgrav wrote:
> Jason Dusek <jason-dusek@uiowa.edu> writes:
>
>>FreeBSD 5.2.1-RELEASE #0: Wed Jul 7 16:20:55 CDT 2004
>> root@pikachu:/usr/obj/usr/src/sys/CUSTOM
>>[...]
>>link_elf: symbol device_get_sysctl_ctx undefined
>
>
> Could you please show me the output of the following command:
>
> $ grep FreeBSD_version /sys/sys/param.h
>
> DES
------------------------------
Message: 17
Date: Tue, 13 Jul 2004 13:05:45 -0500
From: Jason Dusek <jason-dusek@uiowa.edu>
Subject: CVSUP and 5.2.1 RELEASE
To: current@freebsd.org
Message-ID: <40F42479.2070702@uiowa.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
I downloaded the 5.2.1 RELEASE ISOs, installed and then cvsupped with:
src-all tag=.
I ran make world this morning. I ran make kernel as well, but the kernel is
broken, so I kept my old kernel. Does this mean that I have a RELEASE kernel b
ut
a CURRENT world? Am I headed for trouble?
- Jason
------------------------------
Message: 18
Date: Tue, 13 Jul 2004 11:04:47 -0700 (PDT)
From: Kim Culhan <w8hdkim@yahoo.com>
Subject: serial console working -just a couple small nits
To: simon@FreeBSD.org
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040713180447.10729.qmail@web50702.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
On Tue, 13 Jul 2004, Simon L. Nielsen wrote:
> You need to change /etc/tty's to start a getty on the
> serial console.
> E.g. for the first serial port change
> ttyd0 "/usr/libexec/getty std.9600" dialup off secure
> to
> ttyd0 "/usr/libexec/getty std.115200" dialup on secure
^^^^^^
One small addition, changed dialup to vt220 to enable
cursor addressing on the terminal for vi editing etc..
Err just one more thing.. Anyone know if vt terminal
support should happen when *.4th runs? The menu doesn't
produce frames here.
-kim
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------------
Message: 19
Date: Tue, 13 Jul 2004 14:23:51 -0400
From: Barney Wolff <barney@databus.com>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: Jason Dusek <jason-dusek@uiowa.edu>
Cc: current@freebsd.org
Message-ID: <20040713182351.GA72492@pit.databus.com>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 13, 2004 at 01:05:45PM -0500, Jason Dusek wrote:
>
> I ran make world this morning. I ran make kernel as well, but the kernel is
> broken, so I kept my old kernel. Does this mean that I have a RELEASE
> kernel but a CURRENT world? Am I headed for trouble?
To core:
How many users do we have to sabotage with "make world" before it gets
removed from the make targets? Is it really that hard in the very rare
case when "make buildworld && make installworld" is what's wanted to
type exactly that?
To OP:
To answer your question, you may or may not be in trouble. If you can
build and install a kernel, do that; otherwise re-install and read
/usr/src/UPDATING to see how you're supposed to update.
--
Barney Wolff http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.
------------------------------
Message: 20
Date: Tue, 13 Jul 2004 20:28:32 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: Barney Wolff <barney@databus.com>
Cc: Jason Dusek <jason-dusek@uiowa.edu>
Message-ID: <22138.1089743312@critter.freebsd.dk>
In message <20040713182351.GA72492@pit.databus.com>, Barney Wolff writes:
>On Tue, Jul 13, 2004 at 01:05:45PM -0500, Jason Dusek wrote:
>>
>> I ran make world this morning. I ran make kernel as well, but the kernel is
>> broken, so I kept my old kernel. Does this mean that I have a RELEASE
>> kernel but a CURRENT world? Am I headed for trouble?
>
>To core:
>How many users do we have to sabotage with "make world" before it gets
>removed from the make targets? Is it really that hard in the very rare
>case when "make buildworld && make installworld" is what's wanted to
>type exactly that?
And your argument here is that people are reciprocally less likely
to hose (or as it may be: not hose) their systems because the have
to type 27 characters more to do so ?
Come again...
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
------------------------------
Message: 21
Date: Tue, 13 Jul 2004 20:33:34 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: sysctl debug.debugger_on_panic
To: current@FreeBSD.org
Message-ID: <20040713203158.E548@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Hi there,
is the debug.debugger_on_panic sysctl supposed to work after the recent
DDB/KDB changes? I set it to 0, but I'm still thrown into DDB after
panic.
cheers,
le
--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org http://people.freebsd.org/~le/
------------------------------
Message: 22
Date: Tue, 13 Jul 2004 14:52:00 -0400
From: Barney Wolff <barney@databus.com>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: current@freebsd.org
Message-ID: <20040713185200.GA74359@pit.databus.com>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 13, 2004 at 08:28:32PM +0200, Poul-Henning Kamp wrote:
> In message <20040713182351.GA72492@pit.databus.com>, Barney Wolff writes:
> >On Tue, Jul 13, 2004 at 01:05:45PM -0500, Jason Dusek wrote:
> >>
> >> I ran make world this morning. I ran make kernel as well, but the kernel
is
> >> broken, so I kept my old kernel. Does this mean that I have a RELEASE
> >> kernel but a CURRENT world? Am I headed for trouble?
> >
> >To core:
> >How many users do we have to sabotage with "make world" before it gets
> >removed from the make targets? Is it really that hard in the very rare
> >case when "make buildworld && make installworld" is what's wanted to
> >type exactly that?
>
> And your argument here is that people are reciprocally less likely
> to hose (or as it may be: not hose) their systems because the have
> to type 27 characters more to do so ?
Yes. That's why there are safeties on guns. Or, since I'm using US
metaphors, "make world" could be considered an attractive nuisance,
like an unfenced swimming pool.
--
Barney Wolff http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.
------------------------------
Message: 23
Date: Tue, 13 Jul 2004 13:57:51 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: freebsd-current@freebsd.org
Message-ID: <200407131357.51695.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"
On Tuesday 2004-07-13 01:28 pm, Poul-Henning Kamp wrote:
> And your argument here is that people are reciprocally less likely
> to hose (or as it may be: not hose) their systems because the have
> to type 27 characters more to do so ?
In this one particular case, I believe so. I imagine that quite a few
admins are still typing "make world" because that's how they've been
upgrading their systems for the last decade or so and it usually still
works. If "make world" failed loudly, perhaps with a firm reminder to
read /usr/src/UPDATING, maybe some of these admins would finally take the
hint.
--
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040713/
cc0fbd96/attachment-0001.bin
------------------------------
Message: 24
Date: Tue, 13 Jul 2004 12:01:19 -0700
From: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: sysctl debug.debugger_on_panic
To: Lukas Ertl <le@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040713190119.GB8872@dhcp50.pn.xcllnt.net>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 13, 2004 at 08:33:34PM +0200, Lukas Ertl wrote:
> Hi there,
>
> is the debug.debugger_on_panic sysctl supposed to work after the recent
> DDB/KDB changes? I set it to 0, but I'm still thrown into DDB after
> panic.
Yes, the sysctl is still working as expected.
--
Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
------------------------------
Message: 25
Date: Tue, 13 Jul 2004 21:02:57 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: sysctl debug.debugger_on_panic
To: Marcel Moolenaar <marcel@xcllnt.net>
Cc: current@FreeBSD.org
Message-ID: <20040713210221.C547@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Tue, 13 Jul 2004, Marcel Moolenaar wrote:
> On Tue, Jul 13, 2004 at 08:33:34PM +0200, Lukas Ertl wrote:
>> Hi there,
>>
>> is the debug.debugger_on_panic sysctl supposed to work after the recent
>> DDB/KDB changes? I set it to 0, but I'm still thrown into DDB after
>> panic.
>
> Yes, the sysctl is still working as expected.
Well, at least not on this box, or I'm completely misunderstanding
something.
cheers,
le
--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org http://people.freebsd.org/~le/
------------------------------
Message: 26
Date: Tue, 13 Jul 2004 12:06:53 -0700
From: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: sysctl debug.debugger_on_panic
To: Lukas Ertl <le@FreeBSD.org>
Cc: current@FreeBSD.org
Message-ID: <20040713190653.GC8872@dhcp50.pn.xcllnt.net>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 13, 2004 at 09:02:57PM +0200, Lukas Ertl wrote:
> On Tue, 13 Jul 2004, Marcel Moolenaar wrote:
>
> >On Tue, Jul 13, 2004 at 08:33:34PM +0200, Lukas Ertl wrote:
> >>Hi there,
> >>
> >>is the debug.debugger_on_panic sysctl supposed to work after the recent
> >>DDB/KDB changes? I set it to 0, but I'm still thrown into DDB after
> >>panic.
> >
> >Yes, the sysctl is still working as expected.
>
> Well, at least not on this box, or I'm completely misunderstanding
> something.
I took the time to go over the detailed information you sent about
your system (yes, I'm sarcastic -- no such information has been
sent) and I can only assume it's your fault :-)
As a first: make sure you're not being dropped in the debugger for
other reasons. If boot() appears in the backtrace, the sysctl works.
--
Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
------------------------------
Message: 27
Date: Tue, 13 Jul 2004 21:08:43 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: Barney Wolff <barney@databus.com>
Cc: current@freebsd.org
Message-ID: <22993.1089745723@critter.freebsd.dk>
In message <20040713185200.GA74359@pit.databus.com>, Barney Wolff writes:
>On Tue, Jul 13, 2004 at 08:28:32PM +0200, Poul-Henning Kamp wrote:
>> In message <20040713182351.GA72492@pit.databus.com>, Barney Wolff writes:
>> >On Tue, Jul 13, 2004 at 01:05:45PM -0500, Jason Dusek wrote:
>> >>
>> >> I ran make world this morning. I ran make kernel as well, but the kernel
is
>> >> broken, so I kept my old kernel. Does this mean that I have a RELEASE
>> >> kernel but a CURRENT world? Am I headed for trouble?
>> >
>> >To core:
>> >How many users do we have to sabotage with "make world" before it gets
>> >removed from the make targets? Is it really that hard in the very rare
>> >case when "make buildworld && make installworld" is what's wanted to
>> >type exactly that?
>>
>> And your argument here is that people are reciprocally less likely
>> to hose (or as it may be: not hose) their systems because the have
>> to type 27 characters more to do so ?
>
>Yes. That's why there are safeties on guns. Or, since I'm using US
>metaphors, "make world" could be considered an attractive nuisance,
>like an unfenced swimming pool.
If you sit back for a moment and think about the number of barriers
a user must already scale to get to the point of typing "make world",
then I think you will see that adding 27 extra characters is not
going to change anything. In particular not when compared the the
number of places we have to change (to the extent we can) documentation
which mentions "make world".
You might as well try to change the shape of the carinals hats.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
------------------------------
Message: 28
Date: Tue, 13 Jul 2004 14:11:32 -0500
From: Jason Dusek <jason-dusek@uiowa.edu>
Subject: Re: CVSUP and 5.2.1 RELEASE
To: Barney Wolff <barney@databus.com>, current@freebsd.org
Message-ID: <40F433E4.2090001@uiowa.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Well, my system is fine actually. I am running GNOME and Mozilla on it right n
ow.
I think the only *good* solution to hosing one's system is to insist on having
two bootable partitions - an 'old' one and a 'test' one. They would have
everything but /usr and /home in them. Then have a 'make
everything-and-i-mean-everything' target that mounts the test partition as
/test, and puts the new system - kernel and all - into it. When you reboot, us
e
the test kernel and system. If they work, then run 'make update', which causes
the test system to mount the other partition and simpy copy itself over. Then
you wouldn't find yourself in the situation of not knowing whether your kernel
works till it doesn't. And you could run a sort of 'make
everything-and-i-mean-everything' tinderbox in the /test partition. If CURRENT
was really sucking one day, you just try again next week.
My two cents,
- Jason
Barney Wolff wrote:
> On Tue, Jul 13, 2004 at 08:28:32PM +0200, Poul-Henning Kamp wrote:
>
>>In message <20040713182351.GA72492@pit.databus.com>, Barney Wolff writes:
>>
>>>On Tue, Jul 13, 2004 at 01:05:45PM -0500, Jason Dusek wrote:
>>>
>>>>I ran make world this morning. I ran make kernel as well, but the kernel i
s
>>>>broken, so I kept my old kernel. Does this mean that I have a RELEASE
>>>>kernel but a CURRENT world? Am I headed for trouble?
>>>
>>>To core:
>>>How many users do we have to sabotage with "make world" before it gets
>>>removed from the make targets? Is it really that hard in the very rare
>>>case when "make buildworld && make installworld" is what's wanted to
>>>type exactly that?
>>
>>And your argument here is that people are reciprocally less likely
>>to hose (or as it may be: not hose) their systems because the have
>>to type 27 characters more to do so ?
>
>
> Yes. That's why there are safeties on guns. Or, since I'm using US
> metaphors, "make world" could be considered an attractive nuisance,
> like an unfenced swimming pool.
>
------------------------------
Message: 29
Date: Tue, 13 Jul 2004 15:10:25 -0400
From: Gerrit Nagelhout <gnagelhout@sandvine.com>
Subject: SW_WDOG problem
To: "'current@freebsd.org'" <current@freebsd.org>
Message-ID:
<FE045D4D9F7AED4CBFF1B3B813C85337054EC52F@mail.sandvine.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
Were are trying out the new software watchdog on current (from a couple of
weeks ago) and are running into a panic within a panic. What happens is
when the software watchdog tries to panic the system (with interrupts
disabled),
it manages to write out the core file, but then panics again in
pmap_invalidate_range
because interrupts are enabled.
Any ideas on how to work around this?
Thanks,
Gerrit
if (smp_started) {
if (!(read_eflags() & PSL_I))
panic("%s: interrupts disabled", __func__);
mtx_lock_spin(&smp_tlb_mtx);
} else
critical_enter();
backtrace(c0720347,2,c78e4550,14674,104) at backtrace+0x1c
__panic(c07376ff,273,c07376e7,c06fccf0,d4574000) at __panic+0xc4
pmap_invalidate_range(c07b73c0,d4573000,d4574000) at
pmap_invalidate_range+0x50
pmap_qenter(d4573000,e064d9f4,1,22,d4577000) at pmap_qenter+0x65
vm_hold_load_pages(d3b40c18,d4573000,d4577000,c7779000,d3b21110) at
vm_hold_load_pages+0x17c
allocbuf(d3b40c18,4000,4000,4000,200000a4) at allocbuf+0x3a3
geteblk(4000,c22619a0,c053dcae,c05a447d,e064dab0) at geteblk+0x52
ibwrite(d3b21110,e064dab0,c059a3bd,d3b21110,e064dae8) at ibwrite+0x25c
bwrite(d3b21110,e064dae8,c05a4dd4,d3b21110,80012) at bwrite+0x1a
bawrite(d3b21110,80012,0,c22619a0,c050b01d) at bawrite+0x1d
vop_stdfsync(e064db3c,0,c7779000,e064db08,c050b01d) at vop_stdfsync+0x1d4
spec_fsync(e064db3c,e064db68,c065b373,e064db3c,30002) at spec_fsync+0x36
spec_vnoperate(e064db3c,30002,c0779560,0,c773c844) at spec_vnoperate+0x1d
ffs_sync(c773c800,2,c225c100,c0779560,c773c800) at ffs_sync+0x423
sync(c0779560,0,c056fb5c,c070e65e,c056fc00) at sync+0x111
boot(100,0,28d,c071d938,100) at boot+0x1b6
__panic(c071d938,28d,c071d927,c076f7f4,c076ebd8) at __panic+0x24c
watchdog_fire(e064dcac,c72cb880,e064dc3c,c06cf97f) at watchdog_fire+0xde
hardclock(e064dcac,e064dc58,c06cf8ef,c06dbe6b,c740f280) at hardclock+0x14a
clkintr(e064dcac,46,e064dc90,0,c22619a0) at clkintr+0xf4
intr_execute_handlers(c0770cc0,e064dcac,e064dca4,c06ca3a0,4) at
intr_execute_handlers+0x90
atpic_handle_intr(0) at atpic_handle_intr+0xf4
Xatpic_intr0() at Xatpic_intr0+0x2a
--- interrupt, eip = 0xc06cbeba, esp = 0xe064dcf0, ebp = 0xe064dcf0 ---
cpu_idle_default(e064dd18,c0534870,1,0,0) at cpu_idle_default+0xa
cpu_idle(1,0,0,0,c22606e0) at cpu_idle+0x2e
idle_proc(0,e064dd48,9c000002,960e8fa,0) at idle_proc+0x20
fork_exit(c0534850,0,e064dd48) at fork_exit+0x7f
fork_trampoline() at fork_trampoline+0xd
------------------------------
Message: 30
Date: Tue, 13 Jul 2004 21:16:53 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: sysctl debug.debugger_on_panic
To: Marcel Moolenaar <marcel@xcllnt.net>
Cc: current@FreeBSD.org
Message-ID: <20040713211037.M547@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Tue, 13 Jul 2004, Marcel Moolenaar wrote:
> I took the time to go over the detailed information you sent about
> your system (yes, I'm sarcastic -- no such information has been
> sent) and I can only assume it's your fault :-)
The system is an IA32 based server, running an up-to-date -CURRENT. I
have KDB and DDB in the kernel. Up to the DDB change, I set the sysctl to
0 and have the box automatically dump core and reboot, if I trigger a
KASSERT or run into a plain NULL pointer dereference. Now, it just sits a
the DDB prompt. If you need more info, let me know what's needed.
> As a first: make sure you're not being dropped in the debugger for
> other reasons.
In this particular case, it's a NULL pointer dereference (might be a
0xdeadc0de - haven't found out yet) that panics the box.
cheers,
le
--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org http://people.freebsd.org/~le/
------------------------------
Message: 31
Date: Tue, 13 Jul 2004 12:28:20 -0700
From: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: sysctl debug.debugger_on_panic
To: Lukas Ertl <le@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040713192820.GA8979@dhcp50.pn.xcllnt.net>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 13, 2004 at 09:16:53PM +0200, Lukas Ertl wrote:
> On Tue, 13 Jul 2004, Marcel Moolenaar wrote:
>
> >I took the time to go over the detailed information you sent about
> >your system (yes, I'm sarcastic -- no such information has been
> >sent) and I can only assume it's your fault :-)
>
> The system is an IA32 based server, running an up-to-date -CURRENT. I
> have KDB and DDB in the kernel. Up to the DDB change, I set the sysctl to
> 0 and have the box automatically dump core and reboot, if I trigger a
> KASSERT or run into a plain NULL pointer dereference. Now, it just sits a
> the DDB prompt. If you need more info, let me know what's needed.
A backtrace would be nice.
--
Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
------------------------------
Message: 32
Date: Tue, 13 Jul 2004 21:31:19 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: sysctl debug.debugger_on_panic
To: Marcel Moolenaar <marcel@xcllnt.net>
Cc: current@FreeBSD.org
Message-ID: <20040713213050.D547@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Tue, 13 Jul 2004, Marcel Moolenaar wrote:
> A backtrace would be nice.
I'll get one as soon as I'm next to the box again (it's remote).
cheers,
le
--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org http://people.freebsd.org/~le/
------------------------------
Message: 33
Date: Tue, 13 Jul 2004 15:42:09 -0400 (EDT)
From: Robert Watson <rwatson@FreeBSD.org>
Subject: Re: panic: m_copym, length > size of mbuf chain
To: Daniel Lang <dl@leo.org>
Cc: Don Lewis <truckman@FreeBSD.org>
Message-ID:
<Pine.NEB.3.96L.1040713154136.88111H-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sun, 11 Jul 2004, Daniel Lang wrote:
> referring to your first answer, the 'len' parameter in the tcp_output.c
> frame is 1460, offset is 737. The sum is obviously greater than 975, the
> value of so->so_snd.sb_cc.
>
> So the suggested assertion from Robert would have been triggered. I
> consider now adding the SOCKBUF_DEBUG value. However, with SACK
> disabled, the machine is still up and running now.
Is it possible to get the box running with SACK again for debugging
purposes? Resolving this issue would be a very good thing. Thanks!
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
------------------------------
_______________________________________________
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 68, Issue 26
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[34m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m