Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 11:00:16 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Rene Ladan <r.c.ladan@student.tue.nl>
Cc:        stable@freebsd.org
Subject:   Re: 6.0BETA4: panic: unrhdr has 9 allocations
Message-ID:  <20050914105923.M33820@fledge.watson.org>
In-Reply-To: <20050912124039.GA723@82-168-75-155-bbxl.xdsl.tiscali.nl>
References:  <20050912124039.GA723@82-168-75-155-bbxl.xdsl.tiscali.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-113187961-1126692016=:33820
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE


On Mon, 12 Sep 2005, Rene Ladan wrote:

> Hi,
>
> on

Could you file a PR on this?  It sounds like a bug in one of three places:=
=20
the unit allocation routines, procfs, or vfs.  If I had to guess, procfs=20
or VFS, but you never know.

Thanks,

Robert N M Watson

>
> FreeBSD 6.0-BETA4 #10: Sun Sep  4 22:19:26 CEST 2005 /usr/obj/usr/src/sys=
/RENE
>
> I saw this panic after the following:
>
> # mount_procfs procfs /proc
>  (loads procfs.ko and pseudofs.ko)
> <play with truss>
> # umount /proc
> # kldunload procfs
>
> I'll leave the dump around for a while.
>
> #0  doadump () at pcpu.h:165
> 165=09pcpu.h: No such file or directory.
> =09in pcpu.h
> (kgdb) bt f
> #0  doadump () at pcpu.h:165
> No locals.
> #1  0xc044c9a6 in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D1999,
>    dummy4=3D0xcf174a3c " =DFu=C0") at /usr/src/sys/ddb/db_command.c:489
> =09fn_addr =3D -1068248576
> =09args =3D {0, -820557304, -1066944787, -1065639616, 28, -820557304,
>  -1069226763, 32, -1066234688, 2}
> =09nargs =3D 0
> =09retval =3D 544973344
> =09t =3D 0
> #2  0xc044c722 in db_command (last_cmdp=3D0xc075d624, cmd_table=3D0x0,
>    aux_cmd_tablep=3D0xc07235f0, aux_cmd_tablep_end=3D0xc07235f4)
>    at /usr/src/sys/ddb/db_command.c:349
> =09cmd =3D (struct command *) 0xc0728e40
> =09t =3D 0
> =09modif =3D " =DFu=C0\000\000\000\000XJ\027=CF\r\000\000\000=A0=D8|=C0\r=
\000\000\000\001\000\000\000xJ\027=CF=C6=D9i=C0@=A1{=C0\aK\000 $=D9|=C0=C0\=
037{=C0 =DFu=C0x\000\000\000 =DFu=C0\000\000\000\000\234J\027=CF=F1=EDD=C0=
=C7\005p=C0p=EAD=C0\000\000\000\000\020\000\000\000\000\000\000\000 =DFu=C0=
\206=E0D=C0 =DFu=C0=D8=D6u=C0x\000\000\000\000K\027=CF"
> =09addr =3D 0
> =09count =3D 1999
> =09have_addr =3D 0
> =09result =3D 0
> #3  0xc044c835 in db_command_loop () at /usr/src/sys/ddb/db_command.c:455
> No locals.
> #4  0xc044e9a5 in db_trap (type=3D3, code=3D0) at /usr/src/sys/ddb/db_mai=
n.c:221
> =09jb =3D {{_jb =3D {-820557056, -820557084, -820557004, -1042394752, 0,
>      -1069225658, 0, 0, 0, 0, -820557004, -1068123920}}}
> =09prev_jb =3D (void *) 0x0
> =09bkpt =3D 0
> #5  0xc055b977 in kdb_trap (type=3D0, code=3D0, tf=3D0xcf174b94)
>    at /usr/src/sys/kern/subr_kdb.c:473
> =09handled =3D -820556908
> #6  0xc06be108 in trap (frame=3D
>      {tf_fs =3D -1066401784, tf_es =3D 40, tf_ds =3D -820576216, tf_edi =
=3D 1, tf_esi =3D -1066387444, tf_ebp =3D -820556836, tf_isp =3D -820556864=
, tf_ebx =3D -820556780, tf_edx =3D 0, tf_ecx =3D -1056878592, tf_eax =3D 1=
8, tf_trapno =3D 3, tf_err =3D 0, tf_eip =3D -1068124560, tf_cs =3D 32, tf_=
eflags =3D 642, tf_esp =3D -1066392053, tf_ss =3D -1066400620}) at /usr/src=
/sys/i386/i386/trap.c:601
> =09td =3D (struct thread *) 0xc1de5180
> =09p =3D (struct proc *) 0xc16d520c
> =09sticks =3D 3229006976
> =09i =3D 0
> =09ucode =3D 0
> =09type =3D 3
> =09code =3D 0
> =09eva =3D 0
> #7  0xc06ab72a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
> No locals.
> #8  0xc0700008 in ?? ()
> No symbol table info available.
> #9  0x00000028 in ?? ()
> No symbol table info available.
> #10 0xcf170028 in ?? ()
> No symbol table info available.
> #11 0x00000001 in ?? ()
> No symbol table info available.
> #12 0xc070380c in ?? ()
> No symbol table info available.
> #13 0xcf174bdc in ?? ()
> No symbol table info available.
> #14 0xcf174bc0 in ?? ()
> No symbol table info available.
> #15 0xcf174c14 in ?? ()
> No symbol table info available.
> #16 0x00000000 in ?? ()
> No symbol table info available.
> #17 0xc1015000 in ?? ()
> No symbol table info available.
> #18 0x00000012 in ?? ()
> No symbol table info available.
> #19 0x00000003 in ?? ()
> No symbol table info available.
> #20 0x00000000 in ?? ()
> No symbol table info available.
> #21 0xc055b670 in kdb_enter (msg=3D0x0) at cpufunc.h:60
> No locals.
> #22 0xc053dab5 in panic (fmt=3D0xc070380c "unrhdr has %u allocations")
>    at /usr/src/sys/kern/kern_shutdown.c:537
> =09td =3D (struct thread *) 0xc1de5180
> =09bootopt =3D 256
> =09newpanic =3D 1
> =09ap =3D 0xcf174c14 "\t"
> =09buf =3D "unrhdr has 9 allocations", '\0' <repeats 231 times>
> #23 0xc0565e62 in delete_unrhdr (uh=3D0x0) at /usr/src/sys/kern/subr_unit=
=2Ec:321
> No locals.
> #24 0xc271f54a in ?? ()
> No symbol table info available.
> #25 0xc21dfa80 in ?? ()
> No symbol table info available.
> #26 0xc07659dc in lockbuilder_pool ()
> No symbol table info available.
> #27 0xc26457a0 in ?? ()
> No symbol table info available.
> #28 0xc26457a0 in ?? ()
> No symbol table info available.
> #29 0xcf174c40 in ?? ()
> No symbol table info available.
> #30 0xc2644089 in ?? ()
> No symbol table info available.
> #31 0xc2645840 in ?? ()
> No symbol table info available.
> #32 0xc26457a0 in ?? ()
> No symbol table info available.
> #33 0xcf174c54 in ?? ()
> No symbol table info available.
> #34 0xc059dbab in vfs_unregister (vfc=3D0xc26457a0)
>    at /usr/src/sys/kern/vfs_init.c:265
> =09vfsp =3D (struct vfsconf *) 0xc2645840
> =09error =3D 0
> =09maxtypenum =3D 0
> Previous frame inner to this frame (corrupt stack?)
> (kgdb) q
> --=20
> GPG fingerprint =3D 5FFA 3959 3377 C697 8428  24D0 BF3E F4A9 AE33 5DCC
>
> "It won't fit on the line."
> =09=09-- me, 2001
>
--0-113187961-1126692016=:33820--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050914105923.M33820>