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: portupgrade : make goes apeshit on 5.2.1 (Dick Davies)
2. Re: acpi_video without suspending (Eric Anderson)
3. Re: hm, how to recover from a fscked-up device.hints?
(Wilko Bulte)
4. Re: 5.3-RELEASE TODO (Mark Linimon)
5. Call for PRs: nullfs (Mark Linimon)
6. Re: parallel port *slow* (and plip probs.) (Andrew Gordon)
7. Re: ahc driver now borked in -current? (Jordan K. Hubbard)
8. Re: ahc driver now borked in -current? (Jordan K. Hubbard)
9. tcpdump (/dev/bpf* permission) in FreeBSD-current
(=?big5?q?Patrick=20Dung?=)
10. Re: tcpdump (/dev/bpf* permission) in FreeBSD-current
(Joerg Wallerich)
11. System call recvfrom returning with Giant held (Jilles Tjoelker)
12. sound-driver overhaul and src/sys/conf/NOTES makeoptions
MODULES_OVERRIDE (Paul Seniura)
13. Re: sound-driver overhaul and src/sys/conf/NOTES makeoptions
MODULES_OVERRIDE (Ceri Davies)
14. Re: vinum dangling vnode & GEOM stripe problems
(Pawel Jakub Dawidek)
15. Re: sound-driver overhaul and src/sys/conf/NOTES makeoptions
MODULES_OVERRIDE (P.D. Seniura)
16. spin lock sched lock held by 0xffffff007b712250 for > 5
seconds (Willem Jan Withagen)
17. Re: spin lock sched lock held by 0xffffff007b712250 for > 5
seconds (Scott Long)
18. Re: spin lock sched lock held by 0xffffff007b712250 for > 5
seconds (Willem Jan Withagen)
19. Re: spin lock sched lock held by 0xffffff007b712250 for > 5
seconds (Robert Watson)
20. Re: hm, how to recover from a fscked-up device.hints?
(Bernd Walter)
21. Re: hm, how to recover from a fscked-up device.hints?
(Wilko Bulte)
22. 50 ways to crash a kernel: Stopping serial output.
(Willem Jan Withagen)
23. [current tinderbox] failure on sparc64/sparc64 (FreeBSD Tinderbox)
24. Re: spin lock sched lock held by 0xffffff007b712250 for > 5
seconds (Willem Jan Withagen)
25. One more ..... (Willem Jan Withagen)
26. Re: PPPoE misbehaving? (Martin)
27. nfsd problems with FreeBSD 5.2.1 (Mike Thomas)
28. Re: parallel port *slow* (and plip probs.) (Allan Fields)
29. panic at turnstile_wait (Re: panic at sched_add_internal)
(Norikatsu Shigemura)
30. Re: 5.3-RELEASE TODO (Allan Fields)
31. Re: One more ..... (Marcel Moolenaar)
----------------------------------------------------------------------
Message: 1
Date: Fri, 16 Jul 2004 13:05:37 +0100
From: Dick Davies <rasputnik@hellooperator.net>
Subject: Re: portupgrade : make goes apeshit on 5.2.1
To: Pav Lucistnik <pav@FreeBSD.org>
Cc: FreeBSD Current list <freebsd-current@freebsd.org>
Message-ID: <20040716120536.GA7747@lb.tenfour>
Content-Type: text/plain; charset="us-ascii"
* Pav Lucistnik <pav@FreeBSD.org> [0717 12:17]:
> V p?, 16. 07. 2004 v 13:14, Dick Davies p??e:
> > Portinstall runs incredibly slowly on this box - epia m6000 with 512Mb RAM
- particularly portinstall and
> > other portupgrade related tools. After 5 minutes of no output, I thought I
'd investigate and find that
> > make (1) has forkbombed the box:
> >
> >
> > [1] + Running portinstall rsync
> > eris# ps ax|grep make|wc -l
> > 293
> > eris# uname -a
> > FreeBSD eris 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Fri Jul 16 03:3
5:03 GMT 2004 rasputnik@eris:/usr/obj/usr/src/sys/ERIS i386
> >
> > (the system is a 5.2.1 release pulled up to 'tag=RELENG_5_2' with cvsup )
> >
> >
> > make.conf looks like:
> >
> >
> > # cat /etc/make.conf
> > # -- use.perl generated deltas -- #
> > # Created: Tue Jul 6 17:12:19 2004
> > # Setting to use base perl from ports:
> > PERL_VER=5.6.1
> > PERL_VERSION=5.6.1
> > PERL_ARCH=mach
> > NOPERL=yo
> > NO_PERL=yo
> > NO_PERL_WRAPPER=yo
> > BOOT_COMCONSOLE_SPEED=57600
> > WITH_PAM= yes
> > USE_OPENLDAP_VER= 22
> ^^^^^^^^^^^^^^^^^
Aah, thanks. This effectively makes *every* port think it needs openldap, yeah
?
I'll try : s/USE_/WITH_/
thanks!
--
All the parts falling off this car are of the very finest British
manufacture.
Rasputin :: Jack of All Trades - Master of Nuns
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040716/
437da7e7/attachment-0001.bin
------------------------------
Message: 2
Date: Fri, 16 Jul 2004 07:56:15 -0500
From: Eric Anderson <anderson@centtech.com>
Subject: Re: acpi_video without suspending
To: Brad Davis <so14k@so14k.com>
Cc: freebsd-current@freebsd.org
Message-ID: <40F7D06F.5060004@centtech.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Brad Davis wrote:
>Hi,
>
>I have a Dell Inspirion 5150 running current from a few weeks ago and I'd
>like to set it up so when I close the lid it doesn't go into suspend but
>just turns off the display. I have set
>
>hw.acpi.lid_switch_state=S0
>
>Which effectively stops the machine from suspending. But since the display
>doesn't go off its putting out quite a bit of heat into a very small
>inclosed space.
>
>
You could use devd, like this:
Put this in /etc/devd.conf (or change as necessary):
notify 10 {
match "system" "ACPI";
match "subsystem" "Lid";
action "/etc/rc.lid $notify";
};
and have /etc/rc.lid contain:
sync && sync && sync
if [ $1 = 0x00 ]; then
logger -t Lid Close at `date +'%Y%m%d %H:%M:%S'`
( sleep 2 ; ataidle -s 0 0) &
sysctl hw.acpi.video.lcd0.active=0
else
logger -t Lid Open at `date +'%Y%m%d %H:%M:%S'`
sysctl hw.acpi.video.lcd0.active=1
fi
Make sure your lid state is '1' on bootup.. You can just force it to 1
if you need to in sysctl.conf or something..
Eric
--
------------------------------------------------------------------
Eric Anderson Sr. Systems Administrator Centaur Technology
Talk sense to a fool and he calls you foolish.
------------------------------------------------------------------
------------------------------
Message: 3
Date: Thu, 15 Jul 2004 15:00:55 +0200
From: Wilko Bulte <wb@freebie.xs4all.nl>
Subject: Re: hm, how to recover from a fscked-up device.hints?
To: Ceri Davies <ceri@submonkey.net>, current@freebsd.org
Message-ID: <20040715130055.GC17340@freebie.xs4all.nl>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 15, 2004 at 12:44:25PM +0100, Ceri Davies wrote:
> On Wed, Jul 14, 2004 at 10:36:42PM +0200, Wilko Bulte wrote:
> > I just created myself an interesting challenge:
> >
> > - I basically replaced my /boot/device.hints with a nonsensical one (don'
t
> > ask), it is not a device.hints file at all.
> >
> > How does one recover from that? Booting kernel.old does not fix it for
> > obvious reasons..
>
> Boot from CDROM?
Yeah.. I thought of that one, but I was wondering about something
more clever. Probably does not exist :)
--
Wilko Bulte wilko@FreeBSD.org
------------------------------
Message: 4
Date: Thu, 15 Jul 2004 23:31:43 -0500 (CDT)
From: Mark Linimon <linimon@lonesome.com>
Subject: Re: 5.3-RELEASE TODO
To: Jon Noack <noackjr@alumni.rice.edu>
Cc: re@FreeBSD.org
Message-ID: <Pine.LNX.4.44.0407152329340.19475-100000@pancho>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 15 Jul 2004, Jon Noack wrote:
> Hmm, it appears that rpc.lockd died on the server end (at some point,
> anyway). I have a .core but it doesn't appear like it's finding any
> debug symbols. I build everything with -g, so I don't know why it
> can't. I'll keep the core around in case anyone cares. Sounds like the
> problems may already be known, so if it's not useful please let me know.
This may be the same as kern/61122, bin/61718, and/or bin/66837?
mcl
------------------------------
Message: 5
Date: Fri, 16 Jul 2004 00:22:30 -0500 (CDT)
From: Mark Linimon <linimon@lonesome.com>
Subject: Call for PRs: nullfs
To: freebsd-current@FreeBSD.org
Message-ID: <Pine.LNX.4.44.0407160008280.20163-100000@pancho>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Although there has been much discussion of the bugginess of nullfs
on the mailing lists in the past, there are actually only a few PRs
about it. Perhaps it's time to figure out what errors still exist
as we contemplate 5-STABLE.
I have taken the liberty of going through the PR database to ensure
that any PR involving the operation of nullfs or mount_null (other
than simply referring to them in documentation, etc.) have the 'nullfs'
string in the Synopsis. From my count, these are the following:
kern/28206 (5.0-CURRENT)
kern/28566 (4.3)
kern/51583 (confirmed still a problem in -STABLE, -CURRENT)
kern/59945 (4.9)
bin/59569 (5.1)
kern/63662 (fixed in -CURRENT, not yet backported)
If anyone has others with either 4.10, -STABLE, or -CURRENT, I would
like to ask that they submit them (with the 'nullfs' keyword in the
Synopsis) so that we can figure out where we are.
Thanks.
mcl
------------------------------
Message: 6
Date: Fri, 16 Jul 2004 11:59:39 +0100 (BST)
From: Andrew Gordon <arg-bsd@arg.me.uk>
Subject: Re: parallel port *slow* (and plip probs.)
To: Palle Girgensohn <girgen@pingpong.net>
Cc: Allan Fields <bsd@afields.ca>
Message-ID: <20040716114743.B46679@server.arg.sj.co.uk>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 16 Jul 2004, Palle Girgensohn wrote:
>
> --On torsdag, juli 15, 2004 20.33.28 -0400 Allan Fields <bsd@afields.ca>
> wrote:
>
> > On Thu, Jul 15, 2004 at 11:36:30PM +0100, Antony T Curtis wrote:
> >> On Thu, 2004-07-15 at 22:07, Palle Girgensohn wrote:
> >> > Only, the flags don't work, nothing seems to happen?
> >
> > Did you set to ECP mode in your BIOS?
>
> ECP+EPP
Should be fine
> >> > $ kenv | grep ppc
> >> > hint.ppc.0.at="isa"
> >> > hint.ppc.0.flags="0xc"
> >> > hint.ppc.0.irq="7"
> >> > $ dmesg | grep ppc
> >> > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> >> > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> >> > ppc0: FIFO with 16/16/16 bytes threshold
> >> > ppbus0: <Parallel port bus> on ppc0
> >>
> >> I must admit - I have only had it work properly when the flags was
> >> compiled in the kernel config:
> >>
> >> device ppc0 at isa? flags 0x08 irq 7 drq 3
You shouldn't need to use flags - "lptcontrol -e" will do the job just as
well.
However, the key thing in that line is the "drq 3" - ECP mode will not
work without a drq setting (and IIRC you just get left in SPP mode without
any diagnostics). The hints listed above don't appear to include one.
> > I've had ECP working in 5.1 & 5.2 using device.hints as I've been
> > misusing a machine as PLIP router to provide old laptop w/ network
> > since PCMCIA interface isn't working w/ installed kernel.
I'm fairly sure this is irrelevant, since PLIP just does bit-bashing in
the port registers that control the pins directly and doesn't use any of
the parallel port modes.
So, your port probably isn't really working in ECP mode but you don't care
for that application.
[Disclaimer: I've not really used parallel ports since 4.x, but I don't
think anything of significance has changed. Certainly 'ECP must use
ISA DMA' is a fundamental feature of the hardware].
------------------------------
Message: 7
Date: Fri, 16 Jul 2004 04:13:34 -0700
From: "Jordan K. Hubbard" <jkh@queasyweasel.com>
Subject: Re: ahc driver now borked in -current?
To: Scott Long <scottl@samsco.org>
Cc: freebsd-current@freebsd.org
Message-ID: <2D8618EA-D719-11D8-8D2E-000393BB9222@queasyweasel.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed
It does indeed mention that exact thing! Unfortunately, it's such a
fatal error I'm still not managing to get it up far enough to record
the diagnostic output anywhere.
- Jordan
On Jul 11, 2004, at 8:07 AM, Scott Long wrote:
> Having the dump card state message will be really useful. You might
> want to examine the message and see if mentions anything about
> interrupts not working, or 'SCB already completed'.
>
--
Jordan K. Hubbard
Engineering Manager, BSD technology group
Apple Computer
------------------------------
Message: 8
Date: Fri, 16 Jul 2004 04:12:19 -0700
From: "Jordan K. Hubbard" <jkh@queasyweasel.com>
Subject: Re: ahc driver now borked in -current?
To: John Baldwin <jhb@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <01027A35-D719-11D8-8D2E-000393BB9222@queasyweasel.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Thanks for the tip (and sorry for the latency in getting back to this,
but this is my default gateway and taking it down is not something I
like to do often :). Turns out ACPI is already disabled "by blacklist"
for my motherboard, so this has no effect on the failure. I tried
turning it off anyway in the boot menu, but same difference. Ugh.
It's aborting away as we speak, unable to come back, and what's worse
is I somehow managed NOT to save my old kernel. This should be a fun
recovery. :)
- Jordan
On Jul 14, 2004, at 3:20 PM, John Baldwin wrote:
> On Saturday 10 July 2004 05:51 pm, Jordan K. Hubbard wrote:
>> ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xb000-0xb0ff mem
>> 0xdd800000
>> -0xdd800fff irq 14 at device 6.0 on pci0
>> ahc0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xb000
>> ahc0: [GIANT-LOCKED]
>> aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
>
> IRQ 14 is almost definitely wrong. Try updating your BIOS or
> disabling ACPI.
>
> --
> John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve" = http://www.FreeBSD.org
>
--
Jordan K. Hubbard
Engineering Manager, BSD technology group
Apple Computer
------------------------------
Message: 9
Date: Thu, 15 Jul 2004 22:32:34 +0800 (CST)
From: =?big5?q?Patrick=20Dung?= <patrick_dkt@yahoo.com.hk>
Subject: tcpdump (/dev/bpf* permission) in FreeBSD-current
To: freebsd-current@freebsd.org
Message-ID: <20040715143234.39600.qmail@web51807.mail.yahoo.com>
Content-Type: text/plain; charset=big5
Hi
For FreeBSD-stable, I can change the permission of the
/dev/bpf*.
But for FreeBSD-current, the bpf device is created at
runtime. There is no way to decided the user/group and
permission of the device created. (/etc/devfs.conf can
be used, but it had to be start after the device is
created, where it is not created at boot time).
I have asked this question in Freebsd-questions but
the problem remains unsolved:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=256848+0+archive/2004/freebsd-que
stions/20040711.freebsd-questions
Regards
Patrick
_________________________________________________________
�����蕖B���q�B�p�P�P...
�����a�n ���叱s么
http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/
------------------------------
Message: 10
Date: Fri, 16 Jul 2004 15:42:40 +0200
From: Joerg Wallerich <jw@net.in.tum.de>
Subject: Re: tcpdump (/dev/bpf* permission) in FreeBSD-current
To: Patrick Dung <patrick_dkt@yahoo.com.hk>
Cc: freebsd-current@freebsd.org
Message-ID: <20040716134240.GA25987@net.in.tum.de>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 15, 2004 at 10:32:34PM +0800, Patrick Dung wrote:
> Hi
>
> For FreeBSD-stable, I can change the permission of the
> /dev/bpf*.
> But for FreeBSD-current, the bpf device is created at
> runtime. There is no way to decided the user/group and
> permission of the device created. (/etc/devfs.conf can
> be used, but it had to be start after the device is
> created, where it is not created at boot time).
>
> I have asked this question in Freebsd-questions but
> the problem remains unsolved:
>
> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=256848+0+archive/2004/freebsd-q
uestions/20040711.freebsd-questions
>
Hi,
add to /etc/devfs.rules:
[devfs_ruleset_sniffer=10]
add path 'bpf*' unhide mode 0660 group bpf
and to /etc/rc.conf
devfs_system_ruleset="devfs_ruleset_sniffer"
This grants access to bpf devices to all members of
group 'bpf'. I don't know if this is 'the way to do it[TM]'
but it does work.
Joerg
--
----------------------------------------------------------------
- Joerg Wallerich - jw@net.in.tum.de -
- Technische Universitaet Muenchen - Phone +49 89 289 18035 -
----------------------------------------------------------------
------------------------------
Message: 11
Date: Fri, 16 Jul 2004 15:49:57 +0200
From: Jilles Tjoelker <jilles@stack.nl>
Subject: System call recvfrom returning with Giant held
To: freebsd-current@freebsd.org
Cc: unix@stack.nl
Message-ID: <20040716134956.GA11978@stack.nl>
Content-Type: text/plain; charset=iso-8859-1
Hello,
One of our 5.2.1R machines panics reproducibly when using mplayer on
the following URL:
rtsp://demand1.stream.aol.com/wb/gl/wbonline/real/wbmovies/catwoman/trailer/tr
ailer_500.rm
This was done on a remote X display.
Although uname shows it as 5.2.1-RELEASE-p8, the linux module has been
recompiled with the -p9 patch.
Script started on Fri Jul 16 15:02:09 2004
# ls -F
bounds info.16 info.20 info.24 info.28
info.13 info.17 info.21 info.25 kernel.debug@
info.14 info.18 info.22 info.26 minfree
info.15 info.19 info.23 info.27 vmcore.28
# cp /usr/obj/usr/src/sys/TURTLE/kernel.debug kernel.debug.28
# gdb -k kernel.debug.28 vmcore.28
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: witness_warn
panic messages:
---
panic: witness_warn
cpuid = 0;
boot() called on cpu#0
syncing disks, buffers remaining... 2005 2005 2005 2005 2005 2005 2005 2005 20
05 2005 2005 2005 2005 2005 2005 2005 2005 2005 2005 2005
giving up on 1099 buffers
Uptime: 10m39s
Dumping 1023 MB
16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336
352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 6
56 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960
976 992 1008
---
Reading symbols from /usr/obj/usr/src/sys/TURTLE/modules/usr/src/sys/modules/f
descfs/fdescfs.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/TURTLE/modules/usr/src/sys/modules/fde
scfs/fdescfs.ko.debug
Reading symbols from /usr/obj/usr/src/sys/TURTLE/modules/usr/src/sys/modules/l
inux/linux.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/TURTLE/modules/usr/src/sys/modules/lin
ux/linux.ko.debug
#0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240 dumping++;
(kgdb) bt full
#0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240
No locals.
#1 0xc050491b in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372
No locals.
#2 0xc0504d1d in panic () at /usr/src/sys/kern/kern_shutdown.c:550
td = (struct thread *) 0xc67d9140
bootopt = 256
newpanic = 1
ap = 0xe5e38ccc "�\214��\001"
buf = "witness_warn", '\0' <repeats 243 times>
#3 0xc052cc24 in witness_warn (flags=2, lock=0x0,
fmt=0xc06dcc00 "System call %s returning")
at /usr/src/sys/kern/subr_witness.c:1075
lle = (struct lock_list_entry *) 0x0
lock1 = (struct lock_instance *) 0xc07450ac
i = -1
n = 1
#4 0xc068512a in syscall (frame=
{tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 140976128, tf_esi = 0, tf_
ebp = -1077948072, tf_isp = -438071948, tf_ebx = 685057748, tf_edx = 8, tf_ecx
= 8, tf_eax = 22, tf_trapno = 22, tf_err = 2, tf_eip = 687439615, tf_cs = 31,
tf_eflags = 2097735, tf_esp = -1077948116, tf_ss = 47})
at /usr/src/sys/i386/i386/trap.c:1079
params = 0xbfbfd130---Can't read userspace from dump, or kernel process---
(kgdb) frame 3
#3 0xc052cc24 in witness_warn (flags=2, lock=0x0,
fmt=0xc06dcc00 "System call %s returning")
at /usr/src/sys/kern/subr_witness.c:1075
1075 panic("witness_warn");
(kgdb) p *lock1
$1 = {li_lock = 0xc071bec0,
li_file = 0xc06c769f "/usr/src/sys/kern/uipc_syscalls.c", li_line = 930,
li_flags = 65536}
(kgdb) p *(lock1->li_lock)
$2 = {lo_class = 0xc06f413c, lo_name = 0xc06c1358 "Giant",
lo_type = 0xc06c1358 "Giant", lo_flags = 720896, lo_list = {
tqe_next = 0xc071be80, tqe_prev = 0xc071f210}, lo_witness = 0xc0722568}
(kgdb) #
#
# ps axl kernel.debug.28 vmcore.28 ### output somewhat stripped
UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
..
103 738 728 327698 20 0 808 0 pause Ds #C: 0:00.11 (ksh)
103 919 738 327698 4 0 25340 0 - R+ #C: 0:30.43 (mplaye
r)
103 920 919 327698 -68 0 20788 0 - R+ #C: 0:15.09 (mplaye
r)
..
0 0 0 327698 -16 0 0 0 sched DLs ?? 0:00.01 (swappe
r)
0 1 0 327698 8 0 760 0 wait DLs ?? 0:00.04 (init)
0 2 0 327698 -8 0 0 0 - DL ?? 0:00.06 (g_even
t)
0 3 0 327698 -8 0 0 0 - DL ?? 0:01.10 (g_up)
0 4 0 327698 -8 0 0 0 - DL ?? 0:01.05 (g_down
)
0 5 0 327698 8 0 0 0 tqthr DL ?? 0:00.00 (taskqu
eue)
0 6 0 327698 -84 0 0 0 actask DL ?? 0:00.00 (acpi_t
ask0
0 7 0 327698 -84 0 0 0 actask DL ?? 0:00.00 (acpi_t
ask1
0 8 0 327698 -84 0 0 0 actask DL ?? 0:00.00 (acpi_t
ask2
0 9 0 327698 -16 0 0 0 psleep DL ?? 0:00.00 (pageda
emon
0 10 0 327698 -16 0 0 0 ktrace DL ?? 0:00.00 (ktrace
)
0 11 0 327698 -16 0 0 0 - RL ?? 9:43.68 (idle:
cpu1
0 12 0 327698 -16 0 0 0 - RL ?? 9:56.71 (idle:
cpu0
0 13 0 327698 -60 0 0 0 - WL ?? 0:00.06 (irq1:
atkb
0 14 0 327698 -60 0 0 0 - RL ?? 0:00.00 (irq3:
sio1
0 15 0 327698 -60 0 0 0 - RL ?? 0:00.00 (irq4:
sio0
0 16 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq5:)
0 17 0 327698 -64 0 0 0 - WL ?? 0:00.00 (irq6:
fdc0
0 18 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq7:)
0 19 0 327698 -84 0 0 0 - RL ?? 0:00.00 (irq8:
rtc)
0 20 0 327698 -52 0 0 0 - WL ?? 0:00.12 (irq9:
acpi
0 21 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq10:
)
0 22 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq11:
)
0 23 0 327698 -60 0 0 0 - WL ?? 0:00.01 (irq12:
psm
0 24 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq13:
)
0 25 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq14:
)
0 26 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq15:
)
0 27 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq16:
)
0 28 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq17:
)
0 29 0 327698 -68 0 0 0 Giant LL ?? 0:05.91 (irq18:
xl0
0 30 0 327698 -68 0 0 0 Giant LL ?? 0:00.17 (irq19:
xl1
0 31 0 327698 -64 0 0 0 Giant LL ?? 0:00.48 (irq20:
ahc
0 32 0 327698 -64 0 0 0 - WL ?? 0:00.00 (irq21:
ahc
0 33 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq22:
)
0 34 0 327698 -21 0 0 0 - RL ?? 0:00.00 (irq23:
)
0 35 0 327698 -84 0 0 0 - RL ?? 0:00.00 (irq0:
clk)
0 36 0 327698 -44 0 0 0 - WL ?? 0:03.78 (swi1:
net)
0 37 0 327698 -48 0 0 0 Giant LL ?? 0:03.85 (swi8:
tty:
0 38 0 327698 -32 0 0 0 - RL ?? 0:00.00 (swi4:
vm)
0 39 0 327698 76 0 0 0 - DL ?? 0:00.27 (random
)
0 40 0 327698 -24 0 0 0 - RL ?? 0:00.00 (swi6:+
)
0 41 0 327698 -28 0 0 0 - RL ?? 0:00.00 (swi5:+
)
0 42 0 327698 -20 0 0 0 - WL ?? 0:00.00 (swi7:
acpi
0 43 0 327698 -40 0 0 0 - RL ?? 0:00.00 (swi2:
camn
0 44 0 327698 -36 0 0 0 Giant LL ?? 0:00.60 (swi3:
camb
0 45 0 327698 -20 0 0 0 - RL ?? 0:00.00 (swi7:
task
0 46 0 327698 -48 0 0 0 - WL ?? 0:00.00 (swi0:
tty:
0 47 0 327698 20 0 0 0 psleep DL ?? 0:00.00 (vmdaem
on)
0 48 0 327698 171 0 0 0 pgzero DL ?? 0:01.95 (pageze
ro)
0 49 0 327698 -16 0 0 0 psleep DL ?? 0:00.01 (bufdae
mon)
0 50 0 327698 -4 0 0 0 vlruwt DL ?? 0:00.01 (vnlru)
0 51 0 327698 20 0 0 0 syncer DL ?? 0:00.09 (syncer
)
0 52 0 327698 8 0 0 0 - DL ?? 0:00.03 (nfsiod
0)
0 53 0 327698 8 0 0 0 - DL ?? 0:00.00 (nfsiod
1)
0 54 0 327698 8 0 0 0 - DL ?? 0:00.00 (nfsiod
2)
0 55 0 327698 8 0 0 0 - DL ?? 0:00.00 (nfsiod
3)
..
0 357 1 327698 96 0 1352 0 - Rs ?? 0:00.06 (syslog
d)
0 370 1 327698 96 0 4904 0 - Rs ?? 0:00.43 (named)
0 383 1 327698 96 0 1496 0 select Ds ?? 0:00.05 (rpcbin
d)
0 459 1 327698 96 0 1460 0 select Ds ?? 0:00.02 (mountd
)
0 468 1 327698 4 0 1372 0 select Ds ?? 0:00.05 (nfsd)
0 469 468 327698 4 0 1256 0 - D ?? 0:00.00 (nfsd)
0 470 468 327698 4 0 1256 0 - D ?? 0:00.00 (nfsd)
0 471 468 327698 4 0 1256 0 - D ?? 0:00.00 (nfsd)
0 472 468 327698 4 0 1256 0 - D ?? 0:00.00 (nfsd)
0 473 468 327698 4 0 1256 0 - D ?? 0:00.00 (nfsd)
0 474 468 327698 4 0 1256 0 - D ?? 0:00.00 (nfsd)
0 481 1 327698 96 0 263584 0 - Rs ?? 0:00.00 (rpc.s
tatd)
0 486 1 327698 96 0 1612 0 select Ds ?? 0:00.01 (rpc.lo
ckd)
1 494 486 327698 4 0 1612 0 select D ?? 0:00.00 (rpc.lo
ckd)
..
# dmesg -N kernel.debug.28 -M vmcore.28
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE-p8 #28: Wed May 26 18:25:55 CEST 2004
marcolz@turtle.stack.nl:/usr/obj/usr/src/sys/TURTLE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc07fa000.
ACPI APIC Table: <PTLTD APIC >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) MP 2000+ (1666.74-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x662 Stepping = 2
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory = 1073217536 (1023 MB)
avail memory = 1037139968 (989 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 1
cpu1 (AP): APIC ID: 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
acpi0: <PTLTD RSDT > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 14 entries at 0xc00fdee0
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff iom
em 0xd8000-0xdbfff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <AMD 762 host to AGP bridge> port 0x1810-0x1813 mem 0xf9300000-0xf9300ff
f,0xfa000000-0xfbffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <mass storage, ATA> at device 7.1 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x1000-0x10ff mem 0xf800000
0-0xf8000fff irq 20 at device 10.0 on pci0
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x1400-0x14ff mem 0xf800100
0-0xf8001fff irq 21 at device 10.1 on pci0
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
pcib2: <ACPI PCI-PCI bridge> at device 16.0 on pci0
pci2: <ACPI PCI bus> on pcib2
xl0: <3Com 3c980C Fast Etherlink XL> port 0x2000-0x207f mem 0xf9001000-0xf9001
07f irq 18 at device 8.0 on pci2
xl0: Ethernet address: 00:e0:81:22:51:d8
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: <3Com 3c980C Fast Etherlink XL> port 0x2080-0x20ff mem 0xf9001400-0xf9001
47f irq 19 at device 9.0 on pci2
xl1: Ethernet address: 00:e0:81:22:51:d9
miibus1: <MII bus> on xl1
ukphy1: <Generic IEEE 802.3u media interface> on miibus1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0
-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROMs> at iomem 0xdc000-0xdffff,0xcd800-0xcdfff,0xc0000-0xc7fff o
n isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to
accept, logging disabled
IPv6 packet filtering initialized, default to accept, logging disabled
Waiting 5 seconds for SCSI devices to settle
GEOM: create disk da0 dp=0xc673a450
da0 at ahc0 bus 0 target 6 lun 0
da0: <IBM IC35L018UWD210-0 S5CS> Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enab
led
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
Accounting enabled
System call recvfrom returning with the following locks held:
exclusive sleep mutex Giant r = 0 (0xc071bec0) locked @ /usr/src/sys/kern/uipc
_syscalls.c:930
panic: witness_warn
cpuid = 0;
boot() called on cpu#0
syncing disks, buffers remaining... 2005 2005 2005 2005 2005 2005 2005 2005 20
05 2005 2005 2005 2005 2005 2005 2005 2005 2005 2005 2005
giving up on 1099 buffers
Uptime: 10m39s
Dumping 1023 MB
16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336
352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 6
56 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960
976 992 1008
# uname -a
FreeBSD turtle.stack.nl 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #28: Wed May
26 18:25:55 CEST 2004 marcolz@turtle.stack.nl:/usr/obj/usr/src/sys/TURTLE
i386
#
Script done on Fri Jul 16 15:36:42 2004
--
Jilles Tjoelker
------------------------------
Message: 12
Date: Fri, 16 Jul 2004 09:16:14 -0500 (CDT)
From: "Paul Seniura" <pdseniura@techie.com>
Subject: sound-driver overhaul and src/sys/conf/NOTES makeoptions
MODULES_OVERRIDE
To: <freebsd-current@freebsd.org>
Message-ID: <20040716141614.0977C5CA0@techpc04.okladot.state.ok.us>
Hi y'all,
I just got the CTM deltas applied that overhauled the sound driver scheme.
Referring to <tanimura@FreeBSD.org>'s message on Monday July 12:
> If there are no objection, I will commit on the evening of the next
> Wednesday.
Y'all may not realize what "next Wednesday" means to us U.S. southern folk.
"Next Wednesday" means "a week after this coming Wednesday".
So y'all put this patch out there a whole week early AFAIAC. ;)
Be that as it may...
Does this blurb in src/sys/conf/NOTES still apply?
[...]
# Only build Linux API modules and plus those parts of the sound system I need
..
#makeoptions MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maest
ro3"
[...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^ etc.
If not, how would we do such a thing presently?
-- thx, Paul Seniura
System Specialist
State of Okla. D.O.T.
------------------------------
Message: 13
Date: Fri, 16 Jul 2004 15:31:56 +0100
From: Ceri Davies <ceri@FreeBSD.org>
Subject: Re: sound-driver overhaul and src/sys/conf/NOTES makeoptions
MODULES_OVERRIDE
To: Paul Seniura <pdseniura@techie.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040716143156.GL29928@submonkey.net>
Content-Type: text/plain; charset="us-ascii"
On Fri, Jul 16, 2004 at 09:16:14AM -0500, Paul Seniura wrote:
>
> Hi y'all,
>
> I just got the CTM deltas applied that overhauled the sound driver scheme.
>
> Referring to <tanimura@FreeBSD.org>'s message on Monday July 12:
> > If there are no objection, I will commit on the evening of the next
> > Wednesday.
> Y'all may not realize what "next Wednesday" means to us U.S. southern folk.
> "Next Wednesday" means "a week after this coming Wednesday".
> So y'all put this patch out there a whole week early AFAIAC. ;)
>
> Be that as it may...
>
> Does this blurb in src/sys/conf/NOTES still apply?
>
> [...]
> # Only build Linux API modules and plus those parts of the sound system I ne
ed.
> #makeoptions MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/mae
stro3"
> [...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^ etc.
You may not have all the deltas - NOTES has been updated regarding this.
Ceri
--
It is not tinfoil, it is my new skin. I am a robot.
-------------- 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/20040716/
32f51cde/attachment-0001.bin
------------------------------
Message: 14
Date: Fri, 16 Jul 2004 16:52:13 +0200
From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject: Re: vinum dangling vnode & GEOM stripe problems
To: Daniel Eriksson <daniel_k_eriksson@telia.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040716145213.GJ12007@darkness.comp.waw.pl>
Content-Type: text/plain; charset="iso-8859-2"
On Fri, Jul 16, 2004 at 12:55:44AM +0200, Daniel Eriksson wrote:
+> Problem #2:
+> Yesterday I was playing around with the GEOM stripe module, and it messed
+> the machine up pretty bad when trying to create a simple 2 disc stripe. It
+> made all the discs that were attached to ataraid arrays time out, which
+> resulted in the stripes getting crashed, and then it eventually panicked in
+> some vfs function.
GEOM_STRIPE class is rather simple and I tested it quite well, I think.
Could you run regression tests?
# cd /usr/src/tools/regiression/geom_stripe
# ./runtests.sh
+> As soon as I have added more swap I'll post a more detailed error report.
+> Just wanted to throw this out as it seems to be very easy for me to
+> reproduce the panics.
Great.
--
Pawel Jakub Dawidek http://www.FreeBSD.org
pjd@FreeBSD.org http://garage.freebsd.pl
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040716/
6f7f9408/attachment-0001.bin
------------------------------
Message: 15
Date: Fri, 16 Jul 2004 08:57:47 -0600
From: "P.D. Seniura" <pdseniura@techie.com>
Subject: Re: sound-driver overhaul and src/sys/conf/NOTES makeoptions
MODULES_OVERRIDE
To: "Ceri Davies" <ceri@FreeBSD.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040716145747.76190790001@ws1-14.us4.outblaze.com>
Content-Type: text/plain; charset="iso-8859-1"
----- Original Message -----
From: Ceri Davies <ceri@FreeBSD.org>
Date: Fri, 16 Jul 2004 15:31:56 +0100
To: Paul Seniura <pdseniura@techie.com>
Subject: Re: sound-driver overhaul and src/sys/conf/NOTES makeoptions MODULES_
OVERRIDE
> On Fri, Jul 16, 2004 at 09:16:14AM -0500, Paul Seniura wrote:
> >
> > Hi y'all,
> >
> > I just got the CTM deltas applied that overhauled the sound driver scheme.
> >
> > Referring to <tanimura@FreeBSD.org>'s message on Monday July 12:
> > > If there are no objection, I will commit on the evening of the next
> > > Wednesday.
> > Y'all may not realize what "next Wednesday" means to us U.S. southern folk
> > "Next Wednesday" means "a week after this coming Wednesday".
> > So y'all put this patch out there a whole week early AFAIAC. ;)
> >
> > Be that as it may...
> >
> > Does this blurb in src/sys/conf/NOTES still apply?
> >
> > [...]
> > # Only build Linux API modules and plus those parts of the sound system I
need.
> > #makeoptions MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/m
aestro3"
> > [...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^ etc.
>
> You may not have all the deltas - NOTES has been updated regarding this.
There have been no deltas released today -- they come
out every 16 hours. (Our political firewall still
won't allow CVS/CVSup even after writing and
submitting business proposals thru the chain of
command here. <sigh>)
The following commit did NOT make it to the latest
delta -- it just showed up in the last few minutes.
It will be in the NEXT delta when its 16-hour timer
pops. I hope. ;)
So this is one of those "half-baked updates", but not
one that ruins a whole day for us, fortunately. ;)
>tanimura 2004-07-16 08:12:15 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/conf NOTES
> Log:
> Sync the example of MODULES_OVERRIDE with the renamed sound drivers.
>
> Pointed out by: Christoph Mallon <christoph.mallon@gmx.de>
>
> Revision Changes Path
> 1.1247 +1 -1 src/sys/conf/NOTES
So I hope committers will understand the timing
constraints with CTM. I must follow -Current for
reasons I've broadcast here before. I do know how to
use cvsweb but it is a pain sometimes to get the fixes
for "half-baked updates". ;)
> Ceri
> --
> It is not tinfoil, it is my new skin. I am a robot.
-- thx, Paul Seniura.
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
------------------------------
Message: 16
Date: Fri, 16 Jul 2004 17:30:25 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: spin lock sched lock held by 0xffffff007b712250 for > 5
seconds
To: <freebsd-current@freebsd.org>
Message-ID: <0b4001c46b49$d146f6d0$471b3dd4@digiware.nl>
Content-Type: text/plain; charset="iso-8859-1"
After todays kernelbuild the system seem to be a lot better...
It can take quite some buildworld abuse, but still:
spin lock sched lock held by 0xffffff007b712250 for > 5 seconds
panic: spin lock held too long
cpuid = 1;
KDB: enter: panic
But I'm not shure what I could/should do now, since the KDB introduction.
Normally I'd expect to see:
db>
But there no way to get any response.
--WjW
------------------------------
Message: 17
Date: Fri, 16 Jul 2004 09:51:25 -0600
From: Scott Long <scottl@freebsd.org>
Subject: Re: spin lock sched lock held by 0xffffff007b712250 for > 5
seconds
To: Willem Jan Withagen <wjw@withagen.nl>
Cc: freebsd-current@freebsd.org
Message-ID: <40F7F97D.80801@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Willem Jan Withagen wrote:
> After todays kernelbuild the system seem to be a lot better...
> It can take quite some buildworld abuse, but still:
>
> spin lock sched lock held by 0xffffff007b712250 for > 5 seconds
> panic: spin lock held too long
> cpuid = 1;
> KDB: enter: panic
>
>
>
> But I'm not shure what I could/should do now, since the KDB introduction.
> Normally I'd expect to see:
> db>
>
> But there no way to get any response.
>
> --WjW
>
Is your kernel built with both KDB and DDB?
Scott
------------------------------
Message: 18
Date: Fri, 16 Jul 2004 17:58:11 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Re: spin lock sched lock held by 0xffffff007b712250 for > 5
seconds
To: "Scott Long" <scottl@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <0b5b01c46b4d$b24cd4d0$471b3dd4@digiware.nl>
Content-Type: text/plain; charset="iso-8859-1"
From: "Scott Long" <scottl@freebsd.org>
> Willem Jan Withagen wrote:
> > After todays kernelbuild the system seem to be a lot better...
> > It can take quite some buildworld abuse, but still:
> >
> > spin lock sched lock held by 0xffffff007b712250 for > 5 seconds
> > panic: spin lock held too long
> > cpuid = 1;
> > KDB: enter: panic
> >
> >
> >
> > But I'm not shure what I could/should do now, since the KDB introduction.
> > Normally I'd expect to see:
> > db>
> >
> > But there no way to get any response.
>
> Is your kernel built with both KDB and DDB?
from /usr/src/amd64conf/OPTERON.amd64
# Debugging for use in -current
options KDB # Enable kernel debugger support.
options KDB_TRACE
options DDB # Support DDB.
options GDB # Support remote GDB.
--WjW
------------------------------
Message: 19
Date: Fri, 16 Jul 2004 12:21:09 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: spin lock sched lock held by 0xffffff007b712250 for > 5
seconds
To: Willem Jan Withagen <wjw@withagen.nl>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.NEB.3.96L.1040716121933.4361A-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 16 Jul 2004, Willem Jan Withagen wrote:
> After todays kernelbuild the system seem to be a lot better...
> It can take quite some buildworld abuse, but still:
>
> spin lock sched lock held by 0xffffff007b712250 for > 5 seconds
> panic: spin lock held too long
> cpuid = 1;
> KDB: enter: panic
>
> But I'm not shure what I could/should do now, since the KDB
> introduction. Normally I'd expect to see: db>
We have trouble entering the debugger when in a critical section/and or
have sched_lock held -- I think this is because we try to halt the other
CPUs and that gets nastily stuck in some form. We need to fix this.
This could well be a symptom of some of the other hangs we've been seeing,
and I've seen similar things on my test box with preemption enabled.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
------------------------------
Message: 20
Date: Fri, 16 Jul 2004 18:32:27 +0200
From: Bernd Walter <ticso@cicely12.cicely.de>
Subject: Re: hm, how to recover from a fscked-up device.hints?
To: Wilko Bulte <wb@freebie.xs4all.nl>
Cc: Ceri Davies <ceri@submonkey.net>
Message-ID: <20040716163226.GB21212@cicely12.cicely.de>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 15, 2004 at 03:00:55PM +0200, Wilko Bulte wrote:
> On Thu, Jul 15, 2004 at 12:44:25PM +0100, Ceri Davies wrote:
> > On Wed, Jul 14, 2004 at 10:36:42PM +0200, Wilko Bulte wrote:
> > > I just created myself an interesting challenge:
> > >
> > > - I basically replaced my /boot/device.hints with a nonsensical one (do
n't
> > > ask), it is not a device.hints file at all.
> > >
> > > How does one recover from that? Booting kernel.old does not fix it for
> > > obvious reasons..
> >
> > Boot from CDROM?
>
> Yeah.. I thought of that one, but I was wondering about something
> more clever. Probably does not exist :)
Cut & Paste it on serial console - or as other said type the minimum
required for single user mode by hand.
--
B.Walter BWCT http://www.bwct.de
bernd@bwct.de info@bwct.de
------------------------------
Message: 21
Date: Fri, 16 Jul 2004 18:34:10 +0200
From: Wilko Bulte <wb@freebie.xs4all.nl>
Subject: Re: hm, how to recover from a fscked-up device.hints?
To: ticso@cicely.de
Cc: Ceri Davies <ceri@submonkey.net>
Message-ID: <20040716163410.GB24452@freebie.xs4all.nl>
Content-Type: text/plain; charset=us-ascii
On Fri, Jul 16, 2004 at 06:32:27PM +0200, Bernd Walter wrote:
> On Thu, Jul 15, 2004 at 03:00:55PM +0200, Wilko Bulte wrote:
> > On Thu, Jul 15, 2004 at 12:44:25PM +0100, Ceri Davies wrote:
> > > On Wed, Jul 14, 2004 at 10:36:42PM +0200, Wilko Bulte wrote:
> > > > I just created myself an interesting challenge:
> > > >
> > > > - I basically replaced my /boot/device.hints with a nonsensical one (
don't
> > > > ask), it is not a device.hints file at all.
> > > >
> > > > How does one recover from that? Booting kernel.old does not fix it fo
r
> > > > obvious reasons..
> > >
> > > Boot from CDROM?
> >
> > Yeah.. I thought of that one, but I was wondering about something
> > more clever. Probably does not exist :)
>
> Cut & Paste it on serial console - or as other said type the minimum
> required for single user mode by hand.
I went for the CDboot method, which obviously works OK.
--
Wilko Bulte wilko@FreeBSD.org
------------------------------
Message: 22
Date: Fri, 16 Jul 2004 18:31:28 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: 50 ways to crash a kernel: Stopping serial output.
To: <freebsd-current@freebsd.org>
Message-ID: <0b7b01c46b52$58213c80$471b3dd4@digiware.nl>
Content-Type: text/plain; charset="iso-8859-1"
(Free to: 50 ways to leave your lovers.)
Building world through console on a serial port, running at 115k2...
When I saw something interesting, I went ^S to schroll back.
Few seconds later I heard a booting beep from under my desk.
And lo and behold, the box rebooted.
--WjW
------------------------------
Message: 23
Date: Fri, 16 Jul 2004 12:40:22 -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: <20040716164022.1A5567303F@freebsd-current.sentex.ca>
TB --- 2004-07-16 15:47:20 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-16 15:47:20 - starting CURRENT tinderbox run for sparc64/sparc6
4
TB --- 2004-07-16 15:47:20 - cleaning the sandbox
TB --- 2004-07-16 15:48:22 - checking out the source tree
TB --- 2004-07-16 15:48:22 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4
TB --- 2004-07-16 15:48:22 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A
src
TB --- 2004-07-16 15:55:12 - patching the sources
TB --- 2004-07-16 15:55:12 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-07-16 15:55:12 - /usr/bin/patch -f -s -i/home/tinderbox/sandbox/sp
arc64.diff
TB --- 2004-07-16 15:55:12 - building world (CFLAGS=-O -pipe)
TB --- 2004-07-16 15:55:12 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-07-16 15:55:12 - /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-16 16:39:39 - building generic kernel (COPTFLAGS=-O -pipe)
TB --- 2004-07-16 16:39:39 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-07-16 16:39:39 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Fri Jul 16 16:39:39 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
[...]
In file included from /tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/a
cpica/acpi.h:127,
from /tinderbox/CURRENT/sparc64/sparc64/src/sys/dev/fdc/fdc_a
cpi.c:38:
/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica/actypes.h:168:2:
#error ACPI_MACHINE_WIDTH not defined
/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica/actypes.h:277:2:
#error unknown ACPI_MACHINE_WIDTH
In file included from /tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/a
cpica/acpi.h:129,
from /tinderbox/CURRENT/sparc64/sparc64/src/sys/dev/fdc/fdc_a
cpi.c:38:
/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica/acmacros.h:377:2
: #error unknown ACPI_MACHINE_WIDTH
mkdep: compile failed
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src/sys/modules/fdc.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src/sys/modules.
*** 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-16 16:40:21 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-16 16:40:21 - ERROR: failed to build generic kernel
TB --- 2004-07-16 16:40:21 - tinderbox aborted
------------------------------
Message: 24
Date: Fri, 16 Jul 2004 18:33:12 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Re: spin lock sched lock held by 0xffffff007b712250 for > 5
seconds
To: "Robert Watson" <rwatson@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <0b8301c46b52$96931b50$471b3dd4@digiware.nl>
Content-Type: text/plain; charset="iso-8859-1"
From: "Robert Watson" <rwatson@freebsd.org>
> On Fri, 16 Jul 2004, Willem Jan Withagen wrote:
>
> > After todays kernelbuild the system seem to be a lot better...
> > It can take quite some buildworld abuse, but still:
> >
> > spin lock sched lock held by 0xffffff007b712250 for > 5 seconds
> > panic: spin lock held too long
> > cpuid = 1;
> > KDB: enter: panic
> >
> > But I'm not shure what I could/should do now, since the KDB
> > introduction. Normally I'd expect to see: db>
>
> We have trouble entering the debugger when in a critical section/and or
> have sched_lock held -- I think this is because we try to halt the other
> CPUs and that gets nastily stuck in some form. We need to fix this.
>
> This could well be a symptom of some of the other hangs we've been seeing,
> and I've seen similar things on my test box with preemption enabled.
To be honest, it is a lot better than at the beginning of the week.
Anything I can do to help debug either of them??
Suggestions where/what to look for?
--WjW
------------------------------
Message: 25
Date: Fri, 16 Jul 2004 19:30:31 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: One more .....
To: "Willem Jan Withagen" <wjw@withagen.nl>, "Robert Watson"
<rwatson@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <0bec01c46b5a$98469e10$471b3dd4@digiware.nl>
Content-Type: text/plain; charset="iso-8859-1"
From: "Willem Jan Withagen" <wjw@withagen.nl>
To: "Robert Watson" <rwatson@freebsd.org>
Cc: <freebsd-current@freebsd.org>
Sent: Friday, July 16, 2004 6:33 PM
Subject: Re: spin lock sched lock held by 0xffffff007b712250 for > 5 seconds
> From: "Robert Watson" <rwatson@freebsd.org>
> > On Fri, 16 Jul 2004, Willem Jan Withagen wrote:
> >
> > > After todays kernelbuild the system seem to be a lot better...
> > > It can take quite some buildworld abuse, but still:
> > >
> > > spin lock sched lock held by 0xffffff007b712250 for > 5 seconds
> > > panic: spin lock held too long
> > > cpuid = 1;
> > > KDB: enter: panic
> > >
> > > But I'm not shure what I could/should do now, since the KDB
> > > introduction. Normally I'd expect to see: db>
> >
> > We have trouble entering the debugger when in a critical section/and or
> > have sched_lock held -- I think this is because we try to halt the other
> > CPUs and that gets nastily stuck in some form. We need to fix this.
> >
> > This could well be a symptom of some of the other hangs we've been seeing,
> > and I've seen similar things on my test box with preemption enabled.
>
> To be honest, it is a lot better than at the beginning of the week.
> Anything I can do to help debug either of them??
> Suggestions where/what to look for?
panic: process 82471(sh):2 holds Giant but isn't blocked on a lock
cpuid = 1;
KDB: enter: panic
Is there any purpose in reporting these crashes this way???
--WjW
------------------------------
Message: 26
Date: Fri, 16 Jul 2004 19:53:21 +0200
From: Martin <nakal@web.de>
Subject: Re: PPPoE misbehaving?
To: Chris Knipe <savage@savage.za.org>
Cc: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <1090000401.1765.14.camel@klotz.local>
Content-Type: text/plain
Am Fr, den 16.07.2004 schrieb Chris Knipe um 12:44:
> Also fine.... Lastly, the client fires off a PPPoE session... TCPDump shows
> the packets without problems...
> tcpdump: listening on ath0
> 12:31:09.050286 PPPoE PADI [Service-Name] [Host-Uniq UTF8]
> 12:31:09.122091 PPPoE PADI [Service-Name] [Host-Uniq UTF8]
> ^C
> 2 packets received by filter
> 0 packets dropped by kernel
>
> However, the PPPoE Deamon simply does not pick it up and does nothing. No
> session is initiated, no ppp processes are spawned, nothing...
I submitted a PR (kern/69133) about this:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern%2F69133
> Has
> something changed?????
PPPoE is broken for me on -CURRENT, too, now since about 2 weeks.
Martin
------------------------------
Message: 27
Date: Fri, 16 Jul 2004 12:50:53 -0500
From: Mike Thomas <mwt@cems.umn.edu>
Subject: nfsd problems with FreeBSD 5.2.1
To: freebsd-current@freebsd.org
Message-ID: <40F8157D.5040104@cems.umn.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hello,
Alright folks, I'm in some serious need for help/advice.
I'm running FreeBSD 5.2.1 (-current) with a kernel/buildworld ran
yesterday (7/16/2004) on a Dual Xeon 3.06ghz with hyperthreading
enabled. The machine also has 2gb of ram and a scsi raided array with an
intel storage raid array controller. (iir0)
The machine functions as a nis client for accounts with home directories
nfs mounted from a Solaris 9 machine. It's primary function is as a mail
server, and what it is nfs sharing out is the spool folder. (/var/mail,
in this case).
I know all about the dangers of sharing out a mail spool, I don't need,
or want, a lecture about proper operating procedures in this case. It's
for legacy purposes and will be going away in due time. Anyway, its with
this mount that I am experiencing these nfs problems.
Now, to the nitty gritty. I am seeing periodic spikes from one of the
nfsd children from about 10% of the cpu (via top) to 100% of the cpu.
During times of this spike, even if the spike only reaches 40-50% of the
cpu, the machine becomes dibilitatingly slow and stops responding to all
other commands. Even issuing an 'ls' is difficult, let alone doing
anything productive. While using top, the nfsd state will alternate
between biowr, biord, *Giant (yeah, it even is requesting Giant locks).
I have recompiled every single ounce of software that operates on
/var/mail to only use fcntl locking (procmail/postfix/uw-imap (there's a
patch by redhat to do that)) so that it is nfs friendly.
Here's what I've tried to do to see if it made any difference. First,
all mounts of /var/mail from other servers were using UDP, they have all
been switched to tcp with a rsize and wsize of 1024. I've tried 4096,
and 8192, both which make no difference. All clients are specifically
forced to use NFSv3. I have also tried varying between a soft and hard
mount, also, with no difference in these spikes.
I also tried switching back to the 4BSD scheduler, to see if that might
have beeen the issue, but it would appear that didn't make any
difference as well, though the max load average I was seeing stayed a
bit lower with ULE as upposed to the 4BSD scheduler.
So, I'm really at the end of my rope right now, I have no idea what to
do or what could be causing this. Any advice would be great, thanks.
--Mike
------------------------------
Message: 28
Date: Fri, 16 Jul 2004 14:05:39 -0400
From: Allan Fields <bsd@afields.ca>
Subject: Re: parallel port *slow* (and plip probs.)
To: Andrew Gordon <arg-bsd@arg.me.uk>
Cc: current@freebsd.org
Message-ID: <20040716180539.GE12833@afields.ca>
Content-Type: text/plain; charset=us-ascii
On Fri, Jul 16, 2004 at 11:59:39AM +0100, Andrew Gordon wrote:
> On Fri, 16 Jul 2004, Palle Girgensohn wrote:
> >
> > --On torsdag, juli 15, 2004 20.33.28 -0400 Allan Fields <bsd@afields.ca>
> > wrote:
> >
> > > On Thu, Jul 15, 2004 at 11:36:30PM +0100, Antony T Curtis wrote:
> > >> On Thu, 2004-07-15 at 22:07, Palle Girgensohn wrote:
> > >> > Only, the flags don't work, nothing seems to happen?
> > >
> > > Did you set to ECP mode in your BIOS?
> >
> > ECP+EPP
>
> Should be fine
>
> However, the key thing in that line is the "drq 3" - ECP mode will not
> work without a drq setting (and IIRC you just get left in SPP mode without
> any diagnostics). The hints listed above don't appear to include one.
>
> > > I've had ECP working in 5.1 & 5.2 using device.hints as I've been
> > > misusing a machine as PLIP router to provide old laptop w/ network
> > > since PCMCIA interface isn't working w/ installed kernel.
>
> I'm fairly sure this is irrelevant, since PLIP just does bit-bashing in
> the port registers that control the pins directly and doesn't use any of
> the parallel port modes.
>
> So, your port probably isn't really working in ECP mode but you don't care
> for that application.
Yup, you're right, and performance isn't any better either way.
At the time I enabled it, I thought it would help, but doesn't.
plip really eats up the resources (explained in code or man page
why.) So while useful for short term use absent any other setup,
it bogs a machine down significantly -- with interrupt activity and
sets splhigh()
> [Disclaimer: I've not really used parallel ports since 4.x, but I don't
> think anything of significance has changed. Certainly 'ECP must use
> ISA DMA' is a fundamental feature of the hardware].
Yes: EPP requires IRQ, while ECP requires both DMA and an IRQ. So unless
it uses DMA 3 setting implicitly, I'd follow the logic.
- Allan
------------------------------
Message: 29
Date: Sat, 17 Jul 2004 03:11:47 +0900 (JST)
From: Norikatsu Shigemura <nork@FreeBSD.org>
Subject: panic at turnstile_wait (Re: panic at sched_add_internal)
To: current@FreeBSD.org
Message-ID: <200407161811.i6GIBlIi095775@sakura.ninth-nine.com>
Content-Type: text/plain; charset=US-ASCII
On Fri, 16 Jul 2004 08:30:05 +0900 (JST)
Norikatsu Shigemura <nork@freebsd.org> wrote:
> > Oops, another panic has happend.
> Now, I'm using old(?) current kernel:-(.
Return match.
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
> [thread 100124]
> Stopped at turnstile_wait+0x17a: movl %eax,0x10(%edx)
> db> trace
> turnstile_wait(c301e340,c0877f40,c36e4420,c0877f40,f9) at turnstile_wait+0x1
7a
> _mtx_lock_sleep(c0877f40,0,c07bd610,f9,0) at _mtx_lock_sleep+0x125
> _mtx_lock_flags(c0877f40,0,c07bd610,f9,0) at _mtx_lock_flags+0x64
[...]
> --> LIST_INSERT_HEAD(&ts->ts_free, td->td_turnstile, ts_hash);
> MPASS(owner == ts->ts_owner);
> }
> td->td_turnstile = NULL;
> [...]
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
Same panic has happend at same place on new current (+1day).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
[thread 100303]
Stopped at turnstile_wait+0x17a: movl %eax,0x10(%edx)
db> trace
turnstile_wait(c2b94080,c07b7d20,c3b38160,c07b7d20,14b) at turnstile_wait+0x17
a
_mtx_lock_sleep(c07b7d20,0,c07130cd,14b,c4878840) at _mtx_lock_sleep+0x125
_mtx_lock_flags(c07b7d20,0,c07130cd,14b,1) at _mtx_lock_flags+0x64
cv_timedwait_sig(c07e8204,c07e81e0,2,3a6,10) at cv_timedwait_sig+0x2a4
poll(c4878840,e3e7ad14,c,c0735b13,3) at poll+0x45b
syscall(814002f,2f,bfbf002f,8149000,2) at syscall+0x2a0
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (209, FreeBSD ELF32, poll), eip = 0x684c28af, esp = 0xbfbfeb1c, eb
p = 0xbfbfeb38 ---
db> p %edx
0
db> gdb
db>
Step to enter the remote GDB backend.
db> n
panic: blockable sleep lock (sleep mutex) process lock @ /usr/src/sys/i386/i38
6/trap.c:702
cpuid = 0;
KDB: enter: panic
[...]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
$ gdb6 -k kernel.debug
(kgdb) target remote :XXXXX
Remote debugging using :XXXXX
Ignoring packet error, continuing...
warning: Invalid remote reply:
kdb_enter (msg=???) at /usr/src/sys/kern/subr_kdb.c:228
228 }
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint
(kgdb) list *turnstile_wait+0x17a
0xc055b55a is in turnstile_wait (/usr/src/sys/kern/subr_turnstile.c:517).
512 TAILQ_INSERT_BEFORE(td1, td, td_lockq);
513 else
514 TAILQ_INSERT_TAIL(&ts->ts_blocked, td, td_lock
q);
515 mtx_unlock_spin(&td_contested_lock);
516 MPASS(td->td_turnstile != NULL);
517 LIST_INSERT_HEAD(&ts->ts_free, td->td_turnstile, ts_ha
sh);
518 MPASS(owner == ts->ts_owner);
519 }
520 td->td_turnstile = NULL;
521 mtx_unlock_spin(&tc->tc_lock);
(kgdb) where
#0 kdb_enter (msg=???) at /usr/src/sys/kern/subr_kdb.c:228
#1 0xc0536096 in panic (fmt=0xc0717d41 "blockable sleep lock (%s) %s @ %s:%d"
)
at /usr/src/sys/kern/kern_shutdown.c:529
#2 0xc055c2fe in witness_checkorder (lock=0xc30313e4, flags=9,
file=0xc07329c5 "/usr/src/sys/i386/i386/trap.c", line=702)
at /usr/src/sys/kern/subr_witness.c:698
#3 0xc052c452 in _mtx_lock_flags (m=0xc30313e4, opts=0,
file=0xc07329c5 "/usr/src/sys/i386/i386/trap.c", line=702)
at /usr/src/sys/kern/kern_mutex.c:251
#4 0xc06ce51b in trap_pfault (frame=0xe3e7aab0, usermode=0, eva=16)
at /usr/src/sys/i386/i386/trap.c:702
#5 0xc06ce23d in trap (frame=
{tf_fs = -4194280, tf_es = 16, tf_ds = -1065615344, tf_edi = -1028046720
, tf_esi = -997750720, tf_ebp = -471356656, tf_isp = -471356708, tf_ebx = 0, t
f_edx = 0, tf_ecx = -997750720, tf_eax = -1028049024, tf_trapno = 12, tf_err =
2, tf_eip = -1068124838, tf_cs = 8, tf_eflags = 65794, tf_esp = -1065606464,
tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:417
#6 0xc06badaa in calltrap () at /usr/src/sys/i386/i386/exception.s:140
#7 0xffc00018 in ?? ()
#8 0x00000010 in ?? ()
#9 0xc07c0010 in kseq_cpu ()
#10 0xc2b94080 in ?? ()
#11 0xc4878840 in ?? ()
#12 0xe3e7ab10 in ?? ()
#13 0xe3e7aadc in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0xc4878840 in ?? ()
#17 0xc2b93780 in ?? ()
#18 0x0000000c in ?? ()
#19 0x00000002 in ?? ()
#20 0xc055b55a in turnstile_wait (ts=0xc2b94080, lock=0xc07b7d20, owner=???)
at /usr/src/sys/kern/subr_turnstile.c:517
#21 0xc052c815 in _mtx_lock_sleep (m=0xc07b7d20, opts=0,
file=0xc07130cd "/usr/src/sys/kern/kern_condvar.c", line=331)
at /usr/src/sys/kern/kern_mutex.c:542
#22 0xc052c484 in _mtx_lock_flags (m=0xc07b7d20, opts=0,
file=0xc07130cd "/usr/src/sys/kern/kern_condvar.c", line=331)
at /usr/src/sys/kern/kern_mutex.c:253
#23 0xc0510ed4 in cv_timedwait_sig (cvp=0xc07e8204, mp=0xc07e81e0, timo=???)
at /usr/src/sys/kern/kern_condvar.c:331
#24 0xc055fc8b in poll (td=0xc4878840, uap=0xe3e7ad14)
at /usr/src/sys/kern/sys_generic.c:937
#25 0xc06ced00 in syscall (frame=
{tf_fs = 135528495, tf_es = 47, tf_ds = -1078001617, tf_edi = 135565312,
tf_esi = 2, tf_ebp = -1077941448, tf_isp = -471356044, tf_ebx = 1748419708, t
f_edx = 136998848, tf_ecx = 0, tf_eax = 209, tf_trapno = 22, tf_err = 2, tf_ei
p = 1749821615, tf_cs = 31, tf_eflags = 642, tf_esp = -1077941476, tf_ss = 47}
)
at /usr/src/sys/i386/i386/trap.c:1001
#26 0xc06badff in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:20
1
#27 0x0814002f in ?? ()
#28 0x0000002f in ?? ()
#29 0xbfbf002f in ?? ()
#30 0x08149000 in ?? ()
#31 0x00000002 in ?? ()
#32 0xbfbfeb38 in ?? ()
#33 0xe3e7ad74 in ?? ()
#34 0x6836c47c in ?? ()
#35 0x082a6fc0 in ?? ()
#36 0x00000000 in ?? ()
#37 0x000000d1 in ?? ()
#38 0x00000016 in ?? ()
#39 0x00000002 in ?? ()
#40 0x684c28af in ?? ()
#41 0x0000001f in ?? ()
#42 0x00000282 in ?? ()
#43 0xbfbfeb1c in ?? ()
#44 0x0000002f in ?? ()
#45 0x00000000 in ?? ()
#46 0x00000000 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000000 in ?? ()
#49 0x3838f000 in ?? ()
#50 0xc270dc60 in ?? ()
#51 0xc2b98e40 in ?? ()
#52 0xe3e7aa84 in ?? ()
#53 0xe3e7aa64 in ?? ()
#54 0xc4878840 in ?? ()
#55 0xc0549220 in sched_switch (td=0x6836c47c, newtd=0x8149000)
at /usr/src/sys/kern/sched_ule.c:1171
Previous frame inner to this frame (corrupt stack?)
(kgdb)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
------------------------------
Message: 30
Date: Fri, 16 Jul 2004 14:21:43 -0400
From: Allan Fields <bsd@afields.ca>
Subject: Re: 5.3-RELEASE TODO
To: Scott Long <scottl@samsco.org>
Cc: current@freebsd.org
Message-ID: <20040716182143.GA18177@afields.ca>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 15, 2004 at 09:18:29PM -0600, Scott Long wrote:
> Scott Long wrote:
> >Tim Robbins wrote:
> >
> >>On Thu, Jul 15, 2004 at 03:20:19PM -0700, Colin Percival wrote:
> >>
> >>>At 15:04 15/07/2004, Kris Kennaway wrote:
> >>>
> >>>>* linprocfs [...]
> >>>> if (pvd->pvd_pid != NO_PID) {
> >>>> if ((proc = pfind(pvd->pvd_pid)) == NULL)
> >>>> PFS_RETURN (ENOENT);
> >>>>--> vap->va_uid = proc->p_ucred->cr_ruid;
> >>>>
> >>>>rwatson has a patch that works around this particular null pointer
> >>>>deref, but the underlying cause is not addressed.
> [...]
> Ok, I've officially been in front of the computer for too long today.
> This response was actually meant for a different message. Sorry for the
> confusion.
>
> Scott
Hmm.. on a hunch I'll assume this was meant for the plip thread on
-current ;)
> >Please don't take this the wrong way, but would you consider using a
> >null-modem serial cable and SLIP or PPP instead? PLIP has been
> >neglected nice it was first introduced, and I doubt that it has much
> >life left. Setting up SLIP and PPP is trivially easy and has a much
> >better chance of working between OS's.
> >
> >Scott
I can set that up yeah, I used plip since I assumed it would be
faster than ppp over serial line. I've been getting at most
~60 KBps.
My only reservation in removing this would be, it came in handy
and still primarily works. It's useful absent any other link but
imposes a large overhead. Should this driver still use splhigh()?
I'll also note that even NetBSD seems to omit plip support at the
moment. So I'll take that as a prophetic nod from the code-reaper.
Funny thing is now I'm having trouble reproducing the IP header
problem.. could it be cable/hardware that was the culprit?
> Scott
Thanks..
Allan
------------------------------
Message: 31
Date: Fri, 16 Jul 2004 11:34:06 -0700
From: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: One more .....
To: Willem Jan Withagen <wjw@withagen.nl>
Cc: freebsd-current@freebsd.org
Message-ID: <20040716183406.GA7534@ns1.xcllnt.net>
Content-Type: text/plain; charset=us-ascii
On Fri, Jul 16, 2004 at 07:30:31PM +0200, Willem Jan Withagen wrote:
>
> panic: process 82471(sh):2 holds Giant but isn't blocked on a lock
>
> cpuid = 1;
> KDB: enter: panic
>
> Is there any purpose in reporting these crashes this way???
You might want to make sure your debugger backend is DDB and not
GDB.
--
Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
------------------------------
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
End of freebsd-current Digest, Vol 68, Issue 37
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[36m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m