From owner-freebsd-hackers Fri Jan 17 9:59:10 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34DFC37B401 for ; Fri, 17 Jan 2003 09:59:07 -0800 (PST) Received: from grsu.by (grsu.by [194.158.202.115]) by mx1.FreeBSD.org (Postfix) with SMTP id EB3A443EB2 for ; Fri, 17 Jan 2003 09:59:03 -0800 (PST) (envelope-from grog@grsu.by) Received: (qmail 92374 invoked from network); 17 Jan 2003 17:54:13 -0000 Received: from unknown (HELO grsu.by) (grog@195.50.13.200) by grsu.by with SMTP; 17 Jan 2003 17:54:13 -0000 Message-ID: <3E2833C1.2070207@grsu.by> Date: Fri, 17 Jan 2003 18:48:01 +0200 From: Yury Tarasievich User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20020829 X-Accept-Language: be, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: 4.7 on 2 Xeons SMP? References: <3E271197.2050207@grsu.by> Content-Type: multipart/mixed; boundary="------------090807000702050801040908" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------090807000702050801040908 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Want to attract your attention once more. At my place double Xeons fails to start (with only SMP and APIC options added to GENERIC) with following diagnostics: > I tried both 4.7-RELEASE srs/sys and that of January 14. That's what I > get when booting with SMP enabled (copied from screen): > .... > Programming 24 pins in IOAPIC #0 > IOAPIC #0 intpin 2 -> irq 0 > Programming 24 pins in IOAPIC #1 > Programming 24 pins in IOAPIC #2 > AP #1 (PHY# 6) failed > panic y/n? > mp_lock = 00000001; cpuid = 0; lapic_id = 00000000 I'm also attaching dmesg of successful boot of GENERIC. Now, when I looked into sources for apic initializing (where it seemingly fails), I've thought that with some qualified guidance (by e-mail or likewise) I could possibly try to address the problem myself. Bad news is that machine's going to be in my "posession" for two weeks only (in case FreeBSD+Oracle 9i combo fails to start) and that I'm practically unacquainted with kernel debugging so coaching should come really low-level, like in recent Dreyfus article about running IRIX binaries on NetBSD. Good news is I have some knowledge of electronics and recognize some concepts in source and understood almost everything in said article. :) So would anybody be willing to spare time and knowledge? --------------090807000702050801040908 Content-Type: text/plain; name="dmesg" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="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.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium 4 (1794.19-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff,ACC> real memory = 1073217536 (1048064K bytes) avail memory = 1039351808 (1014992K bytes) Preloaded elf kernel "kernel" at 0xc050f000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 17 entries at 0xc00fdeb0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: (vendor=0x8086, dev=0x2541) at 0.1 pcib1: at device 2.0 on pci0 pci1: on pcib1 pci1: (vendor=0x8086, dev=0x1461) at 28.0 pcib2: at device 29.0 on pci1 pci2: on pcib2 pci1: (vendor=0x8086, dev=0x1461) at 30.0 pcib3: at device 31.0 on pci1 pci3: on pcib3 uhci0: port 0x7000-0x701f irq 10 at device 29.0 on pci0 usb0: 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 uhci1: port 0x7020-0x703f irq 5 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcib4: at device 30.0 on pci0 pci4: on pcib4 ahc0: port 0x8000-0x80ff mem 0xfc240000-0xfc240fff irq 5 at device 2.0 on pci4 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs pci4: at 3.0 irq 11 fxp0: port 0x8800-0x883f mem 0xfc200000-0xfc21ffff,0xfc242000-0xfc242fff irq 11 at device 4.0 on pci4 fxp0: Ethernet address 00:02:b3:b0:c5:06 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0x8840-0x887f mem 0xfc220000-0xfc23ffff,0xfc243000-0xfc243fff irq 11 at device 5.0 on pci4 fxp1: Ethernet address 00:02:b3:b0:c2:14 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x7040-0x704f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 irq 11 orm0: