From owner-freebsd-amd64@FreeBSD.ORG Sun Jul 17 05:19:45 2005 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A360916A41C for ; Sun, 17 Jul 2005 05:19:45 +0000 (GMT) (envelope-from weijian0204@yahoo.com.cn) Received: from web15309.mail.cnb.yahoo.com (web15309.mail.cnb.yahoo.com [202.43.216.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 0861743D45 for ; Sun, 17 Jul 2005 05:19:44 +0000 (GMT) (envelope-from weijian0204@yahoo.com.cn) Received: (qmail 23824 invoked by uid 60001); 17 Jul 2005 05:19:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=boutWrGe9skM3dy/OoIOddOq70Q1eUc2y3Ay6ryAAAm47/8DELFCIs0Erfp+HzfQW1iOTaajGMwdVojKiGeKLiCXm9zOTT4k8XiFf3S21k0CQyQWFXRJXSbAVZjgvIw/rmrB366RO1pgXSITwZXdAVOxdRyipckxvEu2+7+4jLo= ; Message-ID: <20050717051943.23822.qmail@web15309.mail.cnb.yahoo.com> Received: from [221.7.131.221] by web15309.mail.cnb.yahoo.com via HTTP; Sun, 17 Jul 2005 13:19:43 CST Date: Sun, 17 Jul 2005 13:19:43 +0800 (CST) From: =?gb2312?q?Mr=20=BC=FC=20=CE=A4?= To: freebsd-amd64@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sun, 17 Jul 2005 11:33:12 +0000 Cc: Subject: Please help me about enter long mode! X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 05:19:45 -0000 Hi: Please help me.I can't enter long mode.I'm no good ideas!If you could give me your assembly code about how to enter long mode correctly,I can give some monney.Thank you,very much. My assembly code: ;---------------------------------------------------------------------- ; Processor Initialization ;---------------------------------------------------------------------- bits 16 org 0x7c00 ;---------------------------------------------------------------------- GDT_CodeSegment_Selector equ 0x08 ;---------------------------------------------------------------------- jmp Initializate_Processor GDT_Tables: GDT_Null: Null_Discriptor1 dd 0x00 Null_Discriptor2 dd 0x00 GDT_CodeSegment_Address equ $-GDT_Tables GDT_CodeSegment: dw 0xffff dw 0x0000 db 0x00 db 10011010b db 11001111b db 0x00 GDT_DataSegment_Address equ $-GDT_Tables GDT_DataSegment: dw 0xffff dw 0x0000 db 0x00 db 10010010b db 11001111b db 0x00 GDT64_CodeSegment_Address equ $-GDT_Tables GDT64_CodeSegment: dd 0x0000 db 0x00 db 10011000b db 00000000b db 0x00 GDT_End: GDT_Address: dw GDT_End-GDT_Tables-1 dd GDT_Tables ;---------------------------------------------------------------------- IDT_Address: IDT_Address_Limit dw IDT_End-IDT_Tables-1 IDT_Address_Base dd IDT_Tables IDT_Tables: IDT_Discriptor_00: Target_Code_Segment_Offset1_00 dw 0x0000 ;Low bit Target_Code_Segment_Selector_00 dw GDT_CodeSegment_Selector Attribute_00 dw 0x8e00 Target_Code_Segment_Offset2_00 dw 0x0100 ;High bit IDT_End: ; -------------------------------------------------------------------------------------- Initializate_Processor: Mask_All_IRQ: mov al,255 out 0xa1,al out 0x21,al Enable_A20: Enable_A20_First: in al,0x64 test al,2 jnz Enable_A20_First mov al,0xd1 out 0x64,al Enable_A20_Second: in al,0x64 test al,2 jnz Enable_A20_Second mov al,0xdf out 0x60,al Disable_Interrupt: cli Load_GDT: lgdt [GDT_Address] lidt [IDT_Address] Enable_ProtectedMode: mov eax,0x11 mov cr0,eax jmp GDT_CodeSegment_Address:Code_32 Bits 32 Code_32: mov ax,GDT_DataSegment_Address mov ds,ax mov es,ax mov ss,ax mov fs,ax mov gs,ax mov esp,0xffff PAE: mov edi,0x100000 mov eax,0x110000 add eax,0x01 stosd mov edi,0x110000 mov eax,0x120000 add eax,0x01 stosd mov edi,0x120000 mov eax,0x130000 add eax,0x01 stosd mov edi,0x130000 mov eax,0x000001 mov ecx,0x200 STOSE_PTE: stosd add eax,0x1000 add edi,4 loop STOSE_PTE mov eax,cr4 bts eax,5 mov cr4,eax mov eax,0x100000 ; page directory location mov cr3,eax mov eax,cr0 mov ecx,0xc0000080 rdmsr bts eax,8 wrmsr mov eax,cr0 bts eax,31 mov cr0,eax db 0x66 db 0xea dd Start64 dw 0x18 bits 64 Start64: jmp $ Jian. 07/16/2005 ___________________________________________________________ ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä http://cn.mail.yahoo.com/?id=77071 From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 18 11:02:14 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CF4E16A42F for ; Mon, 18 Jul 2005 11:02:14 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 110C543D55 for ; Mon, 18 Jul 2005 11:02:14 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6IB2C7t098122 for ; Mon, 18 Jul 2005 11:02:12 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6IB2CbN098116 for freebsd-amd64@freebsd.org; Mon, 18 Jul 2005 11:02:12 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 18 Jul 2005 11:02:12 GMT Message-Id: <200507181102.j6IB2CbN098116@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-amd64@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 11:02:14 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/10/27] amd64/73211 amd64 FAST_IPSEC broken on amd64 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/11/26] amd64/59714 amd64 device timeout and ad0: WARNING - WRITE_D o [2004/07/28] amd64/69704 amd64 ext2/ext3 unstable in amd64 o [2004/07/28] amd64/69707 amd64 IPC32 dont work OK in amd64 FreeBSD o [2004/09/07] amd64/71471 amd64 Can not install 5.3beta3/amd64 on IBM eSe o [2004/10/28] amd64/73252 amd64 ad6: WARNING - READ_DMA interrupt was see o [2004/10/30] amd64/73322 amd64 unarchiving /etc to msdos fs locks up amd o [2004/11/01] amd64/73369 amd64 on-board firewire unreliable with Asus K8 o [2004/11/07] amd64/73650 amd64 5.3-release panics on boot o [2004/11/10] amd64/73775 amd64 Kernel panic (trap 12) when booting with o [2004/11/16] amd64/74014 amd64 5.3-RELEASE-AMD64 freezes on boot during o [2004/12/05] amd64/74747 amd64 System panic on shutdown when process wil o [2004/12/18] amd64/75209 amd64 5.3-Release panics on attempted boot from o [2004/12/23] amd64/75417 amd64 ACPI: SATA Hard-disk o [2005/01/12] amd64/76136 amd64 system halts before reboot o [2005/01/17] amd64/76336 amd64 racoon/setkey -D cases instant "Fatal Tra o [2005/02/02] amd64/77011 amd64 consisten 5.3-p5 make crash on installwor o [2005/02/04] amd64/77101 amd64 Please include ULi M1689 LAN, SATA, and A o [2005/02/17] amd64/77629 amd64 aMule hardlocks AMD64 system o [2005/02/23] amd64/77949 amd64 Pb boot FreeBSD 64 o [2005/03/04] amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/p o [2005/03/07] amd64/78558 amd64 installation o [2005/03/14] amd64/78848 amd64 sis driver on FreeBSD 5.x does not work o o [2005/04/12] amd64/79813 amd64 Will not install/run on amd64 nForce 4 pl o [2005/04/19] amd64/80114 amd64 kldload snd_ich causes interrupt storm wh o [2005/05/06] amd64/80691 amd64 amd64 kernel hangs on load o [2005/05/14] amd64/81037 amd64 SATA problem o [2005/05/19] amd64/81272 amd64 JDK 1.5 port doesn't build. o [2005/05/20] amd64/81325 amd64 KLD if_ath.ko: depends on ath_hal - not a o [2005/05/28] amd64/81602 amd64 SATA crashes with parallel pcm access o [2005/06/09] amd64/82071 amd64 incorrect -march's parameter to build 32b f [2005/06/12] amd64/82176 amd64 ehci causes crash on amd64 o [2005/06/19] amd64/82425 amd64 fxp0: device timeout, fxp interface dies o [2005/06/23] amd64/82555 amd64 Kernel Panic - after i connect to my "amd o [2005/07/05] amd64/83005 amd64 Memory Occupied during installation of th 34 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/01/11] amd64/61209 amd64 ppc0: cannot reserve I/O port range o [2004/02/21] amd64/63188 amd64 ti(4) broken on amd64 o [2004/07/28] amd64/69705 amd64 IPC problem (msq_queues) o [2004/07/28] amd64/69709 amd64 ACPI enabled then floppy don't work (5.2. o [2004/08/15] amd64/70500 amd64 bge driver for 3Com 3C996B on amd64 preve o [2004/12/02] amd64/74608 amd64 mpt hangs 5 minutes when booting o [2004/12/07] amd64/74811 amd64 df, nfs mount, negative Avail -> 32/64-bi o [2004/12/13] ports/75015 amd64 cvsup on amd64 with runsocks (socks5) cor o [2005/03/17] amd64/78954 amd64 kerberos 5 failed to build o [2005/05/16] amd64/81089 amd64 FreeBSD 5.4 released version can not use o [2005/06/12] amd64/82178 amd64 missing 32bit subsystem o [2005/06/18] amd64/82380 amd64 buildworld error in libc o [2005/06/18] amd64/82399 amd64 MSI K8N Neo4 Platinium is not supported o [2005/06/24] amd64/82599 amd64 ports/misc/mtx wont compile on amd64 14 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 18 11:11:15 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD40016A41C for ; Mon, 18 Jul 2005 11:11:15 +0000 (GMT) (envelope-from artur@robart.pl) Received: from talisker.ckmedia.pl (talisker.ckmedia.pl [85.128.90.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A40B43D45 for ; Mon, 18 Jul 2005 11:11:14 +0000 (GMT) (envelope-from artur@robart.pl) Received: from HELMUT (boj160.neoplus.adsl.tpnet.pl [83.29.25.160]) by talisker.ckmedia.pl (Postfix) with ESMTP id 9638F14B03 for ; Mon, 18 Jul 2005 13:11:10 +0200 (CEST) Date: Mon, 18 Jul 2005 13:11:08 +0200 From: Artur X-Mailer: The Bat! (v3.0) Professional X-Priority: 2 (High) Message-ID: <762465385.20050718131108@robart.pl> To: freebsd-amd64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: panic: sbflush_locked: cc 0 || mb 0xffffff002facf100 || mbcnt 512 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Artur List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 11:11:16 -0000 Hello i'm on Freebsd 5.4 on tuesday my server with amd64 (3000+) has started to panic: fatal trap 12 so i downloaded new sources and everything was ok until today 4 hours ago server hangs up with info panic: sbflush_locked: cc 0 || mb 0xffffff002facf100 || mbcnt 512 Now it's reboot nonstop 5 min uptime, sometimes 40 min uptime what's wrong ? which data i should show? Dump header from device /dev/ad4s1b Architecture: amd64 Architecture Version: 16777216 Dump Length: 1073676288B (1023 MB) Blocksize: 512 Dumptime: Mon Jul 18 12:26:46 2005 Hostname: sergiey.limeart.pl Magic: FreeBSD Kernel Dump Version String: FreeBSD 5.4-STABLE #0: Tue Jul 12 12:39:36 CEST 2005 root@:/usr/obj/usr/src/sys/THEBEST Panic String: sk_jfree: asked to free buffer that we don't manage! Dump Parity: 3048816918 Bounds: 3 Dump Status: good Dump header from device /dev/ad4s1b Architecture: amd64 Architecture Version: 16777216 Dump Length: 1073676288B (1023 MB) Blocksize: 512 Dumptime: Mon Jul 18 12:41:00 2005 Hostname: sergiey.limeart.pl Magic: FreeBSD Kernel Dump Version String: FreeBSD 5.4-STABLE #0: Tue Jul 12 12:39:36 CEST 2005 root@:/usr/obj/usr/src/sys/THEBEST Panic String: general protection fault Dump Parity: 1386446444 Bounds: 4 Dump Status: good Dump header from device /dev/ad4s1b Architecture: amd64 Architecture Version: 16777216 Dump Length: 1073676288B (1023 MB) Blocksize: 512 Dumptime: Mon Jul 18 12:48:43 2005 Hostname: sergiey.limeart.pl Magic: FreeBSD Kernel Dump Version String: FreeBSD 5.4-STABLE #0: Tue Jul 12 12:39:36 CEST 2005 root@:/usr/obj/usr/src/sys/THEBEST Panic String: sbflush_locked: cc 0 || mb 0xffffff002fb42700 || mbcnt 256 Dump Parity: 1589385234 Bounds: 5 Dump Status: good Artur From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 18 20:44:17 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC78D16A41C for ; Mon, 18 Jul 2005 20:44:17 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from rodan.vipstructures.com (rodan.vipstructures.com [66.195.71.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9382F43D45 for ; Mon, 18 Jul 2005 20:44:17 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from localhost (localhost.vipstructures.com [127.0.0.1]) by rodan.vipstructures.com (Postfix) with ESMTP id C963A1EE83F for ; Mon, 18 Jul 2005 16:44:16 -0400 (EDT) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by rodan.vipstructures.com (Postfix) with ESMTP id 8F9C61EE83A for ; Mon, 18 Jul 2005 16:44:16 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Jul 2005 16:45:47 -0400 Message-ID: <9BC86C67C3AF7646B9C5382020457A9456EB66@VIP10-WIN2K> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 3Ware 3dm tool Thread-Index: AcWI5HXrAfwI1Z1vRheUfCZC9j1/1AC9LJUw From: "Toll, Eric" To: "Francisco Reyes" , "FreeBSD amd64 List" Cc: Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 20:44:18 -0000 =20 > I installed the 3dm program from a file called=20 > 3dm2-freebsd-x86-9.2.tgz >=20 I told you what to get and do more than one month ago. Did this not work? It sounded as if you installed it. Not sure if 3dm2 works with 7000 series cards. Why ask for help if you are not going to listen to answers? > -----Original Message----- > From: owner-freebsd-amd64@freebsd.org=20 > [mailto:owner-freebsd-amd64@freebsd.org] On Behalf Of Francisco Reyes > Sent: Tuesday, June 07, 2005 5:24 PM > To: FreeBSD amd64 List > Subject: Re: 3ware cards work in AMD64 port? >=20 > On Tue, 7 Jun 2005, Freddie Cash wrote: >=20 > Just finished installing the base OS. > In a previous post Eric Toll mentioned he got 3dm working in AMD64. >=20 > Eric, or anyone else that has 3dm working, how did you get it to work? > Which port? When I tried the 3dm port it said it was only for=20 > i386 architecture. Sorry for the time delay, I can't always watch the list... This is the one you want (below) Even though it says 9000 series, it works fine for my 8006 series card. I did not update my drivers or firmware, for fear of an incompatibility with the data already on the RAID set. Note it's 3DM2 and it's 64 Bit. =20 3ware 9000 Series 3DM2 FreeBSD sources for 64 Bit AMD - 9.2 release=20 Filename: 3dm-amd64-bsd-9_2.tgz =20 And here is a paste from my web gui Interface: =20 Controller Summary ID Model Serial # Firmware Driver Status 0 8006-2LP L18501A5140096 FE8S 1.05.00.068 1.50.01.002 OK Last updated Thu, Jun 09, 2005 04:46.15PM This page will automatically refresh every 5 minute(s) 3DM 2 version 2.03.00.028 (64 bit) Copyright (c) 1997-2004 3ware, Inc. All rights reserved. From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 18 21:14:41 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2904A16A41C for ; Mon, 18 Jul 2005 21:14:41 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1D7243D46 for ; Mon, 18 Jul 2005 21:14:40 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 101217DBF; Mon, 18 Jul 2005 17:14:40 -0400 (EDT) Date: Mon, 18 Jul 2005 17:14:40 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Vinod Kashyap In-Reply-To: <2B3B2AA816369A4E87D7BE63EC9D2F262F4449@SDCEXCHANGE01.ad.amcc.com> Message-ID: <20050718171354.K26264@zoraida.natserv.net> References: <2B3B2AA816369A4E87D7BE63EC9D2F262F4449@SDCEXCHANGE01.ad.amcc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 21:14:41 -0000 On Fri, 15 Jul 2005, Vinod Kashyap wrote: > You should get a file called 3dm-amd64-bsd-9_2.tgz. Thanks much for the name. > You can get it from here: http://www.3ware.com/support/downloadnew.asp Do you recall which options you used. Have tried several, but that file is not listed. From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 18 21:20:02 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85ABD16A41C for ; Mon, 18 Jul 2005 21:20:02 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3746243D45 for ; Mon, 18 Jul 2005 21:20:02 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 6E7417DD8; Mon, 18 Jul 2005 17:20:01 -0400 (EDT) Date: Mon, 18 Jul 2005 17:20:01 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: "Toll, Eric" In-Reply-To: <9BC86C67C3AF7646B9C5382020457A9456EB66@VIP10-WIN2K> Message-ID: <20050718171445.S26264@zoraida.natserv.net> References: <9BC86C67C3AF7646B9C5382020457A9456EB66@VIP10-WIN2K> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 21:20:02 -0000 On Mon, 18 Jul 2005, Toll, Eric wrote: > I told you what to get and do more than one month ago. > Did this not work? Going throught the different download options have not been able to find the file. > Not sure if 3dm2 works with 7000 series cards. Why ask for > help if you are not going to listen to answers? I am trying to follow it. Unfortunately there is not direct link to the file. Have to go through the menu selections and have not yet figure out which option: For the card the options are 3ware 9000 series 3ware 7000 and 8000 >From your old email if I recall correctly you said to go with the 9000. Then tried Pre release and 9.21.. then FreeBSD. None of those led me to the file. From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 18 21:26:06 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7441B16A41C for ; Mon, 18 Jul 2005 21:26:06 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from rodan.vipstructures.com (rodan.vipstructures.com [66.195.71.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F72A43D46 for ; Mon, 18 Jul 2005 21:26:05 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from localhost (localhost.vipstructures.com [127.0.0.1]) by rodan.vipstructures.com (Postfix) with ESMTP id 621DF1EE83E for ; Mon, 18 Jul 2005 17:26:05 -0400 (EDT) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by rodan.vipstructures.com (Postfix) with ESMTP id 29EB91EE83A for ; Mon, 18 Jul 2005 17:26:05 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Jul 2005 17:27:35 -0400 Message-ID: <9BC86C67C3AF7646B9C5382020457A9456EB67@VIP10-WIN2K> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 3Ware 3dm tool Thread-Index: AcWL3q4gVmikEwB+Sxe3qk7eK69knAAAMXhg From: "Toll, Eric" To: "Francisco Reyes" Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 21:26:06 -0000 Funny when I click this link: http://www.3ware.com/support/downloadpageeng.asp?SNO=3D2 The only one I see is the correct download. =20 > -----Original Message----- > From: Francisco Reyes [mailto:lists@natserv.com]=20 > Sent: Monday, July 18, 2005 5:20 PM > To: Toll, Eric > Cc: FreeBSD amd64 List > Subject: RE: 3Ware 3dm tool >=20 > On Mon, 18 Jul 2005, Toll, Eric wrote: >=20 > > I told you what to get and do more than one month ago. > > Did this not work? >=20 > Going throught the different download options have not been=20 > able to find the file. >=20 > > Not sure if 3dm2 works with 7000 series cards. Why ask for=20 > help if you=20 > > are not going to listen to answers? >=20 > I am trying to follow it. > Unfortunately there is not direct link to the file. Have to=20 > go through the menu selections and have not yet figure out > which option: > For the card the options are > 3ware 9000 series > 3ware 7000 and 8000 >=20 > From your old email if I recall correctly you said to go with=20 > the 9000. > Then tried Pre release and 9.21.. then FreeBSD. None of those=20 > led me to the file. >=20 >=20 From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 18 21:33:35 2005 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60B8016A41F for ; Mon, 18 Jul 2005 21:33:35 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5DE543D49 for ; Mon, 18 Jul 2005 21:33:34 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id j6ILafjZ060743; Mon, 18 Jul 2005 17:36:41 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-amd64@FreeBSD.org Date: Mon, 18 Jul 2005 17:33:08 -0400 User-Agent: KMail/1.6.2 References: <9BC86C67C3AF7646B9C5382020457A9456EB67@VIP10-WIN2K> In-Reply-To: <9BC86C67C3AF7646B9C5382020457A9456EB67@VIP10-WIN2K> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200507181733.14706.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.85.1/982/Sun Jul 17 08:45:12 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: "Toll, Eric" Subject: Re: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 21:33:35 -0000 On Monday 18 July 2005 05:27 pm, Toll, Eric wrote: > Funny when I click this link: > > > http://www.3ware.com/support/downloadpageeng.asp?SNO=2 > > > The only one I see is the correct download. They removed it from main download page. I guess they are working on 5.2.1 release and it's not ready for FreeBSD/amd64 yet. Jung-uk Kim From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 18 21:34:28 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5937E16A41F for ; Mon, 18 Jul 2005 21:34:28 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 104BB43D46 for ; Mon, 18 Jul 2005 21:34:28 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 3081A7DB2; Mon, 18 Jul 2005 17:34:27 -0400 (EDT) Date: Mon, 18 Jul 2005 17:34:27 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Vinod Kashyap In-Reply-To: <2B3B2AA816369A4E87D7BE63EC9D2F262F4554@SDCEXCHANGE01.ad.amcc.com> Message-ID: <20050718173330.Y26264@zoraida.natserv.net> References: <2B3B2AA816369A4E87D7BE63EC9D2F262F4554@SDCEXCHANGE01.ad.amcc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 21:34:28 -0000 On Mon, 18 Jul 2005, Vinod Kashyap wrote: > '3ware 9000 Series', >'9.2' <========= That did the trick. :-) Thanks! From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 18 21:37:25 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A1F916A41C for ; Mon, 18 Jul 2005 21:37:25 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B42843D48 for ; Mon, 18 Jul 2005 21:37:25 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id A1A2C7DB2; Mon, 18 Jul 2005 17:37:24 -0400 (EDT) Date: Mon, 18 Jul 2005 17:37:24 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Vinod Kashyap In-Reply-To: <2B3B2AA816369A4E87D7BE63EC9D2F262F4555@SDCEXCHANGE01.ad.amcc.com> Message-ID: <20050718173612.I26264@zoraida.natserv.net> References: <2B3B2AA816369A4E87D7BE63EC9D2F262F4555@SDCEXCHANGE01.ad.amcc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "Toll, Eric" , FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 21:37:25 -0000 On Mon, 18 Jul 2005, Vinod Kashyap wrote: >> Unfortunately there is not direct link to the file. Have to > http://www.3ware.com/support/downloadpageeng.asp?SNO=2 Thanks again.. I think that is the best thing to give to people. :-) The "general" download link the person may get confused with the different options. From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 18 21:38:37 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4170F16A41C for ; Mon, 18 Jul 2005 21:38:37 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED09543D48 for ; Mon, 18 Jul 2005 21:38:36 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 6DB3D7DC3; Mon, 18 Jul 2005 17:38:36 -0400 (EDT) Date: Mon, 18 Jul 2005 17:38:36 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: "Toll, Eric" In-Reply-To: <9BC86C67C3AF7646B9C5382020457A9456EB67@VIP10-WIN2K> Message-ID: <20050718173730.Y26264@zoraida.natserv.net> References: <9BC86C67C3AF7646B9C5382020457A9456EB67@VIP10-WIN2K> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 21:38:37 -0000 On Mon, 18 Jul 2005, Toll, Eric wrote: > Funny when I click this link: > http://www.3ware.com/support/downloadpageeng.asp?SNO=2 > The only one I see is the correct download. Until Vinod posted that link a few minutes ago I don't recall ever reading that URL. I think that's the best way to get people to get the file...as long as they don't move it. From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 19 03:42:48 2005 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1296316A41F for ; Tue, 19 Jul 2005 03:42:48 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D11B243D48 for ; Tue, 19 Jul 2005 03:42:47 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id B233972DD4; Mon, 18 Jul 2005 20:42:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id AD41072DCB; Mon, 18 Jul 2005 20:42:47 -0700 (PDT) Date: Mon, 18 Jul 2005 20:42:47 -0700 (PDT) From: Doug White To: Attila Nagy In-Reply-To: <42D7E779.60203@fsn.hu> Message-ID: <20050718204015.T41415@carver.gumbysoft.com> References: <42D7E779.60203@fsn.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: amd64@freebsd.org Subject: Re: DL145G2 cache memory X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 03:42:48 -0000 On Fri, 15 Jul 2005, Attila Nagy wrote: > Hello, > > On an HP DL145G2, I see something like the following at startup time > (BIOS screens): > Main memory: 4092 MB > Cache memory: 1024 MB > > The machine has 4 GB RAM, and the dmesg tells me: > real memory = 5368709120 (5120 MB) > avail memory = 4119322624 (3928 MB) > > Do you have any ideas what should be this? Both are correct, it just depends on how you count it. The "real memory" number from FreeBSD is apparently skipping over the PCI memory hole, which is a Good Thing since that amount of memory is not being lost. The CPU cache is not counted as part of main memory. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 19 14:58:50 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDE2216A41F; Tue, 19 Jul 2005 14:58:50 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7657F43D45; Tue, 19 Jul 2005 14:58:50 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j6JEwn0V022451; Tue, 19 Jul 2005 07:58:49 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j6JEwnbT022450; Tue, 19 Jul 2005 07:58:49 -0700 (PDT) (envelope-from obrien) Date: Tue, 19 Jul 2005 07:58:49 -0700 From: "David O'Brien" To: Vivek Khera Message-ID: <20050719145849.GB22045@dragon.NUXI.org> References: <20050714033746.46764.qmail@web52304.mail.yahoo.com> <2BCB0235-CDF6-4CCA-A81A-57C2DF6651B7@khera.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2BCB0235-CDF6-4CCA-A81A-57C2DF6651B7@khera.org> X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Cc: freebsd-openoffice@freebsd.org, freebsd-amd64 List Subject: Re: ELF interpreter not found? OpenOffice on Rel 5.4, amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 14:58:50 -0000 On Thu, Jul 14, 2005 at 12:07:50PM -0400, Vivek Khera wrote: > but why can't you build a 64-bit OOo? (not that I've tried...) OOo isn't 64-bit clean. Not a single platform runs it as a 64-bit application. Even on Sparc Solaris. -- -- David (obrien@FreeBSD.org) From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 19 15:26:13 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE06516A420 for ; Tue, 19 Jul 2005 15:26:13 +0000 (GMT) (envelope-from kono@kth.se) Received: from mx1.kth.se (mx1.kth.se [130.237.32.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAD6143D4C for ; Tue, 19 Jul 2005 15:26:12 +0000 (GMT) (envelope-from kono@kth.se) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx1.kth.se (Postfix) with ESMTP id 28E20141040 for ; Tue, 19 Jul 2005 17:26:11 +0200 (CEST) Received: from mx1.kth.se ([127.0.0.1]) by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06971-01-97 for ; Tue, 19 Jul 2005 17:26:09 +0200 (CEST) Received: from webmail.sys.kth.se (phidippides.sys.kth.se [130.237.32.163]) by mx1.kth.se (Postfix) with ESMTP id ACCF31407D7 for ; Tue, 19 Jul 2005 17:26:09 +0200 (CEST) Received: from 130.237.35.96 (SquirrelMail authenticated user kono) by webmail.sys.kth.se with HTTP; Tue, 19 Jul 2005 17:26:09 +0200 (CEST) Message-ID: <49213.130.237.35.96.1121786769.squirrel@webmail.sys.kth.se> Date: Tue, 19 Jul 2005 17:26:09 +0200 (CEST) From: "Olexandr Konovalenko" To: freebsd-amd64@freebsd.org User-Agent: SquirrelMail/1.4.4-2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at kth.se Subject: Re: better optimization flags for opteron (amd64)// -ffast-math and -O3 are not friends X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 15:26:13 -0000 hi! I found that on my system combination of -ffast-math AND -O3 is slower than -O0 on AMD64 (interestingly it is true for Xeon EM64 as well), how can it be? though just -O3 gives fastest double precision floating point computations. On 32bit platform this effect is not observed. please look here: http://daemon.nanophys.kth.se/~kono/testfcpu the compiler I use: Using built-in specs. Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 my platform: uname -a FreeBSD daemon.nanophys.kth.se 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Apr 19 20:26:31 CEST 2005 root@daemon.nanophys.kth.se:/usr/obj/usr/src/sys/DAEMON64 amd64 -- Alexander Konovalenko From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 19 18:48:32 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D21716A41F for ; Tue, 19 Jul 2005 18:48:32 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from rodan.vipstructures.com (rodan.vipstructures.com [66.195.71.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 467E743D45 for ; Tue, 19 Jul 2005 18:48:31 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from localhost (localhost.vipstructures.com [127.0.0.1]) by rodan.vipstructures.com (Postfix) with ESMTP id 41C111EE83D for ; Tue, 19 Jul 2005 14:48:31 -0400 (EDT) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by rodan.vipstructures.com (Postfix) with ESMTP id 103001EE83A for ; Tue, 19 Jul 2005 14:48:30 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jul 2005 14:50:03 -0400 Message-ID: <9BC86C67C3AF7646B9C5382020457A944E4DA4@VIP10-WIN2K> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: better optimization flags for opteron (amd64)// -ffast-math and -O3 are not friends Thread-Index: AcWMdoSlV9FGfr6URuC4oLOS3HrZ9gAG23Dg From: "Toll, Eric" To: Subject: RE: better optimization flags for opteron (amd64)// -ffast-math and -O3 are not friends X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 18:48:32 -0000 15834270 =3D g++ dual operon 242's @ 1.6Ghz ea. default compile > -----Original Message----- > From: owner-freebsd-amd64@freebsd.org=20 > [mailto:owner-freebsd-amd64@freebsd.org] On Behalf Of=20 > Olexandr Konovalenko > Sent: Tuesday, July 19, 2005 11:26 AM > To: freebsd-amd64@freebsd.org > Subject: Re: better optimization flags for opteron (amd64)//=20 > -ffast-math and -O3 are not friends >=20 > hi! >=20 > I found that on my system combination of -ffast-math AND -O3=20 > is slower than -O0 on AMD64 (interestingly it is true for=20 > Xeon EM64 as well), how can it be? Also true for Opteron. My Score was: 15834270 =3D g++ dual operon 242's @ 1.6 default compile options, -O3 was 14944704 Interesting program, now *who/what* can beat the score of: 20152707 ???? (Post cpu specs please, I like to see an SMP Opteron 248 score...) From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 19 20:31:16 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9075116A41F for ; Tue, 19 Jul 2005 20:31:16 +0000 (GMT) (envelope-from griepent@wias-berlin.de) Received: from smtp1.wias-berlin.de (scan.wias-berlin.de [62.141.177.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 030B843D48 for ; Tue, 19 Jul 2005 20:31:15 +0000 (GMT) (envelope-from griepent@wias-berlin.de) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.wias-berlin.de (Postfix) with ESMTP id D942419C013; Tue, 19 Jul 2005 22:31:13 +0200 (CEST) Received: from localhost (hilbert.wias-berlin.de [62.141.177.108]) by smtp1.wias-berlin.de (Postfix) with ESMTP id 3BE7B19C012; Tue, 19 Jul 2005 22:31:12 +0200 (CEST) Date: Tue, 19 Jul 2005 22:31:10 +0200 (CEST) Message-Id: <20050719.223110.2004118089.griepent@wias-berlin.de> To: freebsd-amd64@freebsd.org From: Jens Andre Griepentrog X-Mailer: Mew version 2.0 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at wias-berlin.de Cc: martin@mullet.se Subject: Re: Stable Opteron configurations with 16GB or more X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: griepent@wias-berlin.de List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 20:31:16 -0000 > Thu, 30 Jun 2005 06:56:18 +0200 > Martin Nilsson wrote: > > Jens Andre Griepentrog wrote: > > Dear FreeBSD AMD64 Community, > > > > I would like to get an Opteron compute server with a large amount > > of memory appropriate for three-dimensional numerical simulations. > > > > I have got some offer for a system with a Tyan S2882-D or S2892 board > > with two Opterons 248HE, U320 SCSI disks, and 16GB memory. But after > > tweaking out more information the same dealer concedes severe BIOS > > problems with the 90nm Opteron version connected to more than 2GB > > of memory! So one can feel a little bit irritated having in mind > > that all 248HE Opterons are manufactured in 90nm process ... > > We are currently trying to get a system with Tyan K8WE (S2895), > 2*Opteron 252, 8*2GB memory and MegaRAID 320-2e card with 10*15k disks > to work properly. The customer is using Linux for FEM simulations and we > have problems with both the memory and the MegaRAID together with the > Tyan motherboard. At this point I can't recomend Tyan at all :-( > > > It would be nice to hear from experienced BSD users which combinations > > of Opteron mainboards and processors work stable with 16GB or more of > > installed memory. > > Sorry, I don't have one that works, we are trying to replace the memory > with another brand to get it to work. We will test the new Supermicro > H8DCE boards if they arrives here before we have solved the problems > with the Tyan board. > Thank you for that information, Martin. Do you have some experience with Supermicro H8D** boards and 16GB or more of installed memory? Best regards, Jens A. Griepentrog From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 19 21:13:13 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C46F316A41F; Tue, 19 Jul 2005 21:13:13 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from rodan.vipstructures.com (rodan.vipstructures.com [66.195.71.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6438343D49; Tue, 19 Jul 2005 21:13:13 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from localhost (localhost.vipstructures.com [127.0.0.1]) by rodan.vipstructures.com (Postfix) with ESMTP id A127F1EE83F; Tue, 19 Jul 2005 17:13:12 -0400 (EDT) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by rodan.vipstructures.com (Postfix) with ESMTP id 4C5011EE83D; Tue, 19 Jul 2005 17:13:12 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jul 2005 17:14:44 -0400 Message-ID: <9BC86C67C3AF7646B9C5382020457A944E4DA6@VIP10-WIN2K> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to build JDK15 on AMD64 with FreeBSD? Thread-Index: AcV6BxjirhEEodl+Q1Sl3E/G6Nf+qQSnsobg From: "Toll, Eric" To: "Greg Lewis" , "Neo Jia" Cc: freebsd-amd64@freebsd.org, freebsd-java@freebsd.org Subject: RE: How to build JDK15 on AMD64 with FreeBSD? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 21:13:13 -0000 >=20 > We use the Sun SCSL source code as the base for our port. > However, many patches are required for it to build on=20 > FreeBSD. These are contained in a patchset that you can download at >=20 > http://www.eyesbeyond.com/freebsddom/java/jdk15.html >=20 > The easiest way to do this is simply to use the jdk15 port. =20 > Simply do the > following: >=20 > cd /usr/ports/java/jdk15 > make install >=20 > and follow the instructions. There is one caveat on amd64 --=20 > one of the build commands will fail strangely (this is a bug=20 > in the Linux emulation on amd64 as far as I can determine). =20 > Simply execute that command by hand and restart the build. > Also, if you have an EM64T rather than an actual > amd64 then you will need one patch (just reply to me and I > can send it to you or search the mailing list archives and > you should find it). >=20 Is this the below command that fails and I am suppose to run by hand?? I cannot get jdk15 or jdk14 running, I am not sure about linux compatibility. I heard rumors that other got theirs running in NATIVE mode, which seems like it would be better but in all honestly I'm confused. Help would be appreciated. > Attempting to fetch from ftp://ftp.crc.ca/pub/systems/linux/redhat/ftp.redhat.com/lin ux/updates/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.crc.ca/pub/systems/linux/redhat/ftp.redhat.com/lin ux/updates/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64.r pm: F ile unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.univie.ac.at/systems/linux/ftp.redhat.com/redhat/l inux/updates/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.univie.ac.at/systems/linux/ftp.redhat.com/redhat/l inux/updates/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64 .rpm: File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.redhat.de/pub/redhat/linux/updates/8.0/en/os/amd64 /. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.redhat.de/pub/redhat/linux/updates/8.0/en/os/amd64 /glibc-common-2.3.2-4.80.8.amd64.rpm: File unavailable (e.g., fil e not found, no access) =3D> Attempting to fetch from ftp://ftp.lip6.fr/pub/linux/distributions/redhat/linux/updat es/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.lip6.fr/pub/linux/distributions/redhat/linux/updat es/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64.rpm: File unav ailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.inet.it/pub/Linux/redhat/updates/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.inet.it/pub/Linux/redhat/updates/8.0/en/os/amd64/g libc-common-2.3.2-4.80.8.amd64.rpm: File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/updates/ 8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/updates/ 8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64.rpm: File unavail able (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.icm.edu.pl/pub/linux/redhat/linux/updates/8.0/en/o s/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.icm.edu.pl/pub/linux/redhat/linux/updates/8.0/en/o s/amd64/glibc-common-2.3.2-4.80.8.amd64.rpm: Not logged in =3D> Attempting to fetch from ftp://ftp.mirrorservice.org/sites/ftp.redhat.com/pub/redhat/ linux/updates/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.mirrorservice.org/sites/ftp.redhat.com/pub/redhat/ linux/updates/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd6 4.rpm : File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.cs.nott.ac.uk/Mirrors/ftp.redhat.com/pub/redhat/li nux/updates/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 19 21:17:50 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C523816A41F for ; Tue, 19 Jul 2005 21:17:50 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from rodan.vipstructures.com (rodan.vipstructures.com [66.195.71.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70C5643D49 for ; Tue, 19 Jul 2005 21:17:50 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from localhost (localhost.vipstructures.com [127.0.0.1]) by rodan.vipstructures.com (Postfix) with ESMTP id F14911EE83D for ; Tue, 19 Jul 2005 17:17:49 -0400 (EDT) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by rodan.vipstructures.com (Postfix) with ESMTP id C4EE61EE83A for ; Tue, 19 Jul 2005 17:17:49 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jul 2005 17:19:22 -0400 Message-ID: <9BC86C67C3AF7646B9C5382020457A9456EB74@VIP10-WIN2K> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Java Woes - /usr/ports/emulators/linux_base-8/distinfo.amd64 Thread-Index: AcWMp4dWQaj+/wwZR7W/IVBDKk6j0Q== From: "Toll, Eric" To: Subject: Java Woes - /usr/ports/emulators/linux_base-8/distinfo.amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 21:17:50 -0000 I tried to install /usr/ports/java/jdk14 after cvsuping my ports, note the nice warning message from the port which claims that itself may be unstable, and that I should install itself. WTF?! [root@rodan]/usr/ports/java/jdk14(174)# make install clean =3D=3D=3D> jdk-1.4.2p7_1 depends on executable: gm4 - found =3D=3D=3D> jdk-1.4.2p7_1 depends on executable: zip - found =3D=3D=3D> jdk-1.4.2p7_1 depends on file: /usr/local/include/nspr/prtypes.h - found =3D=3D=3D> jdk-1.4.2p7_1 depends on file: /usr/X11R6/lib/libXm.so - found =3D=3D=3D> jdk-1.4.2p7_1 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not found =3D=3D=3D> Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in /usr/ports/java/linux-sun-jdk14 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Warning: This JDK may be unstable. You are advised to use the native FreeBSD JDK, in ports/java/jdk14. This Java VM will attempt to obtain some system information by accessing files in linux's procfs. You must install the Linux emulation procfs filesystem for this to work correctly. The JVM will exhibit various problems otherwise. This can be accomplished by adding the following line to your /etc/fstab file: linprocfs /compat/linux/proc linprocfs rw 0 0 and then, as root, executing the commands: kldload linprocfs mount /compat/linux/proc ... /usr/ports/emulators/linux_base-8/distinfo.amd64 -> No such file or directory anywhere on the net. I wonder why the port is asking for something which apparently does not exist. From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 19 21:22:23 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36FAA16A41F for ; Tue, 19 Jul 2005 21:22:23 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from rodan.vipstructures.com (rodan.vipstructures.com [66.195.71.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6642A43D49 for ; Tue, 19 Jul 2005 21:22:22 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from localhost (localhost.vipstructures.com [127.0.0.1]) by rodan.vipstructures.com (Postfix) with ESMTP id E5FEB1EE83D for ; Tue, 19 Jul 2005 17:22:21 -0400 (EDT) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by rodan.vipstructures.com (Postfix) with ESMTP id B7A661EE83A for ; Tue, 19 Jul 2005 17:22:21 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jul 2005 17:23:54 -0400 Message-ID: <9BC86C67C3AF7646B9C5382020457A9456EB75@VIP10-WIN2K> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ColdFusion Anyone? (Re: Java goal) Thread-Index: AcWMqClvAfCI0QkaSRWQW4aAVwEmeA== From: "Toll, Eric" To: Subject: ColdFusion Anyone? (Re: Java goal) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 21:22:23 -0000 I'd like to get Macromedia ColdFusion (jar version) running on FreeBSD AMD64? Has anyone done this? I really don't want to have to put up a new linux/win32 box just for this. Many Thanks. Eric From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 19 23:10:41 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C6E616A41F for ; Tue, 19 Jul 2005 23:10:41 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 025EA43D45 for ; Tue, 19 Jul 2005 23:10:40 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 6CB217DA8; Tue, 19 Jul 2005 19:10:40 -0400 (EDT) Date: Tue, 19 Jul 2005 19:10:40 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Vinod Kashyap In-Reply-To: <2B3B2AA816369A4E87D7BE63EC9D2F262F4555@SDCEXCHANGE01.ad.amcc.com> Message-ID: <20050719190526.J47246@zoraida.natserv.net> References: <2B3B2AA816369A4E87D7BE63EC9D2F262F4555@SDCEXCHANGE01.ad.amcc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 23:10:41 -0000 On Mon, 18 Jul 2005, Vinod Kashyap wrote: > http://www.3ware.com/support/downloadpageeng.asp?SNO=2 I got it installed and it seems to work. Is there any other way other than web interface to interact with the program? Specially for remote access monitoring. Links browser doesn't work with the tool and I don't even have X on the machine. I will configure it to allow non local connections, but only after I setup a firewall for the machine. It's already behind a firewall, but I figure will just make a trivial rule to only allow a single machine in the office to connect to the port. From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 00:19:57 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72FE516A41F for ; Wed, 20 Jul 2005 00:19:57 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EAF943D45 for ; Wed, 20 Jul 2005 00:19:57 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 667847D98; Tue, 19 Jul 2005 20:19:56 -0400 (EDT) Date: Tue, 19 Jul 2005 20:19:56 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Vinod Kashyap In-Reply-To: <2B3B2AA816369A4E87D7BE63EC9D2F26501241@SDCEXCHANGE01.ad.amcc.com> Message-ID: <20050719201912.D47637@zoraida.natserv.net> References: <2B3B2AA816369A4E87D7BE63EC9D2F26501241@SDCEXCHANGE01.ad.amcc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 00:19:57 -0000 On Tue, 19 Jul 2005, Vinod Kashyap wrote: >>> http://www.3ware.com/support/downloadpageeng.asp?SNO=2 > You can login from a remote machine and run tw_cli... Didn't find any binary under that name. From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 00:24:10 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFE0416A41F for ; Wed, 20 Jul 2005 00:24:10 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id B463843D46 for ; Wed, 20 Jul 2005 00:24:10 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-27-86-22.san.res.rr.com [66.27.86.22]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j6K0O5w7012756 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Tue, 19 Jul 2005 17:24:05 -0700 Message-Id: <6.1.0.6.2.20050719172029.049f08c0@cobalt.antimatter.net> X-Sender: lists@cobalt.antimatter.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Tue, 19 Jul 2005 17:21:02 -0700 To: Francisco Reyes , Vinod Kashyap From: Glenn Dawson In-Reply-To: <20050719201912.D47637@zoraida.natserv.net> References: <2B3B2AA816369A4E87D7BE63EC9D2F26501241@SDCEXCHANGE01.ad.amcc.com> <20050719201912.D47637@zoraida.natserv.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 00:24:11 -0000 At 05:19 PM 7/19/2005, Francisco Reyes wrote: >On Tue, 19 Jul 2005, Vinod Kashyap wrote: > >>>>http://www.3ware.com/support/downloadpageeng.asp?SNO=2 > >>You can login from a remote machine and run tw_cli... > >Didn't find any binary under that name. Try here: http://www.3ware.com/support/download_9.2.asp?SNO=500 -Glenn >_______________________________________________ >freebsd-amd64@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 >To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 04:19:57 2005 Return-Path: X-Original-To: amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29AF116A41F for ; Wed, 20 Jul 2005 04:19:57 +0000 (GMT) (envelope-from mi@blue.virtual-estates.net) Received: from mail25.sea5.speakeasy.net (mail25.sea5.speakeasy.net [69.17.117.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42C8E43D49 for ; Wed, 20 Jul 2005 04:19:56 +0000 (GMT) (envelope-from mi@blue.virtual-estates.net) Received: (qmail 21758 invoked from network); 20 Jul 2005 04:19:55 -0000 Received: from aldan.algebra.com ([216.254.65.224]) (envelope-sender ) by mail25.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 20 Jul 2005 04:19:55 -0000 Received: from blue.virtual-estates.net ([10.0.1.140]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j6K4JqZt086888 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Jul 2005 00:19:53 -0400 (EDT) (envelope-from mi@blue.virtual-estates.net) Received: from blue.virtual-estates.net (blue [127.0.0.1]) by blue.virtual-estates.net (8.13.3/8.13.3) with ESMTP id j6K4Jpqx083007; Wed, 20 Jul 2005 00:19:51 -0400 (EDT) (envelope-from mi@blue.virtual-estates.net) Received: (from mi@localhost) by blue.virtual-estates.net (8.13.3/8.13.3/Submit) id j6K4Jpgd083006; Wed, 20 Jul 2005 00:19:51 -0400 (EDT) (envelope-from mi) From: "Mikhail T." Message-Id: <200507200419.j6K4Jpgd083006@blue.virtual-estates.net> To: stable@FreeBSD.org, amd64@FreeBSD.org Date: Wed, 20 Jul 2005 00:19:51 -0400 (EDT) X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 04:19:57 -0000 Hello! After a couple of huge tarball extracts (`make extract' in jdk14 and jdk15) I noticed, things are a little slower. During the extracts, the mouse was moving with visible jerks. Indeed, the system seems VERY busy: 11 users Load 1.18 1.52 1.40 Jul 20 00:14 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 1060360 105932 1341624 145252 151016 count All 1750432 115908 8911872 174532 pages zfod Interrupts Proc:r p d s w Csw Trp Sys Int Sof Flt cow 1277 total 4 1146 1819 345 443k 1640 672 266572 wire 4 irq1: atkb 1204008 act 1004 irq0: clk 84.7%Sys 0.0%Intr 15.3%User 0.0%Nice 0.0%Idl 241536 inact irq6: fdc0 | | | | | | | | | | 62232 cache 128 irq8: rtc ==========================================>>>>>> 88784 free irq9: acpi daefr 113 irq12: psm Namei Name-cache Dir-cache prcfr irq15: ata Calls hits % hits % react irq16: ahc 3030 3030 100 pdwak 26 irq17: pcm pdpgs irq18: fwo Disks da0 cd0 cd1 pass0 pass1 pass2 intrn irq19: ohc KB/t 4.00 0.00 0.00 0.00 0.00 0.00 218912 buf irq27: skc tps 2 0 0 0 0 0 21 dirty 2 irq29: cis MB/s 0.01 0.00 0.00 0.00 0.00 0.00 100000 desiredvnodes % busy 0 0 0 0 0 0 92043 numvnodes The machine is idle and is not doing anything in user-space according to both top and vmstat's "pigs" display. Yet it is noticably slower. Trying to compile something pushes the load above 2. What is it doing? This is a single-CPU Opteron running: FreeBSD 5.4-STABLE #0: Fri Jun 10 09:11:30 EDT 2005 amd64 The box has 2Gb of RAM, but NO SWAP. Any ideas? Thanks! -mi From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 05:35:49 2005 Return-Path: X-Original-To: amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCCF216A41F; Wed, 20 Jul 2005 05:35:49 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDEF243D48; Wed, 20 Jul 2005 05:35:48 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j6K5YXgK070763; Tue, 19 Jul 2005 22:34:33 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j6K5YW6N070762; Tue, 19 Jul 2005 22:34:32 -0700 (PDT) (envelope-from jmg) Date: Tue, 19 Jul 2005 22:34:32 -0700 From: John-Mark Gurney To: "Mikhail T." Message-ID: <20050720053432.GA62369@funkthat.com> Mail-Followup-To: "Mikhail T." , stable@FreeBSD.org, amd64@FreeBSD.org References: <200507200419.j6K4Jpgd083006@blue.virtual-estates.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200507200419.j6K4Jpgd083006@blue.virtual-estates.net> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p1 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: amd64@FreeBSD.org, stable@FreeBSD.org Subject: Re: OS suddenly VERY busy X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 05:35:49 -0000 Mikhail T. wrote this message on Wed, Jul 20, 2005 at 00:19 -0400: > After a couple of huge tarball extracts (`make extract' in jdk14 and jdk15) > I noticed, things are a little slower. During the extracts, the mouse was > moving with visible jerks. Indeed, the system seems VERY busy: > > 11 users Load 1.18 1.52 1.40 Jul 20 00:14 > > Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER > Tot Share Tot Share Free in out in out > Act 1060360 105932 1341624 145252 151016 count > All 1750432 115908 8911872 174532 pages > zfod Interrupts > Proc:r p d s w Csw Trp Sys Int Sof Flt cow 1277 total > 4 1146 1819 345 443k 1640 672 266572 wire 4 irq1: atkb ^^^^ well, I'd say 443k syscalls/time interval isn't doing nothing... [...] > The machine is idle and is not doing anything in user-space according to both > top and vmstat's "pigs" display. the problem is that your machine is sooooo fast that all of the processes that are running are exiting before they can be observed by pigs or top (or even accumulate enough cpu time to be worth showing)... > Yet it is noticably slower. Trying to compile something pushes the load above > 2. What is it doing? > > This is a single-CPU Opteron running: > > FreeBSD 5.4-STABLE #0: Fri Jun 10 09:11:30 EDT 2005 amd64 > > The box has 2Gb of RAM, but NO SWAP. run ps lax a few times, and notice which process is fork bombing your box by seeing which process has the most changing children... (i.e. the ppid, 3rd column, of the process that isn't in the next run)... sort -n +1 -2 + diff will help find which ones... ps lax | sort -n +1 -2 > tmpa; sleep 2; ps lax | sort -n +1 -2 > tmpb; diff tmpa tmpb look at the ppid (3rd column) of any new or missing processes, and you probably have your culprit... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 12:48:42 2005 Return-Path: X-Original-To: amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7729D16A41F; Wed, 20 Jul 2005 12:48:42 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from rodan.vipstructures.com (rodan.vipstructures.com [66.195.71.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 080FF43D4C; Wed, 20 Jul 2005 12:48:41 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from localhost (localhost.vipstructures.com [127.0.0.1]) by rodan.vipstructures.com (Postfix) with ESMTP id 3B5151EE83E; Wed, 20 Jul 2005 08:48:41 -0400 (EDT) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by rodan.vipstructures.com (Postfix) with ESMTP id F3DC21EE83A; Wed, 20 Jul 2005 08:48:40 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 20 Jul 2005 08:50:14 -0400 Message-ID: <9BC86C67C3AF7646B9C5382020457A944E4DA9@VIP10-WIN2K> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OS suddenly VERY busy Thread-Index: AcWM4oj4bqQQhCozTZ+VpIcbq0EUdgARLMCg From: "Toll, Eric" To: , , Cc: Subject: RE: OS suddenly VERY busy X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 12:48:42 -0000 > Subject: OS suddenly VERY busy >=20 > Hello! >=20 > After a couple of huge tarball extracts (`make extract' in > jdk14 and jdk15) I noticed, things are a little slower.=20 > During the extracts, the mouse was moving with visible jerks.=20 > Indeed, the system seems VERY busy: >=20 > The machine is idle and is not doing anything in user-space=20 > according to both top and vmstat's "pigs" display. >=20 > Yet it is noticably slower. Trying to compile something=20 > pushes the load above 2. What is it doing? >=20 > This is a single-CPU Opteron running: >=20 > FreeBSD 5.4-STABLE #0: Fri Jun 10 09:11:30 EDT 2005 amd64 >=20 > The box has 2Gb of RAM, but NO SWAP. >=20 > Any ideas? Thanks! >=20 Irq 15 is your IDE disk. The slowest part of a server will always be the disk, this is your bottleneck. I tried working with jdk14: (*and still cannot install it, will you post your install sequence please?*) Some of the files where large. I noticed nothing really performance wise when working with with some of the 50M plus tar files. I do have dual 242's and a 64bit 3Ware card (in a 64Bit slot) that has harware XOR's in it so my cpu's never have to do direct disk work per se. One of the install processes recommends you have 1.4Gb of free work space. This may also be an issue. Why no swap partition? Was this intentional? Also how much RAM? I have 1Gb. What does df -h say? I have mine like this. Raid 1 Array with SATA drives. I'm worried I made /var too small... Filesystem Size Used Avail Capacity Mounted on /dev/twed0s1a 989M 93M 817M 10% / devfs 1.0K 1.0K 0B 100% /dev /dev/twed0s1d 3.9G 458K 3.6G 0% /tmp /dev/twed0s1f 178G 18G 146G 11% /usr /dev/twed0s1e 39G 882M 35G 2% /var From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 13:18:08 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F86516A41F for ; Wed, 20 Jul 2005 13:18:08 +0000 (GMT) (envelope-from kjblack@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9EB943D49 for ; Wed, 20 Jul 2005 13:18:07 +0000 (GMT) (envelope-from kjblack@gmail.com) Received: by zproxy.gmail.com with SMTP id i28so1408333nzi for ; Wed, 20 Jul 2005 06:18:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GxYVeEc54ejadtWjZRO1QDN7pcbagzI5n7iho+v5EhUWULn+6dxrDmY1JGM1WyWOLYM9jUkwOmiapXxlih91F22awj7Hx7SNig2SImqMmqNs3+HqhmPqabv+jzzkXadxoPorc/pTFxoKSf2BGhz2HuFBV67f4RlLFkDCi1KZOeY= Received: by 10.36.7.20 with SMTP id 20mr81914nzg; Wed, 20 Jul 2005 06:17:47 -0700 (PDT) Received: by 10.36.22.10 with HTTP; Wed, 20 Jul 2005 06:17:46 -0700 (PDT) Message-ID: <1b1b33f1050720061764ca7eeb@mail.gmail.com> Date: Wed, 20 Jul 2005 09:17:46 -0400 From: Kelly Black To: freebsd-amd64@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Using ndisgen to create loadable module w/ broadcom on Compaq R3000z X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kelly Black List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 13:18:08 -0000 Hello, I have a compaq R300z (okay, I'm sorry already!) running freebsd-amd64 current. I recently tried to use ndisulator for the built in broadcom wireless and used the 64 bit windows drivers to try to generate a loadable module for the wireless device. I have had some trouble generating the loadable module, though. I last updated world and the kernel on Monday. I've tried searching the freebsd-amd64 and freebsd-current lists, and I've tried to search using google. So far I can't find anything to help. Has anyone managed to get this beast working? Any help would be appreciated. I will paste an overview of what I've tried below: Here is the device info: root@localhost# pciconf -lvvv none3@pci2:2:0: class=3D0x028000 card=3D0x12f4103c chip=3D0x432014e4 rev=3D= 0x03 hdr=3D0x00 vendor =3D 'Broadcom Corporation' device =3D 'BCM4306 802.11b/g Wireless LAN Controller' Copies of the driver files that I am using can be found at http://blackk.union.edu/~black/freebsd/BCMWL564.SYS http://blackk.union.edu/~black/freebsd/netbc564.inf.ascii This is a 64 bit driver, and the inf file was converted to ascii using icon= v.=20 Here is the message I get when I use ndisgen: Compiling stub... done. Linking loadable kernel module... /usr/bin/ld: windrv_stub.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC windrv_stub.o: could not read symbols: Bad value linking failed. Exiting. I read through the ndisgen script to try to figure out what it was doing. I then did this (I added -fPIC): /usr/bin/cc -D_KERNEL -DDRV_DATA_START=3DBCMWL564_SYS_drv_data_start -DDRV_NAME=3DBC MWL564_SYS -DDRV_DATA_END=3DBCMWL564_SYS_drv_data_end -I. /usr/share/misc/windrv_stub.c -data -symbolic -c -o windrv_stub.o -fPIC /usr/bin/ld -Bshareable -d -warn-common -o BCMWL564_SYS.ko windrv_stub.o windrv.o /usr/bin/ld -r -d -warn-common -o BCMWL564_SYS.o windrv_stub.o windrv.o (The files windrv_stub.o and others were created when ndisgen called ndiscvt so I just left them alone.) When I do this the file compiles and links with no error messages. It creates a file called BCMWL564_SYS.ko. When I try to load the file using kldload I get these messages: kldload: can't load /tmp/broadcom/BCMWL564_SYS.ko: Exec format error and from the console window: kldload: Unsupported file type kldload: unexpected relocation type 7 link_elf: symbol windrv_load undefined Any ideas? Sincerely, Kel --=20 _______________________________________________________ Kelly Black Phone: (518) 388-8727 Department of Mathematics FAX: (603) 388-6005=20 Union College e-mail: kelly.black@union.edu Schenectady NY 12308 (USA) WWW: http://blackk.union.edu/~black From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 13:31:34 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FE0416A41F for ; Wed, 20 Jul 2005 13:31:34 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from rodan.vipstructures.com (rodan.vipstructures.com [66.195.71.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B47543D45 for ; Wed, 20 Jul 2005 13:31:34 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from localhost (localhost.vipstructures.com [127.0.0.1]) by rodan.vipstructures.com (Postfix) with ESMTP id 8F6D11EE840 for ; Wed, 20 Jul 2005 09:31:33 -0400 (EDT) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by rodan.vipstructures.com (Postfix) with ESMTP id 52CEA1EE83D for ; Wed, 20 Jul 2005 09:31:33 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 20 Jul 2005 09:33:06 -0400 Message-ID: <9BC86C67C3AF7646B9C5382020457A9456EB79@VIP10-WIN2K> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 3Ware 3dm tool Thread-Index: AcWMt1YO7tthOy8gRymK8VvIqQAAYAAdjMlA From: "Toll, Eric" To: "Francisco Reyes" , "Vinod Kashyap" Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 13:31:34 -0000 > On Mon, 18 Jul 2005, Vinod Kashyap wrote: >=20 > > http://www.3ware.com/support/downloadpageeng.asp?SNO=3D2 >=20 > I got it installed and it seems to work. > Is there any other way other than web interface to interact=20 > with the program? Specially for remote access monitoring. >=20 > Links browser doesn't work with the tool and I don't even=20 > have X on the machine. I will configure it to allow non local=20 > connections, but only after I setup a firewall for the=20 > machine. It's already behind a firewall, but I figure will=20 > just make a trivial rule to only allow a single machine in > the office to connect to the port. If the BSD box is already behind the firewall, then poke a hole in the existing one to allow access to the GUI from your machine or network from the internet. It doesn't really matter because even if someone in the office inside LAN found the 3Ware http server running on tcp 888 (obscure) they'd need the credentials to do anything anyway. Setting up a firewall on BSD is way more complicated than getting the 3Ware software setup. =20 What's perhaps better/easier/more useful to you is to setup the 3dm2 3Ware software so that it will E-mail you when it gets into trouble or has a problem. Then you do not need to worry about it, constantly checking the http GUI. This is how mine is setup, it seems very trustworthy.=20 HTH Eric From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 15:54:05 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0310D16A41F for ; Wed, 20 Jul 2005 15:54:05 +0000 (GMT) (envelope-from jkim@niksun.com) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D33A43D46 for ; Wed, 20 Jul 2005 15:54:04 +0000 (GMT) (envelope-from jkim@niksun.com) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id j6KFtuA2014780; Wed, 20 Jul 2005 11:55:56 -0400 (EDT) (envelope-from jkim@niksun.com) From: Jung-uk Kim Organization: NIKSUN, Inc. To: freebsd-amd64@freebsd.org, Kelly Black Date: Wed, 20 Jul 2005 11:53:46 -0400 User-Agent: KMail/1.6.2 References: <1b1b33f1050720061764ca7eeb@mail.gmail.com> In-Reply-To: <1b1b33f1050720061764ca7eeb@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_NOn3CW+BGOXcV6d" Message-Id: <200507201153.49441.jkim@niksun.com> X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: Re: Using ndisgen to create loadable module w/ broadcom on Compaq R3000z X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jkim@niksun.com List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 15:54:05 -0000 --Boundary-00=_NOn3CW+BGOXcV6d Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wednesday 20 July 2005 09:17 am, Kelly Black wrote: > Hello, > > I have a compaq R300z (okay, I'm sorry already!) running > freebsd-amd64 current. I recently tried to use ndisulator for the > built in broadcom wireless and used the 64 bit windows drivers to > try to generate a loadable module for the wireless device. I have > had some trouble generating the loadable module, though. I last > updated world and the kernel on Monday. > > I've tried searching the freebsd-amd64 and freebsd-current lists, > and I've tried to search using google. So far I can't find anything > to help. Has anyone managed to get this beast working? Any help > would be appreciated. I will paste an overview of what I've tried > below: > > Here is the device info: > root@localhost# pciconf -lvvv > none3@pci2:2:0: class=0x028000 card=0x12f4103c chip=0x432014e4 > rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' > device = 'BCM4306 802.11b/g Wireless LAN Controller' > > Copies of the driver files that I am using can be found at > http://blackk.union.edu/~black/freebsd/BCMWL564.SYS > http://blackk.union.edu/~black/freebsd/netbc564.inf.ascii > This is a 64 bit driver, and the inf file was converted to ascii > using iconv. > > Here is the message I get when I use ndisgen: > Compiling stub... done. > Linking loadable kernel module... /usr/bin/ld: windrv_stub.o: > relocation R_X86_64_32S can not be used when making a shared > object; recompile with -fPIC windrv_stub.o: could not read symbols: > Bad value linking failed. Exiting. > > I read through the ndisgen script to try to figure out what it was > doing. I then did this (I added -fPIC): > > /usr/bin/cc -D_KERNEL -DDRV_DATA_START=BCMWL564_SYS_drv_data_start > -DDRV_NAME=BC MWL564_SYS -DDRV_DATA_END=BCMWL564_SYS_drv_data_end > -I. /usr/share/misc/windrv_stub.c -data -symbolic -c -o > windrv_stub.o -fPIC > > /usr/bin/ld -Bshareable -d -warn-common -o BCMWL564_SYS.ko > windrv_stub.o windrv.o > > /usr/bin/ld -r -d -warn-common -o BCMWL564_SYS.o windrv_stub.o > windrv.o > > (The files windrv_stub.o and others were created when ndisgen > called ndiscvt so I just left them alone.) > > When I do this the file compiles and links with no error messages. > It creates a file called BCMWL564_SYS.ko. When I try to load the > file using kldload I get these messages: > > kldload: can't load /tmp/broadcom/BCMWL564_SYS.ko: Exec format > error > > and from the console window: > > kldload: Unsupported file type > kldload: unexpected relocation type 7 > link_elf: symbol windrv_load undefined > > Any ideas? Try the attached patch. I have been using this for months without a problem. ;-) In fact, I sent it to Bill but he didn't reply. Cheers, Jung-uk Kim > Sincerely, > Kel --Boundary-00=_NOn3CW+BGOXcV6d Content-Type: text/x-diff; charset="iso-8859-1"; name="ndisgen.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ndisgen.diff" Index: usr.sbin/ndiscvt/ndisgen.sh =================================================================== RCS file: /home/ncvs/src/usr.sbin/ndiscvt/ndisgen.sh,v retrieving revision 1.1 diff -u -r1.1 ndisgen.sh --- usr.sbin/ndiscvt/ndisgen.sh 24 Apr 2005 20:21:22 -0000 1.1 +++ usr.sbin/ndiscvt/ndisgen.sh 20 Jul 2005 15:49:53 -0000 @@ -57,6 +57,7 @@ echo "" echo -n " Enter your selection here and press return: " read KEYPRESS +return } @@ -78,8 +79,9 @@ echo " are both supported. Note that you cannot use a Windows/i386 driver" echo " with FreeBSD/amd64: you must obtain a Windows/amd64 driver." echo "" -echo -n " Press any key to continue... " +echo -n " Press return to continue... " read KEYPRESS +return } help2() { @@ -102,8 +104,9 @@ echo " If you don't have a driver CD, you should be able to find a driver" echo " kit on the card or computer vendor's web site." echo "" -echo -n " Press any key to continue... " +echo -n " Press return to continue... " read KEYPRESS +return } help3 () { @@ -113,7 +116,7 @@ echo " In most cases, you will need only two files: a .INF file and a .SYS" echo " file. The .INF file is a text file used by the Windows(r) installer to" echo " perform the driver installation. It contains information that tells" -echo " the intaller what devices the driver supports and what registry keys" +echo " the installer what devices the driver supports and what registry keys" echo " should be created to control driver configuration. The .SYS file" echo " is the actual driver executable code in Windows(r) Portable Executable" echo " (PE) format. Note that sometimes the .INF file is supplied in unicode" @@ -126,8 +129,9 @@ echo " these additional files to make your device work with the NDIS" echo " compatibility system as well." echo "" -echo -n " Press any key to continue... " +echo -n " Press return to continue... " read KEYPRESS +return } help4 () { @@ -150,8 +154,9 @@ echo " image (possibly for embedded bootstrap purposes, or just plain old" echo " experimentation)." echo "" -echo -n " Press any key to continue... " +echo -n " Press return to continue... " read KEYPRESS +return } help5 () { @@ -174,8 +179,9 @@ echo " environment, then iconv(1) should already be present. If not, you" echo " will need to install the libiconv package or port." echo "" -echo -n " Press any key to continue... " +echo -n " Press return to continue... " read KEYPRESS +return } infconv () { @@ -189,37 +195,39 @@ echo "" echo -n " > " read INFPATH -if [ $INFPATH ] && [ -e $INFPATH ]; -then - INFTYPE=`${FILE} ${INFPATH}` - - case ${INFTYPE} in - *ASCII*) +if [ ${INFPATH} ] && [ -e ${INFPATH} ]; then + INFTYPE=`${EGREP} -i -c "^Signature|^.S.i.g.n.a.t.u.r.e" ${INFPATH}` + if [ ${INFTYPE} -le 0 ]; then echo "" - echo " This .INF file appears to be ASCII." + echo " I don't recognize this file format. It may not be a valid .INF file." echo "" - echo -n " Press any key to continue... " + echo -n " Press enter to try again, or ^C to quit. " read KEYPRESS - ;; - *text*) + INFPATH="" + return + fi + + INFTYPE=`${EGREP} -i -c "^Class.*=.*Net" ${INFPATH}` + if [ ${INFTYPE} -gt 0 ]; then echo "" echo " This .INF file appears to be ASCII." echo "" - echo -n " Press any key to continue... " + echo -n " Press return to continue... " read KEYPRESS - ;; - *nicode*) + return + fi + + INFTYPE=`${EGREP} -i -c "^.C.l.a.s.s.*=.*N.e.t" ${INFPATH}` + if [ ${INFTYPE} -gt 0 ]; then echo "" echo " This .INF file appears to be Unicode." - if [ -e $ICONVPATH ]; - then + if [ -e ${ICONVPATH} ]; then echo " Trying to convert to ASCII..." - ${RM} -f /tmp/ascii.inf - ${ICONVPATH} -f utf-16 -t utf-8 ${INFPATH} > /tmp/ascii.inf - INFPATH=/tmp/ascii.inf + ${ICONVPATH} -f utf-16 -t utf-8 ${INFPATH} > ${INFFILE} + INFPATH=${INFFILE} echo " Done." echo "" - echo -n " Press any key to continue... " + echo -n " Press return to continue... " read KEYPRESS else echo " The iconv(1) utility does not appear to be installed." @@ -228,24 +236,24 @@ echo "" exit fi - ;; - *) - echo "" - echo " I don't recognize this file format. It may not be a valid .INF file." - echo "" - echo -n " Press enter to try again, or ^C to quit. " - read KEYPRESS - INFPATH="" - ;; - esac + return + fi + + echo "" + echo " I don't recognize this file format. It may not be a valid .INF file." + echo "" + echo -n " Press enter to try again, or ^C to quit. " + read KEYPRESS + INFPATH="" else echo "" - echo " The file '$INFPATH' was not found." + echo " The file '${INFPATH}' was not found." echo "" echo -n " Press enter to try again, or ^C to quit. " read KEYPRESS INFPATH="" fi +return } sysconv() { @@ -264,8 +272,7 @@ echo "" echo -n " > " read SYSPATH -if [ $SYSPATH ] && [ -e $SYSPATH ]; -then +if [ ${SYSPATH} ] && [ -e ${SYSPATH} ]; then SYSTYPE=`${FILE} ${SYSPATH}` case ${SYSTYPE} in @@ -273,9 +280,9 @@ echo "" echo " This .SYS file appears to be in Windows(r) PE format." echo "" - echo -n " Press any key to continue... " + echo -n " Press return to continue... " read KEYPRESS - SYSBASE=`basename ${SYSPATH} | ${TR} '.' '_'` + SYSBASE=`${BASENAME} ${SYSPATH} | ${TR} '.' '_'` ;; *) echo "" @@ -289,12 +296,13 @@ esac else echo "" - echo " The file '$SYSPATH' was not found." + echo " The file '${SYSPATH}' was not found." echo "" echo -n " Press enter to try again, or ^C to quit. " read KEYPRESS SYSPATH="" fi +return } ndiscvt() { @@ -322,6 +330,7 @@ echo -n " Press enter to continue... " read KEYPRESS fi +return } firmcvt() { @@ -337,10 +346,10 @@ echo -n " > " read FIRMPATH - if [ $FIRMPATH ] && [ $FIRMPATH != "" ]; then - if [ ! -e $FIRMPATH ]; then + if [ ${FIRMPATH} ]; then + if [ ! -e ${FIRMPATH} ]; then echo "" - echo " The file '$FIRMPATH' was not found" + echo " The file '${FIRMPATH}' was not found" echo "" echo -n " Press enter to try again, or ^C to quit. " read KEYPRESS @@ -353,7 +362,7 @@ echo "" echo " Conversion was successful." echo "" - FRMBASE=`basename ${FIRMPATH}` + FRMBASE=`${BASENAME} ${FIRMPATH}` FRMBASE="${FRMBASE}.o" FRMLIST="${FRMLIST} ${FRMBASE}" fi @@ -368,13 +377,14 @@ echo "" echo " List of files converted firmware files:" echo "" -for i in $FRMLIST +for i in ${FRMLIST} do echo " "$i done echo "" echo -n " Press enter to continue... " read KEYPRESS +return } drvgen () { @@ -390,57 +400,82 @@ echo -n " module now: " read KEYPRESS echo "" -touch bus_if.h -touch device_if.h -echo -n " Compiling stub... " -if ! ${CC} -D_KERNEL -DDRV_DATA_START=${SYSBASE}_drv_data_start -DDRV_NAME=${SYSBASE} -DDRV_DATA_END=${SYSBASE}_drv_data_end -I. ${STUBFILE} -c -o windrv_stub.o; then - echo "compilation failed. Exiting." +echo -n " Generating Makefile... " +echo ".PATH: ${PWD} ${STUBPATH}" > ${MAKEFILE} +echo "KMOD= ${SYSBASE}" >> ${MAKEFILE} +echo "SRCS+= ${STUBFILE} ${DNAME}.h bus_if.h device_if.h" >> ${MAKEFILE} +echo "OBJS+=${FRMLIST} ${DNAME}.o" >> ${MAKEFILE} +echo "NO_MAN=" >> ${MAKEFILE} +echo "CFLAGS+= \\" >> ${MAKEFILE} +echo " -DDRV_DATA_START=${SYSBASE}_drv_data_start \\" >> ${MAKEFILE} +echo " -DDRV_NAME=${SYSBASE} \\" >> ${MAKEFILE} +echo " -DDRV_DATA_END=${SYSBASE}_drv_data_end" >> ${MAKEFILE} +echo "CLEANFILES+= \\" >> ${MAKEFILE} +echo " ${INFFILE} \\" >> ${MAKEFILE} +echo " ${DNAME}.h \\" >> ${MAKEFILE} +echo " ${DNAME}.o" >> ${MAKEFILE} +echo ".include " >> ${MAKEFILE} +if [ -f ${MAKEFILE} ]; then + echo "done." +else + echo "generating Makefile failed. Exiting." echo "" exit -else - echo "done." fi -echo -n " Linking loadable kernel module... " -if ! ${LD} -Bshareable -d -warn-common -o ${SYSBASE}.ko windrv_stub.o ${FRMLIST} ${DNAME}.o; then - echo "linking failed. Exiting." +echo -n " Building kernel module... " +echo "" > bus_if.h +echo "" > device_if.h +if ! ${MAKE} -f ${MAKEFILE} depend > /dev/null; then + echo "build failed. Exiting." + echo "" + exit +fi +if ! ${MAKE} -f ${MAKEFILE} all > /dev/null; then + echo "build failed. Exiting." echo "" exit else - echo "done." + if [ -f ${SYSBASE}.ko ]; then + ${MV} ${SYSBASE}.ko ${SYSBASE}.kmod + echo "done." + else + echo "build failed. Exiting." + echo "" + exit + fi fi -echo -n " Linking static kernel module... " -if ! ${LD} -r -d -warn-common -o ${SYSBASE}.o windrv_stub.o ${FRMLIST} ${DNAME}.o; then - echo "linking failed. Exiting." +echo -n " Cleaning up... " +if ! ${MAKE} -f ${MAKEFILE} clean cleandepend > /dev/null; then + echo "cleanup failed. Exiting." echo "" exit else echo "done." fi -echo -n " Cleaning up... " -${RM} -f bus_if.h device_if.h windrv_stub.o -${RM} -f ${DNAME}.h ${DNAME}.o -echo "done." +${RM} ${MAKEFILE} +${MV} ${SYSBASE}.kmod ${SYSBASE}.ko echo "" -echo " The file $SYSBASE.ko has been successfully generated." +echo " The file ${SYSBASE}.ko has been successfully generated." echo " You can kldload this module to get started." echo "" -echo -n " Press any key to exit. " +echo -n " Press return to exit. " read KEYPRESS echo "" echo "" +return } convert_driver () { while : ; do infconv - if [ $INFPATH ] && [ $INFPATH != "" ]; then + if [ ${INFPATH} ]; then break fi done while : ; do sysconv - if [ $SYSPATH ] && [ $SYSPATH != "" ]; then + if [ ${SYSPATH} ]; then break fi done @@ -448,18 +483,27 @@ ndiscvt firmcvt drvgen + return } ICONVPATH=/usr/local/bin/iconv NDISCVT=/usr/sbin/ndiscvt -STUBFILE=/usr/share/misc/windrv_stub.c +STUBPATH=/usr/share/misc +STUBFILE=windrv_stub.c DNAME=windrv -OBJCOPY=/usr/bin/objcopy -CC=/usr/bin/cc -LD=/usr/bin/ld +CP=/bin/cp +MV=/bin/mv RM=/bin/rm TR=/usr/bin/tr FILE=/usr/bin/file +EGREP=/usr/bin/egrep +MAKE=/usr/bin/make +BASENAME=/usr/bin/basename +TOUCH=/usr/bin/touch +MKTEMP=/usr/bin/mktemp + +MAKEFILE=`${MKTEMP} /tmp/Makefile.XXXXXX` +INFFILE=`${MKTEMP} /tmp/ascii_inf.XXXXXX` INFPATH="" FRMLIST="" @@ -498,3 +542,4 @@ ;; esac done +exit --Boundary-00=_NOn3CW+BGOXcV6d-- From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 16:06:09 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BF0B16A41F for ; Wed, 20 Jul 2005 16:06:09 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4BFF43D46 for ; Wed, 20 Jul 2005 16:06:08 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id C8DF57E12; Wed, 20 Jul 2005 12:06:07 -0400 (EDT) Date: Wed, 20 Jul 2005 12:06:07 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: "Toll, Eric" In-Reply-To: <9BC86C67C3AF7646B9C5382020457A9456EB79@VIP10-WIN2K> Message-ID: <20050720120258.R56472@zoraida.natserv.net> References: <9BC86C67C3AF7646B9C5382020457A9456EB79@VIP10-WIN2K> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 16:06:09 -0000 On Wed, 20 Jul 2005, Toll, Eric wrote: > If the BSD box is already behind the firewall, then poke a > hole in the existing one to allow access to the GUI from The other machines in the office are windows machines.. which means they can get infected with viruses.. > your machine or network from the internet. It doesn't really > matter because even if someone in the office inside LAN > found the 3Ware http server running on tcp 888 (obscure) Also I just noticed it has a password.. Just changed the defaults.. > What's perhaps better/easier/more useful to you is to setup > the 3dm2 3Ware software so that it will E-mail you when it > gets into trouble or has a problem. Did that at install and confirmed throuh web interface. Currently did a "send test". From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 17:04:05 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EF9116A41F for ; Wed, 20 Jul 2005 17:04:05 +0000 (GMT) (envelope-from kjblack@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B75A43D48 for ; Wed, 20 Jul 2005 17:04:04 +0000 (GMT) (envelope-from kjblack@gmail.com) Received: by zproxy.gmail.com with SMTP id n29so1449897nzf for ; Wed, 20 Jul 2005 10:04:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uNqTwdun3tAepIiQft+Vd64FdHVNNBHmtFiC2KpIcQSC3enHw4FKqK5UANlyo3x9fMzB3ZU0VtVbpIPLmcsKQOEVb0JFqCB+oQHZ35fo6EEVkZiOriI2s+Vx/OWzRyUsvBobgTX1S7K92jDOCj0NSqw2oBjjaIL//zwnEN0ygVY= Received: by 10.36.60.1 with SMTP id i1mr282101nza; Wed, 20 Jul 2005 10:03:30 -0700 (PDT) Received: by 10.36.22.10 with HTTP; Wed, 20 Jul 2005 10:03:28 -0700 (PDT) Message-ID: <1b1b33f10507201003320df3ef@mail.gmail.com> Date: Wed, 20 Jul 2005 13:03:28 -0400 From: Kelly Black To: jkim@niksun.com In-Reply-To: <200507201153.49441.jkim@niksun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1b1b33f1050720061764ca7eeb@mail.gmail.com> <200507201153.49441.jkim@niksun.com> Cc: freebsd-amd64@freebsd.org Subject: Re: Using ndisgen to create loadable module w/ broadcom on Compaq R3000z X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kelly Black List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 17:04:05 -0000 On 7/20/05, Jung-uk Kim wrote: > On Wednesday 20 July 2005 09:17 am, Kelly Black wrote: > > Hello, > > > > I have a compaq R300z (okay, I'm sorry already!) running > > freebsd-amd64 current. I recently tried to use ndisulator for the > > built in broadcom wireless and used the 64 bit windows drivers to > > try to generate a loadable module for the wireless device. I have > > had some trouble generating the loadable module, though. I last > > updated world and the kernel on Monday. > > > > I've tried searching the freebsd-amd64 and freebsd-current lists, > > and I've tried to search using google. So far I can't find anything > > to help. Has anyone managed to get this beast working? Any help > > would be appreciated. I will paste an overview of what I've tried > > below: > > > > Here is the device info: > > root@localhost# pciconf -lvvv > > none3@pci2:2:0: class=3D0x028000 card=3D0x12f4103c chip=3D0x432014e4 > > rev=3D0x03 hdr=3D0x00 vendor =3D 'Broadcom Corporation' > > device =3D 'BCM4306 802.11b/g Wireless LAN Controller' > > > > Copies of the driver files that I am using can be found at > > http://blackk.union.edu/~black/freebsd/BCMWL564.SYS > > http://blackk.union.edu/~black/freebsd/netbc564.inf.ascii > > This is a 64 bit driver, and the inf file was converted to ascii > > using iconv. > > > > Here is the message I get when I use ndisgen: > > Compiling stub... done. > > Linking loadable kernel module... /usr/bin/ld: windrv_stub.o: > > relocation R_X86_64_32S can not be used when making a shared > > object; recompile with -fPIC windrv_stub.o: could not read symbols: > > Bad value linking failed. Exiting. > > > > I read through the ndisgen script to try to figure out what it was > > doing. I then did this (I added -fPIC): > > > > /usr/bin/cc -D_KERNEL -DDRV_DATA_START=3DBCMWL564_SYS_drv_data_start > > -DDRV_NAME=3DBC MWL564_SYS -DDRV_DATA_END=3DBCMWL564_SYS_drv_data_end > > -I. /usr/share/misc/windrv_stub.c -data -symbolic -c -o > > windrv_stub.o -fPIC > > > > /usr/bin/ld -Bshareable -d -warn-common -o BCMWL564_SYS.ko > > windrv_stub.o windrv.o > > > > /usr/bin/ld -r -d -warn-common -o BCMWL564_SYS.o windrv_stub.o > > windrv.o > > > > (The files windrv_stub.o and others were created when ndisgen > > called ndiscvt so I just left them alone.) > > > > When I do this the file compiles and links with no error messages. > > It creates a file called BCMWL564_SYS.ko. When I try to load the > > file using kldload I get these messages: > > > > kldload: can't load /tmp/broadcom/BCMWL564_SYS.ko: Exec format > > error > > > > and from the console window: > > > > kldload: Unsupported file type > > kldload: unexpected relocation type 7 > > link_elf: symbol windrv_load undefined > > > > Any ideas? >=20 > Try the attached patch. I have been using this for months without a > problem. ;-) In fact, I sent it to Bill but he didn't reply. >=20 > Cheers, >=20 > Jung-uk Kim >=20 > > Sincerely, > > Kel >=20 >=20 >=20 Dear Jung-uk Kim, I tried to apply the diff using "patch" but it had trouble. I applied the patch by hand, and it now works. Thank you! I can see ndis0 and connect using dhclient. Did I say "thank you" yet? By the way, I just got back from a business trip and finally got to test your patches for the pccard issues. I borrowed a wireless card, and it worked great. Of course, now that I've applied your fix for ndis I no longer need your patch for the pccard! :-) Thank you again!!! Sincerely, Kel --=20 _______________________________________________________ Kelly Black Phone: (518) 388-8727 Department of Mathematics FAX: (603) 388-6005=20 Union College e-mail: kelly.black@union.edu Schenectady NY 12308 (USA) WWW: http://blackk.union.edu/~black From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 19:39:29 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F384E16A420 for ; Wed, 20 Jul 2005 19:39:28 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (c-24-21-244-191.hsd1.or.comcast.net [24.21.244.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92A5443D4C for ; Wed, 20 Jul 2005 19:39:26 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.11.6/8.11.6) with UUCP id j6KJdPY07915 for freebsd-amd64@freebsd.org; Wed, 20 Jul 2005 12:39:25 -0700 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id TAA15920; Wed, 20 Jul 2005 19:39:30 GMT Message-Id: <200507201939.TAA15920@sopwith.solgatos.com> To: freebsd-amd64@freebsd.org Date: Wed, 20 Jul 2005 12:39:30 +0100 From: Dieter Subject: Choosing a mainboard, anyone running a Tyan Tomcat K8E 2865 ? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@sopwith.solgatos.com List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 19:39:29 -0000 Is anyone running a Tyan Tomcat K8E 2865 ? http://www.tyan.com/products/html/tomcatk8e.html Like it? Hate it? Problems? The Tomcat K8E 2865 has the best combination of features (for my needs) I've found so far. Alternately, are there similar boards I should consider? Required: AMD64 multiple 5 Volt PCI slots (the more the better) supports ECC (word is some boards don't, e.g. traces left out) decent quality/reliablilty Desired: SATA (more than 4 would be nice, this is one weak point of the 2865 for me) onboard video & audio gig-ethernet USB firewire PCI-e (for future) (the more the better) more than 1 RS-232 port supports Cool-n-Quiet Would be nice, but I don't expect to get it: more than 7 total expansion slots (PCI + PCI-e) I'm not married to the ATX form factor SCSI Not required: parallel port floppy gaming overclocking fashionable color scheme From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 19:49:06 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A15E16A41F for ; Wed, 20 Jul 2005 19:49:06 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20DFC43D45 for ; Wed, 20 Jul 2005 19:49:05 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 12AF87DBC; Wed, 20 Jul 2005 15:49:05 -0400 (EDT) Date: Wed, 20 Jul 2005 15:49:04 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Vinod Kashyap In-Reply-To: <2B3B2AA816369A4E87D7BE63EC9D2F26501267@SDCEXCHANGE01.ad.amcc.com> Message-ID: <20050720154731.H57368@zoraida.natserv.net> References: <2B3B2AA816369A4E87D7BE63EC9D2F26501267@SDCEXCHANGE01.ad.amcc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 19:49:06 -0000 On Tue, 19 Jul 2005, Vinod Kashyap wrote: > The links seem to have gotten messed up a little here. I am trying > to get it corrected. Meanwhile, you can download the file from here: > http://www.3ware.com/download/productseng/CLI/tw_cli-freebsd-amd64-9_2.t > gz. > The file name is tw_cli-freebsd-amd64-9_2.tgz. Got it, installed.. works.. I like both CLI and web. In particular liked the feature of the web one to test sending an email to make sure the emailing capability will work when needed. From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 20 19:50:25 2005 Return-Path: X-Original-To: freebsd-amd64@hub.freebsd.org Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFA6416A420 for ; Wed, 20 Jul 2005 19:50:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05EFE43D5D for ; Wed, 20 Jul 2005 19:50:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6KJoEdp059923 for ; Wed, 20 Jul 2005 19:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6KJoExU059921; Wed, 20 Jul 2005 19:50:14 GMT (envelope-from gnats) Resent-Date: Wed, 20 Jul 2005 19:50:14 GMT Resent-Message-Id: <200507201950.j6KJoExU059921@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KOBAYASHI Hidenobu Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACCDA16A41F for ; Wed, 20 Jul 2005 19:46:52 +0000 (GMT) (envelope-from magus@dlrow.dyndns.org) Received: from dlrow.dyndns.org (h219-110-236-022.catv02.itscom.jp [219.110.236.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 489D743D48 for ; Wed, 20 Jul 2005 19:46:52 +0000 (GMT) (envelope-from magus@dlrow.dyndns.org) Received: by dlrow.dyndns.org (Postfix, from userid 999) id 46A391FFC19; Thu, 21 Jul 2005 04:46:51 +0900 (JST) Message-Id: <20050720194651.46A391FFC19@dlrow.dyndns.org> Date: Thu, 21 Jul 2005 04:46:51 +0900 (JST) From: KOBAYASHI Hidenobu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: amd64/83806: Can not comple /usr/src/lib/msun/amd64/fenv.c at make buildworld. X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: KOBAYASHI Hidenobu List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 19:50:25 -0000 >Number: 83806 >Category: amd64 >Synopsis: Can not comple /usr/src/lib/msun/amd64/fenv.c at make buildworld. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 20 19:50:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KOBAYASHI Hidenobu >Release: FreeBSD 6.0-BETA1 amd64 >Organization: >Environment: System: FreeBSD eins.anzahl.local 6.0-BETA1 FreeBSD 6.0-BETA1 #1: Mon Jul 18 02:31:56 JST 2005 magus@eins.anzahl.local:/usr/obj/usr/src/sys/TURION amd64 >Description: I can not comple /usr/src/lib/msun/amd64/fenv.c as follow commands. === START: COMMAND AND ERROR MESSAGES === eins# pwd /usr/src/lib/msun/amd64 eins# make -f Makefile.inc fenv.o /usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -pipe -c fenv.c fenv.c:35: warning: braces around scalar initializer fenv.c:35: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:35: warning: large integer implicitly truncated to unsigned type fenv.c:36: warning: excess elements in scalar initializer fenv.c:36: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:37: warning: excess elements in scalar initializer fenv.c:37: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:38: warning: braces around scalar initializer fenv.c:38: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:38: warning: excess elements in scalar initializer fenv.c:38: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:38: warning: excess elements in scalar initializer fenv.c:38: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:38: warning: excess elements in scalar initializer fenv.c:38: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:38: warning: excess elements in scalar initializer fenv.c:38: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:38: warning: excess elements in scalar initializer fenv.c:38: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:38: warning: excess elements in scalar initializer fenv.c:38: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:38: warning: excess elements in scalar initializer fenv.c:38: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:39: warning: excess elements in scalar initializer fenv.c:39: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:39: warning: excess elements in scalar initializer fenv.c:39: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:39: warning: excess elements in scalar initializer fenv.c:39: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:39: warning: excess elements in scalar initializer fenv.c:39: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:39: warning: excess elements in scalar initializer fenv.c:39: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:39: warning: excess elements in scalar initializer fenv.c:39: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:39: warning: excess elements in scalar initializer fenv.c:39: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:39: warning: excess elements in scalar initializer fenv.c:39: warning: (near initialization for `__fe_dfl_env.__control') fenv.c:39: warning: excess elements in scalar initializer fenv.c:39: warning: (near initialization for `__fe_dfl_env.__control') fenv.c: In function `fesetexceptflag': fenv.c:49: error: structure has no member named `__x87' fenv.c:50: error: structure has no member named `__x87' fenv.c:51: error: structure has no member named `__x87' fenv.c:52: error: structure has no member named `__x87' fenv.c:54: error: structure has no member named `__mxcsr' fenv.c:55: error: structure has no member named `__mxcsr' fenv.c:56: error: structure has no member named `__mxcsr' fenv.c:57: error: structure has no member named `__mxcsr' fenv.c: In function `fegetenv': fenv.c:82: error: structure has no member named `__x87' fenv.c:83: error: structure has no member named `__mxcsr' fenv.c: In function `feholdexcept': fenv.c:94: error: structure has no member named `__x87' fenv.c:96: error: structure has no member named `__mxcsr' *** Error code 1 Stop in /usr/src/lib/msun/amd64. === END: COMMAND AND ERROR MESSAGES === So I can not make buildworld. >How-To-Repeat: See Description part. >Fix: The cause of the compile error is in the method of the include of fenv.h. Now include /usr/include/fenv.h but include local fenv.h in same directory. Please apply the following patch. --- fenv.c.orig Thu Mar 17 04:03:45 2005 +++ fenv.c Thu Jul 21 04:37:50 2005 @@ -29,7 +29,7 @@ #include #include #include -#include +#include "fenv.h" const fenv_t __fe_dfl_env = { { 0xffff0000 | __INITIAL_FPUCW__, >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 21 08:58:35 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67DDA16A41F for ; Thu, 21 Jul 2005 08:58:35 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01E9543D45 for ; Thu, 21 Jul 2005 08:58:34 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id 77E44A2FC9; Thu, 21 Jul 2005 10:58:33 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id 4E9496462; Thu, 21 Jul 2005 10:58:33 +0200 (CEST) Date: Thu, 21 Jul 2005 10:58:33 +0200 From: Marc Olzheim To: Dieter Message-ID: <20050721085833.GA52120@stack.nl> References: <200507201939.TAA15920@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <200507201939.TAA15920@sopwith.solgatos.com> X-Operating-System: FreeBSD hammer.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.9i Cc: freebsd-amd64@freebsd.org Subject: Re: Choosing a mainboard, anyone running a Tyan Tomcat K8E 2865 ? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 08:58:35 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 20, 2005 at 12:39:30PM +0100, Dieter wrote: > Is anyone running a Tyan Tomcat K8E 2865 ? >=20 > http://www.tyan.com/products/html/tomcatk8e.html There are no reports of it on http://www.freebsd.org/platforms/amd64/motherboards.html So if there are, please submit a PR as stated on that page. Marc --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC32O5ezjnobFOgrERAp7oAKCxOLiWJEVAthK2aM4HB+EWZVdm0ACgr+yL ArBBK8He/T+tMklfdjWUGqY= =Ku5Y -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG-- From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 21 17:36:04 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C11316A424 for ; Thu, 21 Jul 2005 17:36:04 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from rms06.rommon.net (rms06.rommon.net [212.54.5.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BBB543D66 for ; Thu, 21 Jul 2005 17:35:11 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from [195.163.185.146] (i2-146.rommon.fi [195.163.185.146]) by rms06.rommon.net (Postfix) with ESMTP id 87EEE33C1B for ; Thu, 21 Jul 2005 20:35:07 +0300 (EEST) Message-ID: <42DFDCCA.8050207@he.iki.fi> Date: Thu, 21 Jul 2005 20:35:06 +0300 From: Petri Helenius User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: kernel memory X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 17:36:04 -0000 What is the maximum kernel memory for amd64? Addresses by default seem to start with 0xffffffffxxxxxxxx so one could assume a 4gig limitation? Pete From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 21 18:23:53 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B88ED16A421 for ; Thu, 21 Jul 2005 18:23:53 +0000 (GMT) (envelope-from peter@wemm.org) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id A63E343D69 for ; Thu, 21 Jul 2005 18:23:52 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 6AB1B2A905 for ; Thu, 21 Jul 2005 11:23:52 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 11398E2B3 for ; Thu, 21 Jul 2005 11:23:51 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.4/8.13.1) with ESMTP id j6L8bUd5014078; Thu, 21 Jul 2005 01:37:30 -0700 (PDT) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.4/8.13.1/Submit) id j6L8bTUW014077; Thu, 21 Jul 2005 01:37:29 -0700 (PDT) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: freebsd-amd64@freebsd.org Date: Thu, 21 Jul 2005 01:37:29 -0700 User-Agent: KMail/1.8.1 References: <42DFDCCA.8050207@he.iki.fi> In-Reply-To: <42DFDCCA.8050207@he.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507210137.29816.peter@wemm.org> Cc: Petri Helenius Subject: Re: kernel memory X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 18:23:53 -0000 On Thursday 21 July 2005 10:35 am, Petri Helenius wrote: > What is the maximum kernel memory for amd64? Addresses by default > seem to start with 0xffffffffxxxxxxxx so one could assume a 4gig > limitation? > > Pete 2GB for paged kernel memory. But in addition we access memory via the direct map area to avoid the need for temporary mappings in many cases. uma (malloc, mbufs) etc use this, as does the sfbuf temporary mapping system. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 21 18:58:17 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D136916A427 for ; Thu, 21 Jul 2005 18:58:17 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from rms06.rommon.net (rms06.rommon.net [212.54.5.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93BAD43D55 for ; Thu, 21 Jul 2005 18:58:14 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from [193.64.42.239] (dyn239.helenius.fi [193.64.42.239]) by rms06.rommon.net (Postfix) with ESMTP id 6AEFB33C65; Thu, 21 Jul 2005 21:58:11 +0300 (EEST) Message-ID: <42DFF043.3090203@he.iki.fi> Date: Thu, 21 Jul 2005 21:58:11 +0300 From: Petri Helenius User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Wemm References: <42DFDCCA.8050207@he.iki.fi> <200507210137.29816.peter@wemm.org> In-Reply-To: <200507210137.29816.peter@wemm.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-amd64@freebsd.org Subject: Re: kernel memory X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 18:58:18 -0000 Peter Wemm wrote: > >2GB for paged kernel memory. But in addition we access memory via the >direct map area to avoid the need for temporary mappings in many cases. >uma (malloc, mbufs) etc use this, as does the sfbuf temporary mapping >system. > > > So there is no limitation for malloced memory? Say if my driver would like to have 4 or 8 gig lookup cache that would work? Pete From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 21 23:41:25 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4624F16A428 for ; Thu, 21 Jul 2005 23:41:25 +0000 (GMT) (envelope-from vkashyap@amcc.com) Received: from sdcexchange01.amcc.com (gatekeeper-out.amcc.com [198.137.200.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0EEF43D8C for ; Thu, 21 Jul 2005 23:41:21 +0000 (GMT) (envelope-from vkashyap@amcc.com) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jul 2005 17:47:38 -0700 Message-ID: <2B3B2AA816369A4E87D7BE63EC9D2F26501267@SDCEXCHANGE01.ad.amcc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 3Ware 3dm tool Thread-Index: AcWMwP5DDchuaM7wRfa+dgiBrVfzJgAAJ2SwAACZfmA= From: "Vinod Kashyap" To: "Glenn Dawson" , "Francisco Reyes" Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 23:41:25 -0000 =20 > -----Original Message----- > From: Vinod Kashyap=20 > Sent: Tuesday, July 19, 2005 5:30 PM > To: 'Glenn Dawson'; Francisco Reyes > Cc: FreeBSD amd64 List > Subject: RE: 3Ware 3dm tool >=20 > =20 >=20 > > -----Original Message----- > > From: Glenn Dawson [mailto:glenn@antimatter.net] > > Sent: Tuesday, July 19, 2005 5:21 PM > > To: Francisco Reyes; Vinod Kashyap > > Cc: FreeBSD amd64 List > > Subject: RE: 3Ware 3dm tool > >=20 > > At 05:19 PM 7/19/2005, Francisco Reyes wrote: > > >On Tue, 19 Jul 2005, Vinod Kashyap wrote: > > > > > >>>>http://www.3ware.com/support/downloadpageeng.asp?SNO=3D2 > > > > > >>You can login from a remote machine and run tw_cli... > > > > > >Didn't find any binary under that name. > >=20 > > Try here: > > http://www.3ware.com/support/download_9.2.asp?SNO=3D500 > >=20 >=20 > That would be the i386 version of CLI. Here's the 64-bit version: > http://www.3ware.com/support/downloadpageeng.asp?SNO=3D11 The links seem to have gotten messed up a little here. I am trying to get it corrected. Meanwhile, you can download the file from here: http://www.3ware.com/download/productseng/CLI/tw_cli-freebsd-amd64-9_2.t gz. The file name is tw_cli-freebsd-amd64-9_2.tgz. >=20 >=20 > > -Glenn > >=20 > > >_______________________________________________ > > >freebsd-amd64@freebsd.org mailing list > > >http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > > >To unsubscribe, send any mail to > > "freebsd-amd64-unsubscribe@freebsd.org" > >=20 > >=20 From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 21 23:41:25 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E01D416A432 for ; Thu, 21 Jul 2005 23:41:25 +0000 (GMT) (envelope-from vkashyap@amcc.com) Received: from sdcexchange01.amcc.com (gatekeeper-out.amcc.com [198.137.200.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 968FF43D49 for ; Thu, 21 Jul 2005 23:41:25 +0000 (GMT) (envelope-from vkashyap@amcc.com) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jul 2005 17:29:54 -0700 Message-ID: <2B3B2AA816369A4E87D7BE63EC9D2F2650125D@SDCEXCHANGE01.ad.amcc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 3Ware 3dm tool Thread-Index: AcWMwP5DDchuaM7wRfa+dgiBrVfzJgAAJ2Sw From: "Vinod Kashyap" To: "Glenn Dawson" , "Francisco Reyes" Cc: FreeBSD amd64 List Subject: RE: 3Ware 3dm tool X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 23:41:26 -0000 =20 > -----Original Message----- > From: Glenn Dawson [mailto:glenn@antimatter.net]=20 > Sent: Tuesday, July 19, 2005 5:21 PM > To: Francisco Reyes; Vinod Kashyap > Cc: FreeBSD amd64 List > Subject: RE: 3Ware 3dm tool >=20 > At 05:19 PM 7/19/2005, Francisco Reyes wrote: > >On Tue, 19 Jul 2005, Vinod Kashyap wrote: > > > >>>>http://www.3ware.com/support/downloadpageeng.asp?SNO=3D2 > > > >>You can login from a remote machine and run tw_cli... > > > >Didn't find any binary under that name. >=20 > Try here: > http://www.3ware.com/support/download_9.2.asp?SNO=3D500 >=20 That would be the i386 version of CLI. Here's the 64-bit version: http://www.3ware.com/support/downloadpageeng.asp?SNO=3D11 > -Glenn >=20 > >_______________________________________________ > >freebsd-amd64@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > >To unsubscribe, send any mail to=20 > "freebsd-amd64-unsubscribe@freebsd.org" >=20 >=20 From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 22 03:25:04 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0829816A41F for ; Fri, 22 Jul 2005 03:25:04 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABEF743D48 for ; Fri, 22 Jul 2005 03:25:03 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j6M3P3T1041720; Thu, 21 Jul 2005 20:25:03 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j6M3P2Lf041719; Thu, 21 Jul 2005 20:25:02 -0700 (PDT) (envelope-from obrien) Date: Thu, 21 Jul 2005 20:25:02 -0700 From: "David O'Brien" To: "Toll, Eric" Message-ID: <20050722032502.GA41685@dragon.NUXI.org> References: <9BC86C67C3AF7646B9C5382020457A9456EB74@VIP10-WIN2K> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9BC86C67C3AF7646B9C5382020457A9456EB74@VIP10-WIN2K> X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Cc: freebsd-amd64@freebsd.org Subject: Re: Java Woes - /usr/ports/emulators/linux_base-8/distinfo.amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-amd64@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 03:25:04 -0000 On Tue, Jul 19, 2005 at 05:19:22PM -0400, Toll, Eric wrote: > I tried to install /usr/ports/java/jdk14 after cvsuping my > ports, note the nice warning message from the port which > claims that itself may be unstable, and that I should > install itself. WTF?! > ... > /usr/ports/emulators/linux_base-8/distinfo.amd64 -> No such > file or directory anywhere on the net. What does 'uname -a' report? What revision of /usr/ports/emulators/linux_base-8/Makefile do you have? For some reason this part doesn't seem to exist for you: # $FreeBSD: ports/emulators/linux_base-8/Makefile,v 1.104 2005/06/17 22:59:07 netchild Exp $ .. .if (${ARCH} == "amd64") LATEST_LINK:= ${LATEST_LINK:C/linux/linux32/} ARCH= i386 FALLBACK_ELF_MIB= kern.elf32.fallback_brand RPMFLAGS+= --noscripts .else -- -- David (obrien@FreeBSD.org) From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 22 03:43:43 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8888C16A41F for ; Fri, 22 Jul 2005 03:43:43 +0000 (GMT) (envelope-from ogden@yem.eng.utah.edu) Received: from yem.eng.utah.edu (yem.eng.utah.edu [155.98.111.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id D19E143D69 for ; Fri, 22 Jul 2005 03:43:24 +0000 (GMT) (envelope-from ogden@yem.eng.utah.edu) Received: from ogden by yem.eng.utah.edu with local (Exim 4.51 (FreeBSD)) id 1DvoR5-0005MG-HK for freebsd-amd64@freebsd.org; Thu, 21 Jul 2005 21:42:55 -0600 Date: Thu, 21 Jul 2005 21:42:55 -0600 From: Mark Ogden To: freebsd-amd64@freebsd.org Message-ID: <20050722034255.GA20466@yem.eng.utah.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Sender: Mark L Ogden Subject: Kernel Build X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 03:43:43 -0000 I installed 5.4 on a new dual opteron adm64 machine (its a Sun W2100z). Everything went great but once the install was finished, of course I had to rebuild the kernel to include: options SMP. Since this was my first build of the kernel on this new machine, I used GENERIC with the option SMP added. The build went fine but on the reboot, usb devices did not come back, "No usb host controller" is what gets printed to the screen during boot. By chance, I thought maybe, just maybe I do have to use the separate SMP kernel that also by default is put in /usr/src/sys/amd64/conf along with GENERICE. Nope, same result. I can see from the output of 'kldstat -v' that the usb modules are being loaded. Any ideas on this? The W2100zs only have usb input for mouse and keyboard so the idea of using this as my desktop machine are on hold untill I can figure this problem out unless of course I just don't rebuild the kernel :( Thanks. -Mark From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 22 03:49:40 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E5E616A41F for ; Fri, 22 Jul 2005 03:49:40 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 228DD43D8F for ; Fri, 22 Jul 2005 03:49:10 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j6M3nAV4042093; Thu, 21 Jul 2005 20:49:10 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j6M3n99v042092; Thu, 21 Jul 2005 20:49:09 -0700 (PDT) (envelope-from obrien) Date: Thu, 21 Jul 2005 20:49:09 -0700 From: "David O'Brien" To: Olexandr Konovalenko Message-ID: <20050722034909.GD41313@dragon.NUXI.org> References: <49213.130.237.35.96.1121786769.squirrel@webmail.sys.kth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49213.130.237.35.96.1121786769.squirrel@webmail.sys.kth.se> X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Cc: freebsd-amd64@freebsd.org Subject: Re: better optimization flags for opteron (amd64)// -ffast-math and -O3 are not friends X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-amd64@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 03:49:40 -0000 On Tue, Jul 19, 2005 at 05:26:09PM +0200, Olexandr Konovalenko wrote: > I found that on my system combination of -ffast-math AND -O3 is slower than > -O0 on AMD64 (interestingly it is true for Xeon EM64 as well), how can it be? > though just -O3 gives fastest double precision floating point computations. -O3 does a lot more than just FP optimizations. It also does a lot of inlining that can blow your caches. It is a falicay that -ON is better than -ON-1 level. Look in the GCC manual at http://gcc.gnu.org - you'll see all the optimizations that -O3 implies. Start with -O2 and add ones from the -O3 list to find the best performance for your benchmark on your machine. -- -- David (obrien@FreeBSD.org) From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 22 12:16:56 2005 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CB0016A420; Fri, 22 Jul 2005 12:16:56 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BEEA43D48; Fri, 22 Jul 2005 12:16:28 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j6MCFuFG005395; Fri, 22 Jul 2005 08:15:56 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.3/8.13.3) with ESMTP id j6MCGRDH047283; Fri, 22 Jul 2005 08:16:27 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id DB23D7304D; Fri, 22 Jul 2005 08:16:26 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20050722121626.DB23D7304D@freebsd-current.sentex.ca> Date: Fri, 22 Jul 2005 08:16:26 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 12:16:56 -0000 TB --- 2005-07-22 10:19:08 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2005-07-22 10:19:08 - starting HEAD tinderbox run for amd64/amd64 TB --- 2005-07-22 10:19:08 - cleaning the object tree TB --- 2005-07-22 10:19:08 - checking out the source tree TB --- 2005-07-22 10:19:08 - cd /home/tinderbox/HEAD/amd64/amd64 TB --- 2005-07-22 10:19:08 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2005-07-22 10:24:33 - building world (CFLAGS=-O2 -pipe) TB --- 2005-07-22 10:24:33 - cd /home/tinderbox/HEAD/amd64/amd64/src TB --- 2005-07-22 10:24:33 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries TB --- 2005-07-22 11:55:42 - building generic kernel (COPTFLAGS=-O2 -pipe) TB --- 2005-07-22 11:55:42 - cd /home/tinderbox/HEAD/amd64/amd64/src TB --- 2005-07-22 11:55:42 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Fri Jul 22 11:55:42 UTC 2005 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for GENERIC completed on Fri Jul 22 12:10:53 UTC 2005 TB --- 2005-07-22 12:10:53 - generating LINT kernel config TB --- 2005-07-22 12:10:53 - cd /home/tinderbox/HEAD/amd64/amd64/src/sys/amd64/conf TB --- 2005-07-22 12:10:53 - /usr/bin/make -B LINT TB --- 2005-07-22 12:10:53 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2005-07-22 12:10:53 - cd /home/tinderbox/HEAD/amd64/amd64/src TB --- 2005-07-22 12:10:53 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Jul 22 12:10:53 UTC 2005 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:311: warning: previous implicit declaration of 'kvtop' was here /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:1011: warning: nested extern declaration of `kvtop' /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:311: warning: redundant redeclaration of 'kvtop' /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:311: warning: previous implicit declaration of 'kvtop' was here /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c: In function `lnc_start': /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:1306: warning: nested extern declaration of `kvtop' /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:311: warning: redundant redeclaration of 'kvtop' /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:311: warning: previous implicit declaration of 'kvtop' was here *** Error code 1 Stop in /tinderbox/HEAD/amd64/amd64/obj/amd64/tinderbox/HEAD/amd64/amd64/src/sys/LINT. *** Error code 1 Stop in /tinderbox/HEAD/amd64/amd64/src. *** Error code 1 Stop in /tinderbox/HEAD/amd64/amd64/src. TB --- 2005-07-22 12:16:26 - WARNING: /usr/bin/make returned exit code 1 TB --- 2005-07-22 12:16:26 - ERROR: failed to build lint kernel TB --- 2005-07-22 12:16:26 - tinderbox aborted From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 22 16:04:00 2005 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C99CA16A4E5; Fri, 22 Jul 2005 16:03:59 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A58443DCD; Fri, 22 Jul 2005 16:03:34 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j6MG3YlR049636; Fri, 22 Jul 2005 19:03:34 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 01741-01; Fri, 22 Jul 2005 19:03:33 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j6MG3Xuu049633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Jul 2005 19:03:33 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j6MG3RIO063680; Fri, 22 Jul 2005 19:03:27 +0300 (EEST) (envelope-from ru) Date: Fri, 22 Jul 2005 19:03:27 +0300 From: Ruslan Ermilov To: FreeBSD Tinderbox Message-ID: <20050722160327.GF62408@ip.net.ua> References: <20050722121626.DB23D7304D@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b8GWCKCLzrXbuNet" Content-Disposition: inline In-Reply-To: <20050722121626.DB23D7304D@freebsd-current.sentex.ca> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: amd64@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 16:04:00 -0000 --b8GWCKCLzrXbuNet Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 22, 2005 at 08:16:26AM -0400, FreeBSD Tinderbox wrote: > [...] > /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:311: warning: previo= us implicit declaration of 'kvtop' was here > /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:1011: warning: neste= d extern declaration of `kvtop' > /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:311: warning: redund= ant redeclaration of 'kvtop' > /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:311: warning: previo= us implicit declaration of 'kvtop' was here > /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c: In function `lnc_st= art': > /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:1306: warning: neste= d extern declaration of `kvtop' > /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:311: warning: redund= ant redeclaration of 'kvtop' > /tinderbox/HEAD/amd64/amd64/src/sys/dev/lnc/if_lnc.c:311: warning: previo= us implicit declaration of 'kvtop' was here > *** Error code 1 >=20 > Stop in /tinderbox/HEAD/amd64/amd64/obj/amd64/tinderbox/HEAD/amd64/amd64/= src/sys/LINT. > *** Error code 1 >=20 > Stop in /tinderbox/HEAD/amd64/amd64/src. > *** Error code 1 >=20 > Stop in /tinderbox/HEAD/amd64/amd64/src. > TB --- 2005-07-22 12:16:26 - WARNING: /usr/bin/make returned exit code 1= =20 > TB --- 2005-07-22 12:16:26 - ERROR: failed to build lint kernel > TB --- 2005-07-22 12:16:26 - tinderbox aborted >=20 This should be fixed (by diking lnc out from the amd64 build). Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --b8GWCKCLzrXbuNet Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC4RjPqRfpzJluFF4RApImAJ45/en8zl9CdoMvi++Q/bmOA5+DSACdHTqG tXJ8K+hY74Pp2kOi1h7TVow= =JVCw -----END PGP SIGNATURE----- --b8GWCKCLzrXbuNet-- From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 22 16:53:33 2005 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4F8216A439 for ; Fri, 22 Jul 2005 16:53:33 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from mail27.sea5.speakeasy.net (mail27.sea5.speakeasy.net [69.17.117.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5E6F44189 for ; Fri, 22 Jul 2005 16:28:28 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: (qmail 19425 invoked from network); 22 Jul 2005 16:28:26 -0000 Received: from aldan.algebra.com ([216.254.65.224]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 22 Jul 2005 16:28:24 -0000 Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j6MGSG4d097344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 22 Jul 2005 12:28:21 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from mteterin.us.murex.com (195-11.customer.cloud9.net [168.100.195.11]) by corbulon.video-collage.com (8.13.4/8.13.1) with ESMTP id j6MGSA2p039297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Jul 2005 12:28:11 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from mteterin.us.murex.com (mteterin@localhost [127.0.0.1]) by mteterin.us.murex.com (8.13.3/8.13.3) with ESMTP id j6MGS4no076848; Fri, 22 Jul 2005 12:28:04 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by mteterin.us.murex.com (8.13.3/8.13.3/Submit) id j6MGS3pC076847; Fri, 22 Jul 2005 12:28:03 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) X-Authentication-Warning: mteterin.us.murex.com: mteterin set sender to mi+mx@aldan.algebra.com using -f From: Mikhail Teterin Organization: Virtual Estates, Inc. To: John-Mark Gurney Date: Fri, 22 Jul 2005 12:28:03 -0400 User-Agent: KMail/1.8.1 References: <200507200419.j6K4Jpgd083006@blue.virtual-estates.net> <20050720053432.GA62369@funkthat.com> In-Reply-To: <20050720053432.GA62369@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200507221228.03573.mi+mx@aldan.algebra.com> X-Virus-Scanned: ClamAV devel-20050525/987/Thu Jul 21 10:57:41 2005 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: amd64@freebsd.org, stable@freebsd.org Subject: Re: OS suddenly VERY busy X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 16:53:33 -0000 ÓÅÒÅÄÁ 20 ÌÉÐÅÎØ 2005 01:34, John-Mark Gurney ÷É ÎÁÐÉÓÁÌÉ: > > This is a single-CPU Opteron running: > > > > ššššššFreeBSD 5.4-STABLE #0: Fri Jun 10 09:11:30 EDT 2005 amd64 > > > > The box has 2Gb of RAM, but NO SWAP. > run ps lax a few times, and notice which process is fork bombing your > box by seeing which process has the most changing children... If found the culprit, and it was not fork bombing. It was vlc (multimedia/vlc-devel), that was not supposed to do anything. On the list of interrupts I posted originally, observe the 40 to 50 irqs/sec on pcm. Once I told vlc to exit, the system returned back to normal... Does not seem right :-( -mi From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 22 21:20:14 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A9E716A422; Fri, 22 Jul 2005 21:20:14 +0000 (GMT) (envelope-from cjia@cse.unl.edu) Received: from cse-mail.unl.edu (cse-mail.unl.edu [129.93.165.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 093E9441C1; Fri, 22 Jul 2005 21:05:59 +0000 (GMT) (envelope-from cjia@cse.unl.edu) Received: from cse-witty-81.unl.edu (cse-witty-81.unl.edu [129.93.165.9]) by cse-mail.unl.edu (8.13.1/8.13.1) with ESMTP id j6ML5b3h026155; Fri, 22 Jul 2005 16:05:38 -0500 (CDT) From: Neo Jia To: Greg Lewis In-Reply-To: <20050626042355.GA41119@misty.eyesbeyond.com> References: <42BC8310.9040501@cse.unl.edu> <20050626042355.GA41119@misty.eyesbeyond.com> Date: Fri, 22 Jul 2005 16:02:56 -0500 Message-Id: <1122066176.10951.23.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-Scanned-By: MIMEDefang 2.49 on 129.93.165.11 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-amd64@freebsd.org, freebsd-java@freebsd.org Subject: Re: Is there anyone using gdb to debug the JDK15? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 21:20:14 -0000 All, I have successfully built the JDK15 on the top of Fedora Core 3 with AMD 64 SMP. But when I am going to use gdb debug the java_g, the gdb crashed and reported some generic error messages. I attached the error messages following. Is it a common problem created in AMD 64 arch? I saw the program when it is going to invoke the execve() call. Is it related to the omit-frame-pointer? Gdb seems cannot work properly with such option on 64-bit. > gdb $JAVA_ROOT/java_g GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu"...Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) b java_md.c:562 Breakpoint 1 at 0x4051ee: file ../../../../src/solaris/bin/java_md.c, line 562. (gdb) run -classpath . helloworld Starting program: /home/cjia/j2sdk1.5.0-build/control/build/linux- amd64/bin/java_g -classpath . helloworld [Thread debugging using libthread_db enabled] [New Thread 182894208224 (LWP 1893)] [Switching to Thread 182894208224 (LWP 1893)] Breakpoint 1, CreateExecutionEnvironment (_argcp=0x7fbffff4fc, _argvp=0x7fbffff4f0, jrepath=0x7fbfffe470 "/home/cjia/j2sdk1.5.0- build/control/build/linux-amd64", so_jrepath=4096, jvmpath=0x5130f0 "/home/cjia/j2sdk1.5.0-build/control/build/linux- amd64/lib/amd64/server", so_jvmpath=4096, original_argv=0x513010) at ../../../../src/solaris/bin/java_md.c:562 562 execve(newexec, argv, newenvp); (gdb) n thread_get_info_callback: cannot get thread info: generic error (gdb) n Cannot find bounds of current function (gdb) n Cannot find bounds of current function (gdb) where #0 0x0000000000401850 in ?? () #1 0x0000000000405205 in CreateExecutionEnvironment (_argcp=Cannot fetch general-purpose registers for thread 182894208224: generic error ) at ../../../../src/solaris/bin/java_md.c:562 #2 0x0000000000000000 in ?? () #3 0x0000000000000000 in ?? () #4 0x0000000000000000 in ?? () #5 0x0000000000000000 in ?? () #6 0x0000000000000000 in ?? () #7 0x0000000000000000 in ?? () #8 0x0000000000000000 in ?? () #9 0x0000000000000000 in ?? () #10 0x0000000000000000 in ?? () #11 0x0000000000000000 in ?? () #12 0x0000000000000000 in ?? () #13 0x0000000000000000 in ?? () #14 0x0000000000000000 in ?? () #15 0x0000000000000000 in ?? () #16 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () #18 0x0000000000000000 in ?? () #19 0x0000000000000000 in ?? () #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000000 in ?? () #42 0x0000000000000000 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000000000000 in ?? () #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0x0000000000000000 in ?? () #48 0x0000000000000000 in ?? () #49 0x0000000000000000 in ?? () #50 0x0000000000000000 in ?? () #51 0x0000000000000000 in ?? () #52 0x0000000000000000 in ?? () #53 0x0000000000000000 in ?? () #54 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #55 0x0000000000000000 in ?? () #56 0x0000000000000000 in ?? () #57 0x0000000000000000 in ?? () #58 0x0000000000000000 in ?? () #59 0x0000000000000000 in ?? () #60 0x0000000000000000 in ?? () #61 0x0000000000000000 in ?? () #62 0x0000000000000000 in ?? () #63 0x0000000000000000 in ?? () #64 0x0000000000000000 in ?? () #65 0x0000000000000000 in ?? () #66 0x0000000000000000 in ?? () #67 0x0000000000000000 in ?? () #68 0x0000000000000000 in ?? () #69 0x0000000000000000 in ?? () #70 0x0000000000000000 in ?? () #71 0x0000000000000000 in ?? () #72 0x0000000000000000 in ?? () #73 0x0000000000000000 in ?? () #74 0x0000000000000000 in ?? () #75 0x0000000000000000 in ?? () #76 0x0000000000000000 in ?? () #77 0x0000000000000000 in ?? () #78 0x0000000000000000 in ?? () #79 0x0000000000000000 in ?? () #80 0x0000000000000000 in ?? () #81 0x0000000000000000 in ?? () #82 0x0000000000000000 in ?? () ---Type to continue, or q to quit---qq Quit (gdb) exit Undefined command: "exit". Try "help". (gdb) quit The program is running. Exit anyway? (y or n) y Quitting: thread_db_get_info: cannot get thread info: generic error Thanks, Neo On Sat, 2005-06-25 at 22:23 -0600, Greg Lewis wrote: > On Fri, Jun 24, 2005 at 05:02:56PM -0500, Neo Jia wrote: > > These days, I tried to build the JDK15 on AMD64 with Fedora Core 3, but > > failed. And I happened to find out that in these two mailing lists, > > there were many people who had successfully built it with FreeBSD. I > > hope I could get some detailed information about the building procedure. > > Do you also use the source code from SUN SCSL or another version > > maintained by FreeBSD.org? What is the requirement I should meet to > > build it on FreeBSD, such as the version of FreeBSD? Do I still need GCC > > 3.2.2? > > > > Sorry about so many questions at the first time. Your instructions will > > be greatly appreciated! > > We use the Sun SCSL source code as the base for our port. However, many > patches are required for it to build on FreeBSD. These are contained in > a patchset that you can download at > > http://www.eyesbeyond.com/freebsddom/java/jdk15.html > > The easiest way to do this is simply to use the jdk15 port. Simply do the > following: > > cd /usr/ports/java/jdk15 > make install > > and follow the instructions. There is one caveat on amd64 -- one of the > build commands will fail strangely (this is a bug in the Linux emulation > on amd64 as far as I can determine). Simply execute that command by hand > and restart the build. Also, if you have an EM64T rather than an actual > amd64 then you will need one patch (just reply to me and I can send it to > you or search the mailing list archives and you should find it). > ----------------------------------------------------------------------------------- I would remember that if researchers were not ambitions probably today we haven't the technology we are using! From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 23 19:12:26 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE8D116A41F for ; Sat, 23 Jul 2005 19:12:26 +0000 (GMT) (envelope-from peter@wemm.org) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83B0E43D45 for ; Sat, 23 Jul 2005 19:12:26 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 628F22A8DA for ; Sat, 23 Jul 2005 12:12:26 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 120B0E2B3 for ; Sat, 23 Jul 2005 12:12:25 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.4/8.13.1) with ESMTP id j6NJCPfC070573; Sat, 23 Jul 2005 12:12:25 -0700 (PDT) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.4/8.13.1/Submit) id j6NJCOb7070572; Sat, 23 Jul 2005 12:12:24 -0700 (PDT) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: Petri Helenius Date: Sat, 23 Jul 2005 12:12:24 -0700 User-Agent: KMail/1.8.1 References: <42DFDCCA.8050207@he.iki.fi> <200507210137.29816.peter@wemm.org> <42DFF043.3090203@he.iki.fi> In-Reply-To: <42DFF043.3090203@he.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507231212.24708.peter@wemm.org> Cc: freebsd-amd64@freebsd.org Subject: Re: kernel memory X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 19:12:26 -0000 On Thursday 21 July 2005 11:58 am, Petri Helenius wrote: > Peter Wemm wrote: > >2GB for paged kernel memory. But in addition we access memory via > > the direct map area to avoid the need for temporary mappings in > > many cases. uma (malloc, mbufs) etc use this, as does the sfbuf > > temporary mapping system. > > So there is no limitation for malloced memory? Say if my driver would > like to have 4 or 8 gig lookup cache that would work? AARGH. I've just found a bug/feature in the memory allocator. There are two code paths, one for small ( X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 256D716A41F for ; Sat, 23 Jul 2005 19:17:26 +0000 (GMT) (envelope-from peter@wemm.org) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0D1943D49 for ; Sat, 23 Jul 2005 19:17:23 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 7C54B2A8DA for ; Sat, 23 Jul 2005 12:17:23 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id A6688E2B3 for ; Sat, 23 Jul 2005 12:17:22 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.4/8.13.1) with ESMTP id j6NJHMqK070734; Sat, 23 Jul 2005 12:17:22 -0700 (PDT) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.4/8.13.1/Submit) id j6NJHLu9070733; Sat, 23 Jul 2005 12:17:21 -0700 (PDT) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: freebsd-amd64@freebsd.org Date: Sat, 23 Jul 2005 12:17:21 -0700 User-Agent: KMail/1.8.1 References: <42DFDCCA.8050207@he.iki.fi> <42DFF043.3090203@he.iki.fi> <200507231212.24708.peter@wemm.org> In-Reply-To: <200507231212.24708.peter@wemm.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507231217.21681.peter@wemm.org> Cc: Petri Helenius Subject: Re: kernel memory X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 19:17:26 -0000 On Saturday 23 July 2005 12:12 pm, Peter Wemm wrote: > On Thursday 21 July 2005 11:58 am, Petri Helenius wrote: > > Peter Wemm wrote: > > >2GB for paged kernel memory. But in addition we access memory via > > > the direct map area to avoid the need for temporary mappings in > > > many cases. uma (malloc, mbufs) etc use this, as does the sfbuf > > > temporary mapping system. > > > > So there is no limitation for malloced memory? Say if my driver > > would like to have 4 or 8 gig lookup cache that would work? > > AARGH. I've just found a bug/feature in the memory allocator. > > There are two code paths, one for small ( which uses the direct map allocations instead of kvm allocations, and > the other large chunk allocator that simply allocates pages at a time > from kvm. :-( > > I suspect this is because malloc's semantics depend on objects being > contiguous. The direct map method would allocate physically > discontiguous pages. > > So, if you allocated your lookup cache in <4K chunks, you could have > as much as you like. :-/ Make that <= 4K. A 4K allocation should be fine. But I suspect that is still going to be a pain to deal with. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5