From xcllnt at mac.com Fri May 1 01:11:39 2009 From: xcllnt at mac.com (Marcel Moolenaar) Date: Fri May 1 01:11:45 2009 Subject: Single stepping through atomic ops In-Reply-To: References: <36D74D0F-DB5D-4B3D-8A34-2AC72A5209AF@semihalf.com> Message-ID: <9904FBD1-F01A-4E7C-9E71-6C2D544352F8@mac.com> Sorry for the delay... There's an effort to import GDB 6.4 I think. What's the version of GDB that is fixed? -- Marcel On Apr 30, 2009, at 2:01 AM, Rafal Jaworowski wrote: > > On 2009-04-21, at 19:57, Rafal Jaworowski wrote: > >> Hi Marcel, >> I'm writing to you primarily as the gdb maintainer :-) There's a >> problem with current gdb in base when single stepping through >> atomic sequences on PowerPC (and presumably other archs with the >> load + conditional store approach for atomic ops). The effect is a >> hang because we endlessly loop due to the [always] lost reservation >> at the time of a closing stwcx. >> >> This is a known problem with gdb and it's fixed with newer >> versions, but the patches are not applicable to our gdb due to some >> infrastructure changes. The quick fix for 6.1.1 is here: >> http://people.freebsd.org/~raj/patches/powerpc/gdb-ppc-single-step.diff >> >> It's mainly a transplant of two fixes from the gdb repository >> (1.275, 1.276, deal_with_atomic_sequence) adjusted to our older gdb >> code, but it's ugly #ifdef'ed __ppc__. In order to do it cleanly we >> would need to change the signature of the SOFTWARE_SINGLE_STEP >> method so it returns a value (this is how newer gdb works), but it >> would affect gdb for all architectures. Do you see any objections >> for growing a return value here? >> >> Another direction would be importing a newer gdb code base, and be >> able to apply the fixes directly and cleanly (if at all required), >> but am not sure if there are any plans to upgrade gdb in base? Let >> me know your comments. > > Have you got any comments to this? Should I move on and commit this > as ugly as is, or would reworking SOFTWARE_SINGLE_STEP be more > desired? Any thoughts about newer gdb versions coming to the tree? > > Rafal > From gjb at semihalf.com Mon May 4 10:40:09 2009 From: gjb at semihalf.com (Grzegorz Bernacki) Date: Mon May 4 10:40:16 2009 Subject: Fwd: Single stepping through atomic ops In-Reply-To: References: <9904FBD1-F01A-4E7C-9E71-6C2D544352F8@mac.com> Message-ID: <49FEC2C3.3040304@semihalf.com> The fix was merged into gdb source about two years ago (2007-04-12). I can find it in gdb version 6.8. According to gdb release schedule version 6.7 release date is 2007-10-10, so probably this fix is also in version 6.7, but I haven't checked it. regards, Grzesiek > >> From: Marcel Moolenaar >> Date: 1 maja 2009 03:09:59 GMT+02:00 >> To: Rafal Jaworowski >> Cc: "freebsd-ppc@freebsd.org" >> Subject: Re: Single stepping through atomic ops >> >> Sorry for the delay... >> There's an effort to import GDB 6.4 I think. What's the version of GDB >> that is fixed? >> >> >> --Marcel >> >> On Apr 30, 2009, at 2:01 AM, Rafal Jaworowski wrote: >> >>> >>> On 2009-04-21, at 19:57, Rafal Jaworowski wrote: >>> >>>> Hi Marcel, >>>> I'm writing to you primarily as the gdb maintainer :-) There's a >>>> problem with current gdb in base when single stepping through atomic >>>> sequences on PowerPC (and presumably other archs with the load + >>>> conditional store approach for atomic ops). The effect is a hang >>>> because we endlessly loop due to the [always] lost reservation at >>>> the time of a closing stwcx. >>>> >>>> This is a known problem with gdb and it's fixed with newer versions, >>>> but the patches are not applicable to our gdb due to some >>>> infrastructure changes. The quick fix for 6.1.1 is here: >>>> http://people.freebsd.org/~raj/patches/powerpc/gdb-ppc-single-step.diff >>>> >>>> It's mainly a transplant of two fixes from the gdb repository >>>> (1.275, 1.276, deal_with_atomic_sequence) adjusted to our older gdb >>>> code, but it's ugly #ifdef'ed __ppc__. In order to do it cleanly we >>>> would need to change the signature of the SOFTWARE_SINGLE_STEP >>>> method so it returns a value (this is how newer gdb works), but it >>>> would affect gdb for all architectures. Do you see any objections >>>> for growing a return value here? >>>> >>>> Another direction would be importing a newer gdb code base, and be >>>> able to apply the fixes directly and cleanly (if at all required), >>>> but am not sure if there are any plans to upgrade gdb in base? Let >>>> me know your comments. >>> >>> Have you got any comments to this? Should I move on and commit this >>> as ugly as is, or would reworking SOFTWARE_SINGLE_STEP be more >>> desired? Any thoughts about newer gdb versions coming to the tree? >>> >>> Rafal >>> > From bugmaster at FreeBSD.org Mon May 4 11:08:02 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon May 4 11:09:33 2009 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200905041108.n44B80Sg098779@freefall.freebsd.org> Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/133503 ppc Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 7 problems total. From tinderbox at freebsd.org Tue May 5 17:36:07 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Tue May 5 17:36:24 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090505173603.D96C67302F@freebsd-current.sentex.ca> TB --- 2009-05-05 15:59:20 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-05 15:59:20 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-05 15:59:20 - cleaning the object tree TB --- 2009-05-05 15:59:52 - cvsupping the source tree TB --- 2009-05-05 15:59:52 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-05 16:00:04 - building world TB --- 2009-05-05 16:00:04 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-05 16:00:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-05 16:00:04 - TARGET=powerpc TB --- 2009-05-05 16:00:04 - TARGET_ARCH=powerpc TB --- 2009-05-05 16:00:04 - TZ=UTC TB --- 2009-05-05 16:00:04 - __MAKE_CONF=/dev/null TB --- 2009-05-05 16:00:04 - cd /src TB --- 2009-05-05 16:00:04 - /usr/bin/make -B buildworld >>> World build started on Tue May 5 16:00:06 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue May 5 17:24:24 UTC 2009 TB --- 2009-05-05 17:24:24 - generating LINT kernel config TB --- 2009-05-05 17:24:24 - cd /src/sys/powerpc/conf TB --- 2009-05-05 17:24:24 - /usr/bin/make -B LINT TB --- 2009-05-05 17:24:24 - building LINT kernel TB --- 2009-05-05 17:24:24 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-05 17:24:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-05 17:24:24 - TARGET=powerpc TB --- 2009-05-05 17:24:24 - TARGET_ARCH=powerpc TB --- 2009-05-05 17:24:24 - TZ=UTC TB --- 2009-05-05 17:24:24 - __MAKE_CONF=/dev/null TB --- 2009-05-05 17:24:24 - cd /src TB --- 2009-05-05 17:24:24 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue May 5 17:24:24 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/netgraph/ng_base.c cc1: warnings being treated as errors /src/sys/netgraph/ng_base.c:142: warning: initialization makes pointer from integer without a cast /src/sys/netgraph/ng_base.c:143: warning: initialization makes integer from pointer without a cast /src/sys/netgraph/ng_base.c:144: warning: initialization makes pointer from integer without a cast /src/sys/netgraph/ng_base.c:145: warning: braces around scalar initializer /src/sys/netgraph/ng_base.c:145: warning: (near initialization for 'ng_deadnode.lastline') /src/sys/netgraph/ng_base.c:145: warning: initialization makes integer from pointer without a cast *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-05 17:36:03 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-05 17:36:03 - ERROR: failed to build lint kernel TB --- 2009-05-05 17:36:03 - 4650.95 user 428.40 system 5803.43 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From raj at semihalf.com Fri May 8 09:47:52 2009 From: raj at semihalf.com (Rafal Jaworowski) Date: Fri May 8 09:47:58 2009 Subject: FreeBSD/powerpc on MPC5200 Message-ID: <35914876-0CFF-427B-8F80-B1BEEA5A7A18@semihalf.com> Hi All, I'd like to let people know that FreeBSD/powerpc is now able to boot into single user on the Freescale MPC5200 system-on-chip (EFIKA board). The environment is very simplistic: RAM disk based root fs, as there's no peripherals drivers besides serial console and the built-in PIC. See this log: http://people.freebsd.org/~raj/logs/efika.log Rafal From freebsd at oliverlietz.de Sun May 10 11:34:13 2009 From: freebsd at oliverlietz.de (Oliver Lietz) Date: Sun May 10 11:34:19 2009 Subject: slow loader on Cube Message-ID: <200905101321.20966.freebsd@oliverlietz.de> hello all, I replaced the hard disk in one of my Cubes with a compact flash card and reinstalled 7.2-RELEASE. The installation went fine besides some missing files in /var/log. The system feels smooth after booting but it takes ages from "Booted from: /pci@..." to "Booting [/boot/kernel/kernel]". Any hints? tia, O. From bugmaster at FreeBSD.org Mon May 11 11:07:02 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon May 11 11:08:58 2009 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200905111107.n4BB71ZG086059@freefall.freebsd.org> Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/133503 ppc Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 7 problems total. From pczanik at fang.fa.gau.hu Mon May 11 13:32:47 2009 From: pczanik at fang.fa.gau.hu (Peter Czanik) Date: Mon May 11 13:32:53 2009 Subject: FreeBSD/powerpc on MPC5200 In-Reply-To: <35914876-0CFF-427B-8F80-B1BEEA5A7A18@semihalf.com> References: <35914876-0CFF-427B-8F80-B1BEEA5A7A18@semihalf.com> Message-ID: <4A0824E3.8070606@fang.fa.gau.hu> Hello, Rafal Jaworowski ?rta: > I'd like to let people know that FreeBSD/powerpc is now able to boot > into single user on the Freescale MPC5200 system-on-chip (EFIKA > board). The environment is very simplistic: RAM disk based root fs, as > there's no peripherals drivers besides serial console and the built-in > PIC. See this log: http://people.freebsd.org/~raj/logs/efika.log Wow, great news! Two questions: - are there any plans to support additional devices? - is it possible to download the booted image from somewhere? (So I could boot my favorite OS on my favorite machine :-) ) Bye, CzP From tinderbox at freebsd.org Mon May 11 19:17:16 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon May 11 19:17:33 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090511191712.962EB7302F@freebsd-current.sentex.ca> TB --- 2009-05-11 17:59:19 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-11 17:59:19 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-11 17:59:19 - cleaning the object tree TB --- 2009-05-11 17:59:51 - cvsupping the source tree TB --- 2009-05-11 17:59:51 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-11 18:00:02 - building world TB --- 2009-05-11 18:00:02 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-11 18:00:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-11 18:00:02 - TARGET=powerpc TB --- 2009-05-11 18:00:02 - TARGET_ARCH=powerpc TB --- 2009-05-11 18:00:02 - TZ=UTC TB --- 2009-05-11 18:00:02 - __MAKE_CONF=/dev/null TB --- 2009-05-11 18:00:02 - cd /src TB --- 2009-05-11 18:00:02 - /usr/bin/make -B buildworld >>> World build started on Mon May 11 18:00:03 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -std=gnu99 -fstack-protector -c /src/usr.bin/mail/vars.c cc -O2 -pipe -std=gnu99 -fstack-protector -o mail version.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o edit.o fio.o getname.o head.o v7.local.o lex.o list.o main.o names.o popen.o quit.o send.o strings.o temp.o tty.o util.o vars.o gzip -cn /src/usr.bin/mail/mail.1 > mail.1.gz ===> usr.bin/make (all) cc -O2 -pipe -I/src/usr.bin/make -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /src/usr.bin/make/arch.c cc1: warnings being treated as errors /src/usr.bin/make/arch.c: In function 'Arch_ParseArchive': /src/usr.bin/make/arch.c:402: warning: the address of 'members' will never be NULL *** Error code 1 Stop in /src/usr.bin/make. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-11 19:17:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-11 19:17:12 - ERROR: failed to build world TB --- 2009-05-11 19:17:12 - 3696.13 user 361.65 system 4672.78 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From mike.gordon at primus.ca Sun May 17 14:32:38 2009 From: mike.gordon at primus.ca (mike gordon) Date: Sun May 17 14:32:58 2009 Subject: Technology - Oracle, IBM, ERP - SAP, QAD, CRM - Siebel, Communication - Cisco, Manufacturing, Healthcare customer lists Message-ID: <200905171330.n4HDUrBG025565@matrix.start.ca> This email is to introduce our company Repharm and services we offer. Repharm is an international leader of sales and marketing database products for high technology businesses. We provide installed customer lists for companies such as Oracle, PeopleSoft, Siebel, etc. Our lists are continuously maintained to ensure the highest level of accuracy and completeness. We have hundreds of industry leaders as customers today - many whose names you would recognize. If you are interested, we could send you a sample of one of our lists complete with summary information, so that you could evaluate our content. To find out about the various lists we have available, in preparation for any sales or marketing campaigns that your organization may be considering in future, we'd love to hear from you. Or, perhaps you'd be interested in acquiring your competitors' customer lists? If you would like more information, please contact us at (905) 721-8456 or email us at repharm1@aol.com Below are just some of the lists available: ERP (ENTERPRISE RESOURCE PLANNING): Baan JD Edwards Lawson Made2Manage Mapics Marcam Oracle Peoplesoft SAP SSA E-BUSINESS APPLICATIONS: Ariba BMC BroadVision Commerce One Webtrends MIDDLEWARE/CONNECTIVITY/APP SERVERS/WEB SERVERS: Bea Systems Iona Unisys OPERATING SYSTEMS/HARDWARE/SOFTWARE: COMPAQ HP 3000 HP 9000 HP-UX IBM AS/400 IBM OS/390 Lotus Notes Microsoft Sun Microsystems DATABASE: DB2 FileMaker Informix Oracle SQL SybaseCRM (CUSTOMER RELATIONSHIP MANAGEMENT): Clarify E.piphany HNC Onyx Pivotal Siebel Vantive Xchange SUPPLY CHAIN: Agile i2 Technologies Manugistics QAD Webplan COMMUNICATIONS: Nortel Cisco 3com Siemens Alcatel Telecom Vars ASP?s CLECS ISP?s E-COMMERCE: Dot Com Directory Consultant Directory Software Directory EXECUTIVE DIRECTORIES: Chief Executive Officer Chief Financial Officer Chief Information Officer Engineering Human Resources Purchasing Sales/Marketing INDUSTRY SPECIFIC LISTS: Agriculture, Forestry and Fishing, Communications, Construction, Finance, Insurance and Real Estate, Manufacturing, Mining, Public Administration, Retail Trade, Services, Transportation, Utilities, Wholesale Trade From bugmaster at FreeBSD.org Mon May 18 11:06:59 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon May 18 11:09:07 2009 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200905181106.n4IB6v7o075758@freefall.freebsd.org> Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/133503 ppc Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 7 problems total. From tinderbox at freebsd.org Thu May 21 02:05:37 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Thu May 21 02:05:55 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090521020532.E03037302F@freebsd-current.sentex.ca> TB --- 2009-05-21 00:29:43 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-21 00:29:43 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-21 00:29:43 - cleaning the object tree TB --- 2009-05-21 00:30:15 - cvsupping the source tree TB --- 2009-05-21 00:30:15 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-21 00:30:34 - building world TB --- 2009-05-21 00:30:34 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-21 00:30:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-21 00:30:34 - TARGET=powerpc TB --- 2009-05-21 00:30:34 - TARGET_ARCH=powerpc TB --- 2009-05-21 00:30:34 - TZ=UTC TB --- 2009-05-21 00:30:34 - __MAKE_CONF=/dev/null TB --- 2009-05-21 00:30:34 - cd /src TB --- 2009-05-21 00:30:34 - /usr/bin/make -B buildworld >>> World build started on Thu May 21 00:30:35 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Thu May 21 01:57:31 UTC 2009 TB --- 2009-05-21 01:57:31 - generating LINT kernel config TB --- 2009-05-21 01:57:31 - cd /src/sys/powerpc/conf TB --- 2009-05-21 01:57:31 - /usr/bin/make -B LINT TB --- 2009-05-21 01:57:31 - building LINT kernel TB --- 2009-05-21 01:57:31 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-21 01:57:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-21 01:57:31 - TARGET=powerpc TB --- 2009-05-21 01:57:31 - TARGET_ARCH=powerpc TB --- 2009-05-21 01:57:31 - TZ=UTC TB --- 2009-05-21 01:57:31 - __MAKE_CONF=/dev/null TB --- 2009-05-21 01:57:31 - cd /src TB --- 2009-05-21 01:57:31 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu May 21 01:57:31 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/sound/pcm/mixer.c awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/sound/pcm/mixer_if.m -c ; cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror mixer_if.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/sound/pcm/sndstat.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/sound/pcm/sound.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/sound/pcm/vchan.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/sound/usb/uaudio.c /src/sys/dev/sound/usb/uaudio.c: In function 'uaudio_probe': /src/sys/dev/sound/usb/uaudio.c:535: error: 'struct usb2_attach_arg' has no member named 'usb2_mode' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-21 02:05:32 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-21 02:05:32 - ERROR: failed to build lint kernel TB --- 2009-05-21 02:05:32 - 4466.52 user 421.21 system 5749.09 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From xcllnt at mac.com Thu May 21 16:50:01 2009 From: xcllnt at mac.com (Marcel Moolenaar) Date: Thu May 21 16:50:08 2009 Subject: [patch] __syncicache: eliminate D-cache flush Message-ID: <6C962FE0-657A-4072-B050-903D54C712D4@mac.com> All, I'd like to commit the following change, which basically removes the D-cache flush from syncicache. This gave me a 6% performance improvement on my SMP xserve (but YMMV): Index: sys/powerpc/powerpc/syncicache.c =================================================================== --- sys/powerpc/powerpc/syncicache.c (revision 192134) +++ sys/powerpc/powerpc/syncicache.c (working copy) @@ -50,23 +50,14 @@ void __syncicache(void *from, int len) { - int l, off; - char *p; + char *p, *lim; - off = (u_int)from & (cacheline_size - 1); - l = len += off; - p = (char *)from - off; + p = (char *)((uintptr_t)from & (cacheline_size - 1)); + lim = (char *)from + len; - do { - __asm __volatile ("dcbst 0,%0" :: "r"(p)); - p += cacheline_size; - } while ((l -= cacheline_size) > 0); - __asm __volatile ("sync"); - p = (char *)from - off; - do { + while (p < lim) { __asm __volatile ("icbi 0,%0" :: "r"(p)); p += cacheline_size; - } while ((len -= cacheline_size) > 0); + } __asm __volatile ("sync; isync"); } - I tested a make buildworld/buildkernel and a make release. I can't test the image because I'm having difficulty booting from the CD (I think that's mostly related to using a serial console and none of the standard Open Firmware key combinations works). Can someone try and boot (and preferably go through a real install): http://people.freebsd.org/~marcel/8.0-CURRENT-200905-powerpc-disc1.iso In the mean time, I'll try a make buildworld across NFS to see if we need to implement cpu_flush_dcache() to compensate... -- Marcel Moolenaar xcllnt@mac.com From xcllnt at mac.com Thu May 21 17:37:50 2009 From: xcllnt at mac.com (Marcel Moolenaar) Date: Thu May 21 17:37:56 2009 Subject: [patch] __syncicache: eliminate D-cache flush In-Reply-To: <20090522032558.ETR51534@dommail.onthenet.com.au> References: <20090522032558.ETR51534@dommail.onthenet.com.au> Message-ID: <15E5E194-708A-4FA6-B105-2A85EE8B6982@mac.com> On May 21, 2009, at 10:25 AM, Peter Grehan wrote: > Hi Marcel, > >> I'd like to commit the following change, which basically >> removes the D-cache flush from syncicache. > > Isn't that required so that future instruction fetches will > always pull in the value from memory and not have it sitting > in the d-cache waiting to be flushed ? We make sure that D-caches are flushed elsewhere. On the one hand we have DMA-based I/O, for which the platform guarantees coherency (if not, then busdma(9) fills the gap). On the other hand we have md(4), NFS, etc, which use bcopy(9). For those I recently added cpu_flush_dcache() so that they flush the D-cache explicitly (needed because you sometimes need to flush the D-cache based on the VA used for the copy) At this time cpu_flush_dcache() is not implemented for AIM nor booke. So far it doesn't look like it's needed on my Xserve G4, but the email was to make sure that I have the full picture. We may need to implement cpu_flush_dcache() for G3 or G5 processors... The bottomline is that D-caches are already flushed (if needed) and all we need to do is synchronize the I-cache. FYI, -- Marcel Moolenaar xcllnt@mac.com From grehan at freebsd.org Thu May 21 17:43:19 2009 From: grehan at freebsd.org (Peter Grehan) Date: Thu May 21 17:43:27 2009 Subject: [patch] __syncicache: eliminate D-cache flush Message-ID: <20090522032558.ETR51534@dommail.onthenet.com.au> Hi Marcel, >I'd like to commit the following change, which basically >removes the D-cache flush from syncicache. Isn't that required so that future instruction fetches will always pull in the value from memory and not have it sitting in the d-cache waiting to be flushed ? Or is the d-cache policy always write-through on AIM systems of interest ? later, Peter. From grehan at freebsd.org Thu May 21 18:16:22 2009 From: grehan at freebsd.org (Peter Grehan) Date: Thu May 21 18:16:28 2009 Subject: [patch] __syncicache: eliminate D-cache flush Message-ID: <20090522041619.ETR54808@dommail.onthenet.com.au> Hi Marcel, >We make sure that D-caches are flushed elsewhere. You might want to have a look at the ppc MD run-time linker code to see if the syncicache libc calls aren't necessary. From memory, Xorg's run-time linker also has a syncicache call in it, though if you're not touching the libc version that should be OK. later, Peter. From nwhitehorn at freebsd.org Thu May 21 21:49:59 2009 From: nwhitehorn at freebsd.org (Nathan Whitehorn) Date: Thu May 21 21:50:31 2009 Subject: [patch] __syncicache: eliminate D-cache flush In-Reply-To: <15E5E194-708A-4FA6-B105-2A85EE8B6982@mac.com> References: <20090522032558.ETR51534@dommail.onthenet.com.au> <15E5E194-708A-4FA6-B105-2A85EE8B6982@mac.com> Message-ID: <4A15C63F.60505@freebsd.org> Marcel Moolenaar wrote: > > On May 21, 2009, at 10:25 AM, Peter Grehan wrote: > >> Hi Marcel, >> >>> I'd like to commit the following change, which basically >>> removes the D-cache flush from syncicache. >> >> Isn't that required so that future instruction fetches will >> always pull in the value from memory and not have it sitting >> in the d-cache waiting to be flushed ? > > We make sure that D-caches are flushed elsewhere. On the > one hand we have DMA-based I/O, for which the platform > guarantees coherency (if not, then busdma(9) fills the gap). > On the other hand we have md(4), NFS, etc, which use bcopy(9). > For those I recently added cpu_flush_dcache() so that they > flush the D-cache explicitly (needed because you sometimes > need to flush the D-cache based on the VA used for the copy) > At this time cpu_flush_dcache() is not implemented for AIM > nor booke. So far it doesn't look like it's needed on my > Xserve G4, but the email was to make sure that I have the > full picture. We may need to implement cpu_flush_dcache() > for G3 or G5 processors... I'm currently out of town (working in Germany at DESY Zeuthen), and won't be able to test this on G5s before the 8.0 feature freeze. Does anyone else have a G5 system where this can be tested? -Nathan From raj at semihalf.com Fri May 22 10:21:55 2009 From: raj at semihalf.com (Rafal Jaworowski) Date: Fri May 22 10:22:02 2009 Subject: FreeBSD/powerpc on MPC5200 In-Reply-To: <4A0824E3.8070606@fang.fa.gau.hu> References: <35914876-0CFF-427B-8F80-B1BEEA5A7A18@semihalf.com> <4A0824E3.8070606@fang.fa.gau.hu> Message-ID: On 2009-05-11, at 15:15, Peter Czanik wrote: > Rafal Jaworowski ?rta: >> I'd like to let people know that FreeBSD/powerpc is now able to boot >> into single user on the Freescale MPC5200 system-on-chip (EFIKA >> board). The environment is very simplistic: RAM disk based root fs, >> as >> there's no peripherals drivers besides serial console and the built- >> in >> PIC. See this log: http://people.freebsd.org/~raj/logs/efika.log > Wow, great news! Two questions: > - are there any plans to support additional devices? We don't have immediate plans for other devices drivers, but this basic support will be merged into SVN, and it would be greatly welcome to see people help with remaining items. > - is it possible to download the booted image from somewhere? (So I > could boot my favorite OS on my favorite machine :-) ) Sorry for a delayed answer. You can try the minimalistic kernel +ramdisk from here: http://people.freebsd.org/~raj/misc/efika-kernel.gz - unzip and put onto your TFTP host server - execute from Efika SmartFirmware prompt: boot eth:,efika-kernel, E.g.: boot eth:10.0.0.204,efika-kernel,10.0.2.11 Rafal From andrew at fubar.geek.nz Sat May 23 05:41:36 2009 From: andrew at fubar.geek.nz (Andrew Turner) Date: Sat May 23 05:41:43 2009 Subject: FreeBSD/powerpc on MPC5200 In-Reply-To: References: <35914876-0CFF-427B-8F80-B1BEEA5A7A18@semihalf.com> <4A0824E3.8070606@fang.fa.gau.hu> Message-ID: <20090523172128.2e0a3f2b@fubar.geek.nz> On Fri, 22 May 2009 12:21:01 +0200 Rafal Jaworowski wrote: > > On 2009-05-11, at 15:15, Peter Czanik wrote: > > > Rafal Jaworowski ?rta: > >> I'd like to let people know that FreeBSD/powerpc is now able to > >> boot into single user on the Freescale MPC5200 system-on-chip > >> (EFIKA board). The environment is very simplistic: RAM disk based > >> root fs, as > >> there's no peripherals drivers besides serial console and the > >> built- in > >> PIC. See this log: http://people.freebsd.org/~raj/logs/efika.log > > Wow, great news! Two questions: > > - are there any plans to support additional devices? > > We don't have immediate plans for other devices drivers, but this > basic support will be merged into SVN, and it would be greatly > welcome to see people help with remaining items. Is there a patch available? I would like to get back to working on the EFIKA. Andrew From andreast-list at fgznet.ch Sun May 24 12:48:35 2009 From: andreast-list at fgznet.ch (Andreas Tobler) Date: Sun May 24 12:48:42 2009 Subject: [patch] __syncicache: eliminate D-cache flush In-Reply-To: <6C962FE0-657A-4072-B050-903D54C712D4@mac.com> References: <6C962FE0-657A-4072-B050-903D54C712D4@mac.com> Message-ID: <4A19421F.3090209@fgznet.ch> Hi Marcel, Marcel Moolenaar wrote: > I tested a make buildworld/buildkernel and a make release. I can't > test the image because I'm having difficulty booting from the CD > (I think that's mostly related to using a serial console and none > of the standard Open Firmware key combinations works). > > Can someone try and boot (and preferably go through a real install): > http://people.freebsd.org/~marcel/8.0-CURRENT-200905-powerpc-disc1.iso > > In the mean time, I'll try a make buildworld across NFS to see if > we need to implement cpu_flush_dcache() to compensate... I tried to boot the iso on my iMac DV, 'default catch' when trying to change from of to boot screen. Then I applied the patch to my src tree and had the same issue. The iMac DV details: FreeBSD 8.0-CURRENT #26 r192567M: Fri May 22 14:45:02 CEST 2009 andreast@deuterium_fbsd.andreas.nets:/export/devel/obj/powerpc/export/devel/src/sys/GENERIC cpu0: Motorola PowerPC 750 revision 3.2, 500.00 MHz cpu0: HID0 8090c0a4 real memory = 525922304 (501 MB) avail memory = 506224640 (482 MB) Andreas From raj at semihalf.com Sun May 24 19:15:49 2009 From: raj at semihalf.com (Rafal Jaworowski) Date: Sun May 24 19:15:55 2009 Subject: FreeBSD/powerpc on MPC5200 In-Reply-To: <20090523172128.2e0a3f2b@fubar.geek.nz> References: <35914876-0CFF-427B-8F80-B1BEEA5A7A18@semihalf.com> <4A0824E3.8070606@fang.fa.gau.hu> <20090523172128.2e0a3f2b@fubar.geek.nz> Message-ID: On 2009-05-23, at 07:21, Andrew Turner wrote: > On Fri, 22 May 2009 12:21:01 +0200 > Rafal Jaworowski wrote: >> >> On 2009-05-11, at 15:15, Peter Czanik wrote: >> >>> Rafal Jaworowski ?rta: >>>> I'd like to let people know that FreeBSD/powerpc is now able to >>>> boot into single user on the Freescale MPC5200 system-on-chip >>>> (EFIKA board). The environment is very simplistic: RAM disk based >>>> root fs, as >>>> there's no peripherals drivers besides serial console and the >>>> built- in >>>> PIC. See this log: http://people.freebsd.org/~raj/logs/efika.log >>> Wow, great news! Two questions: >>> - are there any plans to support additional devices? >> >> We don't have immediate plans for other devices drivers, but this >> basic support will be merged into SVN, and it would be greatly >> welcome to see people help with remaining items. > Is there a patch available? I would like to get back to working on the > EFIKA. Preliminary diff against 2009.04.06 HEAD is here: http://people.freebsd.org/~raj/patches/powerpc/efika.diff Comments or questions welcome. Some bits need to be streamlined so that all AIM/OF variations work together, and the code has to be rebased against up-to-date HEAD. Rafal From bugmaster at FreeBSD.org Mon May 25 11:06:59 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon May 25 11:09:07 2009 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200905251106.n4PB6wwe092915@freefall.freebsd.org> Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/133503 ppc Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 7 problems total. From pjmaiya at signal-networks.com Mon May 25 14:39:30 2009 From: pjmaiya at signal-networks.com (P Jagadeesh Maiya) Date: Mon May 25 14:39:38 2009 Subject: Hard disk access Message-ID: <002201c9dd30$aab95090$4d01a8c0@pjmaiya> hi, We are using MPC860 running on monta vista linux3.0. Our products is able to boot using NFS as well as parallel ATA hard disk. Since ATA hard disk almost vanishing, we are forced to use SATA hard disk. For this, we have used parallel IDE to SATA conversion h/w. By booting in NFS, we were able to format the hard disk and also able to copy filesystem image on to hard disk. But when we boot using hard disk system some time hangs in execv(/sbin/init). Very rarely booting happens completely. Some time hard disk file sytem gets corrupted. Following errors occurs: 1. System hangs displaying freeing kernel memory(basically hangs in execv(/sbin/init)) 2. Some time expection arises(message-Bad emulation init/1) 3. Some time boots properly 4. Some time entire filesystem gets corrupted We are running CPU@130Mhz. Find also the attachement for knowing the ouput. Can any one help me to solve this problem?? Thanx in advance. rgds, pjmaiya -------------- next part -------------- Verifying Checksum ... OK Loading image...Done Linux version 2.4.18_mvl30-fads (root@icm1) (gcc version 3.2.1 20020930 (MontaVista)) #256 Mon May 25 12:29:06 IST 2009 On node 0 totalpages: 131072 zone(0): 131072 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/hda1 rw rootpath=/ rtsched version <20011203.1609.50> Decrementer Frequency = 487500000/60 Warning: real time clock seems stuck! Calibrating delay loop... 129.84 BogoMIPS Memory: 514016k available (1440k kernel code, 540k data, 56k init, 0k highmem) Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Disabling the Out Of Memory Killer Journalled Block Device driver loaded JFFS version 1.0, (C) 1999, 2000 Axis Communications AB ICMv1: Version:01.01.01-ICMv1-TAG_NONE-May 25 2009-12:29:13#01.01 CPM UART driver version 0.03 ttyS0 on SMC1 at 0x0280, BRG1 ttyS1 on SMC2 at 0x0380, BRG2 pty: 256 Unix98 ptys configured block: 128 slots per queue, batch=32 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx IDE phys mem : feff0000...feff0200 (size 00000200) hda: probing with STATUS(0x50) instead of ALTSTATUS(0x00) hda: ST9120821AS, ATA DISK drive ide0 at 0xe1000010-0xe1000017,0xe1000020 on irq 12 hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=232581/16/63 Partition check: hda: hda1 hda2 hda3 hda4 < hda5 > eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 8, addr 00:1a:b0:00:01:53 eth0: Phy @ 0x0, type LXT971 (0x001378e2) loop: loaded (max 8 devices) ND_PPP register to nd-ppp device successfully init_icm_mtd: chip probing count 0 Amd/Fujitsu Extended Query Table v1.1 at 0x0040 number of CFI chips: 1 init_icm_mtd: bank1, name:ICM0, size:16777216bytes ICM flash0: Using Static image partition definition Creating 3 MTD partitions on "ICM0": 0x00200000-0x00400000 : "icm-configs" 0x00400000-0x00440000 : "icm-pbx-grp-configs" 0x00440000-0x004c0000 : "icm-pbx-ext-configs" I2C_INIT...:i2c initialization Done NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 131072 bind 65536) eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX. IP-Config: Incomplete network configuration information. NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. CODEC : IDT : $ Codec Driver ,v 1.0 2004/07/20 DTMF : FPGA on irq 10 Failed to Register Codecs CPU Clock speed:130000000SPI : MPC8xx : $ SPI Driver ,v 1.0 2004/07/20 EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem). Freeing unused kernel memory: 56k init -------------- next part -------------- Verifying Checksum ... OK Loading image...Done Linux version 2.4.18_mvl30-fads (root@icm1) (gcc version 3.2.1 20020930 (MontaVista)) #260 Mon May 25 12:48:52 IST 2009 On node 0 totalpages: 131072 zone(0): 131072 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/hda1 rw rootpath=/ rtsched version <20011203.1609.50> Decrementer Frequency = 487500000/60 Warning: real time clock seems stuck! Calibrating delay loop... 129.84 BogoMIPS Memory: 514016k available (1440k kernel code, 540k data, 56k init, 0k highmem) Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Disabling the Out Of Memory Killer Journalled Block Device driver loaded JFFS version 1.0, (C) 1999, 2000 Axis Communications AB ICMv1: Version:01.01.01-ICMv1-TAG_NONE-May 25 2009-12:48:59#01.01 CPM UART driver version 0.03 ttyS0 on SMC1 at 0x0280, BRG1 ttyS1 on SMC2 at 0x0380, BRG2 pty: 256 Unix98 ptys configured block: 128 slots per queue, batch=32 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx IDE phys mem : feff0000...feff0200 (size 00000200) hda: probing with STATUS(0x50) instead of ALTSTATUS(0x00) hda: ST9120821AS, ATA DISK drive ide0 at 0xe1000010-0xe1000017,0xe1000020 on irq 12 SNPL:HD SETUP SNPL:HD CAPCITY hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=232581/16/63 Partition check: hda:SNPL: HDD R/W hda: reading: LBAsect=0, sectors=8, buffer=0xc0b5c000 hda1 hda2 hda3 hda4 eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 8, addr 00:1a:b0:00:01:53 eth0: Phy @ 0x0, type LXT971 (0x001378e2) loop: loaded (max 8 devices) ND_PPP register to nd-ppp device successfully init_icm_mtd: chip probing count 0 Amd/Fujitsu Extended Query Table v1.1 at 0x0040 number of CFI chips: 1 init_icm_mtd: bank1, name:ICM0, size:16777216bytes ICM flash0: Using Static image partition definition Creating 3 MTD partitions on "ICM0": 0x00200000-0x00400000 : "icm-configs" 0x00400000-0x00440000 : "icm-pbx-grp-configs" 0x00440000-0x004c0000 : "icm-pbx-ext-configs" I2C_INIT...:i2c initialization Done NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 131072 bind 65536) eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX. IP-Config: Incomplete network configuration information. NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. CODEC : IDT : $ Codec Driver ,v 1.0 2004/07/20 DTMF : FPGA on irq 10 Failed to Register Codecs CPU Clock speed:130000000SPI : MPC8xx : $ SPI Driver ,v 1.0 2004/07/20 journald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal hda: writing: LBAsect=4231, sectors=8, buffer=0xdfef9000 EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem). Freeing unused kernel memory: 56k init Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd SNPL: HDD R/W hda: writing: LBAsect=4231, sectors=8, buffer=0xdfef9000 Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd SNPL: HDD R/W hda: writing: LBAsect=4239, sectors=24, buffer=0xdfe4b000 SNPL: HDD R/W hda: writing: LBAsect=4263, sectors=8, buffer=0xdfe4a000 Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd Bad emulation init/1 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1 pte @ 0x ff00de4: (0xc01ac0fc)->(0xdfecac00)->0x1fe50889 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1 Kernel VA for NIP dfe50de4 pte @ 0xdfe50de4: no pmd From tinderbox at freebsd.org Tue May 26 13:15:09 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Tue May 26 13:15:16 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090526131504.C71B97302F@freebsd-current.sentex.ca> TB --- 2009-05-26 11:42:43 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-26 11:42:43 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-26 11:42:43 - cleaning the object tree TB --- 2009-05-26 11:43:22 - cvsupping the source tree TB --- 2009-05-26 11:43:22 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-26 11:43:30 - building world TB --- 2009-05-26 11:43:30 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-26 11:43:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-26 11:43:30 - TARGET=powerpc TB --- 2009-05-26 11:43:30 - TARGET_ARCH=powerpc TB --- 2009-05-26 11:43:30 - TZ=UTC TB --- 2009-05-26 11:43:30 - __MAKE_CONF=/dev/null TB --- 2009-05-26 11:43:30 - cd /src TB --- 2009-05-26 11:43:30 - /usr/bin/make -B buildworld >>> World build started on Tue May 26 11:43:32 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue May 26 13:09:47 UTC 2009 TB --- 2009-05-26 13:09:47 - generating LINT kernel config TB --- 2009-05-26 13:09:47 - cd /src/sys/powerpc/conf TB --- 2009-05-26 13:09:47 - /usr/bin/make -B LINT TB --- 2009-05-26 13:09:47 - building LINT kernel TB --- 2009-05-26 13:09:47 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-26 13:09:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-26 13:09:47 - TARGET=powerpc TB --- 2009-05-26 13:09:47 - TARGET_ARCH=powerpc TB --- 2009-05-26 13:09:47 - TZ=UTC TB --- 2009-05-26 13:09:47 - __MAKE_CONF=/dev/null TB --- 2009-05-26 13:09:47 - cd /src TB --- 2009-05-26 13:09:47 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue May 26 13:09:47 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_card.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_core.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_i2c.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_os.c /src/sys/dev/bktr/bktr_os.c: In function 'bktr_attach': /src/sys/dev/bktr/bktr_os.c:473: error: 'SYS_RES_MEM' undeclared (first use in this function) /src/sys/dev/bktr/bktr_os.c:473: error: (Each undeclared identifier is reported only once /src/sys/dev/bktr/bktr_os.c:473: error: for each function it appears in.) *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-26 13:15:04 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-26 13:15:04 - ERROR: failed to build lint kernel TB --- 2009-05-26 13:15:04 - 4319.03 user 419.02 system 5541.05 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From xcllnt at mac.com Tue May 26 17:51:48 2009 From: xcllnt at mac.com (Marcel Moolenaar) Date: Tue May 26 17:51:54 2009 Subject: MPC8555CDS: U-Boot vs loader compatibility Message-ID: All, I think I recently updated the FreeBSD loader on my CDS that has U-Boot version 1.3.2-rc1 on it (yes, that sounds rather fuzzy :-) In any case, the latest PowerPC U-Boot loader is having a problem with netbooting. I see packets being transmitted (BOOTP), but none of the responses seem to arrive at the loader. Then the ARP resolution is attempted, which fails as well. I'm assuming there's an incompatibility between my U-Boot and the loader so I tried building U-Boot on my FreeBSD box, but that's failing due to FDT fodder in tools/mkimage. In short: Linuxisms. So, before I dive into U-Boot build issues and waste my time on that, can someone tell me if I *do* need to upgrade and which U-Boot version (at minimum) I need? Also: did U-Boot grow support to boot from IDE/ATA that's in the VIA chipset on the mainboard? Thanks, -- Marcel Moolenaar xcllnt@mac.com From stephane.potvin at telcobridges.com Tue May 26 18:43:41 2009 From: stephane.potvin at telcobridges.com (Stephane E. Potvin) Date: Tue May 26 18:43:48 2009 Subject: MPC8555CDS: U-Boot vs loader compatibility In-Reply-To: References: Message-ID: <4A1C35F8.7000002@telcobridges.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marcel Moolenaar wrote: > All, > > I think I recently updated the FreeBSD loader on my CDS > that has U-Boot version 1.3.2-rc1 on it (yes, that sounds > rather fuzzy :-) In any case, the latest PowerPC U-Boot > loader is having a problem with netbooting. I see packets > being transmitted (BOOTP), but none of the responses seem > to arrive at the loader. Then the ARP resolution is > attempted, which fails as well. > > I'm assuming there's an incompatibility between my U-Boot > and the loader so I tried building U-Boot on my FreeBSD > box, but that's failing due to FDT fodder in tools/mkimage. > In short: Linuxisms. > > So, before I dive into U-Boot build issues and waste my > time on that, can someone tell me if I *do* need to > upgrade and which U-Boot version (at minimum) I need? > > Also: did U-Boot grow support to boot from IDE/ATA that's > in the VIA chipset on the mainboard? > Hi Marcel, I'm using 1.3.4 with success (on both 8349 and 8379, it should not be making any difference, but YMMV). I'm attaching a patch that I use locally to enable u-boot to build cleanly on FreeBSD with the devel/cross-* ports. Hope this helps Steph -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkocNfYACgkQmdOXtTCX/nusVACgniIxLqPsM7tT5CDFRVCRC4+3 IvMAoOYkT4O7f07GXdApLeZhjMUHf0v2 =Knx+ -----END PGP SIGNATURE----- -------------- next part -------------- commit 257e73a8d19a52b08213fa04a53e5777be6d71a3 Author: Stephane E. Potvin Date: Fri Jan 16 17:19:27 2009 -0500 Add FreeBSD host support Signed-off-by: Stephane E. Potvin diff --git a/include/image.h b/include/image.h index 46138fa..85804ff 100644 --- a/include/image.h +++ b/include/image.h @@ -33,7 +33,13 @@ #ifndef __IMAGE_H__ #define __IMAGE_H__ +#ifdef __FreeBSD__ +#include + +typedef u_long ulong; +#else #include +#endif #include #ifndef USE_HOSTCC diff --git a/include/libfdt_env.h b/include/libfdt_env.h index a7fd2f8..7300edc 100644 --- a/include/libfdt_env.h +++ b/include/libfdt_env.h @@ -30,12 +30,23 @@ #endif /* USE_HOSTCC */ #include +#ifdef __FreeBSD__ +#include +#else #include +#endif extern struct fdt_header *working_fdt; /* Pointer to the working fdt */ +#ifdef __FreeBSD__ +#define fdt32_to_cpu(x) be32toh(x) +#define cpu_to_fdt32(x) htobe32(x) +#define fdt64_to_cpu(x) be64toh(x) +#define cpu_to_fdt64(x) htobe64(x) +#else #define fdt32_to_cpu(x) __be32_to_cpu(x) #define cpu_to_fdt32(x) __cpu_to_be32(x) #define fdt64_to_cpu(x) __be64_to_cpu(x) #define cpu_to_fdt64(x) __cpu_to_be64(x) +#endif #endif /* _LIBFDT_ENV_H */ diff --git a/include/u-boot/md5.h b/include/u-boot/md5.h index 8b44a7f..2a0e665 100644 --- a/include/u-boot/md5.h +++ b/include/u-boot/md5.h @@ -6,7 +6,13 @@ #ifndef _MD5_H #define _MD5_H +#ifdef __FreeBSD__ +#include + +typedef uint32_t __u32; +#else #include +#endif struct MD5Context { __u32 buf[4]; diff --git a/lib_generic/md5.c b/lib_generic/md5.c index 9150510..212a53f 100644 --- a/lib_generic/md5.c +++ b/lib_generic/md5.c @@ -32,7 +32,13 @@ #include #endif /* USE_HOSTCC */ #include +#ifdef __FreeBSD__ +#include + +typedef uint32_t __u32; +#else #include +#endif #include static void commit c166b9f962151c6365e4c81ad1164c2bc12bb625 Author: Stephane E. Potvin Date: Fri Jan 16 12:05:01 2009 -0500 Search for bash under /usr/local/bin also. Signed-off-by: Stephane E. Potvin diff --git a/config.mk b/config.mk index 1dac29b..bbf5bb2 100644 --- a/config.mk +++ b/config.mk @@ -73,7 +73,8 @@ endif CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ else if [ -x /bin/bash ]; then echo /bin/bash; \ - else echo sh; fi ; fi) + else if [ -x /usr/local/bin/bash ]; then echo /usr/local/bin/bash; \ + else echo sh; fi ; fi ; fi) ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc) HOSTCC = cc commit 58601ca2a4dc8cbbd74e13512f61e613c1f2a804 Author: Stephane E. Potvin Date: Fri Jan 16 12:03:36 2009 -0500 Fix the sed expression used to change the source extension to .o to make it work under Solaris and FreeBSD. Signed-off-by: Stephane E. Potvin diff --git a/rules.mk b/rules.mk index a77451b..d35fd8d 100644 --- a/rules.mk +++ b/rules.mk @@ -28,7 +28,7 @@ _depend: $(obj).depend $(obj).depend: $(src)Makefile $(TOPDIR)/config.mk $(SRCS) @rm -f $@ @for f in $(SRCS); do \ - g=`basename $$f | sed -e 's/\(.*\)\.\w/\1.o/'`; \ + g=`basename $$f | sed -e 's/\(.*\)\..*/\1.o/'`; \ $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $(obj)$$g $$f >> $@ ; \ done -------------- next part -------------- A non-text attachment was scrubbed... Name: fbsd_support.diff.sig Type: application/octet-stream Size: 72 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20090526/61a8bd90/fbsd_support.diff.obj From raj at semihalf.com Tue May 26 19:31:44 2009 From: raj at semihalf.com (Rafal Jaworowski) Date: Tue May 26 19:31:51 2009 Subject: MPC8555CDS: U-Boot vs loader compatibility In-Reply-To: References: Message-ID: On 2009-05-26, at 18:50, Marcel Moolenaar wrote: > I think I recently updated the FreeBSD loader on my CDS > that has U-Boot version 1.3.2-rc1 on it (yes, that sounds > rather fuzzy :-) In any case, the latest PowerPC U-Boot > loader is having a problem with netbooting. I see packets > being transmitted (BOOTP), but none of the responses seem > to arrive at the loader. Then the ARP resolution is > attempted, which fails as well. I'll try the latest loader tomorrow and let you know how this work here. Has your U-Boot been modified back then so as to avoid d-cache disabling before passing control to the ELF entry point? (see this patch http://people.freebsd.org/~raj/patches/misc/uboot-dcache-workaround.diff) U-Boot on 85xx does not flush d-cache before disabling it and we have seen strange effects without this workaround. To quickly verify this suspicion please try converting the loader ELF to raw binary and running with 'go' command (the raw binary way should not expose any problems). > I'm assuming there's an incompatibility between my U-Boot > and the loader so I tried building U-Boot on my FreeBSD > box, but that's failing due to FDT fodder in tools/mkimage. > In short: Linuxisms. > > So, before I dive into U-Boot build issues and waste my > time on that, can someone tell me if I *do* need to > upgrade and which U-Boot version (at minimum) I need? > > Also: did U-Boot grow support to boot from IDE/ATA that's > in the VIA chipset on the mainboard? I think there already should be code to handle VIA on CDS, but I never tried this. Beware however that recent U-Boot was kinda unstable on 85xx (when trying some week or two ago it would just hang during 8555 CDS bootup), so have a JTAG debugger handy :-) Rafal From tinderbox at freebsd.org Wed May 27 07:31:16 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Wed May 27 07:31:36 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090527073113.175847302F@freebsd-current.sentex.ca> TB --- 2009-05-27 06:35:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-27 06:35:00 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-27 06:35:00 - cleaning the object tree TB --- 2009-05-27 06:35:36 - cvsupping the source tree TB --- 2009-05-27 06:35:37 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-27 06:35:47 - building world TB --- 2009-05-27 06:35:47 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-27 06:35:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-27 06:35:47 - TARGET=powerpc TB --- 2009-05-27 06:35:47 - TARGET_ARCH=powerpc TB --- 2009-05-27 06:35:47 - TZ=UTC TB --- 2009-05-27 06:35:47 - __MAKE_CONF=/dev/null TB --- 2009-05-27 06:35:47 - cd /src TB --- 2009-05-27 06:35:47 - /usr/bin/make -B buildworld >>> World build started on Wed May 27 06:35:48 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -DNEED_SOLARIS_BOOLEAN -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.sbin/dtrace/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/head -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/lib/libproc/common -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/contrib/opensolaris/compat -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -pthread -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libdtrace -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libproc -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libctf -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../../lib/libelf -o dtrace dtrace.o -ldtrace -ly -ll -lproc -lctf -lelf -lz gzip -cn /src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 > dtrace.1.gz ===> cddl/usr.sbin/lockstat (all) cc -O2 -pipe -DNEED_SOLARIS_BOOLEAN -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.sbin/lockstat/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/head -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/lib/libproc/common -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/contrib/opensolaris/compat -I/src/cddl/usr.sbin/lockstat/../../../sys -DNEED_ERRLOC -g -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c cc1: warnings being treated as errors /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c: In function 'main': /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c:1095: warning: comparison is always true due to limited range of data type /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c:1389: warning: comparison is always true due to limited range of data type *** Error code 1 Stop in /src/cddl/usr.sbin/lockstat. *** Error code 1 Stop in /src/cddl/usr.sbin. *** Error code 1 Stop in /src/cddl. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-27 07:31:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-27 07:31:13 - ERROR: failed to build world TB --- 2009-05-27 07:31:13 - 2389.71 user 270.36 system 3372.85 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Wed May 27 16:38:02 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Wed May 27 16:38:08 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090527163754.1A70A7302F@freebsd-current.sentex.ca> TB --- 2009-05-27 15:45:37 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-27 15:45:37 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-27 15:45:37 - cleaning the object tree TB --- 2009-05-27 15:45:56 - cvsupping the source tree TB --- 2009-05-27 15:45:56 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-27 15:46:11 - building world TB --- 2009-05-27 15:46:11 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-27 15:46:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-27 15:46:11 - TARGET=powerpc TB --- 2009-05-27 15:46:11 - TARGET_ARCH=powerpc TB --- 2009-05-27 15:46:11 - TZ=UTC TB --- 2009-05-27 15:46:11 - __MAKE_CONF=/dev/null TB --- 2009-05-27 15:46:11 - cd /src TB --- 2009-05-27 15:46:11 - /usr/bin/make -B buildworld >>> World build started on Wed May 27 15:46:12 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -DNEED_SOLARIS_BOOLEAN -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.sbin/dtrace/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/head -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/lib/libproc/common -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.sbin/dtrace/../../../sys/cddl/contrib/opensolaris/compat -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -pthread -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libdtrace -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libproc -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../lib/libctf -L/obj/powerpc/src/cddl/usr.sbin/dtrace/../../../lib/libelf -o dtrace dtrace.o -ldtrace -ly -ll -lproc -lctf -lelf -lz gzip -cn /src/cddl/usr.sbin/dtrace/../../../cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 > dtrace.1.gz ===> cddl/usr.sbin/lockstat (all) cc -O2 -pipe -DNEED_SOLARIS_BOOLEAN -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.sbin/lockstat/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/head -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/lib/libproc/common -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.sbin/lockstat/../../../sys/cddl/contrib/opensolaris/compat -I/src/cddl/usr.sbin/lockstat/../../../sys -DNEED_ERRLOC -g -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c cc1: warnings being treated as errors /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c: In function 'main': /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c:1095: warning: comparison is always true due to limited range of data type /src/cddl/usr.sbin/lockstat/../../../cddl/contrib/opensolaris/cmd/lockstat/lockstat.c:1389: warning: comparison is always true due to limited range of data type *** Error code 1 Stop in /src/cddl/usr.sbin/lockstat. *** Error code 1 Stop in /src/cddl/usr.sbin. *** Error code 1 Stop in /src/cddl. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-27 16:37:53 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-27 16:37:53 - ERROR: failed to build world TB --- 2009-05-27 16:37:53 - 2382.46 user 274.62 system 3136.43 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Thu May 28 02:03:32 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Thu May 28 02:03:44 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090528020328.834807302F@freebsd-current.sentex.ca> TB --- 2009-05-28 00:45:19 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-28 00:45:19 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-28 00:45:19 - cleaning the object tree TB --- 2009-05-28 00:45:40 - cvsupping the source tree TB --- 2009-05-28 00:45:40 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-28 00:45:50 - building world TB --- 2009-05-28 00:45:50 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-28 00:45:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-28 00:45:50 - TARGET=powerpc TB --- 2009-05-28 00:45:50 - TARGET_ARCH=powerpc TB --- 2009-05-28 00:45:50 - TZ=UTC TB --- 2009-05-28 00:45:50 - __MAKE_CONF=/dev/null TB --- 2009-05-28 00:45:50 - cd /src TB --- 2009-05-28 00:45:50 - /usr/bin/make -B buildworld >>> World build started on Thu May 28 00:45:51 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc1: warnings being treated as errors /src/usr.bin/ee/../../contrib/ee/ee.c: In function 'out_char': /src/usr.bin/ee/../../contrib/ee/ee.c:957: warning: comparison is always true due to limited range of data type /src/usr.bin/ee/../../contrib/ee/ee.c:961: warning: comparison is always false due to limited range of data type /src/usr.bin/ee/../../contrib/ee/ee.c:967: warning: comparison is always false due to limited range of data type /src/usr.bin/ee/../../contrib/ee/ee.c: In function 'len_char': /src/usr.bin/ee/../../contrib/ee/ee.c:995: warning: comparison is always true due to limited range of data type /src/usr.bin/ee/../../contrib/ee/ee.c:1001: warning: comparison is always false due to limited range of data type *** Error code 1 Stop in /src/usr.bin/ee. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-28 02:03:28 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-28 02:03:28 - ERROR: failed to build world TB --- 2009-05-28 02:03:28 - 3671.91 user 356.38 system 4688.72 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From raj at semihalf.com Thu May 28 14:48:04 2009 From: raj at semihalf.com (Rafal Jaworowski) Date: Thu May 28 14:48:10 2009 Subject: MPC8555CDS: U-Boot vs loader compatibility In-Reply-To: References: Message-ID: On 2009-05-26, at 21:15, Rafal Jaworowski wrote: > On 2009-05-26, at 18:50, Marcel Moolenaar wrote: > >> I think I recently updated the FreeBSD loader on my CDS >> that has U-Boot version 1.3.2-rc1 on it (yes, that sounds >> rather fuzzy :-) In any case, the latest PowerPC U-Boot >> loader is having a problem with netbooting. I see packets >> being transmitted (BOOTP), but none of the responses seem >> to arrive at the loader. Then the ARP resolution is >> attempted, which fails as well. > > I'll try the latest loader tomorrow and let you know how this work > here. I checked a freshly built loader from HEAD and it works fine with U- Boot 2008.10-rc2-00091-g2f4342b. One other random thought: I don't know if you were altering your set- up, but make sure the Ethernet cable is physically connected to the socket, whose MAC address you expect to be recognized/served by DHCP/ BOOTP. U-Boot silently switches to a next phy on the list in search for the active link if the given one is not active, so when the found- to-be active does not match you could observe things like this... Rafal From xcllnt at mac.com Thu May 28 16:45:05 2009 From: xcllnt at mac.com (Marcel Moolenaar) Date: Thu May 28 16:45:12 2009 Subject: MPC8555CDS: U-Boot vs loader compatibility In-Reply-To: References: Message-ID: <86A7A50A-4D6D-4E09-80B8-47E76EB6ADEA@mac.com> On May 28, 2009, at 7:48 AM, Rafal Jaworowski wrote: > > On 2009-05-26, at 21:15, Rafal Jaworowski wrote: > >> On 2009-05-26, at 18:50, Marcel Moolenaar wrote: >> >>> I think I recently updated the FreeBSD loader on my CDS >>> that has U-Boot version 1.3.2-rc1 on it (yes, that sounds >>> rather fuzzy :-) In any case, the latest PowerPC U-Boot >>> loader is having a problem with netbooting. I see packets >>> being transmitted (BOOTP), but none of the responses seem >>> to arrive at the loader. Then the ARP resolution is >>> attempted, which fails as well. >> >> I'll try the latest loader tomorrow and let you know how this work >> here. > > I checked a freshly built loader from HEAD and it works fine with U- > Boot 2008.10-rc2-00091-g2f4342b. > > One other random thought: I don't know if you were altering your set- > up, but make sure the Ethernet cable is physically connected to the > socket, whose MAC address you expect to be recognized/served by DHCP/ > BOOTP. U-Boot silently switches to a next phy on the list in search > for the active link if the given one is not active, so when the > found-to-be active does not match you could observe things like > this... It's not the D-cache disabling that's a problem, nor ethernet connectivity (ping from U-Boot works). I also see packets on the wire that originate from the loader, so it's partially functional. I wonder if packets are being rejected by the loader due to, say, checksum mismatches --- Hmmm, maybe a compiler bug (see below). In any case: I messed things up. I built an invalid U-Boot in the sense that it doesn't have all the commands and now I'm stuck. I need to program a new U-Boot through the ICE (no, the 2nd bank doesn't have a valid U-Boot :-) BTW: I'm building natively on my xserve, so that may introduce the problem for me... -- Marcel Moolenaar xcllnt@mac.com From jrh29 at alumni.cwru.edu Thu May 28 18:10:06 2009 From: jrh29 at alumni.cwru.edu (Justin Hibbits) Date: Thu May 28 18:11:20 2009 Subject: powerpc/133503: Sound stutter after switching ttys Message-ID: <200905281810.n4SIA5LX086684@freefall.freebsd.org> The following reply was made to PR powerpc/133503; it has been noted by GNATS. From: Justin Hibbits To: bug-followup@FreeBSD.org Cc: Subject: Re: powerpc/133503: Sound stutter after switching ttys Date: Thu, 28 May 2009 14:05:00 -0400 --0016e64355e065e31b046afcccbc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit My most recent observations today seem to indicate that all programs with any part of the device open (dsp, mixer) must be closed before the stuttering stops. --0016e64355e065e31b046afcccbc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit My most recent observations today seem to indicate that all programs with any part of the device open (dsp, mixer) must be closed before the stuttering stops.
--0016e64355e065e31b046afcccbc-- From tinderbox at freebsd.org Thu May 28 20:59:04 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Thu May 28 20:59:16 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090528204138.D41537302F@freebsd-current.sentex.ca> TB --- 2009-05-28 20:02:26 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-28 20:02:26 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-28 20:02:26 - cleaning the object tree TB --- 2009-05-28 20:02:59 - cvsupping the source tree TB --- 2009-05-28 20:02:59 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-28 20:03:07 - building world TB --- 2009-05-28 20:03:07 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-28 20:03:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-28 20:03:07 - TARGET=powerpc TB --- 2009-05-28 20:03:07 - TARGET_ARCH=powerpc TB --- 2009-05-28 20:03:07 - TZ=UTC TB --- 2009-05-28 20:03:07 - __MAKE_CONF=/dev/null TB --- 2009-05-28 20:03:07 - cd /src TB --- 2009-05-28 20:03:07 - /usr/bin/make -B buildworld >>> World build started on Thu May 28 20:03:09 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] building static ugidfw library ranlib libugidfw.a cc -fpic -DPIC -O2 -pipe -std=gnu99 -fstack-protector -c /src/lib/libugidfw/ugidfw.c -o ugidfw.So building shared library libugidfw.so.3 ===> lib/libusbhid (all) cc -O2 -pipe -std=gnu99 -fstack-protector -c /src/lib/libusbhid/descr.c /src/lib/libusbhid/descr.c: In function 'hid_get_report_desc': /src/lib/libusbhid/descr.c:79: error: storage size of 'ugd' isn't known *** Error code 1 Stop in /src/lib/libusbhid. *** Error code 1 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-28 20:41:38 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-28 20:41:38 - ERROR: failed to build world TB --- 2009-05-28 20:41:38 - 1837.41 user 191.90 system 2352.61 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Fri May 29 05:41:50 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Fri May 29 05:42:08 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090529054146.9004F7302F@freebsd-current.sentex.ca> TB --- 2009-05-29 04:13:20 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-29 04:13:20 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-29 04:13:20 - cleaning the object tree TB --- 2009-05-29 04:13:35 - cvsupping the source tree TB --- 2009-05-29 04:13:35 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-29 04:13:42 - building world TB --- 2009-05-29 04:13:42 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-29 04:13:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-29 04:13:42 - TARGET=powerpc TB --- 2009-05-29 04:13:42 - TARGET_ARCH=powerpc TB --- 2009-05-29 04:13:42 - TZ=UTC TB --- 2009-05-29 04:13:42 - __MAKE_CONF=/dev/null TB --- 2009-05-29 04:13:42 - cd /src TB --- 2009-05-29 04:13:42 - /usr/bin/make -B buildworld >>> World build started on Fri May 29 04:13:43 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri May 29 05:39:21 UTC 2009 TB --- 2009-05-29 05:39:21 - generating LINT kernel config TB --- 2009-05-29 05:39:21 - cd /src/sys/powerpc/conf TB --- 2009-05-29 05:39:21 - /usr/bin/make -B LINT TB --- 2009-05-29 05:39:21 - building LINT kernel TB --- 2009-05-29 05:39:21 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-29 05:39:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-29 05:39:21 - TARGET=powerpc TB --- 2009-05-29 05:39:21 - TARGET_ARCH=powerpc TB --- 2009-05-29 05:39:21 - TZ=UTC TB --- 2009-05-29 05:39:21 - __MAKE_CONF=/dev/null TB --- 2009-05-29 05:39:21 - cd /src TB --- 2009-05-29 05:39:21 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 29 05:39:21 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/ofw/ofw_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/powerpc/powerpc/mmu_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/powerpc/powerpc/pic_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/powerpc/powerpc/platform_if.m -h rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -I/src/sys/contrib/opensolaris/compat -I/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector /src/sys/kern/kern_sx.c:39:29: error: opt_adaptive_sx.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-29 05:41:46 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-29 05:41:46 - ERROR: failed to build lint kernel TB --- 2009-05-29 05:41:46 - 4173.23 user 400.35 system 5305.68 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From xcllnt at mac.com Sat May 30 19:38:12 2009 From: xcllnt at mac.com (Marcel Moolenaar) Date: Sat May 30 19:38:19 2009 Subject: MPC8555CDS: U-Boot vs loader compatibility In-Reply-To: References: Message-ID: <0B237AD8-FC97-4264-9A39-E4C266633E7F@mac.com> On May 28, 2009, at 7:48 AM, Rafal Jaworowski wrote: > > On 2009-05-26, at 21:15, Rafal Jaworowski wrote: > >> On 2009-05-26, at 18:50, Marcel Moolenaar wrote: >> >>> I think I recently updated the FreeBSD loader on my CDS >>> that has U-Boot version 1.3.2-rc1 on it (yes, that sounds >>> rather fuzzy :-) In any case, the latest PowerPC U-Boot >>> loader is having a problem with netbooting. I see packets >>> being transmitted (BOOTP), but none of the responses seem >>> to arrive at the loader. Then the ARP resolution is >>> attempted, which fails as well. >> >> I'll try the latest loader tomorrow and let you know how this work >> here. > > I checked a freshly built loader from HEAD and it works fine with U- > Boot 2008.10-rc2-00091-g2f4342b. Ok, the problem is this: when packets arrive on the interface that are larger than the buffer being passed to U-Boot from the loader, then the eth_receive returns -1 and leaves the packet saved. The next call to eth_receive(0 will find that same packet and can fail for the exact same reason. A typical scenario is the loader doing ARP with a buffer of 66 bytes. The end result is that the ARP will fail and the loader panics. This obviously depends on the amount and kind of traffic on the LAN in question... The following U-Boot patch fixes the problem (against 1.3.4): diff -u u-boot-1.3.4-orig/net/eth.c u-boot-1.3.4-local/net/eth.c --- u-boot-1.3.4-orig/net/eth.c 2008-08-12 07:08:38.000000000 -0700 +++ u-boot-1.3.4-local/net/eth.c 2009-05-30 12:19:20.000000000 -0700 @@ -526,10 +526,7 @@ return -1; } - if (length < eth_rcv_bufs[eth_rcv_current].length) - return -1; - - length = eth_rcv_bufs[eth_rcv_current].length; + length = min(length, eth_rcv_bufs[eth_rcv_current].length); for (i = 0; i < length; i++) p[i] = eth_rcv_bufs[eth_rcv_current].data[i]; FYI, -- Marcel Moolenaar xcllnt@mac.com From tinderbox at freebsd.org Sun May 31 15:11:25 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Sun May 31 15:11:42 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090531151121.9CA817302F@freebsd-current.sentex.ca> TB --- 2009-05-31 13:53:34 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-31 13:53:34 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-31 13:53:34 - cleaning the object tree TB --- 2009-05-31 13:54:03 - cvsupping the source tree TB --- 2009-05-31 13:54:03 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-31 13:54:29 - building world TB --- 2009-05-31 13:54:29 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-31 13:54:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-31 13:54:29 - TARGET=powerpc TB --- 2009-05-31 13:54:29 - TARGET_ARCH=powerpc TB --- 2009-05-31 13:54:29 - TZ=UTC TB --- 2009-05-31 13:54:29 - __MAKE_CONF=/dev/null TB --- 2009-05-31 13:54:29 - cd /src TB --- 2009-05-31 13:54:29 - /usr/bin/make -B buildworld >>> World build started on Sun May 31 13:54:33 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] gzip -cn /src/usr.bin/jot/jot.1 > jot.1.gz ===> usr.bin/kdump (all) cc -O2 -pipe -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. -std=gnu99 -fstack-protector -c /src/usr.bin/kdump/kdump.c cc -O2 -pipe -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. -std=gnu99 -fstack-protector -c ioctl.c ioctl.c: In function 'ioctlname': ioctl.c:153: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' ioctl.c:187: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' ioctl.c:2609: error: invalid application of 'sizeof' to incomplete type 'struct vi_req' *** Error code 1 Stop in /src/usr.bin/kdump. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-31 15:11:21 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-31 15:11:21 - ERROR: failed to build world TB --- 2009-05-31 15:11:21 - 3690.01 user 355.28 system 4667.29 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Sun May 31 21:49:33 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Sun May 31 21:49:45 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <20090531214930.650A47302F@freebsd-current.sentex.ca> TB --- 2009-05-31 20:11:49 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-31 20:11:49 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-31 20:11:49 - cleaning the object tree TB --- 2009-05-31 20:12:04 - cvsupping the source tree TB --- 2009-05-31 20:12:04 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-31 20:12:13 - building world TB --- 2009-05-31 20:12:13 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-31 20:12:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-31 20:12:13 - TARGET=powerpc TB --- 2009-05-31 20:12:13 - TARGET_ARCH=powerpc TB --- 2009-05-31 20:12:13 - TZ=UTC TB --- 2009-05-31 20:12:13 - __MAKE_CONF=/dev/null TB --- 2009-05-31 20:12:13 - cd /src TB --- 2009-05-31 20:12:13 - /usr/bin/make -B buildworld >>> World build started on Sun May 31 20:12:14 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun May 31 21:37:41 UTC 2009 TB --- 2009-05-31 21:37:41 - generating LINT kernel config TB --- 2009-05-31 21:37:41 - cd /src/sys/powerpc/conf TB --- 2009-05-31 21:37:41 - /usr/bin/make -B LINT TB --- 2009-05-31 21:37:42 - building LINT kernel TB --- 2009-05-31 21:37:42 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-31 21:37:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-31 21:37:42 - TARGET=powerpc TB --- 2009-05-31 21:37:42 - TARGET_ARCH=powerpc TB --- 2009-05-31 21:37:42 - TZ=UTC TB --- 2009-05-31 21:37:42 - __MAKE_CONF=/dev/null TB --- 2009-05-31 21:37:42 - cd /src TB --- 2009-05-31 21:37:42 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun May 31 21:37:42 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/kern/vfs_cache.c /src/sys/kern/vfs_cache.c: In function 'vn_vptocnp_locked': /src/sys/kern/vfs_cache.c:1075: error: 'startvp' undeclared (first use in this function) /src/sys/kern/vfs_cache.c:1075: error: (Each undeclared identifier is reported only once /src/sys/kern/vfs_cache.c:1075: error: for each function it appears in.) /src/sys/kern/vfs_cache.c: In function 'vn_fullpath1': /src/sys/kern/vfs_cache.c:1180: error: 'fullpath' undeclared (first use in this function) /src/sys/kern/vfs_cache.c:1189: error: invalid type argument of 'unary *' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-31 21:49:30 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-31 21:49:30 - ERROR: failed to build lint kernel TB --- 2009-05-31 21:49:30 - 4660.90 user 430.15 system 5860.25 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full