From owner-freebsd-ia64@FreeBSD.ORG Tue Mar 22 17:57:07 2011 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19973106566B for ; Tue, 22 Mar 2011 17:57:07 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id 052F28FC17 for ; Tue, 22 Mar 2011 17:57:06 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from sa-nc-ipg-172-23-0-184.static.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp019.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LIH00L7M0IL6Z50@asmtp019.mac.com> for freebsd-ia64@freebsd.org; Tue, 22 Mar 2011 10:56:46 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-03-22_06:2011-03-21, 2011-03-22, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=2 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1103220118 From: Marcel Moolenaar Date: Tue, 22 Mar 2011 10:56:49 -0700 Message-id: <292D7239-878F-499F-990E-2A7CD2F36A40@mac.com> To: FreeBSD ia64 X-Mailer: Apple Mail (2.1082) Subject: FreeBSD on Altix 350 update X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 17:57:07 -0000 All, I've been merging changes from the altix branch into 9-CURRENT and while I'm not quite done, we've come pretty close at being able to cross the boot hurdle with stock FreeBSD on an Altix 350. Before the FreeBSD on Altix is in any way usable, there are a few issues that need to be resolved: 1. The Altix 350 does not have any I/O SAPICs. Interrupt setup is done via SAL. Since I have no documentation on that, it may take a while before I have something working. 2. BUS_DMA doesn't seem to work well given that we don't have any memory below 4GB. The use of the I/O MMU seems non-optional. This of course is another SAL interaction of which I don't have any documentation. 2. bge(4) has a problem reading from the PHY. This is a problem that started happening suddenly, so may relate to a particular commit to the bge driver. 3. I haven't worried about SMP at all, nor having more than 1 compute node (CPU brick). Of course, the first 2 issues are the biggest. If anyone has information that can be shared, I'd appreciate it. It would save me some time... FYI, \begin{bootlog} Entering /boot/kernel/kernel at 0x9ffc000000010620... XXX: check_sn_sal: stat=0, res0=0x10000090b00, res1=0x2607ff, res2=0 XXX: check_sn_sal: SRAT table at 0xe0000030027c96c0 SRAT: memory domain 0 addr 3000000000 len 1000000000: enabled SRAT: Sapic ID 0 domain 0: enabled SRAT: Sapic ID 256 domain 0: enabled XXX: check_sn_sal: SLIT table at 0xe0000030027c9750 ptc.e base=0x0, count1=1, count2=1, stride1=0x0, stride2=0x0 Processor supports 24 Region ID bits VHPT: address=0xe000003006200000, size=0x100000 GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2011 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 9.0-CURRENT #0 r219858M: Mon Mar 21 22:01:26 PDT 2011 marcel@hob.xcllnt.net:/nfs/freebsd/base/projects/altix/sys/ia64/compile/ALTIX ia64 WARNING: WITNESS option enabled, expect reduced performance. UNWIND: table added: base=9ffc000000000000, start=9ffc000000741cf8, end=9ffc0000007735d0 Preloaded elf kernel "/boot/kernel/kernel" at 0x9ffc000000b506f0. CPU: Madison (1500 Mhz Itanium 2) Origin = "GenuineIntel" Revision = 5 Features = 0x1 real memory = 12320342016 (11749 MB) Physical memory chunk(s): 0x3006480000 - 0x3007ffffff, 28835840 bytes (3520 pages) 0x300a000000 - 0x30f7ffffff, 3992977408 bytes (487424 pages) 0x3400000000 - 0x34ed38dfff, 3979927552 bytes (485831 pages) 0x3800000000 - 0x38f61c1fff, 4129038336 bytes (504033 pages) 0x38f7802000 - 0x38f7939fff, 1277952 bytes (156 pages) 0x38f793c000 - 0x38f793ffff, 16384 bytes (2 pages) 0x38f7a00000 - 0x38f7d63fff, 3555328 bytes (434 pages) 0x38f7e00000 - 0x38f7e11fff, 73728 bytes (9 pages) 0x38f7e80000 - 0x38f7ea5fff, 155648 bytes (19 pages) avail memory = 12079767552 (11520 MB) FPSWA Revision = 0x10012, Entry = 0xe0000038f7e62050 Table 'APIC' at 0xe0000030027c9660 Local APIC address=0x0 Local SAPIC entry ProcessorId=0x0, Id=0x0, Eid=0x0 Local SAPIC entry ProcessorId=0x1, Id=0x1, Eid=0x0 Table 'SRAT' at 0xe0000030027c96c0 Table 'SLIT' at 0xe0000030027c9750 Table 'FACP' at 0xe0000030027c9820 Table 'DSDT' at 0xe0000030027c97e0 XIV 144: use=2, IH=0x9ffc000000801b50 ULE: setup cpu 0 mem: null: nfslock: pseudo-device io: random: Altix IO Topology Information ***************************** Serial Number:R2000657 PCI SEGMENT PCIBUS NUMBER BRICK RACK:SLOT BUS CONNECTION TOPOLOGY ----------- ------------- --------------------- ------------------- 0x0001 0x01 OPbrick 001:02 01 001c02:slab0:widget15:bus0 0x0002 0x01 OPbrick 001:02 02 001c02:slab0:widget15:bus1 ACPI: RSDP 0x30027c95c0 00024 (v02 SGI) ACPI: XSDT 0x30027c9600 0004C (v01 SGI XSDTSN2 00010001 ? 00000001) ACPI: APIC 0x30027c9660 00044 (v01 SGI APICSN2 00010001 ? 00000001) ACPI: SRAT 0x30027c96c0 00078 (v01 SGI SRATSN2 00010001 ? 00000001) ACPI: SLIT 0x30027c9750 0002D (v01 SGI SLITSN2 00010001 ? 00000001) ACPI: FACP 0x30027c9820 000F4 (v03 SGI FACPSN2 00030001 ? 00000001) ACPI Warning: 32/64X length mismatch in Pm1aEventBlock: 32/0 (20110316/tbfadt-556) ACPI Warning: 32/64X length mismatch in Pm1aControlBlock: 16/0 (20110316/tbfadt-556) ACPI Warning: 32/64X length mismatch in PmTimerBlock: 32/0 (20110316/tbfadt-556) ACPI Warning: 32/64X length mismatch in Gpe0Block: 64/0 (20110316/tbfadt-556) ACPI Warning: Invalid length for Pm1aEventBlock: 0, using default 32 (20110316/tbfadt-638) ACPI Warning: Invalid length for Pm1aControlBlock: 0, using default 16 (20110316/tbfadt-638) ACPI Warning: Invalid length for PmTimerBlock: 0, using default 32 (20110316/tbfadt-638) ACPI: DSDT 0x30027c97e0 0002C (v01 SGI DSDTSN2 00010001 ? 00000001) ACPI: FACS 0x30027c9790 00040 ACPI: DSDT 0x30027c97e0 0002C (v01 SGI DSDTSN2 00010001 ? 00000001) nexus0: registered as a time-of-day clock (resolution 1000us, adjustment 0.000500000s) pcib0: on motherboard pci0: on pcib0 pci0: domain=1, physical bus=1 found-> vendor=0x10a9, dev=0x100a, revid=0x53 domain=1, bus=1, slot=1, func=0 class=0b-40-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0220, cachelnsz=0 (dwords) lattimer=0xff (7650 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=60 map[10]: type Memory, range 32, base 0x200000, size 20, enabled found-> vendor=0x1077, dev=0x1216, revid=0x06 domain=1, bus=1, slot=3, func=0 class=01-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x02b0, cachelnsz=128 (dwords) lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x00 (0 ns) intpin=a, irq=61 powerspec 1 supports D0 D3 current D0 map[10]: type I/O Port, range 32, base 0x200000, size 8, enabled map[14]: type Memory, range 32, base 0x300000, size 12, enabled found-> vendor=0x14e4, dev=0x1645, revid=0x15 domain=1, bus=1, slot=4, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x00 (0 ns) intpin=a, irq=62 powerspec 2 supports D0 D3 current D0 MSI supports 8 messages, 64 bit map[10]: type Memory, range 64, base 0x310000, size 16, enabled pci0: at device 1.0 (no driver attached) Qlogic ISP Driver, FreeBSD Version 7.0, Core Version 7.0 isp0: mem 0x300000-0x300fff irq 61 at device 3.0 on pci0 isp0: using Memory space register mapping XXX ia64_setup_intr: no I/O SAPIC -- can't setup IRQ 61 isp0: cannot allocate 81920 bytes of CCB memory isp0: Cannot setup DMA device_attach: isp0 attach returned 6 pci1:1:4:0: bad VPD cksum, remain 255 bge0: mem 0x310000-0x31ffff irq 62 at device 4.0 on pci0 bge0: CHIP ID 0x00000105; ASIC REV 0x00; CHIP REV 0x01; PCI bge0: PHY read timed out (phy 1, reg 1, val 0x28210000) bge0: Try again bge0: PHY write timed out (phy 1, reg 0, val 32768) bge0: PHY read timed out (phy 1, reg 1, val 0x28210000) bge0: Try again bge0: PHY write timed out (phy 1, reg 0, val 32768) bge0: PHY read timed out (phy 1, reg 1, val 0x28210000) bge0: Try again bge0: PHY write timed out (phy 1, reg 0, val 32768) bge0: PHY read timed out (phy 1, reg 1, val 0x28210000) bge0: Try again bge0: PHY write timed out (phy 1, reg 0, val 32768) bge0: PHY read timed out (phy 1, reg 1, val 0x28210000) bge0: attaching PHYs failed device_attach: bge0 attach returned 6 pcib1: on motherboard pci1: on pcib1 pci1: domain=2, physical bus=1 acpi0: on motherboard XXX ia64_setup_intr: no I/O SAPIC -- can't setup IRQ 52 acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) ACPI timer: 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 -> 0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> iomem 0x30027c8fa0-0x30027c8fa3 on acpi0 MCA: corrected machine check (CMC) interrupt procfs registered XIV 240: use=3, IH=0x9ffc0000007fc5e0 Timecounter "ITC" frequency 1500000000 Hz quality 0 Timecounters tick every 1.000 msec vlan: initialized, using hash tables with chaining lo0: bpf attached nfs_diskless: no interface WARNING: WITNESS option enabled, expect reduced performance. Loader variables: Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/acd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> ? List of GEOM managed disk devices: \end{bootlog} -- Marcel Moolenaar xcllnt@mac.com