Hi, I can reliably reproduce a panic in the isa serial com port driver, but cannot recover the dumped core -> savecore: no core dump. The serial console log is attached below. What else can I try?
Christopher ddb> show registers ds 0x10 es 0x10 fs 0x20 gs 0 edi 0x3f8 esi 0xd18500ac end+0xb280ac ebp 0xf35e96fc ebx 0xd184c0f9 end+0xb240f9 edx 0xd184c000 end+0xb24000 ecx 0xd0b77634 i386_bus_space_io_ops eax 0xc7ff0100 eip 0xd060ae74 db_enter+0x4 cs 0x50 eflags 0x200202 start_phys+0x12e esp 0xf35e96fc ss 0x10 db_enter+0x4: popl %ebp ddb> trace db_enter() at db_enter+0x4 comintr(d184c000) at comintr+0x14e intr_handler(f35e9748,d184b0c0) at intr_handler+0x13 Xintr_legacy4() at Xintr_legacy4+0x7c --- interrupt --- cpu_idle_cycle(d0c92900) at cpu_idle_cycle+0xf ddb> boot crash dumping to dev 1, offset 519945 dump 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 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 succeeded rebooting... PC Engines ALIX.2 v0.99h 640 KB Base Memory 261120 KB Extended Memory 01F0 Master 848A SDCFHS-016G Phys C/H/S 31045/16/63 Log C/H/S 1947/255/63 LBA Using drive 0, partition 3. Loading...... probing: pc0 com0 com1 pci mem[640K 255M a20=on] disk: hd0+ >> OpenBSD/i386 BOOT 3.31 switching console to com0 >> OpenBSD/i386 BOOT 3.31 boot> booting hd0a:/bsd: 8156968+2282500+163320+0+1097728 [674684+82+489520+501323]=0xcc0c10 entry point at 0x2000d4 [ using 1666064 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2017 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 6.2-stable (GENERIC) #3: Sun Nov 26 09:30:31 CET 2017 madroach@localhost:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW real mem = 267931648 (255MB) avail mem = 248762368 (237MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 11/05/08, BIOS32 rev. 0 @ 0xfd088 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xe0000/0xa800 cpu0 at mainbus0: (uniprocessor) mtrr: K6-family MTRR support (2 registers) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33 glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, address 00:0d:b9:24:60:40 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 00:0d:b9:24:60:41 ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15, address 00:0d:b9:24:60:42 ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 athn0 at pci0 dev 12 function 0 "Atheros AR9280" rev 0x01: irq 9 athn0: AR9280 rev 2 (2T2R), ROM rev 21, address 00:1b:b1:f2:f4:6d glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579545Hz timer, watchdog, gpio, i2c gpio0 at glxpcib0: 32 pins iic0 at glxpcib0 maxtmp0 at iic0 addr 0x4c: lm86 pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <SDCFHS-016G> wd0: 1-sector PIO, LBA48, 15279MB, 31293360 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 pciide0: channel 1 ignored (disabled) ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, version 1.0, legacy support ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 isa0 at glxpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 addr 1 nvram: invalid checksum vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on wd0a (4ce47712c801b188.a) swap on wd0b dump on wd0b WARNING: / was not properly unmounted clock: unknown CMOS layout Automatic boot in progress: starting file system checks. /dev/wd0a (4ce47712c801b188.a): 1796 files, 34382 used, 95449 free (57 frags, 11924 blocks, 0.0% fragmentation) /dev/wd0a (4ce47712c801b188.a): MARKING FILE SYSTEM CLEAN /dev/wd0d (4ce47712c801b188.d): 23649 files, 391016 used, 121247 free (1983 frags, 14908 blocks, 0.4% fragmentation) /dev/wd0d (4ce47712c801b188.d): MARKING FILE SYSTEM CLEAN /dev/wd0e (4ce47712c801b188.e): 3964 files, 37499 used, 474764 free (108 frags, 59332 blocks, 0.0% fragmentation) /dev/wd0e (4ce47712c801b188.e): MARKING FILE SYSTEM CLEAN /dev/wd0f (4ce47712c801b188.f): LINK COUNT DIR I=103950 OWNER=root MODE=40711 /dev/wd0f: SIZE=512 MTIME=Nov 26 10:40 2017 COUNT 10 SHOULD BE 8 (ADJUSTED) /dev/wd0f (4ce47712c801b188.f): 660 files, 3585 used, 508678 free (222 frags, 63557 blocks, 0.0% fragmentation) /dev/wd0f (4ce47712c801b188.f): MARKING FILE SYSTEM CLEAN /dev/wd0h (4ce47712c801b188.h): 799 files, 4416 used, 507847 free (39 frags, 63476 blocks, 0.0% fragmentation) /dev/wd0h (4ce47712c801b188.h): MARKING FILE SYSTEM CLEAN setting tty flags pf enabled ddb.console: 0 -> 1 net.inet.ip.forwarding: 0 -> 1 net.inet6.ip6.forwarding: 0 -> 1 net.inet.carp.allow: 1 -> 1 net.inet.carp.preempt: 0 -> 1 net.inet.esp.enable: 1 -> 1 net.inet.ah.enable: 1 -> 1 net.inet.esp.udpencap: 1 -> 1 starting network reordering libraries:carp65: state transition: BACKUP -> MASTER done. starting early daemons: syslogd pflogd unbound ntpd. starting RPC daemons:. savecore: no core dump acpidump: Can't find ACPI information checking quotas: done. clearing /tmp initializing status LEDs: gpio. kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd dhcpd smtpd ftpproxy tftpd identd inetd spamd spamlogd. starting local daemons: cron. Sun Nov 26 11:52:41 CET 2017 OpenBSD/i386 (XXX) (tty00) login: root Password: Last login: Sun Nov 26 11:40:48 on tty00 OpenBSD 6.2-stable (GENERIC) #3: Sun Nov 26 09:30:31 CET 2017 Welcome to OpenBSD: The proactively secure Unix-like operating system. Please use the sendbug(1) utility to report bugs in the system. Before reporting a bug, please try to reproduce it with the latest version of the code. With bug reports, please try to ensure that enough information to reproduce the problem is enclosed, and if a known fix for it exists, include that as well. You have mail. # swapctl -d /dev/wd0b # swapctl swapctl: no swap devices configured # ls /var/ account backups cron ftp mail run syspatch www audit cache db games nsd spool tmp yp authpf crash empty log quotas sysmerge unbound # ls /var/crash minfree # cat /var/crash/minfree 4096 # savecore /var/crash savecore: /bsd: kvm_openfiles: /dev/mem: Operation not permitted -- http://gmerlin.de OpenPGP: http://gmerlin.de/christopher.pub 2779 7F73 44FD 0736 B67A C410 69EC 7922 34B4 2566 -- http://gmerlin.de OpenPGP: http://gmerlin.de/christopher.pub 2779 7F73 44FD 0736 B67A C410 69EC 7922 34B4 2566
pgpmAPV6CL_sf.pgp
Description: OpenPGP digital signature