From owner-freebsd-bugs Tue Dec 28 4:20:12 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 85A6215435 for ; Tue, 28 Dec 1999 04:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA27956; Tue, 28 Dec 1999 04:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from florence.pavilion.net (florence.pavilion.net [212.74.0.25]) by hub.freebsd.org (Postfix) with ESMTP id 024F914F84 for ; Tue, 28 Dec 1999 04:12:41 -0800 (PST) (envelope-from joe@genius.systems.pavilion.net) Received: from genius.systems.pavilion.net (genesis.tao.org.uk [194.242.131.254]) by florence.pavilion.net (8.9.3/8.8.8) with ESMTP id MAA05149 for ; Tue, 28 Dec 1999 12:11:50 GMT (envelope-from joe@genius.systems.pavilion.net) Received: by genius.systems.pavilion.net (Postfix, from userid 100) id 490D918F; Tue, 28 Dec 1999 12:12:23 +0000 (GMT) Message-Id: <19991228121223.490D918F@genius.systems.pavilion.net> Date: Tue, 28 Dec 1999 12:12:23 +0000 (GMT) From: joe@pavilion.net Reply-To: joe@pavilion.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15742: Laptop -current panics in in6_ifattach after suspend Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15742 >Category: kern >Synopsis: Laptop -current panics in in6_ifattach after suspend >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 28 04:20:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Joe Karthauser >Release: FreeBSD 4.0-CURRENT i386 >Organization: Pavilion Internet plc >Environment: Vaio-F290 laptop with 3com pccard ethernet card. See below for dmesg and kernel config. Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #27: Thu Dec 23 20:30:52 GMT 1999 root@genius.systems.pavilion.net:/usr/src/sys/compile/GENIUS Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Celeron (397.90-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66d Stepping = 13 Features=0x183f9ff real memory = 201261056 (196544K bytes) avail memory = 191934464 (187436K bytes) Preloaded elf kernel "kernel" at 0xc029f000. Pentium Pro MTRR support enabled 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 isab0: at device 7.0 on pci0 isa0: on isab0 ata-pci0: at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086, dev=0x7112) at 7.2 chip1: at device 7.3 on pci0 vga-pci0: irq 9 at device 8.0 on pci0 pci0: unknown card (vendor=0x10c8, dev=0x8005) at 8.1 irq 9 chip2: at device 9.0 on pci0 pcic-pci0: at device 10.0 on pci0 pcic-pci1: at device 10.1 on pci0 fdc0: at port 0x3f0-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-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> pcic0: at irq 10 on isa0 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 flags 0x40 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus 0 lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 ad0: ATA-4 disk at ata0 as master ad0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, UDMA33 acd0: DVD-ROM drive at ata1 as master acd0: read 4134KB/s (4134KB/s), 128KB buffer, UDMA33 acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked pccard: card inserted, slot 1 ata_command: timeout waiting for interrupt machine i386 cpu I586_CPU cpu I686_CPU ident GENIUS maxusers 128 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options DDB options INET #InterNETworking options INET6 options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options KTRACE #ktrace(1) syscall trace support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options SOFTUPDATES controller isa0 controller pci0 # Floppy drives controller fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices controller ata0 device atadisk0 # ATA disk drives device atapicd0 # ATAPI CDROM drives options ATA_ENABLE_ATAPI_DMA # atkbdc0 controls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? options SC_HISTORY_SIZE=2000 # number of history buffer lines # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? # PCCARD (PCMCIA) support controller card0 device pcic0 at isa? irq 10 device pcic1 at isa? # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 #device sio1 at isa? port IO_COM2 #device sio2 at isa? port IO_COM3 #device sio3 at isa? port IO_COM4 # Parallel port device ppc0 at isa? port? flags 0x40 irq 7 controller ppbus0 # Parallel port bus (required) device lpt0 # Printer device plip0 # TCP/IP over parallel device ppi0 # Parallel port interface device #controller vpo0 # Requires scbus and da0 # Ethernet NICs. device ep0 # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device gzip # Exec gzipped a.out's # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter >Description: After waking up my machine after a APM snooze (zzz) it often drops into kernel debug mode. Here's a backtrace: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x38626bb1 fault code = supervisor read, page not present instruction pointer = 0x8:0xc018f104 stack pointer = 0x10:0xcc013d4c frame pointer = 0x10:0xcc013ddc code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 8099 (ifconfig) interrupt mask = net panic: from debugger panic: from debugger Uptime: 21h15m15s dumping to dev #ad/0x30001, offset 141856 dump ata0: resetting devices .. done 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 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 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 boot (howto=260) at ../../kern/kern_shutdown.c:303 303 dumppcb.pcb_cr3 = rcr3(); (kgdb) bt #0 boot (howto=260) at ../../kern/kern_shutdown.c:303 #1 0xc013a169 in panic (fmt=0xc01fff74 "from debugger") at ../../kern/kern_shutdown.c:553 #2 0xc011bc89 in db_panic (addr=-1072107260, have_addr=0, count=-1, modif=0xcc013bbc "") at ../../ddb/db_command.c:433 #3 0xc011bc29 in db_command (last_cmdp=0xc0227b78, cmd_table=0xc02279d8, aux_cmd_tablep=0xc0240698) at ../../ddb/db_command.c:333 #4 0xc011bcee in db_command_loop () at ../../ddb/db_command.c:455 #5 0xc011dd7f in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 #6 0xc01e0ab3 in kdb_trap (type=12, code=0, regs=0xcc013d0c) at ../../i386/i386/db_interface.c:157 #7 0xc01ecd14 in trap_fatal (frame=0xcc013d0c, eva=945974193) at ../../i386/i386/trap.c:903 #8 0xc01ec9ed in trap_pfault (frame=0xcc013d0c, usermode=0, eva=945974193) at ../../i386/i386/trap.c:801 #9 0xc01ec593 in trap (frame={tf_fs = -1071513584, tf_es = -1064108016, tf_ds = -1072496624, tf_edi = -1056696832, tf_esi = -1051426260, tf_ebp = -872333860, tf_isp = -872334024, tf_ebx = -1051426304, tf_edx = 945974033, tf_ecx = -1056696816, tf_eax = -1057219072, tf_trapno = 12, tf_err = 0, tf_eip = -1072107260, tf_cs = 8, tf_eflags = 66054, tf_esp = -1051426304, tf_ss = -1051426260}) at ../../i386/i386/trap.c:425 #10 0xc018f104 in in6_ifattach (ifp=0xc133cc00, type=3, laddr=0xc1548237 "", noloop=0) at ../../netinet6/in6_ifattach.c:384 #11 0xc018e246 in in6_if_up (ifp=0xc133cc00) at ../../netinet6/in6.c:1781 #12 0xc01754c9 in if_route (ifp=0xc133cc00, flag=1, fam=0) at ../../net/if.c:585 #13 0xc01754f7 in if_up (ifp=0xc133cc00) at ../../net/if.c:612 #14 0xc0175868 in ifioctl (so=0xcac0b600, cmd=2149607696, data=0xcc013ebc "ep0", p=0xcbfe1080) at ../../net/if.c:791 #15 0xc014a492 in soo_ioctl (fp=0xc133d2c0, cmd=2149607696, data=0xcc013ebc "ep0", p=0xcbfe1080) at ../../kern/sys_socket.c:140 #16 0xc0147697 in ioctl (p=0xcbfe1080, uap=0xcc013f80) at ../../sys/file.h:171 #17 0xc01ecf72 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 6, tf_esi = 1, tf_ebp = -1077937152, tf_isp = -872333356, tf_ebx = -1077937184, tf_edx = 0, tf_ecx = -1077937168, tf_eax = 54, tf_trapno = 12, tf_err = 2, tf_eip = 134527484, tf_cs = 31, tf_eflags = 659, tf_esp = -1077937228, tf_ss = 47}) at ../../i386/i386/trap.c:1057 #18 0xc01e13b6 in Xint0x80_syscall () #19 0x8048816 in ?? () #20 0x8048665 in ?? () #21 0x80480f9 in ?? () (kgdb) >How-To-Repeat: Suspend the machine, and then wake it up. After the ethernet card gets bound by pccard, the machine drops into kernel debug. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message