Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 15:32:07 +0000
From:      Marten Vijn <info@martenvijn.nl>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: cf-card in pccard slot panics kernel 6.0 BETA and rc1 at boottime
Message-ID:  <1129735927.689.37.camel@localhost.localdomain>
In-Reply-To: <20051018.170403.10821844.imp@bsdimp.com>
References:  <1129663158.715.35.camel@localhost.localdomain> <20051018.170403.10821844.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2005-10-18 at 17:04 -0600, M. Warner Losh wrote:

1 ==> Maybe you could also try:
> 
> 	On Sat, 2005-10-15 at 22:21 -0600, M. Warner Losh wrote:
>         ...> Please consider applying the following patch. 
>         <cut>
> 	and see if that changes anything... 

With or without the patch there is no difference.


2 ==>
> Any chance for a trace?  Without it, this is impossible to make
> progress on since it doesn't happen for me here...

Yes, I would like but I don't know how jet.

added for debugging to my kernelconfig:

options         KTR
options         KTR_ENTRIES=1024
options         KTR_VERBOSE
options         KTR_ALQ

ends in: 
ERS -include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-gr
owth=100 --param large-function-growth=1000  -mno-align-long-strings
-mpreferred
-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding
-Werror
  vers.c
linking kernel.debug
kern_ktr.o(.text+0x8d): In function `sysctl_debug_ktr_alq_enable':
/usr/src/sys/kern/kern_ktr.c:147: undefined reference to `alq_open'
kern_ktr.o(.text+0xe3):/usr/src/sys/kern/kern_ktr.c:160: undefined
reference to
`alq_close'
kern_ktr.o(.text+0x17f): In function `ktr_tracepoint':
/usr/src/sys/kern/kern_ktr.c:201: undefined reference to `ald_thread'
kern_ktr.o(.text+0x1ac):/usr/src/sys/kern/kern_ktr.c:207: undefined
reference to
 `alq_get'
kern_ktr.o(.text+0x29d):/usr/src/sys/kern/kern_ktr.c:252: undefined
reference to
 `alq_post'
*** Error code 1

Stop in /usr/obj/usr/src/sys/itx.
*** Error code 1

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

Stop in /usr/src.


I must be doing someting wrong somewhere. (help is appriciated)

Do I need to do set thing is /etc/sysctl.conf like:

debug.ktr.alq_file=/tmp/itx.out
debug.ktr.alq_enable=1



Marten










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