malo causes sig 12 error and panic on Freebsd 7.2-PRERELEASE (7-STABLE)

Chagin Dmitry dchagin at freebsd.org
Sat Mar 28 12:30:53 PDT 2009


On Wed, Mar 25, 2009 at 09:52:43PM +0000, John wrote:
> Hi list
> 
> I configured the malo device as per the manpage. Now I'm getting panic
> after the device is probed as per
> http://www.growveg.org/desktop/DSC_6973-3008.jpg
> 
> Is there a parameter I can pass to boot that will ignore this
> driver/module? I have tried disable-module to no avail. Is the only
> option to use the rescue disk? I need loader.conf to be ignored now in
> order to get the system up at all.
> 
> Is malo known to work under 7-STABLE? I notice the man page says it
> first appeared under FreeBSD 8.0.
> 


hi,
it's broken event in HEAD:

none2 at pci0:4:4:0:       class=0x020000 card=0x6b001385 chip=0x1faa11ab rev=0x03
hdr=0x00
    vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
    device     = '8335 Marvell Libertas 802.11b/g Wireless (8335)'
    class      = network
    subclass   = ethernet

Unread portion of the kernel message buffer:
malo0: <Marvell Libertas 88W8335 802.11g Wireless Adapter> mem
0xd0130000-0xd013ffff,0xd0120000-0xd012ffff irq 22 at device 4.0 on pci4
malo0: [FILTER]
malo0: unable to allocate memory for cmd buffer, error 12


Fatal trap 9: general protection fault while in kernel mode
cpuid = 3; apic id = 03
instruction pointer     = 0x8:0xffffffff80517727
stack pointer           = 0x10:0xfffffffef16283a0
frame pointer           = 0x10:0xfffffffef16283e0
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         = 6332 (kldload)

(kgdb) bt
#0  doadump () at pcpu.h:215
#1  0xffffffff801955dc in db_fncall (dummy1=Variable "dummy1" is not available.
) at /work/pub/head/sys/ddb/db_command.c:548
#2  0xffffffff80195911 in db_command (last_cmdp=0xffffffff8078d8c0,
cmd_table=Variable "cmd_table" is not available.
)
    at /work/pub/head/sys/ddb/db_command.c:445
#3  0xffffffff80195b60 in db_command_loop () at
/work/pub/head/sys/ddb/db_command.c:498
#4  0xffffffff80197ba9 in db_trap (type=Variable "type" is not available.
) at /work/pub/head/sys/ddb/db_main.c:229
#5  0xffffffff80313df5 in kdb_trap (type=0x9, code=0x0, tf=0xfffffffef16282f0)
    at /work/pub/head/sys/kern/subr_kdb.c:534
#6  0xffffffff805428cd in trap_fatal (frame=0xfffffffef16282f0, eva=Variable
"eva" is not available.
) at /work/pub/head/sys/amd64/amd64/trap.c:745
#7  0xffffffff805434d5 in trap (frame=0xfffffffef16282f0) at
/work/pub/head/sys/amd64/amd64/trap.c:551
#8  0xffffffff8051d9b3 in calltrap () at
/work/pub/head/sys/amd64/amd64/exception.S:217
#9  0xffffffff80517727 in _bus_dmamap_unload (dmat=0xdeadc0dedeadc0de,
map=0xdeadc0dedeadc0de)
    at /work/pub/head/sys/amd64/amd64/busdma_machdep.c:901
#10 0xffffffff8267421b in malo_hal_attach (dev=0xffffff0003c87100,
devid=Variable "devid" is not available.
)
    at /work/pub/head/sys/modules/malo/../../dev/malo/if_malohal.c:169
#11 0xffffffff82672bc8 in malo_attach (devid=0x1faa, sc=0xffffff000798d800)
    at /work/pub/head/sys/modules/malo/../../dev/malo/if_malo.c:216
#12 0xffffffff826756cc in malo_pci_attach (dev=0xffffff0003c87100)
    at /work/pub/head/sys/modules/malo/../../dev/malo/if_malo_pci.c:261
#13 0xffffffff8030de79 in device_attach (dev=0xffffff0003c87100) at
device_if.h:178
#14 0xffffffff8022cdc9 in pci_driver_added (dev=Variable "dev" is not available.
) at /work/pub/head/sys/dev/pci/pci.c:2810
#15 0xffffffff8030c099 in devclass_driver_added (dc=0xffffff00036ba600,
driver=0xffffffff82677120) at bus_if.h:183
#16 0xffffffff8030cb4a in devclass_add_driver (dc=0xffffff00036ba600,
driver=0xffffffff82677120)
    at /work/pub/head/sys/kern/subr_bus.c:942
#17 0xffffffff8030dd3d in driver_module_handler (mod=Variable "mod" is not
available.
) at /work/pub/head/sys/kern/subr_bus.c:3952
#18 0xffffffff802d170d in module_register_init (arg=Variable "arg" is not
available.
) at /work/pub/head/sys/kern/kern_module.c:124
#19 0xffffffff802c8c82 in linker_load_module (kldname=Variable "kldname" is not
available.
) at /work/pub/head/sys/kern/kern_linker.c:233
#20 0xffffffff802c912c in kern_kldload (td=0xffffff006226e760,
file=0xffffff0007982000 "if_malo",
    fileid=0xfffffffef1628b04) at /work/pub/head/sys/kern/kern_linker.c:1009
#21 0xffffffff802c9284 in kldload (td=0xffffff006226e760, uap=Variable "uap" is
not available.
) at /work/pub/head/sys/kern/kern_linker.c:1036
#22 0xffffffff80542eab in syscall (frame=0xfffffffef1628c80) at
/work/pub/head/sys/amd64/amd64/trap.c:882
#23 0xffffffff8051dbcb in Xfast_syscall () at
/work/pub/head/sys/amd64/amd64/exception.S:338
#24 0x00000008006935ec in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) up 10
#10 0xffffffff8267421b in malo_hal_attach (dev=0xffffff0003c87100,
devid=Variable "devid" is not available.
)
    at /work/pub/head/sys/modules/malo/../../dev/malo/if_malohal.c:169
169                     bus_dmamap_unload(mh->mh_dmat, mh->mh_dmamap);
(kgdb) list
164
165     fail:
166             free(mh, M_DEVBUF);
167
168             if (mh->mh_dmamap != NULL) {
169                     bus_dmamap_unload(mh->mh_dmat, mh->mh_dmamap);
170                     if (mh->mh_cmdbuf != NULL)
171                             bus_dmamem_free(mh->mh_dmat, mh->mh_cmdbuf,
172                                 mh->mh_dmamap);
173                     bus_dmamap_destroy(mh->mh_dmat, mh->mh_dmamap);
(kgdb)

Weongyo, please, look at line #166 - 169.

-- 
Have fun!
chd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090328/e123f13d/attachment.pgp


More information about the freebsd-stable mailing list