From owner-freebsd-current Wed May 22 5:22:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by hub.freebsd.org (Postfix) with ESMTP id 4083B37B429 for ; Wed, 22 May 2002 05:21:15 -0700 (PDT) Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by energyhq.homeip.net (Postfix) with ESMTP id 1B0093FCAC; Wed, 22 May 2002 14:21:05 +0200 (CEST) Received: (from flynn@localhost) by energyhq.homeip.net (8.12.3/8.12.3/Submit) id g4MCL3mn035595; Wed, 22 May 2002 14:21:03 +0200 (CEST) Date: Wed, 22 May 2002 14:21:03 +0200 From: Miguel Mendez To: Kris Kennaway Cc: current@FreeBSD.ORG Subject: Re: Problems with DP1 Message-ID: <20020522142103.A35455@energyhq.homeip.net> Mail-Followup-To: Kris Kennaway , current@FreeBSD.ORG References: <20020521153334.A28241@energyhq.homeip.net> <20020521152746.A32988@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="xgyAXRrhYN0wYx8y" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020521152746.A32988@xor.obsecurity.org>; from kris@obsecurity.org on Tue, May 21, 2002 at 03:27:46PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --xgyAXRrhYN0wYx8y Content-Type: multipart/mixed; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 21, 2002 at 03:27:46PM -0700, Kris Kennaway wrote: Hi, > That's not actually where the panic is occurring (it's a second panic > caused by the kernel trying to sync disks after it panics the first > time). Please provide a full traceback so it can be investigated. I've attached both a backtrace and my dmesg. Is any extra info needed? Kernel was built from a modified GENERIC with SMP enabled, WITNESS and INVARIANTS disabled, and device pcm. The rest is off the shelf 5.0-DP1 stuff. Cheers, --=20 Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="trace.kajsa" Content-Transfer-Encoding: quoted-printable 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 condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... IdlePTD at phsyical address 0x00467000 initial pcb at physical address 0x00378b00 panicstr: bwrite: buffer is not busy??? panic messages: --- panic: setrunnable(2) cpuid =3D 1; lapic.id =3D 01000000 boot() called on cpu#1 syncing disks... panic: bwrite: buffer is not busy??? cpuid =3D 1; lapic.id =3D 01000000 boot() called on cpu#1 Uptime: 5h34m33s /dev/vmmon: Module vmmon: unloaded dumping to dev da1s1b, offset 131328 dump 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 30= 2 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 2= 83 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 = 264 263 262 261 260 259 258 257 256 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 22= 7 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 2= 08 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 15= 2 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 1= 33 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=20 --- #0 dumpsys () at ../../../kern/kern_shutdown.c:505 505 if (!dodump) (kgdb) bt #0 dumpsys () at ../../../kern/kern_shutdown.c:505 #1 0xc01d53a8 in boot (howto=3D260) at ../../../kern/kern_shutdown.c:337 #2 0xc01d5899 in panic (fmt=3D0xc030292b "bwrite: buffer is not busy???") at ../../../kern/kern_shutdown.c:647 #3 0xc020ade7 in bwrite (bp=3D0xc9323ae8) at ../../../kern/vfs_bio.c:747 #4 0xc020c1f6 in vfs_bio_awrite (bp=3D0xc9323ae8) at ../../../kern/vfs_bio= .c:1606 #5 0xc01ac878 in spec_fsync (ap=3D0xd0412ae8) at ../../../fs/specfs/spec_v= nops.c:403 #6 0xc01ac435 in spec_vnoperate (ap=3D0xd0412ae8) at ../../../fs/specfs/sp= ec_vnops.c:121 #7 0xc028a02c in ffs_sync (mp=3D0xc2cb5800, waitfor=3D2, cred=3D0xc102eb80= , td=3D0xc0344920) at vnode_if.h:441 #8 0xc02184a1 in sync (td=3D0xc0344920, uap=3D0x0) at ../../../kern/vfs_sy= scalls.c:669 #9 0xc01d4ff0 in boot (howto=3D256) at ../../../kern/kern_shutdown.c:246 #10 0xc01d5899 in panic (fmt=3D0xc02fed34 "setrunnable(2)") at ../../../kern/kern_shutdown.c:647 #11 0xc01dbde2 in setrunnable (td=3D0xd21952a0) at ../../../kern/kern_synch= .c:800 #12 0xc01d8547 in psignal (p=3D0xd21951a0, sig=3D23) at ../../../kern/kern_= sig.c:1517 #13 0xc01d9ac0 in pgsigio (sigio=3D0xc306b860, sig=3D23, checkctty=3D0) at ../../../kern/kern_sig.c:2095 #14 0xc02049f3 in sowakeup (so=3D0xd0593fa0, sb=3D0xd0593ff0) at ../../../kern/uipc_socket2.c:344 #15 0xc0235c99 in tcp_input (m=3D0xc1039100, off0=3D20) at ../../../netinet= /tcp_input.c:1028 #16 0xc0231700 in ip_input (m=3D0xc1039100) at ../../../netinet/ip_input.c:= 845 #17 0xc02317be in ipintr () at ../../../netinet/ip_input.c:870 #18 0xc01c64f4 in swi_net (dummy=3D0x0) at ../../../kern/kern_intr.c:644 #19 0xc01c6220 in ithread_loop (arg=3D0xc102e680) at ../../../kern/kern_int= r.c:533 #20 0xc01c5432 in fork_exit (callout=3D0xc01c607c , arg=3D0xc= 102e680,=20 frame=3D0xd0412d48) at ../../../kern/kern_fork.c:799 (kgdb)=20 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.kajsa" Content-Transfer-Encoding: quoted-printable Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-DP1 #0: Wed May 15 19:35:03 CEST 2002 root@kajsa.energyhq.tk:/usr/src/sys/i386/compile/KAJSA Preloaded elf kernel "/boot/kernel/kernel" at 0xc0448000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04480a8. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (551.25-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x673 Stepping =3D 3 Features=3D0x383fbff real memory =3D 335413248 (327552K bytes) avail memory =3D 321323008 (313792K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 15 IOAPIC #0 intpin 17 -> irq 5 IOAPIC #0 intpin 18 -> irq 10 IOAPIC #0 intpin 19 -> irq 11 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. ACPI timer looks BAD min =3D 2, max =3D 5, width =3D 4 ACPI timer looks GOOD min =3D 2, max =3D 4, width =3D 3 ACPI timer looks BAD min =3D 2, max =3D 5, width =3D 4 ACPI timer looks BAD min =3D 2, max =3D 5, width =3D 4 ACPI timer looks GOOD min =3D 2, max =3D 4, width =3D 3 ACPI timer looks BAD min =3D 2, max =3D 5, width =3D 4 ACPI timer looks BAD min =3D 2, max =3D 5, width =3D 4 ACPI timer looks GOOD min =3D 2, max =3D 4, width =3D 3 ACPI timer looks BAD min =3D 2, max =3D 5, width =3D 4 ACPI timer looks BAD min =3D 2, max =3D 5, width =3D 4 Timecounter "ACPI-safe" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at device 7.1 (no driver attached) pci0: at device 7.2 (no driver attached) Timecounter "PIIX" frequency 3579545 Hz pci0: at device 7.3 (no driver attached) ahc0: port 0xe800-0xe8ff mem 0xfebfb= 000-0xfebfbfff irq 10 at device 13.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/255 SCBs csa0: mem 0xfea00000-0xfeafffff,0xfebf= a000-0xfebfafff irq 15 at device 15.0 on pci0 csa: card is Unknown/invalid SSID (CS4614) pcm0: on csa0 xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xef00-0xef3f irq 5 at device 1= 6.0 on pci0 xl0: Ethernet address: 00:10:4b:3d:e2:56 miibus0: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 18.0 (no driver attached) pci0: at device 18.1 (no driver attached) pci0: at device 20.0 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: direction bit not set fdc0: cmd 3 failed at out byte 1 of 3 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: direction bit not set fdc0: cmd 3 failed at out byte 1 of 3 orm0: