kern/94272: exca(4) caused panic
Artemiev Igor
ai at bmc.brk.ru
Thu Mar 9 06:40:14 PST 2006
>Number: 94272
>Category: kern
>Synopsis: exca(4) caused panic
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 09 14:40:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Artemiev Igor
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
Bryansk Medical Center
>Environment:
System: FreeBSD home.sweet.home 7.0-CURRENT FreeBSD 7.0-CURRENT #58: Wen Mar 8 17:27:21 MSK 2006 root at home.sweet.home:/usr/obj/usr/src/sys/ai.home i386
>Description:
With 1.23 revision /sys/dev/exca/exca.c my notebook going to the panic,
when an pccard inserted. Hardware - Compaq Armada M700 with cbb(4) and Intel EtherExpress M16A card.
>How-To-Repeat:
Just insert pccard into any laptop with PCIC.
>Fix:
That patch fix this problem:
--- sys/dev/exca/exca.c.orig Thu Mar 9 08:26:13 2006
+++ sys/dev/exca/exca.c Thu Mar 9 08:26:44 2006
@@ -179,11 +179,11 @@
struct mem_map_index_st *map;
struct pccard_mem_handle *mem;
uint32_t offset;
- int mem8 = (mem->kind == PCCARD_A_MEM_ATTR);
- mem8 = 1;
+ int mem8;
map = &mem_map_index[win];
mem = &sc->mem[win];
+ mem8 = (mem->kind == PCCARD_A_MEM_ATTR);
offset = ((mem->cardaddr >> EXCA_CARDMEM_ADDRX_SHIFT) -
(mem->addr >> EXCA_SYSMEM_ADDRX_SHIFT)) & 0x3fff;
exca_putb(sc, map->sysmem_start_lsb,
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list