Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2002 14:21:03 +0200
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: Problems with DP1
Message-ID:  <20020522142103.A35455@energyhq.homeip.net>
In-Reply-To: <20020521152746.A32988@xor.obsecurity.org>; from kris@obsecurity.org on Tue, May 21, 2002 at 03:27:46PM -0700
References:  <20020521153334.A28241@energyhq.homeip.net> <20020521152746.A32988@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ithread_loop>, 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <SUPERM SUPERTBL> 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: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <PCI bus> on acpi_pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <mass storage, ATA> at device 7.1 (no driver attached)
pci0: <serial bus, USB> at device 7.2 (no driver attached)
Timecounter "PIIX"  frequency 3579545 Hz
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
ahc0: <Adaptec 19160B Ultra160 SCSI adapter> 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: <CS4280/CS4614/CS4622/CS4624/CS4630> mem 0xfea00000-0xfeafffff,0xfebf=
a000-0xfebfafff irq 15 at device 15.0 on pci0
csa: card is Unknown/invalid SSID (CS4614)
pcm0: <CS461x PCM Audio> 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: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <multimedia, video> at device 18.0 (no driver attached)
pci0: <multimedia> at device 18.1 (no driver attached)
pci0: <display, VGA> at device 20.0 (no driver attached)
acpi_button0: <Sleep Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> 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: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7=
,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Waiting 15 seconds for SCSI devices to settle
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM QM39100TD-SW N491> Fixed Direct Access SCSI-2 device=20
da0: 20.000MB/s transfers (20.000MHz, offset 31), Tagged Queueing Enabled
da0: 8683MB (17783250 512 byte sectors: 255H 63S/T 1106C)
da1 at ahc0 bus 0 target 4 lun 0
da1: <SEAGATE ST39236LW 0010> Fixed Direct Access SCSI-3 device=20
da1: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing E=
nabled
da1: 8761MB (17942584 512 byte sectors: 255H 63S/T 1116C)
cd0 at ahc0 bus 0 target 3 lun 0
cd0: <PLEXTOR CD-ROM PX-20TS 1.01> Removable CD-ROM SCSI-2 device=20
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: cd present [357474 x 2048 byte records]
Mounting root from ufs:/dev/da0s1a
SMP: AP CPU #1 Launched!
cd1 at ahc0 bus 0 target 6 lun 0
cd1: <YAMAHA CRW2100S 1.0H> Removable CD-ROM SCSI-2 device=20
cd1: 20.000MB/s transfers (20.000MHz, offset 7)
cd1: cd present [358112 x 2048 byte records]
WARNING: / was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: lost blocks 718 files 23
/usr: superblock summary recomputed

--7AUc2qLy4jB3hD7Z--

--xgyAXRrhYN0wYx8y
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE8640vnLctrNyFFPERAiMEAKCsi/TqgL6y9CuAeaMO9Z1IssvBCwCfWUzc
zx3sxhs+XcAHBv9kIht3I+o=
=wiAG
-----END PGP SIGNATURE-----

--xgyAXRrhYN0wYx8y--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020522142103.A35455>