Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2004 17:39:21 -0700 (PDT)
From:      Thierry DELHAISE <thierry.delhaise@glconseil.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/66098: SMP machine hanging up when running shutdown.
Message-ID:  <200404300039.i3U0dL3Q043109@www.freebsd.org>
Resent-Message-ID: <200404300040.i3U0eHJA011810@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66098
>Category:       i386
>Synopsis:       SMP machine hanging up when running shutdown.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 29 17:40:17 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Thierry DELHAISE
>Release:        5.2.1
>Organization:
GLC
>Environment:
FreeBSD mercure.glconseil.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004     root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386

Hardware configuration of the machine :
Copyright (c) 1992-2004 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.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
    root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a351f4.
ACPI APIC Table: <VIA694 >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (735.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 536805376 (511 MB)
avail memory = 511766528 (488 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdc40
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 7 INTD is routed to irq 10
pcib0: slot 7 INTD is routed to irq 10
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xc0000000-0xcfffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 16
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port 0xc000-0xc00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 10 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.10/1.10, addr 2
uhub1: 4 ports with 4 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 10 at device 7.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
atapci1: <Promise PDC20265 UDMA100 controller> port 0xe000-0xe03f,0xdc00-0xdc03,0xd800-0xd807,0xd400-0xd403,0xd000-0xd007 mem 0xd6100000-0xd611ffff irq 18 at device 12.0 on pci0
atapci1: [MPSAFE]
ata2: at 0xd000 on atapci1
ata2: [MPSAFE]
ata3: at 0xd800 on atapci1
ata3: [MPSAFE]
pci0: <multimedia, audio> at device 14.0 (no driver attached)
pci0: <input device> at device 14.1 (no driver attached)
pci0: <multimedia> at device 15.0 (no driver attached)
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xec00-0xec7f mem 0xd6120000-0xd612007f irq 19 at device 17.0 on pci0
xl0: Ethernet address: 00:50:04:e9:da:35
miibus0: <MII bus> on xl0
bmtphy0: <3c905B 10/100 internal PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-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
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
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 Generic PS/2 mouse, device ID 0
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 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
GEOM: create disk ad0 dp=0xc4920860
ad0: 29188MB <ST330630A> [59303/16/63] at ata0-master UDMA66
GEOM: create disk ad1 dp=0xc4920660
ad1: 29333MB <WDC WD307AA-00BAA0> [59598/16/63] at ata0-slave UDMA66
acd0: DVDROM <HL-DT-STDVD-ROM GDR8162B> at ata1-master PIO4
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad0s1a
WARNING: /mnt was not properly dismounted
>Description:
On an SMP machine, (see hardware description below) "shutdown -r or -h now" failed with this last line :

boo() called on cpu#1
Waiting (max 60 seconds) for system process 'vnlru' to stop...stopped.

And that's all. The machine is waiting herre. Need a hardware reset for rebooting.

The MotherBoard is a MSI 6321MS v 3.7 112201 (Model 694X) with two PIII 733 Mhz

This problem exist on this machine since 5.0. I had test with 5.1, 5.2, 5.2.1. I recently test on this machine Linux too to convince me it was not a hardware problem on the machine. No problem with this machine with a 2.4 or a 2.6 kernel.


>How-To-Repeat:
just run as root "shutdown -r now". I can say that it allways failed when boot() is called on CPU1. When by chance boot() is called from CPU0, the machine stop normally and restart if "-r" option was called. ACPI SMP bug on VIA94 ? 
>Fix:
N/A
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404300039.i3U0dL3Q043109>