On 2007/12/10 17:06, Stuart Henderson wrote:
> I've got a ServerWorks-based Fujitsu-Siemens Xeon box. At 'halt -p'
> (with or without acpi) the following happens (no panic).
Ugh. 'reboot', too.
> Any suggestions?
>
> # halt -p
> /etc/rc.shutdown in progress...
> /etc/rc.shutdown complete.
> sycing disks... done
> Stopped at gettick+0xec: inb $0x40,%al
> ddb> tr
> gettick(d116d000,4,186a0,3e8,d116d000) at gettick+0xec
> i8254_delay(3e8,0,4,fffffebf) at i8254_delay+0x11
> ahd_reset(d116d000,0,804010,dab27eb0,d0202251) at ahd_reset+0xae
> ahd_shutdown(d116d000,2e9b,dab27ee0,d05caedd) at ahd_shutdown+0x2e
> dohooks(d0782000,1,dab27f00,d047a654) at dohooks+0x6b
> boot(1008,0,dab27f40,0,d0781034) at boot+0x63
> sys_reboot(d693dc20,dab27f68,dab27f58,ffffffff,30) at sys_reboot+0x26
> syscall() at syscall+0x24e
> --- syscall (number 55) ---
> 0x1c0009c1:
> ddb> ps
> PID PPID PGRP UID S FLAGS WAIT COMMAND
> *21404 1 21404 0 7 0x4002 halt
> 14 0 0 0 3 0x100200 bored crypto
> 13 0 0 0 3 0x100200 aiodoned aiodoned
> 12 0 0 0 2 0x100200 update
> 11 0 0 0 3 0x100200 cleaner cleaner
> 10 0 0 0 3 0x100200 reaper reaper
> 9 0 0 0 3 0x100200 pgdaemon pagedaemon
> 8 0 0 0 2 0x100600 pfpurge
> 7 0 0 0 3 0x100200 usbtsk usbtask
> 6 0 0 0 3 0x100200 usbevt usb0
> 5 0 0 0 3 0x100200 acpi_idle acpi0
> 4 0 0 0 3 0x100200 bored syswq
> 3 0 0 0 3 0x100200 idle0
> 2 0 0 0 3 0x100200 kmalloc kmthread
> 1 0 1 0 3 0x4080 wait init
> 0 -1 0 0 2 0x80200 swapper
> ddb> boot r
> panic: mtx_enter: locking against myself
> Stopped at Debugger+0x4: leave
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS
> PANIC!
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb> tr
> Debugger(dab27b8f,dab27b90,d031c2a2,0,dab27c44) at Debugger+0x4
> panic(d0202216,dab27bc0,d05cae6d,d0791ccc,16e35e) at panic+0x63
> mtx_enter(d0791ccc,16e35e,d0,3e,d06a45e7) at mtx_enter+0x5a
> gettick(dab27be4,14,dab27c00,4804,dab27c44) at gettick+0xe5
> i8254_delay(3d0900,dab27c44,dab27c20,d031c59d,d06a45ad) at
> i8254_delay+0x11
> boot(4804,3f8,dab27c40,0,0) at boot+0x3c
> db_boot_poweroff_cmd(d05cae74,0,ffffffff,dab27c48,d0780080) at
> db_boot_poweroff
> _cmd
> db_command(d0780080,d077fea0,dab27d50,d031b48d,dab27d2c) at
> db_command+0xff
> db_command_loop(0,dab27dd8,dab27d90,d04776cf,9) at db_command_loop+0x8a
> db_trap(9,0,d6a4a18c,d022736e,d6a4a1e5) at db_trap+0x90
> kdb_trap(9,0,dab27dd8,d0) at kdb_trap+0xab
> trap() at trap+0x95
> --- trap (number 9) ---
> gettick(d116d000,4,186a0,3e8,d116d000) at gettick+0xec
> i8254_delay(3e8,0,4,fffffebf) at i8254_delay+0x11
> ahd_reset(d116d000,0,804010,dab27eb0,d0202251) at ahd_reset+0xae
> ahd_shutdown(d116d000,2e9b,dab27ee0,d05caedd) at ahd_shutdown+0x2e
> dohooks(d0782000,1,dab27f00,d047a654) at dohooks+0x6b
> boot(1008,0,dab27f40,0,d0781034) at boot+0x63
> sys_reboot(d693dc20,dab27f68,dab27f58,ffffffff,30) at sys_reboot+0x26
> syscall() at syscall+0x24e
> --- syscall (number 55) ---
> 0x1c0009c1:
>
> OpenBSD 4.2-current (GENERIC) #591: Sat Dec 8 21:46:43 MST 2007
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
> real mem = 536371200 (511MB)
> avail mem = 510763008 (487MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 09/10/04, BIOS32 rev. 0 @ 0xfd907,
> SMBIOS rev. 2.31 @ 0xef360 (68 entries)
> bios0: vendor FUJITSU SIEMENS // Phoenix Technologies Ltd. version "4.06
> Rev. 1.12.1409" date 09/10/2004
> bios0: FUJITSU SIEMENS D1409
> acpi0 at bios0: rev 0
> acpi0: tables DSDT FACP SPCR APIC BOOT
> acpi0: wakeup devices PCI0(S4) USB_(S1) KEYB(S1) PS2M(S1) COM2(S4) COM1(S4)
> PCIA(S4) PCIB(S4) PCIC(S4) PCID(S4)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (PCIA)
> acpiprt2 at acpi0: bus 2 (PCIB)
> acpiprt3 at acpi0: bus 3 (PCIC)
> acpiprt4 at acpi0: bus 4 (PCID)
> acpicpu0 at acpi0
> acpibtn0 at acpi0: PWRB
> bios0: ROM list: 0xc0000/0x9000 0xc9000/0x1800 0xca800/0x9e00
> ipmi at mainbus0 not configured
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20-HE Host (GC-LE)" rev 0x33
> pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20-HE Host (GC-LE)" rev 0x00
> pci1 at pchb1 bus 1
> pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20-HE Host (GC-LE)" rev 0x00
> pci2 at pchb2 bus 3
> ahd0 at pci2 dev 4 function 0 "Adaptec AIC-7902 U320" rev 0x03: irq 5
> ahd0: aic7902, U320 Wide Channel A, SCSI Id=7, PCI-X 101-133MHz, 512 SCBs
> scsibus0 at ahd0: 16 targets
> sd0 at scsibus0 targ 0 lun 0: <FUJITSU, MAP3367NC, 5207> SCSI3 0/direct fixed
> sd0: 35046MB, 48122 cyl, 2 head, 745 sec, 512 bytes/sec, 71775284 sec total
> sd1 at scsibus0 targ 1 lun 0: <FUJITSU, MAP3367NC, 5207> SCSI3 0/direct fixed
> sd1: 35046MB, 48122 cyl, 2 head, 745 sec, 512 bytes/sec, 71775284 sec total
> sd2 at scsibus0 targ 2 lun 0: <FUJITSU, MAP3367NC, 5207> SCSI3 0/direct fixed
> sd2: 35046MB, 48122 cyl, 2 head, 745 sec, 512 bytes/sec, 71775284 sec total
> safte0 at scsibus0 targ 8 lun 0: <SDR, GEM318, 0> SCSI2 3/processor fixed
> ahd1 at pci2 dev 4 function 1 "Adaptec AIC-7902 U320" rev 0x03: irq 12
> ahd1: aic7902, U320 Wide Channel B, SCSI Id=7, PCI-X 101-133MHz, 512 SCBs
> scsibus1 at ahd1: 16 targets
> vga1 at pci0 dev 4 function 0 "ATI Rage XL" rev 0x27
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> piixpm0 at pci0 dev 15 function 0 "ServerWorks CSB6" rev 0xa0: polling
> iic0 at piixpm0
> spdmem0 at iic0 addr 0x54: 256MB DDR SDRAM registered ECC PC2300CL2.5
> spdmem1 at iic0 addr 0x55: 256MB DDR SDRAM registered ECC PC2300CL2.5
> pciide0 at pci0 dev 15 function 1 "ServerWorks CSB6 RAID/IDE" rev 0xa0: DMA
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus2 at atapiscsi0: 2 targets
> cd0 at scsibus2 targ 0 lun 0: <LG, CD-ROM CRN-8245B, 1.00> SCSI0 5/cdrom
> removable
> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> ohci0 at pci0 dev 15 function 2 "ServerWorks CSB6 USB" rev 0x05: irq 9,
> version 1.0, legacy support
> pcib0 at pci0 dev 15 function 3 "ServerWorks GCLE-2 Host" rev 0x00
> pchb3 at pci0 dev 16 function 0 "ServerWorks CIOB-E" rev 0x12
> pchb4 at pci0 dev 16 function 2 "ServerWorks CIOB-E" rev 0x12
> pci3 at pchb4 bus 2
> bge0 at pci3 dev 0 function 0 "Broadcom BCM5704C" rev 0x02, BCM5704 A2
> (0x2002): irq 11, address 00:30:05:76:38:45
> brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
> bge1 at pci3 dev 0 function 1 "Broadcom BCM5704C" rev 0x02, BCM5704 A2
> (0x2002): irq 10, address 00:30:05:76:38:46
> brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
> pchb5 at pci0 dev 17 function 0 "ServerWorks CIOB-X2 PCIX" rev 0x05
> pchb6 at pci0 dev 17 function 2 "ServerWorks CIOB-X2 PCIX" rev 0x05
> pci4 at pchb6 bus 4
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask f365 netmask ff65 ttymask ffe7
> mtrr: Pentium Pro MTRR support
> softraid0 at root
> ahd0: target 0 synchronous with period = 0x8, offset = 0x7f(DT|IU|QAS)
> ahd0: target 1 synchronous with period = 0x8, offset = 0x7f(DT|IU|QAS)
> ahd0: target 2 synchronous with period = 0x8, offset = 0x7f(DT|IU|QAS)
> dkcsum: sd0 matches BIOS drive 0x80
> dkcsum: sd1 matches BIOS drive 0x81
> dkcsum: sd2 matches BIOS drive 0x82
> root on sd0a swap on sd0b dump on sd0b
> swapctl: adding /dev/sd1b as swap device at priority 0
> swapctl: adding /dev/sd2b as swap device at priority 0
> Automatic boot in progress: starting file system checks.