panic: spec_specstrategy(0x3c41a000 != 0xc3419db0)

From: John Polstra <jdp_at_polstra.com>
Date: Mon, 16 Jun 2003 09:03:57 -0700 (PDT)
With a -current kernel from yesterday's sources (June 15) I get a consistent
panic on boot.  It happens when trying to mount root:

  Mounting root from ufs:/dev/da0s1a
  panic: spec_specstrategy(0xc341a000 != 0xc3419db0)

This problem did not occur with a kernel from the previous day (June 14).

Here's the stack trace, copied by hand:

  panic
  spec_specstrategy
  ufs_strategy
  ufs_vnoperate
  breadn
  bread
  ffs_blkatoff
  ufs_lookup
  ufs_vnoperate
  vfs_cache_lookup
  ufs_vnoperate
  lookup
  namei
  kern_mkdir
  start_init
  fork_exit
  fork_trampoline

On request, I'll hook up a serial console and get more information.

Here's the dmesg output from the working kernel:

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 #1: Sat Jun 14 11:51:14 PDT 2003
    jdp_at_blake.polstra.com:/a/src/sys/i386/compile/BLAKE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04e6000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04e61f4.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 400911153 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x653  Stepping = 3
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36
,MMX,FXSR>
real memory  = 402640896 (383 MB)
avail memory = 385712128 (367 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   P2B-S   > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00f0d10
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 4 INTD is routed to irq 9
pcib0: slot 6 INTA is routed to irq 9
pcib0: slot 10 INTA is routed to irq 5
pcib0: slot 11 INTA is routed to irq 10
pcib0: slot 12 INTA is routed to irq 11
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib0: slot 1 INTA is routed to irq 11
pcib1: slot 0 INTA is routed to irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 9 at device
4.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
pci0: <bridge, PCI-unknown> at device 4.3 (no driver attached)
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xd000-0xd0ff mem
0xe0000000-0xe0000fff irq 9 at device 6.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xb800-0xb83f mem
0xdf000000-0xdf01ffff,0xdf800000-0xdf800fff irq
 5 at device 10.0 on pci0
fxp0: Ethernet address 00:02:b3:63:f9:a2
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.6.6> mem
0xde000000-0xde00ffff,0xde800000-0xde81ffff irq 10 at device 1
1.0 on pci0
em0:  Speed:N/A  Duplex:N/A
bge0: <Altima AC1000 Gigabit Ethernet, ASIC rev. 0x7104> mem 0xdd800000-0xdd80ffff
irq 11 at device 12.0 on pci0
bge0: Ethernet address: 00:40:f4:36:9b:d3
miibus1: <MII bus> on bge0
brgphy0: <BCM5411 10/100/1000baseTX PHY> on miibus1
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-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
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
Waiting 2 seconds for SCSI devices to settle
cd0 at ahc0 bus 0 target 5 lun 0
cd0: <TOSHIBA CD-ROM XM-6201TA 1030> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DNES-309170W SA30> Fixed Direct Access SCSI-3 device 
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DDRS-34560W S92A> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da1: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
Mounting root from ufs:/dev/da0s1a

John
--
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Two buttocks cannot avoid friction."                     -- Malawi saying
Received on Mon Jun 16 2003 - 07:04:00 UTC

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