From owner-freebsd-current@FreeBSD.ORG Thu Jul 17 19:20:02 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 518BF37B401 for ; Thu, 17 Jul 2003 19:20:02 -0700 (PDT) Received: from h190n1fls34o809.telia.com (h190n1fls34o809.telia.com [213.67.96.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32DE243F85 for ; Thu, 17 Jul 2003 19:20:01 -0700 (PDT) (envelope-from pawel.worach@telia.com) Received: from telia.com (corona.sajd.net [192.168.1.20])h6I2Jwv02172 for ; Fri, 18 Jul 2003 04:19:59 +0200 (MEST) Message-ID: <3F17594E.5090605@telia.com> Date: Fri, 18 Jul 2003 04:19:58 +0200 From: Pawel Worach User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20030525 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org References: <3F174248.9070809@telia.com> In-Reply-To: <3F174248.9070809@telia.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: panic on pccard insert (more debug info) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 02:20:02 -0000 I tuned on some debug sysctls, here is the result. cbb0: card inserted: event=0x00000000, state=30000810 pccard0: chip_socket_enable cbb_pcic_socket_enable: cbb0: cbb_power: 3V pccard0: read_cis cis mem map ce6e1000 pccard0: CIS tuple chain: CISTPL_NONE 00 CISTPL_NONE 00 [....] CISTPL_CHECKSUM too short 0 10 00 CISTPL_NONE 00 CISTPL_NONE 00 [and it continues like this until the panic] -Pawel Pawel Worach wrote: > Whatever pccard i insert, here an unsupported 3Com OfficeConnect > WiFi card or even a Intel Pro/100+ Mobile16 card it panics like > seen below. This happens if booted with the card inserted and > if hotplugged. The laptop is booted "diskless" so I can't produce > a crashdump (the info below is typed by hand). > > full dmesg, kernel config and kernel.debug can be found at > http://213.67.96.190/pccard/ > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xce6cb000 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc016a7b5 > stack pointer = 0x10:0xcd2c4938 > frame pointer = 0x10:0xcd2c4b54 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 8 (cbb0) > kernel: type 12 trap, code=0 > Stopped at pccard_scan_cis+0x165: movzbl 0(%eax,%edx,1),%eax > db> tr > pccard_scan_cis+0x165 > pccard_read_cis+0xb4 > pccard_attach_card+0x9b > CARD_ATTACH_CARD+0x48 > exca_insert+0x23 > cbb_insert+0x93 > cbb_event_thread+0xa4 > fork_exit+0xb1 > fork_trampoline+0x1a > --- trap 0x1, eip = 0, esp = 0xcd2c4d7c, ebp = 0 --- > > pccard stuff from dmesg: > cbb0: irq 9 at device 19.0 on pci0 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb0: PCI Configuration space: > 0x00: 0x69331217 0x04100007 0x06070002 0x00822000 > 0x10: 0x88000000 0x020000a0 0x20010100 0xfffff000 > 0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffd > 0x30: 0x00000001 0x0000fffd 0x00000001 0x04000109 > 0x40: 0x10e610cf 0x00000001 0x00000000 0x00000000 > 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x80: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x90: 0x0c0023bf 0x824203ea 0x10500000 0x00000000 > 0xa0: 0xfe020001 0x00c04000 0x00000000 0x00000000 > 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 > cbb1: irq 9 at device 19.1 on pci0 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > cbb1: PCI Configuration space: > 0x00: 0x69331217 0x04100007 0x06070002 0x00822000 > 0x10: 0x88001000 0x020000a0 0x20020200 0xfffff000 > 0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffd > 0x30: 0x00000001 0x0000fffd 0x00000001 0x04000209 > 0x40: 0x10e610cf 0x00000001 0x00000000 0x00000000 > 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x80: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x90: 0x0c0023bf 0x824203ea 0x10500000 0x00000000 > 0xa0: 0xfe020001 0x00c04000 0x00000000 0x00000000 > 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 > > pciconf: > cbb0@pci0:19:0: class=0x060700 card=0x10e610cf chip=0x69331217 rev=0x02 > hdr=0x02 > vendor = 'O2 Micro Inc' > device = 'OZ6933 CardBus Controller' > class = bridge > subclass = PCI-CardBus > cbb1@pci0:19:1: class=0x060700 card=0x10e610cf chip=0x69331217 rev=0x02 > hdr=0x02 > vendor = 'O2 Micro Inc' > device = 'OZ6933 CardBus Controller' > class = bridge > subclass = PCI-CardBus > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"