From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 12:17:49 2008 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 BCB731065671 for ; Sun, 26 Oct 2008 12:17:49 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 935478FC1D for ; Sun, 26 Oct 2008 12:17:49 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1576355wfg.7 for ; Sun, 26 Oct 2008 05:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=sCwk8phgjY1d7atkMCPpIldybLLlnb0hJ5EIuHWk5ZE=; b=kNWrHUBzWtudmLObMCRX8ddhX8y0i92mH/BL1oZn/YuRd9rBEe13r91STtzbUSr6XK Cm/hRtIoVQWwnaaeVSGbFgovTOEY7L9JNTN41j2IEr0ER3qsQqyjMIwlNaL7FOhamMba StXoKdimMARBJu4jw1ufsTwS16sMvd5D5WG4s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=wqOhKIYXZh6RHc9q+50fNa5qjXZt7ivd7/tXFciMkhINZdMZitolclRz7Shr8P9hwR npOcqhFHOMIfsA7Q/3noOaUwqPWPVOXdFyhZiEEQq37ZWPJl92sKDxl2YB8NVTt3i24p MhB126+xMsnWdln1S4mDrhAm3dwfwmwuQWKP8= Received: by 10.142.105.13 with SMTP id d13mr2024770wfc.275.1225023469102; Sun, 26 Oct 2008 05:17:49 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Sun, 26 Oct 2008 05:17:49 -0700 (PDT) Message-ID: Date: Sun, 26 Oct 2008 13:17:49 +0100 From: "Marco Trillo" To: "FreeBSD PowerPC ML" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ATA DMA problems with recent -current 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, 26 Oct 2008 12:17:49 -0000 Hi all, I just updated my -current kernel to today sources -- the previous kernel was from Oct 11. With the new kernel I'm getting ad0 ATA DMA timeouts, which get worse when I stress the drive. The timeouts look like this: ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3952128 ad0: TIMEOUT - READ_DMA retrying (0 retries left) LBA=3952128 ad0: FAILURE - READ_DMA timed out g_vfs_done(): ad0s4 [READ(offset=1746108416, length=65536)] error=5 vnode_pager_getpages: I/O read error At first, they are occasional and only happen sometimes -- in fact I didn't notice them when booting the first time. However, I then tried to unpack the ports.tar.gz file, like this: $ gzcat ports.tar.gz | tar xf - -C /usr ... which, after unpacking a couple of files, hanged, getting WRITE_DMA timeouts from the kernel. All write attempts to the drive from that point failed. I rebooted the system, and the filesystem appeared dirty to fsck the next boot. Some information from the new kernel -- the full dmesg is at the end of the message: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #57: Sun Oct 26 10:31:37 UTC 2008 mtrillo@emac6:/usr/src/sys/powerpc/compile/GENERIC $ dmesg | grep ata ata0 mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 ata0: [ITHREAD] ata1: mem 0xf5004000-0xf5007fff irq 39 at device 13.0 on pci2 ata1: [ITHREAD] acd0: DVDR at ata0-master WDMA2 ad0: 38166MB at ata1-master UDMA100 $ vmstat -i interrupt total rate irq1: pcm0 1 0 irq61: pcm0 1 0 irq24: ata0 35 0 irq29: ohci0 1 0 irq63: ohci1 ohci+ 59 0 irq39: ata1 943 5 irq40: fwohci0 2 0 irq41: gem0 119 0 Total 1161 6 In contrast, my previous kernel, compiled Oct 11, works perfectly with ATA DMA. The same tests that fail badly on the new kernel (like unpacking ports.tar.gz) complete without any problems on the Oct 11 kernel. Some information from the Oct 11 kernel : Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #56: Sat Oct 11 15:57:13 UTC 2008 mtrillo@emac6:/usr/src/sys/powerpc/compile/GENERIC $ dmesg | grep ata ata0 mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 ata0: [ITHREAD] ata1: mem 0xf5004000-0xf5007fff irq 39,1 at device 13.0 on pci2 ata1: [ITHREAD] acd0: DVDR at ata0-master WDMA2 ad0: 38166MB at ata1-master UDMA100 $ vmstat -i interrupt total rate irq1: pcm0 1 0 irq61: pcm0 1 0 irq24: ata0 35 0 irq29: ohci2 1 0 irq63: ohci3 ohci+ 6 0 irq39: ata1 915 10 irq40: fwohci0 2 0 irq41: gem0 364 4 Total 1325 15 Here is a full dmesg of the new kernel. In both this kernel and the working Oct 11 kernel, my "aoa" driver for sound is enabled. This is the only modification with respect to a CVS GENERIC kernel. Oct 26 11:39:20 emac6 syslogd: kernel boot file is /boot/kernel/kernel Oct 26 11:39:20 emac6 kernel: Copyright (c) 1992-2008 The FreeBSD Project. Oct 26 11:39:20 emac6 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Oct 26 11:39:20 emac6 kernel: The Regents of the University of California. All rights reserved. Oct 26 11:39:20 emac6 kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Oct 26 11:39:20 emac6 kernel: FreeBSD 8.0-CURRENT #57: Sun Oct 26 10:31:37 UTC 2008 Oct 26 11:39:20 emac6 kernel: mtrillo@emac6:/usr/src/sys/powerpc/compile/GENERIC Oct 26 11:39:20 emac6 kernel: WARNING: WITNESS option enabled, expect reduced performance. Oct 26 11:39:20 emac6 kernel: cpu0: Motorola PowerPC 7447A revision 1.1, 1250.00 MHz Oct 26 11:39:20 emac6 kernel: cpu0: HID0 8450c0bc Oct 26 11:39:20 emac6 kernel: real memory = 792965120 (756 MB) Oct 26 11:39:20 emac6 kernel: avail memory = 762540032 (727 MB) Oct 26 11:39:20 emac6 kernel: kbd0 at kbdmux0 Oct 26 11:39:20 emac6 kernel: nexus0: Oct 26 11:39:20 emac6 kernel: unin0: on nexus0 Oct 26 11:39:20 emac6 kernel: unin0: Version 210 Oct 26 11:39:20 emac6 kernel: pcib0: on nexus0 Oct 26 11:39:20 emac6 kernel: pci0: on pcib0 Oct 26 11:39:20 emac6 kernel: vgapci0: port 0x400-0x4ff mem 0x98000000-0x9fffffff,0x90000000-0x9000ffff irq 48 at device 16.0 on pci0 Oct 26 11:39:20 emac6 kernel: pcib1: on nexus0 Oct 26 11:39:20 emac6 kernel: pci1: on pcib1 Oct 26 11:39:20 emac6 kernel: macio0: mem 0x80000000-0x8007ffff at device 23.0 on pci1 Oct 26 11:39:20 emac6 kernel: openpic0: mem 0x40000-0x7ffff on macio0 Oct 26 11:39:20 emac6 kernel: scc0: mem 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 22,5,6,23,7,8 on macio0 Oct 26 11:39:20 emac6 kernel: scc0: [FILTER] Oct 26 11:39:20 emac6 kernel: scc0: [FILTER] Oct 26 11:39:20 emac6 kernel: uart0: on scc0 Oct 26 11:39:20 emac6 kernel: uart0: [FILTER] Oct 26 11:39:20 emac6 kernel: uart1: on scc0 Oct 26 11:39:20 emac6 kernel: uart1: [FILTER] Oct 26 11:39:20 emac6 kernel: pcm0: mem 0x10000-0x10fff,0x8000-0x80ff,0x8100-0x81ff irq 30,1,2,31,3,4 on macio0 Oct 26 11:39:20 emac6 kernel: interrupting at irq 1 Oct 26 11:39:20 emac6 kernel: pcm0: [ITHREAD] Oct 26 11:39:20 emac6 kernel: GPIO : addr 0x6f Oct 26 11:39:20 emac6 kernel: GPIO : addr 0x70 Oct 26 11:39:20 emac6 kernel: GPIO : addr 0x75 Oct 26 11:39:20 emac6 kernel: interrupting at irq 61 Oct 26 11:39:20 emac6 kernel: pcm0: [ITHREAD] Oct 26 11:39:20 emac6 kernel: GPIO : addr 0x67 Oct 26 11:39:20 emac6 kernel: enabled outputs: HEADPHONE Oct 26 11:39:20 emac6 kernel: resetting codec Oct 26 11:39:20 emac6 kernel: tumbler_write called without I2C? Oct 26 11:39:20 emac6 kernel: pcm_getbuffersize returned 65536 Oct 26 11:39:20 emac6 kernel: aoa_dma_setprd: addr = 13434880, 32 slots Oct 26 11:39:20 emac6 kernel: aoa_chan_setformat: format = 268435488 Oct 26 11:39:20 emac6 kernel: aoa_chan_setspeed: speed = 44100 Oct 26 11:39:20 emac6 kernel: aoa_chan_setformat: format = 268435488 Oct 26 11:39:20 emac6 kernel: aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 Oct 26 11:39:20 emac6 kernel: aoa_chan_setspeed: speed = 44100 Oct 26 11:39:20 emac6 kernel: aoa_chan_setformat: format = 268435488 Oct 26 11:39:20 emac6 kernel: aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 Oct 26 11:39:20 emac6 kernel: aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 Oct 26 11:39:20 emac6 kernel: aoa_chan_setspeed: speed = 44100 Oct 26 11:39:20 emac6 kernel: aoa_chan_setformat: format = 268435488 Oct 26 11:39:20 emac6 kernel: aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 Oct 26 11:39:20 emac6 kernel: kiic0: mem 0x18000-0x18fff irq 26 on macio0 Oct 26 11:39:20 emac6 kernel: ata0 mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 Oct 26 11:39:20 emac6 kernel: ata0: [ITHREAD] Oct 26 11:39:20 emac6 kernel: ohci0: mem 0x80083000-0x80083fff irq 29 at device 26.0 on pci1 Oct 26 11:39:20 emac6 kernel: ohci0: [GIANT-LOCKED] Oct 26 11:39:20 emac6 kernel: ohci0: [ITHREAD] Oct 26 11:39:20 emac6 kernel: usb0: OHCI version 1.0, legacy support Oct 26 11:39:20 emac6 kernel: usb0: on ohci0 Oct 26 11:39:20 emac6 kernel: usb0: USB revision 1.0 Oct 26 11:39:20 emac6 kernel: uhub0: on usb0 Oct 26 11:39:20 emac6 kernel: uhub0: 2 ports with 2 removable, self powered Oct 26 11:39:20 emac6 kernel: ohci1: mem 0x80082000-0x80082fff irq 63 at device 27.0 on pci1 Oct 26 11:39:20 emac6 kernel: ohci1: [GIANT-LOCKED] Oct 26 11:39:20 emac6 kernel: ohci1: [ITHREAD] Oct 26 11:39:20 emac6 kernel: usb1: OHCI version 1.0 Oct 26 11:39:20 emac6 kernel: usb1: on ohci1 Oct 26 11:39:20 emac6 kernel: usb1: USB revision 1.0 Oct 26 11:39:20 emac6 kernel: uhub1: on usb1 Oct 26 11:39:20 emac6 kernel: uhub1: 3 ports with 3 removable, self powered Oct 26 11:39:20 emac6 kernel: ohci2: mem 0x80081000-0x80081fff irq 63 at device 27.1 on pci1 Oct 26 11:39:20 emac6 kernel: ohci2: [GIANT-LOCKED] Oct 26 11:39:20 emac6 kernel: ohci2: [ITHREAD] Oct 26 11:39:20 emac6 kernel: usb2: OHCI version 1.0 Oct 26 11:39:20 emac6 kernel: usb2: on ohci2 Oct 26 11:39:20 emac6 kernel: usb2: USB revision 1.0 Oct 26 11:39:20 emac6 kernel: uhub2: on usb2 Oct 26 11:39:20 emac6 kernel: uhub2: 2 ports with 2 removable, self powered Oct 26 11:39:20 emac6 kernel: ehci0: mem 0x80080000-0x800800ff irq 63 at device 27.2 on pci1 Oct 26 11:39:20 emac6 kernel: ehci0: [GIANT-LOCKED] Oct 26 11:39:20 emac6 kernel: ehci0: [ITHREAD] Oct 26 11:39:20 emac6 kernel: usb3: EHCI version 1.0 Oct 26 11:39:20 emac6 kernel: usb3: companion controllers, 3 ports each: usb1 usb2 Oct 26 11:39:20 emac6 kernel: usb3: on ehci0 Oct 26 11:39:20 emac6 kernel: usb3: USB revision 2.0 Oct 26 11:39:20 emac6 kernel: uhub3: on usb3 Oct 26 11:39:20 emac6 kernel: uhub3: 5 ports with 5 removable, self powered Oct 26 11:39:20 emac6 kernel: pcib2: on nexus0 Oct 26 11:39:20 emac6 kernel: pci2: on pcib2 Oct 26 11:39:20 emac6 kernel: ata1: mem 0xf5004000-0xf5007fff irq 39 at device 13.0 on pci2 Oct 26 11:39:20 emac6 kernel: ata1: [ITHREAD] Oct 26 11:39:20 emac6 kernel: fwohci0: mem 0xf5000000-0xf5000fff irq 40 at device 14.0 on pci2 Oct 26 11:39:20 emac6 kernel: fwohci0: [FILTER] Oct 26 11:39:20 emac6 kernel: fwohci0: OHCI version 1.10 (ROM=0) Oct 26 11:39:20 emac6 kernel: fwohci0: No. of Isochronous channels is 8. Oct 26 11:39:20 emac6 kernel: fwohci0: EUI64 00:0d:93:ff:fe:57:39:60 Oct 26 11:39:20 emac6 kernel: fwohci0: Phy 1394a available S400, 2 ports. Oct 26 11:39:20 emac6 kernel: fwohci0: Link S400, max_rec 2048 bytes. Oct 26 11:39:20 emac6 kernel: firewire0: on fwohci0 Oct 26 11:39:20 emac6 kernel: fwe0: on firewire0 Oct 26 11:39:20 emac6 kernel: if_fwe0: Fake Ethernet address: 02:0d:93:57:39:60 Oct 26 11:39:20 emac6 kernel: fwe0: Ethernet address: 02:0d:93:57:39:60 Oct 26 11:39:20 emac6 kernel: sbp0: on firewire0 Oct 26 11:39:20 emac6 kernel: fwohci0: Initiate bus reset Oct 26 11:39:20 emac6 kernel: fwohci0: BUS reset Oct 26 11:39:20 emac6 kernel: fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode Oct 26 11:39:20 emac6 kernel: gem0: mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci2 Oct 26 11:39:20 emac6 kernel: miibus0: on gem0 Oct 26 11:39:20 emac6 kernel: bmtphy0: PHY 0 on miibus0 Oct 26 11:39:20 emac6 kernel: bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Oct 26 11:39:20 emac6 kernel: gem0: 10kB RX FIFO, 4kB TX FIFO Oct 26 11:39:20 emac6 kernel: gem0: Ethernet address: 00:0d:93:57:39:60 Oct 26 11:39:20 emac6 kernel: gem0: [ITHREAD] Oct 26 11:39:20 emac6 kernel: sc0: on nexus0 Oct 26 11:39:20 emac6 kernel: sc0: Unknown <16 virtual consoles, flags=0x300> Oct 26 11:39:20 emac6 kernel: uhub4: on uhub1 Oct 26 11:39:20 emac6 kernel: uhub4: 3 ports with 2 removable, bus powered Oct 26 11:39:20 emac6 kernel: ums0: on uhub4 Oct 26 11:39:20 emac6 kernel: ums0: 1 buttons. Oct 26 11:39:20 emac6 kernel: ukbd0: on uhub4 Oct 26 11:39:20 emac6 kernel: kbd1 at ukbd0 Oct 26 11:39:20 emac6 kernel: uhid0: on uhub4 Oct 26 11:39:20 emac6 kernel: Timecounter "decrementer" frequency 41620997 Hz quality 0 Oct 26 11:39:20 emac6 kernel: Timecounters tick every 10.000 msec Oct 26 11:39:20 emac6 kernel: firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) Oct 26 11:39:20 emac6 kernel: firewire0: bus manager 0 (me) Oct 26 11:39:20 emac6 kernel: acd0: DVDR at ata0-master WDMA2 Oct 26 11:39:20 emac6 kernel: ad0: 38166MB at ata1-master UDMA100 Oct 26 11:39:20 emac6 kernel: pcm0: codec: at address 6Ah on kiic0 Oct 26 11:39:20 emac6 kernel: WARNING: WITNESS option enabled, expect reduced performance. Oct 26 11:39:20 emac6 kernel: Trying to mount root from ufs:/dev/ad0s4 Oct 26 11:39:20 emac6 kernel: lock order reversal: Oct 26 11:39:20 emac6 kernel: 1st 0xc41048 user map (user map) @ vm/vm_map.c:3115 Oct 26 11:39:20 emac6 kernel: 2nd 0xe1d7cc ufs (ufs) @ kern/vfs_subr.c:2049 Oct 26 11:39:20 emac6 kernel: KDB: stack backtrace: Oct 26 11:39:20 emac6 kernel: 0xdebaf930: at kdb_backtrace+0x4c Oct 26 11:39:20 emac6 kernel: 0xdebaf950: at _witness_debugger+0x3c Oct 26 11:39:20 emac6 kernel: 0xdebaf970: at witness_checkorder+0x8d0 Oct 26 11:39:20 emac6 kernel: 0xdebaf9d0: at __lockmgr_args+0x23c Oct 26 11:39:20 emac6 kernel: 0xdebafa50: at ffs_lock+0x9c Oct 26 11:39:20 emac6 kernel: 0xdebafa80: at VOP_LOCK1_APV+0xec Oct 26 11:39:20 emac6 kernel: 0xdebafaa0: at _vn_lock+0x84 Oct 26 11:39:20 emac6 kernel: 0xdebafaf0: at vget+0xdc Oct 26 11:39:20 emac6 kernel: 0xdebafb30: at vnode_pager_lock+0x20c Oct 26 11:39:20 emac6 kernel: 0xdebafb90: at vm_fault+0x218 Oct 26 11:39:20 emac6 kernel: 0xdebafca0: at trap_pfault+0x128 Oct 26 11:39:20 emac6 kernel: 0xdebafce0: at trap+0x1ac Oct 26 11:39:20 emac6 kernel: 0xdebafda0: at powerpc_interrupt+0x15c Oct 26 11:39:20 emac6 kernel: 0xdebafdd0: user ISI trap by 0x1815a04: srr1=0x4000d032 Oct 26 11:39:20 emac6 kernel: r1=0x7fffdee0 cr=0x24000048 xer=0 ctr=0 Oct 26 11:39:20 emac6 root: /etc/rc: WARNING: Dump device does not exist. Savecore not run. Oct 26 11:39:27 emac6 kernel: ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3950368 Oct 26 11:39:37 emac6 kernel: ad0: TIMEOUT - READ_DMA retrying (0 retries left) LBA=3950368 Oct 26 11:39:37 emac6 kernel: ad0: FAILURE - READ_DMA timed out LBA=3950368 Oct 26 11:39:37 emac6 kernel: g_vfs_done():ad0s4[READ(offset=1745207296, length=114688)]error = 5 Thanks! Marco From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 12:47:15 2008 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 181F61065674 for ; Sun, 26 Oct 2008 12:47:15 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id E0C3B8FC25 for ; Sun, 26 Oct 2008 12:47:14 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1582911wfg.7 for ; Sun, 26 Oct 2008 05:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=sBMJlL+g0x0lQTa+OQr5LmqU9YtUPvtcExhTttjS1Bs=; b=QUdyaJ6wdkzCgCvkAIiRLpRyc3VRm0glA/BcTU3qsX695jRT+HSgst+htWbC6Ja8bA I1Pf+4irEeFS2YQY14iiMMOo0hO2vA9L35pAqisyR+Nh6CtKvUJYBnhItsVCTk1F4bZS mogCBI4sp5OwdLpgxOzYMKsG2DNXbrsZHj5Ro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=eN+a1MzMkY9v2mbXPRojoE/pIoL8dX75HxfJ3QTbbPBTkHo0ta8UoNPTQRJlgnxHiM FAcTiYGsbba51ZkeC09dAPrgtV7GGhsgP10eVtSg6d1rpQKvsyxXC441SmCTfh3ovvCa x4k8JfVoLLRlWf2zVyEkniS7LLZ39jPg8i8uo= Received: by 10.142.240.9 with SMTP id n9mr2062629wfh.136.1225025234524; Sun, 26 Oct 2008 05:47:14 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Sun, 26 Oct 2008 05:47:14 -0700 (PDT) Message-ID: Date: Sun, 26 Oct 2008 13:47:14 +0100 From: "Marco Trillo" To: "FreeBSD PowerPC ML" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: ATA DMA problems with recent -current 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, 26 Oct 2008 12:47:15 -0000 Hi, On Sun, Oct 26, 2008 at 1:17 PM, Marco Trillo wrote: > Here is a full dmesg of the new kernel. In both this kernel and the > working Oct 11 kernel, my "aoa" driver for sound is enabled. This is > the only modification with respect to a CVS GENERIC kernel. Hmm... I forgot to mention the changes to the 'ldscript.powerpc' file, which are required to get the kernel to boot in this machine. I think it's possible that I have a messed up source tree. Or a messed up "compile/" object directory. I'm going to remove the "compile/GENERIC" directory and get a fresh source tree from CVS, without any modifications (except the 'ldscript.powerpc' file which I mentioned above); and see if the problems persist. Thanks, Marco From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 15:19:23 2008 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 200281065675 for ; Sun, 26 Oct 2008 15:19:23 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 65A378FC34 for ; Sun, 26 Oct 2008 15:19:22 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1562009rvf.43 for ; Sun, 26 Oct 2008 08:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=M4fFZRF6rrQp9v3MV1ypujh5miSdWpZHGuGM4l13auo=; b=ePA3DQv65EDwrtaoSBL2F3tPH0FUHcv95g1//NYImLQxmaDReDwjB0SCk4Uqig1z1f n0VjXRht4wM9mFCysYOJ0ZvePyxYRd1Wj0sOo+Mmt1hXn/LP3ByxTLIGv0BuZX4pZnWx ExYTpii1rc1M1asFKhspry1cPhVhMHeXtd8lM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QnQpm0/35etuK8mcMLL/LJ0sho12CYj+lFP05FYmD6atz4Tkz90afxdcTxQXK1IIhQ eA/ShDVBan2qdXvNDvmjf1PtAajBcf+h9tCmVq/m2E2UafUWYjZBOdg7Dq8MXuS4iGIv 9EVOhZUc3J/XaYCn0VH+1xlxys1BJAJg0sJ+I= Received: by 10.142.212.19 with SMTP id k19mr2127473wfg.155.1225034361782; Sun, 26 Oct 2008 08:19:21 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Sun, 26 Oct 2008 08:19:21 -0700 (PDT) Message-ID: Date: Sun, 26 Oct 2008 16:19:21 +0100 From: "Marco Trillo" To: "FreeBSD PowerPC ML" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: ATA DMA problems with recent -current 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, 26 Oct 2008 15:19:23 -0000 Hi, On Sun, Oct 26, 2008 at 1:47 PM, Marco Trillo wrote: > On Sun, Oct 26, 2008 at 1:17 PM, Marco Trillo wrote: >> Here is a full dmesg of the new kernel. In both this kernel and the >> working Oct 11 kernel, my "aoa" driver for sound is enabled. This is >> the only modification with respect to a CVS GENERIC kernel. > > Hmm... I forgot to mention the changes to the 'ldscript.powerpc' file, > which are required to get the kernel to boot in this machine. > > > I think it's possible that I have a messed up source tree. Or a messed > up "compile/" object directory. > > I'm going to remove the "compile/GENERIC" directory and get a fresh > source tree from CVS, without any modifications (except the > 'ldscript.powerpc' file which I mentioned above); and see if the > problems persist. Done that; cleaned the object directory and compiled a new kernel from scratch, without 'aoa' driver or other modifications, but it didn't make a difference - I still get the DMA timeouts. Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #0: Sun Oct 26 13:16:40 UTC 2008 mtrillo@emac6:/usr/src/sys/powerpc/compile/GENERIC ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=30824128 ad0: TIMEOUT - READ_DMA retrying (0 retries left) LBA=30824128 ad0: FAILURE - READ_DMA timed out LBA=30824128 g_vfs_done():ad0s4[READ(offset=15504572416, length=114688)]error = 5 Thanks, Marco From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 15:30:15 2008 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 99330106567E for ; Sun, 26 Oct 2008 15:30:15 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 6D2308FC08 for ; Sun, 26 Oct 2008 15:30:15 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K9C00602R2E1A00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sun, 26 Oct 2008 10:30:14 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-154-3-101.dsl.mdsnwi.sbcglobal.net [99.154.3.101]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K9C004S5R2C5U00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sun, 26 Oct 2008 10:30:13 -0500 (CDT) Date: Sun, 26 Oct 2008 10:30:33 -0500 From: Nathan Whitehorn In-reply-to: To: Marco Trillo Message-id: <49048D19.7070309@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.3.101 X-Spam-PmxInfo: Server=avs-12, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.26.151312, SenderIP=99.154.3.101 References: User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD PowerPC ML Subject: Re: ATA DMA problems with recent -current 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, 26 Oct 2008 15:30:15 -0000 Marco Trillo wrote: > Hi all, > > I just updated my -current kernel to today sources -- the previous > kernel was from Oct 11. With the new kernel I'm getting ad0 ATA DMA > timeouts, which get worse when I stress the drive. > The only thing that changed since 11 Oct was that I redid the PCI handling by importing sparc64's architecture. This *should* have changed nothing, since I just reshuffled some code, but apparently it didn't. One of the few actual changes was that ata_kauai now attaches only to the first IRQ (39) instead of both OF IRQs (39 and 1). However, it never used the second one, so it should have changed nothing. Things to try: - Make ata_kauai add IRQ 1 to its resource list again, just like it hardcodes 39. - IRQ 1 is shared with the i2s controller. Try disabling it? I'm pretty confused about how it is that things have broken, though. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 15:57:54 2008 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 D523A106566B for ; Sun, 26 Oct 2008 15:57:54 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id A87E48FC0C for ; Sun, 26 Oct 2008 15:57:54 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1632273wfg.7 for ; Sun, 26 Oct 2008 08:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Iz5UlRVhx/f4BhztPKT2EM7scWxKNWUm1F4+DJZCYD8=; b=jXoThy4dG7RA8b4DfjhHlE7MzP3niErl9GMmT2ungJQkCDoOyGnuMEDkCieUWJDKCw RzYXNY+ktinEl+XnaM/kywN49gmd2u+TpiTPWA3zcOf2lDl8tlPME+8IGkgdevh7wW3n xJwXDq7YkSW9R/SjBSvbbdFzoZ1CnU99vdKF0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KBtZZv2ChH/mMyZrJ/Jd8bbL4bNDvgEFfHSpXvJO5riW8OPhFo2Kk04cbj9n88NhGi wZUW8J04pATanMusAbpbAHauWWB5rrxQf6VNxytVhy2GWuKZiwAUtkCLfdh3YQcdQ9cj yLXE4XTzqduri8LLi+nMh81Z1C4L3bnVdqxFQ= Received: by 10.143.18.16 with SMTP id v16mr2137830wfi.41.1225036674128; Sun, 26 Oct 2008 08:57:54 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Sun, 26 Oct 2008 08:57:54 -0700 (PDT) Message-ID: Date: Sun, 26 Oct 2008 16:57:54 +0100 From: "Marco Trillo" To: "Nathan Whitehorn" In-Reply-To: <49048D19.7070309@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49048D19.7070309@freebsd.org> Cc: FreeBSD PowerPC ML Subject: Re: ATA DMA problems with recent -current 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, 26 Oct 2008 15:57:54 -0000 Hi, On Sun, Oct 26, 2008 at 4:30 PM, Nathan Whitehorn wrote: >> Hi all, >> >> I just updated my -current kernel to today sources -- the previous >> kernel was from Oct 11. With the new kernel I'm getting ad0 ATA DMA >> timeouts, which get worse when I stress the drive. >> > > The only thing that changed since 11 Oct was that I redid the PCI handling > by importing sparc64's architecture. This *should* have changed nothing, > since I just reshuffled some code, but apparently it didn't. One of the few > actual changes was that ata_kauai now attaches only to the first IRQ (39) > instead of both OF IRQs (39 and 1). However, it never used the second one, > so it should have changed nothing. Things to try: > > - Make ata_kauai add IRQ 1 to its resource list again, just like it > hardcodes 39. > - IRQ 1 is shared with the i2s controller. Try disabling it? > > I'm pretty confused about how it is that things have broken, though. I removed the i2s driver, but got the same results. However I think I have located the source of the problem. I diffed the 'ident' output on both kernels and noticed something which seemed related: - $FreeBSD: src/sys/dev/ata/ata-dma.c,v 1.157 2008/10/09 12:56:57 sos Exp $ + $FreeBSD: src/sys/dev/ata/ata-dma.c,v 1.158 2008/10/21 18:51:55 jhb Exp $ Then I reverted ata-dma.c to revision 1.157. It works! I get no more timeouts. Currently it's untarring the ports.tar.gz file quite happily! Thanks, Marco From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 16:00:57 2008 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 3F0F81065676 for ; Sun, 26 Oct 2008 16:00:57 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 11AAD8FC1F for ; Sun, 26 Oct 2008 16:00:56 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K9C00906SHKXV00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sun, 26 Oct 2008 11:00:56 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-154-3-101.dsl.mdsnwi.sbcglobal.net [99.154.3.101]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K9C004GESHD5U20@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sun, 26 Oct 2008 11:00:50 -0500 (CDT) Date: Sun, 26 Oct 2008 11:01:11 -0500 From: Nathan Whitehorn In-reply-to: To: Marco Trillo Message-id: <49049447.4070401@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.3.101 X-Spam-PmxInfo: Server=avs-12, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.26.152230, SenderIP=99.154.3.101 References: <49048D19.7070309@freebsd.org> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD PowerPC ML Subject: Re: ATA DMA problems with recent -current 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, 26 Oct 2008 16:00:57 -0000 Marco Trillo wrote: > Hi, > > On Sun, Oct 26, 2008 at 4:30 PM, Nathan Whitehorn > wrote: >>> Hi all, >>> >>> I just updated my -current kernel to today sources -- the previous >>> kernel was from Oct 11. With the new kernel I'm getting ad0 ATA DMA >>> timeouts, which get worse when I stress the drive. >>> >> The only thing that changed since 11 Oct was that I redid the PCI handling >> by importing sparc64's architecture. This *should* have changed nothing, >> since I just reshuffled some code, but apparently it didn't. One of the few >> actual changes was that ata_kauai now attaches only to the first IRQ (39) >> instead of both OF IRQs (39 and 1). However, it never used the second one, >> so it should have changed nothing. Things to try: >> >> - Make ata_kauai add IRQ 1 to its resource list again, just like it >> hardcodes 39. >> - IRQ 1 is shared with the i2s controller. Try disabling it? >> >> I'm pretty confused about how it is that things have broken, though. > > I removed the i2s driver, but got the same results. > > However I think I have located the source of the problem. > > I diffed the 'ident' output on both kernels and noticed something > which seemed related: > > - $FreeBSD: src/sys/dev/ata/ata-dma.c,v 1.157 2008/10/09 12:56:57 sos Exp $ > + $FreeBSD: src/sys/dev/ata/ata-dma.c,v 1.158 2008/10/21 18:51:55 jhb Exp $ > > Then I reverted ata-dma.c to revision 1.157. It works! I get no more > timeouts. Currently it's untarring the ports.tar.gz file quite > happily! Intriguing... that change was a typo fix. I guess we have to limit the maximum ATA DMA size for our controllers. I'll look around and commit a real fix later today. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 21:25:23 2008 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 5A8A81065699; Sun, 26 Oct 2008 21:25:23 +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 E8C918FC1B; Sun, 26 Oct 2008 21:25:22 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m9QLPJ6g018838; Sun, 26 Oct 2008 22:25:20 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <4904E03F.40308@fgznet.ch> Date: Sun, 26 Oct 2008 22:25:19 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: freebsd-ppc@freebsd.org, Nathan Whitehorn References: <48EF9B58.3050208@fgznet.ch> In-Reply-To: <48EF9B58.3050208@fgznet.ch> 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: Subject: Re: adb feedback 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, 26 Oct 2008 21:25:23 -0000 Andreas Tobler wrote: > What a feeling to type on the PowerBook's own keyboard!!! > Thanks a lot! > > Oct 10 15:16:50 wolfram kernel: pmu0: mem > 0x16000-0x17fff irq 25 on macio0 > Oct 10 15:16:50 wolfram kernel: pmu0: [ITHREAD] > Oct 10 15:16:50 wolfram kernel: adb0: on pmu0 > Oct 10 15:16:50 wolfram kernel: akbd0: at device 2 on adb0 > Oct 10 15:16:50 wolfram kernel: kbd1 at akbd0 > Oct 10 15:16:50 wolfram kernel: ams0: at device 3 on adb0 > Oct 10 15:16:50 wolfram kernel: ams0: 4-button 400-dpi Unknown Pointing > Device Thanks for committing this one! http://docs.freebsd.org/cgi/getmsg.cgi?fetch=106841+0+current/svn-src-head Will try soon. Regards, Andreas From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 21:43:19 2008 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 BB52E1065676 for ; Sun, 26 Oct 2008 21:43:19 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5251E8FC16 for ; Sun, 26 Oct 2008 21:43:19 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9QLhFAJ021496; Mon, 27 Oct 2008 08:43:16 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: Marco Trillo In-Reply-To: References: <48FE33D7.3080505@fgznet.ch> <1224657584.10591.72.camel@horst-tla> <1224668347.10591.76.camel@horst-tla> <1224788068.10591.105.camel@horst-tla> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-QacY7+S3QQbvUijHb93p" Date: Mon, 27 Oct 2008 08:45:45 +1100 Message-Id: <1225057546.10591.127.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Cc: FreeBSD PowerPC ML Subject: Re: aoa.c driver for Screamer ... 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, 26 Oct 2008 21:43:20 -0000 --=-QacY7+S3QQbvUijHb93p Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-24 at 10:15 +0200, Marco Trillo wrote: > Hi, > Oops, that's because it requires the latest DBDMA code, which has not > yet been MFCed to the 7.x branch. >=20 > The solution is to update the files > - /usr/src/sys/powerpc/powermac/dbdma.c > - /usr/src/sys/powerpc/powermac/dbdmavar.h > - /usr/src/sys/powerpc/include/dbdma.h > to the latest versions from -current. >=20 > They can be downloaded from CVSweb: >=20 > > > >=20 >=20 > Hope that helps, and thanks for your interest in the driver! >=20 > Marco [ ... several patches later ... ] ... How much of this kernel will have to be -CURRENT to get it to build and work? Next problem has been hit :)=20 =3D=3D=3D> bm (all) cc -Os -pipe -mcpu=3D7400 -mtune=3D7400 -maltivec -mabi=3Daltivec -Wno-erro= r -fno-strict-aliasing -D_KERNEL -DKLD_MODULE -std=3Dc99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/POWERMAC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=3D15000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -fno-common -g -mlongcall -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/POWERMAC -msoft-float -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/bm/../../dev/bm/if_bm.c /usr/src/sys/modules/bm/../../dev/bm/if_bm.c: In function 'bm_attach': /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:492: warning: passing argument 2 of 'dbdma_allocate_channel' makes integer from pointer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:492: warning: passing argument 3 of 'dbdma_allocate_channel' makes pointer from integer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:492: warning: passing argument 4 of 'dbdma_allocate_channel' makes integer from pointer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:492: error: too few arguments to function 'dbdma_allocate_channel' /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:494: warning: passing argument 2 of 'dbdma_allocate_channel' makes integer from pointer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:494: warning: passing argument 3 of 'dbdma_allocate_channel' makes pointer from integer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:494: warning: passing argument 4 of 'dbdma_allocate_channel' makes integer from pointer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:494: error: too few arguments to function 'dbdma_allocate_channel' *** Error code 1 Stop in /usr/src/sys/modules/bm. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/POWERMAC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. [ bsdbox ] [ root ] [ /usr/src ] =3D=3D>=20 Looks like the new dbdma code is a tad tits-uppish :(=20 Thanks,=20 -- Horst (btw, cc'ed back to list in case anyone knows what to do about the dbdma break) --=-QacY7+S3QQbvUijHb93p Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkkE5QkACgkQRtTtv0BbTe5GOACdG6kEc8nqC4wCAEwP1Rg+HUHr NXgAmwRcHJk4TLvRwhWFYs7cJp6NiTbk =MmkL -----END PGP SIGNATURE----- --=-QacY7+S3QQbvUijHb93p-- From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 27 11:07:19 2008 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 8B8E0106566B for ; Mon, 27 Oct 2008 11:07:19 +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 784FC8FC32 for ; Mon, 27 Oct 2008 11:07:19 +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 m9RB7JrN002065 for ; Mon, 27 Oct 2008 11:07:19 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9RB7IKY002061 for freebsd-ppc@FreeBSD.org; Mon, 27 Oct 2008 11:07:18 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Oct 2008 11:07:18 GMT Message-Id: <200810271107.m9RB7IKY002061@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, 27 Oct 2008 11:07:19 -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 -------------------------------------------------------------------------------- a power/121407 ppc [panic] Won't boot up; strange error message. o power/112435 ppc [nexus] [patch] Update nexus children to use ofw_bus f o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 4 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 27 11:43:07 2008 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 B5319106569B; Mon, 27 Oct 2008 11:43:07 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (stalker.stu.cn.ua [195.69.76.130]) by mx1.freebsd.org (Postfix) with ESMTP id 197858FC28; Mon, 27 Oct 2008 11:43:07 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (localhost [127.0.0.1]) by stu.cn.ua (Postfix) with ESMTP id 505C92460B1; Sat, 25 Oct 2008 05:23:14 +0300 (EEST) Received: by stu.cn.ua (Postfix, from userid 58) id 3650B24609F; Sat, 25 Oct 2008 05:23:14 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on stalker.stu.cn.ua X-Spam-Level: X-Spam-Status: No, score=-106.6 required=4.5 tests=BAYES_00, RCVD_IN_DNSWL_MED, SPF_PASS,USER_IN_WHITELIST autolearn=ham version=3.2.5 Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by stu.cn.ua (Postfix) with ESMTP id BCD3C244CA2 for ; Sat, 25 Oct 2008 05:23:11 +0300 (EEST) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 1B7791FFDEA; Sat, 25 Oct 2008 02:18:36 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id E1DBE1065765; Sat, 25 Oct 2008 02:18:34 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9EAB1065674; Sat, 25 Oct 2008 02:17:36 +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 9EEC68FC1B; Sat, 25 Oct 2008 02:17:36 +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 m9P2HYsA060665; Fri, 24 Oct 2008 22:17:34 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id m9P2HYaf047095; Fri, 24 Oct 2008 22:17:34 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id CCEFE1B507A; Fri, 24 Oct 2008 22:17:34 -0400 (EDT) From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20081025021734.CCEFE1B507A@freebsd-stable.sentex.ca> Date: Fri, 24 Oct 2008 22:17:34 -0400 (EDT) X-Virus-Scanned: ClamAV 0.94/8486/Fri Oct 24 16:05:23 2008 clamav-milter version 0.94 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-Virus-Scanned: ClamAV using ClamSMTP on stalker.stu.cn.ua Cc: Subject: [releng_7_1 tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2008 11:43:07 -0000 TB --- 2008-10-25 02:17:27 - tinderbox 2.4 running on freebsd-stable.sentex.ca TB --- 2008-10-25 02:17:27 - starting RELENG_7_1 tinderbox run for powerpc/powerpc TB --- 2008-10-25 02:17:27 - cleaning the object tree TB --- 2008-10-25 02:17:27 - cvsupping the source tree TB --- 2008-10-25 02:17:27 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7_1/powerpc/powerpc/supfile TB --- 2008-10-25 02:17:34 - building world (CFLAGS=-O2 -pipe) TB --- 2008-10-25 02:17:34 - cd /src TB --- 2008-10-25 02:17:34 - ERROR: /src: No such file or directory TB --- 2008-10-25 02:17:34 - tinderbox aborted TB --- 1.37 user 0.12 system 7.79 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7_1-powerpc-powerpc.full _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 27 12:03:13 2008 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 159EC1065672; Mon, 27 Oct 2008 12:03:13 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (stalker.stu.cn.ua [195.69.76.130]) by mx1.freebsd.org (Postfix) with ESMTP id 6A7F18FC2A; Mon, 27 Oct 2008 12:03:11 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (localhost [127.0.0.1]) by stu.cn.ua (Postfix) with ESMTP id 67134245982; Fri, 24 Oct 2008 17:02:11 +0300 (EEST) Received: by stu.cn.ua (Postfix, from userid 58) id 4D40A245944; Fri, 24 Oct 2008 17:02:11 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on stalker.stu.cn.ua X-Spam-Level: X-Spam-Status: No, score=-106.6 required=4.5 tests=BAYES_00, RCVD_IN_DNSWL_MED, SPF_PASS,USER_IN_WHITELIST autolearn=ham version=3.2.5 Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by stu.cn.ua (Postfix) with ESMTP id 9541D2458E4 for ; Fri, 24 Oct 2008 17:02:08 +0300 (EEST) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id B44141A7A75; Fri, 24 Oct 2008 13:58:39 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id C87CC10656B8; Fri, 24 Oct 2008 13:58:37 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EC2D1065676; Fri, 24 Oct 2008 13:57:43 +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 43F108FC08; Fri, 24 Oct 2008 13:57:42 +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 m9ODvfhK008004; Fri, 24 Oct 2008 09:57:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id m9ODvfvp025790; Fri, 24 Oct 2008 09:57:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id 153441B507A; Fri, 24 Oct 2008 09:57:41 -0400 (EDT) From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20081024135741.153441B507A@freebsd-stable.sentex.ca> Date: Fri, 24 Oct 2008 09:57:41 -0400 (EDT) X-Virus-Scanned: ClamAV 0.94/8482/Thu Oct 23 19:04:09 2008 clamav-milter version 0.94 on clamscanner1 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-Virus-Scanned: ClamAV using ClamSMTP on stalker.stu.cn.ua Cc: Subject: [releng_7_1 tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2008 12:03:13 -0000 TB --- 2008-10-24 13:57:34 - tinderbox 2.4 running on freebsd-stable.sentex.ca TB --- 2008-10-24 13:57:34 - starting RELENG_7_1 tinderbox run for powerpc/powerpc TB --- 2008-10-24 13:57:34 - cleaning the object tree TB --- 2008-10-24 13:57:34 - cvsupping the source tree TB --- 2008-10-24 13:57:34 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7_1/powerpc/powerpc/supfile TB --- 2008-10-24 13:57:41 - building world (CFLAGS=-O2 -pipe) TB --- 2008-10-24 13:57:41 - cd /src TB --- 2008-10-24 13:57:41 - ERROR: /src: No such file or directory TB --- 2008-10-24 13:57:41 - tinderbox aborted TB --- 1.41 user 0.06 system 6.48 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7_1-powerpc-powerpc.full _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 27 18:38:06 2008 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 B852C1065675; Mon, 27 Oct 2008 18:38:06 +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 7AD7B8FC18; Mon, 27 Oct 2008 18:38:06 +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 m9RIc4Yk082757; Mon, 27 Oct 2008 14:38:04 -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 m9RIc474047732; Mon, 27 Oct 2008 14:38:04 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 2541073039; Mon, 27 Oct 2008 13:38:04 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20081027183804.2541073039@freebsd-current.sentex.ca> Date: Mon, 27 Oct 2008 13:38:04 -0500 (EST) X-Virus-Scanned: ClamAV 0.94/8510/Mon Oct 27 14:03:16 2008 clamav-milter version 0.94 on clamscanner4 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: Mon, 27 Oct 2008 18:38:07 -0000 TB --- 2008-10-27 17:17:16 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-10-27 17:17:16 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-10-27 17:17:16 - cleaning the object tree TB --- 2008-10-27 17:17:55 - cvsupping the source tree TB --- 2008-10-27 17:17:55 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-10-27 17:18:02 - building world (CFLAGS=-O -pipe) TB --- 2008-10-27 17:18:02 - cd /src TB --- 2008-10-27 17:18:02 - /usr/bin/make -B buildworld >>> World build started on Mon Oct 27 17:18:04 UTC 2008 >>> 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 Mon Oct 27 18:30:01 UTC 2008 TB --- 2008-10-27 18:30:01 - generating LINT kernel config TB --- 2008-10-27 18:30:01 - cd /src/sys/powerpc/conf TB --- 2008-10-27 18:30:01 - /usr/bin/make -B LINT TB --- 2008-10-27 18:30:01 - building LINT kernel (COPTFLAGS=) TB --- 2008-10-27 18:30:01 - cd /src TB --- 2008-10-27 18:30:01 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Oct 27 18:30:01 UTC 2008 >>> 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 [...] mac_bsdextended.o(.data+0x560): undefined reference to `ugidfw_check_setacl_vnode' mac_bsdextended.o(.data+0x564): undefined reference to `ugidfw_vnode_check_setextattr' mac_bsdextended.o(.data+0x568): undefined reference to `ugidfw_vnode_check_setflags' mac_bsdextended.o(.data+0x56c): undefined reference to `ugidfw_vnode_check_setmode' mac_bsdextended.o(.data+0x570): undefined reference to `ugidfw_vnode_check_setowner' mac_bsdextended.o(.data+0x574): undefined reference to `ugidfw_vnode_check_setutimes' mac_bsdextended.o(.data+0x578): undefined reference to `ugidfw_vnode_check_stat' mac_bsdextended.o(.data+0x57c): undefined reference to `ugidfw_vnode_check_unlink' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-10-27 18:38:03 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-10-27 18:38:03 - ERROR: failed to build lint kernel TB --- 2008-10-27 18:38:03 - tinderbox aborted TB --- 3489.67 user 414.66 system 4847.20 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 28 01:30:56 2008 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 A3859106567A; Tue, 28 Oct 2008 01:30:56 +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 648B38FC20; Tue, 28 Oct 2008 01:30:56 +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 m9S1UqxU099797; Mon, 27 Oct 2008 21:30:53 -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 m9S1UqEk066713; Mon, 27 Oct 2008 21:30:52 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 9326673039; Mon, 27 Oct 2008 20:30:52 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20081028013052.9326673039@freebsd-current.sentex.ca> Date: Mon, 27 Oct 2008 20:30:52 -0500 (EST) X-Virus-Scanned: ClamAV 0.94/8516/Mon Oct 27 18:33:09 2008 clamav-milter version 0.94 on clamscanner1 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, 28 Oct 2008 01:30:56 -0000 TB --- 2008-10-28 00:10:46 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-10-28 00:10:46 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-10-28 00:10:46 - cleaning the object tree TB --- 2008-10-28 00:11:10 - cvsupping the source tree TB --- 2008-10-28 00:11:10 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-10-28 00:11:18 - building world (CFLAGS=-O -pipe) TB --- 2008-10-28 00:11:18 - cd /src TB --- 2008-10-28 00:11:18 - /usr/bin/make -B buildworld >>> World build started on Tue Oct 28 00:11:19 UTC 2008 >>> 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 Oct 28 01:25:33 UTC 2008 TB --- 2008-10-28 01:25:33 - generating LINT kernel config TB --- 2008-10-28 01:25:33 - cd /src/sys/powerpc/conf TB --- 2008-10-28 01:25:33 - /usr/bin/make -B LINT TB --- 2008-10-28 01:25:33 - building LINT kernel (COPTFLAGS=) TB --- 2008-10-28 01:25:33 - cd /src TB --- 2008-10-28 01:25:33 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Oct 28 01:25:33 UTC 2008 >>> 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 [...] /src/sys/dev/usb/u3g.c:495: error: 'struct u3gstub_softc' has no member named 'dev' /src/sys/dev/usb/u3g.c:502: error: 'struct u3gstub_softc' has no member named 'dev' /src/sys/dev/usb/u3g.c:509: error: 'struct u3gstub_softc' has no member named 'dev' /src/sys/dev/usb/u3g.c:457: warning: unused variable 'self' /src/sys/dev/usb/u3g.c: In function 'u3gstub_attach': /src/sys/dev/usb/u3g.c:587: error: 'struct u3gstub_softc' has no member named 'dev' /src/sys/dev/usb/u3g.c:591: error: 'struct u3gstub_softc' has no member named 'dev' /src/sys/dev/usb/u3g.c:595: error: 'struct u3gstub_softc' has no member named 'dev' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-10-28 01:30:52 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-10-28 01:30:52 - ERROR: failed to build lint kernel TB --- 2008-10-28 01:30:52 - tinderbox aborted TB --- 3363.85 user 399.55 system 4806.42 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 28 07:30:58 2008 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 4A1091065673; Tue, 28 Oct 2008 07:30:58 +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 0C02F8FC16; Tue, 28 Oct 2008 07:30:57 +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 m9S7Usat019299; Tue, 28 Oct 2008 03:30: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 m9S7Us2m038082; Tue, 28 Oct 2008 03:30:54 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id B22D673039; Tue, 28 Oct 2008 02:30:54 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20081028073054.B22D673039@freebsd-current.sentex.ca> Date: Tue, 28 Oct 2008 02:30:54 -0500 (EST) X-Virus-Scanned: ClamAV 0.94/8516/Mon Oct 27 18:33:09 2008 clamav-milter version 0.94 on clamscanner1 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, 28 Oct 2008 07:30:58 -0000 TB --- 2008-10-28 06:12:13 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-10-28 06:12:13 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-10-28 06:12:13 - cleaning the object tree TB --- 2008-10-28 06:12:37 - cvsupping the source tree TB --- 2008-10-28 06:12:37 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-10-28 06:12:43 - building world (CFLAGS=-O -pipe) TB --- 2008-10-28 06:12:43 - cd /src TB --- 2008-10-28 06:12:43 - /usr/bin/make -B buildworld >>> World build started on Tue Oct 28 06:12:44 UTC 2008 >>> 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 Oct 28 07:25:42 UTC 2008 TB --- 2008-10-28 07:25:42 - generating LINT kernel config TB --- 2008-10-28 07:25:42 - cd /src/sys/powerpc/conf TB --- 2008-10-28 07:25:42 - /usr/bin/make -B LINT TB --- 2008-10-28 07:25:42 - building LINT kernel (COPTFLAGS=) TB --- 2008-10-28 07:25:42 - cd /src TB --- 2008-10-28 07:25:42 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Oct 28 07:25:42 UTC 2008 >>> 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 [...] /src/sys/dev/usb/u3g.c:495: error: 'struct u3gstub_softc' has no member named 'dev' /src/sys/dev/usb/u3g.c:502: error: 'struct u3gstub_softc' has no member named 'dev' /src/sys/dev/usb/u3g.c:509: error: 'struct u3gstub_softc' has no member named 'dev' /src/sys/dev/usb/u3g.c:457: warning: unused variable 'self' /src/sys/dev/usb/u3g.c: In function 'u3gstub_attach': /src/sys/dev/usb/u3g.c:587: error: 'struct u3gstub_softc' has no member named 'dev' /src/sys/dev/usb/u3g.c:591: error: 'struct u3gstub_softc' has no member named 'dev' /src/sys/dev/usb/u3g.c:595: error: 'struct u3gstub_softc' has no member named 'dev' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-10-28 07:30:54 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-10-28 07:30:54 - ERROR: failed to build lint kernel TB --- 2008-10-28 07:30:54 - tinderbox aborted TB --- 3362.02 user 400.15 system 4720.98 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 28 21:43:33 2008 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 6A6771065753; Tue, 28 Oct 2008 21:43:33 +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 E63328FD86; Tue, 28 Oct 2008 19:13:41 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m9SJDcQW065481; Tue, 28 Oct 2008 20:13:39 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <49076462.9020406@fgznet.ch> Date: Tue, 28 Oct 2008 20:13:38 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Nathan Whitehorn References: <49048D19.7070309@freebsd.org> <49049447.4070401@freebsd.org> In-Reply-To: <49049447.4070401@freebsd.org> 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: ATA DMA problems with recent -current 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, 28 Oct 2008 21:43:36 -0000 Hi, Nathan Whitehorn wrote: >> Then I reverted ata-dma.c to revision 1.157. It works! I get no more >> timeouts. Currently it's untarring the ports.tar.gz file quite >> happily! > > Intriguing... that change was a typo fix. I guess we have to limit the > maximum ATA DMA size for our controllers. I'll look around and commit a > real fix later today. I saw you committed something to ata_kauai.c. And in the commit log it sounds to me that the real problem is not solved yet, correct? I built yesterday on my imac and see these errors: ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=29430560 ad0: TIMEOUT - READ_DMA retrying (0 retries left) LBA=29430560 ad0: FAILURE - READ_DMA timed out LBA=29430560 I have wired my ata to macio. Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 28 22:10:59 2008 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 AF51B1065693 for ; Tue, 28 Oct 2008 22:10:59 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 81EC98FC2A for ; Tue, 28 Oct 2008 22:10:59 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id BC5465823C; Tue, 28 Oct 2008 17:10:58 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KH8iXMo+x9G0; Tue, 28 Oct 2008 17:10:58 -0500 (CDT) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-165.icecube.wisc.edu [172.16.55.165]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 1BE5D5823A; Tue, 28 Oct 2008 17:10:58 -0500 (CDT) Message-ID: <49078DDB.30904@freebsd.org> Date: Tue, 28 Oct 2008 17:10:35 -0500 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: Andreas Tobler References: <49048D19.7070309@freebsd.org> <49049447.4070401@freebsd.org> <49076462.9020406@fgznet.ch> In-Reply-To: <49076462.9020406@fgznet.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML Subject: Re: ATA DMA problems with recent -current 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, 28 Oct 2008 22:10:59 -0000 Andreas Tobler wrote: > Hi, > > Nathan Whitehorn wrote: > >>> Then I reverted ata-dma.c to revision 1.157. It works! I get no more >>> timeouts. Currently it's untarring the ports.tar.gz file quite >>> happily! >> >> Intriguing... that change was a typo fix. I guess we have to limit >> the maximum ATA DMA size for our controllers. I'll look around and >> commit a real fix later today. > > I saw you committed something to ata_kauai.c. And in the commit log it > sounds to me that the real problem is not solved yet, correct? I just fixed this about 5 minutes ago -- yesterday's patch to ata_kauai was unrelated. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 28 22:13:38 2008 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 933B01065676; Tue, 28 Oct 2008 22:13:38 +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 292A98FC1B; Tue, 28 Oct 2008 22:13:37 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m9SMDZMG046717; Tue, 28 Oct 2008 23:13:36 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <49078E8F.1030105@fgznet.ch> Date: Tue, 28 Oct 2008 23:13:35 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Nathan Whitehorn References: <49048D19.7070309@freebsd.org> <49049447.4070401@freebsd.org> <49076462.9020406@fgznet.ch> <49078DDB.30904@freebsd.org> In-Reply-To: <49078DDB.30904@freebsd.org> 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: ATA DMA problems with recent -current 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, 28 Oct 2008 22:13:38 -0000 Nathan Whitehorn wrote: > Andreas Tobler wrote: >> Hi, >> >> Nathan Whitehorn wrote: >> >>>> Then I reverted ata-dma.c to revision 1.157. It works! I get no more >>>> timeouts. Currently it's untarring the ports.tar.gz file quite >>>> happily! >>> >>> Intriguing... that change was a typo fix. I guess we have to limit >>> the maximum ATA DMA size for our controllers. I'll look around and >>> commit a real fix later today. >> >> I saw you committed something to ata_kauai.c. And in the commit log it >> sounds to me that the real problem is not solved yet, correct? > I just fixed this about 5 minutes ago -- yesterday's patch to ata_kauai > was unrelated. Whee, great. Will test and report asap! Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 29 11:43:42 2008 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 7F25C10656A3; Wed, 29 Oct 2008 11:43:42 +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 55DF58FC1A; Wed, 29 Oct 2008 11:43:42 +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 m9TBheVC022091; Wed, 29 Oct 2008 07:43:40 -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 m9TBheZf022341; Wed, 29 Oct 2008 07:43:40 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id E296073039; Wed, 29 Oct 2008 06:43:39 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20081029114339.E296073039@freebsd-current.sentex.ca> Date: Wed, 29 Oct 2008 06:43:39 -0500 (EST) X-Virus-Scanned: ClamAV 0.94/8534/Wed Oct 29 03:34:40 2008 clamav-milter version 0.94 on clamscanner2 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, 29 Oct 2008 11:43:42 -0000 TB --- 2008-10-29 10:25:03 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-10-29 10:25:03 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-10-29 10:25:03 - cleaning the object tree TB --- 2008-10-29 10:25:33 - cvsupping the source tree TB --- 2008-10-29 10:25:33 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-10-29 10:25:39 - building world (CFLAGS=-O -pipe) TB --- 2008-10-29 10:25:39 - cd /src TB --- 2008-10-29 10:25:39 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 29 10:25:40 UTC 2008 >>> 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 Wed Oct 29 11:38:13 UTC 2008 TB --- 2008-10-29 11:38:13 - generating LINT kernel config TB --- 2008-10-29 11:38:13 - cd /src/sys/powerpc/conf TB --- 2008-10-29 11:38:13 - /usr/bin/make -B LINT TB --- 2008-10-29 11:38:13 - building LINT kernel (COPTFLAGS=) TB --- 2008-10-29 11:38:13 - cd /src TB --- 2008-10-29 11:38:13 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Oct 29 11:38:14 UTC 2008 >>> 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 -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 -ffreestanding -fstack-protector -Werror /src/sys/dev/usb/ohci_pci.c cc -c -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 -ffreestanding -fstack-protector -Werror /src/sys/dev/usb/sl811hs.c cc -c -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 -ffreestanding -fstack-protector -Werror /src/sys/dev/usb/slhci_pccard.c cc -c -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 -ffreestanding -fstack-protector -Werror /src/sys/dev/usb/uark.c cc -c -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 -ffreestanding -fstack-protector -Werror /src/sys/dev/usb/u3g.c /src/sys/dev/usb/u3g.c:54:1: error: "U3G_DEBUG" redefined In file included from /src/sys/dev/usb/u3g.c:50: ./opt_u3g.h:1:1: error: this is the location of the previous definition *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-10-29 11:43:39 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-10-29 11:43:39 - ERROR: failed to build lint kernel TB --- 2008-10-29 11:43:39 - tinderbox aborted TB --- 3357.40 user 403.41 system 4716.80 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 29 19:05:58 2008 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 C4A201065679 for ; Wed, 29 Oct 2008 19:05:58 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (unknown [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 68D158FC08 for ; Wed, 29 Oct 2008 19:05:58 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 3B3381CCA7; Wed, 29 Oct 2008 20:07:24 +0100 (CET) Date: Wed, 29 Oct 2008 20:07:24 +0100 From: Ed Schouten To: FreeBSD PowerPC Message-ID: <20081029190724.GH1165@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rCwQ2Y43eQY6RBgR" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: FreeBSD on my old rusty PowerBook 12" 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: Wed, 29 Oct 2008 19:05:58 -0000 --rCwQ2Y43eQY6RBgR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello all, A couple of days ago I saw a commit flash by, which added ADB support to FreeBSD. This means I can finally use FreeBSD on my old PowerBook 12", which is doing nothing right now. I tried to install FreeBSD on the system and it somewhat works, but I think I need to do something differently to get it working properly. I downloaded the 200810 snapshot, which does not support ADB, so I'm using an USB keyboard right now. Good enough. When I get into the installer, it seems there is some kind of hard-coded disk layout. I only have ad0s2 and ad0s3, where ad0s2 is 128 MB and ad0s3 is the rest of the disk. I can't create any more partitions. So right now I've put / on ad0s2 and /usr on ad0s3, which is pretty awful. About boot loaders: I just booted from the harddisk by running in the ofw console: boot cd:\boot\loader hd:2 But I want to have a boot loader on the harddisk itself. I read something about putting a HFS partition on the disk and storing a file in it? Is that what ad0s2 is for? Sorry if I'm asking silly questions, but this is the first time I installed FreeBSD on something different than {i386,amd64,sparc64}. Thanks! --=20 Ed Schouten WWW: http://80386.nl/ --rCwQ2Y43eQY6RBgR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkItGwACgkQ52SDGA2eCwVgNgCeJa0jAQgE79j2jkQp7nNVRt0P ojsAn0YMF4y41xNWDtmwfVYHagFrehii =2kbE -----END PGP SIGNATURE----- --rCwQ2Y43eQY6RBgR-- From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 29 19:23:57 2008 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 7BC981065677 for ; Wed, 29 Oct 2008 19:23:57 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 386B28FC17 for ; Wed, 29 Oct 2008 19:23:57 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 5F8DE5823C; Wed, 29 Oct 2008 14:23:56 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fdFn3RH0cLux; Wed, 29 Oct 2008 14:23:55 -0500 (CDT) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-165.icecube.wisc.edu [172.16.55.165]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 795B15823A; Wed, 29 Oct 2008 14:23:55 -0500 (CDT) Message-ID: <4908B834.4030805@freebsd.org> Date: Wed, 29 Oct 2008 14:23:32 -0500 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: Ed Schouten References: <20081029190724.GH1165@hoeg.nl> In-Reply-To: <20081029190724.GH1165@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC Subject: Re: FreeBSD on my old rusty PowerBook 12" 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: Wed, 29 Oct 2008 19:23:57 -0000 Ed Schouten wrote: > Hello all, > > A couple of days ago I saw a commit flash by, which added ADB support to > FreeBSD. This means I can finally use FreeBSD on my old PowerBook 12", > which is doing nothing right now. > Welcome to PPC! The introduction of the MPsafe TTY layer was what fixed the last locking bugs in akbd that I hadn't managed to track down, so thanks :) > I tried to install FreeBSD on the system and it somewhat works, but I > think I need to do something differently to get it working properly. > > I downloaded the 200810 snapshot, which does not support ADB, so I'm > using an USB keyboard right now. Good enough. When I get into the > installer, it seems there is some kind of hard-coded disk layout. I only > have ad0s2 and ad0s3, where ad0s2 is 128 MB and ad0s3 is the rest of the > disk. I can't create any more partitions. So right now I've put / on > ad0s2 and /usr on ad0s3, which is pretty awful. > Sysinstall doesn't (currently) have the ability to modify APM layouts. gpart does. This should be fixed. The result is that sysinstall just uses whatever partitions happen to be on your disk already. > About boot loaders: I just booted from the harddisk by running in the > ofw console: > > boot cd:\boot\loader hd:2 > > But I want to have a boot loader on the harddisk itself. I read > something about putting a HFS partition on the disk and storing a file > in it? Is that what ad0s2 is for? > I have a hack in head to solve this. If you rebuild world, you will get a /boot/boot1.hfs. This is a little (800 K) HFS partition with a port of the sparc64 boot1 in it, which you can dd to an 800 K partition to get OFW to boot your machine. However, sysinstall doesn't know about this yet either. You can make this and your regular FreeBSD partitions with gpart, then use dd and boot1.hfs to get a bootable system with sane partitioning. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 29 20:03:19 2008 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 22CF3106567B; Wed, 29 Oct 2008 20:03:19 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (unknown [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id E28F48FC24; Wed, 29 Oct 2008 20:03:18 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 6AE471CCA7; Wed, 29 Oct 2008 21:04:43 +0100 (CET) Date: Wed, 29 Oct 2008 21:04:43 +0100 From: Ed Schouten To: Nathan Whitehorn Message-ID: <20081029200443.GI1165@hoeg.nl> References: <20081029190724.GH1165@hoeg.nl> <4908B834.4030805@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="16qp2B0xu0fRvRD7" Content-Disposition: inline In-Reply-To: <4908B834.4030805@freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD/ppc Subject: Re: FreeBSD on my old rusty PowerBook 12" 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: Wed, 29 Oct 2008 20:03:19 -0000 --16qp2B0xu0fRvRD7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Nathan, * Nathan Whitehorn wrote: > Ed Schouten wrote: >> Hello all, >> >> A couple of days ago I saw a commit flash by, which added ADB support to >> FreeBSD. This means I can finally use FreeBSD on my old PowerBook 12", >> which is doing nothing right now. >> =20 > Welcome to PPC! The introduction of the MPsafe TTY layer was what fixed = =20 > the last locking bugs in akbd that I hadn't managed to track down, so =20 > thanks :) That's very great to hear! The TTY layer was I guess one of the last remaining core components of the kernel that exclusively used Giant, so getting the graphics/input layers fixed up should become a lot more easy now. >> I tried to install FreeBSD on the system and it somewhat works, but I >> think I need to do something differently to get it working properly. >> >> I downloaded the 200810 snapshot, which does not support ADB, so I'm >> using an USB keyboard right now. Good enough. When I get into the >> installer, it seems there is some kind of hard-coded disk layout. I only >> have ad0s2 and ad0s3, where ad0s2 is 128 MB and ad0s3 is the rest of the >> disk. I can't create any more partitions. So right now I've put / on >> ad0s2 and /usr on ad0s3, which is pretty awful. >> =20 > Sysinstall doesn't (currently) have the ability to modify APM layouts. = =20 > gpart does. This should be fixed. The result is that sysinstall just =20 > uses whatever partitions happen to be on your disk already. >> About boot loaders: I just booted from the harddisk by running in the >> ofw console: >> >> boot cd:\boot\loader hd:2 >> >> But I want to have a boot loader on the harddisk itself. I read >> something about putting a HFS partition on the disk and storing a file >> in it? Is that what ad0s2 is for? >> =20 > I have a hack in head to solve this. If you rebuild world, you will get = =20 > a /boot/boot1.hfs. This is a little (800 K) HFS partition with a port of = =20 > the sparc64 boot1 in it, which you can dd to an 800 K partition to get = =20 > OFW to boot your machine. However, sysinstall doesn't know about this =20 > yet either. You can make this and your regular FreeBSD partitions with = =20 > gpart, then use dd and boot1.hfs to get a bootable system with sane =20 > partitioning. That sounds great. Unfortunately I can't find a CD image which has a fixit shell on it (there are no fixit disks?) so I think I can't properly partition my harddisk with gpart right now. You happen to know where I can find a FreeBSD PPC disc which allows me to do this? Thanks! --=20 Ed Schouten WWW: http://80386.nl/ --16qp2B0xu0fRvRD7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkIwdsACgkQ52SDGA2eCwXvaACdFcnCB8/DVKlVjyQ4bYoQILZW 648An0z6a/xejGw43PK1csazM9HwH20L =mV8B -----END PGP SIGNATURE----- --16qp2B0xu0fRvRD7-- From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 29 20:11:26 2008 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 A4D851065675 for ; Wed, 29 Oct 2008 20:11:26 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by mx1.freebsd.org (Postfix) with ESMTP id 2D3B38FC1F for ; Wed, 29 Oct 2008 20:11:25 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail02.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9TKABZE030527; Thu, 30 Oct 2008 07:10:12 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: Ed Schouten In-Reply-To: <20081029200443.GI1165@hoeg.nl> References: <20081029190724.GH1165@hoeg.nl> <4908B834.4030805@freebsd.org> <20081029200443.GI1165@hoeg.nl> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pyDmshrI3I8xm5HyMbLg" Date: Thu, 30 Oct 2008 07:13:01 +1100 Message-Id: <1225311181.10591.145.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Cc: FreeBSD PowerPC ML Subject: Re: FreeBSD on my old rusty PowerBook 12" 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: Wed, 29 Oct 2008 20:11:26 -0000 --=-pyDmshrI3I8xm5HyMbLg Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-10-29 at 21:04 +0100, Ed Schouten wrote: > That sounds great. Unfortunately I can't find a CD image which has a > fixit shell on it (there are no fixit disks?) so I think I can't > properly partition my harddisk with gpart right now. You happen to know > where I can find a FreeBSD PPC disc which allows me to do this? Thanks! I don't believe such a disc exists for PowerPC. You might try a linux livecd like finnix-ppc which was what I used, as it has GNU Parted which _will_ set up your partitions properly.=20 Alternatively you could boot into OSX with installer disc 1 and use the Disk Utility. It doesn't matter what type of partition is what just as long as you have that small HFS one (which the dd image will take care of anyway).=20 Then just sysinstall as normal. Happy BSDing on your mac!=20 -- Horst. --=-pyDmshrI3I8xm5HyMbLg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkkIw80ACgkQRtTtv0BbTe6AzACbBhey+FXiv+rOw0v91Uf2Bl9h 5WQAnjywrfTZ0kxCRcca88CbzRpeFjhr =Pp3s -----END PGP SIGNATURE----- --=-pyDmshrI3I8xm5HyMbLg-- From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 29 20:16:28 2008 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 4BC37106568E for ; Wed, 29 Oct 2008 20:16:28 +0000 (UTC) (envelope-from ross@grinz.com) Received: from mail.boomhaus.com (emerson.grinz.com [64.219.233.251]) by mx1.freebsd.org (Postfix) with ESMTP id 26D8A8FC18 for ; Wed, 29 Oct 2008 20:16:28 +0000 (UTC) (envelope-from ross@grinz.com) Received: from quine.local (cpe-66-69-170-128.sw.res.rr.com [66.69.170.128]) by mail.boomhaus.com (Postfix) with ESMTPSA id 0951990 for ; Wed, 29 Oct 2008 14:32:34 -0500 (CDT) Message-ID: <4908C120.3010508@grinz.com> Date: Wed, 29 Oct 2008 15:01:36 -0500 From: Ross Gohlke User-Agent: Thunderbird 2.0.0.12 (X11/20080703) MIME-Version: 1.0 To: FreeBSD PowerPC References: <20081029190724.GH1165@hoeg.nl> In-Reply-To: <20081029190724.GH1165@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: FreeBSD on my old rusty PowerBook 12" 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: Wed, 29 Oct 2008 20:16:28 -0000 Ed Schouten wrote: > Hello all, > > A couple of days ago I saw a commit flash by, which added ADB support to > FreeBSD. This means I can finally use FreeBSD on my old PowerBook 12", > which is doing nothing right now. > > I tried to install FreeBSD on the system and it somewhat works, but I > think I need to do something differently to get it working properly. > > I downloaded the 200810 snapshot, which does not support ADB, so I'm > using an USB keyboard right now. Good enough. When I get into the > installer, it seems there is some kind of hard-coded disk layout. I only > have ad0s2 and ad0s3, where ad0s2 is 128 MB and ad0s3 is the rest of the > disk. I can't create any more partitions. So right now I've put / on > ad0s2 and /usr on ad0s3, which is pretty awful. > > About boot loaders: I just booted from the harddisk by running in the > ofw console: > > boot cd:\boot\loader hd:2 > > But I want to have a boot loader on the harddisk itself. I read > something about putting a HFS partition on the disk and storing a file > in it? Is that what ad0s2 is for? > > Sorry if I'm asking silly questions, but this is the first time I > installed FreeBSD on something different than {i386,amd64,sparc64}. > Thanks! > Do you have an old Mac OS X Installer disc? If so, it contains Disk Utility, which will allow you to partition the drive, creating a small HFS partition and as many UFS(2) partitions as you want. You will need to know the identities of each partition when you get to sysinstall. You can do this in Disk Utility by selecting each new partition and clicking Info. Older versions (10.1, 10.2) of OS X might use UFS, I'm pretty sure newer versions use UFS2. Regardless, Disk Utility simply calls it UNIX File System. This is the first I've heard of ADB support, and I don't own a USB keyboard; I used Disk Utility in Tiger (10.4) to create a dual-boot drive, so the HFS partition wasn't a problem. I was able to successfully boot into FreeBSD before I lost access to a keyboard, not much else. Happy FreeBSDing! -- Ross Gohlke > http://www.GRINZ.com (P) 901.276.9750 (Memphis) / 310.356.6906 (Los Angeles) (FAX/HOTLINE) 877.806.0861 AIM: grinzie GIZMO/SKYPE: rossgohlke JABBER: ross@chat.grinz.com 111 S. Highland St. #424, Memphis, TN 38111 | Always up. | From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 00:22:03 2008 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 E3F92106568A for ; Thu, 30 Oct 2008 00:22:03 +0000 (UTC) (envelope-from brucec@muon.cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id BF2998FC13 for ; Thu, 30 Oct 2008 00:22:03 +0000 (UTC) (envelope-from brucec@muon.cran.org.uk) Received: by muon.cran.org.uk (Postfix, from userid 1000) id D498C195FF; Wed, 29 Oct 2008 20:06:52 -0400 (EDT) Date: Wed, 29 Oct 2008 20:06:52 -0400 From: Bruce Cran To: powerpc@freebsd.org Message-ID: <20081030000652.GA18695@muon.cran.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: iBook G4 hang at ADB mouse detection 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, 30 Oct 2008 00:22:04 -0000 I just upgraded to the very latest -CURRENT and my iBook now hangs at boot: ... pmu0: mem 0x16000-0x17fff irq 25 on macio0 pmu0: [MPSAFE] pmu0: [ITHREAD] pmu0: PMU child pmu0: PMU child pmu0: PMU child pmu0: PMU child pmu0: PMU child adb0: on pmu0 akbd0: at device 2 on adb0 kbd: new array size 4 kbd1 at atkbd0 ams0: at device 3 on adb0 Anything I can do to try and track down the problem? -- Bruce Cran From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 06:15:40 2008 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 785C9106564A for ; Thu, 30 Oct 2008 06:15:40 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (unknown [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 192628FC08 for ; Thu, 30 Oct 2008 06:15:40 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id F10571CCA7; Thu, 30 Oct 2008 07:16:45 +0100 (CET) Date: Thu, 30 Oct 2008 07:16:45 +0100 From: Ed Schouten To: FreeBSD/ppc Message-ID: <20081030061645.GJ1165@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRtZRu2mMGBZ6YQ7" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: PowerBook 12" hangs right after attaching ams0 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, 30 Oct 2008 06:15:40 -0000 --wRtZRu2mMGBZ6YQ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello all, After using finnix to partition my PowerBook's hard driver (thanks Horst), I managed to install FreeBSD properly. I still have to look into the boot loader issue, but I first want to get the keyboard working. I upgraded from the Oct 2008 snapshot CD to yesterday evening's HEAD. After recompiling the kernel and booting it, it gets stuck right after attaching ams0. I don't have time to copy the entire dmesg by hand here, so here are the last messages when I `boot -v': | adb0: on pmu0 | akbd0: at device 2 on adb0 | kbd: new array size 4 | kbd1 at akbd0 | ams0: at device 3 on adb0 Nathan, is there some special kernel compile switch/command I can run to provide you with more data? --=20 Ed Schouten WWW: http://80386.nl/ --wRtZRu2mMGBZ6YQ7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkJUU0ACgkQ52SDGA2eCwVFlACfXnSYMOU3lnBVJf///GabQ+kz lDMAn1qZ0ZpntdgjAOVD+Et4J1iatT72 =7aff -----END PGP SIGNATURE----- --wRtZRu2mMGBZ6YQ7-- From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 06:40:59 2008 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 D00731065678; Thu, 30 Oct 2008 06:40:59 +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 6B3028FC14; Thu, 30 Oct 2008 06:40:58 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m9U6eb1t079071; Thu, 30 Oct 2008 07:40:37 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <490956E5.50209@fgznet.ch> Date: Thu, 30 Oct 2008 07:40:37 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Nathan Whitehorn References: <20081030061645.GJ1165@hoeg.nl> In-Reply-To: <20081030061645.GJ1165@hoeg.nl> 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: Ed Schouten , FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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, 30 Oct 2008 06:40:59 -0000 Ed Schouten wrote: > Hello all, > > After using finnix to partition my PowerBook's hard driver (thanks > Horst), I managed to install FreeBSD properly. I still have to look into > the boot loader issue, but I first want to get the keyboard working. > > I upgraded from the Oct 2008 snapshot CD to yesterday evening's HEAD. > After recompiling the kernel and booting it, it gets stuck right after > attaching ams0. I don't have time to copy the entire dmesg by hand here, > so here are the last messages when I `boot -v': > > | adb0: on pmu0 > | akbd0: at device 2 on adb0 > | kbd: new array size 4 > | kbd1 at akbd0 > | ams0: at device 3 on adb0 > > Nathan, is there some special kernel compile switch/command I can run to > provide you with more data? > Fyi, I see the same behavior on an albook G4. But with a previous version of the patch it did work. Will investigate tonight. Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 13:44:38 2008 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 646DB106564A for ; Thu, 30 Oct 2008 13:44:38 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 384148FC19 for ; Thu, 30 Oct 2008 13:44:38 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K9K004000UDK700@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Thu, 30 Oct 2008 08:44:37 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-154-3-101.dsl.mdsnwi.sbcglobal.net [99.154.3.101]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K9K00CUX0UC7V80@smtpauth2.wiscmail.wisc.edu>; Thu, 30 Oct 2008 08:44:37 -0500 (CDT) Date: Thu, 30 Oct 2008 08:45:05 -0500 From: Nathan Whitehorn In-reply-to: <20081030061645.GJ1165@hoeg.nl> To: Ed Schouten Message-id: <4909BA61.8060008@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.3.101 X-Spam-PmxInfo: Server=avs-12, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.30.131912, SenderIP=99.154.3.101 References: <20081030061645.GJ1165@hoeg.nl> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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, 30 Oct 2008 13:44:38 -0000 Ed Schouten wrote: > Hello all, > > After using finnix to partition my PowerBook's hard driver (thanks > Horst), I managed to install FreeBSD properly. I still have to look into > the boot loader issue, but I first want to get the keyboard working. > > I upgraded from the Oct 2008 snapshot CD to yesterday evening's HEAD. > After recompiling the kernel and booting it, it gets stuck right after > attaching ams0. I don't have time to copy the entire dmesg by hand here, > so here are the last messages when I `boot -v': > > | adb0: on pmu0 > | akbd0: at device 2 on adb0 > | kbd: new array size 4 > | kbd1 at akbd0 > | ams0: at device 3 on adb0 > > Nathan, is there some special kernel compile switch/command I can run to > provide you with more data? > Drat. Could you try the patch at http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? I'd also be interested to know what the bit of your dmesg around macgpio0 looks like, in particular the line from the attachment for pmuextint0. Unfortunately, ams0's attach doesn't have any debug information in it. It is stuck somewhere between lines 171 and 183 of adb_mouse.c, if you want to fill it with printf(). -Nathan From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 16:00:56 2008 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 53A4B1065691; Thu, 30 Oct 2008 16:00:56 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (unknown [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 870748FC19; Thu, 30 Oct 2008 16:00:55 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id C06101CCA0; Thu, 30 Oct 2008 17:01:43 +0100 (CET) Date: Thu, 30 Oct 2008 17:01:43 +0100 From: Ed Schouten To: Nathan Whitehorn Message-ID: <20081030160143.GL1165@hoeg.nl> References: <20081030061645.GJ1165@hoeg.nl> <4909BA61.8060008@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bZ2MuwyI/0uB8yuJ" Content-Disposition: inline In-Reply-To: <4909BA61.8060008@freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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, 30 Oct 2008 16:00:56 -0000 --bZ2MuwyI/0uB8yuJ Content-Type: multipart/mixed; boundary="sMZCuqyhuhd4ycTi" Content-Disposition: inline --sMZCuqyhuhd4ycTi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Nathan, * Nathan Whitehorn wrote: > Drat. Could you try the patch at > http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? After applying the patch, it still gets stuck during boot. > I'd also be interested to know what the bit of your dmesg around > macgpio0 looks like, in particular the line from the attachment for > pmuextint0. I've attached the dmesg to this email. > Unfortunately, ams0's attach doesn't have any debug information in it. > It is stuck somewhere between lines 171 and 183 of adb_mouse.c, if you > want to fill it with printf(). I can confirm it indeed gets stuck in adb_mouse_attach(), namely during its call to adb_set_device_handler(). I've just added a `return (ENXIO)' to adb_mouse_probe(), so I can at least boot my PowerBook for now. The keyboard support rocks. Thanks! :-) There are some random things I still have to look into: - I've dd'd the boot loader to /dev/ad0s2, but for some reason my Mac still refuses to boot from it. - The processor still runs at 533 MHz. I think Linux also did this when I tried it 3-4 years ago. - I thought we had some kind of experimental bwi(4) port sitting in P4. Would be cool to see if it works. --=20 Ed Schouten WWW: http://80386.nl/ --sMZCuqyhuhd4ycTi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="powerbook-dmesg.txt" Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #3: Thu Oct 30 15:50:11 UTC 2008 ed@mecca.80386.nl:/usr/obj/store/home/ed/svn/freebsd-src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. cpu0: Motorola PowerPC 7455 revision 3.3, 533.33 MHz cpu0: HID0 8450c0bc real memory = 659062784 (628 MB) avail memory = 631754752 (602 MB) kbd0 at kbdmux0 nexus0: unin0: on nexus0 unin0: Version 210 pcib0: on nexus0 pci0: on pcib0 vgapci0: mem 0x91000000-0x91ffffff,0x94000000-0x97ffffff irq 48 at device 16.0 on pci0 pcib1: on nexus0 pci1: on pcib1 macio0: mem 0x80000000-0x8007ffff at device 23.0 on pci1 openpic0: mem 0x40000-0x7ffff on macio0 macgpio0: mem 0x50-0x7f on macio0 pmuextint0: gpio 9 irq 47 on macgpio0 scc0: mem 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 22,5,6,23,7,8 on macio0 scc0: [FILTER] scc0: [FILTER] uart0: on scc0 uart0: [FILTER] uart1: on scc0 uart1: [FILTER] pmu0: mem 0x16000-0x17fff irq 25 on macio0 pmu0: [ITHREAD] adb0: on pmu0 ata0 mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 ata0: [ITHREAD] pci1: at device 18.0 (no driver attached) ohci0: mem 0x80082000-0x80082fff irq 27 at device 24.0 on pci1 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0x80081000-0x80081fff irq 28 at device 25.0 on pci1 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered ohci2: mem 0x80080000-0x80080fff irq 29 at device 26.0 on pci1 ohci2: [GIANT-LOCKED] ohci2: [ITHREAD] usb2: OHCI version 1.0, legacy support usb2: on ohci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered pcib2: on nexus0 pci2: on pcib2 ata1: mem 0xf5004000-0xf5007fff irq 39 at device 13.0 on pci2 ata1: [ITHREAD] fwohci0: mem 0xf5000000-0xf5000fff irq 40 at device 14.0 on pci2 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:0a:95:ff:fe:73:d6:e6 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:0a:95:73:d6:e6 fwe0: Ethernet address: 02:0a:95:73:d6:e6 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode gem0: mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci2 miibus0: on gem0 bmtphy0: PHY 0 on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: 10kB RX FIFO, 4kB TX FIFO gem0: Ethernet address: 00:0a:95:73:d6:e6 gem0: [ITHREAD] sc0: on nexus0 sc0: Unknown <16 virtual consoles, flags=0x300> ugen0: on uhub0 Timecounter "decrementer" frequency 33280357 Hz quality 0 Timecounters tick every 10.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) acd0: DVDR at ata0-master WDMA2 ad0: 57231MB at ata1-master UDMA100 akbd0: at device 2 on adb0 kbd1 at akbd0 --sMZCuqyhuhd4ycTi-- --bZ2MuwyI/0uB8yuJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkJ2mcACgkQ52SDGA2eCwV/cQCfdMnZh4ZWsx3k5lL6ZrIh/D0w FW4An1fXJYgJ1OpAPdjhIz/epBhViXGU =MFGk -----END PGP SIGNATURE----- --bZ2MuwyI/0uB8yuJ-- From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 16:10:23 2008 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 61EFC106567B for ; Thu, 30 Oct 2008 16:10:23 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 34DFE8FC1B for ; Thu, 30 Oct 2008 16:10:22 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K9K00G1M7LAYQ00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Thu, 30 Oct 2008 11:10:22 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-154-3-101.dsl.mdsnwi.sbcglobal.net [99.154.3.101]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K9K00GB07L7OQ00@smtpauth1.wiscmail.wisc.edu>; Thu, 30 Oct 2008 11:10:20 -0500 (CDT) Date: Thu, 30 Oct 2008 11:10:47 -0500 From: Nathan Whitehorn In-reply-to: <20081030160143.GL1165@hoeg.nl> To: Ed Schouten Message-id: <4909DC87.6080203@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.3.101 X-Spam-PmxInfo: Server=avs-10, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.30.155830, SenderIP=99.154.3.101 References: <20081030061645.GJ1165@hoeg.nl> <4909BA61.8060008@freebsd.org> <20081030160143.GL1165@hoeg.nl> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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, 30 Oct 2008 16:10:23 -0000 Ed Schouten wrote: > Hello Nathan, > > * Nathan Whitehorn wrote: >> Drat. Could you try the patch at >> http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? > > After applying the patch, it still gets stuck during boot. Could you try the latest HEAD? I poked around at my machines this morning to try to make them hang, succeeded, and then fixed some problems that make mouse probes hang after the keyboard is probed successfully. >> Unfortunately, ams0's attach doesn't have any debug information in it. >> It is stuck somewhere between lines 171 and 183 of adb_mouse.c, if you >> want to fill it with printf(). > > I can confirm it indeed gets stuck in adb_mouse_attach(), namely during > its call to adb_set_device_handler(). I've just added a `return (ENXIO)' > to adb_mouse_probe(), so I can at least boot my PowerBook for now. The > keyboard support rocks. Thanks! :-) That's about what I expected. The change I added make it retry commands like that if they get stuck, inside of looping forever on a reply. Glad your keyboard works, though! > There are some random things I still have to look into: > > - I've dd'd the boot loader to /dev/ad0s2, but for some reason my Mac > still refuses to boot from it. What is the partition type (gpart show) for ad0s2? I think it might need to be set to !Apple_Bootstrap. The partition size may also need to be exactly 800K. You should be able to change both of these things with the system up, though you might need to enable foot shooting in geom. > - The processor still runs at 533 MHz. I think Linux also did this when > I tried it 3-4 years ago. OF sets it to this at boot. I think there is something you can change at the firmware prompt to bring it up to full speed, but my memory is foggy. I recently picked up a G4 iBook, and am going to look at cpufreq once my work calms down a little in a month or so. Feel free to beat me to it, though :) -Nathan From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 17:18:33 2008 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 D3CB71065678; Thu, 30 Oct 2008 17:18:33 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (unknown [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 640888FC13; Thu, 30 Oct 2008 17:18:33 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 023E61CCA0; Thu, 30 Oct 2008 18:19:18 +0100 (CET) Date: Thu, 30 Oct 2008 18:19:18 +0100 From: Ed Schouten To: Nathan Whitehorn Message-ID: <20081030171918.GM1165@hoeg.nl> References: <20081030061645.GJ1165@hoeg.nl> <4909BA61.8060008@freebsd.org> <20081030160143.GL1165@hoeg.nl> <4909DC87.6080203@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TXIPBuAs4GDcsx9K" Content-Disposition: inline In-Reply-To: <4909DC87.6080203@freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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, 30 Oct 2008 17:18:33 -0000 --TXIPBuAs4GDcsx9K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Nathan Whitehorn wrote: > Ed Schouten wrote: >> Hello Nathan, >> >> * Nathan Whitehorn wrote: >>> Drat. Could you try the patch at >>> http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? >> >> After applying the patch, it still gets stuck during boot. > > Could you try the latest HEAD? I poked around at my machines this =20 > morning to try to make them hang, succeeded, and then fixed some =20 > problems that make mouse probes hang after the keyboard is probed =20 > successfully. I will. Unfortunately I have to compile some things first, so I'll get back to you on that. >> There are some random things I still have to look into: >> >> - I've dd'd the boot loader to /dev/ad0s2, but for some reason my Mac >> still refuses to boot from it. > > What is the partition type (gpart show) for ad0s2? I think it might need = =20 > to be set to !Apple_Bootstrap. The partition size may also need to be =20 > exactly 800K. You should be able to change both of these things with the = =20 > system up, though you might need to enable foot shooting in geom. Even after shrinking the partition to exactly 1600 sectors and using !Apple_Bootstrap, it still doesn't work. Output of `gpart show' below: | =3D> 10 117210230 ad0 APM (60.0GB) | 10 54 - free - (27.6KB) | 64 1600 1 !Apple_Bootstrap (819.2KB) | 1664 448 - free - (229.4KB) | 2112 524288 2 !Apple_UNIX_SVR2 (268.4MB) | 526400 2097152 3 !Apple_UNIX_SVR2 (1073.7MB) | 2623552 524288 4 !Apple_UNIX_SVR2 (268.4MB) | 3147840 524288 5 !Apple_UNIX_SVR2 (268.4MB) | 3672128 16777216 6 !Apple_UNIX_SVR2 (8.6GB) | 20449344 96760896 7 !Apple_UNIX_SVR2 (49.5GB) When I boot my system, I first get the classic folder icon with the question mark in it. After a couple of seconds, I end up in the Open Firmware console. Thanks for your help so far! --=20 Ed Schouten WWW: http://80386.nl/ --TXIPBuAs4GDcsx9K Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkJ7JYACgkQ52SDGA2eCwVEogCfVfqdQAOHdIPbBc4Nj3PQq5+X plcAnizHBr1c8IKN3+j8NAolpGeh5WIL =LAXP -----END PGP SIGNATURE----- --TXIPBuAs4GDcsx9K-- From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 18:02:05 2008 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 54334106564A; Thu, 30 Oct 2008 18:02:05 +0000 (UTC) (envelope-from brucec@muon.cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 17F688FC14; Thu, 30 Oct 2008 18:02:05 +0000 (UTC) (envelope-from brucec@muon.cran.org.uk) Received: by muon.cran.org.uk (Postfix, from userid 1000) id 518DC195FF; Thu, 30 Oct 2008 13:42:43 -0400 (EDT) Date: Thu, 30 Oct 2008 13:42:43 -0400 From: Bruce Cran To: Nathan Whitehorn Message-ID: <20081030174243.GA23679@muon.cran.org.uk> References: <20081030061645.GJ1165@hoeg.nl> <4909BA61.8060008@freebsd.org> <20081030160143.GL1165@hoeg.nl> <4909DC87.6080203@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4909DC87.6080203@freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Ed Schouten , FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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, 30 Oct 2008 18:02:05 -0000 On Thu, Oct 30, 2008 at 11:10:47AM -0500, Nathan Whitehorn wrote: > Ed Schouten wrote: >> Hello Nathan, >> >> * Nathan Whitehorn wrote: >>> Drat. Could you try the patch at >>> http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? >> >> After applying the patch, it still gets stuck during boot. > > Could you try the latest HEAD? I poked around at my machines this > morning to try to make them hang, succeeded, and then fixed some > problems that make mouse probes hang after the keyboard is probed > successfully. > >>> Unfortunately, ams0's attach doesn't have any debug information in it. >>> It is stuck somewhere between lines 171 and 183 of adb_mouse.c, if you >>> want to fill it with printf(). >> >> I can confirm it indeed gets stuck in adb_mouse_attach(), namely during >> its call to adb_set_device_handler(). I've just added a `return (ENXIO)' >> to adb_mouse_probe(), so I can at least boot my PowerBook for now. The >> keyboard support rocks. Thanks! :-) > > That's about what I expected. The change I added make it retry commands > like that if they get stuck, inside of looping forever on a reply. Glad > your keyboard works, though! > >> There are some random things I still have to look into: >> >> - I've dd'd the boot loader to /dev/ad0s2, but for some reason my Mac >> still refuses to boot from it. > > What is the partition type (gpart show) for ad0s2? I think it might need > to be set to !Apple_Bootstrap. The partition size may also need to be > exactly 800K. You should be able to change both of these things with the > system up, though you might need to enable foot shooting in geom. > >> - The processor still runs at 533 MHz. I think Linux also did this when >> I tried it 3-4 years ago. > > OF sets it to this at boot. I think there is something you can change at > the firmware prompt to bring it up to full speed, but my memory is foggy. > On my iBook G4 you can configure the CPU to run at the max frequency with: dev /cpus/PowerPC,G4@0 set-dfs-high OF uses a tree for navigation: instead of 'cd' you change 'directories' using the 'dev' command. You can run 'ls' to see what sub-directories are available and run 'words' to see what commands are available. -- Bruce From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 22:22:00 2008 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 8BBFE1065674; Thu, 30 Oct 2008 22:22:00 +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 D5CAE8FC16; Thu, 30 Oct 2008 22:21:59 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m9UMLefl035824; Thu, 30 Oct 2008 23:21:41 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <490A3374.3070309@fgznet.ch> Date: Thu, 30 Oct 2008 23:21:40 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Nathan Whitehorn References: <20081030061645.GJ1165@hoeg.nl> <4909BA61.8060008@freebsd.org> <20081030160143.GL1165@hoeg.nl> <4909DC87.6080203@freebsd.org> In-Reply-To: <4909DC87.6080203@freebsd.org> Content-Type: multipart/mixed; boundary="------------080801000706030109010502" X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: Ed Schouten , FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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, 30 Oct 2008 22:22:00 -0000 This is a multi-part message in MIME format. --------------080801000706030109010502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Nathan Whitehorn wrote: > Could you try the latest HEAD? I poked around at my machines this > morning to try to make them hang, succeeded, and then fixed some > problems that make mouse probes hang after the keyboard is probed > successfully. Done here, see attached dmesg. >> - The processor still runs at 533 MHz. I think Linux also did this when >> I tried it 3-4 years ago. > > OF sets it to this at boot. I think there is something you can change at > the firmware prompt to bring it up to full speed, but my memory is foggy. As mentioned in another mail, at OF boot prompt: dev /cpus/PowerPC,G4@0 set-dfs-high Nathan, THANKS! Regards, Andreas P.S, the ata timeout issues have also gone. Well, on this machine I use fw, but on the imac they have gone for sure. --------------080801000706030109010502 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="dmesg.pmu.1500.1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.pmu.1500.1" Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #0: Thu Oct 30 21:43:51 CET 2008 andreast@wolfram.andreas.nets:/usr/obj/export/head/src/sys/ANDREAST cpu0: Motorola PowerPC 7447A revision 1.1, 1504.63 MHz cpu0: HID0 8450c0bc cpu0: HID1 8000fc80 real memory = 1063497728 (1014 MB) avail memory = 1027358720 (979 MB) kbd0 at kbdmux0 nexus0: powermac_nvram0: on nexus0 powermac_nvram0: bank0 generation 400, bank1 generation 399 unin0: on nexus0 unin0: Version 210 pcib0: on nexus0 pci0: on pcib0 vgapci0: port 0x400-0x4ff mem 0xb8000000-0xbfffffff,0xb0000000-0xb000ffff irq 48 at device 16.0 on pci0 pcib1: on nexus0 pci1: on pcib1 macio0: mem 0x80000000-0x8007ffff at device 23.0 on pci1 openpic0: mem 0x40000-0x7ffff on macio0 macgpio0: mem 0x50-0x7f on macio0 pmuextint0: gpio 9 irq 47 on macgpio0 scc0: mem 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 22,5,6,23,7,8 on macio0 scc0: [FILTER] scc0: [FILTER] uart0: on scc0 uart0: [FILTER] uart1: on scc0 uart1: [FILTER] pmu0: mem 0x16000-0x17fff irq 25 on macio0 pmu0: [ITHREAD] adb0: on pmu0 ata0 mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 ata0: [ITHREAD] pci1: at device 18.0 (no driver attached) pci1: at device 19.0 (no driver attached) ohci0: mem 0xa0003000-0xa0003fff irq 29 at device 26.0 on pci1 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0xa0002000-0xa0002fff irq 63 at device 27.0 on pci1 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0 usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 3 ports with 3 removable, self powered ohci2: mem 0xa0001000-0xa0001fff irq 63 at device 27.1 on pci1 ohci2: [GIANT-LOCKED] ohci2: [ITHREAD] usb2: OHCI version 1.0 usb2: on ohci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xa0000000-0xa00000ff irq 63 at device 27.2 on pci1 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 3 ports each: usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 5 ports with 5 removable, self powered pcib2: on nexus0 pci2: on pcib2 ata1: mem 0xf5004000-0xf5007fff irq 39 at device 13.0 on pci2 ata1: [ITHREAD] fwohci0: mem 0xf5000000-0xf5000fff irq 40 at device 14.0 on pci2 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:0d:93:ff:fe:35:b3:80 fwohci0: invalid speed 7 (fixed to 3). fwohci0: Phy 1394a available S800, 3 ports. fwohci0: Link S800, max_rec 4096 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:0d:93:35:b3:80 fwe0: Ethernet address: 02:0d:93:35:b3:80 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode gem0: mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci2 miibus0: on gem0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto gem0: 10kB RX FIFO, 4kB TX FIFO gem0: Ethernet address: 00:0d:93:35:b3:80 gem0: [ITHREAD] sc0: on nexus0 sc0: Unknown <16 virtual consoles, flags=0x300> ukbd0: on uhub0 kbd1 at ukbd0 ums0: on uhub0 ums0: 5 buttons. Timecounter "decrementer" frequency 18432000 Hz quality 0 Timecounters tick every 10.000 msec firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) acd0: DVDR at ata0-master WDMA2 ad0: 76319MB at ata1-master UDMA100 akbd0: at device 2 on adb0 kbd2 at akbd0 ams0: at device 3 on adb0 ams0: 4-button 400-dpi Unknown Pointing Device firewire0: New S400 device ID:0001d200005b017a da0 at sbp0 bus 0 target 0 lun 0 da0: Fixed Simplified Direct Access SCSI-4 device da0: 50.000MB/s transfers da0: 57231MB (117210240 512 byte sectors: 255H 63S/T 7296C) Trying to mount root from ufs:/dev/da0s5 gem0: link state changed to UP Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...0 0 done All buffers synced. Uptime: 9m6s Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #1: Thu Oct 30 22:00:57 CET 2008 andreast@wolfram.andreas.nets:/usr/obj/export/head/src/sys/ANDREAST cpu0: Motorola PowerPC 7447A revision 1.1, 1504.63 MHz cpu0: L1 I-cache enabled, L1 D-cache enabled cpu0: write-back backside cache cpu0: HID0 8450c0bc cpu0: HID1 8000fc80 real memory = 1063497728 (1014 MB) avail memory = 1027358720 (979 MB) kbd0 at kbdmux0 nexus0: powermac_nvram0: on nexus0 powermac_nvram0: bank0 generation 400, bank1 generation 399 unin0: on nexus0 unin0: Version 210 pcib0: on nexus0 pci0: on pcib0 vgapci0: port 0x400-0x4ff mem 0xb8000000-0xbfffffff,0xb0000000-0xb000ffff irq 48 at device 16.0 on pci0 pcib1: on nexus0 pci1: on pcib1 macio0: mem 0x80000000-0x8007ffff at device 23.0 on pci1 openpic0: mem 0x40000-0x7ffff on macio0 macgpio0: mem 0x50-0x7f on macio0 pmuextint0: gpio 9 irq 47 on macgpio0 scc0: mem 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 22,5,6,23,7,8 on macio0 scc0: [FILTER] scc0: [FILTER] uart0: on scc0 uart0: [FILTER] uart1: on scc0 uart1: [FILTER] pmu0: mem 0x16000-0x17fff irq 25 on macio0 pmu0: [ITHREAD] adb0: on pmu0 ata0 mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 ata0: [ITHREAD] pci1: at device 18.0 (no driver attached) pci1: at device 19.0 (no driver attached) ohci0: mem 0xa0003000-0xa0003fff irq 29 at device 26.0 on pci1 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0xa0002000-0xa0002fff irq 63 at device 27.0 on pci1 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0 usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 3 ports with 3 removable, self powered ohci2: mem 0xa0001000-0xa0001fff irq 63 at device 27.1 on pci1 ohci2: [GIANT-LOCKED] ohci2: [ITHREAD] usb2: OHCI version 1.0 usb2: on ohci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xa0000000-0xa00000ff irq 63 at device 27.2 on pci1 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 3 ports each: usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 5 ports with 5 removable, self powered pcib2: on nexus0 pci2: on pcib2 ata1: mem 0xf5004000-0xf5007fff irq 39 at device 13.0 on pci2 ata1: [ITHREAD] fwohci0: mem 0xf5000000-0xf5000fff irq 40 at device 14.0 on pci2 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:0d:93:ff:fe:35:b3:80 fwohci0: invalid speed 7 (fixed to 3). fwohci0: Phy 1394a available S800, 3 ports. fwohci0: Link S800, max_rec 4096 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:0d:93:35:b3:80 fwe0: Ethernet address: 02:0d:93:35:b3:80 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode gem0: mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci2 miibus0: on gem0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto gem0: 10kB RX FIFO, 4kB TX FIFO gem0: Ethernet address: 00:0d:93:35:b3:80 gem0: [ITHREAD] sc0: on nexus0 sc0: Unknown <16 virtual consoles, flags=0x300> ukbd0: on uhub0 kbd1 at ukbd0 ums0: on uhub0 ums0: 5 buttons. Timecounter "decrementer" frequency 18432000 Hz quality 0 Timecounters tick every 10.000 msec firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) acd0: DVDR at ata0-master WDMA2 ad0: 76319MB at ata1-master UDMA100 akbd0: at device 2 on adb0 kbd2 at akbd0 ams0: at device 3 on adb0 ams0: 4-button 400-dpi Unknown Pointing Device firewire0: New S400 device ID:0001d200005b017a da0 at sbp0 bus 0 target 0 lun 0 da0: Fixed Simplified Direct Access SCSI-4 device da0: 50.000MB/s transfers da0: 57231MB (117210240 512 byte sectors: 255H 63S/T 7296C) Trying to mount root from ufs:/dev/da0s5 gem0: link state changed to UP --------------080801000706030109010502-- From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 31 05:46:21 2008 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 5DDDD106567D; Fri, 31 Oct 2008 05:46:21 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (unknown [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id F2BB98FC12; Fri, 31 Oct 2008 05:46:20 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id B51AB1CCB2; Fri, 31 Oct 2008 06:46:43 +0100 (CET) Date: Fri, 31 Oct 2008 06:46:43 +0100 From: Ed Schouten To: Nathan Whitehorn Message-ID: <20081031054643.GN1165@hoeg.nl> References: <20081030061645.GJ1165@hoeg.nl> <4909BA61.8060008@freebsd.org> <20081030160143.GL1165@hoeg.nl> <4909DC87.6080203@freebsd.org> <20081030171918.GM1165@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7pXD3OQNRL3RjWCz" Content-Disposition: inline In-Reply-To: <20081030171918.GM1165@hoeg.nl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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: Fri, 31 Oct 2008 05:46:21 -0000 --7pXD3OQNRL3RjWCz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ed Schouten wrote: > * Nathan Whitehorn wrote: > > Ed Schouten wrote: > >> Hello Nathan, > >> > >> * Nathan Whitehorn wrote: > >>> Drat. Could you try the patch at > >>> http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? > >> > >> After applying the patch, it still gets stuck during boot. > > > > Could you try the latest HEAD? I poked around at my machines this =20 > > morning to try to make them hang, succeeded, and then fixed some =20 > > problems that make mouse probes hang after the keyboard is probed =20 > > successfully. >=20 > I will. Unfortunately I have to compile some things first, so I'll get > back to you on that. Done. It now boots properly: | ams0: at device 3 on adb0 | ams0: 2-button 400-dpi Unknown Pointing Device I suspect ams(4) uses a protocol that's not supported by moused yet? If so, maybe I can find some time to look into that. --=20 Ed Schouten WWW: http://80386.nl/ --7pXD3OQNRL3RjWCz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkKm8MACgkQ52SDGA2eCwWLTACeKkhH8zkgAhWOyFeRjzcVAXLS gXoAmgKqg0dX4IJY6CpjDJ9YUV5h8uJ9 =gBA6 -----END PGP SIGNATURE----- --7pXD3OQNRL3RjWCz-- From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 31 12:53:40 2008 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 62E7D1065675 for ; Fri, 31 Oct 2008 12:53:40 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 33FDE8FC13 for ; Fri, 31 Oct 2008 12:53:40 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K9L00G04T5FGG00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Fri, 31 Oct 2008 07:53:39 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-154-3-101.dsl.mdsnwi.sbcglobal.net [99.154.3.101]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K9L004JBT5EGS50@smtpauth1.wiscmail.wisc.edu>; Fri, 31 Oct 2008 07:53:38 -0500 (CDT) Date: Fri, 31 Oct 2008 07:54:08 -0500 From: Nathan Whitehorn In-reply-to: <20081031054643.GN1165@hoeg.nl> To: Ed Schouten Message-id: <490AFFF0.3010708@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.3.101 X-Spam-PmxInfo: Server=avs-12, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.31.123424, SenderIP=99.154.3.101 References: <20081030061645.GJ1165@hoeg.nl> <4909BA61.8060008@freebsd.org> <20081030160143.GL1165@hoeg.nl> <4909DC87.6080203@freebsd.org> <20081030171918.GM1165@hoeg.nl> <20081031054643.GN1165@hoeg.nl> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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: Fri, 31 Oct 2008 12:53:40 -0000 Ed Schouten wrote: > * Ed Schouten wrote: >> * Nathan Whitehorn wrote: >>> Ed Schouten wrote: >>>> Hello Nathan, >>>> >>>> * Nathan Whitehorn wrote: >>>>> Drat. Could you try the patch at >>>>> http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? >>>> After applying the patch, it still gets stuck during boot. >>> Could you try the latest HEAD? I poked around at my machines this >>> morning to try to make them hang, succeeded, and then fixed some >>> problems that make mouse probes hang after the keyboard is probed >>> successfully. >> I will. Unfortunately I have to compile some things first, so I'll get >> back to you on that. > > Done. It now boots properly: > > | ams0: at device 3 on adb0 > | ams0: 2-button 400-dpi Unknown Pointing Device > > I suspect ams(4) uses a protocol that's not supported by moused yet? If > so, maybe I can find some time to look into that. > Glad it works, and thanks for testing! It works just fine with moused. We just don't have a cursor on the console on PPC, though you can still select stuff if you can divine the position of the cursor in advance. It should also work fine in X. If you feel motivated, you could add a "trackpad" class in adb_mouse_attach(), so it doesn't say Unknown Pointing Device -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 31 15:33:33 2008 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 F3D4B1065689 for ; Fri, 31 Oct 2008 15:33:32 +0000 (UTC) (envelope-from ross@grinz.com) Received: from mail.boomhaus.com (emerson.grinz.com [64.219.233.251]) by mx1.freebsd.org (Postfix) with ESMTP id C36878FC19 for ; Fri, 31 Oct 2008 15:33:32 +0000 (UTC) (envelope-from ross@grinz.com) Received: from quine.local (cpe-66-69-170-128.sw.res.rr.com [66.69.170.128]) by mail.boomhaus.com (Postfix) with ESMTPSA id 1B091151 for ; Fri, 31 Oct 2008 10:06:24 -0500 (CDT) Message-ID: <490B25DB.10000@grinz.com> Date: Fri, 31 Oct 2008 10:35:55 -0500 From: Ross Gohlke User-Agent: Thunderbird 2.0.0.12 (X11/20080703) MIME-Version: 1.0 To: FreeBSD PowerPC References: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com> <00CFF0B8-6236-4031-BCCB-79984B7CF641@mac.com> <20080607001220.b15ba937.stas@FreeBSD.org> <0E42A5B4-50A4-4A1D-A0A3-47B693A64D16@delfi-konsult.com> In-Reply-To: <0E42A5B4-50A4-4A1D-A0A3-47B693A64D16@delfi-konsult.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Issue with sasldb... 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: Fri, 31 Oct 2008 15:33:33 -0000 I had the same problem yesterday installing the latest cyrus-sasl2 from ports: Oct 31 10:15:47 rorty reconstruct[1965]: unable to dlopen /usr/local/lib/sasl2/libsasldb.so.2: /usr/local/lib/sasl2/libsasldb.so.2: Unsupported relocation type 6 in non-PLT relocations My system: Apple Xserve Dual 1GHz FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 29 17:02:37 CDT 2008 The new kernel is GENERIC + IPFilter, PostgreSQL, PF/ALTQ Is this fixed in newer versions? If so, which version is most stable? Should I try 7.1B2? Should I wait for 7.1? Thanks. Ross Niels S. Eliasen wrote: > Hi guys > Den 06/06/2008 kl. 22.12 skrev Stanislav Sedov: > >> On Fri, 06 Jun 2008 10:36:04 -0700 >> Marcel Moolenaar mentioned: >> >>> It looks like libsasldb.so.2 contains code that hasn't been >>> compiled with -fPIC. This typically happens when a shared >>> library is constructed by linking against an archive library. >>> >> >> It seems that all objects libsasldb.so.2, although some of them >> are from ar archive) is built from only PIC objects. >> >> Niels, can you provide a full build log of cyrus-sasl2, so >> we can take a look if there're some problems with build >> script? > Yep.. will do..... > >> >> -- >> Stanislav Sedov >> ST4096-RIPE > > regards > niels > > > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" -- Ross Gohlke > http://www.GRINZ.com (P) 901.276.9750 (Memphis) / 310.356.6906 (Los Angeles) (FAX/HOTLINE) 877.806.0861 AIM: grinzie GIZMO/SKYPE: rossgohlke JABBER: ross@chat.grinz.com 111 S. Highland St. #424, Memphis, TN 38111 | Always up. | From owner-freebsd-ppc@FreeBSD.ORG Sat Nov 1 03:33:14 2008 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 4BF4E1065689; Sat, 1 Nov 2008 03:33:14 +0000 (UTC) Date: Sat, 1 Nov 2008 03:33:14 +0000 From: Alexey Dokuchaev To: Ross Gohlke Message-ID: <20081101033314.GA53970@FreeBSD.org> References: <20081029190724.GH1165@hoeg.nl> <4908C120.3010508@grinz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4908C120.3010508@grinz.com> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD PowerPC Subject: Re: FreeBSD on my old rusty PowerBook 12" 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, 01 Nov 2008 03:33:14 -0000 On Wed, Oct 29, 2008 at 03:01:36PM -0500, Ross Gohlke wrote: > Do you have an old Mac OS X Installer disc? If so, it contains Disk > Utility, which will allow you to partition the drive, creating a small > HFS partition and as many UFS(2) partitions as you want. You will need > to know the identities of each partition when you get to sysinstall. You > can do this in Disk Utility by selecting each new partition and clicking > Info. > > Older versions (10.1, 10.2) of OS X might use UFS, I'm pretty sure newer > versions use UFS2. Regardless, Disk Utility simply calls it UNIX File > System. > > This is the first I've heard of ADB support, and I don't own a USB > keyboard; I used Disk Utility in Tiger (10.4) to create a dual-boot > drive, so the HFS partition wasn't a problem. This sounds like fun. I'd like to be able to dual-boot between OSX and FreeBSD. Is this procedure documented somewhere (wiki maybe)? Looks like I have to create three partitions: 800K strapping one, OSX HFS+, FreeBSD UFS2. Does the loader in 800K needs any treatment to see both OSes and be able to select which one to boot? Thanks. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Sat Nov 1 05:43:20 2008 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 217C21065BFE for ; Sat, 1 Nov 2008 05:43:20 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id E89518FC1A for ; Sat, 1 Nov 2008 05:43:19 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=KOI8-R; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K9N008003W7P500@smtpauth1.wiscmail.wisc.edu>; Sat, 01 Nov 2008 00:43:19 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-154-3-101.dsl.mdsnwi.sbcglobal.net [99.154.3.101]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K9N00MV13W6FS30@smtpauth1.wiscmail.wisc.edu>; Sat, 01 Nov 2008 00:43:18 -0500 (CDT) Date: Sat, 01 Nov 2008 00:43:49 -0500 From: Nathan Whitehorn In-reply-to: <20081101033314.GA53970@FreeBSD.org> To: Alexey Dokuchaev Message-id: <490BEC95.10705@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.3.101 X-Spam-PmxInfo: Server=avs-9, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.11.1.52829, SenderIP=99.154.3.101 References: <20081029190724.GH1165@hoeg.nl> <4908C120.3010508@grinz.com> <20081101033314.GA53970@FreeBSD.org> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD PowerPC Subject: Re: FreeBSD on my old rusty PowerBook 12" 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, 01 Nov 2008 05:43:20 -0000 Alexey Dokuchaev wrote: > On Wed, Oct 29, 2008 at 03:01:36PM -0500, Ross Gohlke wrote: >> Do you have an old Mac OS X Installer disc? If so, it contains Disk >> Utility, which will allow you to partition the drive, creating a small >> HFS partition and as many UFS(2) partitions as you want. You will need >> to know the identities of each partition when you get to sysinstall. You >> can do this in Disk Utility by selecting each new partition and clicking >> Info. >> >> Older versions (10.1, 10.2) of OS X might use UFS, I'm pretty sure newer >> versions use UFS2. Regardless, Disk Utility simply calls it UNIX File >> System. >> >> This is the first I've heard of ADB support, and I don't own a USB >> keyboard; I used Disk Utility in Tiger (10.4) to create a dual-boot >> drive, so the HFS partition wasn't a problem. > > This sounds like fun. I'd like to be able to dual-boot between OSX and > FreeBSD. Is this procedure documented somewhere (wiki maybe)? Looks > like I have to create three partitions: 800K strapping one, OSX HFS+, > FreeBSD UFS2. Does the loader in 800K needs any treatment to see both > OSes and be able to select which one to boot? The CHRP boot script in the boot1 block I was discussing earlier lets you choose an OS at boot using the standard OF menu system (i.e. press Option at boot time and choose a partition). I haven't added niceties like an appropriate icon yet, though. -Nathan