Date: Tue, 9 Apr 2002 17:22:31 -0700 (PDT) From: Daniel McRobb <dwm@ixiacom.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/36943: reboot hangs on Tyan Thunder K7 with SMP Message-ID: <200204100022.g3A0MVW87917@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 36943 >Category: i386 >Synopsis: reboot hangs on Tyan Thunder K7 with SMP >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 09 17:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Daniel McRobb >Release: 4.5-RELEASE >Organization: Ixia >Environment: FreeBSD gm.netops.ixiacom.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Thu Mar 14 18:29:44 GMT 2002 dwm@gm.aa.ixiacom.com:/usr/src/sys/compile/IXIA150 i386 BIOS revision 2.10 >Description: After any non-trivial amount of uptime, 'reboot' and 'shutdown -r' fail to complete if SMP is enabled. Oddly enough, this doesn't seem to happen on an older Tyan Thunder K7 motherboard with BIOS revision 2.06, but I don't think that BIOS supports the newer MP chips (the older machine has the original 1.2GHz MP CPUs). The older machine also doesn't have console redirect enabled in the BIOS, otherwise they're the same. Changing the MP spec in the BIOS between 1.1 and 1.4 doesn't solve the problem. Neither does enabling PCI interrupts in the MP table. We need console redirect in the BIOS so I haven't tried disabling it. dmesg: Copyright (c) 1992-2002 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 4.5-RELEASE #0: Thu Mar 14 18:29:44 GMT 2002 dwm@gm.aa.ixiacom.com:/usr/src/sys/compile/IXIA150 Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) MP 1600+ (1393.79-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!> real memory = 2147418112 (2097088K bytes) avail memory = 2088009728 (2039072K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040010, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0397000. VESA: v2.0, 4096k memory, flags:0x0, mode table:0xc03290c2 (1000022) VESA: ATI MACH64 Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 268435454 entries at 0xc00fdef0 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <PCI to PCI bridge (vendor=1022 device=700d)> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 isab0: <PCI to ISA bridge (vendor=1022 device=7410)> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <AMD 766 ATA100 controller> port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 chip1: <PCI to Other bridge (vendor=1022 device=7413)> at device 7.3 on pci0 ohci0: <OHCI (generic) USB controller> mem 0xdc000-0xdcfff irq 11 at device 7.4 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x1000-0x10ff mem 0xfc001000-0xfc001fff irq 10 at device 13.0 on pci0 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x1400-0x14ff mem 0xfc002000-0xfc002fff irq 5 at device 13.1 on pci0 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs pci0: <ATI Mach64-GR graphics accelerator> at 14.0 xl0: <3Com 3c980C Fast Etherlink XL> port 0x1c00-0x1c7f mem 0xfc004000-0xfc00407f irq 3 at device 15.0 on pci0 xl0: Ethernet address: 00:e0:81:03:e1:59 miibus0: <MII bus> on xl0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: <3Com 3c980C Fast Etherlink XL> port 0x1c80-0x1cff mem 0xfc004400-0xfc00447f irq 11 at device 16.0 on pci0 xl1: Ethernet address: 00:e0:81:03:e1:5a miibus1: <MII bus> on xl1 ukphy1: <Generic IEEE 802.3u media interface> on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto eisa0: <EISA bus> on motherboard eisa0: unknown card @@@0000 (0x00000000) at slot 1 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xcd800-0xcdfff,0xce000-0xce7ff,0xe0000-0xe3fff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> flags 0x103 irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 Waiting 15 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da0s1a da0 at ahc0 bus 0 target 0 lun 0 da0: <IBM IC35L036UWD210-0 S5BA> Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da1 at ahc0 bus 0 target 1 lun 0 da1: <IBM IC35L036UWD210-0 S5BA> Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) cd0 at ahc1 bus 0 target 5 lun 0 cd0: <PLEXTOR CD-ROM PX-40TW 1.04> Removable CD-ROM SCSI-2 device cd0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed current mptable: =============================================================================== MPTable, version 2.0.15 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f74d0 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x2f mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x0009f870 signature: 'PCMP' base table length: 260 version: 1.4 checksum: 0x63 OEM ID: 'TYAN ' Product ID: 'GUINNESS ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 24 local APIC address: 0xfee00000 extended table length: 344 extended table checksum: 248 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 1 0x10 BSP, usable 6 6 2 0x383fbff 0 0x10 AP, usable 6 6 2 0x383fbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 2 0 2 0 INT active-hi edge 2 1 2 1 INT active-hi edge 2 0 2 2 INT active-lo level 2 3 2 3 INT active-hi edge 2 4 2 4 INT active-lo level 2 5 2 5 INT active-hi edge 2 6 2 6 INT active-hi edge 2 7 2 7 INT active-hi edge 2 8 2 8 INT active-hi edge 2 9 2 9 INT active-lo level 2 10 2 10 INT active-lo level 2 11 2 11 INT active-hi edge 2 12 2 12 INT active-hi edge 2 13 2 13 INT active-hi edge 2 14 2 14 INT active-hi edge 2 15 2 15 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 2 0 255 0 NMI active-hi edge 1 0:A 255 1 ------------------------------------------------------------------------------- MP Config Extended Table Entries: -- System Address Space bus ID: 0 address type: I/O address address base: 0x0 address range: 0x10000 -- System Address Space bus ID: 0 address type: memory address address base: 0x80000000 address range: 0x7c000000 -- System Address Space bus ID: 0 address type: prefetch address address base: 0xfc000000 address range: 0x100000 -- System Address Space bus ID: 0 address type: memory address address base: 0xfc100000 address range: 0x2d00000 -- System Address Space bus ID: 0 address type: memory address address base: 0xfee01000 address range: 0x11ff000 -- System Address Space bus ID: 0 address type: memory address address base: 0xa0000 address range: 0x24000 -- System Address Space bus ID: 0 address type: memory address address base: 0xc8000 address range: 0x2000 -- System Address Space bus ID: 0 address type: memory address address base: 0xcc000 address range: 0x2000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd0000 address range: 0x1000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd2000 address range: 0x1000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd4000 address range: 0x1000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd6000 address range: 0x1000 -- System Address Space bus ID: 0 address type: memory address address base: 0xd8000 address range: 0x2000 -- System Address Space bus ID: 0 address type: memory address address base: 0xe0000 address range: 0x12000 -- System Address Space bus ID: 0 address type: memory address address base: 0xf4000 address range: 0x2000 -- System Address Space bus ID: 0 address type: memory address address base: 0xf8000 address range: 0x4000 -- Bus Heirarchy bus ID: 2 bus info: 0x01 parent bus ID: 0 -- Compatibility Bus Address bus ID: 0 address modifier: add predefined range: 0x00000000 -- Compatibility Bus Address bus ID: 0 address modifier: add predefined range: 0x00000001 =============================================================================== >How-To-Repeat: Enable SMP in kernel config, >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204100022.g3A0MVW87917>