Message-ID: <4DI8gl$Ba1@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 69, Issue 1
Date: Mon, 19 Jul 2004 11:27:11 +0000
From: Galoisz.bbs@bbs.ustc.edu.cn (���博士)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.mbox.zip!g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!news.octanews.net!c01.usenetserver.com!sjc1.usenetserver.com!news.usenetserver.com!news.bylinux.net!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1090236431.A
Lines: 1880
Xref: 74.82.202.154 cn.bbs.comp.unix:1359


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: Excellent job on the firewire support! (Andrew Gallatin)
   2. Re: kldunload if_sk -> LOR & panic (Bjoern A. Zeeb)
   3. Re: Excellent job on the firewire support! (Doug Rabson)
   4. Re: panic: Duplicate free of item 0xffffff005c4a8600 from
      zone	0xffffff007fed4780(Mbuf) (Willem Jan Withagen)
   5. Re: Overriding -Werror in buildworld/buildkernel (Johan Karlsson)
   6. Re: panic: Duplicate free of item 0xffffff005c4a8600 from
      zone	0xffffff007fed4780(Mbuf) (Willem Jan Withagen)
   7. Re: panic: APIC: Previous IPI is stuck (Matthew Dillon)
   8. Re: xfce4 help (Andreas Kohn)
   9. Re: acpi_video users needed (Sebastian Yepes F. [ESN])
  10. Re: panic: Duplicate free of item 0xffffff005c4a8600 from
      zone0xffffff007fed4780(Mbuf) (Willem Jan Withagen)
  11. ADAPTIVE_MUTEXES panic. (Pawel Jakub Dawidek)
  12. Re: ADAPTIVE_MUTEXES panic. (Pawel Jakub Dawidek)
  13. Re: panic: APIC: Previous IPI is stuck (Julian Elischer)
  14. Kernel preemption leads to SATA instability (how to debug?)
      (Daniel Eriksson)
  15. apm broken (Gleb Smirnoff)
  16. lockups with src/tools/regression/gaithrstress
      (Brian Fundakowski Feldman)
  17. ppp => Phase: deflink: Already in NETWORK phase
      (Andrew Konstantinov)
  18. Re: NEW TAR (Andrey Chernov)
  19. Installworld borked? (Grover Lines)
  20. Re: panic: Duplicate free of item 0xffffff005c4a8600
      fromzone0xffffff007fed4780(Mbuf) (Willem Jan Withagen)
  21. Re: apm broken (Gleb Smirnoff)
  22. [panic] setrunqueue (Peter Kostouros)


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

Message: 1
Date: Sun, 18 Jul 2004 15:54:58 -0400 (EDT)
From: Andrew Gallatin <gallatin@cs.duke.edu>
Subject: Re: Excellent job on the firewire support!
To: Doug Rabson <dfr@nlsystems.com>
Cc: simokawa@freebsd.org
Message-ID: <16634.54674.966908.540880@grasshopper.cs.duke.edu>
Content-Type: text/plain; charset=us-ascii


Doug Rabson writes:
 > On Sunday 18 July 2004 18:51, Andrew Gallatin wrote:
 > > Hi,
 > >
 > > I just wanted to say that I used FreeBSD's firewire and sbp-II
 > > support for the first time this weekend.  It seems to be fast (over
 > > 26MB/sec writes, 34MB/sec reads to a LaCie 160GB drive), and robust. 
 > > It works well on non-i386 platforms -- I'm using it to back up an
 > > amd64, and to serve as a root device for a FreeBSD/powerpc  machine.
 > >
 > > All in all, it totally exceeded my expectations.  Thank you very
 > > much|
 > 
 > Wait till you try debugging using gdb over firewire with dcons. An all 
 > round positive experience :-)


It would be nice to remove my Comtrol Rocketport serial card, and the
8 serial cables leading across the middle of the room to my shelf of
machines and replace it with one firewire cable leading to a firewire hub.
But, as a firewire newbie, I have some questions:

1) Is any firewire PCI adapter just as good as any other in terms of
   performance, and FreeBSD support? (prices seem to range from $10 to
   $100)

2) Is dcons usable after a panic (ie, DDB or KDB_TRACE)?  Or is it
   only usable for remote-gdb?

3) Is dcons endian and pointer-size agonstic?  Can I run consoles to
   an amd64 and a powerpc box from an x86?

4) Does the loader know about dcons?  Eg, can I do "unload <ret> boot
   kernel.test" using dcons?

Thanks,
Drew


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

Message: 2
Date: Sun, 18 Jul 2004 19:57:11 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Subject: Re: kldunload if_sk -> LOR & panic
To: Brian Fundakowski Feldman <green@freebsd.org>
Cc: FreeBSD current mailing list <freebsd-current@freebsd.org>
Message-ID:
	<Pine.BSF.4.53.0407181955250.43309@e0-0.zab2.int.zabbadoz.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sun, 18 Jul 2004, Brian Fundakowski Feldman wrote:

> On Sun, Jul 18, 2004 at 03:11:22PM +0000, Bjoern A. Zeeb wrote:
> > Hi,
> >
> > tried to unload if_sk for testing the newly built module with dwhite's
> > locking patch (will be loaded after reset now :( ).
> > resulted in this on my amd64:
> >
> > --- cut ---
> > noc# kldunload if_sk
> > e1000phy0: detached
> > miibus0: detached
> > lock order reversal
> >  1st 0xffffff0030ac7870 skc0 (network driver) @ sys/pci/if_sk.c:2604
> >  2nd 0xffffff0000b91af0 radix node head (radix node head) @ sys/netinet/in
_rmx.c:391
> > Stack backtrace:
> > witness_checkorder() at witness_checkorder+0x4a6
> > _mtx_lock_flags() at _mtx_lock_flags+0x39
> > in_ifadown() at in_ifadown+0x5b
> > in_control() at in_control+0x81c
> > if_detach() at if_detach+0x50b
> > ether_ifdetach() at ether_ifdetach+0x25
> > sk_detach() at sk_detach+0x6d
> > (null)() at 0
> > null_method() at null_method
>
> At the point where it's actually detaching, once it's detached the methods
> that access its softc, it should drop its softc lock before calling the
> network-level detach routines.

I think this is handled by dwhite's patch so I should be safe now.
Perhaps someone could work towards committing a cleaned up version of
this patch ?

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT

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

Message: 3
Date: Sun, 18 Jul 2004 21:04:53 +0100
From: Doug Rabson <dfr@nlsystems.com>
Subject: Re: Excellent job on the firewire support!
To: Andrew Gallatin <gallatin@cs.duke.edu>
Cc: simokawa@freebsd.org
Message-ID: <200407182104.53221.dfr@nlsystems.com>
Content-Type: text/plain;  charset="iso-8859-1"

On Sunday 18 July 2004 20:54, Andrew Gallatin wrote:
> Doug Rabson writes:
>  > On Sunday 18 July 2004 18:51, Andrew Gallatin wrote:
>  > > Hi,
>  > >
>  > > I just wanted to say that I used FreeBSD's firewire and sbp-II
>  > > support for the first time this weekend.  It seems to be fast
>  > > (over 26MB/sec writes, 34MB/sec reads to a LaCie 160GB drive),
>  > > and robust. It works well on non-i386 platforms -- I'm using it
>  > > to back up an amd64, and to serve as a root device for a
>  > > FreeBSD/powerpc  machine.
>  > >
>  > > All in all, it totally exceeded my expectations.  Thank you very
>  > > much|
>  >
>  > Wait till you try debugging using gdb over firewire with dcons. An
>  > all round positive experience :-)
>
> It would be nice to remove my Comtrol Rocketport serial card, and the
> 8 serial cables leading across the middle of the room to my shelf of
> machines and replace it with one firewire cable leading to a firewire
> hub. But, as a firewire newbie, I have some questions:
>
> 1) Is any firewire PCI adapter just as good as any other in terms of
>    performance, and FreeBSD support? (prices seem to range from $10
> to $100)

Any should do about as well as any other. I probably wouldn't want to 
spend more than ~$50 on one.

>
> 2) Is dcons usable after a panic (ie, DDB or KDB_TRACE)?  Or is it
>    only usable for remote-gdb?

Dcons provides two full duplex streams - one for console and one for 
gdb. You can use DDB on the console just like normal.

>
> 3) Is dcons endian and pointer-size agonstic?  Can I run consoles to
>    an amd64 and a powerpc box from an x86?

I haven't actually tried that and I imagine that there might be issues 
here and there. Any problems are likely to be in the dconschat program 
but that should be pretty easy to fix since its entirely userland.

>
> 4) Does the loader know about dcons?  Eg, can I do "unload <ret> boot
>    kernel.test" using dcons?

Actually thats the only downside of dcons. It doesn't cut in until the 
firewire controller attaches. It relies on the fact that the fwohci 
driver allows access to physical memory from any node on the bus 
(implemeted in hardware so you can examine the memory of a hung 
machine). The dconschat program uses this feature to access the dcons 
ring buffers in the target machine.

I could imagine a dcons driver in the loader which just enabled physical 
access and used some kind of loader trick to hand off the ring buffers 
to the kernel dcons driver. It doesn't exist though - say nice things 
to the author and he might find the time for it :-)


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

Message: 4
Date: Sun, 18 Jul 2004 22:08:07 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Re: panic: Duplicate free of item 0xffffff005c4a8600 from
	zone	0xffffff007fed4780(Mbuf)
To: "Willem Jan Withagen" <wjw@withagen.nl>,	"Robert Watson"
	<rwatson@freebsd.org>
Cc: current@freebsd.org
Message-ID: <10d401c46d02$f8890cf0$471b3dd4@digiware.nl>
Content-Type: text/plain;	charset="iso-8859-1"

> What am I doing to get the panic:
>
> In one shell I try to compile /usr/ports/net-mgmt/net-snmp. (Well actually t
he
> one I'm working on to get the last tweak out of it when running amd64)
> And that I keep repeating until it crashes, but unusally one run is enough.

>
> In the console I run 'periodic daily', since my box currently always seems t
o
> crash during the night when running daily.
>
> In a third window I do some work: usually some vi-ing or grepping....

Eh, forgot to mention an essential part:
    all the processes work on nfs mounted disks....

And without IPv6 it has been alive already longer than with all previous runs

today... But to early to make conclusions.
I've now started a backup of my home-dir (>2G) over nfs, to create some more
stress.

--WjW


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

Message: 5
Date: Sun, 18 Jul 2004 22:28:36 +0200
From: Johan Karlsson <johan@freebsd.org>
Subject: Re: Overriding -Werror in buildworld/buildkernel
To: "Conrad J. Sabatier" <conrads@cox.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040718202835.GA76629@numeri.campus.luth.se>
Content-Type: text/plain; charset=us-ascii

On Sun, Jul 18, 2004 at 13:54 (-0500), Conrad J. Sabatier wrote:
> OK, I understand the developers' desire to catch errors, but didn't we
> at one time have a means of overriding the -Werror flag?  I'm seeing a
> lot of build failures lately due to warnings, not errors.
> 
> I thought adding WERROR=-Wno-error would do the trick, but it doesn't.

Try adding NO_WERROR=1 instead.


/Johan K

-- 
Johan Karlsson		mailto:johan@FreeBSD.org

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

Message: 6
Date: Sun, 18 Jul 2004 22:30:51 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Re: panic: Duplicate free of item 0xffffff005c4a8600 from
	zone	0xffffff007fed4780(Mbuf)
To: "Willem Jan Withagen" <wjw@withagen.nl>,	"Robert Watson"
	<rwatson@freebsd.org>
Cc: current@freebsd.org
Message-ID: <112001c46d06$1e4e5d20$471b3dd4@digiware.nl>
Content-Type: text/plain;	charset="iso-8859-1"

> > What am I doing to get the panic:
> >
> > In one shell I try to compile /usr/ports/net-mgmt/net-snmp. (Well actually

the
> > one I'm working on to get the last tweak out of it when running amd64)
> > And that I keep repeating until it crashes, but unusally one run is enough
..
> >
> > In the console I run 'periodic daily', since my box currently always seems

to
> > crash during the night when running daily.
> >
> > In a third window I do some work: usually some vi-ing or grepping....
>
> Eh, forgot to mention an essential part:
>     all the processes work on nfs mounted disks....
>
> And without IPv6 it has been alive already longer than with all previous run
s
> today... But to early to make conclusions.
> I've now started a backup of my home-dir (>2G) over nfs, to create some more

> stress.

Not the same, but.......
I'll run some more no-IPv6, bge, mpsafe=0
Or let me knwo at else...

--WjW

Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer     = 0x8:0xffffffff8026fb78
stack pointer           = 0x10:0xffffffffb3571af0
frame pointer           = 0x10:0xffffffffb3571b20
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 43230 (sh)
[thread 100207]
Stopped at      _mtx_lock_flags+0x44:   decl    %eax
db> trace
_mtx_lock_flags() at _mtx_lock_flags+0x44
crfree() at crfree+0x2a
cred_update_thread() at cred_update_thread+0x70
syscall() at syscall+0x71
Xfast_syscall() at Xfast_syscall+0xa8
--- syscall (74, FreeBSD ELF64, mprotect), rip = 0x20052e138, rsp = 0x7fffffff
ea
68, rbp = 0x7fffffffebc0 ---
db> ps
  pid   proc     uarea   uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
43239 ffffff0055f05000 ffffffffb348e000    0 43212   796 0004002 [LOCK  Giant

ffffff005c1f3280] wc
43237 ffffff005b6e0000 ffffffffb33b7000    0 43235   796 0000002 [SLPQ piperd

0xffffff0052f3c2c0][SLP] sh
43236 ffffff005192b000 ffffffffb3538000    0 43212   796 0004002 [LOCK  Giant

ffffff005c1f3280] tee
43235 ffffff005bb0a5b0 ffffffffb3481000    0 43212   796 0000002 [SLPQ wait
0xffffff005bb0a5b0][SLP] sh
43234 ffffff005bf3ab60 ffffffffb33ac000    0 43212   796 0004002 [LOCK  Giant

ffffff005c1f3280] uniq
43233 ffffff005c17d5b0 ffffffffb33af000    0 43212   796 0004002 [LOCK  Giant

ffffff005c1f3280] sort
43231 ffffff005bf3a000 ffffffffb336c000    0 43223   557 0000100 [CPU 1]
sendmail
43230 ffffff003259b000 ffffffffb359c000 1000 43220 43230 0004000 [CPU 0] sh
43223 ffffff0050fc7888 ffffffffb3536000    0   557   557 0000100 [SLPQ select

0xffffffff805fc630][SLP] sendmail
43220 ffffff003161d888 ffffffffb35a4000    0   552   552 0000100 [SLPQ select

0xffffffff805fc630][SLP] sendmail
43212 ffffff005f7125b0 ffffffffb3364000    0 43210   796 0000002 [SLPQ wait
0xffffff005f7125b0][SLP] sh
43210 ffffff00515862d8 ffffffffb34d5000    0   802   796 0004002 [SLPQ piperd

0xffffff004d59b840][SLP] sh
43208 ffffff005bb592d8 ffffffffb3368000    0     1   552 0000100 [SLPQ select

0xffffffff805fc630][SLP] sendmail
43189 ffffff005baa6000 ffffffffb3416000 1000 43188   776 0004002 [SLPQ sbwait

0xffffff00613a8da0][SLP] cc1
43188 ffffff00556842d8 ffffffffb348a000 1000 43059   776 0004002 [SLPQ wait
0xffffff00556842d8][SLP] gcc
43059 ffffff005b6e0888 ffffffffb3414000 1000 43058   776 0004002 [SLPQ wait
0xffffff005b6e0888][SLP] sh
43058 ffffff005b2672d8 ffffffffb341c000 1000 41346   776 0004002 [SLPQ wait
0xffffff005b2672d8][SLP] sh
42245 ffffff0051586000 ffffffffb34d4000    0     0     0 0000204 [SLPQ -
0xffffffff80600888][SLP] nfsiod 5
41346 ffffff007b569b60 ffffffffb0f4b000 1000 41345   776 0004002 [SLPQ wait
0xffffff007b569b60][SLP] make
41345 ffffff0050fc75b0 ffffffffb34db000 1000 41311   776 0004002 [SLPQ wait
0xffffff0050fc75b0][SLP] sh
41311 ffffff005bb595b0 ffffffffb3369000 1000 25766   776 0004002 [SLPQ wait
0xffffff005bb595b0][SLP] make
41310 ffffff005bae92d8 ffffffffb3421000 1000 25766   776 0004002 [SLPQ nanslp

0xffffffff805b3d80][SLP] tail
40868 ffffff005c17db60 ffffffffb33b1000    0     0     0 0000204 [SLPQ -
0xffffffff80600880][SLP] nfsiod 4
25766 ffffff005baa6b60 ffffffffb341a000 1000   776   776 0004002 [SLPQ wait
0xffffff005baa6b60][SLP] sh
19867 ffffff005c17d000 ffffffffb33ad000 1000 19840 19840 0004002 [SLPQ nfsrcvl
k
0xffffff00610d2004][SLP] zip
19840 ffffff005b267b60 ffffffffb341f000 1000  6862 19840 0004002 [SLPQ wait
0xffffff005b267b60][SLP] sh
 6862 ffffff005bae9000 ffffffffb3420000 1000  6861  6862 0004002 [SLPQ pause
0xffffff005bae9070][SLP] tcsh
 6861 ffffff005b9c02d8 ffffffffb33b3000 1000  6840  6840 0000100 [SLPQ select

0xffffffff805fc630][SLP] sshd
 6840 ffffff005b9c05b0 ffffffffb33b4000    0   546  6840 0000100 [SLPQ sbwait

0xffffff005c554328][SLP] sshd
  805 ffffff005fdda888 ffffffffb32fc000    0   803   796 0004002 [SLPQ piperd

0xffffff0062c64580][SLP] mail
  803 ffffff0062e10b60 ffffffffb3299000    0   796   796 0000002 [SLPQ wait
0xffffff0062e10b60][SLP] sh
  802 ffffff0062e105b0 ffffffffb3297000    0   796   796 0000002 [SLPQ wait
0xffffff0062e105b0][SLP] sh
  796 ffffff0062e10000 ffffffffb3295000    0   715   796 0004002 [SLPQ wait
0xffffff0062e10000][SLP] sh
  776 ffffff005f42e888 ffffffffb3360000 1000   771   776 0004002 [SLPQ wait
0xffffff005f42e888][SLP] sh
  771 ffffff005fb14888 ffffffffb32f7000 1000   770   771 0004002 [SLPQ ttyin
0xffffff007b6a8410][SLP] tcsh
  770 ffffff005f42e5b0 ffffffffb335f000 1000   767   767 0000100 [SLPQ select

0xffffffff805fc630][SLP] sshd
  767 ffffff007b6d22d8 ffffffffb0cb7000    0   546   767 0000100 [SLPQ sbwait

0xffffff005f8ea970][SLP] sshd
  715 ffffff005fb142d8 ffffffffb32f5000    0   701   715 0004002 [SLPQ ttyin
0xffffff00011c5810][SLP] tcsh
  714 ffffff005fb145b0 ffffffffb32f6000    0     1   712 0000000 [SLPQ select

0xffffffff805fc630][SLP] xconsole
  705 ffffff0062e2d2d8 ffffffffb3291000    0   700   705 0000000 [SLPQ select

0xffffffff805fc630][SLP] xdm
  704 ffffff005fdda5b0 ffffffffb32fb000    0   700   704 0004000 [SLPQ select

0xffffffff805fc630][SLP] XFree86
  701 ffffff005efa8b60 ffffffffb3302000    0     1   701 0004102 [SLPQ wait
0xffffff005efa8b60][SLP] login
  700 ffffff005fddab60 ffffffffb32fd000    0     1     1 0004001 [SLPQ pause
0xffffff005fddabd0][SLP] xdm
  699 ffffff005f42e000 ffffffffb335d000    0     1   699 0004002 [SLPQ ttyin
0xffffff007b67ec10][SLP] getty
  698 ffffff005f42e2d8 ffffffffb335e000    0     1   698 0004002 [SLPQ ttyin
0xffffff0000cc0410][SLP] getty
  697 ffffff005f712888 ffffffffb3365000    0     1   697 0004002 [SLPQ ttyin
0xffffff007b5ddc10][SLP] getty
  696 ffffff005fdda2d8 ffffffffb32fa000    0     1   696 0004002 [SLPQ ttyin
0xffffff007b659c10][SLP] getty
  695 ffffff007b6d2888 ffffffffb0cb9000    0     1   695 0004002 [SLPQ ttyin
0xffffff007b67f410][SLP] getty
  694 ffffff005efa82d8 ffffffffb32ff000    0     1   694 0004002 [SLPQ ttyin
0xffffff007b5dd010][SLP] getty
  693 ffffff005efa8000 ffffffffb32fe000    0     1   693 0004002 [SLPQ ttyin
0xffffff007b67e810][SLP] getty
  692 ffffff005f712000 ffffffffb3362000    0     1   692 0004002 [SLPQ ttyin
0xffffff0000cf0c10][SLP] getty
  682 ffffff005efa85b0 ffffffffb3300000    0     1   682 0000000 [SLPQ select

0xffffffff805fc630][SLP] inetd
  634 ffffff007b569888 ffffffffb0f4a000    0     1   631 0000000 [SLPQ select

0xffffffff805fc630][SLP] snmpd
  616 ffffff005f42eb60 ffffffffb3361000    0     1   616 0000100 [SLPQ select

0xffffffff805fc630][SLP] lpd
  592 ffffff005fb14b60 ffffffffb32f8000    0     1   592 0000000 [SLPQ nanslp

0xffffffff805b3d80][SLP] cron
  571 ffffff005efa8888 ffffffffb3301000   25     1   571 0000100 [SLPQ pause
0xffffff005efa88f8][SLP] sendmail
  557 ffffff005f7122d8 ffffffffb3363000    0     1   557 0000100 [SLPQ pause
0xffffff005f712348][SLP] sendmail
  552 ffffff0062e10888 ffffffffb3298000    0     1   552 0000100 [SLPQ select

0xffffffff805fc630][SLP] sendmail
  546 ffffff005f712b60 ffffffffb3366000    0     1   546 0000100 [SLPQ select

0xffffffff805fc630][SLP] sshd
  537 ffffff005fb14000 ffffffffb329a000    1     1   537 0000100 [SLPQ sbwait

0xffffff005fe92970][SLP] rwhod
  496 ffffff005fdda000 ffffffffb32f9000    0     1   496 0000000 [SLPQ select

0xffffffff805fc630][SLP] usbd
  494 ffffff0062e6cb60 ffffffffb3253000    0     1   494 0000000 [SLPQ select

0xffffffff805fc630][SLP] moused
  464 ffffff0062e6c000 ffffffffb324f000    0   460   460 0000000 [SLPQ -
0xffffff00014cc200][SLP] nfsd
  463 ffffff0062e2d000 ffffffffb3254000    0   460   460 0000000 [SLPQ -
0xffffff005fca5800][SLP] nfsd
  462 ffffff0062e2d5b0 ffffffffb3292000    0   460   460 0000000 [SLPQ -
0xffffff00014cc000][SLP] nfsd
  461 ffffff0062e6c5b0 ffffffffb3251000    0   460   460 0000000 [SLPQ -
0xffffff005fca5a00][SLP] nfsd
  460 ffffff007b6d25b0 ffffffffb0cb8000    0     1   460 0000000 [SLPQ accept

0xffffff005fe9248e][SLP] nfsd
  458 ffffff0062e6c2d8 ffffffffb3250000    0     1   458 0000000 [SLPQ select

0xffffffff805fc630][SLP] mountd
  436 ffffff0062e6c888 ffffffffb3252000    0     1   436 0000000 [SLPQ select

0xffffffff805fc630][SLP] rpcbind
  327 ffffff0062e2d888 ffffffffb3293000    0     1   327 0000000 [SLPQ select

0xffffffff805fc630][SLP] syslogd
   60 ffffff007b6d2b60 ffffffffb0cba000    0     0     0 0000204 [SLPQ -
0xffffffff80600878][SLP] nfsiod 3
   59 ffffff007b405000 ffffffffb0f06000    0     0     0 0000204 [SLPQ -
0xffffffff80600870][SLP] nfsiod 2
   58 ffffff007b4052d8 ffffffffb0f07000    0     0     0 0000204 [SLPQ -
0xffffffff80600868][SLP] nfsiod 1
   57 ffffff007b4055b0 ffffffffb0f08000    0     0     0 0000204 [SLPQ -
0xffffffff80600860][SLP] nfsiod 0
   56 ffffff007b405888 ffffffffb0f45000    0     0     0 0000204 [SLPQ syncer

0xffffffff805b3a80][SLP] syncer
   55 ffffff007b405b60 ffffffffb0f46000    0     0     0 0000204 [SLPQ vlruwt

0xffffff007b405b60][SLP] vnlru
   54 ffffff007b569000 ffffffffb0f47000    0     0     0 0000204 [SLPQ psleep

0xffffffff805fcf5c][SLP] bufdaemon
   53 ffffff007b5692d8 ffffffffb0f48000    0     0     0 000020c [SLPQ pgzero

0xffffffff80609228][SLP] pagezero
   52 ffffff007b5695b0 ffffffffb0f49000    0     0     0 0000204 [SLPQ psleep

0xffffffff80609294][SLP] vmdaemon
    9 ffffff007b68d000 ffffffffb0c70000    0     0     0 0000204 [SLPQ psleep

0xffffffff80609244][SLP] pagedaemon
   51 ffffff007b68d2d8 ffffffffb0c71000    0     0     0 0000204 [IWAIT] swi0:

sio
   50 ffffff007b68d5b0 ffffffffb0c72000    0     0     0 0000204 [SLPQ usbevt

0xffffffff8082c420][SLP] usb2
   49 ffffff007b68d888 ffffffffb0c73000    0     0     0 0000204 [SLPQ usbevt

0xffffffff8082a420][SLP] usb1
   48 ffffff007b68db60 ffffffffb0c74000    0     0     0 0000204 [SLPQ usbtsk

0xffffffff805a7290][SLP] usbtask
   47 ffffff007b64f000 ffffffffb0c75000    0     0     0 0000204 [SLPQ usbevt

0xffffffff80828420][SLP] usb0
   46 ffffff007b64f2d8 ffffffffb0cb2000    0     0     0 0000204 [SLPQ tzpoll

0xffffffff805a4a18][SLP] acpi_thermal
    8 ffffff007b64f5b0 ffffffffb0cb3000    0     0     0 0000204 [SLPQ actask

0xffffffff805a4a80][SLP] acpi_task2
    7 ffffff007b64f888 ffffffffb0cb4000    0     0     0 0000204 [SLPQ actask

0xffffffff805a4a80][SLP] acpi_task1
    6 ffffff007b64fb60 ffffffffb0cb5000    0     0     0 0000204 [SLPQ actask

0xffffffff805a4a80][SLP] acpi_task0
   45 ffffff007b6d2000 ffffffffb0cb6000    0     0     0 0000204 [IWAIT] swi3:

cambio
   44 ffffff007b6cb000 ffffffffb0c2a000    0     0     0 0000204 [IWAIT] swi2:

camnet
   43 ffffff007b6cb2d8 ffffffffb0c2b000    0     0     0 0000204 [IWAIT] swi6:

acpitaskq
   42 ffffff007b6cb5b0 ffffffffb0c2c000    0     0     0 0000204 [IWAIT] swi6:
+
    5 ffffff007b6cb888 ffffffffb0c2d000    0     0     0 0000204 [SLPQ -
0xffffff00009a8d00][SLP] taskqueue
   41 ffffff007b6cbb60 ffffffffb0c2e000    0     0     0 0000204 [IWAIT] swi6:
+
   40 ffffff007b66f000 ffffffffb0c6b000    0     0     0 0000204 [IWAIT] swi6:

task queue
   39 ffffff007b66f2d8 ffffffffb0c6c000    0     0     0 0000204 [SLPQ -
0xffffffff805a4fe0][SLP] yarrow
    4 ffffff007b66f5b0 ffffffffb0c6d000    0     0     0 0000204 [SLPQ -
0xffffffff805aaf08][SLP] g_down
    3 ffffff007b66f888 ffffffffb0c6e000    0     0     0 0000204 [SLPQ -
0xffffffff805aaf00][SLP] g_up
    2 ffffff007b66fb60 ffffffffb0c6f000    0     0     0 0000204 [SLPQ -
0xffffffff805aaef0][SLP] g_event
   38 ffffff007b6d02d8 ffffffffb0be5000    0     0     0 0000204 [IWAIT] swi1:

net
   37 ffffff007b6d05b0 ffffffffb0be6000    0     0     0 0000204 [IWAIT] swi4:

vm
   36 ffffff007b6d0888 ffffffffb0be7000    0     0     0 000020c [IWAIT] swi5:

clock sio
   35 ffffff007b6d0b60 ffffffffb0be8000    0     0     0 0000204 [IWAIT] irq23
:
   34 ffffff007b6df000 ffffffffb0c25000    0     0     0 0000204 [IWAIT] irq22
:
   33 ffffff007b6df2d8 ffffffffb0c26000    0     0     0 0000204 [IWAIT] irq21
:
uhci0 uhci1+
   32 ffffff007b6df5b0 ffffffffb0c27000    0     0     0 0000204 [IWAIT] irq20
:
   31 ffffff007b6df888 ffffffffb0c28000    0     0     0 0000204 [IWAIT] irq19
:
em0
   30 ffffff007b6dfb60 ffffffffb0c29000    0     0     0 0000204 [IWAIT] irq18
:
   29 ffffff007b6c6888 ffffffffb0bbf000    0     0     0 0000204 [IWAIT] irq17
:
   28 ffffff007b6c6b60 ffffffffb0bc0000    0     0     0 0000204 [IWAIT] irq16
:
bge0
   27 ffffff007b68e000 ffffffffb0bc1000    0     0     0 0000204 [IWAIT] irq15
:
ata1
   26 ffffff007b68e2d8 ffffffffb0be0000    0     0     0 0000204 [IWAIT] irq14
:
ata0
   25 ffffff007b68e5b0 ffffffffb0be1000    0     0     0 0000204 [IWAIT] irq13
:
   24 ffffff007b68e888 ffffffffb0be2000    0     0     0 0000204 [IWAIT] irq12
:
   23 ffffff007b68eb60 ffffffffb0be3000    0     0     0 0000204 [IWAIT] irq11
:
   22 ffffff007b6d0000 ffffffffb0be4000    0     0     0 0000204 [IWAIT] irq10
:
   21 ffffff007b7172d8 ffffffffb0b9a000    0     0     0 0000204 [IWAIT] irq9:

acpi0
   20 ffffff007b7175b0 ffffffffb0b9b000    0     0     0 0000204 [IWAIT] irq8:

rtc
   19 ffffff007b717888 ffffffffb0bba000    0     0     0 0000204 [IWAIT] irq7:

ppc0
   18 ffffff007b717b60 ffffffffb0bbb000    0     0     0 0000204 [IWAIT] irq6:

fdc0
   17 ffffff007b6c6000 ffffffffb0bbc000    0     0     0 0000204 [IWAIT] irq5:

   16 ffffff007b6c62d8 ffffffffb0bbd000    0     0     0 0000204 [IWAIT] irq4:

sio0
   15 ffffff007b6c65b0 ffffffffb0bbe000    0     0     0 0000204 [IWAIT] irq3:

sio1
   14 ffffff007b6ad000 ffffffffb0b58000    0     0     0 0000204 [IWAIT] irq0:

clk
   13 ffffff007b6ad2d8 ffffffffb0b95000    0     0     0 0000204 [IWAIT] irq1:

atkbd0
   12 ffffff007b6ad5b0 ffffffffb0b96000    0     0     0 000020c [Can run] idl
e:
cpu0
   11 ffffff007b6ad888 ffffffffb0b97000    0     0     0 000020c [Can run] idl
e:
cpu1
    1 ffffff007b6adb60 ffffffffb0b98000    0     0     1 0004200 [SLPQ wait
0xffffff007b6adb60][SLP] init
   10 ffffff007b717000 ffffffffb0b99000    0     0     0 0000204 [SLPQ ktrace

0xffffffff805b06f0][SLP] ktrace
    0 ffffffff805ab080 ffffffff806e6000    0     0     0 0000200 [SLPQ sched
0xffffffff805ab080][SLP] swapper


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

Message: 7
Date: Sun, 18 Jul 2004 14:09:09 -0700 (PDT)
From: Matthew Dillon <dillon@apollo.backplane.com>
Subject: Re: panic: APIC: Previous IPI is stuck
To: Matthias Buelow <mkb@mukappabeta.de>,	Scott Long
	<scottl@samsco.org>
Cc: current@freebsd.org
Message-ID: <200407182109.i6IL99Ea010033@apollo.backplane.com>


:Scott Long wrote:
:
:> The 'fix the bugs' discussions are going on too.  However, this is the
:> freebsd-current list, and it's always nice to discuss things that might
:> be suitable further down the road.
:
:Yes, I might have gotten this wrong, I thought he was talking 
:specifically about 5.x (which to me, and I guess many other users, means 
:the long awaited stabilization of the 5.x tree).
:
:-- 
:   Matthias Buelow; mkb@{mukappabeta,informatik.uni-wuerzburg}.de

    I am using "-current" and "5.x" interchangably, since there isn't really
    much of a distinction between the two, at least not from my point of
    view. 

    As far as stabilization goes... well, the problem is that you can only 
    stabilize what you have once you have it.  The APIs, abstractions, and
    requirements are so complex in -current/5.x that every time someone
    codes up something new, major bugs are introduced.  Even worse, many of
    the bugs introduced are difficult to reproduce, track down, and fix.  Of
    course, new bugs are introduced occurs with any OS development... DragonFl
y
    is no exception.  But there are 'normal occurances' of such things, and 
    then you have the 'its so fragging complex that I couldn't code it right
    the first time if I tried!'.  -current/5.x is definitely in the latter
    category.

    The question you have to ask yourself is:  Do you want to spend all your
    time tracking down all the bugs that are constantly being introduced into

    the codebase, or do you want to simplify your APIs and abstractions to
    *reduce* the instances of new bugs being introduced so you can spend more

    of your time implementing neat new things instead?

    Another question you have to ask yourself is:  If you have a kernel whos
    APIs and abstractions are so complex that even veteran kernel hackers
    are having to test in perforce for weeks, months, or even longer before
    daring to bring the code into CVS, and even then wind up with serious bugs
,
    what do you think the situation is going to be for all the other developer
s
    out there trying to work on the FreeBSD kernel?

    I'm not going to repeat all the suggestions I've made in the past.  It is

    obvious to me that FreeBSD development needs to stop *right* *now*, take
    a step back, and figure out how to simplify the MP requirements for
    all the major subsystems... then spend 3 months doing it.  IPIs are a good

    example... it needs a complete rewrite.  The scheduler pretty much needs
    a complete rewrite.  The memory subsystem is in pretty good shape but
    would work even better using a DragonFly style cpu localization model.
    The interrupt subsystem... well, again, you need DFly style preemption
    instead of heavy-weight-scheduler-integrated-with-priority-borrowing-
    preemptive-thread-switching-and-preemptive-cpu-migrative-and-oh-yah-don't-

    forget-to-pin-the-cpu-because-if-you-do-we-will-never-find-the-bugs-
    you-introduce-otherwise style preemption.

						-Matt


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

Message: 8
Date: Sun, 18 Jul 2004 23:14:38 +0200
From: Andreas Kohn <andreas.kohn@gmx.net>
Subject: Re: xfce4 help
To: Sebastian Foss <segobi@gmx.de>
Cc: freebsd-current@freebsd.org
Message-ID: <1090185278.739.10.camel@klamath.syndrom23.de>
Content-Type: text/plain; charset="us-ascii"

On Sun, 2004-07-18 at 13:02, Sebastian Foss wrote:
> Hi!
> 
> I know this may be a little O.T. but im quite desperate...
> Maybe someone can help me to find this original desktop wallpaper for 
> freebsd because i like it so much:
> http://xfce.org/images/screenshots/jimmiejaz_26122003.jpg
> 
> Thank you very much for any help!
> 
> Sebastian 
> 

http://www.rbreb13.com/Pictures/Pictures_1/Pictures_2/Pictures_3/Pictures_4/pi
ctures_4.html

HTH,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040718/
bef5bbe5/attachment-0001.bin

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

Message: 9
Date: Mon, 19 Jul 2004 00:41:03 +0200
From: "Sebastian Yepes F. [ESN]" <esn@x123.info>
Subject: Re: acpi_video users needed
To: Mark Santcroos <marks@ripe.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040719004103.0og80ookwwsw4gcs@www.x123.info>
Content-Type: text/plain; charset="UTF-8"; format="flowed"

Here is my files.. it's from my Dell Inspiron 8500



http://www.x123.info/acpiv/acpidump
http://www.x123.info/acpiv/devinfo
http://www.x123.info/acpiv/dmesg


----- Message from marks@ripe.net ---------    Date: Thu, 15 Jul 2004 09:29:15

+0200    From: Mark Santcroos <marks@ripe.net>Reply-To: Mark Santcroos
<marks@ripe.net> Subject: acpi_video users needed      To:
freebsd-current@freebsd.org

> Can some people with a properly attaching acpi_video.ko send me his/her:
>
> * dmesg (boot_verbose preferred)
> * acpidump -dt
> * devinfo -v
>
> Thanks!
>
> Mark
> _______________________________________________
> 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 message from marks@ripe.net -----






--
if (Better You Treat Them) { return "Worst You Get Treated"; }

Love can kill you like a Hammer or a 220 Kv AC line in the head, but it's the

most
beautiful and strange sensation, I Just Love, Love ; )

/*
www:
  http://www.x123.info

Contect:                        FingerPrint:
  esn aT x123.info                0D42 F870 F650 6B86 CA9E
  esn aT freshpkgsrc.org          E199 A57D 3824 F8AA A934
  sebastian.yepes aT hp.com
*/


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

Message: 10
Date: Mon, 19 Jul 2004 00:58:32 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Re: panic: Duplicate free of item 0xffffff005c4a8600 from
	zone0xffffff007fed4780(Mbuf)
To: "Robert Watson" <rwatson@freebsd.org>
Cc: current@freebsd.org
Message-ID: <115601c46d1a$bf9f4540$471b3dd4@digiware.nl>
Content-Type: text/plain;	charset="iso-8859-1"

From: "Robert Watson" <rwatson@freebsd.org>
> On Sun, 18 Jul 2004, Willem Jan Withagen wrote:
>
> > > Three stikes and out....
> > > I'll disable mpsafe now....
> >
> > Does not seem to help....  Not shure if anything should be read in the
> > fact that it is 3 times in [thread 100007].
>
> Well, the threads involved seem to be the netisr thread and the bge
> interrupt thread, suggesting we have a problem with mbufs being free'd
> despite being handed off into the network stack.  Up front, it suggests
> maybe we have an issue with the bge driver freeing or reusing an mbuf
> inappropriately, or perhaps it's at the TCP layer.

Just as I was writing:

================
I would dare to declare the current running config stable, but it is up
for more than 2,5 hours. While taking the abuse that normaly would bring the
system on its knees within 30 minutes...

I'm now running:
    bge0 interface
    No IPv6
    debug.mpsafe=0

Which would lead me to believe problems in the IPv6 layer (with bge0?).
================

It got negated by:
panic: lock (sleep mutex) UMA pcpu not locked @ /home2
/src/sys/vm/uma_core.c:1654
cpuid = 1;
KDB: stack backtrace:
kdb_backtrace() at kdb_backtrace+0x34
panic() at panic+0x1d2
witness_unlock() at witness_unlock+0xdd
_mtx_unlock_flags() at _mtx_unlock_flags+0x68
uma_zalloc_arg() at uma_zalloc_arg+0x14e
tcp_output() at tcp_output+0xce9
tcp_input() at tcp_input+0x27f5
ip_input() at ip_input+0x94c
netisr_processqueue() at netisr_processqueue+0x8c
swi_net() at swi_net+0xaf
ithread_loop() at ithread_loop+0x18d
fork_exit() at fork_exit+0xc9
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffffb0bb9d00, rbp = 0 ---
KDB: enter: panic
[thread 100017]
Stopped at      kdb_enter+0x2e: nop

I'll starts some more tests before I'm of to bed.

--WjW


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

Message: 11
Date: Mon, 19 Jul 2004 01:13:45 +0200
From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject: ADAPTIVE_MUTEXES panic.
To: freebsd-current@freebsd.org
Message-ID: <20040718231345.GE57678@darkness.comp.waw.pl>
Content-Type: text/plain; charset="iso-8859-2"

Hi.

Here is copied by hand backtrace from panic on boot:

panic: Assertion ts != NULL failed at /usr/src/sys/kern/kern_mutex.c:646
db> tr
panic()
_mtx_unlock_sleep()+0x58
_mtx_unlock_flags()+0x94
slab_zalloc()+0x2b
uma_zone_slab()+0x2b
uma_zalloc_bucket()+0x124
uma_zalloc_arg()+0x25f
malloc()+0xb2
eventhandler_register()+0x16c
vnlru_proc()+0x43
fork_exit()
fork_trampoline()

Dmesg and kernel config below.
BTW. I'm able to reproduce it with 4BSD scheduler as well.

===> Dmesg:

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-CURRENT #5: Sun Jul 18 14:35:10 CEST 2004
    root@slayer.hell.invalid:/usr/obj/usr/src/sys/RAGE
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (534.55-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67108864 (64 MB)
avail memory = 60248064 (57 MB)
MPTable: <OEM00000 PROD00000000>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <MPTable Host-PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xf000-0xf00f,0x376,0x170-0x177,
0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 7.2 (no driver attached)
piix0: <PIIX Timecounter> port 0x5000-0x500f at device 7.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
atapci1: <Promise PDC20262 UDMA66 controller> port 0xc400-0xc43f,0xc000-0xc003
,0xbc00-0xbc07,0xb800-0xb803,0xb400-0xb407 mem 0xd8200000-0xd821ffff irq 19 at
 device 9.0 on pci0
ata2: at 0xb400 on atapci1
ata3: at 0xbc00 on atapci1
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xc800-0xc83f mem 0xd8000000-0xd80ff
fff,0xd8221000-0xd8221fff irq 18 at device 11.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:d0:b7:25:86:ee
fxp0: [GIANT-LOCKED]
fxp1: <Intel 82559 Pro/100 Ethernet> port 0xcc00-0xcc3f mem 0xd8100000-0xd81ff
fff,0xd8220000-0xd8220fff irq 17 at device 13.0 on pci0
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:03:47:af:3a:0b
fxp1: [GIANT-LOCKED]
tl0: <Texas Instruments ThunderLAN> port 0xd000-0xd00f irq 16 at device 15.0 o
n pci0
miibus2: <MII bus> on tl0
mlphy0: <Micro Linear 6692 media interface> on miibus2
mlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy0: <ThunderLAN 10baseT media interface> on miibus2
tlphy0:  10base2/BNC, 10base5/AUI
tl0: [GIANT-LOCKED]
atapci2: <HighPoint HPT366 UDMA66 controller> port 0xdc00-0xdcff,0xd800-0xd803
,0xd400-0xd407 irq 18 at device 19.0 on pci0
ata4: at 0xd400 on atapci2
atapci3: <HighPoint HPT366 UDMA66 controller> port 0xe800-0xe8ff,0xe400-0xe403
,0xe000-0xe007 irq 18 at device 19.1 on pci0
ata5: at 0xe000 on atapci3
cpu0 on motherboard
cpu1 on motherboard
orm0: <ISA Option ROMs> at iomem 0xef000-0xeffff,0xcc000-0xccfff,0xca000-0xcb7
ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x
3f0-0x3f5 irq 6 drq 2 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0a03> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounters tick every 10.000 msec
ad4: 1033MB <WDC AC21000H> [2100/16/63] at ata2-master WDMA2
ad5: 1033MB <WDC AC21000H> [2100/16/63] at ata2-slave WDMA2
ad8: 19092MB <ST320014A> [38792/16/63] at ata4-master UDMA66
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad8s1a

===> Kernel config:

machine		i386
cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		RAGE
maxusers	0

#To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		#Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	SCHED_ULE		#ULE scheduler
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support
#options 	SYSVSHM			#SYSV-style shared memory
#options 	SYSVMSG			#SYSV-style message queues
#options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.

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

# To make an SMP kernel, the next two are needed
options 	SMP			# Symmetric MultiProcessor Kernel
device		apic

device		isa
#device		eisa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering

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

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

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

# Floating point support - do not disable.
device		npx

# Add suspend/resume support for the i8254.
device		pmtimer

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

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)

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

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

options		MAC

-- 
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/20040719/
37c01cdd/attachment-0001.bin

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

Message: 12
Date: Mon, 19 Jul 2004 01:25:03 +0200
From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject: Re: ADAPTIVE_MUTEXES panic.
To: freebsd-current@freebsd.org
Cc: scottl@freebsd.org
Message-ID: <20040718232503.GF57678@darkness.comp.waw.pl>
Content-Type: text/plain; charset="iso-8859-2"

On Mon, Jul 19, 2004 at 01:13:45AM +0200, Pawel Jakub Dawidek wrote:
+> Hi.
+> 
+> Here is copied by hand backtrace from panic on boot:
+> 
+> panic: Assertion ts != NULL failed at /usr/src/sys/kern/kern_mutex.c:646
[...]

Ok, the problem was one ADAPTIVE_MUTEXES -> NO_ADAPTIVE_MUTEXES change
missing. Fix committed.

-- 
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/20040719/
d9da22b9/attachment-0001.bin

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

Message: 13
Date: Sun, 18 Jul 2004 17:04:43 -0700
From: Julian Elischer <julian@elischer.org>
Subject: Re: panic: APIC: Previous IPI is stuck
To: Matthew Dillon <dillon@apollo.backplane.com>
Cc: Matthias Buelow <mkb@mukappabeta.de>
Message-ID: <40FB101B.2010807@elischer.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed



Matthew Dillon wrote:

>:Scott Long wrote:
>:
>:> The 'fix the bugs' discussions are going on too.  However, this is the
>:> freebsd-current list, and it's always nice to discuss things that might
>:> be suitable further down the road.
>:
>:Yes, I might have gotten this wrong, I thought he was talking 
>:specifically about 5.x (which to me, and I guess many other users, means 
>:the long awaited stabilization of the 5.x tree).
>:
>:-- 
>:   Matthias Buelow; mkb@{mukappabeta,informatik.uni-wuerzburg}.de
>
>    I am using "-current" and "5.x" interchangably, since there isn't really

>    much of a distinction between the two, at least not from my point of
>    view. 
>
>    As far as stabilization goes... well, the problem is that you can only 
>    stabilize what you have once you have it.  The APIs, abstractions, and
>    requirements are so complex in -current/5.x that every time someone
>    codes up something new, major bugs are introduced.  Even worse, many of
>    the bugs introduced are difficult to reproduce, track down, and fix.  Of

>    course, new bugs are introduced occurs with any OS development... DragonF
ly
>    is no exception.  But there are 'normal occurances' of such things, and 

>    then you have the 'its so fragging complex that I couldn't code it right

>    the first time if I tried!'.  -current/5.x is definitely in the latter
>    category.
>
>    The question you have to ask yourself is:  Do you want to spend all your

>    time tracking down all the bugs that are constantly being introduced into

>    the codebase, or do you want to simplify your APIs and abstractions to
>    *reduce* the instances of new bugs being introduced so you can spend more

>    of your time implementing neat new things instead?
>


I certianly agree about a lot of this and I'm as guilty as the rest of 
adding stuff.
(I'm now trying to clean some of it up but it's hard after other people 
entwine your
 own mistakes into their code. :-)

The IPI code is a very likely candidate for merging sooner than later.
I tried to add code to allow setrunnable (and friends) to immediatly 
kick an idle thread (in hlt)
to come and get the newly scheduled thread but it wasn't to easy as teh 
IPI code was not
all that general.

I haven't looked at Matthew's IPI code (nor ours), since it was written 
but at that time it
seemed to be a pretty straight forward  'drop in' replacement. (not too 
surprising really).

Who IS "Mr IPI"?  That's the problem with the system at teh moment... 
you have to know who
"Mr  ${module}" is for any given "Module" because there is such a high 
level of domain knwledge
needed for each subsystem. 

I'm presuming it's jhb with assistance from peter, but I'm not sure..
It's be nice to know what is required to "drop in" teh new IPI code. 
Then I could retry adding teh code
to kickstart idle cpus when work becomes available instead of waiting 
for the next tick for them to notice..

Drew recently saw a 10-20% increase in throughput by going to not using 
'hlt" in idle CPUs
on a threaded application.
(which itself slows down some things so the real improvement might have 
been more)
So there is really some gain to be had.

It''s been in DF for a year now so it's not "untried" code.

>
>    Another question you have to ask yourself is:  If you have a kernel whos

>    APIs and abstractions are so complex that even veteran kernel hackers
>    are having to test in perforce for weeks, months, or even longer before
>    daring to bring the code into CVS, and even then wind up with serious bug
s,
>    what do you think the situation is going to be for all the other develope
rs
>    out there trying to work on the FreeBSD kernel?
>
>    I'm not going to repeat all the suggestions I've made in the past.  It is

>    obvious to me that FreeBSD development needs to stop *right* *now*, take

>    a step back, and figure out how to simplify the MP requirements for
>    all the major subsystems... then spend 3 months doing it.  IPIs are a goo
d
>    example... it needs a complete rewrite.  The scheduler pretty much needs

>    a complete rewrite.  The memory subsystem is in pretty good shape but
>    would work even better using a DragonFly style cpu localization model.
>    The interrupt subsystem... well, again, you need DFly style preemption
>    instead of heavy-weight-scheduler-integrated-with-priority-borrowing-
>    preemptive-thread-switching-and-preemptive-cpu-migrative-and-oh-yah-don't
-
>    forget-to-pin-the-cpu-because-if-you-do-we-will-never-find-the-bugs-
>    you-introduce-otherwise style preemption.
>
>						-Matt
>
>_______________________________________________
>freebsd-current@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>  
>


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

Message: 14
Date: Mon, 19 Jul 2004 02:43:52 +0200
From: "Daniel Eriksson" <daniel_k_eriksson@telia.com>
Subject: Kernel preemption leads to SATA instability (how to debug?)
To: <freebsd-current@freebsd.org>
Message-ID:
	<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQA
AAAg2tdUeRFt0KlmWj16YeSrgEAAAAA@telia.com>
	
Content-Type: text/plain; charset="us-ascii"


Hi, I'm getting SATA instability on my system with kernel preemption
enabled. When accessing the SATA discs at the same time as other discs (for
example during a fsck of all file systems on the machine) it only takes a
few seconds for the SATA discs to start reporting things like this:

Interrupt storm detected on "irq20: atapci4"; throttling interrupt source
ad20: FAILURE - already active DMA on this device
ad20: setting up DMA failed

This is on a recent kernel (2004.07.18.05.00.00), but it's been like this
ever since the kernel preemption stuff was turned on again a few weeks ago.
With preemption disabled (by editing param.h) the system seems to be stable,
but somewhat sluggish (a simple bzip2 compress operation can generate a load
average of 10+).

How would I go about debugging this? Any hints would be appreciated. I do
have KDB/DDB and debug symbols compiled in, but the machine is a production
machine so I cannot afford long debugging sessions unfortunately.

Attached is the dmesg.boot and kernel config file. Below are some settings
that might be interesting from other files:

/etc/sysctl.conf
----------------
kern.ipc.maxsockbuf=524288
kern.ipc.somaxconn=1024
kern.maxfiles=16384
kern.polling.enable=1
kern.polling.idle_poll=0
kern.polling.burst_max=200
kern.polling.each_burst=25
kern.polling.poll_in_trap=1
net.inet.tcp.sendspace=262144
net.inet.tcp.recvspace=262144
net.inet.tcp.rfc3390=1
net.inet.tcp.inflight_enable=1
net.inet.tcp.inflight_min=6144
net.inet.tcp.inflight_debug=0
net.inet.tcp.sack.enable=1
net.inet.ip.intr_queue_maxlen=500

/boot/loader.conf
-----------------
kern.ipc.nmbclusters="16384"
hw.apic.mixed_mode=0
hw.intr_storm_threshold=5000

/etc/make.conf
--------------
CFLAGS= -O2 -pipe -fno-builtin
COPTFLAGS= -O2 -pipe -fno-builtin
CPUTYPE?=athlon-xp


/Daniel Eriksson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.boot
Type: application/octet-stream
Size: 9853 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040719/
b3a1588c/dmesg-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FORTIFY
Type: application/octet-stream
Size: 12202 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040719/
b3a1588c/FORTIFY-0001.obj

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

Message: 15
Date: Mon, 19 Jul 2004 05:37:47 +0400
From: Gleb Smirnoff <glebius@freebsd.org>
Subject: apm broken
To: current@freebsd.org
Message-ID: <20040719013747.GA44440@cell.sick.ru>
Content-Type: text/plain; charset=koi8-r

  I have upgraded to recent CURRENT (Jul 15) my IBM Thinkpad T20 notebook
and now apm is broken. When notebook resumes after sleep it starts
display and freezes with no chance to escape to debugger.

My previuos kernel from Jul 9 were resuming/sleeping flawlessly.

Anyone has any ideas?

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE

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

Message: 16
Date: Mon, 19 Jul 2004 01:25:34 -0400
From: Brian Fundakowski Feldman <green@FreeBSD.org>
Subject: lockups with src/tools/regression/gaithrstress
To: current@FreeBSD.org
Message-ID: <20040719052534.GA1038@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii

Running with or without kern.smp.disabled, with a very up-to-date kernel,
I can easily lock up the system by running gaithrstress -t 50 a few times
at once.  There is nothing special that has changed in the last few weeks,
though I have extensive changes to kqueue and VM which I consider entirely
stable at this point.  Anything causing a problem like this seems like it's
due to changes within the last few weeks.

The only clue I have comes from a previous panic() (which promptly just
locked up going into "KDB: enter: panic"), "kse/thread mismatch" as
generated by choosethread().  The connect() system call was trying to
do an mi_switch() inside a mtx_lock() at the time.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \

 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


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

Message: 17
Date: Sun, 18 Jul 2004 22:39:22 -0700
From: Andrew Konstantinov <abkonstantinov@earthlink.net>
Subject: ppp => Phase: deflink: Already in NETWORK phase
To: freebsd-current@freebsd.org
Message-ID: <20040719053922.GA3333@root.kableu.com>
Content-Type: text/plain; charset="us-ascii"

Hello,

I'm having some difficulties with ppp not being able to renegotiate the
connection properly. I've browsed the ppp logs and came to the conclusion that

"Phase: deflink: Already in NETWORK phase" is the source of the problem. I'm
using ppp to establish/manage my DSL link (PPPoE). Here is the ppp.conf file:


default:
 set server /var/run/internet "" 0177
 set device PPPoE:dc0
 set mtu 1492
 set mru 1492
 set cd 5
 set authname secret
 set authkey secret
 set dial
 set login
 add default HISADDR
 enable dns

PPP is running in the 'ddial' mode.

Whenever the connection is dropped, the following happens:

Phase: deflink: hangup -> opening
Phase: deflink: Enter pause (3) for redialing.
Phase: deflink: Connected!
Phase: deflink: opening -> dial
Phase: deflink: dial -> carrier
Phase: Received NGM_PPPOE_ACNAME (secret)
Phase: Received NGM_PPPOE_SESSIONID
Phase: Received NGM_PPPOE_SUCCESS
Phase: deflink: carrier -> login
Phase: deflink: login -> lcp
Phase: deflink: his = CHAP 0x05, mine = none
Phase: Chap Input: CHALLENGE (secret)
Phase: Chap Output: RESPONSE (secret)
Phase: Chap Input: SUCCESS
Phase: deflink: Already in NETWORK phase
Phase: deflink: lcp -> open
Phase: Clearing choked output queue
Phase: deflink: open -> lcp
Phase: Received NGM_PPPOE_CLOSE
Phase: deflink: Device disconnected
Phase: deflink: Disconnected!
Phase: deflink: lcp -> logout
Phase: deflink: Disconnected!
Phase: deflink: logout -> hangup
Phase: deflink: Connect time: 121 secs: 393 octets in, 114 octets out

The same thing happens every time when the connection drop is followed by ppp'
s
attempt to renegotiate it. As you can see, it always fails.

On the other hand, if I kill ppp entirely and start the connection setup
process from scratch, everything goes well and link is established properly.
Here is the log:

Phase: PPP Started (ddial mode).
Phase: bundle: Establish
Phase: deflink: closed -> opening
Phase: deflink: Connected!
Phase: deflink: opening -> dial
Phase: deflink: dial -> carrier
Phase: Received NGM_PPPOE_ACNAME (secret)
Phase: Received NGM_PPPOE_SESSIONID
Phase: Received NGM_PPPOE_SUCCESS
Phase: deflink: carrier -> login
Phase: deflink: login -> lcp
Phase: bundle: Authenticate
Phase: deflink: his = CHAP 0x05, mine = none
Phase: Chap Input: CHALLENGE (secret)
Phase: Chap Output: RESPONSE (secret)
Phase: Chap Input: SUCCESS
Phase: deflink: lcp -> open
Phase: bundle: Network

At this point, the link up and I'm able to communicate over it.

If I understood everything correctly, the problem is that when the ppp tries t
o
renegotiate the connection, it uses old network phase. I guess at this point m
y
link's peer has already abandoned that old network phase and in order for
renegotiation to succeed, a new network phase has to be setup. But ppp fails t
o
do that and as a result of that my peer doesn't allow any communication to go

through, which in its turn creates the overflow of the output packet queue.

So if everything said above is correct, then my question is: How would I force

ppp to reestablish that network phase each time my connection is dropped? I've

looked at the ppp/pppctl manual pages but didn't find a solution there.

In case it's needed, here is my uname -a: 

FreeBSD secret 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Sat Jul 10
16:47:35 PDT 2004     root@secret:/usr/obj/usr/src/sys/CUSTOM  i386

Any help will be greatly appreciated.

 - Andrew
-------------- 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/20040718/
09389c54/attachment-0001.bin

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

Message: 18
Date: Mon, 19 Jul 2004 10:07:30 +0400
From: Andrey Chernov <ache@nagual.pp.ru>
Subject: Re: NEW TAR
To: Tim Kientzle <kientzle@FreeBSD.ORG>
Cc: ports@FreeBSD.ORG
Message-ID: <20040719060730.GA87697@nagual.pp.ru>
Content-Type: text/plain; charset=us-ascii

On Sat, Jul 17, 2004 at 10:37:28AM -0700, Tim Kientzle wrote:

>  * File format: bsdtar can read gtar files, including
>    long file names, long link names, and sparse files.
>    bsdtar can also read many other formats that gtar
>    does not support.

Addition:
bsdtar can't write sparse archives (Yet?).

-- 
Andrey Chernov | http://ache.pp.ru/

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

Message: 19
Date: Sun, 18 Jul 2004 23:48:13 -0700
From: "Grover Lines" <grover@ceribus.net>
Subject: Installworld borked?
To: <freebsd-current@freebsd.org>
Message-ID: <20040719064812.B54FC43D45@mx1.FreeBSD.org>
Content-Type: text/plain;	charset="us-ascii"

Is it just me or ?

Buildworld buildkernel installkernel all worked fine


===> usr.sbin/pkg_install/version
install -s -o root -g wheel -m 555   pkg_version /usr/sbin
install -o root -g wheel -m 444 pkg_version.1.gz  /usr/share/man/man1
===> usr.sbin/pnpinfo
install -s -o root -g wheel -m 555   pnpinfo /usr/sbin
install -o root -g wheel -m 444 pnpinfo.8.gz  /usr/share/man/man8
===> usr.sbin/ppp
install -s -o root -g network -m 4550   ppp /usr/sbin
m4  /usr/src/usr.sbin/ppp/ppp.8.m4 >ppp.8
m4: not found
*** Error code 127

Stop in /usr/src/usr.sbin/ppp.
*** Error code 1

Stop in /usr/src/usr.sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

--
Grover Lines


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

Message: 20
Date: Mon, 19 Jul 2004 08:51:42 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Re: panic: Duplicate free of item 0xffffff005c4a8600
	fromzone0xffffff007fed4780(Mbuf)
To: "Robert Watson" <rwatson@freebsd.org>
Cc: current@freebsd.org
Message-ID: <11e601c46d5c$d9db1910$471b3dd4@digiware.nl>
Content-Type: text/plain;	charset="iso-8859-1"

> I'll starts some more tests before I'm of to bed.

This mornings result:
====
System call getdirentries returning with the following locks held:
exclusive sleep mutex bdone lock r = 0 (0xffffffff805fd080) locked @ /home2/sr
c/
sys/kern/vfs_bio.c:3767
panic: witness_warn
cpuid = 0;
KDB: stack backtrace:
kdspin lock sched lock held by 0xffffff007b6cc940 for > 5 seconds
panic: spin lock held too long
cpuid = 0;
KDB: enter: panic
====

But no way to get into the debugger.
Does not look like it is much network related???

--WjW


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

Message: 21
Date: Mon, 19 Jul 2004 11:24:39 +0400
From: Gleb Smirnoff <glebius@freebsd.org>
Subject: Re: apm broken
To: current@freebsd.org
Message-ID: <20040719072439.GD45598@cell.sick.ru>
Content-Type: text/plain; charset=koi8-r

On Mon, Jul 19, 2004 at 05:37:47AM +0400, Gleb Smirnoff wrote:
T>   I have upgraded to recent CURRENT (Jul 15) my IBM Thinkpad T20 notebook
T> and now apm is broken. When notebook resumes after sleep it starts
T> display and freezes with no chance to escape to debugger.
T> 
T> My previuos kernel from Jul 9 were resuming/sleeping flawlessly.
T> 
T> Anyone has any ideas?

I forgot to mention important thing: ACPI is turned off.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE

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

Message: 22
Date: Mon, 19 Jul 2004 18:15:15 +1000
From: Peter Kostouros <kpeter@melbpc.org.au>
Subject: [panic] setrunqueue
To: freebsd-current@FreeBSD.ORG
Message-ID: <40FB8313.5050308@melbpc.org.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi

I received a fatal error and hope the following is useful:

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x54
fault code            = supervisor write, page not present
instruction pointer   = 0x8:0xc0545485
stack pointer         = 0x10:0xe0209a8c
frame pointer         = 0x10:0xe0209aac
code segment          = base 0x0, limit 0xfffff, type 0x1b
                       = DPL 0, pres 1, def32 1, gran 1
processor eflags      = resume, IOPL = 0
current process       = 2397 (xmms)
[thread 100180]
Stopped at 0xc0545485 = setrunqueue+0x1b5: movl %edi, 0x54(%edx)

Trace gave the following:

setrunqueue+0x1b5
sched_switch+0xa4
mi_switch+0x2af
maybe_preemt+0xde
sched_add_interval+0x2b2
sched_add+0x19
setrunqueue+0x1c6
turnstile_unpend+0x2e8
_mtx_unlock_sleep+0x87
_mtx_unlock_flags+0xd1
soo_write+0xb6
dofilewrite+0xcb
write+0x6e
syscall+0x2a0
Xint0x80_syscall+0x1f
--- syscall(4, FreeBSD ELF32, write), eip = 0x2835d8cb,
esp = 0xbfbfe7fc, ebp = 0xbfbfe818

Script started on Sun Jul 18 20:33:54 2004
eva# gdb6 -k kernel.debug

GNU gdb 20040713 [GDB v6.x for FreeBSD]
Copyright 2004 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-portbld-freebsd5.2"...
(kgdb) l *setrunqueue+0x1b5
0xc0545485 is in setrunqueue
(/mnt/cvs/FreeBSD/usr/src/sys/kern/kern_switch.c:422).
417				 * put the new kse on whatever is next,
418				 * which may or may not be us.
419				 */
420				td2 = TAILQ_NEXT(tda, td_runq);
421				kg->kg_last_assigned = td2;
422				td2->td_kse = ke;
423				ke->ke_thread = td2;
424			}
425			sched_add(ke->ke_thread);
426		}
(kgdb) q
eva# exit

exit

Script done on Sun Jul 18 20:41:03 2004


1. The system was built after a cvsup on 17JUL2004 (~midday) (nb, I am 
at GMT+10);
2. Scheduler is SCHED_ULE;
3. UP machine, no hyperthreading;
4. I have had several panics: all in an X session, some under load
(building applications) others under light load (mozilla, multimedia
applications).




-- 

Regards

Peter

As always the organisation disavows knowledge of this email

_______________________________________________
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"




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

_______________________________________________
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 69, Issue 1
**********************************************


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


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