My current box still got panic after ATAng

From: Shin-ichi Yoshimoto <yosimoto_at_waishi.jp>
Date: Tue, 9 Sep 2003 07:40:55 +0900
My recent kernel still got the panic when I tried to do CVSup.

# cvsup -g -z -L 2 /home/yosimoto/mk/daemon-supfile 2>&1 | tee /var/tmp/log/cvsup.`date "+%m%d.%H.%M.%S"`;
Parsing supfile "/home/yosimoto/mk/daemon-supfile"
Connecting to cvsup.jp.FreeBSD.org
Connected to cvsup.jp.FreeBSD.org
Server software version: SNAP_16_1f
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
ata2: spurious interrupt - status=0x50 error=0x00 reason=0x00
Updating collection cvs-all/cvs
 Append to CVSROOT-ports/commitlogs/ports
/home: bad dir ino 7843753 at offset 0: mangled entry
panic: ufs_dirbad: bad dir
cpuid = 0; lapic.id = 00000000
Debugger("panic")
Stopped at      Debugger+0x4f:  xchgl   %ebx,in_Debugger.0
db> t
Debugger(c0367b19,0,c03717da,e786f9cc,100) at Debugger+0x4f
panic(c03717da,c64454b0,77afa9,0,c0371794) at panic+0x153
ufs_dirbad(c72d49d8,0,c0371794,0,e786fa48) at ufs_dirbad+0x53
ufs_lookup(e786fb08,e786fb44,c0247f48,e786fb08,e786fc3c) at ufs_lookup+0x416
ufs_vnoperate(e786fb08,e786fc3c,e786fc50,0,c648fe40) at ufs_vnoperate+0x18
vfs_cache_lookup(e786fb88,e786fba4,c024cf5f,e786fb88,c648fe40) at vfs_cache_lookup+0x2d8
ufs_vnoperate(e786fb88,c648fe40,0,c648fe40,c648fe40) at ufs_vnoperate+0x18
lookup(e786fc28,c67ee800,400,e786fc44,c648fe40) at lookup+0x2e0
namei(e786fc28,81d8ac4,60,0,c648fe40) at namei+0x208
lstat(c648fe40,e786fd14,8,0,2) at lstat+0x52
syscall(bfbf002f,bfbf002f,81d002f,bfbffab8,bfbffad4) at syscall+0x289
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (190, FreeBSD ELF32, lstat), eip = 0x28192507, esp = 0x81d89c0, ebp = 0x81d8a5c ---
db> 


# dmesg 
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.1-CURRENT #56: Tue Sep  9 06:42:00 JST 2003
    yosimoto_at_daemon.kek.jp:/usr/obj/usr/src/sys/DAEMON
Preloaded elf kernel "/boot/kernel/kernel" at 0xc051e000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc051e244.
Preloaded elf module "/boot/kernel/ipfw.ko" at 0xc051e2f0.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc051e39c.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc051e448.
Preloaded elf module "/boot/kernel/radeon.ko" at 0xc051e4f4.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc051e5a0.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.51-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 1072889856 (1023 MB)
avail memory = 1036816384 (988 MB)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec00000
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <INTEL  D865PERL> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00f3310
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 19 -> irq 16
IOAPIC #0 intpin 18 -> irq 17
IOAPIC #0 intpin 23 -> irq 18
IOAPIC #0 intpin 17 -> irq 19
agp0: <Intel 82865 host to AGP bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
drm0: <ATI Radeon If R250 9000> port 0xa800-0xa8ff mem 0xff7f0000-0xff7fffff,0xf0000000-0xf3ffffff irq 2 at device 0.0 on pci1
info: [drm] AGP at 0xf8000000 64MB
info: [drm] Initialized radeon 1.9.0 20020828 on minor 0
pci1: <display> at device 0.1 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.16> port 0xbc00-0xbc1f mem 0xff8e0000-0xff8fffff irq 17 at device 1.0 on pci2
em0:  Speed:N/A  Duplex:N/A
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xcc00-0xcc1f irq 2 at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) 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 82801EB (ICH5) USB controller USB-B> port 0xd000-0xd01f irq 16 at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) 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
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xd400-0xd41f irq 17 at device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd800-0xd81f irq 2 at device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xffaffc00-0xffafffff irq 18 at device 29.7 on pci0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <EHCI (generic) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: (0x8086) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
fwohci0: <Lucent FW322/323> mem 0xff9ff000-0xff9fffff irq 19 at device 7.0 on pci3
fwohci0: [MPSAFE]
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channel is 8.
fwohci0: EUI64 00:07:e9:00:00:70:f9:c4
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP2/SCSI over firewire> on firewire0
if_fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:07:e9:70:f9:c4
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 irq 17 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
atapci1: <Intel ICH5 SATA150 controller> port 0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 irq 17 at device 31.2 on pci0
atapci1: [MPSAFE]
ata2: at 0xec00 on atapci1
ata2: [MPSAFE]
ata3: at 0xe400 on atapci1
ata3: [MPSAFE]
ichsmb0: <Intel 82801EB (ICH5) SMBus controller> port 0xc800-0xc81f irq 19 at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus generic I/O> on smbus0
pcm0: <Intel ICH5 (82801EB)> mem 0xffaff400-0xffaff4ff,0xffaff800-0xffaff9ff irq 19 at device 31.5 on pci0
pcm0: <Analog Devices AD1985 AC97 Codec>
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 IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <Option ROM> at iomem 0xc0000-0xcafff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
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
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2

Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging limited to 5000 packets/entry by default
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acd0: DVDR <MATSHITADVD-RAM LF-D521> at ata1-master UDMA66
em0: Link is up 100 Mbps Full Duplex
GEOM: create disk ad4 dp=0xc62faa70
ad4: 239372MB <Maxtor 7Y250M0> [486344/16/63] at ata2-master UDMA133
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad4s1a
em0: Link is up 100 Mbps Full Duplex
Accounting enabled


-- 
Shin-ichi YOSHIMOTO <yosimoto_at_waishi.jp>
http://diary.waishi.jp/~yosimoto/diary/
Received on Mon Sep 08 2003 - 13:41:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC