From owner-freebsd-mobile Fri Jun 2 14:55: 6 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id 0748837B8A7 for ; Fri, 2 Jun 2000 14:54:58 -0700 (PDT) (envelope-from darrylo@sr.hp.com) Received: from mina.sr.hp.com (mina.sr.hp.com [15.4.42.247]) by palrel3.hp.com (Postfix) with ESMTP id D448054B0 for ; Fri, 2 Jun 2000 14:02:42 -0700 (PDT) Received: from localhost (darrylo@localhost [127.0.0.1]) by mina.sr.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.0) with ESMTP id OAA06110 for ; Fri, 2 Jun 2000 14:02:28 -0700 (PDT) Message-Id: <200006022102.OAA06110@mina.sr.hp.com> To: freebsd-mobile@freebsd.org Subject: Panic w/compact flash PCMCIA Reply-To: Darryl Okahata Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: Fri, 02 Jun 2000 14:02:28 PDT From: Darryl Okahata Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ I'm not sure if this should go to -mobile or -stable. ] Hi, I'm seeing frequent panics when I eject a PCMCIA card and insert a compact flash PCMCIA card. Should I send-pr this, or is posting info here enough? See below for info. This is on FreeBSD 4.0-STABLE, as of June 1, 2000 (cvsup'd around 3AM, PST). The panic occurred when I ejected my lan card and inserted the compact flash one. It also occurs if I eject a compact flash and replace it with another one. There seems to be a fairly high probability of a panic whenever I eject a card and insert a compact flash one. Another bug is that, once a panic occurs, the PCMCIA slots are unable to detect removal/insertion of cards. If a card is present at bootup, it's recognized; however, removal/insertion is no longer detected. I have to boot into Windows 98 and back to get the slots to be fully functional (I haven't tried powering down, though). =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Script started on Fri Jun 2 13:27:26 2000 # gdb -k GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you = are welcome to change it and/or distribute copies of it under certain conditi= ons. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for detail= s. This GDB was configured as "i386-unknown-freebsd". (kgdb) exec-file /var/crash/kernel.0 (kgdb) core-file /var/crash/vmcore.0 Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #0: Thu Jun 1 14:03:43 PDT 2000 darrylo@zotz:/misc/usr/src.current/sys/compile/lappy Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (466.67-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x66a Stepping =3D 10 Features=3D0x183f9ff real memory =3D 134152192 (131008K bytes) avail memory =3D 127033344 (124056K bytes) Preloaded elf kernel "kernel" at 0xc0353000. VESA: v2.0, 8128k memory, flags:0x0, mode table:0xc02f4622 (1000022) VESA: ATI MACH64 Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci= 0 pci1: on pcib1 pci1: at 0.0 irq 11 pcic-pci0: at device 4.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save]= [FUNC pci int + CSC serial isa irq] pcic-pci1: at device 4.1 on pci0 pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save]= [FUNC pci int + CSC serial isa irq] isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1050-0x105f at device 7.1 = on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1060-0x107f irq 5= at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: port 0x1040-0x104f at = device 7.3 on pci0 chip2: port 0x1400-0x14ff ir= q 5 at device 8.0 on pci0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0= fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0= sc0: on isa0 sc0: VGA <16 virtual consoles, flags=3D0x200> pcic0: at port 0x3e0 iomem 0xd0000 irq 10 on isa0 pcic0: management irq 10 pccard0: on pcic0 pccard1: on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/7 bytes threshold ppi0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port plip0: on ppbus0 IP packet filtering initialized, divert enabled, rule-based forwarding di= sabled, default to deny, logging disabled ad0: 24207MB [49184/16/63] at ata0-master using UDMA33 acd0: DVD-ROM at ata1-master using UDMA33 Mounting root from ufs:/dev/ad0s2a pccard: card inserted, slot 0 WARNING: / was not properly dismounted ata4 at port 0x240-0x24f irq 3 slot 0 on pccard0 ad8: 15MB <> [61/16/32] at ata4-master using BIOSPIO ad9: 15MB <> [61/16/32] at ata4-slave using BIOSPIO ata4: detached pccard: card removed, slot 0 pccard: card inserted, slot 0 ata4 at port 0x240-0x24f irq 3 slot 0 on pccard0 ad8: 15MB [490/2/32] at ata4-master using BIOSPIO Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x28 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc015f8a2 stack pointer =3D 0x10:0xc90c78f8 frame pointer =3D 0x10:0xc90c7910 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 341 (mount_msdos) interrupt mask =3D none trap number =3D 12 panic: page fault syncing disks... 17 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 = giving up on 1 buffers Uptime: 7m26s dumping to dev #ad/0x30001, offset 782464 dump ata0: resetting devices .. done 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 1= 09 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 8= 8 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64= 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 = 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 1= 5 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 = --- #0 boot (howto=3D256) at ../../kern/kern_shutdown.c:302 302 dumppcb.pcb_cr3 =3D rcr3(); (kgdb) where #0 boot (howto=3D256) at ../../kern/kern_shutdown.c:302 #1 0xc01567dd in panic (fmt=3D0xc02af92f "page fault") at ../../kern/kern_shutdown.c:552 #2 0xc02696ee in trap_fatal (frame=3D0xc90c78b8, eva=3D40) at ../../i386/i386/trap.c:927 #3 0xc02693a1 in trap_pfault (frame=3D0xc90c78b8, usermode=3D0, eva=3D40= ) at ../../i386/i386/trap.c:820 #4 0xc0268f2f in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D 16= , tf_edi =3D 0, = tf_esi =3D -1060387628, tf_ebp =3D -921929456, tf_isp =3D -92192950= 0, = tf_ebx =3D 1, tf_edx =3D 0, tf_ecx =3D -1017921720, tf_eax =3D 28, = tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1072301918, tf_cs =3D 8= , = tf_eflags =3D 66118, tf_esp =3D -1060649984, tf_ss =3D -1060649984}= ) at ../../i386/i386/trap.c:426 #5 0xc015f8a2 in dscheck (bp=3D0xc353bf48, ssp=3D0x0) at ../../kern/subr_diskslice.c:171 #6 0xc015f615 in diskstrategy (bp=3D0xc353bf48) at ../../kern/subr_disk.= c:199 #7 0xc0215f53 in readdisklabel (dev=3D0xc0c7c400, lp=3D0xc0d1c400) at ../../ufs/ufs/ufs_disksubr.c:185 #8 0xc0160560 in dsopen (dev=3D0xc0c7c100, mode=3D8192, flags=3D0, sspp=3D= 0xc0c628e4, = lp=3D0xc0c628e8) at ../../kern/subr_diskslice.c:755 #9 0xc015f4d7 in diskopen (dev=3D0xc0c7c100, oflags=3D3, devtype=3D8192,= = p=3D0xc907b740) at ../../kern/subr_disk.c:146 #10 0xc018c2a9 in spec_open (ap=3D0xc90c7a34) at ../../miscfs/specfs/spec_vnops.c:191 #11 0xc018c1a9 in spec_vnoperate (ap=3D0xc90c7a34) at ../../miscfs/specfs/spec_vnops.c:117 #12 0xc021b6b9 in ufs_vnoperatespec (ap=3D0xc90c7a34) at ../../ufs/ufs/ufs_vnops.c:2303 #13 0xc0190e13 in mountmsdosfs (devvp=3D0xc90ee500, mp=3D0xc0d1c800, p=3D= 0xc907b740, = argp=3D0xc90c7a9c) at vnode_if.h:189 #14 0xc0190beb in msdosfs_mount (mp=3D0xc0d1c800, path=3D0xbfbff36c "/pcc= ard", = data=3D0xbfbff7cc "\202=FC=BF=BF", ndp=3D0xc90c7e84, p=3D0xc907b740) at ../../msdosfs/msdosfs_vfsops.c:328 #15 0xc0181d07 in mount (p=3D0xc907b740, uap=3D0xc90c7f80) at ../../kern/vfs_syscalls.c:304 #16 0xc02699a1 in syscall2 (frame=3D{tf_fs =3D 47, tf_es =3D 47, tf_ds =3D= 47, = tf_edi =3D 0, tf_esi =3D -1077937248, tf_ebp =3D -1077937332, = tf_isp =3D -921927724, tf_ebx =3D -1077937022, tf_edx =3D 0, tf_ecx= =3D 0, = tf_eax =3D 21, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 134529356= , tf_cs =3D 31, = tf_eflags =3D 582, tf_esp =3D -1077939440, tf_ss =3D 47}) at ../../i386/i386/trap.c:1126 #17 0xc025a8a6 in Xint0x80_syscall () #18 0x80480f9 in ?? () (kgdb) quit # exit Script done on Fri Jun 2 13:28:11 2000 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D -- Darryl Okahata darrylo@soco.agilent.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message