Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 10:01:45 +0100 (CET)
From:      Richard Arends <richard@unixguru.nl>
To:        current@FreeBSD.ORG
Subject:   Panic after sleep.
Message-ID:  <20030312095117.X80463@mail.unixguru.nl>

next in thread | raw e-mail | index | archive | help
Hello,

My laptop paniced when he tried coming back from a sleep. This happens a
few times a week.

[snowlap] /var/crash$ uname -a
FreeBSD snowlap.unixguru.nl 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Tue Mar 11
15:11:05 CET 2003 root@snowlap.unixguru.nl:/usr/obj/usr/src/sys/SNOWLAP
i386

Script started on Wed Mar 12 09:42:18 2003
snowlap# gdb -k kernel.11-03-2003 vmcore.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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 conditions.
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-undermydesk-freebsd"...
---
Uptime: 36m36s
Terminate ACPI
Rebooting...
Copyright (c) 1992-2003 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-CURRENT #1: Tue Mar 11 15:11:05 CET 2003
    root@snowlap.unixguru.nl:/usr/obj/usr/src/sys/SNOWLAP
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0568000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05680a8.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 797579512 Hz
CPU: Intel Pentium III (797.58-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 401997824 (383 MB)
avail memory = 384536576 (366 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <TOSHIB 750     > on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00f01c0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xee08-0xee0b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_tz0: <thermal zone> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> mem 0xf0000000-0xf3ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
fxp0: <Intel Pro/100 Ethernet> port 0xdf40-0xdf7f mem 0xf7dff000-0xf7dfffff irq 11 at device 8.0 on pci2
fxp0: Ethernet address 00:00:39:be:6a:32
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0: <TI1410 PCI-CardBus Bridge> at device 12.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib2: slot 12 INTA is routed to irq 11
cbb1: <ToPIC100 PCI-CardBus Bridge> at device 13.0 on pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pcib2: slot 13 INTA is routed to irq 11
cbb2: <ToPIC100 PCI-CardBus Bridge> at device 13.1 on pci2
cardbus2: <CardBus bus> on cbb2
pccard2: <16-bit PCCard bus> on cbb2
pcib2: slot 13 INTB is routed to irq 11
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port 0xcff0-0xcfff at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xcf80-0xcf9f irq 11 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> 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
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xcf60-0xcf7f irq 11 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcm0: <Intel 82801BA (ICH2)> port 0xcdc0-0xcdff,0xce00-0xceff irq 11 at device 31.5 on pci0
pcm0: <unknown ac97 codec> (id=0x594d4800)
pci0: <simple comms> at device 31.6 (no driver attached)
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
speaker0 port 0x61 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 IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
orm0: <Option ROMs> at iomem 0xe0000-0xeffff,0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
IP Filter: v3.4.31 initialized.  Default = block all, Logging = enabled
wi0: <WaveLAN/IEEE> at port 0x100-0x13f irq 11 function 0 config 1 on pccard0
wi0: 802.11 address: 00:02:2d:12:a7:92
wi0: using Lucent Embedded WaveLAN/IEEE
wi0: Lucent Firmware: Station (6.14.1)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ad0: 19077MB <TOSHIBA MK2016GAP> [38760/16/63] at ata0-master UDMA66
acd0: CD-RW <TOSHIBA DVD-ROM SD-R2002> at ata1-master PIO4
pcm0: measured ac97 link rate at 5976 Hz
Mounting root from ufs:/dev/ad0s1a
wi0: promiscuous mode enabled
wi0: promiscuous mode disabled
lo0: promiscuous mode enabled
lo0: promiscuous mode disabled
lo0: promiscuous mode enabled
lo0: promiscuous mode disabled
lock order reversal
 1st 0xc343114c wi (802.11 link layer) @ /usr/src/sys/net/if_ieee80211subr.c:239
 2nd 0xc04650a0 bpf global lock (bpf global lock) @ /usr/src/sys/net/bpf.c:1360
Stack backtrace:
wi0: detached
wakeup from sleeping state (slept 10:24:51)
ata0: resetting devices ..
system power profile changed to 'economy'
done
panic: ata_dmasetup: transfer active on this device!

syncing disks, buffers remaining... panic: bremfree: bp 0xcae09a38 not locked
Uptime: 2h56m45s
Dumping 383 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
239		dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
#1  0xc022e017 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:371
#2  0xc022e283 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#3  0xc026ff17 in bremfreel (bp=0xcae09a38) at /usr/src/sys/kern/vfs_bio.c:683
#4  0xc026fe85 in bremfree (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:670
#5  0xc0273458 in getblk (vp=0xc3443000, blkno=256128, size=16384, slpflag=0, slptimeo=0) at /usr/src/sys/kern/vfs_bio.c:2527
#6  0xc027004a in breadn (vp=0xc3443000, blkno=0, size=0, rablkno=0x0, rabsize=0x0, cnt=0, cred=0x0, bpp=0x0) at /usr/src/sys/kern/vfs_bio.c:741
#7  0xc026fffc in bread (vp=0x0, blkno=0, size=0, cred=0x0, bpp=0x0) at /usr/src/sys/kern/vfs_bio.c:723
#8  0xc030f473 in ffs_update (vp=0xc36c5000, waitfor=0) at /usr/src/sys/ufs/ffs/ffs_inode.c:102
#9  0xc032427f in ffs_fsync (ap=0xd79d7838) at /usr/src/sys/ufs/ffs/ffs_vnops.c:314
#10 0xc03232fe in ffs_sync (mp=0xc342d000, waitfor=2, cred=0xc11dce80, td=0xc0403200) at vnode_if.h:612
#11 0xc02852db in sync (td=0xc0403200, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:138
#12 0xc022dc1c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:280
#13 0xc022e283 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#14 0xc0150863 in ata_dmastart (atadev=0x0, data=0x0, count=0, dir=0) at /usr/src/sys/dev/ata/ata-dma.c:254
#15 0xc0151b31 in ad_transfer (request=0xc38dc640) at /usr/src/sys/dev/ata/ata-disk.c:494
#16 0xc0143719 in ata_start (ch=0xc32e4e00) at /usr/src/sys/dev/ata/ata-all.c:686
#17 0xc01443c7 in ata_reinit (ch=0xc32e4e00) at /usr/src/sys/dev/ata/ata-all.c:935
#18 0xc0142a11 in ata_resume (dev=0x0) at /usr/src/sys/dev/ata/ata-all.c:301
#19 0xc0243dcd in bus_generic_resume (dev=0x0) at device_if.h:75
#20 0xc0243dcd in bus_generic_resume (dev=0x0) at device_if.h:75
#21 0xc0243dcd in bus_generic_resume (dev=0x0) at device_if.h:75
#22 0xc054b3aa in ?? ()
#23 0xc0243dcd in bus_generic_resume (dev=0x0) at device_if.h:75
#24 0xc0243dcd in bus_generic_resume (dev=0x0) at device_if.h:75
#25 0xc0243dcd in bus_generic_resume (dev=0x0) at device_if.h:75
#26 0xc05455e9 in ?? ()
#27 0xc0545f45 in ?? ()
#28 0xc01f63ae in spec_ioctl (ap=0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:349
#29 0xc01f5af8 in spec_vnoperate (ap=0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:123
#30 0xc028d7b1 in vn_ioctl (fp=0xc37aa7bc, com=2147766275, data=0xd79d7c54, active_cred=0xc353a080, td=0xc36883c0) at vnode_if.h:488
#31 0xc0251f29 in ioctl (td=0xc36883c0, uap=0xd79d7d10) at file.h:251
#32 0xc037df0e in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 3, tf_esi = 3, tf_ebp = -1077937176, tf_isp = -677544588, tf_ebx = 3, tf_edx = 0, tf_ecx = -1077937076, tf_eax = 54, tf_trapno = 12, tf_err = 2, tf_eip = 671820323, tf_cs = 31, tf_eflags = 531, tf_esp = -1077937204, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1030
#33 0xc036dd7d in Xint0x80_syscall () at {standard input}:138
---Can't read userspace from dump, or kernel process---

(kgdb) quit
snowlap# ^Dexit

Script done on Wed Mar 12 09:45:02 2003

Regards,

Richard.

----
Paul Vixie in an interview with Sendmail.net:

Now that the Internet has the full spectrum of humanity as users,
the technology is showing its weakness: it was designed to be
used by friendly, smart people. Spammers, as an example of a class,
are neither friendly nor smart.

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?20030312095117.X80463>