From bugmaster at FreeBSD.org Mon Jun 2 11:06:58 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 2 11:07:27 2008 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200806021106.m52B6wa4093265@freefall.freebsd.org> Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/93203 ppc FreeBSD PPC Can't Write to Partitions. a power/121407 ppc [panic] Won't boot up; strange error message. 2 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/112435 ppc [nexus] [patch] Update nexus children to use ofw_bus f 2 problems total. From tinderbox at freebsd.org Mon Jun 2 23:14:26 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Jun 2 23:14:29 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080602231423.3B14F73039@freebsd-current.sentex.ca> TB --- 2008-06-02 21:58:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-02 21:58:01 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-02 21:58:01 - cleaning the object tree TB --- 2008-06-02 21:58:29 - cvsupping the source tree TB --- 2008-06-02 21:58:29 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-02 21:58:36 - building world (CFLAGS=-O -pipe) TB --- 2008-06-02 21:58:36 - cd /src TB --- 2008-06-02 21:58:36 - /usr/bin/make -B buildworld >>> World build started on Mon Jun 2 21:58:37 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 Jun 2 23:07:48 UTC 2008 TB --- 2008-06-02 23:07:48 - generating LINT kernel config TB --- 2008-06-02 23:07:48 - cd /src/sys/powerpc/conf TB --- 2008-06-02 23:07:48 - /usr/bin/make -B LINT TB --- 2008-06-02 23:07:48 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-02 23:07:48 - cd /src TB --- 2008-06-02 23:07:48 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Jun 2 23:07:48 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 -Werror /src/sys/nfsserver/nfs_srvsubs.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 -Werror /src/sys/nfsserver/nfs_syscalls.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 -Werror /src/sys/nlm/nlm_prot_clnt.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 -Werror /src/sys/nlm/nlm_prot_impl.c; /src/sys/nlm/nlm_prot_impl.c: In function 'nlm_check_idle': /src/sys/nlm/nlm_prot_impl.c:697: error: 'nlm_global_lock' undeclared (first use in this function) /src/sys/nlm/nlm_prot_impl.c:697: error: (Each undeclared identifier is reported only once /src/sys/nlm/nlm_prot_impl.c:697: error: for each function it appears in.) *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-02 23:14:23 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-02 23:14:23 - ERROR: failed to build lint kernel TB --- 2008-06-02 23:14:23 - tinderbox aborted TB --- 3357.29 user 405.62 system 4581.64 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Tue Jun 3 04:49:26 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Tue Jun 3 04:49:30 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080603044920.0009373039@freebsd-current.sentex.ca> TB --- 2008-06-03 03:32:14 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-03 03:32:14 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-03 03:32:14 - cleaning the object tree TB --- 2008-06-03 03:32:36 - cvsupping the source tree TB --- 2008-06-03 03:32:36 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-03 03:32:43 - building world (CFLAGS=-O -pipe) TB --- 2008-06-03 03:32:43 - cd /src TB --- 2008-06-03 03:32:43 - /usr/bin/make -B buildworld >>> World build started on Tue Jun 3 03:32:45 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 Jun 3 04:42:30 UTC 2008 TB --- 2008-06-03 04:42:30 - generating LINT kernel config TB --- 2008-06-03 04:42:30 - cd /src/sys/powerpc/conf TB --- 2008-06-03 04:42:30 - /usr/bin/make -B LINT TB --- 2008-06-03 04:42:30 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-03 04:42:30 - cd /src TB --- 2008-06-03 04:42:30 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jun 3 04:42:31 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 -Werror /src/sys/nfsserver/nfs_srvsubs.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 -Werror /src/sys/nfsserver/nfs_syscalls.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 -Werror /src/sys/nlm/nlm_prot_clnt.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 -Werror /src/sys/nlm/nlm_prot_impl.c; /src/sys/nlm/nlm_prot_impl.c: In function 'nlm_check_idle': /src/sys/nlm/nlm_prot_impl.c:697: error: 'nlm_global_lock' undeclared (first use in this function) /src/sys/nlm/nlm_prot_impl.c:697: error: (Each undeclared identifier is reported only once /src/sys/nlm/nlm_prot_impl.c:697: error: for each function it appears in.) *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-03 04:49:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-03 04:49:19 - ERROR: failed to build lint kernel TB --- 2008-06-03 04:49:19 - tinderbox aborted TB --- 3356.52 user 404.77 system 4625.23 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From nse at delfi-konsult.com Fri Jun 6 09:00:34 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Fri Jun 6 09:00:38 2008 Subject: Issue with sasldb... Message-ID: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com> Hi guys I have a small problem trying to setup postfix/courier etc on FreeBSD (PowerPC): Jun 5 14:46:07 munin postfix/smtpd[41575]: 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 anyone knows how to fix this? regards niels From stas at FreeBSD.org Fri Jun 6 15:26:58 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Fri Jun 6 15:27:04 2008 Subject: Issue with sasldb... In-Reply-To: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com> References: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com> Message-ID: <20080606185851.d1be3063.stas@FreeBSD.org> On Thu, 5 Jun 2008 15:03:11 +0200 "Niels S. Eliasen" mentioned: > Hi guys > I have a small problem trying to setup postfix/courier etc on FreeBSD > (PowerPC): > > Jun 5 14:46:07 munin postfix/smtpd[41575]: 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 > > > anyone knows how to fix this? > Are you sure your world and postfix are up-to-date? -- Stanislav Sedov ST4096-RIPE -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20080606/0d777684/attachment.pgp From xcllnt at mac.com Fri Jun 6 17:36:05 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Fri Jun 6 17:36:10 2008 Subject: Issue with sasldb... In-Reply-To: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com> References: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com> Message-ID: <00CFF0B8-6236-4031-BCCB-79984B7CF641@mac.com> On Jun 5, 2008, at 6:03 AM, Niels S. Eliasen wrote: > Hi guys > I have a small problem trying to setup postfix/courier etc on > FreeBSD(PowerPC): > > Jun 5 14:46:07 munin postfix/smtpd[41575]: 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 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. The fix is to review the build of the port and see where non- PIC code may find its way into a shared object and then change how those source are being compiled (by adding -fPIC). FYI, -- Marcel Moolenaar xcllnt@mac.com From stas at FreeBSD.org Fri Jun 6 20:12:30 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Fri Jun 6 20:12:34 2008 Subject: Issue with sasldb... In-Reply-To: <00CFF0B8-6236-4031-BCCB-79984B7CF641@mac.com> References: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com> <00CFF0B8-6236-4031-BCCB-79984B7CF641@mac.com> Message-ID: <20080607001220.b15ba937.stas@FreeBSD.org> 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? -- Stanislav Sedov ST4096-RIPE -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20080606/260bd398/attachment.pgp From nse at delfi-konsult.com Fri Jun 6 21:53:08 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Fri Jun 6 21:53:11 2008 Subject: Issue with sasldb... In-Reply-To: <20080607001220.b15ba937.stas@FreeBSD.org> References: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com> <00CFF0B8-6236-4031-BCCB-79984B7CF641@mac.com> <20080607001220.b15ba937.stas@FreeBSD.org> Message-ID: <0E42A5B4-50A4-4A1D-A0A3-47B693A64D16@delfi-konsult.com> 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 From bugmaster at FreeBSD.org Mon Jun 9 11:07:04 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 9 11:07:34 2008 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200806091107.m59B73pt070837@freefall.freebsd.org> Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/93203 ppc FreeBSD PPC Can't Write to Partitions. a power/121407 ppc [panic] Won't boot up; strange error message. 2 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/112435 ppc [nexus] [patch] Update nexus children to use ofw_bus f 2 problems total. From tinderbox at freebsd.org Mon Jun 9 12:37:27 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Jun 9 12:37:32 2008 Subject: [releng_7 tinderbox] failure on powerpc/powerpc Message-ID: <20080609123718.C268C1B5078@freebsd-stable.sentex.ca> TB --- 2008-06-09 11:19:40 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2008-06-09 11:19:40 - starting RELENG_7 tinderbox run for powerpc/powerpc TB --- 2008-06-09 11:19:40 - cleaning the object tree TB --- 2008-06-09 11:19:56 - cvsupping the source tree TB --- 2008-06-09 11:19:56 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/powerpc/powerpc/supfile TB --- 2008-06-09 11:20:04 - building world (CFLAGS=-O2 -pipe) TB --- 2008-06-09 11:20:04 - cd /src TB --- 2008-06-09 11:20:04 - /usr/bin/make -B buildworld >>> World build started on Mon Jun 9 11:20:05 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 Jun 9 12:27:15 UTC 2008 TB --- 2008-06-09 12:27:15 - generating LINT kernel config TB --- 2008-06-09 12:27:15 - cd /src/sys/powerpc/conf TB --- 2008-06-09 12:27:15 - /usr/bin/make -B LINT TB --- 2008-06-09 12:27:15 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2008-06-09 12:27:15 - cd /src TB --- 2008-06-09 12:27:15 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Jun 9 12:27:16 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 -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/nfsserver/nfs_srvsubs.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/nfsserver/nfs_syscalls.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/nlm/nlm_prot_clnt.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/nlm/nlm_prot_impl.c /src/sys/nlm/nlm_prot_impl.c: In function 'nlm_check_idle': /src/sys/nlm/nlm_prot_impl.c:697: error: 'nlm_global_lock' undeclared (first use in this function) /src/sys/nlm/nlm_prot_impl.c:697: error: (Each undeclared identifier is reported only once /src/sys/nlm/nlm_prot_impl.c:697: error: for each function it appears in.) *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-09 12:37:18 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-09 12:37:18 - ERROR: failed to build lint kernel TB --- 2008-06-09 12:37:18 - tinderbox aborted TB --- 3843.69 user 367.57 system 4658.09 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-powerpc-powerpc.full From tinderbox at freebsd.org Thu Jun 12 10:56:07 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Thu Jun 12 10:56:12 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080612105604.A5D6B73039@freebsd-current.sentex.ca> TB --- 2008-06-12 09:52:29 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-12 09:52:29 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-12 09:52:29 - cleaning the object tree TB --- 2008-06-12 09:52:59 - cvsupping the source tree TB --- 2008-06-12 09:52:59 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-12 09:53:06 - building world (CFLAGS=-O -pipe) TB --- 2008-06-12 09:53:06 - cd /src TB --- 2008-06-12 09:53:06 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 12 09:53:07 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 [...] In file included from /src/usr.bin/fstat/fstat.c:67: /obj/powerpc/src/tmp/usr/include/sys/conf.h:281:1: error: "minor" redefined In file included from /obj/powerpc/src/tmp/usr/include/sys/param.h:63, from /src/usr.bin/fstat/fstat.c:48: /obj/powerpc/src/tmp/usr/include/sys/types.h:318:1: error: this is the location of the previous definition /src/usr.bin/fstat/fstat.c: In function 'vtrans': /src/usr.bin/fstat/fstat.c:563: error: invalid type argument of '->' /src/usr.bin/fstat/fstat.c:578: error: invalid type argument of '->' *** Error code 1 Stop in /src/usr.bin/fstat. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-12 10:56:04 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-12 10:56:04 - ERROR: failed to build world TB --- 2008-06-12 10:56:04 - tinderbox aborted TB --- 2789.84 user 339.27 system 3814.85 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Sat Jun 14 11:07:16 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Sat Jun 14 11:07:23 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080614110712.E02AE73039@freebsd-current.sentex.ca> TB --- 2008-06-14 09:51:02 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-14 09:51:02 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-14 09:51:02 - cleaning the object tree TB --- 2008-06-14 09:51:28 - cvsupping the source tree TB --- 2008-06-14 09:51:28 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-14 09:51:35 - building world (CFLAGS=-O -pipe) TB --- 2008-06-14 09:51:35 - cd /src TB --- 2008-06-14 09:51:35 - /usr/bin/make -B buildworld >>> World build started on Sat Jun 14 09:51:36 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 Sat Jun 14 11:01:00 UTC 2008 TB --- 2008-06-14 11:01:00 - generating LINT kernel config TB --- 2008-06-14 11:01:00 - cd /src/sys/powerpc/conf TB --- 2008-06-14 11:01:00 - /usr/bin/make -B LINT TB --- 2008-06-14 11:01:00 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-14 11:01:00 - cd /src TB --- 2008-06-14 11:01:00 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Jun 14 11:01:00 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 [...] ${NORMAL_CTFCONVERT} expands to empty string 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 -Werror /src/sys/netinet/raw_ip.c ${NORMAL_CTFCONVERT} expands to empty string 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 -Werror /src/sys/netinet/sctp_asconf.c /src/sys/netinet/sctp_asconf.c: In function 'sctp_addr_mgmt_ep_sa': /src/sys/netinet/sctp_asconf.c:3165: error: 'sctp_logging_level' undeclared (first use in this function) /src/sys/netinet/sctp_asconf.c:3165: error: (Each undeclared identifier is reported only once /src/sys/netinet/sctp_asconf.c:3165: error: for each function it appears in.) *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-14 11:07:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-14 11:07:12 - ERROR: failed to build lint kernel TB --- 2008-06-14 11:07:12 - tinderbox aborted TB --- 3335.80 user 403.64 system 4570.59 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Mon Jun 16 07:13:12 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Jun 16 07:13:32 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080616071305.DBDC673039@freebsd-current.sentex.ca> TB --- 2008-06-16 07:10:37 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-16 07:10:37 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-16 07:10:37 - cleaning the object tree TB --- 2008-06-16 07:11:13 - cvsupping the source tree TB --- 2008-06-16 07:11:13 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-16 07:11:23 - building world (CFLAGS=-O -pipe) TB --- 2008-06-16 07:11:23 - cd /src TB --- 2008-06-16 07:11:23 - /usr/bin/make -B buildworld >>> World build started on Mon Jun 16 07:11:25 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 [...] rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/compress (cleandir) rm -f compress compress.o zopen.o compress.1.gz compress.1.cat.gz rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/cpio (cleandir) "Makefile", line 12: Malformed conditional (${MK_GNU_CPIO} != "yes") "Makefile", line 15: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-16 07:13:05 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-16 07:13:05 - ERROR: failed to build world TB --- 2008-06-16 07:13:05 - tinderbox aborted TB --- 42.44 user 12.84 system 148.43 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Mon Jun 16 07:19:51 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Jun 16 07:19:55 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080616071949.3A39073039@freebsd-current.sentex.ca> TB --- 2008-06-16 07:18:26 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-16 07:18:26 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-16 07:18:26 - cleaning the object tree TB --- 2008-06-16 07:18:28 - cvsupping the source tree TB --- 2008-06-16 07:18:28 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-16 07:18:34 - building world (CFLAGS=-O -pipe) TB --- 2008-06-16 07:18:34 - cd /src TB --- 2008-06-16 07:18:34 - /usr/bin/make -B buildworld >>> World build started on Mon Jun 16 07:18:35 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 [...] rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/compress (cleandir) rm -f compress compress.o zopen.o compress.1.gz compress.1.cat.gz rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/cpio (cleandir) "Makefile", line 12: Malformed conditional (${MK_GNU_CPIO} != "yes") "Makefile", line 15: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-16 07:19:49 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-16 07:19:49 - ERROR: failed to build world TB --- 2008-06-16 07:19:49 - tinderbox aborted TB --- 41.76 user 9.41 system 82.59 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Mon Jun 16 07:28:29 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Jun 16 07:29:01 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080616072822.2D8D57303E@freebsd-current.sentex.ca> TB --- 2008-06-16 07:27:14 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-16 07:27:14 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-16 07:27:14 - cleaning the object tree TB --- 2008-06-16 07:27:15 - cvsupping the source tree TB --- 2008-06-16 07:27:15 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-16 07:27:21 - building world (CFLAGS=-O -pipe) TB --- 2008-06-16 07:27:21 - cd /src TB --- 2008-06-16 07:27:21 - /usr/bin/make -B buildworld >>> World build started on Mon Jun 16 07:27:22 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 [...] rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/compress (cleandir) rm -f compress compress.o zopen.o compress.1.gz compress.1.cat.gz rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/cpio (cleandir) "Makefile", line 12: Malformed conditional (${MK_GNU_CPIO} != "yes") "Makefile", line 15: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-16 07:28:22 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-16 07:28:22 - ERROR: failed to build world TB --- 2008-06-16 07:28:22 - tinderbox aborted TB --- 41.43 user 9.70 system 67.34 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Mon Jun 16 07:33:22 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Jun 16 07:33:39 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080616073317.2AEA97303E@freebsd-current.sentex.ca> TB --- 2008-06-16 07:32:13 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-16 07:32:13 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-16 07:32:13 - cleaning the object tree TB --- 2008-06-16 07:32:14 - cvsupping the source tree TB --- 2008-06-16 07:32:14 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-16 07:32:20 - building world (CFLAGS=-O -pipe) TB --- 2008-06-16 07:32:20 - cd /src TB --- 2008-06-16 07:32:20 - /usr/bin/make -B buildworld >>> World build started on Mon Jun 16 07:32:20 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 [...] rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/compress (cleandir) rm -f compress compress.o zopen.o compress.1.gz compress.1.cat.gz rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/cpio (cleandir) "Makefile", line 12: Malformed conditional (${MK_GNU_CPIO} != "yes") "Makefile", line 15: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-16 07:33:17 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-16 07:33:17 - ERROR: failed to build world TB --- 2008-06-16 07:33:17 - tinderbox aborted TB --- 41.77 user 9.45 system 63.65 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Mon Jun 16 07:38:27 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Jun 16 07:38:41 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080616073821.0841D7303E@freebsd-current.sentex.ca> TB --- 2008-06-16 07:37:15 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-16 07:37:15 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-16 07:37:15 - cleaning the object tree TB --- 2008-06-16 07:37:16 - cvsupping the source tree TB --- 2008-06-16 07:37:16 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-16 07:37:22 - building world (CFLAGS=-O -pipe) TB --- 2008-06-16 07:37:22 - cd /src TB --- 2008-06-16 07:37:22 - /usr/bin/make -B buildworld >>> World build started on Mon Jun 16 07:37:23 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 [...] rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/compress (cleandir) rm -f compress compress.o zopen.o compress.1.gz compress.1.cat.gz rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/cpio (cleandir) "Makefile", line 12: Malformed conditional (${MK_GNU_CPIO} != "yes") "Makefile", line 15: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-16 07:38:21 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-16 07:38:21 - ERROR: failed to build world TB --- 2008-06-16 07:38:21 - tinderbox aborted TB --- 41.54 user 9.56 system 65.74 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Mon Jun 16 07:43:28 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Jun 16 07:43:39 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080616074326.8C2CE7303E@freebsd-current.sentex.ca> TB --- 2008-06-16 07:42:16 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-16 07:42:16 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-16 07:42:16 - cleaning the object tree TB --- 2008-06-16 07:42:20 - cvsupping the source tree TB --- 2008-06-16 07:42:20 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-16 07:42:26 - building world (CFLAGS=-O -pipe) TB --- 2008-06-16 07:42:26 - cd /src TB --- 2008-06-16 07:42:26 - /usr/bin/make -B buildworld >>> World build started on Mon Jun 16 07:42:27 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 [...] rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/compress (cleandir) rm -f compress compress.o zopen.o compress.1.gz compress.1.cat.gz rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> usr.bin/cpio (cleandir) "Makefile", line 12: Malformed conditional (${MK_GNU_CPIO} != "yes") "Makefile", line 15: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-16 07:43:26 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-16 07:43:26 - ERROR: failed to build world TB --- 2008-06-16 07:43:26 - tinderbox aborted TB --- 41.84 user 9.38 system 70.22 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From bugmaster at FreeBSD.org Mon Jun 16 11:07:01 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 16 11:07:59 2008 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200806161107.m5GB70Mx036806@freefall.freebsd.org> Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/93203 ppc FreeBSD PPC Can't Write to Partitions. a power/121407 ppc [panic] Won't boot up; strange error message. 2 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/112435 ppc [nexus] [patch] Update nexus children to use ofw_bus f 2 problems total. From marius at alchemy.franken.de Tue Jun 17 22:05:15 2008 From: marius at alchemy.franken.de (Marius Strobl) Date: Tue Jun 17 22:05:18 2008 Subject: gem(4) tester wanted Message-ID: <20080617214510.GA44760@alchemy.franken.de> Hi, could someone with an Apple GMAC please test the patch at: http://people.freebsd.org/~marius/gem.diff by transfering some GB with a kernel built from that patch to ensure it doesn't cause regressions for this type of NIC? The patch should apply to both head and 7.0-STABLE. Marius From xcllnt at mac.com Wed Jun 18 03:45:18 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Wed Jun 18 03:45:22 2008 Subject: gem(4) tester wanted In-Reply-To: <20080617214510.GA44760@alchemy.franken.de> References: <20080617214510.GA44760@alchemy.franken.de> Message-ID: On Jun 17, 2008, at 2:45 PM, Marius Strobl wrote: > could someone with an Apple GMAC please test the patch at: > http://people.freebsd.org/~marius/gem.diff > by transfering some GB with a kernel built from that patch > to ensure it doesn't cause regressions for this type of NIC? > The patch should apply to both head and 7.0-STABLE. All ok. BTW: I noticed that for gem(4) the link is flapping excessively during boot. This is not caused by the patch; just something I noticed now: ... gem0: link state changed to DOWN gem0: flags=8843 metric 0 mtu 1500 options=b ether 00:03:93:a8:cc:16 media: Ethernet autoselect (none) status: no carrier Additional routing options:. Starting devd. bge0: link state changed to DOWN gem0: link state changed to UP Waiting 30s for an interface to come up: gem0: link state changed to DOWN ....gem0: link state changed to UP ...............gem0: link state changed to DOWN .(gem0) Additional IP options:. Mounting NFS file systems:gem0: link state changed to UP mount_nfs: nfs: hostname nor servname provided, or not known . ... Do you see this on sparc64 as well? -- Marcel Moolenaar xcllnt@mac.com From grehan at freebsd.org Wed Jun 18 17:41:01 2008 From: grehan at freebsd.org (Peter Grehan) Date: Wed Jun 18 17:41:06 2008 Subject: gem(4) tester wanted In-Reply-To: <20080617214510.GA44760@alchemy.franken.de> References: <20080617214510.GA44760@alchemy.franken.de> Message-ID: <485948A8.10001@freebsd.org> Hi Marius, Works fine on the Pangea variant in an old G3 iMac. I didn't see the same link-bounce issue that Marcel did, but it might be with a different phy, and on a 100Mb link 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 Hmmm, on another issue, while setting this up I noticed that the current ppc/ofw loader now won't netboot :( later, Peter. From xcllnt at mac.com Wed Jun 18 18:52:23 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Wed Jun 18 18:52:26 2008 Subject: gem(4) tester wanted In-Reply-To: <485948A8.10001@freebsd.org> References: <20080617214510.GA44760@alchemy.franken.de> <485948A8.10001@freebsd.org> Message-ID: <1076866A-B478-4C92-A81C-6E19CCAAECAB@mac.com> On Jun 18, 2008, at 10:40 AM, Peter Grehan wrote: > Hi Marius, > > Works fine on the Pangea variant in an old G3 iMac. I didn't see the > same link-bounce issue that Marcel did, but it might be with a > different phy, and on a 100Mb link I'm on a GE switch... gem0: flags=8843 metric 0 mtu 1500 options=b ether 00:03:93:a8:cc:16 inet 172.16.4.106 netmask 0xffffff00 broadcast 172.16.4.255 media: Ethernet autoselect (1000baseTX ) status: active gem0: mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci4 miibus1: on gem0 brgphy1: PHY 0 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto gem0: 10kB RX FIFO, 4kB TX FIFO gem0: Ethernet address: 00:03:93:a8:cc:16 gem0: [ITHREAD] FYI, -- Marcel Moolenaar xcllnt@mac.com From chess at chessgriffin.com Thu Jun 19 00:30:37 2008 From: chess at chessgriffin.com (Chess Griffin) Date: Thu Jun 19 00:30:39 2008 Subject: powerpc/124740: [patch] - misc/tmux update to 0.3 Message-ID: <200806190029.m5J0TZBf087257@www.freebsd.org> >Number: 124740 >Category: powerpc >Synopsis: [patch] - misc/tmux update to 0.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 19 00:30:37 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Chess Griffin >Release: 7-RELEASE >Organization: >Environment: FreeBSD fbsd.localdomain 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Wed Apr 23 21:46:58 EDT 2008 root@fbsd.localdomain:/usr/obj/usr/src/sys/CNG i386 >Description: Attached patch updates misc/tmux to 0.3. Built on 6/7/8 tinderbox. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN tmux.orig/Makefile tmux/Makefile --- tmux.orig/Makefile 2008-06-18 14:52:57.000000000 -0400 +++ tmux/Makefile 2008-06-18 14:53:12.000000000 -0400 @@ -6,7 +6,7 @@ # PORTNAME= tmux -PORTVERSION= 0.2 +PORTVERSION= 0.3 CATEGORIES= misc MASTER_SITES= SF diff -ruN tmux.orig/distinfo tmux/distinfo --- tmux.orig/distinfo 2008-06-18 14:52:57.000000000 -0400 +++ tmux/distinfo 2008-06-18 14:53:23.000000000 -0400 @@ -1,3 +1,3 @@ -MD5 (tmux-0.2.tar.gz) = 455a69bcebcd326a0c3736f9b1ef9ea3 -SHA256 (tmux-0.2.tar.gz) = 1866c83a9700636170e4d342d21f6b4c227a19ab1070702258c1ac9f9e1df4a3 -SIZE (tmux-0.2.tar.gz) = 76574 +MD5 (tmux-0.3.tar.gz) = a3ea00b76629180fbb50e77dda8e3bea +SHA256 (tmux-0.3.tar.gz) = a8e81e869e733a8fe7cb53ecdf232c794df08c9b19b4b3055f415ba5e354ac25 +SIZE (tmux-0.3.tar.gz) = 87339 >Release-Note: >Audit-Trail: >Unformatted: From chess at chessgriffin.com Thu Jun 19 00:40:05 2008 From: chess at chessgriffin.com (Chess Griffin) Date: Thu Jun 19 00:40:07 2008 Subject: powerpc/124740: [patch] - misc/tmux update to 0.3 Message-ID: <200806190040.m5J0e4St077469@freefall.freebsd.org> The following reply was made to PR powerpc/124740; it has been noted by GNATS. From: "Chess Griffin" To: bug-followup@FreeBSD.org, freebsd-ppc@FreeBSD.org Cc: Subject: Re: powerpc/124740: [patch] - misc/tmux update to 0.3 Date: Wed, 18 Jun 2008 20:35:04 -0400 Er, not sure how this PR got categorized in powerpc. Sorry about that. This is a ports update. Please reassign category as necessary. -- Chess Griffin GPG Public Key: 0x0C7558C3 http://www.chessgriffin.com From chess at chessgriffin.com Thu Jun 19 00:48:52 2008 From: chess at chessgriffin.com (Chess Griffin) Date: Thu Jun 19 00:49:17 2008 Subject: powerpc/124740: [patch] - misc/tmux update to 0.3 Message-ID: <8682df160806181735j6f49ee3bh4bd62d6f1f603191@mail.gmail.com> Er, not sure how this PR got categorized in powerpc. Sorry about that. This is a ports update. Please reassign category as necessary. -- Chess Griffin GPG Public Key: 0x0C7558C3 http://www.chessgriffin.com From gavin at FreeBSD.org Thu Jun 19 02:44:12 2008 From: gavin at FreeBSD.org (gavin@FreeBSD.org) Date: Thu Jun 19 02:44:16 2008 Subject: ports/124740: [patch] - misc/tmux update to 0.3 Message-ID: <200806190244.m5J2iBeI097218@freefall.freebsd.org> Synopsis: [patch] - misc/tmux update to 0.3 Responsible-Changed-From-To: freebsd-ppc->freebsd-ports-bugs Responsible-Changed-By: gavin Responsible-Changed-When: Thu Jun 19 02:43:37 UTC 2008 Responsible-Changed-Why: Ports PR http://www.freebsd.org/cgi/query-pr.cgi?pr=124740 From marius at alchemy.franken.de Thu Jun 19 21:33:28 2008 From: marius at alchemy.franken.de (Marius Strobl) Date: Thu Jun 19 21:33:31 2008 Subject: gem(4) tester wanted In-Reply-To: <1076866A-B478-4C92-A81C-6E19CCAAECAB@mac.com> References: <20080617214510.GA44760@alchemy.franken.de> <485948A8.10001@freebsd.org> <1076866A-B478-4C92-A81C-6E19CCAAECAB@mac.com> Message-ID: <20080619213317.GE1215@alchemy.franken.de> On Wed, Jun 18, 2008 at 11:52:21AM -0700, Marcel Moolenaar wrote: > > On Jun 18, 2008, at 10:40 AM, Peter Grehan wrote: > > >Hi Marius, > > > >Works fine on the Pangea variant in an old G3 iMac. I didn't see the > >same link-bounce issue that Marcel did, but it might be with a > >different phy, and on a 100Mb link > > I'm on a GE switch... > > gem0: flags=8843 metric 0 mtu > 1500 > options=b > ether 00:03:93:a8:cc:16 > inet 172.16.4.106 netmask 0xffffff00 broadcast 172.16.4.255 > media: Ethernet autoselect (1000baseTX ) > status: active > > gem0: mem 0xf5200000-0xf53fffff irq 41 > at device 15.0 on pci4 > miibus1: on gem0 > brgphy1: PHY 0 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > gem0: 10kB RX FIFO, 4kB TX FIFO > gem0: Ethernet address: 00:03:93:a8:cc:16 > gem0: [ITHREAD] > Thanks a lot for testing to both of you! I don't see link bouncing with ERI and GEM either, though like Peter said it might be the culprit of the PHY or it's driver; brgphy(4) isn't exactly in a good shape and unlike FreeBSD the NetBSD one has DSP fixup code for the BCM5754/5 which might be relevant also. Marius From alc at cs.rice.edu Sat Jun 21 06:22:33 2008 From: alc at cs.rice.edu (Alan Cox) Date: Sat Jun 21 06:22:37 2008 Subject: Please test this simple patch Message-ID: <485C9840.2080302@cs.rice.edu> Could someone please test the attached patch on an AIM powerpc? Specifically, what I want to know is the output of "vmstat -z" for "KMAP ENTRY" before and after this patch is applied. (I would also like to know how much physical memory that your test machine has.) Thanks, Alan -------------- next part -------------- Index: vm/vm_map.c =================================================================== --- vm/vm_map.c (revision 179898) +++ vm/vm_map.c (working copy) @@ -294,7 +294,7 @@ vm_init2(void) { uma_zone_set_obj(kmapentzone, &kmapentobj, lmin(cnt.v_page_count, - (VM_MAX_KERNEL_ADDRESS - KERNBASE) / PAGE_SIZE) / 8 + + (VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS) / PAGE_SIZE) / 8 + maxproc * 2 + maxfiles); vmspace_zone = uma_zcreate("VMSPACE", sizeof(struct vmspace), NULL, #ifdef INVARIANTS From xcllnt at mac.com Sat Jun 21 20:36:09 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Sat Jun 21 20:36:12 2008 Subject: Please test this simple patch In-Reply-To: <485C9840.2080302@cs.rice.edu> References: <485C9840.2080302@cs.rice.edu> Message-ID: On Jun 20, 2008, at 10:57 PM, Alan Cox wrote: > Could someone please test the attached patch on an AIM powerpc? > Specifically, what I want to know is the output of "vmstat -z" for > "KMAP ENTRY" before and after this patch is applied. (I would also > like to know how much physical memory that your test machine has.) Patch is fine... real memory = 527261696 (502 MB) avail memory = 510029824 (486 MB) Before patch: ITEM SIZE LIMIT USED FREE REQUESTS FAILURES KMAP ENTRY: 72, 31800, 20, 139, 215, 0 After patch: ITEM SIZE LIMIT USED FREE REQUESTS FAILURES KMAP ENTRY: 72, 31800, 20, 139, 214, 0 FYI, -- Marcel Moolenaar xcllnt@mac.com From nse at delfi-konsult.com Mon Jun 23 09:36:33 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Mon Jun 23 09:36:36 2008 Subject: X and Xvnc error ... Message-ID: <842B97B0-19B7-4863-90FB-B73474D16D9C@delfi-konsult.com> hi guys Anyone knows how to fix this error ?? this particular snippet is from Xvnc... but can be produced for the X server as well.... > X connection to :12.0 broken (explicit kill or server shutdown). > Gdk-ERROR **: X connection to :12.0 broken (explicit kill or server > shutdown). > X connection to :12.0 broken (explicit kill or server shutdown). > and then quite often a > pid 6966 (Xvnc), uid 501: exited on signal 11 > will appear in the "messages" file.... kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From bugmaster at FreeBSD.org Mon Jun 23 11:07:00 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 23 11:07:29 2008 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200806231106.m5NB6xZ7065056@freefall.freebsd.org> Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/93203 ppc FreeBSD PPC Can't Write to Partitions. a power/121407 ppc [panic] Won't boot up; strange error message. 2 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/112435 ppc [nexus] [patch] Update nexus children to use ofw_bus f 2 problems total. From grehan at freebsd.org Tue Jun 24 16:21:19 2008 From: grehan at freebsd.org (Peter Grehan) Date: Tue Jun 24 16:21:27 2008 Subject: X and Xvnc error ... In-Reply-To: <842B97B0-19B7-4863-90FB-B73474D16D9C@delfi-konsult.com> References: <842B97B0-19B7-4863-90FB-B73474D16D9C@delfi-konsult.com> Message-ID: <48611EF9.6010406@freebsd.org> Hi Niels, > Anyone knows how to fix this error ?? > > this particular snippet is from Xvnc... but can be produced for the X > server as well.... > >> X connection to :12.0 broken (explicit kill or server shutdown). >> Gdk-ERROR **: X connection to :12.0 broken (explicit kill or server >> shutdown). >> X connection to :12.0 broken (explicit kill or server shutdown). >> > > and then quite often a >> pid 6966 (Xvnc), uid 501: exited on signal 11 >> > will appear in the "messages" file.... I never really had any success with Xvnc - the display would be all managled, and my assumption was it had something to do with the myriad of what looked like endian-related compile warnings when building it. But that was a while ago. What version of FreeBSD/ppc and Xvnc are you running ? Is Xvnc or X leaving a core file lying around ? later, Peter. From nse at delfi-konsult.com Tue Jun 24 18:58:41 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Tue Jun 24 18:58:43 2008 Subject: X and Xvnc error ... In-Reply-To: <48611EF9.6010406@freebsd.org> References: <842B97B0-19B7-4863-90FB-B73474D16D9C@delfi-konsult.com> <48611EF9.6010406@freebsd.org> Message-ID: <57361B02-C37E-439D-A430-247BC2FD67CF@delfi-konsult.com> Hi Peter Den 24/06/2008 kl. 18.21 skrev Peter Grehan: > Hi Niels, > >> Anyone knows how to fix this error ?? >> this particular snippet is from Xvnc... but can be produced for >> the X server as well.... >>> X connection to :12.0 broken (explicit kill or server shutdown). >>> Gdk-ERROR **: X connection to :12.0 broken (explicit kill or >>> server shutdown). >>> X connection to :12.0 broken (explicit kill or server shutdown). >>> >> and then quite often a >>> pid 6966 (Xvnc), uid 501: exited on signal 11 >>> >> will appear in the "messages" file.... > > I never really had any success with Xvnc - the display would be > all managled, and my assumption was it had something to do with the > myriad of what looked like endian-related compile warnings when > building it. Ah.. in my opinion it's ok.. when you use the vnc-4.1.2 source... "freeNX" would be nicer.. but that's _really_ troublesome to get compiled... on PowerPC that is.. > > But that was a while ago. What version of FreeBSD/ppc and Xvnc are > you running ? > > Is Xvnc or X leaving a core file lying around ? X is leaving a core file around.... but I have to wait a little bit with this... it appears that the disk (where FreeBSD was installed on) has gone belly up.... :-( be back later ... after a certain amount of panic.... and lots of coffee.... and general hysteria.... ;-) > > later, > > Peter. kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From nse at delfi-konsult.com Tue Jun 24 21:46:49 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Tue Jun 24 21:46:53 2008 Subject: Rescue FreeBSD (PowerPC)?? Message-ID: <3CC3A394-8C85-4BBA-A52A-2045441F9398@delfi-konsult.com> hi guys Well.. what should not have happened... did happen! my FreeBSD box .. took a nosedive ... the disc is "kaput" .... before I replace the disk.. I would like to salvage as much as possible... and wondered whether the various tips on the net for "rescue freebsd" does apply to the PowerPC version as well.... or alternatively: what tricks there are needed for us that use FreeBSD on PowerPC.... so ... any tips/tricks etc etc .. are greatly needed/appreciated... to rescue what can be rescued ... kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From nse at delfi-konsult.com Tue Jun 24 22:26:56 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Tue Jun 24 22:27:01 2008 Subject: Rescue FreeBSD (PowerPC)?? In-Reply-To: <3CC3A394-8C85-4BBA-A52A-2045441F9398@delfi-konsult.com> References: <3CC3A394-8C85-4BBA-A52A-2045441F9398@delfi-konsult.com> Message-ID: ah...sigh ..... it was not that critical after all.... I just had to unplug the USB keyboard from the TiBook... and then I could boot the system normally (yes.. FreeBSD did a "fsck" ... but thats ok) just weird... keyboard was completely unresponsive...... and had to be yanked out .. in order to all working.... Den 24/06/2008 kl. 23.46 skrev Niels S. Eliasen: > hi guys > Well.. what should not have happened... did happen! > my FreeBSD box .. took a nosedive ... the disc is "kaput" .... > > before I replace the disk.. I would like to salvage as much as > possible... > and wondered whether the various tips on the net for "rescue > freebsd" does apply to the PowerPC version as well.... > or alternatively: what tricks there are needed for us that use > FreeBSD on PowerPC.... > > so ... any tips/tricks etc etc .. are greatly needed/appreciated... > to rescue what can be rescued ... > > > > kind regards > > nse > > "Ach, crivens, what a wee snotter....." > > Quote from "The Wee Free Men" by Terry Pratchett > kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From geraldablists at gmail.com Wed Jun 25 01:51:03 2008 From: geraldablists at gmail.com (Gerald A) Date: Wed Jun 25 01:51:06 2008 Subject: Rescue FreeBSD (PowerPC)?? In-Reply-To: References: <3CC3A394-8C85-4BBA-A52A-2045441F9398@delfi-konsult.com> Message-ID: <8e0ed1e00806241821m340fd33eu791a3a5542457da4@mail.gmail.com> On Tue, Jun 24, 2008 at 6:26 PM, Niels S. Eliasen wrote: > ah...sigh ..... > it was not that critical after all.... Glad to hear your problem wasn't too bad. But, it got me to thinking ... do we have a rescue disk image (and does it work) for PPC? Might be something to poke around with. I'm willing, if I can figure out a way to get a hard disk recognized by a G3 so I can get an install. (Running it off of the install disk is cool, but not very practical). Gerald From yanefbsd at gmail.com Wed Jun 25 05:41:40 2008 From: yanefbsd at gmail.com (Garrett Cooper) Date: Wed Jun 25 05:41:44 2008 Subject: Rescue FreeBSD (PowerPC)?? In-Reply-To: <8e0ed1e00806241821m340fd33eu791a3a5542457da4@mail.gmail.com> References: <3CC3A394-8C85-4BBA-A52A-2045441F9398@delfi-konsult.com> <8e0ed1e00806241821m340fd33eu791a3a5542457da4@mail.gmail.com> Message-ID: <7d6fde3d0806242216i52cee175o35ad25d587260879@mail.gmail.com> On Tue, Jun 24, 2008 at 6:21 PM, Gerald A wrote: > On Tue, Jun 24, 2008 at 6:26 PM, Niels S. Eliasen > wrote: > >> ah...sigh ..... >> it was not that critical after all.... > > > Glad to hear your problem wasn't too bad. > > But, it got me to thinking ... do we have a rescue disk image (and does it > work) for PPC? Might be something to poke around with. I'm willing, if I can > figure out a way to get a hard disk recognized by a G3 so I can get an > install. (Running it off of the install disk is cool, but not very > practical). > > Gerald The new "LiveCD" for x86 and amd64 isn't half bad, and feels a lot like the installer disk. Something like that would be very passable. -Garrett From grehan at freebsd.org Wed Jun 25 06:52:54 2008 From: grehan at freebsd.org (Peter Grehan) Date: Wed Jun 25 06:52:58 2008 Subject: Rescue FreeBSD (PowerPC)?? In-Reply-To: <7d6fde3d0806242216i52cee175o35ad25d587260879@mail.gmail.com> References: <3CC3A394-8C85-4BBA-A52A-2045441F9398@delfi-konsult.com> <8e0ed1e00806241821m340fd33eu791a3a5542457da4@mail.gmail.com> <7d6fde3d0806242216i52cee175o35ad25d587260879@mail.gmail.com> Message-ID: <4861EB3E.8000501@freebsd.org> > The new "LiveCD" for x86 and amd64 isn't half bad, and feels a lot > like the installer disk. The reason this isn't being built as part of the pp release process is that it hasn't been determined what the mkisofs switches are to create a bootable hybrid 9660/HFS image and also deal with the hard links that FreeBSD creates without blowing out the size beyond a CD. So here's a call to action for ppc hackers: experiment and see if you can work out what the magic incantation is. Start off by looking at the scripts in src/release/powerpc. later, Peter. From nse at delfi-konsult.com Wed Jun 25 07:13:31 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Wed Jun 25 07:13:34 2008 Subject: Rescue FreeBSD (PowerPC)?? In-Reply-To: <4861EB3E.8000501@freebsd.org> References: <3CC3A394-8C85-4BBA-A52A-2045441F9398@delfi-konsult.com> <8e0ed1e00806241821m340fd33eu791a3a5542457da4@mail.gmail.com> <7d6fde3d0806242216i52cee175o35ad25d587260879@mail.gmail.com> <4861EB3E.8000501@freebsd.org> Message-ID: Just a small comment: might be an idea to get the NetBSD guys along.. same problem applies there! Don't know about OpenBSD though..... Den 25/06/2008 kl. 8.52 skrev Peter Grehan: >> The new "LiveCD" for x86 and amd64 isn't half bad, and feels a lot >> like the installer disk. > > The reason this isn't being built as part of the pp release > process is that it hasn't been determined what the mkisofs switches > are to create a bootable hybrid 9660/HFS image and also deal with > the hard links that FreeBSD creates without blowing out the size > beyond a CD. > > So here's a call to action for ppc hackers: experiment and see if > you can work out what the magic incantation is. Start off by > looking at the scripts in src/release/powerpc. > > later, > > Peter. kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From xcllnt at mac.com Wed Jun 25 17:15:53 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Wed Jun 25 17:15:58 2008 Subject: Rescue FreeBSD (PowerPC)?? In-Reply-To: <4861EB3E.8000501@freebsd.org> References: <3CC3A394-8C85-4BBA-A52A-2045441F9398@delfi-konsult.com> <8e0ed1e00806241821m340fd33eu791a3a5542457da4@mail.gmail.com> <7d6fde3d0806242216i52cee175o35ad25d587260879@mail.gmail.com> <4861EB3E.8000501@freebsd.org> Message-ID: <003B3295-191B-45B6-9C7C-409DA5A48673@mac.com> On Jun 24, 2008, at 11:52 PM, Peter Grehan wrote: >> The new "LiveCD" for x86 and amd64 isn't half bad, and feels a lot >> like the installer disk. > > The reason this isn't being built as part of the pp release process > is that it hasn't been determined what the mkisofs switches are to > create a bootable hybrid 9660/HFS image and also deal with the hard > links that FreeBSD creates without blowing out the size beyond a CD. > > So here's a call to action for ppc hackers: experiment and see if > you can work out what the magic incantation is. Start off by looking > at the scripts in src/release/powerpc. One thing that could be tried is to only have those files and directories needed to make the CD bootable be visible in the HFS volume. This should avoid the blow-out :-) -- Marcel Moolenaar xcllnt@mac.com From tinderbox at freebsd.org Thu Jun 26 02:41:05 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Thu Jun 26 02:41:13 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080626024102.D172D73039@freebsd-current.sentex.ca> TB --- 2008-06-26 01:26:28 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 01:26:28 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-26 01:26:28 - cleaning the object tree TB --- 2008-06-26 01:26:50 - cvsupping the source tree TB --- 2008-06-26 01:26:50 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-26 01:26:57 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 01:26:57 - cd /src TB --- 2008-06-26 01:26:57 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 01:26:59 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 Thu Jun 26 02:33:41 UTC 2008 TB --- 2008-06-26 02:33:41 - generating LINT kernel config TB --- 2008-06-26 02:33:41 - cd /src/sys/powerpc/conf TB --- 2008-06-26 02:33:41 - /usr/bin/make -B LINT TB --- 2008-06-26 02:33:41 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 02:33:41 - cd /src TB --- 2008-06-26 02:33:41 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 02:33:41 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 [...] intr_machdep.o(.text+0x86): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x302): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x30a): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x318): In function `intr_lookup': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 02:41:02 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 02:41:02 - ERROR: failed to build lint kernel TB --- 2008-06-26 02:41:02 - tinderbox aborted TB --- 3376.21 user 396.80 system 4474.54 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Thu Jun 26 07:37:50 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Thu Jun 26 07:37:55 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080626073747.2C34E73039@freebsd-current.sentex.ca> TB --- 2008-06-26 06:20:43 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-26 06:20:43 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-26 06:20:43 - cleaning the object tree TB --- 2008-06-26 06:20:58 - cvsupping the source tree TB --- 2008-06-26 06:20:58 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-26 06:21:04 - building world (CFLAGS=-O -pipe) TB --- 2008-06-26 06:21:04 - cd /src TB --- 2008-06-26 06:21:04 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 26 06:21:05 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 Thu Jun 26 07:30:32 UTC 2008 TB --- 2008-06-26 07:30:32 - generating LINT kernel config TB --- 2008-06-26 07:30:32 - cd /src/sys/powerpc/conf TB --- 2008-06-26 07:30:32 - /usr/bin/make -B LINT TB --- 2008-06-26 07:30:32 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-26 07:30:32 - cd /src TB --- 2008-06-26 07:30:32 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jun 26 07:30:32 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 [...] intr_machdep.o(.text+0x86): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x302): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x30a): In function `intr_lookup': : undefined reference to `__stack_chk_guard' intr_machdep.o(.text+0x318): In function `intr_lookup': : undefined reference to `__stack_chk_fail' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-26 07:37:46 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-26 07:37:46 - ERROR: failed to build lint kernel TB --- 2008-06-26 07:37:46 - tinderbox aborted TB --- 3378.73 user 401.37 system 4623.73 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From nse at delfi-konsult.com Thu Jun 26 11:42:41 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Thu Jun 26 11:42:50 2008 Subject: X and Xvnc error ... In-Reply-To: <48611EF9.6010406@freebsd.org> References: <842B97B0-19B7-4863-90FB-B73474D16D9C@delfi-konsult.com> <48611EF9.6010406@freebsd.org> Message-ID: <4FCDB3C5-97CC-4BDF-99EA-5CB27EFB2DCB@delfi-konsult.com> Hi Peter tried to find some core-files... but did not find any..... Here is the logfile from Xorg .... -------------- next part -------------- A non-text attachment was scrubbed... Name: Xorg.0.log.old Type: application/octet-stream Size: 27761 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20080626/8063f612/Xorg.0.log.obj -------------- next part -------------- Here is a snippet from the logfile: > X.Org X Server 1.4.0 > Release Date: 5 September 2007 > X Protocol Version 11, Revision 0 > I think that's the latest one... right ? It's the one that comes with the distro.... Den 24/06/2008 kl. 18.21 skrev Peter Grehan: > Hi Niels, > >> Anyone knows how to fix this error ?? >> this particular snippet is from Xvnc... but can be produced for >> the X server as well.... >>> X connection to :12.0 broken (explicit kill or server shutdown). >>> Gdk-ERROR **: X connection to :12.0 broken (explicit kill or >>> server shutdown). >>> X connection to :12.0 broken (explicit kill or server shutdown). >>> >> and then quite often a >>> pid 6966 (Xvnc), uid 501: exited on signal 11 >>> >> will appear in the "messages" file.... > > I never really had any success with Xvnc - the display would be > all managled, and my assumption was it had something to do with the > myriad of what looked like endian-related compile warnings when > building it. > > But that was a while ago. What version of FreeBSD/ppc and Xvnc are > you running ? > > Is Xvnc or X leaving a core file lying around ? > > later, > > Peter. mvh/kind regards Niels S. Eliasen H?rhavevej 1 DK-4250, Fuglebjerg Tel/Cell: +45 46 32 85 27 +45 21 77 95 90 mailto:nse_rEmOvE_tHiS@delfi-konsult.com From nse at delfi-konsult.com Fri Jun 27 13:08:21 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Fri Jun 27 13:08:29 2008 Subject: pdisk, ofctl and yaboot Message-ID: Hi guys a couple of minor questions...... 1. Where do I find "pdisk" for FreeBSD ? 2. Where do I find "ofctl" for FreeBSD ? 3. Anyone that knows how to integrate the Open Firmware parameters for FreeBSD with yaboot ? If only FreeBSD, NetBSD and OpenBSD (all macppc) could agree upon how to integrate with yaboot... alternatively find one unified boot- sequence... life would be so much easier .... Principally the same applies to the disk-partitioning schema.... "pdisk" from NetBSD do actually work quite nicely .. is cranky.. but works..... kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From grehan at freebsd.org Fri Jun 27 16:14:49 2008 From: grehan at freebsd.org (Peter Grehan) Date: Fri Jun 27 16:14:54 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: References: Message-ID: <486511F1.60306@freebsd.org> Hi Niels, > Hi guys > a couple of minor questions...... > > 1. Where do I find "pdisk" for FreeBSD ? Not there. It's easy enough to build it from NetBSD source (looks like you've done that). Now that gpart is in the tree, there should be no need for pdisk (at least in CURRENT). > 2. Where do I find "ofctl" for FreeBSD ? It's eeprom(8) on FreeBSD. > 3. Anyone that knows how to integrate the Open Firmware parameters for > FreeBSD with yaboot ? At one point the loader's load address conflicted with yaboot. This may not be the case anymore - it's been a very long time since I looked at it. But in theory the loader could be booted from yaboot. > If only FreeBSD, NetBSD and OpenBSD (all macppc) could agree upon how to > integrate with yaboot... alternatively find one unified boot-sequence... > life would be so much easier .... Might be a bit late for that :( later, Peter. From grehan at freebsd.org Fri Jun 27 16:18:13 2008 From: grehan at freebsd.org (Peter Grehan) Date: Fri Jun 27 16:18:17 2008 Subject: X and Xvnc error ... In-Reply-To: <4FCDB3C5-97CC-4BDF-99EA-5CB27EFB2DCB@delfi-konsult.com> References: <842B97B0-19B7-4863-90FB-B73474D16D9C@delfi-konsult.com> <48611EF9.6010406@freebsd.org> <4FCDB3C5-97CC-4BDF-99EA-5CB27EFB2DCB@delfi-konsult.com> Message-ID: <486512C2.6050204@freebsd.org> Hi Niels, > tried to find some core-files... but did not find any..... > Here is the logfile from Xorg .... Didn't find anything in there that really points the finger. What system are you running on ? later, Peter. From yanefbsd at gmail.com Fri Jun 27 16:21:21 2008 From: yanefbsd at gmail.com (Garrett Cooper) Date: Fri Jun 27 16:21:25 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: <486511F1.60306@freebsd.org> References: <486511F1.60306@freebsd.org> Message-ID: <7d6fde3d0806270921u7a8e6342ucb525f65033d1f6f@mail.gmail.com> On Fri, Jun 27, 2008 at 9:14 AM, Peter Grehan wrote: >> 3. Anyone that knows how to integrate the Open Firmware parameters for >> FreeBSD with yaboot ? > > At one point the loader's load address conflicted with yaboot. This may not > be the case anymore - it's been a very long time since I looked at it. But > in theory the loader could be booted from yaboot. > >> If only FreeBSD, NetBSD and OpenBSD (all macppc) could agree upon how to >> integrate with yaboot... alternatively find one unified boot-sequence... >> life would be so much easier .... IIRC yaboot was being deprecated for Grub 2.x. There are some outstanding bugs (I found) with how yaboot parses secondary cd drives and the like that I was going to debug and fix a while back, but I got caught up with other things... I'd definitely compile the last stable and work from that though because there are a few new helpful features for booting from non-standard locations for yaboot.conf files. Cheers, -Garrett From xcllnt at mac.com Fri Jun 27 16:31:35 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Fri Jun 27 16:31:40 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: <486511F1.60306@freebsd.org> References: <486511F1.60306@freebsd.org> Message-ID: <53C9D6F8-3585-4FE1-B2E3-85C4528D8BF5@mac.com> On Jun 27, 2008, at 9:14 AM, Peter Grehan wrote: > Hi Niels, > >> Hi guys >> a couple of minor questions...... >> 1. Where do I find "pdisk" for FreeBSD ? > > Not there. It's easy enough to build it from NetBSD source (looks > like you've done that). Now that gpart is in the tree, there should > be no need for pdisk (at least in CURRENT). And 7-STABLE... -- Marcel Moolenaar xcllnt@mac.com From nse at delfi-konsult.com Fri Jun 27 21:47:55 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Fri Jun 27 21:47:58 2008 Subject: X and Xvnc error ... In-Reply-To: <486512C2.6050204@freebsd.org> References: <842B97B0-19B7-4863-90FB-B73474D16D9C@delfi-konsult.com> <48611EF9.6010406@freebsd.org> <4FCDB3C5-97CC-4BDF-99EA-5CB27EFB2DCB@delfi-konsult.com> <486512C2.6050204@freebsd.org> Message-ID: Hi Den 27/06/2008 kl. 18.18 skrev Peter Grehan: > Hi Niels, > >> tried to find some core-files... but did not find any..... >> Here is the logfile from Xorg .... > > Didn't find anything in there that really points the finger. What > system are you running on ? This is a: FreeBSD munin.delfi-konsult.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Mon Feb 25 11:12:44 UTC 2008 root@xserve.xcllnt.net:/usr/obj/usr/ src/sys/GENERIC powerpc are there any newer versions ?? and if so... what is the suggested approach for upgrading?? > > later, > > Peter. kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From nse at delfi-konsult.com Fri Jun 27 22:06:47 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Fri Jun 27 22:06:50 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: <486511F1.60306@freebsd.org> References: <486511F1.60306@freebsd.org> Message-ID: <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> hi Peter, guys Den 27/06/2008 kl. 18.14 skrev Peter Grehan: > Hi Niels, > >> Hi guys >> a couple of minor questions...... >> 1. Where do I find "pdisk" for FreeBSD ? > > Not there. It's easy enough to build it from NetBSD source (looks > like you've done that). Now that gpart is in the tree, there should > be no need for pdisk (at least in CURRENT). nice... ;-) > >> 2. Where do I find "ofctl" for FreeBSD ? > > It's eeprom(8) on FreeBSD. no such thing in my version of FreeBSD... is that fairly new ? ahh.. found it in /usr/src/usr.sbin/eeprom .... just complains about "eeprom: could not open /dev/openfirm: no such file or directory" ?? > >> 3. Anyone that knows how to integrate the Open Firmware parameters >> for FreeBSD with yaboot ? > > At one point the loader's load address conflicted with yaboot. > This may not be the case anymore - it's been a very long time since > I looked at it. But in theory the loader could be booted from yaboot. Well.. does not appear so.... I use "yaboot" to be able to switch between various "flavours" .... and choosing "Open Firmware" and then just doing "boot hd:loader hd:5" does the trick > >> If only FreeBSD, NetBSD and OpenBSD (all macppc) could agree upon >> how to integrate with yaboot... alternatively find one unified >> boot-sequence... life would be so much easier .... > > Might be a bit late for that :( sigh.... Garrett Cooper wrote: > IIRC yaboot was being deprecated for Grub 2.x. There are some > outstanding bugs (I found) with how yaboot parses secondary cd drives > and the like that I was going to debug and fix a while back, but I got > caught up with other things... > I'd definitely compile the last stable and work from that though > because there are a few new helpful features for booting from > non-standard locations for yaboot.conf files. > Cheers, > -Garrett Have I missed something in class... or isn't "grub" x86 only ?? and if not so... is there any kind of "HOWTO" using grub for PowerPC ? > > > later, > > Peter. kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From yanefbsd at gmail.com Sat Jun 28 04:12:44 2008 From: yanefbsd at gmail.com (Garrett Cooper) Date: Sat Jun 28 04:12:46 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> References: <486511F1.60306@freebsd.org> <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> Message-ID: <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com> On Fri, Jun 27, 2008 at 3:06 PM, Niels S. Eliasen wrote: > hi Peter, guys > Den 27/06/2008 kl. 18.14 skrev Peter Grehan: > >> Hi Niels, >> >>> Hi guys >>> a couple of minor questions...... >>> 1. Where do I find "pdisk" for FreeBSD ? >> >> Not there. It's easy enough to build it from NetBSD source (looks like >> you've done that). Now that gpart is in the tree, there should be no need >> for pdisk (at least in CURRENT). > > nice... ;-) >> >>> 2. Where do I find "ofctl" for FreeBSD ? >> >> It's eeprom(8) on FreeBSD. > > no such thing in my version of FreeBSD... is that fairly new ? > ahh.. found it in /usr/src/usr.sbin/eeprom .... > just complains about "eeprom: could not open /dev/openfirm: no such file or > directory" ?? >> >>> 3. Anyone that knows how to integrate the Open Firmware parameters for >>> FreeBSD with yaboot ? >> >> At one point the loader's load address conflicted with yaboot. This may >> not be the case anymore - it's been a very long time since I looked at it. >> But in theory the loader could be booted from yaboot. > > Well.. does not appear so.... I use "yaboot" to be able to switch between > various "flavours" .... and choosing "Open Firmware" and then just doing > "boot hd:loader hd:5" does the trick > >> >>> If only FreeBSD, NetBSD and OpenBSD (all macppc) could agree upon how to >>> integrate with yaboot... alternatively find one unified boot-sequence... >>> life would be so much easier .... >> >> Might be a bit late for that :( > > sigh.... > > Garrett Cooper wrote: > >> IIRC yaboot was being deprecated for Grub 2.x. There are some >> outstanding bugs (I found) with how yaboot parses secondary cd drives >> and the like that I was going to debug and fix a while back, but I got >> caught up with other things... >> I'd definitely compile the last stable and work from that though >> because there are a few new helpful features for booting from >> non-standard locations for yaboot.conf files. >> Cheers, >> -Garrett > > Have I missed something in class... or isn't "grub" x86 only ?? > and if not so... is there any kind of "HOWTO" using grub for PowerPC ? Grub 1.x, yes. Grub 2.x, no: . -Garrett From nse at delfi-konsult.com Sat Jun 28 16:47:40 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Sat Jun 28 16:47:43 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com> References: <486511F1.60306@freebsd.org> <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com> Message-ID: <19F9C010-09DF-4768-9D22-6FC85C5CAE44@delfi-konsult.com> Hi Garrett Downloaded the grub2... tried to run "make".. but get the following: > "Makefile", line 76: Missing dependency operator > "Makefile", line 78: Need an operator > "Makefile", line 80: Need an operator > "../conf/powerpc-ieee1275.mk", line 33: Missing dependency operator > "../conf/powerpc-ieee1275.mk", line 35: Need an operator > "../conf/powerpc-ieee1275.mk", line 48: Need an operator > "../conf/powerpc-ieee1275.mk", line 52: Need an operator > "../conf/powerpc-ieee1275.mk", line 56: Need an operator > "../conf/powerpc-ieee1275.mk", line 71: Need an operator > "../conf/powerpc-ieee1275.mk", line 75: Need an operator > "../conf/powerpc-ieee1275.mk", line 79: Need an operator > "../conf/powerpc-ieee1275.mk", line 122: Need an operator > "../conf/powerpc-ieee1275.mk", line 126: Need an operator > "../conf/powerpc-ieee1275.mk", line 130: Need an operator > "../conf/powerpc-ieee1275.mk", line 134: Need an operator > "../conf/powerpc-ieee1275.mk", line 138: Need an operator > "../conf/powerpc-ieee1275.mk", line 142: Need an operator > "../conf/powerpc-ieee1275.mk", line 146: Need an operator > "../conf/powerpc-ieee1275.mk", line 150: Need an operator > "../conf/powerpc-ieee1275.mk", line 154: Need an operator > "../conf/powerpc-ieee1275.mk", line 158: Need an operator > "../conf/powerpc-ieee1275.mk", line 162: Need an operator > "../conf/powerpc-ieee1275.mk", line 166: Need an operator > "../conf/powerpc-ieee1275.mk", line 170: Need an operator > "../conf/powerpc-ieee1275.mk", line 174: Need an operator > "../conf/powerpc-ieee1275.mk", line 178: Need an operator > "../conf/powerpc-ieee1275.mk", line 182: Need an operator > "../conf/powerpc-ieee1275.mk", line 186: Need an operator > "../conf/powerpc-ieee1275.mk", line 190: Need an operator > "../conf/powerpc-ieee1275.mk", line 194: Need an operator > "../conf/powerpc-ieee1275.mk", line 198: Need an operator > "../conf/powerpc-ieee1275.mk", line 202: Need an operator > "../conf/powerpc-ieee1275.mk", line 206: Need an operator > "../conf/powerpc-ieee1275.mk", line 210: Need an operator > "../conf/powerpc-ieee1275.mk", line 214: Need an operator > ". ad infinitam...... any ideas ? Den 28/06/2008 kl. 6.12 skrev Garrett Cooper: > On Fri, Jun 27, 2008 at 3:06 PM, Niels S. Eliasen konsult.com> wrote: >> hi Peter, guys >> Den 27/06/2008 kl. 18.14 skrev Peter Grehan: >> >>> Hi Niels, >>> >>>> Hi guys >>>> a couple of minor questions...... >>>> 1. Where do I find "pdisk" for FreeBSD ? >>> >>> Not there. It's easy enough to build it from NetBSD source >>> (looks like >>> you've done that). Now that gpart is in the tree, there should be >>> no need >>> for pdisk (at least in CURRENT). >> >> nice... ;-) >>> >>>> 2. Where do I find "ofctl" for FreeBSD ? >>> >>> It's eeprom(8) on FreeBSD. >> >> no such thing in my version of FreeBSD... is that fairly new ? >> ahh.. found it in /usr/src/usr.sbin/eeprom .... >> just complains about "eeprom: could not open /dev/openfirm: no >> such file or >> directory" ?? >>> >>>> 3. Anyone that knows how to integrate the Open Firmware >>>> parameters for >>>> FreeBSD with yaboot ? >>> >>> At one point the loader's load address conflicted with yaboot. >>> This may >>> not be the case anymore - it's been a very long time since I >>> looked at it. >>> But in theory the loader could be booted from yaboot. >> >> Well.. does not appear so.... I use "yaboot" to be able to switch >> between >> various "flavours" .... and choosing "Open Firmware" and then just >> doing >> "boot hd:loader hd:5" does the trick >> >>> >>>> If only FreeBSD, NetBSD and OpenBSD (all macppc) could agree >>>> upon how to >>>> integrate with yaboot... alternatively find one unified boot- >>>> sequence... >>>> life would be so much easier .... >>> >>> Might be a bit late for that :( >> >> sigh.... >> >> Garrett Cooper wrote: >> >>> IIRC yaboot was being deprecated for Grub 2.x. There are some >>> outstanding bugs (I found) with how yaboot parses secondary cd >>> drives >>> and the like that I was going to debug and fix a while back, but >>> I got >>> caught up with other things... >>> I'd definitely compile the last stable and work from that though >>> because there are a few new helpful features for booting from >>> non-standard locations for yaboot.conf files. >>> Cheers, >>> -Garrett >> >> Have I missed something in class... or isn't "grub" x86 only ?? >> and if not so... is there any kind of "HOWTO" using grub for >> PowerPC ? > > Grub 1.x, yes. Grub 2.x, no: . > -Garrett mvh/kind regards Niels S. Eliasen H?rhavevej 1 DK-4250, Fuglebjerg Tel/Cell: +45 46 32 85 27 +45 21 77 95 90 mailto:nse_rEmOvE_tHiS@delfi-konsult.com From philip.s.schulz at googlemail.com Sat Jun 28 18:13:24 2008 From: philip.s.schulz at googlemail.com (Philip Schulz) Date: Sat Jun 28 18:13:27 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: <19F9C010-09DF-4768-9D22-6FC85C5CAE44@delfi-konsult.com> References: <486511F1.60306@freebsd.org> <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com> <19F9C010-09DF-4768-9D22-6FC85C5CAE44@delfi-konsult.com> Message-ID: <1c66db910806281046r6cd2ccye5e04e994b71bb02@mail.gmail.com> Hi, 2008/6/28 Niels S. Eliasen : > Hi Garrett > Downloaded the grub2... tried to run "make".. but get the following: > >> "Makefile", line 76: Missing dependency operator >> "Makefile", line 78: Need an operator >> "Makefile", line 80: Need an operator Most likely GRUB expects that make is GNU Make. Try "gmake" instead (if you have devel/gmake installed). HTH, Phil From nse at delfi-konsult.com Sat Jun 28 18:21:19 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Sat Jun 28 18:21:22 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: <1c66db910806281046r6cd2ccye5e04e994b71bb02@mail.gmail.com> References: <486511F1.60306@freebsd.org> <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com> <19F9C010-09DF-4768-9D22-6FC85C5CAE44@delfi-konsult.com> <1c66db910806281046r6cd2ccye5e04e994b71bb02@mail.gmail.com> Message-ID: <9AE1C951-4E6C-48CF-A75E-24EEECAE4EFB@delfi-konsult.com> Hi Well.. perhaps.... anyhow this is the result.... > gcc -o grub-mkdevicemap grub_mkdevicemap-util_grub_mkdevicemap.o > grub_mkdevicemap-util_misc.o grub_mkdevicemap- > util_ieee1275_get_disk_name.o > grub_mkdevicemap-util_ieee1275_get_disk_name.o(.text+0x70): In > function `grub_util_get_disk_name': > ../util/ieee1275/get_disk_name.c:54: undefined reference to `getline' > gmake: *** [grub-mkdevicemap] Error 1 > Den 28/06/2008 kl. 19.46 skrev Philip Schulz: > Hi, > > 2008/6/28 Niels S. Eliasen : >> Hi Garrett >> Downloaded the grub2... tried to run "make".. but get the following: >> >>> "Makefile", line 76: Missing dependency operator >>> "Makefile", line 78: Need an operator >>> "Makefile", line 80: Need an operator > > Most likely GRUB expects that make is GNU Make. Try "gmake" instead > (if you have devel/gmake installed). > > HTH, > > Phil kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From torfinn.ingolfsen at broadpark.no Sat Jun 28 18:38:13 2008 From: torfinn.ingolfsen at broadpark.no (Torfinn Ingolfsen) Date: Sat Jun 28 18:38:17 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: <19F9C010-09DF-4768-9D22-6FC85C5CAE44@delfi-konsult.com> References: <486511F1.60306@freebsd.org> <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com> <19F9C010-09DF-4768-9D22-6FC85C5CAE44@delfi-konsult.com> Message-ID: <20080628193809.75d9a572.torfinn.ingolfsen@broadpark.no> On Sat, 28 Jun 2008 18:47:35 +0200 "Niels S. Eliasen" wrote: > Hi Garrett > Downloaded the grub2... tried to run "make".. but get the following: > > > "Makefile", line 76: Missing dependency operator > > "Makefile", line 78: Need an operator > > "Makefile", line 80: Need an operator That's usually signs telling you that you need gmake (GNU make) instead of the BSD variant. HTH -- Regards, Torfinn Ingolfsen, Norway From yanefbsd at gmail.com Sat Jun 28 20:44:08 2008 From: yanefbsd at gmail.com (Garrett Cooper) Date: Sat Jun 28 20:44:10 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: <20080628193809.75d9a572.torfinn.ingolfsen@broadpark.no> References: <486511F1.60306@freebsd.org> <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com> <19F9C010-09DF-4768-9D22-6FC85C5CAE44@delfi-konsult.com> <20080628193809.75d9a572.torfinn.ingolfsen@broadpark.no> Message-ID: <7d6fde3d0806281344i74d87ff6o79eb9f0e3b9c8ca4@mail.gmail.com> On Sat, Jun 28, 2008 at 10:38 AM, Torfinn Ingolfsen wrote: > On Sat, 28 Jun 2008 18:47:35 +0200 > "Niels S. Eliasen" wrote: > >> Hi Garrett >> Downloaded the grub2... tried to run "make".. but get the following: >> >> > "Makefile", line 76: Missing dependency operator >> > "Makefile", line 78: Need an operator >> > "Makefile", line 80: Need an operator > > That's usually signs telling you that you need gmake (GNU make) instead > of the BSD variant. > > HTH Yeah. Grub depends on GNU make, not pmake (BSD make). As for getline, it's only present in glibc =\: However, it shouldn't be any more difficult than the included code set. HTH, -Garrett PS This code needs reviewing and I'm not granting a warranty, like the tort in the New BSD License says =). /* * Licensed under New BSD [3-clause] License available in FreeBSD. * * Author: Garrett Cooper * Email: gcooper [at {SpamFree}] freebsd [dot] org * Date: June 28, 2008 * */ #include /* For INT_MAX */ #include /* For everything stdio (fgetc, etc). */ #include /* malloc, free, and the usual memory suspects. */ #include /* For ssize_t */ /* * Analog to _GNU_SOURCE -- do this to avoid confusing autoconf / automake (I'm sure they have * some sort of getline() detection scheme), until it can be verified that this is fully compatible and * doesn't accidentally break existing functionality. */ #if _GNU_COMPAT #define DEFAULT_LINES 256 #define DEFAULT_LINES_INC 16 #define MAX_LINE_SIZE INT_MAX ssize_t getline(char **, size_t*, FILE*); /* * @name getline * * @desc Gets a line up to a newline or a '\0' terminator. * * @param **linep - array of char** to use as placeholder for read line. NULL * terminated. If NULL, will allocate DEFAULT_LINES+1 via * calloc(). * @param *n - Number of chars requested to be read, then is replaced with. * @param *fp - file descriptor to read. * * @pre *fp != NULL * * @ret ssize_t == length of str on success. * @ret ssize_t == -1 for error * * @todo Fix Doxygen comments =). * @todo Check compatibility with GNU getline(). * */ ssize_t getline(char **linep, size_t *n, FILE *fp) { char *line_tmp; /* Index in line_tmp */ int idx; /* Assume FAIL until proven otherwise. */ int ret_code = -1; if (n == NULL) goto done; /* XXX: *n = 0 => GNU getline compat? */ *n = 0; /* fp cannot be NULL (segfault prone). */ if (fp == NULL) goto done; line_tmp = (char*) malloc(MAX_LINE_SIZE+1); idx = 0; /* * Grab each char until a newline's encountered or '/0'. * * XXX: Tune the while conditional so that realloc's are done as necessary? */ do { ch = fgetc(fp); if (ch == '\0' || ch != '\n') break; *(line_tmp+idx) = ch; idx++; } while (idx < MAX_LINE_SIZE); /* Include newline */ if (ch == '\n') { *(line_tmp+idx) = '\n' idx++; } *(line_tmp+idx) = '\0'; /* * malloc a new char** area for linep because it's NULL. Make sure that there are +1 lines * so a NULL can be stored there. */ if (linep == NULL) { linep = (char**) calloc(DEFAULT_LINES+1,*sizeof(char**)); if (linep == NULL) goto done; } /* * Increment size of linep, because we've potentially run out of play space. * * XXX: Tune to not increment in specific cases, lest we _will_ run out of memory? */ else { linep = (char**) realloc(linep, (DEFAULT_LINES_INC+1)*sizeof(char**)+sizeof(linep)); /* NULL terminate linep */ *(linep+sizeof(linep)) = NULL; } size_t n_new = sizeof(line_tmp); /* Don't do jack if line_tmp has 0-length. */ if (1 < n_new) { /* Allocate a new char* for *linep because it's NULL. */ if (*linep == NULL) { *linep = (char*) malloc(n_new); } /* Resize *linep to meet line_tmp's size. */ else if (*n != sizeof(line_tmp)) { *linep = (char*) realloc(*linep, n_new); } /* Avoid NULL deref (segfault). */ if (*linep == NULL) goto done; /* Copy string */ strcpy(*linep, line_tmp); *n = n_new; /* Done! */ ret_code = strlen(*linep); } done: /* cleanup temporary vars */ if (line_tmp != NULL) free(line_tmp); /* end cleanup */ return ret_code; } #endif From tinderbox at freebsd.org Sun Jun 29 02:41:07 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Sun Jun 29 02:41:15 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080629024104.B1CAE73039@freebsd-current.sentex.ca> TB --- 2008-06-29 01:26:31 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-29 01:26:31 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-29 01:26:31 - cleaning the object tree TB --- 2008-06-29 01:26:57 - cvsupping the source tree TB --- 2008-06-29 01:26:57 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-29 01:27:03 - building world (CFLAGS=-O -pipe) TB --- 2008-06-29 01:27:03 - cd /src TB --- 2008-06-29 01:27:03 - /usr/bin/make -B buildworld >>> World build started on Sun Jun 29 01:27:06 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 Sun Jun 29 02:34:56 UTC 2008 TB --- 2008-06-29 02:34:56 - generating LINT kernel config TB --- 2008-06-29 02:34:56 - cd /src/sys/powerpc/conf TB --- 2008-06-29 02:34:56 - /usr/bin/make -B LINT TB --- 2008-06-29 02:34:56 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-29 02:34:56 - cd /src TB --- 2008-06-29 02:34:56 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jun 29 02:34:56 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/netinet6/in6_rmx.c:337: error: 'rtq_timeout6' undeclared (first use in this function) /src/sys/netinet6/in6_rmx.c:337: error: (Each undeclared identifier is reported only once /src/sys/netinet6/in6_rmx.c:337: error: for each function it appears in.) /src/sys/netinet6/in6_rmx.c:373: error: 'rtq' undeclared (first use in this function) /src/sys/netinet6/in6_rmx.c:373: error: 'timer6' undeclared (first use in this function) /src/sys/netinet6/in6_rmx.c: In function 'in6_inithead': /src/sys/netinet6/in6_rmx.c:472: error: 'rtq' undeclared (first use in this function) /src/sys/netinet6/in6_rmx.c:472: error: 'timer6' undeclared (first use in this function) *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-29 02:41:04 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-29 02:41:04 - ERROR: failed to build lint kernel TB --- 2008-06-29 02:41:04 - tinderbox aborted TB --- 3325.43 user 397.12 system 4473.12 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Sun Jun 29 08:04:55 2008 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Sun Jun 29 08:05:03 2008 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20080629080452.3B4DA73039@freebsd-current.sentex.ca> TB --- 2008-06-29 06:50:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-29 06:50:00 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-29 06:50:02 - cleaning the object tree TB --- 2008-06-29 06:50:22 - cvsupping the source tree TB --- 2008-06-29 06:50:22 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-29 06:50:29 - building world (CFLAGS=-O -pipe) TB --- 2008-06-29 06:50:29 - cd /src TB --- 2008-06-29 06:50:29 - /usr/bin/make -B buildworld >>> World build started on Sun Jun 29 06:50:31 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 Sun Jun 29 07:58:36 UTC 2008 TB --- 2008-06-29 07:58:36 - generating LINT kernel config TB --- 2008-06-29 07:58:36 - cd /src/sys/powerpc/conf TB --- 2008-06-29 07:58:36 - /usr/bin/make -B LINT TB --- 2008-06-29 07:58:36 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-29 07:58:36 - cd /src TB --- 2008-06-29 07:58:36 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jun 29 07:58:36 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 [...] ${NORMAL_CTFCONVERT} expands to empty string 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/netinet6/ip6_output.c ${NORMAL_CTFCONVERT} expands to empty string 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/netinet6/ip6_ipsec.c /src/sys/netinet6/ip6_ipsec.c: In function 'ip6_ipsec_fwd': /src/sys/netinet6/ip6_ipsec.c:131: error: 'ip6stat' undeclared (first use in this function) /src/sys/netinet6/ip6_ipsec.c:131: error: (Each undeclared identifier is reported only once /src/sys/netinet6/ip6_ipsec.c:131: error: for each function it appears in.) *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-29 08:04:51 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-29 08:04:51 - ERROR: failed to build lint kernel TB --- 2008-06-29 08:04:51 - tinderbox aborted TB --- 3332.37 user 394.81 system 4490.05 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From yanefbsd at gmail.com Sun Jun 29 19:46:00 2008 From: yanefbsd at gmail.com (Garrett Cooper) Date: Sun Jun 29 19:46:02 2008 Subject: pdisk, ofctl and yaboot In-Reply-To: <2A5B5D76-9EF9-4EFA-A589-D614B94D63FB@delfi-konsult.com> References: <486511F1.60306@freebsd.org> <7d6fde3d0806270921u7a8e6342ucb525f65033d1f6f@mail.gmail.com> <2A5B5D76-9EF9-4EFA-A589-D614B94D63FB@delfi-konsult.com> Message-ID: <7d6fde3d0806291245p7f5d834ek3c73ef6f89fe5097@mail.gmail.com> On Sun, Jun 29, 2008 at 11:59 AM, Niels S. Eliasen wrote: > Hi Garrett > perhaps I'm, daft... don't answer! ;-) > but that snippet code of yours.... How do I incorporate this into the code > for grub ?? > (you have probably guessed by now... that I am not very well versed in C...) > > Den 27/06/2008 kl. 18.21 skrev Garrett Cooper: > >> On Fri, Jun 27, 2008 at 9:14 AM, Peter Grehan wrote: >>>> >>>> 3. Anyone that knows how to integrate the Open Firmware parameters for >>>> FreeBSD with yaboot ? >>> >>> At one point the loader's load address conflicted with yaboot. This may >>> not >>> be the case anymore - it's been a very long time since I looked at it. >>> But >>> in theory the loader could be booted from yaboot. >>> >>>> If only FreeBSD, NetBSD and OpenBSD (all macppc) could agree upon how to >>>> integrate with yaboot... alternatively find one unified boot-sequence... >>>> life would be so much easier .... >> >> IIRC yaboot was being deprecated for Grub 2.x. There are some >> outstanding bugs (I found) with how yaboot parses secondary cd drives >> and the like that I was going to debug and fix a while back, but I got >> caught up with other things... >> I'd definitely compile the last stable and work from that though >> because there are a few new helpful features for booting from >> non-standard locations for yaboot.conf files. >> Cheers, >> -Garrett > > kind regards > > nse That'll either have to be patched in or included as separate source (with CFLAGS += -D_GNU_COMPAT). I'll checkout grub2 once I get my Macbook back (Tuesday-ish) and see if I can make sure that getline functions properly under FreeBSD and Linux. I modified the source to now include getdelims(3) (simple modification). Cheers, -Garrett /* * Licensed under New BSD [3-clause] License available in FreeBSD. * * Author: Garrett Cooper * Email: gcooper [at {SpamFree}] freebsd [dot] org * Date: June 28, 2008 * */ #include /* For INT_MAX */ #include /* For everything stdio (fgetc, etc). */ #include /* malloc, free, and the usual memory suspects. */ #include /* For ssize_t */ /* * Analog to _GNU_SOURCE -- do this to avoid confusing autoconf / * automake (I'm sure they have * some sort of getline() detection scheme), until it can be verified * that this is fully compatible and * doesn't accidentally break existing functionality. */ #if _GNU_COMPAT #define DEFAULT_LINES 256 #define DEFAULT_LINES_INC 16 #define MAX_LINE_SIZE INT_MAX ssize_t getline(char **, size_t*, FILE*); ssize_t getdelims(char **, size_t*, int, FILE*); /* * XXX: WRITE PROPER COMMENTS HERE. */ ssize_t getline(char **linep, size_t *n, FILE *fp) { return getdelims(linep, n, (int) '\0', fp); } /* * @name getdelims * * @desc Gets a line up to a char delimited by delim or a '\0' terminator. * * @param **linep - array of char** to use as placeholder for read line. NULL * terminated. If NULL, will allocate DEFAULT_LINES+1 via * calloc(). * @param *n - Number of chars requested to be read, then is replaced with. * @param delim - Delimiter to break lines with. * @param *fp - file descriptor to read. * * @pre *fp != NULL * * @ret ssize_t == length of str on success. * @ret ssize_t == -1 for error * * @todo Fix Doxygen comments =). * @todo Check compatibility with GNU getline(). * */ ssize_t getdelims(char **linep, size_t *n, int delim, FILE *fp) { char *line_tmp; /* Index in line_tmp */ int idx; /* Assume FAIL until proven otherwise. */ int ret_code = -1; if (n == NULL) goto done; /* XXX: *n = 0 => GNU getline compat? */ *n = 0; /* fp cannot be NULL (segfault prone). */ if (fp == NULL) goto done; line_tmp = (char*) malloc(MAX_LINE_SIZE+1); idx = 0; /* * Grab each char until a newline's encountered or '/0'. * * XXX: Tune the while conditional so that realloc's are done as necessary? */ do { ch = fgetc(fp); if (ch == '\0' || ch != (char) delim) break; *(line_tmp+idx) = ch; idx++; } while (idx < MAX_LINE_SIZE); /* Include newline */ if (ch == '\n') { *(line_tmp+idx) = '\n' idx++; } *(line_tmp+idx) = '\0'; /* * malloc a new char** area for linep because it's NULL. Make sure * that there are +1 lines so a NULL can be stored there. */ if (linep == NULL) { linep = (char**) calloc(DEFAULT_LINES+1,*sizeof(char**)); if (linep == NULL) goto done; } /* * Increment size of linep, because we've potentially run out of play space. * * XXX: Tune to not increment in specific cases, lest we _will_ run * out of memory? */ else { linep = (char**) realloc(linep, (DEFAULT_LINES_INC+1)*sizeof(char**)+sizeof(linep)); /* NULL terminate linep */ *(linep+sizeof(linep)) = NULL; } size_t n_new = sizeof(line_tmp); /* Don't do jack if line_tmp has 0-length. */ if (1 < n_new) { /* Allocate a new char* for *linep because it's NULL. */ if (*linep == NULL) { *linep = (char*) malloc(n_new); } /* Resize *linep to meet line_tmp's size. */ else if (*n != sizeof(line_tmp)) { *linep = (char*) realloc(*linep, n_new); } /* Avoid NULL deref (segfault). */ if (*linep == NULL) goto done; /* Copy string */ strcpy(*linep, line_tmp); *n = n_new; /* Done! */ ret_code = strlen(*linep); } done: /* cleanup temporary vars */ if (line_tmp != NULL) free(line_tmp); /* end cleanup */ return ret_code; } #endif From nse at delfi-konsult.com Mon Jun 30 11:03:22 2008 From: nse at delfi-konsult.com (Niels S. Eliasen) Date: Mon Jun 30 11:03:26 2008 Subject: eeprom and ofwdump question.... Message-ID: <30B8AD5B-2B20-4CC5-A014-6FAAC563DBC0@delfi-konsult.com> using the "eeprom -a" and "ofwdump -a" I get the following output ... > eeprom: could not open /dev/openfirm: No such file or directory > ofwdump: could not open /dev/openfirm: No such file or directory > What needs to be done to both get the OpenFirmware listed, and (hopefully) me able to write back to OpenFirmware ? (Besides this a TiBook 400Mhz ) kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From bugmaster at FreeBSD.org Mon Jun 30 11:07:03 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 30 11:07:23 2008 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200806301107.m5UB71wf095840@freefall.freebsd.org> Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/93203 ppc FreeBSD PPC Can't Write to Partitions. a power/121407 ppc [panic] Won't boot up; strange error message. 2 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/112435 ppc [nexus] [patch] Update nexus children to use ofw_bus f 2 problems total. From grehan at freebsd.org Mon Jun 30 13:36:35 2008 From: grehan at freebsd.org (Peter Grehan) Date: Mon Jun 30 13:36:40 2008 Subject: eeprom and ofwdump question.... Message-ID: <20080630233553.ECB77457@dommail.onthenet.com.au> Hi Niels, Owed you an answer on this one: >using the "eeprom -a" and "ofwdump -a" I get the following output ... > >> eeprom: could not open /dev/openfirm: No such file or directory >> ofwdump: could not open /dev/openfirm: No such file or directory >> > > >What needs to be done to both get the OpenFirmware listed, and >(hopefully) me able to write back to OpenFirmware ? > >(Besides this a TiBook 400Mhz ) The change to support this went into rev 1.73 of sys/conf/files.powerpc. Revision 1.72: download - view: text, markup, annotated - select for diffs Thu Jan 31 01:57:33 2008 UTC (4 months, 4 weeks ago) by grehan Branches: MAIN Diff to: previous 1.71: preferred, colored Changes since revision 1.71: +1 -0 lines Enable ofwdump on powerpc (finally). Tested on G3 & G4 machines. It's in CURRENT, and should probably be MFC'd to RELENG_7. You will have to manually patch it in 7.0. later, Peter.