Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2005 15:11:33 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Christian Laursen <xi@borderworlds.dk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 5.4-PRERELEASE pccard problem
Message-ID:  <20050402150904.M1503@carver.gumbysoft.com>
In-Reply-To: <867jjlrpz9.fsf@borg.borderworlds.dk>
References:  <867jjlrpz9.fsf@borg.borderworlds.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2 Apr 2005, Christian Laursen wrote:

> After upgrading to 5.4-PRERELEASE as of yesterday, I now have a problem
> with my wireless card that has worked fine before.
>
> When I insert it I get an instant panic like this:
>
> #0  doadump () at pcpu.h:159
> #1  0xc04feb42 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410
> #2  0xc04fedd8 in panic (fmt=0xc068de12 "%s")
>     at /usr/src/sys/kern/kern_shutdown.c:566
> #3  0xc0666400 in trap_fatal (frame=0xc8333bd0, eva=4294966015)
>     at /usr/src/sys/i386/i386/trap.c:809
> #4  0xc066616b in trap_pfault (frame=0xc8333bd0, usermode=0, eva=4294966015)
>     at /usr/src/sys/i386/i386/trap.c:727
> #5  0xc0665dcd in trap (frame=
>       {tf_fs = 24, tf_es = -936181744, tf_ds = -1068433392, tf_edi = -1052027392, tf_esi = 1, tf_ebp = -936166384, tf_isp = -936166404, tf_ebx = -1066683360, tf_edx = -1281, tf_ecx = -1054120947, tf_eax = -335814834, tf_trapno = 12, tf_err = 0, tf_eip = -1068110692, tf_cs = 8, tf_eflags = 66178, tf_esp = -936166332, tf_ss = -1069088243}) at /usr/src/sys/i386/i386/trap.c:417
> #6  0xc06594fa in calltrap () at /usr/src/sys/i386/i386/exception.s:140
> #7  0x00000018 in ?? ()
> #8  0xc8330010 in ?? ()
> #9  0xc0510010 in blst_radix_init (scan=0xfffffaff,
>     radix=-4527414809764076532, skip=-1054120915, count=Unhandled dwarf expression opcode 0x93
> )
>     at /usr/src/sys/kern/subr_blist.c:881
> #10 0xc047020d in pccard_do_product_lookup (bus=0xc137ad00, dev=0x10282,
>     tab=0xc0687fe0, ent_size=32, matchfn=0)
>     at /usr/src/sys/dev/pccard/pccard.c:381
> #11 0xc06405b8 in fdc_pccard_probe (dev=0xc14b5600) at card_if.h:194

This makes no sense. What version of src/sys/dev/pccard/pccard.c do you
have? Line 381 is a comparison in RELENG_5:

381                 if (matches && ent->pp_cis[0] &&
382                     (vendorstr == NULL ||
383                     strcmp(ent->pp_cis[0], vendorstr) != 0))
384                         matches = 0;

pccard.c does not call any of the radix functions.

I'd suggest blowing away your kernel source and obj dir and rebuilding
your kernel + modules from scratch. This looks like you have a mismatched
module somewhere, or memory corruption, or worse. Be sure to follow the
instructions in UPDATING explaining how to track -STABLE and build the
world and kernel correctly.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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