Date: Sun, 2 Sep 2001 20:09:49 +0300 From: Giorgos Keramidas <charon@labs.gr> To: questions@freebsd.org Subject: panic in 5.0-current while resetting ata devices Message-ID: <20010902200949.A512@hades.hell.gr>
next in thread | raw e-mail | index | archive | help
--BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline A p5/133 machine that I have at home panic'ed while resetting ata devices this afternoon. The disk at /dev/ad0 sounded like it was going off, and after a couple of attempts to reset the ata devices, this panic happened. The dmesg and backtrace of the kernel that panic'ed are attached. I suspect a hardware failure, and not a freebsd bug here. Does this look like a dying disk to you too? In the mean-time me runs to backup his data on cdrom's once again, since if the disk is dying, it can practically die any time -- even before somebody else recognizes this as a hardware problem, and replies. -giorgos --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.verbose.log" Copyright (c) 1992-2001 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 #4: Wed Aug 29 15:02:52 EEST 2001 root@hades.hell.gr:/usr/obj/usr/src/sys/CHARON Calibrating clock(s) ... TSC clock: 132644396 Hz, i8254 clock: 1193298 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 132632462 Hz CPU: Pentium/P54C (132.63-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 33554432 (32768K bytes) Physical memory chunk(s): 0x00001000 - 0x0009ffff, 651264 bytes (159 pages) 0x003dd000 - 0x01ff5fff, 29462528 bytes (7193 pages) avail memory = 28938240 (28260K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fae50 bios32: Entry = 0xfb250 (c00fb250) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xb280 pnpbios: Found PnP BIOS data at 0xc00fbf80 pnpbios: Entry = f0000:bfa8 Rev = 1.0 Other BIOS signatures found: Preloaded elf kernel "kernel" at 0xc03b7000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03b70ac. Intel Pentium detected, installing workaround for F00F bug null: <null device, zero device> random: <entropy source> mem: <memory & I/O> VESA: information block 56 45 53 41 02 01 da 1b 00 c0 00 00 00 00 fa 1b 00 c0 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 VESA: 28 mode(s) found VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c1bfa (c0001bfa) VESA: S3 Incorporated. 86C325 pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=70308086) npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> at pcibus 0 on motherboard pci0: physical bus=0 found-> vendor=0x8086, dev=0x7030, revid=0x02 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 found-> vendor=0x8086, dev=0x7000, revid=0x01 bus=0, slot=7, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 map[20]: type 4, range 32, base 0000f000, size 4, enabled found-> vendor=0x8086, dev=0x7010, revid=0x00 bus=0, slot=7, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 map[10]: type 1, range 32, base e0000000, size 26, enabled found-> vendor=0x5333, dev=0x5631, revid=0x06 bus=0, slot=11, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 pci0: <PCI bus> on pcib0 isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe 00 00 ata0-slave: ATAPI probe 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA probe 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008 ata1: mask=03 ostat0=10 ostat2=00 ata1-master: ATAPI probe 14 eb ata1-slave: ATAPI probe 14 eb ata1: mask=03 stat0=10 stat1=00 ata1: devices=0c ata1: at 0x170 irq 15 on atapci0 pci0: <display, VGA> at 11.0 (no driver attached) ata-: ata0 already exists, using ata2 instead ata-: ata1 already exists, using ata3 instead Trying Read_Port at 203 Trying Read_Port at 243 CTL0031: start dependant CTL0031: adding irq mask 0x20 CTL0031: adding dma mask 0x2 CTL0031: adding dma mask 0x20 CTL0031: adding io range 0x220-0x22f, size=0x10, align=0x1 CTL0031: adding io range 0x330-0x331, size=0x2, align=0x1 CTL0031: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0031: start dependant CTL0031: adding irq mask 0x4a0 CTL0031: adding dma mask 0xb CTL0031: adding dma mask 0xe0 CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0031: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0031: start dependant CTL0031: adding irq mask 0x4a0 CTL0031: adding dma mask 0xb CTL0031: adding dma mask 0xe0 CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0031: start dependant CTL0031: adding irq mask 0x4a0 CTL0031: adding dma mask 0xb CTL0031: adding dma mask 0xe0 CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: start dependant CTL0031: adding irq mask 0x4a0 CTL0031: adding dma mask 0xb CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0031: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0031: start dependant CTL0031: adding irq mask 0x4a0 CTL0031: adding dma mask 0xb CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0031: start dependant CTL0031: adding irq mask 0xca0 CTL0031: adding dma mask 0xb CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: end dependant CTL2011: start dependant CTL2011: adding irq mask 0x400 CTL2011: adding io range 0x168-0x16f, size=0x8, align=0x1 CTL2011: adding io range 0x36e-0x36f, size=0x2, align=0x1 CTL2011: start dependant CTL2011: adding irq mask 0x800 CTL2011: adding io range 0x1e8-0x1ef, size=0x8, align=0x1 CTL2011: adding io range 0x3ee-0x3ef, size=0x2, align=0x1 CTL2011: start dependant CTL2011: adding irq mask 0x8c00 CTL2011: adding io range 0x180-0x1bf, size=0x8, align=0x8 CTL2011: adding io range 0x306-0x33f, size=0x2, align=0x8 CTL2011: start dependant CTL2011: adding irq mask 0x8000 CTL2011: adding io range 0x170-0x177, size=0x8, align=0x1 CTL2011: adding io range 0x376-0x376, size=0x1, align=0x1 CTL2011: end dependant CTL0051: adding io range 0x100-0x138, size=0x1, align=0x8 CTL7001: adding io range 0x200-0x207, size=0x8, align=0x1 pnpbios: 14 devices, largest 98 bytes PNP0000: adding irq mask 0x4 PNP0000: adding io range 0x20-0x21, size=0x2, align=0 PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0 PNP0000: end config pnpbios: handle 0 device ID PNP0000 (0000d041) PNP0200: adding dma mask 0x10 PNP0200: adding io range 0-0xf, size=0x10, align=0 PNP0200: adding io range 0x81-0x83, size=0x3, align=0 PNP0200: adding io range 0x87-0x87, size=0x1, align=0 PNP0200: adding io range 0x89-0x8b, size=0x3, align=0 PNP0200: adding io range 0x8f-0x91, size=0x3, align=0 PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0 PNP0200: end config pnpbios: handle 1 device ID PNP0200 (0002d041) PNP0100: adding irq mask 0x1 PNP0100: adding io range 0x40-0x43, size=0x4, align=0 PNP0100: end config pnpbios: handle 2 device ID PNP0100 (0001d041) PNP0b00: adding irq mask 0x100 PNP0b00: adding io range 0x70-0x71, size=0x2, align=0 PNP0b00: end config pnpbios: handle 3 device ID PNP0b00 (000bd041) PNP0303: adding irq mask 0x2 PNP0303: adding io range 0x60-0x60, size=0x1, align=0 PNP0303: adding io range 0x64-0x64, size=0x1, align=0 PNP0303: end config pnpbios: handle 4 device ID PNP0303 (0303d041) PNP0800: adding io range 0x61-0x61, size=0x1, align=0 PNP0800: end config pnpbios: handle 5 device ID PNP0800 (0008d041) PNP0c04: adding irq mask 0x2000 PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0 PNP0c04: end config pnpbios: handle 6 device ID PNP0c04 (040cd041) PNP0c01: adding fixed memory32 range 0xe0000-0xfffff, size=0x20000 PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000 PNP0c01: adding fixed memory32 range 0xfffe0000-0xffffffff, size=0x20000 PNP0c01: adding fixed memory32 range 0x100000-0x1ffffff, size=0x1f00000 PNP0c01: end config pnpbios: handle 7 device ID PNP0c01 (010cd041) PNP0a03: adding io range 0x4d0-0x4d1, size=0x2, align=0 PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0 PNP0a03: end config pnpbios: handle 8 device ID PNP0a03 (030ad041) PNP0c02: adding io range 0x208-0x20f, size=0x8, align=0 PNP0c02: end config pnpbios: handle 9 device ID PNP0c02 (020cd041) PNP0501: adding irq mask 0x10 PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0 PNP0501: end config pnpbios: handle 10 device ID PNP0501 (0105d041) PNP0700: adding dma mask 0x4 PNP0700: adding io range 0x3f2-0x3f2, size=0x1, align=0 PNP0700: adding io range 0x3f4-0x3f5, size=0x2, align=0 PNP0700: adding irq mask 0x40 PNP0700: end config pnpbios: handle 11 device ID PNP0700 (0007d041) PNP0401: adding dma mask 0x8 PNP0401: adding irq mask 0x80 PNP0401: adding io range 0x378-0x37f, size=0x8, align=0 PNP0401: adding io range 0x778-0x77a, size=0x3, align=0 PNP0401: end config pnpbios: handle 12 device ID PNP0401 (0104d041) PNP0501: adding irq mask 0x8 PNP0501: adding io range 0x2f8-0x2ff, size=0x8, align=0 PNP0501: end config pnpbios: handle 13 device ID PNP0501 (0105d041) sc-: sc0 already exists, using sc1 instead vga-: vga0 already exists, using vga1 instead isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 adv0 failed to probe on isa0 aha0 failed to probe on isa0 aic0 failed to probe on isa0 ata2 failed to probe at port 0x1f0 irq 14 on isa0 ata3 failed to probe at port 0x170 irq 15 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: current command byte:0047 psm0: failed to reset the aux device. bt0 failed to probe on isa0 cs0 failed to probe at port 0x300 on isa0 ed0 failed to probe at port 0x280 iomem 0xd8000 irq 10 on isa0 fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0 fe0 failed to probe at port 0x300 on isa0 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0 le0 failed to probe at port 0x300 iomem 0xd0000 irq 5 on isa0 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0 pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0 pcic1: not probed (disabled) pmtimer0 failed to probe on isa0 ppc0 failed to probe at irq 7 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0: irq maps: 0x21 0x31 0x21 0x21 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: irq maps: 0x21 0x29 0x21 0x21 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: not probed (disabled) sio3: not probed (disabled) sn0 failed to probe at port 0x300 irq 10 on isa0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x700ff fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff vt0 failed to probe on isa0 sc1: no video adapter found. sc1: <System console> failed to probe on isa0 vga1: <Generic ISA VGA> failed to probe on isa0 isa_probe_children: probing PnP devices sbc0: <Creative SB16/SB32> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 sbc0: setting card to irq 5, drq 1, 5 pcm0: <SB16 DSP 4.13> on sbc0 pcm: setmap 8e000, 1000; 0xc3dff000 -> 8e000 pcm: setmap 8f000, 1000; 0xc3e00000 -> 8f000 midi0: <SB Midi Interface> on sbc0 midi1: <SB OPL FM Synthesizer> on sbc0 ata4: iobase=0x0168 altiobase=0x036e bmaddr=0x0000 ata4: <Generic ESDI/IDE/ATA controller> at port 0x168-0x16f,0x36e-0x36f irq 10 on isa0 unknown: <StereoEnhance> failed to probe at port 0x100 on isa0 unknown: <Game> failed to probe at port 0x200-0x207 on isa0 unknown: <PNP0303> can't assign resources unknown: <PNP0303> at port 0x60 on isa0 unknown: <PNP0800> failed to probe at port 0x61 on isa0 unknown: <PNP0501> can't assign resources unknown: <PNP0501> at port 0x3f8-0x3ff on isa0 unknown: <PNP0700> failed to probe at port 0x3f2,0x3f4-0x3f5 irq 6 drq 2 on isa0 unknown: <PNP0401> failed to probe at port 0x378-0x37f,0x778-0x77a irq 7 drq 3 on isa0 unknown: <PNP0501> can't assign resources unknown: <PNP0501> at port 0x2f8-0x2ff on isa0 BIOS Geometries: 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: lo0 attached bpf: ppp0 attached bpf: ppp1 attached IP Filter: v3.4.20 initialized. Default = block all, Logging = enabled ata1-slave: ata_command: timeout waiting for intr ata1-slave: identify failed ad0: success setting WDMA2 on Intel chip Creating DISK ad0 ad0: <WDC WD450AA-00BAA0/10.09K11> ATA-4 disk at ata0-master ad0: 42934MB (87930864 sectors), 87233 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, WDMA2 ad0: piomode=4 dmamode=2 udmamode=4 cblid=1 ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata1-master: success setting PIO4 on generic chip acd0: <PCRW804/1.1> CD-RW drive at ata1 as master acd0: read 5515KB/s (4021KB/s) write 1377KB/s (1377KB/s), 2048KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA stream, packet acd0: Writes: CD-R, CD-RW, test write acd0: Audio: play, 2 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc, unlocked Mounting root from ufs:/dev/ad0s1a ad0s1: type 0xa5, start 63, end = 401624, size 401562 : OK ad0s2: type 0x6, start 401625, end = 4594589, size 4192965 : OK ad0s3: type 0xa5, start 4594590, end = 87923744, size 83329155 : OK WARNING: / was not properly dismounted start_init: trying /sbin/init splash: image decoder found: star_saver --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="panic.log" Script started on Sun Sep 2 19:59:51 2001 hades!root:[/var/crash]# gdb -k kernel.1 vmcore.1 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 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-unknown-freebsd"...(no debugging symbols found)... IdlePTD 4022272 initial pcb at 32ff80 panicstr: bremfree: bp 0xc188bba8 not locked panic messages: --- panic: free: address 0 out of range syncing disks... panic: bremfree: bp 0xc188bba8 not locked Uptime: 1d23h41m42s dumping to dev ad0s3b, offset 2031616 dump ata0: resetting devices .. done ad0: timeout waiting for DRQ - resetting ata0: resetting devices .. done 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 0xc01beea6 in dumpsys () (kgdb) bt #0 0xc01beea6 in dumpsys () #1 0xc01bec8c in boot () #2 0xc01bf0b5 in panic () #3 0xc01f214e in bremfree () #4 0xc01f4751 in getblk () #5 0xc0254c0b in ffs_sbupdate () #6 0xc02544d1 in ffs_sync () #7 0xc0201585 in sync () #8 0xc01be791 in boot () #9 0xc01bf0b5 in panic () #10 0xc01b605e in free () #11 0xc0130f78 in ata_reinit () #12 0xc0139957 in ad_transfer () #13 0xc013089a in ata_start () #14 0xc01310e7 in ata_reinit () #15 0xc0139957 in ad_transfer () #16 0xc013089a in ata_start () #17 0xc01310e7 in ata_reinit () #18 0xc0139957 in ad_transfer () #19 0xc013089a in ata_start () #20 0xc01310e7 in ata_reinit () #21 0xc0139957 in ad_transfer () #22 0xc013089a in ata_start () #23 0xc01307fe in ata_intr () #24 0xc01b0720 in ithread_loop () #25 0xc01af1ba in fork_exit () (kgdb) q hades!root:[/var/crash]# exit exit Script done on Sun Sep 2 20:00:19 2001 --BOKacYhQ+x31HxR3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010902200949.A512>