panic: mutex sched lock 0 not owned at /usr/src/sys/kern/sched_ule.c:2341

Jerome Ibanes <[email protected]>
Newsgroups gmane.os.freebsd.devel.ia64
Message-ID <CAB+41mFJh0kBNJYBwPGedSe7Gy9PhjGDHcNARSV78tBj2zRVUQ@mail.gmail.com>
List,

The following crash happened when booting:

  FreeBSD-10.0-projects_altix2-r245399-JPSNAP-ia64-ia64-bootonly.iso

on SGI Altix 350 dual cpu. The backtrace appears in the enclosed file and at the
end of this message.

---[snip]---

    Device Path Acpi(PNP0A03,1)/Pci(1|0)/Ata(Primary,Master)
Consoles: EFI console

FreeBSD/ia64 EFI boot, Revision 3.1
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x10121f0 data=0x11dda8+0x235dc8
syms=[0x8+0xc3918+0x8+0xb6f2f]
\
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Entering /boot/kernel/kernel at 0x9ffc000000010500...
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2013 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #0: Tue Jan 15 03:19:10 UTC 2013
    [email protected]:/usr/obj/ia64.ia64/usr/src/sys/GENERIC ia64
WARNING: WITNESS option enabled, expect reduced performance.
CPU: Madison (1500 MHz Itanium 2)
  Origin = "GenuineIntel"  Revision = 5
  Features = 0x1<LB>
real memory  = 12616466432 (12032 MB)
avail memory = 12136374272 (11574 MB)
FPSWA Revision = 0x10012, Entry = 0xe0000038f7e62050
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0: ACPI Id=0, SAPIC Id=0, SAPIC Eid=0 (BSP)
cpu1: ACPI Id=1, SAPIC Id=1, SAPIC Eid=0
random device not loaded; using insecure entropy
Event timer "ITC" frequency 1500000000 Hz quality 1000
ctl: CAM Target Layer loaded
ACPI BIOS Bug: Warning: 32/64X length mismatch in FADT/Pm1aEventBlock:
32/0 (20121114/tbfadt-599)
ACPI BIOS Bug: Warning: 32/64X length mismatch in
FADT/Pm1aControlBlock: 16/0 (20121114/tbfadt-599)
ACPI BIOS Bug: Warning: 32/64X length mismatch in FADT/PmTimerBlock:
32/0 (20121114/tbfadt-599)
ACPI BIOS Bug: Warning: 32/64X length mismatch in FADT/Gpe0Block: 64/0
(20121114/tbfadt-599)
ACPI BIOS Bug: Warning: Invalid length for FADT/Pm1aEventBlock: 0,
using default 32 (20121114/tbfadt-681)
ACPI BIOS Bug: Warning: Invalid length for FADT/Pm1aControlBlock: 0,
using default 16 (20121114/tbfadt-681)
ACPI BIOS Bug: Warning: Invalid length for FADT/PmTimerBlock: 0, using
default 32 (20121114/tbfadt-681)
shub0: <SGI SHub1 ASIC> on motherboard
Timecounter "SHub RTC" frequency 20000000 Hz quality 1200
sncon0: <SGI L1 console> on shub0
pcib0: <SGI PCI-X host controller> on shub0
pcib0: slot=2: flush addr=0xe0000038f680b4a8, intr=0xc00000080f0001b0
pcib0: slot=2: flush addr=0xe0000038f680b548, intr=0xc00000080f0001b8
pcib0: slot=3: flush addr=0xe0000038f680b5e8, intr=0xc00000080f0001a0
pci0: <PCI bus> on pcib0
pcib0: PCI bus address 0x200000 mapped to CPU address 0x80f200000
pcib0: PCI bus address 0x1000 mapped to CPU address 0x80f701000
pcib0: PCI bus address 0x700000 mapped to CPU address 0x8c0700000
pcib0: PCI bus address 0x1100 mapped to CPU address 0x80f701100
pcib0: PCI bus address 0x701000 mapped to CPU address 0x8c0701000
pcib0: PCI bus address 0x702000 mapped to CPU address 0x8c0702000
pcib0: PCI bus address 0x710000 mapped to CPU address 0x8c0710000
ioc40: <SGI IOC4 I/O controller> mem 0x200000-0x2fffff irq 60 at
device 1.0 on pci0
ata0: <SGI IOC4 ATA channel> on ioc40
isp0: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x1000-0x10ff mem
0x700000-0x700fff irq 61 at device 2.0 on pci0
isp0: Polled Mailbox Command (0x2) Timeout (5000000us) (started @ isp_reset:982)
isp0: Polled Mailbox Command (0x8) Timeout (100000us) (started @ isp_reset:1046)
isp0: Mailbox Command 'ABOUT FIRMWARE' failed (TIMEOUT)
device_attach: isp0 attach returned 6
isp0: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x1100-0x11ff mem
0x701000-0x701fff irq 62 at device 2.1 on pci0
isp0: Polled Mailbox Command (0x8) Timeout (100000us) (started @ isp_reset:1046)
isp0: Mailbox Command 'ABOUT FIRMWARE' failed (TIMEOUT)
device_attach: isp0 attach returned 6
pci0: <mass storage, SATA> at device 3.0 (no driver attached)
bge0: <SGI Gigabit Ethernet Controller, ASIC rev. 0x000105> mem
0x710000-0x71ffff irq 64 at device 4.0 on pci0
bge0: CHIP ID 0x00000105; ASIC REV 0x00; CHIP REV 0x01; PCI on PCI-X
66 MHz; 64bit
bge0: can't create spare DMA map for RX
bge0: failed to allocate DMA resources
device_attach: bge0 attach returned 6
pcib1: <SGI PCI-X host controller> on shub0
pcib1: slot=1: flush addr=0xe0000038f680b688, intr=0xc00000080f800190
pcib1: slot=2: flush addr=0xe0000038f680b728, intr=0xc00000080f800198
pci1: <PCI bus> on pcib1
pcib1: PCI bus address 0x1000 mapped to CPU address 0x80ff01000
pcib1: PCI bus address 0x700000 mapped to CPU address 0x880700000
pcib1: PCI bus address 0x1100 mapped to CPU address 0x80ff01100
pcib1: PCI bus address 0x704000 mapped to CPU address 0x880704000
pcib1: PCI bus address 0x710000 mapped to CPU address 0x880710000
isp0: <Qlogic ISP 12160 PCI SCSI Adapter> port 0x1000-0x10ff mem
0x700000-0x700fff irq 65 at device 1.0 on pci1
mpt0: <LSILogic SAS/SATA Adapter> port 0x1100-0x11ff mem
0x704000-0x707fff,0x710000-0x71ffff irq 66 at device 2.0 on pci1
mpt0: MPI Version=1.5.13.0
mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 )
mpt0: 0 Active Volumes (2 Max)
mpt0: 0 Hidden Drive Members (10 Max)
acpi0: <SGI> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> iomem
0x3002a08f60-0x3002a08f63 on acpi0
Timecounters tick every 1.000 msec
panic: mutex sched lock 0 not owned at /usr/src/sys/kern/sched_ule.c:2341
cpuid = 1
KDB: enter: panic
[ thread pid 11 tid 100004 ]
Stopped at      kdb_enter+0x92: [I2]    addl r14=0xffffffffffe3aaa8,gp ;;
db> where
Tracing pid 11 tid 100004 td 0xe0000030114371c0
kdb_enter(0x9ffc000000faa808, 0x9ffc000000faa808, 0x9ffc0000008ba8f0,
0x40c) at kdb_enter+0x92
vpanic(0x9ffc000000fa8168, 0xa00000000022dbb8) at vpanic+0x2b0
panic(0x9ffc000000fa8168, 0x9ffc00000118ee38, 0x9ffc000000fad080,
0x925) at panic+0x80
__mtx_assert(0x9ffc00000118e180, 0x4, 0x9ffc000000fad080, 0x925) at
__mtx_assert+0x110
sched_add(0xe00000301174a470, 0x4, 0x9ffc00000118ee80, 0x1,
0x9ffc000000862f40) at sched_add+0x260
intr_event_schedule_thread(0xe00000301144b200, 0xe000003010dfeb80,
0xe00000301174a470, 0xe000003011433240) at
intr_event_schedule_thread+0x1e0
intr_event_handle(0xe00000301144b200, 0xa00000000022dc00, 0x0) at
intr_event_handle+0x330
ia64_ih_irq(0xe0000030114371c0, 0x41, 0xa00000000022dc00) at ia64_ih_irq+0xf0
ia64_handle_intr(0xa00000000022dc00) at ia64_handle_intr+0x110
ivt_External_Interrupt() at ivt_External_Interrupt+0x30
--- trapframe at 0xa00000000022dc00
ia64_ap_startup() at ia64_ap_startup+0x2a0
os_boot_rendez() at os_boot_rendez+0x240
ia64_ap_startup(0x30b5ffe947b2cf7f, 0xcabac28abdbdf21c,
0x24b4a3a653b39330, 0xcdd70693bad03605) at ia64_ap_startup+0x280
(null)(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) at 0xcabac28abdbdf21c
db>

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ia64
To unsubscribe, send any mail to "[email protected]"
crash.txt (text/plain, 6.6 KB)
    Device Path Acpi(PNP0A03,1)/Pci(1|0)/Ata(Primary,Master)
Consoles: EFI console

FreeBSD/ia64 EFI boot, Revision 3.1
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x10121f0 data=0x11dda8+0x235dc8 syms=[0x8+0xc3918+0x8+0xb6f2f]
\
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Entering /boot/kernel/kernel at 0x9ffc000000010500...
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2013 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #0: Tue Jan 15 03:19:10 UTC 2013
    [email protected]:/usr/obj/ia64.ia64/usr/src/sys/GENERIC ia64
WARNING: WITNESS option enabled, expect reduced performance.
CPU: Madison (1500 MHz Itanium 2)
  Origin = "GenuineIntel"  Revision = 5
  Features = 0x1<LB>
real memory  = 12616466432 (12032 MB)
avail memory = 12136374272 (11574 MB)
FPSWA Revision = 0x10012, Entry = 0xe0000038f7e62050
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0: ACPI Id=0, SAPIC Id=0, SAPIC Eid=0 (BSP)
cpu1: ACPI Id=1, SAPIC Id=1, SAPIC Eid=0
random device not loaded; using insecure entropy
Event timer "ITC" frequency 1500000000 Hz quality 1000
ctl: CAM Target Layer loaded
ACPI BIOS Bug: Warning: 32/64X length mismatch in FADT/Pm1aEventBlock: 32/0 (20121114/tbfadt-599)
ACPI BIOS Bug: Warning: 32/64X length mismatch in FADT/Pm1aControlBlock: 16/0 (20121114/tbfadt-599)
ACPI BIOS Bug: Warning: 32/64X length mismatch in FADT/PmTimerBlock: 32/0 (20121114/tbfadt-599)
ACPI BIOS Bug: Warning: 32/64X length mismatch in FADT/Gpe0Block: 64/0 (20121114/tbfadt-599)
ACPI BIOS Bug: Warning: Invalid length for FADT/Pm1aEventBlock: 0, using default 32 (20121114/tbfadt-681)
ACPI BIOS Bug: Warning: Invalid length for FADT/Pm1aControlBlock: 0, using default 16 (20121114/tbfadt-681)
ACPI BIOS Bug: Warning: Invalid length for FADT/PmTimerBlock: 0, using default 32 (20121114/tbfadt-681)
shub0: <SGI SHub1 ASIC> on motherboard
Timecounter "SHub RTC" frequency 20000000 Hz quality 1200
sncon0: <SGI L1 console> on shub0
pcib0: <SGI PCI-X host controller> on shub0
pcib0: slot=2: flush addr=0xe0000038f680b4a8, intr=0xc00000080f0001b0
pcib0: slot=2: flush addr=0xe0000038f680b548, intr=0xc00000080f0001b8
pcib0: slot=3: flush addr=0xe0000038f680b5e8, intr=0xc00000080f0001a0
pci0: <PCI bus> on pcib0
pcib0: PCI bus address 0x200000 mapped to CPU address 0x80f200000
pcib0: PCI bus address 0x1000 mapped to CPU address 0x80f701000
pcib0: PCI bus address 0x700000 mapped to CPU address 0x8c0700000
pcib0: PCI bus address 0x1100 mapped to CPU address 0x80f701100
pcib0: PCI bus address 0x701000 mapped to CPU address 0x8c0701000
pcib0: PCI bus address 0x702000 mapped to CPU address 0x8c0702000
pcib0: PCI bus address 0x710000 mapped to CPU address 0x8c0710000
ioc40: <SGI IOC4 I/O controller> mem 0x200000-0x2fffff irq 60 at device 1.0 on pci0
ata0: <SGI IOC4 ATA channel> on ioc40
isp0: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x1000-0x10ff mem 0x700000-0x700fff irq 61 at device 2.0 on pci0
isp0: Polled Mailbox Command (0x2) Timeout (5000000us) (started @ isp_reset:982)
isp0: Polled Mailbox Command (0x8) Timeout (100000us) (started @ isp_reset:1046)
isp0: Mailbox Command 'ABOUT FIRMWARE' failed (TIMEOUT)
device_attach: isp0 attach returned 6
isp0: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x1100-0x11ff mem 0x701000-0x701fff irq 62 at device 2.1 on pci0
isp0: Polled Mailbox Command (0x8) Timeout (100000us) (started @ isp_reset:1046)
isp0: Mailbox Command 'ABOUT FIRMWARE' failed (TIMEOUT)
device_attach: isp0 attach returned 6
pci0: <mass storage, SATA> at device 3.0 (no driver attached)
bge0: <SGI Gigabit Ethernet Controller, ASIC rev. 0x000105> mem 0x710000-0x71ffff irq 64 at device 4.0 on pci0
bge0: CHIP ID 0x00000105; ASIC REV 0x00; CHIP REV 0x01; PCI on PCI-X 66 MHz; 64bit
bge0: can't create spare DMA map for RX
bge0: failed to allocate DMA resources
device_attach: bge0 attach returned 6
pcib1: <SGI PCI-X host controller> on shub0
pcib1: slot=1: flush addr=0xe0000038f680b688, intr=0xc00000080f800190
pcib1: slot=2: flush addr=0xe0000038f680b728, intr=0xc00000080f800198
pci1: <PCI bus> on pcib1
pcib1: PCI bus address 0x1000 mapped to CPU address 0x80ff01000
pcib1: PCI bus address 0x700000 mapped to CPU address 0x880700000
pcib1: PCI bus address 0x1100 mapped to CPU address 0x80ff01100
pcib1: PCI bus address 0x704000 mapped to CPU address 0x880704000
pcib1: PCI bus address 0x710000 mapped to CPU address 0x880710000
isp0: <Qlogic ISP 12160 PCI SCSI Adapter> port 0x1000-0x10ff mem 0x700000-0x700fff irq 65 at device 1.0 on pci1
mpt0: <LSILogic SAS/SATA Adapter> port 0x1100-0x11ff mem 0x704000-0x707fff,0x710000-0x71ffff irq 66 at device 2.0 on pci1
mpt0: MPI Version=1.5.13.0
mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 )
mpt0: 0 Active Volumes (2 Max)
mpt0: 0 Hidden Drive Members (10 Max)
acpi0: <SGI> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> iomem 0x3002a08f60-0x3002a08f63 on acpi0
Timecounters tick every 1.000 msec
panic: mutex sched lock 0 not owned at /usr/src/sys/kern/sched_ule.c:2341
cpuid = 1
KDB: enter: panic
[ thread pid 11 tid 100004 ]
Stopped at      kdb_enter+0x92: [I2]    addl r14=0xffffffffffe3aaa8,gp ;;
db> where
Tracing pid 11 tid 100004 td 0xe0000030114371c0
kdb_enter(0x9ffc000000faa808, 0x9ffc000000faa808, 0x9ffc0000008ba8f0, 0x40c) at kdb_enter+0x92
vpanic(0x9ffc000000fa8168, 0xa00000000022dbb8) at vpanic+0x2b0
panic(0x9ffc000000fa8168, 0x9ffc00000118ee38, 0x9ffc000000fad080, 0x925) at panic+0x80
__mtx_assert(0x9ffc00000118e180, 0x4, 0x9ffc000000fad080, 0x925) at __mtx_assert+0x110
sched_add(0xe00000301174a470, 0x4, 0x9ffc00000118ee80, 0x1, 0x9ffc000000862f40) at sched_add+0x260
intr_event_schedule_thread(0xe00000301144b200, 0xe000003010dfeb80, 0xe00000301174a470, 0xe000003011433240) at intr_event_schedule_thread+0x1e0
intr_event_handle(0xe00000301144b200, 0xa00000000022dc00, 0x0) at intr_event_handle+0x330
ia64_ih_irq(0xe0000030114371c0, 0x41, 0xa00000000022dc00) at ia64_ih_irq+0xf0
ia64_handle_intr(0xa00000000022dc00) at ia64_handle_intr+0x110
ivt_External_Interrupt() at ivt_External_Interrupt+0x30
--- trapframe at 0xa00000000022dc00
ia64_ap_startup() at ia64_ap_startup+0x2a0
os_boot_rendez() at os_boot_rendez+0x240
ia64_ap_startup(0x30b5ffe947b2cf7f, 0xcabac28abdbdf21c, 0x24b4a3a653b39330, 0xcdd70693bad03605) at ia64_ap_startup+0x280
(null)(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) at 0xcabac28abdbdf21c
db>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.