From owner-freebsd-ppc@FreeBSD.ORG Sun May 24 12:48:35 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BBB6106566B for ; Sun, 24 May 2009 12:48:35 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id CED4D8FC21 for ; Sun, 24 May 2009 12:48:34 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from deuterium.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id n4OCmVQu029657; Sun, 24 May 2009 14:48:32 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4A19421F.3090209@fgznet.ch> Date: Sun, 24 May 2009 14:48:31 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marcel Moolenaar References: <6C962FE0-657A-4072-B050-903D54C712D4@mac.com> In-Reply-To: <6C962FE0-657A-4072-B050-903D54C712D4@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: FreeBSD PowerPC ML Subject: Re: [patch] __syncicache: eliminate D-cache flush X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2009 12:48:35 -0000 Hi Marcel, Marcel Moolenaar wrote: > I tested a make buildworld/buildkernel and a make release. I can't > test the image because I'm having difficulty booting from the CD > (I think that's mostly related to using a serial console and none > of the standard Open Firmware key combinations works). > > Can someone try and boot (and preferably go through a real install): > http://people.freebsd.org/~marcel/8.0-CURRENT-200905-powerpc-disc1.iso > > In the mean time, I'll try a make buildworld across NFS to see if > we need to implement cpu_flush_dcache() to compensate... I tried to boot the iso on my iMac DV, 'default catch' when trying to change from of to boot screen. Then I applied the patch to my src tree and had the same issue. The iMac DV details: FreeBSD 8.0-CURRENT #26 r192567M: Fri May 22 14:45:02 CEST 2009 andreast@deuterium_fbsd.andreas.nets:/export/devel/obj/powerpc/export/devel/src/sys/GENERIC cpu0: Motorola PowerPC 750 revision 3.2, 500.00 MHz cpu0: HID0 8090c0a4 real memory = 525922304 (501 MB) avail memory = 506224640 (482 MB) Andreas From owner-freebsd-ppc@FreeBSD.ORG Sun May 24 19:15:49 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2112E106564A for ; Sun, 24 May 2009 19:15:49 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id DDB8A8FC1B for ; Sun, 24 May 2009 19:15:48 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n4OJFkDh014030; Sun, 24 May 2009 13:15:47 -0600 Message-Id: From: Rafal Jaworowski To: Andrew Turner In-Reply-To: <20090523172128.2e0a3f2b@fubar.geek.nz> Content-Type: text/plain; charset=ISO-8859-2; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sun, 24 May 2009 21:15:44 +0200 References: <35914876-0CFF-427B-8F80-B1BEEA5A7A18@semihalf.com> <4A0824E3.8070606@fang.fa.gau.hu> <20090523172128.2e0a3f2b@fubar.geek.nz> X-Mailer: Apple Mail (2.935.3) Cc: Michal Mazur , freebsd-ppc@freebsd.org Subject: Re: FreeBSD/powerpc on MPC5200 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2009 19:15:49 -0000 On 2009-05-23, at 07:21, Andrew Turner wrote: > On Fri, 22 May 2009 12:21:01 +0200 > Rafal Jaworowski wrote: >> >> On 2009-05-11, at 15:15, Peter Czanik wrote: >> >>> Rafal Jaworowski =EDrta: >>>> I'd like to let people know that FreeBSD/powerpc is now able to >>>> boot into single user on the Freescale MPC5200 system-on-chip >>>> (EFIKA board). The environment is very simplistic: RAM disk based >>>> root fs, as >>>> there's no peripherals drivers besides serial console and the >>>> built- in >>>> PIC. See this log: http://people.freebsd.org/~raj/logs/efika.log >>> Wow, great news! Two questions: >>> - are there any plans to support additional devices? >> >> We don't have immediate plans for other devices drivers, but this >> basic support will be merged into SVN, and it would be greatly >> welcome to see people help with remaining items. > Is there a patch available? I would like to get back to working on the > EFIKA. Preliminary diff against 2009.04.06 HEAD is here: = http://people.freebsd.org/~raj/patches/powerpc/efika.diff Comments or questions welcome. Some bits need to be streamlined so =20 that all AIM/OF variations work together, and the code has to be =20 rebased against up-to-date HEAD. Rafal From owner-freebsd-ppc@FreeBSD.ORG Mon May 25 11:06:58 2009 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFABA1065674 for ; Mon, 25 May 2009 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BBAE58FC22 for ; Mon, 25 May 2009 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4PB6wml092919 for ; Mon, 25 May 2009 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4PB6wwe092915 for freebsd-ppc@FreeBSD.org; Mon, 25 May 2009 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 May 2009 11:06:58 GMT Message-Id: <200905251106.n4PB6wwe092915@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 11:06:59 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/133503 ppc Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 7 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon May 25 14:39:30 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF77F1065678 for ; Mon, 25 May 2009 14:39:29 +0000 (UTC) (envelope-from pjmaiya@signal-networks.com) Received: from smtp.bizmail.net4india.com (smtp1.bizmail.net4india.com [202.71.129.104]) by mx1.freebsd.org (Postfix) with ESMTP id 84AF18FC12 for ; Mon, 25 May 2009 14:39:28 +0000 (UTC) (envelope-from pjmaiya@signal-networks.com) Received: from [122.166.21.73] (helo=signal-networks.com) by smtp.bizmail.net4india.com with esmtp (Exim 4.69) (envelope-from ) id 1M8YoU-0002VB-V2 for freebsd-ppc@freebsd.org; Mon, 25 May 2009 17:28:01 +0530 X-MDAV-Processed: signal-networks.com, Mon, 25 May 2009 17:36:52 +0530 Received: from pjmaiya ([192.168.1.77]) by signal-networks.com (signal-networks.com [192.168.1.1]) (MDaemon Standard v10.0.5) with ESMTP id md50000370829.msg for ; Mon, 25 May 2009 17:36:49 +0530 X-MDRemoteIP: 192.168.1.77 X-Return-Path: pjmaiya@signal-networks.com X-Envelope-From: pjmaiya@signal-networks.com X-MDaemon-Deliver-To: freebsd-ppc@freebsd.org Message-ID: <002201c9dd30$aab95090$4d01a8c0@pjmaiya> From: "P Jagadeesh Maiya" To: Date: Mon, 25 May 2009 17:32:24 +0530 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_001E_01C9DD5E.C43F8010" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ksaithal , P J Maiya Subject: Hard disk access X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 14:39:30 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C9DD5E.C43F8010 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi, We are using MPC860 running on monta vista linux3.0. Our products is = able to boot using NFS as well as parallel ATA hard disk.=20 Since ATA hard disk almost vanishing, we are forced to use SATA hard = disk. For this, we have used parallel IDE to SATA conversion h/w. By booting in NFS, we were able to format the hard disk and also able to = copy filesystem image on to hard disk. But when we boot using hard disk = system some time hangs in execv(/sbin/init). Very rarely booting happens = completely. Some time hard disk file sytem gets corrupted.=20 Following errors occurs: 1. System hangs displaying freeing kernel memory(basically hangs in = execv(/sbin/init)) 2. Some time expection arises(message-Bad emulation init/1) 3. Some time boots properly 4. Some time entire filesystem gets corrupted We are running CPU@130Mhz.=20 Find also the attachement for knowing the ouput. Can any one help me to solve this problem?? Thanx in advance. rgds, pjmaiya ------=_NextPart_000_001E_01C9DD5E.C43F8010 Content-Type: text/plain; name="hdd.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="hdd.txt" Verifying Checksum ... OK=0A= Loading image...Done=0A= Linux version 2.4.18_mvl30-fads (root@icm1) (gcc version 3.2.1 20020930 = (MontaVista)) #256 Mon May 25 12:29:06 IST 2009=0A= On node 0 totalpages: 131072=0A= zone(0): 131072 pages.=0A= zone(1): 0 pages.=0A= zone(2): 0 pages.=0A= Kernel command line: root=3D/dev/hda1 rw rootpath=3D/=0A= rtsched version <20011203.1609.50>=0A= Decrementer Frequency =3D 487500000/60=0A= Warning: real time clock seems stuck!=0A= Calibrating delay loop... 129.84 BogoMIPS=0A= Memory: 514016k available (1440k kernel code, 540k data, 56k init, 0k = highmem)=0A= Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)=0A= Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)=0A= Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)=0A= Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)=0A= Page-cache hash table entries: 131072 (order: 7, 524288 bytes)=0A= POSIX conformance testing by UNIFIX=0A= Linux NET4.0 for Linux 2.4=0A= Based upon Swansea University Computer Society NET3.039=0A= Initializing RT netlink socket=0A= Starting kswapd=0A= Disabling the Out Of Memory Killer=0A= Journalled Block Device driver loaded=0A= JFFS version 1.0, (C) 1999, 2000 Axis Communications AB=0A= ICMv1: Version:01.01.01-ICMv1-TAG_NONE-May 25 2009-12:29:13#01.01=0A= CPM UART driver version 0.03=0A= ttyS0 on SMC1 at 0x0280, BRG1=0A= ttyS1 on SMC2 at 0x0380, BRG2=0A= pty: 256 Unix98 ptys configured=0A= block: 128 slots per queue, batch=3D32=0A= RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize=0A= Uniform Multi-Platform E-IDE driver Revision: 6.31=0A= ide: Assuming 50MHz system bus speed for PIO modes; override with = idebus=3Dxx=0A= IDE phys mem : feff0000...feff0200 (size 00000200)=0A= hda: probing with STATUS(0x50) instead of ALTSTATUS(0x00)=0A= hda: ST9120821AS, ATA DISK drive=0A= ide0 at 0xe1000010-0xe1000017,0xe1000020 on irq 12=0A= hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=3D232581/16/63=0A= Partition check:=0A= hda: hda1 hda2 hda3 hda4 < hda5 >=0A= eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 8, addr 00:1a:b0:00:01:53=0A= eth0: Phy @ 0x0, type LXT971 (0x001378e2)=0A= loop: loaded (max 8 devices)=0A= ND_PPP register to nd-ppp device successfully=0A= init_icm_mtd: chip probing count 0=0A= Amd/Fujitsu Extended Query Table v1.1 at 0x0040=0A= number of CFI chips: 1=0A= init_icm_mtd: bank1, name:ICM0, size:16777216bytes =0A= ICM flash0: Using Static image partition definition=0A= Creating 3 MTD partitions on "ICM0":=0A= 0x00200000-0x00400000 : "icm-configs"=0A= 0x00400000-0x00440000 : "icm-pbx-grp-configs"=0A= 0x00440000-0x004c0000 : "icm-pbx-ext-configs"=0A= I2C_INIT...:i2c initialization Done =0A= NET4: Linux TCP/IP 1.0 for NET4.0=0A= IP Protocols: ICMP, UDP, TCP, IGMP=0A= IP: routing cache hash table of 4096 buckets, 32Kbytes=0A= TCP: Hash tables configured (established 131072 bind 65536)=0A= eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.=0A= IP-Config: Incomplete network configuration information.=0A= NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.=0A= CODEC : IDT : $ Codec Driver ,v 1.0 2004/07/20 DTMF : FPGA on irq 10 =0A= Failed to Register Codecs =0A= CPU Clock speed:130000000SPI : MPC8xx : $ SPI Driver ,v 1.0 2004/07/20 =0A= EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal=0A= EXT3-fs: recovery complete.=0A= EXT3-fs: mounted filesystem with ordered data mode.=0A= VFS: Mounted root (ext3 filesystem).=0A= Freeing unused kernel memory: 56k init=0A= ------=_NextPart_000_001E_01C9DD5E.C43F8010 Content-Type: text/plain; name="hdd3.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="hdd3.txt" Verifying Checksum ... OK=0A= Loading image...Done=0A= Linux version 2.4.18_mvl30-fads (root@icm1) (gcc version 3.2.1 20020930 = (MontaVista)) #260 Mon May 25 12:48:52 IST 2009=0A= On node 0 totalpages: 131072=0A= zone(0): 131072 pages.=0A= zone(1): 0 pages.=0A= zone(2): 0 pages.=0A= Kernel command line: root=3D/dev/hda1 rw rootpath=3D/=0A= rtsched version <20011203.1609.50>=0A= Decrementer Frequency =3D 487500000/60=0A= Warning: real time clock seems stuck!=0A= Calibrating delay loop... 129.84 BogoMIPS=0A= Memory: 514016k available (1440k kernel code, 540k data, 56k init, 0k = highmem)=0A= Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)=0A= Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)=0A= Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)=0A= Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)=0A= Page-cache hash table entries: 131072 (order: 7, 524288 bytes)=0A= POSIX conformance testing by UNIFIX=0A= Linux NET4.0 for Linux 2.4=0A= Based upon Swansea University Computer Society NET3.039=0A= Initializing RT netlink socket=0A= Starting kswapd=0A= Disabling the Out Of Memory Killer=0A= Journalled Block Device driver loaded=0A= JFFS version 1.0, (C) 1999, 2000 Axis Communications AB=0A= ICMv1: Version:01.01.01-ICMv1-TAG_NONE-May 25 2009-12:48:59#01.01=0A= CPM UART driver version 0.03=0A= ttyS0 on SMC1 at 0x0280, BRG1=0A= ttyS1 on SMC2 at 0x0380, BRG2=0A= pty: 256 Unix98 ptys configured=0A= block: 128 slots per queue, batch=3D32=0A= RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize=0A= Uniform Multi-Platform E-IDE driver Revision: 6.31=0A= ide: Assuming 50MHz system bus speed for PIO modes; override with = idebus=3Dxx=0A= IDE phys mem : feff0000...feff0200 (size 00000200)=0A= hda: probing with STATUS(0x50) instead of ALTSTATUS(0x00)=0A= hda: ST9120821AS, ATA DISK drive=0A= ide0 at 0xe1000010-0xe1000017,0xe1000020 on irq 12=0A= SNPL:HD SETUP=0A= SNPL:HD CAPCITY=0A= hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=3D232581/16/63=0A= Partition check:=0A= hda:SNPL: HDD R/W=0A= hda: reading: LBAsect=3D0, sectors=3D8, buffer=3D0xc0b5c000=0A= hda1 hda2 hda3 hda4 =0A= eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 8, addr 00:1a:b0:00:01:53=0A= eth0: Phy @ 0x0, type LXT971 (0x001378e2)=0A= loop: loaded (max 8 devices)=0A= ND_PPP register to nd-ppp device successfully=0A= init_icm_mtd: chip probing count 0=0A= Amd/Fujitsu Extended Query Table v1.1 at 0x0040=0A= number of CFI chips: 1=0A= init_icm_mtd: bank1, name:ICM0, size:16777216bytes =0A= ICM flash0: Using Static image partition definition=0A= Creating 3 MTD partitions on "ICM0":=0A= 0x00200000-0x00400000 : "icm-configs"=0A= 0x00400000-0x00440000 : "icm-pbx-grp-configs"=0A= 0x00440000-0x004c0000 : "icm-pbx-ext-configs"=0A= I2C_INIT...:i2c initialization Done =0A= NET4: Linux TCP/IP 1.0 for NET4.0=0A= IP Protocols: ICMP, UDP, TCP, IGMP=0A= IP: routing cache hash table of 4096 buckets, 32Kbytes=0A= TCP: Hash tables configured (established 131072 bind 65536)=0A= eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.=0A= IP-Config: Incomplete network configuration information.=0A= NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.=0A= CODEC : IDT : $ Codec Driver ,v 1.0 2004/07/20 DTMF : FPGA on irq 10 =0A= Failed to Register Codecs =0A= CPU Clock speed:130000000SPI : MPC8xx : $ SPI Driver ,v 1.0 2004/07/20 =0A= journald starting. Commit interval 5 seconds=0A= EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal=0A= hda: writing: LBAsect=3D4231, sectors=3D8, buffer=3D0xdfef9000=0A= EXT3-fs: mounted filesystem with ordered data mode.=0A= VFS: Mounted root (ext3 filesystem).=0A= Freeing unused kernel memory: 56k init=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= SNPL: HDD R/W=0A= hda: writing: LBAsect=3D4231, sectors=3D8, buffer=3D0xdfef9000=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= SNPL: HDD R/W=0A= hda: writing: LBAsect=3D4239, sectors=3D24, buffer=3D0xdfe4b000=0A= SNPL: HDD R/W=0A= hda: writing: LBAsect=3D4263, sectors=3D8, buffer=3D0xdfe4a000=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= Bad emulation init/1=0A= NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: = 201 rc: 1=0A= pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889=0A= RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1=0A= Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd=0A= =0A= ------=_NextPart_000_001E_01C9DD5E.C43F8010-- From owner-freebsd-ppc@FreeBSD.ORG Tue May 26 13:15:08 2009 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3DBA106571E; Tue, 26 May 2009 13:15:07 +0000 (UTC) (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 A34458FC4A; Tue, 26 May 2009 13:15:07 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4QDF5EN035213; Tue, 26 May 2009 09:15:05 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4QDF55M086052; Tue, 26 May 2009 09:15:05 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id C71B97302F; Tue, 26 May 2009 09:15:04 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090526131504.C71B97302F@freebsd-current.sentex.ca> Date: Tue, 26 May 2009 09:15:04 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 13:15:09 -0000 TB --- 2009-05-26 11:42:43 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-26 11:42:43 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-26 11:42:43 - cleaning the object tree TB --- 2009-05-26 11:43:22 - cvsupping the source tree TB --- 2009-05-26 11:43:22 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-26 11:43:30 - building world TB --- 2009-05-26 11:43:30 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-26 11:43:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-26 11:43:30 - TARGET=powerpc TB --- 2009-05-26 11:43:30 - TARGET_ARCH=powerpc TB --- 2009-05-26 11:43:30 - TZ=UTC TB --- 2009-05-26 11:43:30 - __MAKE_CONF=/dev/null TB --- 2009-05-26 11:43:30 - cd /src TB --- 2009-05-26 11:43:30 - /usr/bin/make -B buildworld >>> World build started on Tue May 26 11:43:32 UTC 2009 >>> 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 >>> World build completed on Tue May 26 13:09:47 UTC 2009 TB --- 2009-05-26 13:09:47 - generating LINT kernel config TB --- 2009-05-26 13:09:47 - cd /src/sys/powerpc/conf TB --- 2009-05-26 13:09:47 - /usr/bin/make -B LINT TB --- 2009-05-26 13:09:47 - building LINT kernel TB --- 2009-05-26 13:09:47 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-26 13:09:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-26 13:09:47 - TARGET=powerpc TB --- 2009-05-26 13:09:47 - TARGET_ARCH=powerpc TB --- 2009-05-26 13:09:47 - TZ=UTC TB --- 2009-05-26 13:09:47 - __MAKE_CONF=/dev/null TB --- 2009-05-26 13:09:47 - cd /src TB --- 2009-05-26 13:09:47 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue May 26 13:09:47 UTC 2009 >>> 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 [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_card.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_core.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_i2c.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_os.c /src/sys/dev/bktr/bktr_os.c: In function 'bktr_attach': /src/sys/dev/bktr/bktr_os.c:473: error: 'SYS_RES_MEM' undeclared (first use in this function) /src/sys/dev/bktr/bktr_os.c:473: error: (Each undeclared identifier is reported only once /src/sys/dev/bktr/bktr_os.c:473: error: for each function it appears in.) *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-26 13:15:04 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-26 13:15:04 - ERROR: failed to build lint kernel TB --- 2009-05-26 13:15:04 - 4319.03 user 419.02 system 5541.05 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue May 26 17:51:47 2009 Return-Path: Delivered-To: ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C38951065670 for ; Tue, 26 May 2009 17:51:47 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx1.freebsd.org (Postfix) with ESMTP id B3BA08FC0C for ; Tue, 26 May 2009 17:51:47 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from [172.24.105.139] (natint3.juniper.net [66.129.224.36]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KK9009FRG3JSP10@asmtp013.mac.com>; Tue, 26 May 2009 09:51:08 -0700 (PDT) Message-id: From: Marcel Moolenaar To: ppc@FreeBSD.org Date: Tue, 26 May 2009 09:50:08 -0700 X-Mailer: Apple Mail (2.935.3) Cc: Rafal Jaworowski Subject: MPC8555CDS: U-Boot vs loader compatibility X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 17:51:48 -0000 All, I think I recently updated the FreeBSD loader on my CDS that has U-Boot version 1.3.2-rc1 on it (yes, that sounds rather fuzzy :-) In any case, the latest PowerPC U-Boot loader is having a problem with netbooting. I see packets being transmitted (BOOTP), but none of the responses seem to arrive at the loader. Then the ARP resolution is attempted, which fails as well. I'm assuming there's an incompatibility between my U-Boot and the loader so I tried building U-Boot on my FreeBSD box, but that's failing due to FDT fodder in tools/mkimage. In short: Linuxisms. So, before I dive into U-Boot build issues and waste my time on that, can someone tell me if I *do* need to upgrade and which U-Boot version (at minimum) I need? Also: did U-Boot grow support to boot from IDE/ATA that's in the VIA chipset on the mainboard? Thanks, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Tue May 26 18:43:40 2009 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4DB610656B9 for ; Tue, 26 May 2009 18:43:40 +0000 (UTC) (envelope-from prvs=139732143f=spotvin@telcobridges.com) Received: from zerofail.com (gatekeeper1.zerofail.com [208.71.11.38]) by mx1.freebsd.org (Postfix) with ESMTP id 678D18FC20 for ; Tue, 26 May 2009 18:43:40 +0000 (UTC) (envelope-from prvs=139732143f=spotvin@telcobridges.com) Received: from telcobridges.com by telcobridges.com (zerofail.com) (SecurityGateway 1.1.4) with SMTP id SG003860603.MSG for ; Tue, 26 May 2009 14:33:04 -0400 Received: from leia.telcobridges.lan ([208.94.105.59]) by telcobridges.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 26 May 2009 14:33:28 -0400 Message-ID: <4A1C35F8.7000002@telcobridges.com> Date: Tue, 26 May 2009 14:33:28 -0400 From: "Stephane E. Potvin" Organization: TelcoBridges Inc. User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: Marcel Moolenaar References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: multipart/mixed; boundary="------------070604060609060800000505" X-OriginalArrivalTime: 26 May 2009 18:33:28.0800 (UTC) FILETIME=[76B2DE00:01C9DE30] X-SGHeloLookup-Result: hardfail smtp.helo=telcobridges.com (does not match 208.71.8.41) X-SGOP-RefID: str=0001.0A090201.4A1C35F9.0147:SCFSTAT5152683, ss=1, fgs=0 (_st=1 _vt=0 _iwf=0) Cc: Rafal Jaworowski , ppc@freebsd.org Subject: Re: MPC8555CDS: U-Boot vs loader compatibility X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 18:43:41 -0000 This is a multi-part message in MIME format. --------------070604060609060800000505 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marcel Moolenaar wrote: > All, > > I think I recently updated the FreeBSD loader on my CDS > that has U-Boot version 1.3.2-rc1 on it (yes, that sounds > rather fuzzy :-) In any case, the latest PowerPC U-Boot > loader is having a problem with netbooting. I see packets > being transmitted (BOOTP), but none of the responses seem > to arrive at the loader. Then the ARP resolution is > attempted, which fails as well. > > I'm assuming there's an incompatibility between my U-Boot > and the loader so I tried building U-Boot on my FreeBSD > box, but that's failing due to FDT fodder in tools/mkimage. > In short: Linuxisms. > > So, before I dive into U-Boot build issues and waste my > time on that, can someone tell me if I *do* need to > upgrade and which U-Boot version (at minimum) I need? > > Also: did U-Boot grow support to boot from IDE/ATA that's > in the VIA chipset on the mainboard? > Hi Marcel, I'm using 1.3.4 with success (on both 8349 and 8379, it should not be making any difference, but YMMV). I'm attaching a patch that I use locally to enable u-boot to build cleanly on FreeBSD with the devel/cross-* ports. Hope this helps Steph -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkocNfYACgkQmdOXtTCX/nusVACgniIxLqPsM7tT5CDFRVCRC4+3 IvMAoOYkT4O7f07GXdApLeZhjMUHf0v2 =Knx+ -----END PGP SIGNATURE----- --------------070604060609060800000505 Content-Type: text/plain; name="fbsd_support.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fbsd_support.diff" commit 257e73a8d19a52b08213fa04a53e5777be6d71a3 Author: Stephane E. Potvin Date: Fri Jan 16 17:19:27 2009 -0500 Add FreeBSD host support Signed-off-by: Stephane E. Potvin diff --git a/include/image.h b/include/image.h index 46138fa..85804ff 100644 --- a/include/image.h +++ b/include/image.h @@ -33,7 +33,13 @@ #ifndef __IMAGE_H__ #define __IMAGE_H__ +#ifdef __FreeBSD__ +#include + +typedef u_long ulong; +#else #include +#endif #include #ifndef USE_HOSTCC diff --git a/include/libfdt_env.h b/include/libfdt_env.h index a7fd2f8..7300edc 100644 --- a/include/libfdt_env.h +++ b/include/libfdt_env.h @@ -30,12 +30,23 @@ #endif /* USE_HOSTCC */ #include +#ifdef __FreeBSD__ +#include +#else #include +#endif extern struct fdt_header *working_fdt; /* Pointer to the working fdt */ +#ifdef __FreeBSD__ +#define fdt32_to_cpu(x) be32toh(x) +#define cpu_to_fdt32(x) htobe32(x) +#define fdt64_to_cpu(x) be64toh(x) +#define cpu_to_fdt64(x) htobe64(x) +#else #define fdt32_to_cpu(x) __be32_to_cpu(x) #define cpu_to_fdt32(x) __cpu_to_be32(x) #define fdt64_to_cpu(x) __be64_to_cpu(x) #define cpu_to_fdt64(x) __cpu_to_be64(x) +#endif #endif /* _LIBFDT_ENV_H */ diff --git a/include/u-boot/md5.h b/include/u-boot/md5.h index 8b44a7f..2a0e665 100644 --- a/include/u-boot/md5.h +++ b/include/u-boot/md5.h @@ -6,7 +6,13 @@ #ifndef _MD5_H #define _MD5_H +#ifdef __FreeBSD__ +#include + +typedef uint32_t __u32; +#else #include +#endif struct MD5Context { __u32 buf[4]; diff --git a/lib_generic/md5.c b/lib_generic/md5.c index 9150510..212a53f 100644 --- a/lib_generic/md5.c +++ b/lib_generic/md5.c @@ -32,7 +32,13 @@ #include #endif /* USE_HOSTCC */ #include +#ifdef __FreeBSD__ +#include + +typedef uint32_t __u32; +#else #include +#endif #include static void commit c166b9f962151c6365e4c81ad1164c2bc12bb625 Author: Stephane E. Potvin Date: Fri Jan 16 12:05:01 2009 -0500 Search for bash under /usr/local/bin also. Signed-off-by: Stephane E. Potvin diff --git a/config.mk b/config.mk index 1dac29b..bbf5bb2 100644 --- a/config.mk +++ b/config.mk @@ -73,7 +73,8 @@ endif CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ else if [ -x /bin/bash ]; then echo /bin/bash; \ - else echo sh; fi ; fi) + else if [ -x /usr/local/bin/bash ]; then echo /usr/local/bin/bash; \ + else echo sh; fi ; fi ; fi) ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc) HOSTCC = cc commit 58601ca2a4dc8cbbd74e13512f61e613c1f2a804 Author: Stephane E. Potvin Date: Fri Jan 16 12:03:36 2009 -0500 Fix the sed expression used to change the source extension to .o to make it work under Solaris and FreeBSD. Signed-off-by: Stephane E. Potvin diff --git a/rules.mk b/rules.mk index a77451b..d35fd8d 100644 --- a/rules.mk +++ b/rules.mk @@ -28,7 +28,7 @@ _depend: $(obj).depend $(obj).depend: $(src)Makefile $(TOPDIR)/config.mk $(SRCS) @rm -f $@ @for f in $(SRCS); do \ - g=`basename $$f | sed -e 's/\(.*\)\.\w/\1.o/'`; \ + g=`basename $$f | sed -e 's/\(.*\)\..*/\1.o/'`; \ $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $(obj)$$g $$f >> $@ ; \ done --------------070604060609060800000505 Content-Type: application/octet-stream; name="fbsd_support.diff.sig" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="fbsd_support.diff.sig" iEYEABECAAYFAkocNfgACgkQmdOXtTCX/nsI8gCfW3dcRZ1ZqTPGmLnJ8hzbii+YJmgAoPnI bh91pipBK1zlWaf/l6fJvAEW --------------070604060609060800000505-- From owner-freebsd-ppc@FreeBSD.ORG Tue May 26 19:31:44 2009 Return-Path: Delivered-To: ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89D40106566C for ; Tue, 26 May 2009 19:31:44 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 700C68FC2C for ; Tue, 26 May 2009 19:31:44 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n4QJF6Zn012992; Tue, 26 May 2009 13:15:07 -0600 Message-Id: From: Rafal Jaworowski To: Marcel Moolenaar In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 26 May 2009 21:15:02 +0200 References: X-Mailer: Apple Mail (2.935.3) Cc: Rafal Jaworowski , ppc@FreeBSD.org Subject: Re: MPC8555CDS: U-Boot vs loader compatibility X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 19:31:44 -0000 On 2009-05-26, at 18:50, Marcel Moolenaar wrote: > I think I recently updated the FreeBSD loader on my CDS > that has U-Boot version 1.3.2-rc1 on it (yes, that sounds > rather fuzzy :-) In any case, the latest PowerPC U-Boot > loader is having a problem with netbooting. I see packets > being transmitted (BOOTP), but none of the responses seem > to arrive at the loader. Then the ARP resolution is > attempted, which fails as well. I'll try the latest loader tomorrow and let you know how this work here. Has your U-Boot been modified back then so as to avoid d-cache disabling before passing control to the ELF entry point? (see this patch http://people.freebsd.org/~raj/patches/misc/uboot-dcache-workaround.diff) U-Boot on 85xx does not flush d-cache before disabling it and we have seen strange effects without this workaround. To quickly verify this suspicion please try converting the loader ELF to raw binary and running with 'go' command (the raw binary way should not expose any problems). > I'm assuming there's an incompatibility between my U-Boot > and the loader so I tried building U-Boot on my FreeBSD > box, but that's failing due to FDT fodder in tools/mkimage. > In short: Linuxisms. > > So, before I dive into U-Boot build issues and waste my > time on that, can someone tell me if I *do* need to > upgrade and which U-Boot version (at minimum) I need? > > Also: did U-Boot grow support to boot from IDE/ATA that's > in the VIA chipset on the mainboard? I think there already should be code to handle VIA on CDS, but I never tried this. Beware however that recent U-Boot was kinda unstable on 85xx (when trying some week or two ago it would just hang during 8555 CDS bootup), so have a JTAG debugger handy :-) Rafal From owner-freebsd-ppc@FreeBSD.ORG Wed May 27 07:31:15 2009 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD81D106566B; Wed, 27 May 2009 07:31:15 +0000 (UTC) (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 8D86A8FC12; Wed, 27 May 2009 07:31:15 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4R7VDHL063872; Wed, 27 May 2009 03:31:13 -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.14.3/8.14.3) with ESMTP id n4R7VDqc022830; Wed, 27 May 2009 03:31:13 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 175847302F; Wed, 27 May 2009 03:31:13 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090527073113.175847302F@freebsd-current.sentex.ca> Date: Wed, 27 May 2009 03:31:13 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 07:31:16 -0000 TB --- 2009-05-27 06:35:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-27 06:35:00 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-27 06:35:00 - cleaning the object tree TB --- 2009-05-27 06:35:36 - cvsupping the source tree TB --- 2009-05-27 06:35:37 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-27 06:35:47 - building world TB --- 2009-05-27 06:35:47 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-27 06:35:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-27 06:35:47 - TARGET=powerpc TB --- 2009-05-27 06:35:47 - TARGET_ARCH=powerpc TB --- 2009-05-27 06:35:47 - TZ=UTC TB --- 2009-05-27 06:35:47 - __MAKE_CONF=/dev/null TB --- 2009-05-27 06:35:47 - cd /src TB --- 2009-05-27 06:35:47 - /usr/bin/make -B buildworld >>> World build started on Wed May 27 06:35:48 UTC 2009 >>> 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 [...] cc -O2 -pipe -DNEED_SOLARIS_BOOLEAN -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.sbin/dtrace/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/head -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/lib/libproc/common -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/contrib/opensolaris/compat -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -pthread -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libdtrace -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libproc -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libctf -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../../lib/libelf -o dtrace dtrace.o -ldtrace -ly -ll -lproc -lctf -lelf -lz gzip -cn /src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 > dtrace.1.gz ===> cddl/usr.sbin/lockstat (all) cc -O2 -pipe -DNEED_SOLARIS_BOOLEAN -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.sbin/lockstat/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/head -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/lib/libproc/common -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/contrib/opensolaris/compat -I/src/cddl/usr.sbin/lockstat/../../../sys -DNEED_ERRLOC -g -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c cc1: warnings being treated as errors /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c: In function 'main': /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c:1095: warning: comparison is always true due to limited range of data type /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c:1389: warning: comparison is always true due to limited range of data type *** Error code 1 Stop in /src/cddl/usr.sbin/lockstat. *** Error code 1 Stop in /src/cddl/usr.sbin. *** Error code 1 Stop in /src/cddl. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-27 07:31:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-27 07:31:13 - ERROR: failed to build world TB --- 2009-05-27 07:31:13 - 2389.71 user 270.36 system 3372.85 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed May 27 16:38:01 2009 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3353010656BD; Wed, 27 May 2009 16:38:01 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 0922A8FC28; Wed, 27 May 2009 16:37:56 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n4RGbsX0034254; Wed, 27 May 2009 12:37:54 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4RGbs16030029; Wed, 27 May 2009 12:37:54 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 1A70A7302F; Wed, 27 May 2009 12:37:53 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090527163754.1A70A7302F@freebsd-current.sentex.ca> Date: Wed, 27 May 2009 12:37:53 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 16:38:02 -0000 TB --- 2009-05-27 15:45:37 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-27 15:45:37 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-27 15:45:37 - cleaning the object tree TB --- 2009-05-27 15:45:56 - cvsupping the source tree TB --- 2009-05-27 15:45:56 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-27 15:46:11 - building world TB --- 2009-05-27 15:46:11 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-27 15:46:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-27 15:46:11 - TARGET=powerpc TB --- 2009-05-27 15:46:11 - TARGET_ARCH=powerpc TB --- 2009-05-27 15:46:11 - TZ=UTC TB --- 2009-05-27 15:46:11 - __MAKE_CONF=/dev/null TB --- 2009-05-27 15:46:11 - cd /src TB --- 2009-05-27 15:46:11 - /usr/bin/make -B buildworld >>> World build started on Wed May 27 15:46:12 UTC 2009 >>> 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 [...] cc -O2 -pipe -DNEED_SOLARIS_BOOLEAN -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.sbin/dtrace/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/head -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/lib/libproc/common -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/contrib/opensolaris/compat -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -pthread -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libdtrace -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libproc -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libctf -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../../lib/libelf -o dtrace dtrace.o -ldtrace -ly -ll -lproc -lctf -lelf -lz gzip -cn /src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 > dtrace.1.gz ===> cddl/usr.sbin/lockstat (all) cc -O2 -pipe -DNEED_SOLARIS_BOOLEAN -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.sbin/lockstat/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/head -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/lib/libproc/common -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/contrib/opensolaris/compat -I/src/cddl/usr.sbin/lockstat/../../../sys -DNEED_ERRLOC -g -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c cc1: warnings being treated as errors /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c: In function 'main': /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c:1095: warning: comparison is always true due to limited range of data type /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c:1389: warning: comparison is always true due to limited range of data type *** Error code 1 Stop in /src/cddl/usr.sbin/lockstat. *** Error code 1 Stop in /src/cddl/usr.sbin. *** Error code 1 Stop in /src/cddl. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-27 16:37:53 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-27 16:37:53 - ERROR: failed to build world TB --- 2009-05-27 16:37:53 - 2382.46 user 274.62 system 3136.43 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu May 28 02:03:31 2009 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2235106566C; Thu, 28 May 2009 02:03:31 +0000 (UTC) (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 7D6A38FC0A; Thu, 28 May 2009 02:03:31 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4S23S6R003096; Wed, 27 May 2009 22:03:28 -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.14.3/8.14.3) with ESMTP id n4S23Saq005806; Wed, 27 May 2009 22:03:28 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 834807302F; Wed, 27 May 2009 22:03:28 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090528020328.834807302F@freebsd-current.sentex.ca> Date: Wed, 27 May 2009 22:03:28 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 02:03:32 -0000 TB --- 2009-05-28 00:45:19 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-28 00:45:19 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-28 00:45:19 - cleaning the object tree TB --- 2009-05-28 00:45:40 - cvsupping the source tree TB --- 2009-05-28 00:45:40 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-28 00:45:50 - building world TB --- 2009-05-28 00:45:50 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-28 00:45:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-28 00:45:50 - TARGET=powerpc TB --- 2009-05-28 00:45:50 - TARGET_ARCH=powerpc TB --- 2009-05-28 00:45:50 - TZ=UTC TB --- 2009-05-28 00:45:50 - __MAKE_CONF=/dev/null TB --- 2009-05-28 00:45:50 - cd /src TB --- 2009-05-28 00:45:50 - /usr/bin/make -B buildworld >>> World build started on Thu May 28 00:45:51 UTC 2009 >>> 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 [...] cc1: warnings being treated as errors /src/usr.bin/ee/../../contrib/ee/ee.c: In function 'out_char': /src/usr.bin/ee/../../contrib/ee/ee.c:957: warning: comparison is always true due to limited range of data type /src/usr.bin/ee/../../contrib/ee/ee.c:961: warning: comparison is always false due to limited range of data type /src/usr.bin/ee/../../contrib/ee/ee.c:967: warning: comparison is always false due to limited range of data type /src/usr.bin/ee/../../contrib/ee/ee.c: In function 'len_char': /src/usr.bin/ee/../../contrib/ee/ee.c:995: warning: comparison is always true due to limited range of data type /src/usr.bin/ee/../../contrib/ee/ee.c:1001: warning: comparison is always false due to limited range of data type *** Error code 1 Stop in /src/usr.bin/ee. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-28 02:03:28 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-28 02:03:28 - ERROR: failed to build world TB --- 2009-05-28 02:03:28 - 3671.91 user 356.38 system 4688.72 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu May 28 14:48:04 2009 Return-Path: Delivered-To: ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 224161065672 for ; Thu, 28 May 2009 14:48:04 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id E0A228FC16 for ; Thu, 28 May 2009 14:48:03 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n4SEm2cl006710; Thu, 28 May 2009 08:48:02 -0600 Message-Id: From: Rafal Jaworowski To: Marcel Moolenaar In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Thu, 28 May 2009 16:48:00 +0200 References: X-Mailer: Apple Mail (2.935.3) Cc: ppc@FreeBSD.org Subject: Re: MPC8555CDS: U-Boot vs loader compatibility X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 14:48:04 -0000 On 2009-05-26, at 21:15, Rafal Jaworowski wrote: > On 2009-05-26, at 18:50, Marcel Moolenaar wrote: > >> I think I recently updated the FreeBSD loader on my CDS >> that has U-Boot version 1.3.2-rc1 on it (yes, that sounds >> rather fuzzy :-) In any case, the latest PowerPC U-Boot >> loader is having a problem with netbooting. I see packets >> being transmitted (BOOTP), but none of the responses seem >> to arrive at the loader. Then the ARP resolution is >> attempted, which fails as well. > > I'll try the latest loader tomorrow and let you know how this work > here. I checked a freshly built loader from HEAD and it works fine with U- Boot 2008.10-rc2-00091-g2f4342b. One other random thought: I don't know if you were altering your set- up, but make sure the Ethernet cable is physically connected to the socket, whose MAC address you expect to be recognized/served by DHCP/ BOOTP. U-Boot silently switches to a next phy on the list in search for the active link if the given one is not active, so when the found- to-be active does not match you could observe things like this... Rafal From owner-freebsd-ppc@FreeBSD.ORG Thu May 28 16:45:05 2009 Return-Path: Delivered-To: ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24ABB106568E for ; Thu, 28 May 2009 16:45:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.freebsd.org (Postfix) with ESMTP id 0EDBC8FC0C for ; Thu, 28 May 2009 16:45:04 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from vdugg-t60.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KKD00GBQ573VA50@asmtp011.mac.com> for ppc@FreeBSD.org; Thu, 28 May 2009 09:45:04 -0700 (PDT) Message-id: <86A7A50A-4D6D-4E09-80B8-47E76EB6ADEA@mac.com> From: Marcel Moolenaar To: Rafal Jaworowski In-reply-to: Date: Thu, 28 May 2009 09:45:03 -0700 References: X-Mailer: Apple Mail (2.935.3) Cc: ppc@FreeBSD.org Subject: Re: MPC8555CDS: U-Boot vs loader compatibility X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 16:45:05 -0000 On May 28, 2009, at 7:48 AM, Rafal Jaworowski wrote: > > On 2009-05-26, at 21:15, Rafal Jaworowski wrote: > >> On 2009-05-26, at 18:50, Marcel Moolenaar wrote: >> >>> I think I recently updated the FreeBSD loader on my CDS >>> that has U-Boot version 1.3.2-rc1 on it (yes, that sounds >>> rather fuzzy :-) In any case, the latest PowerPC U-Boot >>> loader is having a problem with netbooting. I see packets >>> being transmitted (BOOTP), but none of the responses seem >>> to arrive at the loader. Then the ARP resolution is >>> attempted, which fails as well. >> >> I'll try the latest loader tomorrow and let you know how this work >> here. > > I checked a freshly built loader from HEAD and it works fine with U- > Boot 2008.10-rc2-00091-g2f4342b. > > One other random thought: I don't know if you were altering your set- > up, but make sure the Ethernet cable is physically connected to the > socket, whose MAC address you expect to be recognized/served by DHCP/ > BOOTP. U-Boot silently switches to a next phy on the list in search > for the active link if the given one is not active, so when the > found-to-be active does not match you could observe things like > this... It's not the D-cache disabling that's a problem, nor ethernet connectivity (ping from U-Boot works). I also see packets on the wire that originate from the loader, so it's partially functional. I wonder if packets are being rejected by the loader due to, say, checksum mismatches --- Hmmm, maybe a compiler bug (see below). In any case: I messed things up. I built an invalid U-Boot in the sense that it doesn't have all the commands and now I'm stuck. I need to program a new U-Boot through the ICE (no, the 2nd bank doesn't have a valid U-Boot :-) BTW: I'm building natively on my xserve, so that may introduce the problem for me... -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Thu May 28 18:10:06 2009 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3CCC106564A for ; Thu, 28 May 2009 18:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E26108FC14 for ; Thu, 28 May 2009 18:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4SIA5XI086685 for ; Thu, 28 May 2009 18:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4SIA5LX086684; Thu, 28 May 2009 18:10:05 GMT (envelope-from gnats) Date: Thu, 28 May 2009 18:10:05 GMT Message-Id: <200905281810.n4SIA5LX086684@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org From: Justin Hibbits Cc: Subject: Re: powerpc/133503: Sound stutter after switching ttys X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Justin Hibbits List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 18:10:06 -0000 The following reply was made to PR powerpc/133503; it has been noted by GNATS. From: Justin Hibbits To: bug-followup@FreeBSD.org Cc: Subject: Re: powerpc/133503: Sound stutter after switching ttys Date: Thu, 28 May 2009 14:05:00 -0400 --0016e64355e065e31b046afcccbc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit My most recent observations today seem to indicate that all programs with any part of the device open (dsp, mixer) must be closed before the stuttering stops. --0016e64355e065e31b046afcccbc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit My most recent observations today seem to indicate that all programs with any part of the device open (dsp, mixer) must be closed before the stuttering stops.
--0016e64355e065e31b046afcccbc-- From owner-freebsd-ppc@FreeBSD.ORG Thu May 28 20:59:03 2009 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A100010657A6; Thu, 28 May 2009 20:59:03 +0000 (UTC) (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 607BB8FC18; Thu, 28 May 2009 20:59:03 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4SKfdbA036783; Thu, 28 May 2009 16:41:39 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4SKfd7T076587; Thu, 28 May 2009 16:41:39 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id D41537302F; Thu, 28 May 2009 16:41:38 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090528204138.D41537302F@freebsd-current.sentex.ca> Date: Thu, 28 May 2009 16:41:38 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 20:59:04 -0000 TB --- 2009-05-28 20:02:26 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-28 20:02:26 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-28 20:02:26 - cleaning the object tree TB --- 2009-05-28 20:02:59 - cvsupping the source tree TB --- 2009-05-28 20:02:59 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-28 20:03:07 - building world TB --- 2009-05-28 20:03:07 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-28 20:03:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-28 20:03:07 - TARGET=powerpc TB --- 2009-05-28 20:03:07 - TARGET_ARCH=powerpc TB --- 2009-05-28 20:03:07 - TZ=UTC TB --- 2009-05-28 20:03:07 - __MAKE_CONF=/dev/null TB --- 2009-05-28 20:03:07 - cd /src TB --- 2009-05-28 20:03:07 - /usr/bin/make -B buildworld >>> World build started on Thu May 28 20:03:09 UTC 2009 >>> 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 [...] building static ugidfw library ranlib libugidfw.a cc -fpic -DPIC -O2 -pipe -std=gnu99 -fstack-protector -c /src/lib/libugidfw/ugidfw.c -o ugidfw.So building shared library libugidfw.so.3 ===> lib/libusbhid (all) cc -O2 -pipe -std=gnu99 -fstack-protector -c /src/lib/libusbhid/descr.c /src/lib/libusbhid/descr.c: In function 'hid_get_report_desc': /src/lib/libusbhid/descr.c:79: error: storage size of 'ugd' isn't known *** Error code 1 Stop in /src/lib/libusbhid. *** Error code 1 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-28 20:41:38 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-28 20:41:38 - ERROR: failed to build world TB --- 2009-05-28 20:41:38 - 1837.41 user 191.90 system 2352.61 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Fri May 29 05:41:49 2009 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BEFE106564A; Fri, 29 May 2009 05:41:49 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 631688FC1D; Fri, 29 May 2009 05:41:49 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n4T5fle1059087; Fri, 29 May 2009 01:41:47 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4T5fkWh023705; Fri, 29 May 2009 01:41:46 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 9004F7302F; Fri, 29 May 2009 01:41:46 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090529054146.9004F7302F@freebsd-current.sentex.ca> Date: Fri, 29 May 2009 01:41:46 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 05:41:50 -0000 TB --- 2009-05-29 04:13:20 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-29 04:13:20 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-29 04:13:20 - cleaning the object tree TB --- 2009-05-29 04:13:35 - cvsupping the source tree TB --- 2009-05-29 04:13:35 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-29 04:13:42 - building world TB --- 2009-05-29 04:13:42 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-29 04:13:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-29 04:13:42 - TARGET=powerpc TB --- 2009-05-29 04:13:42 - TARGET_ARCH=powerpc TB --- 2009-05-29 04:13:42 - TZ=UTC TB --- 2009-05-29 04:13:42 - __MAKE_CONF=/dev/null TB --- 2009-05-29 04:13:42 - cd /src TB --- 2009-05-29 04:13:42 - /usr/bin/make -B buildworld >>> World build started on Fri May 29 04:13:43 UTC 2009 >>> 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 >>> World build completed on Fri May 29 05:39:21 UTC 2009 TB --- 2009-05-29 05:39:21 - generating LINT kernel config TB --- 2009-05-29 05:39:21 - cd /src/sys/powerpc/conf TB --- 2009-05-29 05:39:21 - /usr/bin/make -B LINT TB --- 2009-05-29 05:39:21 - building LINT kernel TB --- 2009-05-29 05:39:21 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-29 05:39:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-29 05:39:21 - TARGET=powerpc TB --- 2009-05-29 05:39:21 - TARGET_ARCH=powerpc TB --- 2009-05-29 05:39:21 - TZ=UTC TB --- 2009-05-29 05:39:21 - __MAKE_CONF=/dev/null TB --- 2009-05-29 05:39:21 - cd /src TB --- 2009-05-29 05:39:21 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 29 05:39:21 UTC 2009 >>> 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 [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/ofw/ofw_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/powerpc/powerpc/mmu_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/powerpc/powerpc/pic_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/powerpc/powerpc/platform_if.m -h rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -I/src/sys/contrib/opensolaris/compat -I/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector /src/sys/kern/kern_sx.c:39:29: error: opt_adaptive_sx.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-29 05:41:46 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-29 05:41:46 - ERROR: failed to build lint kernel TB --- 2009-05-29 05:41:46 - 4173.23 user 400.35 system 5305.68 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat May 30 19:38:12 2009 Return-Path: Delivered-To: ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85E111065673 for ; Sat, 30 May 2009 19:38:12 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id 707A58FC12 for ; Sat, 30 May 2009 19:38:12 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from seens-xp.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KKH00CNI2IRDY70@asmtp018.mac.com> for ppc@FreeBSD.org; Sat, 30 May 2009 12:37:42 -0700 (PDT) Message-id: <0B237AD8-FC97-4264-9A39-E4C266633E7F@mac.com> From: Marcel Moolenaar To: Rafal Jaworowski In-reply-to: Date: Sat, 30 May 2009 12:37:38 -0700 References: X-Mailer: Apple Mail (2.935.3) Cc: ppc@FreeBSD.org Subject: Re: MPC8555CDS: U-Boot vs loader compatibility X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2009 19:38:12 -0000 On May 28, 2009, at 7:48 AM, Rafal Jaworowski wrote: > > On 2009-05-26, at 21:15, Rafal Jaworowski wrote: > >> On 2009-05-26, at 18:50, Marcel Moolenaar wrote: >> >>> I think I recently updated the FreeBSD loader on my CDS >>> that has U-Boot version 1.3.2-rc1 on it (yes, that sounds >>> rather fuzzy :-) In any case, the latest PowerPC U-Boot >>> loader is having a problem with netbooting. I see packets >>> being transmitted (BOOTP), but none of the responses seem >>> to arrive at the loader. Then the ARP resolution is >>> attempted, which fails as well. >> >> I'll try the latest loader tomorrow and let you know how this work >> here. > > I checked a freshly built loader from HEAD and it works fine with U- > Boot 2008.10-rc2-00091-g2f4342b. Ok, the problem is this: when packets arrive on the interface that are larger than the buffer being passed to U-Boot from the loader, then the eth_receive returns -1 and leaves the packet saved. The next call to eth_receive(0 will find that same packet and can fail for the exact same reason. A typical scenario is the loader doing ARP with a buffer of 66 bytes. The end result is that the ARP will fail and the loader panics. This obviously depends on the amount and kind of traffic on the LAN in question... The following U-Boot patch fixes the problem (against 1.3.4): diff -u u-boot-1.3.4-orig/net/eth.c u-boot-1.3.4-local/net/eth.c --- u-boot-1.3.4-orig/net/eth.c 2008-08-12 07:08:38.000000000 -0700 +++ u-boot-1.3.4-local/net/eth.c 2009-05-30 12:19:20.000000000 -0700 @@ -526,10 +526,7 @@ return -1; } - if (length < eth_rcv_bufs[eth_rcv_current].length) - return -1; - - length = eth_rcv_bufs[eth_rcv_current].length; + length = min(length, eth_rcv_bufs[eth_rcv_current].length); for (i = 0; i < length; i++) p[i] = eth_rcv_bufs[eth_rcv_current].data[i]; FYI, -- Marcel Moolenaar xcllnt@mac.com