From eltrich.riley at gmail.com Sat Sep 5 04:40:04 2009 From: eltrich.riley at gmail.com (Riley Eltrich) Date: Sat Sep 5 04:40:25 2009 Subject: powerpc/138543: No driver for stock Adaptec brand scsi controller from Apple Message-ID: <200909050432.n854WvVA045892@www.freebsd.org> >Number: 138543 >Category: powerpc >Synopsis: No driver for stock Adaptec brand scsi controller from Apple >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 05 04:40:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Riley Eltrich >Release: 7.2 >Organization: N/A >Environment: cant actually install without driver :) >Description: there seems to be no support for the scsi addon card that was a stock part in the Blue/White Powermac G3 Adaptec AHA-2940U2/U2W (rev 01) >How-To-Repeat: boot it on a G3 with the unsupported scsi card unless I just have no idea what I am doing (real possibility) >Fix: >Release-Note: >Audit-Trail: >Unformatted: From bugmaster at FreeBSD.org Mon Sep 7 11:07:06 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 7 11:09:18 2009 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200909071107.n87B75A9010339@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/138543 ppc No driver for stock Adaptec brand scsi controller from o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] 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. 9 problems total. From jhb at freebsd.org Wed Sep 9 17:16:34 2009 From: jhb at freebsd.org (John Baldwin) Date: Wed Sep 9 17:16:40 2009 Subject: powerpc/138543: No driver for stock Adaptec brand scsi controller from Apple In-Reply-To: <200909050432.n854WvVA045892@www.freebsd.org> References: <200909050432.n854WvVA045892@www.freebsd.org> Message-ID: <200909091310.39073.jhb@freebsd.org> On Saturday 05 September 2009 12:32:57 am Riley Eltrich wrote: > > >Number: 138543 > >Category: powerpc > >Synopsis: No driver for stock Adaptec brand scsi controller from Apple > >Confidential: no > >Severity: serious > >Priority: low > >Responsible: freebsd-ppc > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Sat Sep 05 04:40:03 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Riley Eltrich > >Release: 7.2 > >Organization: > N/A > >Environment: > cant actually install without driver :) > >Description: > there seems to be no support for the scsi addon card that was a stock part in the Blue/White Powermac G3 > > Adaptec AHA-2940U2/U2W (rev 01) > >How-To-Repeat: > boot it on a G3 with the unsupported scsi card unless I just have no idea what I am doing (real possibility) I believe ahc(4) supports all the 2940 parts? -- John Baldwin From jhb at freebsd.org Wed Sep 9 17:20:03 2009 From: jhb at freebsd.org (John Baldwin) Date: Wed Sep 9 17:20:10 2009 Subject: powerpc/138543: No driver for stock Adaptec brand scsi controller from Apple Message-ID: <200909091720.n89HK2lG086140@freefall.freebsd.org> The following reply was made to PR powerpc/138543; it has been noted by GNATS. From: John Baldwin To: freebsd-ppc@freebsd.org Cc: Riley Eltrich , freebsd-gnats-submit@freebsd.org Subject: Re: powerpc/138543: No driver for stock Adaptec brand scsi controller from Apple Date: Wed, 9 Sep 2009 13:10:38 -0400 On Saturday 05 September 2009 12:32:57 am Riley Eltrich wrote: > > >Number: 138543 > >Category: powerpc > >Synopsis: No driver for stock Adaptec brand scsi controller from Apple > >Confidential: no > >Severity: serious > >Priority: low > >Responsible: freebsd-ppc > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Sat Sep 05 04:40:03 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Riley Eltrich > >Release: 7.2 > >Organization: > N/A > >Environment: > cant actually install without driver :) > >Description: > there seems to be no support for the scsi addon card that was a stock part in the Blue/White Powermac G3 > > Adaptec AHA-2940U2/U2W (rev 01) > >How-To-Repeat: > boot it on a G3 with the unsupported scsi card unless I just have no idea what I am doing (real possibility) I believe ahc(4) supports all the 2940 parts? -- John Baldwin From nwhitehorn at freebsd.org Wed Sep 9 18:48:09 2009 From: nwhitehorn at freebsd.org (Nathan Whitehorn) Date: Wed Sep 9 18:48:41 2009 Subject: powerpc/138543: No driver for stock Adaptec brand scsi controller from Apple In-Reply-To: <200909091310.39073.jhb@freebsd.org> References: <200909050432.n854WvVA045892@www.freebsd.org> <200909091310.39073.jhb@freebsd.org> Message-ID: <4AA7F09A.50707@freebsd.org> John Baldwin wrote: > On Saturday 05 September 2009 12:32:57 am Riley Eltrich wrote: > >>> Number: 138543 >>> Category: powerpc >>> Synopsis: No driver for stock Adaptec brand scsi controller from >>> > Apple > >>> Confidential: no >>> Severity: serious >>> Priority: low >>> Responsible: freebsd-ppc >>> State: open >>> Quarter: >>> Keywords: >>> Date-Required: >>> Class: change-request >>> Submitter-Id: current-users >>> Arrival-Date: Sat Sep 05 04:40:03 UTC 2009 >>> Closed-Date: >>> Last-Modified: >>> Originator: Riley Eltrich >>> Release: 7.2 >>> Organization: >>> >> N/A >> >>> Environment: >>> >> cant actually install without driver :) >> >>> Description: >>> >> there seems to be no support for the scsi addon card that was a stock part >> > in the Blue/White Powermac G3 > >> Adaptec AHA-2940U2/U2W (rev 01) >> >>> How-To-Repeat: >>> >> boot it on a G3 with the unsupported scsi card unless I just have no idea >> > what I am doing (real possibility) > > I believe ahc(4) supports all the 2940 parts? > > It does. Given that Apple (as far as I am aware) shipped machines with ahc, isp, and mpt controllers, I think these drivers should be in GENERIC so that people can install onto disks without surprises. Any objections to adding ahc, isp, mpt, and sym to GENERIC? -Nathan From nwhitehorn at freebsd.org Wed Sep 9 18:50:07 2009 From: nwhitehorn at freebsd.org (Nathan Whitehorn) Date: Wed Sep 9 18:50:17 2009 Subject: powerpc/138543: No driver for stock Adaptec brand scsi controller from Apple Message-ID: <200909091850.n89Io7vW076094@freefall.freebsd.org> The following reply was made to PR powerpc/138543; it has been noted by GNATS. From: Nathan Whitehorn To: John Baldwin Cc: freebsd-ppc@freebsd.org, Riley Eltrich , freebsd-gnats-submit@freebsd.org Subject: Re: powerpc/138543: No driver for stock Adaptec brand scsi controller from Apple Date: Wed, 09 Sep 2009 13:14:50 -0500 John Baldwin wrote: > On Saturday 05 September 2009 12:32:57 am Riley Eltrich wrote: > >>> Number: 138543 >>> Category: powerpc >>> Synopsis: No driver for stock Adaptec brand scsi controller from >>> > Apple > >>> Confidential: no >>> Severity: serious >>> Priority: low >>> Responsible: freebsd-ppc >>> State: open >>> Quarter: >>> Keywords: >>> Date-Required: >>> Class: change-request >>> Submitter-Id: current-users >>> Arrival-Date: Sat Sep 05 04:40:03 UTC 2009 >>> Closed-Date: >>> Last-Modified: >>> Originator: Riley Eltrich >>> Release: 7.2 >>> Organization: >>> >> N/A >> >>> Environment: >>> >> cant actually install without driver :) >> >>> Description: >>> >> there seems to be no support for the scsi addon card that was a stock part >> > in the Blue/White Powermac G3 > >> Adaptec AHA-2940U2/U2W (rev 01) >> >>> How-To-Repeat: >>> >> boot it on a G3 with the unsupported scsi card unless I just have no idea >> > what I am doing (real possibility) > > I believe ahc(4) supports all the 2940 parts? > > It does. Given that Apple (as far as I am aware) shipped machines with ahc, isp, and mpt controllers, I think these drivers should be in GENERIC so that people can install onto disks without surprises. Any objections to adding ahc, isp, mpt, and sym to GENERIC? -Nathan From dfilter at FreeBSD.ORG Thu Sep 10 21:30:04 2009 From: dfilter at FreeBSD.ORG (dfilter service) Date: Thu Sep 10 21:30:11 2009 Subject: powerpc/138543: commit references a PR Message-ID: <200909102130.n8ALU4rj029689@freefall.freebsd.org> The following reply was made to PR powerpc/138543; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: powerpc/138543: commit references a PR Date: Thu, 10 Sep 2009 21:25:19 +0000 (UTC) Author: nwhitehorn Date: Thu Sep 10 21:25:05 2009 New Revision: 197080 URL: http://svn.freebsd.org/changeset/base/197080 Log: Add a few SCSI controllers to GENERIC that can be found on Powermacs. This allows installation onto SCSI disks as shipped, for example, with the Powermac G3. PR: powerpc/138543 Obtained from: sparc64 MFC after: 3 days Modified: head/sys/powerpc/conf/GENERIC Modified: head/sys/powerpc/conf/GENERIC ============================================================================== --- head/sys/powerpc/conf/GENERIC Thu Sep 10 21:16:26 2009 (r197079) +++ head/sys/powerpc/conf/GENERIC Thu Sep 10 21:25:05 2009 (r197080) @@ -91,6 +91,16 @@ device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives +# SCSI Controllers +device ahc # AHA2940 and onboard AIC7xxx devices +options AHC_ALLOW_MEMIO # Attempt to use memory mapped I/O +options AHC_REG_PRETTY_PRINT # Print register bitfields in debug + # output. Adds ~128k to driver. +device isp # Qlogic family +device ispfw # Firmware module for Qlogic host adapters +device mpt # LSI-Logic MPT-Fusion +device sym # NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D + # SCSI peripherals device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) @@ -127,6 +137,7 @@ device md # Memory "disks" device ofwd # Open Firmware disks device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying/(translation) +device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From tinderbox at freebsd.org Thu Sep 10 22:15:51 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Thu Sep 10 22:16:10 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <200909102215.n8AMFoqF093583@freebsd-current.sentex.ca> TB --- 2009-09-10 21:05:58 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-09-10 21:05:58 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-09-10 21:05:58 - cleaning the object tree TB --- 2009-09-10 21:06:07 - cvsupping the source tree TB --- 2009-09-10 21:06:07 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-09-10 21:06:40 - building world TB --- 2009-09-10 21:06:40 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-10 21:06:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-10 21:06:40 - TARGET=powerpc TB --- 2009-09-10 21:06:40 - TARGET_ARCH=powerpc TB --- 2009-09-10 21:06:40 - TZ=UTC TB --- 2009-09-10 21:06:40 - __MAKE_CONF=/dev/null TB --- 2009-09-10 21:06:40 - cd /src TB --- 2009-09-10 21:06:40 - /usr/bin/make -B buildworld >>> World build started on Thu Sep 10 21:06:40 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 Sep 10 22:12:16 UTC 2009 TB --- 2009-09-10 22:12:16 - generating LINT kernel config TB --- 2009-09-10 22:12:16 - cd /src/sys/powerpc/conf TB --- 2009-09-10 22:12:16 - /usr/bin/make -B LINT TB --- 2009-09-10 22:12:16 - building LINT kernel TB --- 2009-09-10 22:12:16 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-10 22:12:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-10 22:12:16 - TARGET=powerpc TB --- 2009-09-10 22:12:16 - TARGET_ARCH=powerpc TB --- 2009-09-10 22:12:16 - TZ=UTC TB --- 2009-09-10 22:12:16 - __MAKE_CONF=/dev/null TB --- 2009-09-10 22:12:16 - cd /src TB --- 2009-09-10 22:12:16 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Sep 10 22:12:16 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/dpt/dpt_pci.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/dpt/dpt_scsi.c awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/eisa/eisa_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 eisa_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/e1000/if_em.c -I/src/sys/dev/e1000 cc1: warnings being treated as errors /src/sys/dev/e1000/if_em.c: In function 'em_mq_start_locked': /src/sys/dev/e1000/if_em.c:1037: warning: suggest parentheses around assignment used as truth value /src/sys/dev/e1000/if_em.c:1067: warning: suggest parentheses around assignment used as truth value *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-09-10 22:15:50 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-09-10 22:15:50 - ERROR: failed to build lint kernel TB --- 2009-09-10 22:15:50 - 2926.18 user 446.68 system 4191.55 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From bugmaster at FreeBSD.org Mon Sep 14 11:07:06 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 14 11:09:05 2009 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200909141107.n8EB75wc072440@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/138543 ppc No driver for stock Adaptec brand scsi controller from o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] 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. 9 problems total. From nwhitehorn at FreeBSD.org Sat Sep 19 01:56:16 2009 From: nwhitehorn at FreeBSD.org (nwhitehorn@FreeBSD.org) Date: Sat Sep 19 01:56:22 2009 Subject: powerpc/138543: No driver for stock Adaptec brand scsi controller from Apple Message-ID: <200909190156.n8J1uFTm021375@freefall.freebsd.org> Synopsis: No driver for stock Adaptec brand scsi controller from Apple State-Changed-From-To: open->closed State-Changed-By: nwhitehorn State-Changed-When: Sat Sep 19 01:54:25 UTC 2009 State-Changed-Why: ahc(4) driver has been added to GENERIC with revision 197080, and will also be in 8.0-RELEASE, along with some other common SCSI controllers. Thanks for the report! http://www.freebsd.org/cgi/query-pr.cgi?pr=138543 From dfilter at FreeBSD.ORG Sat Sep 19 02:00:04 2009 From: dfilter at FreeBSD.ORG (dfilter service) Date: Sat Sep 19 02:00:10 2009 Subject: powerpc/138543: commit references a PR Message-ID: <200909190200.n8J204QD021503@freefall.freebsd.org> The following reply was made to PR powerpc/138543; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: powerpc/138543: commit references a PR Date: Sat, 19 Sep 2009 01:49:55 +0000 (UTC) Author: nwhitehorn Date: Sat Sep 19 01:49:36 2009 New Revision: 197321 URL: http://svn.freebsd.org/changeset/base/197321 Log: MFC r197080 Add a few SCSI controllers to GENERIC that can be found in Powermacs. This allows installation onto SCSI disks as shipped, for example, as an option with the Powermac G3. PR: powerpc/138543 Reviewed by: grehan Approved by: re (kib) Obtained from: sparc64 Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/ciss/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) stable/8/sys/powerpc/conf/GENERIC Modified: stable/8/sys/powerpc/conf/GENERIC ============================================================================== --- stable/8/sys/powerpc/conf/GENERIC Sat Sep 19 01:48:12 2009 (r197320) +++ stable/8/sys/powerpc/conf/GENERIC Sat Sep 19 01:49:36 2009 (r197321) @@ -83,6 +83,16 @@ device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives +# SCSI Controllers +device ahc # AHA2940 and onboard AIC7xxx devices +options AHC_ALLOW_MEMIO # Attempt to use memory mapped I/O +options AHC_REG_PRETTY_PRINT # Print register bitfields in debug + # output. Adds ~128k to driver. +device isp # Qlogic family +device ispfw # Firmware module for Qlogic host adapters +device mpt # LSI-Logic MPT-Fusion +device sym # NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D + # SCSI peripherals device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) @@ -119,6 +129,7 @@ device md # Memory "disks" device ofwd # Open Firmware disks device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying/(translation) +device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From andreast-list at fgznet.ch Sun Sep 20 20:54:09 2009 From: andreast-list at fgznet.ch (Andreas Tobler) Date: Sun Sep 20 20:54:16 2009 Subject: thunderbird port Message-ID: <4AB6966E.60808@fgznet.ch> Hi all, in case someone is interested.... http://lists.freebsd.org/pipermail/freebsd-gecko/2009-September/000341.html Thanks, Andreas From bugmaster at FreeBSD.org Mon Sep 21 11:07:02 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 21 11:09:08 2009 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200909211107.n8LB71VB030379@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/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] 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. 8 problems total. From tinderbox at freebsd.org Mon Sep 21 11:13:36 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Sep 21 11:13:46 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <200909211113.n8LBDZCI066682@freebsd-current.sentex.ca> TB --- 2009-09-21 09:58:13 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-09-21 09:58:13 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-09-21 09:58:13 - cleaning the object tree TB --- 2009-09-21 09:58:40 - cvsupping the source tree TB --- 2009-09-21 09:58:40 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-09-21 09:59:34 - building world TB --- 2009-09-21 09:59:34 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-21 09:59:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-21 09:59:34 - TARGET=powerpc TB --- 2009-09-21 09:59:34 - TARGET_ARCH=powerpc TB --- 2009-09-21 09:59:34 - TZ=UTC TB --- 2009-09-21 09:59:34 - __MAKE_CONF=/dev/null TB --- 2009-09-21 09:59:34 - cd /src TB --- 2009-09-21 09:59:34 - /usr/bin/make -B buildworld >>> World build started on Mon Sep 21 09:59: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 Mon Sep 21 11:13:23 UTC 2009 TB --- 2009-09-21 11:13:23 - generating LINT kernel config TB --- 2009-09-21 11:13:23 - cd /src/sys/powerpc/conf TB --- 2009-09-21 11:13:23 - /usr/bin/make -B LINT TB --- 2009-09-21 11:13:23 - building LINT kernel TB --- 2009-09-21 11:13:23 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-21 11:13:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-21 11:13:23 - TARGET=powerpc TB --- 2009-09-21 11:13:23 - TARGET_ARCH=powerpc TB --- 2009-09-21 11:13:23 - TZ=UTC TB --- 2009-09-21 11:13:23 - __MAKE_CONF=/dev/null TB --- 2009-09-21 11:13:23 - cd /src TB --- 2009-09-21 11:13:23 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Sep 21 11:13:23 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree [...] rm -f @ machine rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> wlan_xauth (cleandir) rm -f export_syms wlan_xauth.ko wlan_xauth.kld ieee80211_xauth.o opt_wlan.h rm -f @ machine rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> x86bios (cleandir) cd: can't cd to /src/sys/modules/x86bios *** Error code 2 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-09-21 11:13:35 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-09-21 11:13:35 - ERROR: failed to build lint kernel TB --- 2009-09-21 11:13:35 - 2760.70 user 403.52 system 4521.91 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From tinderbox at freebsd.org Mon Sep 21 19:30:02 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Sep 21 19:30:14 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <200909211930.n8LJU0eI022552@freebsd-current.sentex.ca> TB --- 2009-09-21 18:08:06 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-09-21 18:08:06 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-09-21 18:08:06 - cleaning the object tree TB --- 2009-09-21 18:08:21 - cvsupping the source tree TB --- 2009-09-21 18:08:21 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-09-21 18:09:07 - building world TB --- 2009-09-21 18:09:07 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-21 18:09:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-21 18:09:07 - TARGET=powerpc TB --- 2009-09-21 18:09:07 - TARGET_ARCH=powerpc TB --- 2009-09-21 18:09:07 - TZ=UTC TB --- 2009-09-21 18:09:07 - __MAKE_CONF=/dev/null TB --- 2009-09-21 18:09:07 - cd /src TB --- 2009-09-21 18:09:07 - /usr/bin/make -B buildworld >>> World build started on Mon Sep 21 18:09:08 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 Mon Sep 21 19:18:44 UTC 2009 TB --- 2009-09-21 19:18:44 - generating LINT kernel config TB --- 2009-09-21 19:18:44 - cd /src/sys/powerpc/conf TB --- 2009-09-21 19:18:44 - /usr/bin/make -B LINT TB --- 2009-09-21 19:18:45 - building LINT kernel TB --- 2009-09-21 19:18:45 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-21 19:18:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-21 19:18:45 - TARGET=powerpc TB --- 2009-09-21 19:18:45 - TARGET_ARCH=powerpc TB --- 2009-09-21 19:18:45 - TZ=UTC TB --- 2009-09-21 19:18:45 - __MAKE_CONF=/dev/null TB --- 2009-09-21 19:18:45 - cd /src TB --- 2009-09-21 19:18:45 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Sep 21 19:18:45 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 [...] /src/sys/dev/x86bios/x86bios.c:80: warning: nested extern declaration of 'outw' /src/sys/dev/x86bios/x86bios.c: In function 'vm86_emu_outl': /src/sys/dev/x86bios/x86bios.c:88: warning: implicit declaration of function 'outl' /src/sys/dev/x86bios/x86bios.c:88: warning: nested extern declaration of 'outl' /src/sys/dev/x86bios/x86bios.c: In function 'x86bios_init': /src/sys/dev/x86bios/x86bios.c:158: warning: implicit declaration of function 'pmap_mapbios' /src/sys/dev/x86bios/x86bios.c:158: warning: nested extern declaration of 'pmap_mapbios' /src/sys/dev/x86bios/x86bios.c:158: warning: assignment makes pointer from integer 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-09-21 19:30:00 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-09-21 19:30:00 - ERROR: failed to build lint kernel TB --- 2009-09-21 19:30:00 - 3311.39 user 460.29 system 4913.95 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From grehan at freebsd.org Wed Sep 23 15:41:22 2009 From: grehan at freebsd.org (Peter Grehan) Date: Wed Sep 23 15:41:28 2009 Subject: thunderbird port In-Reply-To: <4AB6966E.60808@fgznet.ch> References: <4AB6966E.60808@fgznet.ch> Message-ID: <4ABA415F.9060800@freebsd.org> > in case someone is interested.... Certainly am ! I'll give it a try. later, Peter. From andreast-list at fgznet.ch Wed Sep 23 21:05:02 2009 From: andreast-list at fgznet.ch (Andreas Tobler) Date: Wed Sep 23 21:05:08 2009 Subject: thunderbird port In-Reply-To: <4ABA415F.9060800@freebsd.org> References: <4AB6966E.60808@fgznet.ch> <4ABA415F.9060800@freebsd.org> Message-ID: <4ABA8D7B.8070706@fgznet.ch> Hi Peter, Peter Grehan wrote: >> in case someone is interested.... > > Certainly am ! I'll give it a try. Please follow the thread, http://lists.freebsd.org/pipermail/freebsd-gecko/2009-September/000350.html The bsd.gecko.mk is not needed for this build if you apply the above patch to the toplevel Makefile in thunderbird. Btw, firefox35 should also build and run. Already committed to ports by beat. Thanks, Andreas From ross at grinz.com Fri Sep 25 13:07:03 2009 From: ross at grinz.com (Ross Gohlke) Date: Fri Sep 25 13:07:09 2009 Subject: OpenFirmware settings on running system In-Reply-To: <491B18F3.4010900@grinz.com> References: <48DD91A4.2060306@freebsd.org> <491B18F3.4010900@grinz.com> Message-ID: <4ABCBCBC.30309@grinz.com> It's time for my annual attempt at a working SMP Xserve. (http://lists.freebsd.org/pipermail/freebsd-ppc/2008-November/003362.html) So far so good: % dmesg ... FreeBSD 8.0-BETA2 #0: Sun Sep 20 19:58:58 CDT 2009 root@rorty:/usr/obj/usr/src/sys/GENERIC_TUNED cpu0: Motorola PowerPC 7455 revision 2.1, 1000.06 MHz cpu0: HID0 8450c0bc real memory = 2135805952 (2036 MB) avail memory = 2068119552 (1972 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: dev=ff87f908 (BSP) cpu1: dev=ff880bc8 ... I have a boot-ready mirror on the second drive. I would like to be able to change Open Firmware's boot-device setting while the system is running. % nvram -p nvram: /dev/powermac_nvram: No such file or directory I do have a custom kernel, but powermac_nvram is defined in GENERIC, and I did not override it. Here are my kernel configurations. ## /usr/src/sys/powerpc/conf/GENERIC_TUNED include GENERIC ident GENERIC_TUNED include GENERIC_STRIPPED include NOTES_STRIPPED include PF maxusers 256 options SMP # Symmetric MultiProcessor Kernel options EXT2FS # ext2/3fs ## /usr/src/sys/powerpc/conf/GENERIC (unedited) ... device powermac_nvram # Open Firmware configuration NVRAM ... ## /usr/src/sys/powerpc/conf/GENERIC_STRIPPED (only contains overrides of GENERIC) nomakeoptions DEBUG #Build kernel with gdb(1) debug symbols nooptions KTRACE #ktrace(1) syscall trace support nooptions STACK #stack(9) support nooptions AUDIT # Security event auditing nooptions KDB #Enable the kernel debugger nooptions DDB #Support DDB nooptions INVARIANTS #Enable calls of extra sanity checking nooptions INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS nooptions WITNESS #Enable checks to detect deadlocks and cycles nooptions WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed nodevice atapifd # ATAPI floppy drives nodevice atapist # ATAPI tape drives nodevice sa # Sequential Access (tape etc) nodevice dc # DEC/Intel 21143 and various workalikes nodevice fxp # Intel EtherExpress PRO/100B (82557, 82558) nodevice ulpt # Printer nodevice urio # Diamond Rio 500 MP3 player nodevice aue # ADMtek USB Ethernet nodevice axe # ASIX Electronics USB Ethernet nodevice cdce # Generic USB over Ethernet nodevice cue # CATC USB Ethernet nodevice kue # Kawasaki LSI USB Ethernet nomakeoptions DEBUG #Build kernel with gdb(1) debug symbols nooptions KTRACE #ktrace(1) syscall trace support nooptions STACK #stack(9) support nooptions AUDIT # Security event auditing nooptions KDB #Enable the kernel debugger nooptions DDB #Support DDB nooptions INVARIANTS #Enable calls of extra sanity checking nooptions INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS nooptions WITNESS #Enable checks to detect deadlocks and cycles nooptions WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed nodevice atapifd # ATAPI floppy drives nodevice atapist # ATAPI tape drives nodevice sa # Sequential Access (tape etc) nodevice dc # DEC/Intel 21143 and various workalikes nodevice fxp # Intel EtherExpress PRO/100B (82557, 82558) nodevice ulpt # Printer nodevice urio # Diamond Rio 500 MP3 player nodevice aue # ADMtek USB Ethernet nodevice axe # ASIX Electronics USB Ethernet nodevice cdce # Generic USB over Ethernet nodevice cue # CATC USB Ethernet nodevice kue # Kawasaki LSI USB Ethernet ## /usr/src/sys/powerpc/conf/NOTES_STRIPPED nodevice fdc nodevice ppc nodevice splash # when splash works enable *_saver nodevice blank_saver nodevice daemon_saver nodevice dragon_saver nodevice fade_saver nodevice fire_saver nodevice green_saver nodevice logo_saver nodevice rain_saver nodevice snake_saver nodevice star_saver nodevice warp_saver nodevice daemon_saver nodevice star_saver nodevice snake_saver # isa nodevice pcii nodevice tnt4882 # sound nodevice snd_cmi # wants gdb_cur nooption PPC_DEBUG nooption PPC_PROBE_CHIPSET nooption SC_NO_MODE_CHANGE nooption UKBD_DFLT_KEYMAP ## /usr/src/sys/powerpc/conf/PF device pf device pflog device pfsync options ALTQ options ALTQ_CBQ # Class Bases Queuing (CBQ) options ALTQ_RED # Random Early Detection (RED) options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) #options ALTQ_NOPCC # Required for SMP build How can I edit OF boot-device setting while running? Great work! The system is running smooth and fast right now, though not doing much... yet. Thanks, Ross Gohlke From jrh29 at alumni.cwru.edu Sat Sep 26 15:20:03 2009 From: jrh29 at alumni.cwru.edu (Justin Hibbits) Date: Sat Sep 26 15:20:08 2009 Subject: powerpc/139154: Patch for Altivec sysctl Message-ID: <200909261514.n8QFEFGK065301@www.freebsd.org> >Number: 139154 >Category: powerpc >Synopsis: Patch for Altivec sysctl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 26 15:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Justin Hibbits >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD narn.knownspace 9.0-CURRENT FreeBSD 9.0-CURRENT #24 r197331M: Sun Sep 20 22:08:18 EDT 2009 root@narn.knownspace:/usr/obj/usr/src/sys/NARN powerpc >Description: The attached patch adds a 'machdep.altivec' sysctl, similar to OpenBSD's. This is necessary for ports that use altivec conditionally, including x264, the inspiration for this patch. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: powerpc/cpu.c =================================================================== --- powerpc/cpu.c (revision 197331) +++ powerpc/cpu.c (working copy) @@ -67,6 +67,7 @@ #include #include +#include #include #include #include @@ -110,7 +111,9 @@ }; static char model[64]; +static int ppc_altivec; SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD, model, 0, ""); +SYSCTL_INT(_machdep, CPU_ALTIVEC, altivec, CTLFLAG_RD, &ppc_altivec, 0, ""); register_t l2cr_config = 0; register_t l3cr_config = 0; @@ -288,6 +291,24 @@ break; } + switch (vers) { + case MPC7400: + case MPC7450: + case MPC7455: + case MPC7457: + case MPC7447A: + case MPC7448: + case MPC7410: + case IBM970: + case IBM970FX: + case IBM970MP: + case IBM970GX: + ppc_altivec=1; + break; + default: + ppc_altivec=0; + } + printf("cpu%d: HID0 %b\n", cpuid, hid0, bitmask); } Index: include/cpu.h =================================================================== --- include/cpu.h (revision 197331) +++ include/cpu.h (working copy) @@ -49,6 +49,7 @@ * CTL_MACHDEP definitions. */ #define CPU_CACHELINE 1 +#define CPU_ALTIVEC 2 static __inline u_int64_t get_cyclecount(void) >Release-Note: >Audit-Trail: >Unformatted: From tinderbox at freebsd.org Sun Sep 27 22:35:18 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Sun Sep 27 22:35:29 2009 Subject: [head tinderbox] failure on powerpc/powerpc Message-ID: <200909272235.n8RMZH34088284@freebsd-current.sentex.ca> TB --- 2009-09-27 22:12:35 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-09-27 22:12:35 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-09-27 22:12:35 - cleaning the object tree TB --- 2009-09-27 22:16:49 - cvsupping the source tree TB --- 2009-09-27 22:16:49 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-09-27 22:18:49 - building world TB --- 2009-09-27 22:18:49 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-27 22:18:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-27 22:18:49 - TARGET=powerpc TB --- 2009-09-27 22:18:49 - TARGET_ARCH=powerpc TB --- 2009-09-27 22:18:49 - TZ=UTC TB --- 2009-09-27 22:18:49 - __MAKE_CONF=/dev/null TB --- 2009-09-27 22:18:49 - cd /src TB --- 2009-09-27 22:18:49 - /usr/bin/make -B buildworld >>> World build started on Sun Sep 27 22:18:50 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 [...] sh /src/tools/install.sh -o root -g wheel -m 444 ca_ES.ISO8859-1.cat /obj/powerpc/src/tmp/usr/share/nls/ca_ES.ISO8859-1/libc.cat sh /src/tools/install.sh -o root -g wheel -m 444 de_DE.ISO8859-1.cat /obj/powerpc/src/tmp/usr/share/nls/de_DE.ISO8859-1/libc.cat sh /src/tools/install.sh -o root -g wheel -m 444 el_GR.ISO8859-7.cat /obj/powerpc/src/tmp/usr/share/nls/el_GR.ISO8859-7/libc.cat sh /src/tools/install.sh -o root -g wheel -m 444 es_ES.ISO8859-1.cat /obj/powerpc/src/tmp/usr/share/nls/es_ES.ISO8859-1/libc.cat sh /src/tools/install.sh -o root -g wheel -m 444 fi_FI.ISO8859-1.cat /obj/powerpc/src/tmp/usr/share/nls/fi_FI.ISO8859-1/libc.cat sh /src/tools/install.sh -o root -g wheel -m 444 fr_FR.ISO8859-1.cat /obj/powerpc/src/tmp/usr/share/nls/fr_FR.ISO8859-1/libc.cat sh /src/tools/install.sh -o root -g wheel -m 444 gl_ES.ISO8859-1.cat /obj/powerpc/src/tmp/usr/share/nls/gl_ES.ISO8859-1/libc.cat install: /obj/powerpc/src/tmp/usr/share/nls/gl_ES.ISO8859-1/libc.cat: No such file or directory *** Error code 71 Stop in /src/lib/libc. *** 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-09-27 22:35:17 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-09-27 22:35:17 - ERROR: failed to build world TB --- 2009-09-27 22:35:17 - 519.66 user 108.44 system 1361.67 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From bugmaster at FreeBSD.org Mon Sep 28 11:07:01 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 28 11:09:02 2009 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org Message-ID: <200909281107.n8SB71da064119@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/139154 ppc Patch for Altivec sysctl o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] 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. 9 problems total. From nwhitehorn at freebsd.org Tue Sep 29 13:47:42 2009 From: nwhitehorn at freebsd.org (Nathan Whitehorn) Date: Tue Sep 29 13:47:49 2009 Subject: thunderbird port In-Reply-To: <4ABA8D7B.8070706@fgznet.ch> References: <4AB6966E.60808@fgznet.ch> <4ABA415F.9060800@freebsd.org> <4ABA8D7B.8070706@fgznet.ch> Message-ID: <4AC20FF9.9080702@freebsd.org> Andreas Tobler wrote: > Hi Peter, > > Peter Grehan wrote: >>> in case someone is interested.... >> >> Certainly am ! I'll give it a try. > > Please follow the thread, > > http://lists.freebsd.org/pipermail/freebsd-gecko/2009-September/000350.html > > > The bsd.gecko.mk is not needed for this build if you apply the above > patch to the toplevel Makefile in thunderbird. > > Btw, firefox35 should also build and run. Already committed to ports > by beat. Thanks so much for this! It's very nice to have thunderbird and recent firefox running on my laptop. -Nathan From andreast-list at fgznet.ch Tue Sep 29 15:35:10 2009 From: andreast-list at fgznet.ch (Andreas Tobler) Date: Tue Sep 29 15:35:17 2009 Subject: thunderbird port In-Reply-To: <4AC20FF9.9080702@freebsd.org> References: <4AB6966E.60808@fgznet.ch> <4ABA415F.9060800@freebsd.org> <4ABA8D7B.8070706@fgznet.ch> <4AC20FF9.9080702@freebsd.org> Message-ID: <4AC22929.4020408@fgznet.ch> Nathan Whitehorn wrote: > Andreas Tobler wrote: >> Hi Peter, >> >> Peter Grehan wrote: >>>> in case someone is interested.... >>> Certainly am ! I'll give it a try. >> Please follow the thread, >> >> http://lists.freebsd.org/pipermail/freebsd-gecko/2009-September/000350.html >> >> >> The bsd.gecko.mk is not needed for this build if you apply the above >> patch to the toplevel Makefile in thunderbird. >> >> Btw, firefox35 should also build and run. Already committed to ports >> by beat. > Thanks so much for this! It's very nice to have thunderbird and recent > firefox running on my laptop. Btw, both are in the ports-tree now. Happy to see people using it! Andreas From andreast-list at fgznet.ch Tue Sep 29 21:01:01 2009 From: andreast-list at fgznet.ch (Andreas Tobler) Date: Tue Sep 29 21:01:09 2009 Subject: RFC/H gdb6 port for powerpc Message-ID: <4AC2758A.8030708@fgznet.ch> Hi all, I sent this mail out to Marcel but I did not get any feedback. Might be due to mailer issues, I do not know. I learned today, that I do not receive all mails directed to me. So I try to spread some request for comment/help here. I recently tried to get thunderbird working on powerpc. I was blocked and I needed a debugger. The current gdb in base terminates immediatley if I try to debug such a beast as thunderbird. So I went ahead and tried to bring gdb6 (from ports, 6.6.1) into a working state. I think I succeeded somehow, but I need some more help. Attached you'll find two files which you can put into the ports files directory of gdb6. (files) My issues I have are seen when you run 'gmake check' inside the gdb build directory. There are a lot of signal stuff which does not work. Also unwinding seems not in good shape. My request here on this list is, can anybody help guiding me on the missing bits? I'd appreciate any comments here, from gth to 'you could do this better' or anything else, but please respond. TIA, Andreas P.S, here the summary of gmake check: === gdb Summary === # of expected passes 10484 # of unexpected failures 196 # of expected failures 41 # of known failures 62 # of unresolved testcases 1 # of untested testcases 13 # of unsupported tests 14 -------------- next part -------------- --- ./gdb/ppcfbsd-nat.c.orig 2009-09-14 10:22:36.000000000 +0200 +++ ./gdb/ppcfbsd-nat.c 2009-09-14 10:22:36.000000000 +0200 @@ -0,0 +1,159 @@ +/* Native-dependent code for PowerPC's running FreeBSD, for GDB. + Copyright 2002, 2004 Free Software Foundation, Inc. + Contributed by Wasabi Systems, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include +#include +#include +#include + +#include "defs.h" +#include "inferior.h" +#include "inf-ptrace.h" +#include "gdb_assert.h" +#include "gdbcore.h" +#include "regcache.h" + +#include "ppc-tdep.h" +#include "ppcfbsd-tdep.h" + + +static int +getfpregs_supplies (int regno) +{ + struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch); + + /* FIXME: jimb/2004-05-05: Some PPC variants don't have floating + point registers. Traditionally, GDB's register set has still + listed the floating point registers for such machines, so this + code is harmless. However, the new E500 port actually omits the + floating point registers entirely from the register set --- they + don't even have register numbers assigned to them. + + It's not clear to me how best to update this code, so this assert + will alert the first person to encounter the NetBSD/E500 + combination to the problem. */ + gdb_assert (ppc_floating_point_unit_p (current_gdbarch)); + + return ((regno >= tdep->ppc_fp0_regnum + && regno < tdep->ppc_fp0_regnum + ppc_num_fprs) + || regno == tdep->ppc_fpscr_regnum); +} + +static void +ppcfbsd_fetch_inferior_registers (int regno) +{ + struct reg regs; + + if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), + (PTRACE_TYPE_ARG3) ®s, 0) == -1) + perror_with_name (_("Couldn't get registers")); + + ppc_supply_gregset (&ppcfbsd_gregset, current_regcache, regno, + ®s, sizeof regs); + + if (regno == -1 || getfpregs_supplies (regno)) + { + struct fpreg fpregs; + + if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), + (PTRACE_TYPE_ARG3) &fpregs, 0) == -1) + perror_with_name (_("Couldn't get FP registers")); + + ppc_supply_fpregset (&ppcfbsd_fpregset, current_regcache, regno, + &fpregs, sizeof fpregs); + } +} + +static void +ppcfbsd_store_inferior_registers (int regno) +{ + struct reg regs; + + if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), + (PTRACE_TYPE_ARG3) ®s, 0) == -1) + perror_with_name (_("Couldn't get registers")); + + ppc_collect_gregset (&ppcfbsd_gregset, current_regcache, + regno, ®s, sizeof regs); + + if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), + (PTRACE_TYPE_ARG3) ®s, 0) == -1) + perror_with_name (_("Couldn't write registers")); + + + if (regno == -1 || getfpregs_supplies (regno)) + { + struct fpreg fpregs; + + if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), + (PTRACE_TYPE_ARG3) &fpregs, 0) == -1) + perror_with_name (_("Couldn't get FP registers")); + + ppc_collect_fpregset (&ppcfbsd_fpregset, current_regcache, + regno, &fpregs, sizeof fpregs); + + if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid), + (PTRACE_TYPE_ARG3) &fpregs, 0) == -1) + perror_with_name (_("Couldn't set FP registers")); + } +} + +/* Provide a prototype to silence -Wmissing-prototypes. */ +void _initialize_ppcfbsd_nat (void); + +void +_initialize_ppcfbsd_nat (void) +{ + struct target_ops *t; + /* Support debugging kernel virtual memory images. */ + /* bsd_kvm_add_target (ppcnbsd_supply_pcb); */ + + /* Add in local overrides. */ + t = inf_ptrace_target (); + t->to_fetch_registers = ppcfbsd_fetch_inferior_registers; + t->to_store_registers = ppcfbsd_store_inferior_registers; + add_target (t); + + /* General-purpose registers. */ + ppcfbsd_reg_offsets.r0_offset = offsetof (struct reg, fixreg); + ppcfbsd_reg_offsets.lr_offset = offsetof (struct reg, lr); + ppcfbsd_reg_offsets.cr_offset = offsetof (struct reg, cr); + /* ppcfbsd_reg_offsets.ps_offset = offsetof (struct reg, ps); */ + ppcfbsd_reg_offsets.xer_offset = offsetof (struct reg, xer); + ppcfbsd_reg_offsets.ctr_offset = offsetof (struct reg, ctr); + ppcfbsd_reg_offsets.pc_offset = offsetof (struct reg, pc); + + /* ppcfbsd_reg_offsets.mq_offset = offsetof (struct reg, mq); */ + + /* Floating-point registers. */ + /* ppcfbsd_reg_offsets.f0_offset = offsetof (struct reg, fpreg); */ + /* ppcfbsd_reg_offsets.fpscr_offset = -1; */ + +#ifdef PT_GETFPREGS + ppcfbsd_fpreg_offsets.f0_offset = offsetof (struct fpreg, fpreg); + ppcfbsd_fpreg_offsets.fpscr_offset = offsetof (struct fpreg, fpscr); +#endif + + /* AltiVec registers. */ + /* ppcfbsd_reg_offsets.vr0_offset = offsetof (struct vreg, vreg); */ + /* ppcfbsd_reg_offsets.vscr_offset = offsetof (struct vreg, vscr); */ + /* ppcfbsd_reg_offsets.vrsave_offset = offsetof (struct vreg, vrsave); */ +} --- ./gdb/ppcfbsd-tdep.h.orig 2009-09-14 10:22:36.000000000 +0200 +++ ./gdb/ppcfbsd-tdep.h 2009-09-14 10:22:36.000000000 +0200 @@ -0,0 +1,37 @@ +/* Common target dependent code for GDB on PowerPC systems running FreeBSD. + Copyright 2002 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifndef PPCFBSD_TDEP_H +#define PPCFBSD_TDEP_H + +#include + +struct regset; +struct regcache; + +/* Register offsets for FreeBSD/powerpc. */ +extern struct ppc_reg_offsets ppcfbsd_reg_offsets; +extern struct ppc_reg_offsets ppcfbsd_fpreg_offsets; + +/* Register sets for FreeBSD/powerpc. */ +extern struct regset ppcfbsd_gregset; +extern struct regset ppcfbsd_fpregset; + +#endif /* PPCFBSD_TDEP_H */ --- ./gdb/ppcfbsd-tdep.c.orig 2009-09-14 10:22:36.000000000 +0200 +++ ./gdb/ppcfbsd-tdep.c 2009-09-14 10:22:36.000000000 +0200 @@ -0,0 +1,233 @@ +/* Target-dependent code for PowerPC systems running FreeBSD. + + Copyright 2002, 2003, 2004 Free Software Foundation, Inc. + + Contributed by Wasabi Systems, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include "defs.h" +#include "arch-utils.h" +#include "floatformat.h" +#include "frame.h" +#include "trad-frame.h" +#include "osabi.h" +#include "regcache.h" +#include "regset.h" +#include "symtab.h" +#include "frame-unwind.h" +#include "tramp-frame.h" + +#include "gdb_assert.h" +#include "gdb_string.h" + +#include "ppc-tdep.h" +#include "ppcfbsd-tdep.h" +#include "solib-svr4.h" + +/* Register offsets from . */ +struct ppc_reg_offsets ppcfbsd_reg_offsets; +struct ppc_reg_offsets ppcfbsd_fpreg_offsets; + +/* FreeBSD/powerpc register set. */ + +struct regset ppcfbsd_gregset = +{ + &ppcfbsd_reg_offsets, + ppc_supply_gregset +}; + +struct regset ppcfbsd_fpregset = +{ + &ppcfbsd_fpreg_offsets, + ppc_supply_fpregset +}; + +/* Return the appropriate register set for the core section identified + by SECT_NAME and SECT_SIZE. */ + +static const struct regset * +ppcfbsd_regset_from_core_section (struct gdbarch *gdbarch, + const char *sect_name, size_t sect_size) +{ + if (strcmp (sect_name, ".reg") == 0 && sect_size >= 148) + return &ppcfbsd_gregset; + + if (strcmp (sect_name, ".reg2") == 0 && sect_size >= 264) + return &ppcfbsd_fpregset; + + return NULL; +} + +/* Default page size. */ +static const int ppcfbsd_page_size = 2048; + +/* Offset for sigreturn(2). */ +static const int ppcfbsd_sigreturn_offset[] = { + 0x0c, /* FreeBSD */ + -1 +}; + +static int +ppcfbsd_sigtramp_p (struct frame_info *next_frame) +{ + CORE_ADDR pc = frame_pc_unwind (next_frame); + CORE_ADDR start_pc = (pc & ~(ppcfbsd_page_size - 1)); + const int *offset; + char *name; + + find_pc_partial_function (pc, &name, NULL, NULL); + if (name) + return 0; + + for (offset = ppcfbsd_sigreturn_offset; *offset != -1; offset++) + { + gdb_byte buf[2 * PPC_INSN_SIZE]; + unsigned long insn; + + if (!safe_frame_unwind_memory (next_frame, start_pc + *offset, + buf, sizeof buf)) + continue; + + /* Check for "li r0,SYS_sigreturn". */ + insn = extract_unsigned_integer (buf, PPC_INSN_SIZE); + if (insn != 0x380001a1) + continue; + + /* Check for "sc". */ + insn = extract_unsigned_integer (buf + PPC_INSN_SIZE, PPC_INSN_SIZE); + if (insn != 0x44000002) + continue; + + return 1; + } + + return 0; +} + +/* Signal trampolines. */ + +static void +ppcfbsd_sigtramp_cache_init (const struct tramp_frame *self, + struct frame_info *next_frame, + struct trad_frame_cache *this_cache, + CORE_ADDR func) +{ + struct gdbarch *gdbarch = get_frame_arch (next_frame); + struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); + CORE_ADDR addr, base; + int i; + + base = frame_unwind_register_unsigned (next_frame, SP_REGNUM); + addr = base + 0x10 + 2 * tdep->wordsize; + for (i = 0; i < ppc_num_gprs; i++, addr += tdep->wordsize) + { + int regnum = i + tdep->ppc_gp0_regnum; + trad_frame_set_reg_addr (this_cache, regnum, addr); + } + trad_frame_set_reg_addr (this_cache, tdep->ppc_lr_regnum, addr); + addr += tdep->wordsize; + trad_frame_set_reg_addr (this_cache, tdep->ppc_cr_regnum, addr); + addr += tdep->wordsize; + trad_frame_set_reg_addr (this_cache, tdep->ppc_xer_regnum, addr); + addr += tdep->wordsize; + trad_frame_set_reg_addr (this_cache, tdep->ppc_ctr_regnum, addr); + addr += tdep->wordsize; + trad_frame_set_reg_addr (this_cache, PC_REGNUM, addr); /* SRR0? */ + addr += tdep->wordsize; + + /* Construct the frame ID using the function start. */ + trad_frame_set_id (this_cache, frame_id_build (base, func)); +} + +static const struct tramp_frame ppcfbsd_sigtramp = +{ + SIGTRAMP_FRAME, + 4, + { + { 0x3821fff0, -1 }, /* add r1,r1,-16 */ + { 0x4e800021, -1 }, /* blrl */ + { 0x38610018, -1 }, /* addi r3,r1,24 */ + { 0x380001a1, -1 }, /* li r0,417 */ + { 0x44000002, -1 }, /* sc */ + { 0x38000001, -1 }, /* li r0,1 */ + { 0x44000002, -1 }, /* sc */ + { TRAMP_SENTINEL_INSN, -1 } + }, + ppcfbsd_sigtramp_cache_init +}; + +static void +ppcfbsd_init_abi (struct gdbarch_info info, + struct gdbarch *gdbarch) +{ + + /* FreeBSD doesn't support the 128-bit `long double' from the psABI. */ + set_gdbarch_long_double_bit (gdbarch, 64); + set_gdbarch_long_double_format (gdbarch, &floatformat_ieee_double_big); + + /* FreeBSD currently uses a broken GCC. */ + set_gdbarch_return_value (gdbarch, ppc_sysv_abi_broken_return_value); + + set_solib_svr4_fetch_link_map_offsets (gdbarch, + svr4_ilp32_fetch_link_map_offsets); + set_gdbarch_regset_from_core_section + (gdbarch, ppcfbsd_regset_from_core_section); + + tramp_frame_prepend_unwinder (gdbarch, &ppcfbsd_sigtramp); + + +} + +/* Provide a prototype to silence -Wmissing-prototypes. */ +void _initialize_ppcfbsd_tdep (void); + +void +_initialize_ppcfbsd_tdep (void) +{ + gdbarch_register_osabi (bfd_arch_rs6000, 0, GDB_OSABI_FREEBSD_ELF, + ppcfbsd_init_abi); + gdbarch_register_osabi (bfd_arch_powerpc, 0, GDB_OSABI_FREEBSD_ELF, + ppcfbsd_init_abi); + + /* Avoid initializing the register offsets again if they were + already initailized by ppcnbsd-nat.c. */ + if (ppcfbsd_reg_offsets.pc_offset == 0) + { + /* General-purpose registers. */ + ppcfbsd_reg_offsets.r0_offset = 0; + ppcfbsd_reg_offsets.lr_offset = 128; + ppcfbsd_reg_offsets.cr_offset = 132; + ppcfbsd_reg_offsets.xer_offset = 136; + ppcfbsd_reg_offsets.ctr_offset = 140; + ppcfbsd_reg_offsets.pc_offset = 144; + ppcfbsd_reg_offsets.ps_offset = -1; + ppcfbsd_reg_offsets.mq_offset = -1; + + if (ppcfbsd_fpreg_offsets.fpscr_offset == 0) + { + /* Floating-point registers. */ + ppcfbsd_reg_offsets.f0_offset = 0; + ppcfbsd_reg_offsets.fpscr_offset = 256; + } + /* AltiVec registers. */ + ppcfbsd_reg_offsets.vr0_offset = -1; + ppcfbsd_reg_offsets.vrsave_offset = -1; + ppcfbsd_reg_offsets.vscr_offset = -1; + } +} --- ./gdb/config/powerpc/nm-fbsd.h.orig 2009-09-14 10:24:03.000000000 +0200 +++ ./gdb/config/powerpc/nm-fbsd.h 2009-09-14 10:24:03.000000000 +0200 @@ -0,0 +1,20 @@ +/* GNU GPL */ + +#ifndef NM_FBSD_H +#define NM_FBSD_H + +/* Type of the third argument to the `ptrace' system call. */ +/* #define PTRACE_ARG3_TYPE caddr_t */ + +/* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */ +/* #define FETCH_INFERIOR_REGISTERS */ + +/* We can attach and detach. */ +/* #define ATTACH_DETACH */ + +/* Override child_pid_to_exec_file in 'inftarg.c'. */ +/*#define CHILD_PID_TO_EXEC_FILE */ + +#define TEXT_SEGMENT_BASE 0x10000000 + +#endif /* NM_FBSD_H */ --- ./gdb/config/powerpc/fbsd.mh.orig 2009-09-14 10:23:26.000000000 +0200 +++ ./gdb/config/powerpc/fbsd.mh 2009-09-14 10:23:26.000000000 +0200 @@ -0,0 +1,6 @@ +# Host: FreeBSD/powerpc +NATDEPFILES= fork-child.o gcore.o \ + inf-ptrace.o ppcfbsd-nat.o bsd-kvm.o + +NAT_FILE = nm-fbsd.h +LOADLIBES= -lkvm --- ./gdb/config/powerpc/fbsd.mt.orig 2009-09-14 10:23:25.000000000 +0200 +++ ./gdb/config/powerpc/fbsd.mt 2009-09-14 10:23:26.000000000 +0200 @@ -0,0 +1,5 @@ +# Target: FreeBSD/powerpc +TDEPFILES= rs6000-tdep.o ppc-sysv-tdep.o ppcfbsd-tdep.o \ + corelow.o solib.o solib-svr4.o + +TM_FILE= tm-ppc-eabi.h \ No newline at end of file -------------- next part -------------- --- ./gdb/configure.host.orig 2006-11-24 20:54:15.000000000 +0100 +++ ./gdb/configure.host 2009-09-14 10:13:50.000000000 +0200 @@ -109,6 +109,7 @@ mips64*-*-openbsd*) gdb_host=obsd64 ;; powerpc-*-aix*) gdb_host=aix ;; +powerpc-*-freebsd*) gdb_host=fbsd ;; powerpc-*-linux*) gdb_host=linux ;; powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) gdb_host=nbsd ;; --- ./gdb/configure.tgt.orig 2006-11-24 21:11:07.000000000 +0100 +++ ./gdb/configure.tgt 2009-09-14 10:13:27.000000000 +0200 @@ -155,6 +155,7 @@ mt-*-*) gdb_target=mt ;; +powerpc-*-freebsd*) gdb_target=fbsd ;; powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) gdb_target=nbsd ;; powerpc-*-openbsd*) gdb_target=obsd ;; --- gdb/Makefile.in.orig 2009-09-14 19:56:00.000000000 +0200 +++ gdb/Makefile.in 2009-09-14 19:56:09.000000000 +0200 @@ -766,6 +766,7 @@ osabi_h = osabi.h parser_defs_h = parser-defs.h $(doublest_h) p_lang_h = p-lang.h +ppcfbsd_tdep_h = ppcfbsd-tdep.h ppcnbsd_tdep_h = ppcnbsd-tdep.h ppcobsd_tdep_h = ppcobsd-tdep.h ppc_tdep_h = ppc-tdep.h @@ -1478,6 +1479,7 @@ somread.c solib-som.c $(HPREAD_SOURCE) \ posix-hdep.c \ ppc-sysv-tdep.c ppc-linux-nat.c ppc-linux-tdep.c \ + ppcfbsd-nat.c ppcfbsd-tdep.c \ ppcnbsd-nat.c ppcnbsd-tdep.c \ ppcobsd-nat.c ppcobsd-tdep.c \ procfs.c \ @@ -2456,6 +2458,13 @@ $(objfiles_h) $(regcache_h) $(value_h) $(osabi_h) $(regset_h) \ $(solib_svr4_h) $(ppc_tdep_h) $(trad_frame_h) $(frame_unwind_h) \ $(tramp_frame_h) +ppcfbsd-nat.o: ppcfbsd-nat.c $(defs_h) $(inferior_h) $(gdb_assert_h) \ + $(gdbcore_h) $(regcache_h) $(bsd_kvm_h) $(ppc_tdep_h) \ + $(ppcfbsd_tdep_h) $(inf_ptrace_h) +ppcfbsd-tdep.o: ppcfbsd-tdep.c $(defs_h) $(gdbcore_h) $(gdb_types_h) \ + $(osabi_h) $(regcache_h) $(regset_h) $(trad_frame_h) \ + $(tramp_frame_h) $(gdb_assert_h) $(gdb_string_h) \ + $(ppc_tdep_h) $(ppcfbsd_tdep_h) $(solib_svr4_h) ppcnbsd-nat.o: ppcnbsd-nat.c $(defs_h) $(inferior_h) $(gdb_assert_h) \ $(gdbcore_h) $(regcache_h) $(bsd_kvm_h) $(ppc_tdep_h) \ $(ppcnbsd_tdep_h) $(inf_ptrace_h) From jrh29 at alumni.cwru.edu Tue Sep 29 21:13:26 2009 From: jrh29 at alumni.cwru.edu (Justin Hibbits) Date: Tue Sep 29 21:13:32 2009 Subject: RFC/H gdb6 port for powerpc In-Reply-To: <4AC2758A.8030708@fgznet.ch> References: <4AC2758A.8030708@fgznet.ch> Message-ID: On Tue, Sep 29, 2009 at 5:00 PM, Andreas Tobler wrote: > Hi all, > > I sent this mail out to Marcel but I did not get any feedback. Might be due > to mailer issues, I do not know. > > I learned today, that I do not receive all mails directed to me. So I try > to spread some request for comment/help here. > > I recently tried to get thunderbird working on powerpc. I was blocked and I > needed a debugger. The current gdb in base terminates immediatley if I try > to debug such a beast as thunderbird. > > So I went ahead and tried to bring gdb6 (from ports, 6.6.1) into a working > state. > > I think I succeeded somehow, but I need some more help. > > Attached you'll find two files which you can put into the ports files > directory of gdb6. (files) > > > My issues I have are seen when you run 'gmake check' inside the gdb build > directory. > There are a lot of signal stuff which does not work. Also unwinding seems > not in good shape. > > My request here on this list is, can anybody help guiding me on the missing > bits? > > I'd appreciate any comments here, from gth to 'you could do this better' or > anything else, but please respond. > > TIA, > Andreas > Hi Andreas, Thanks for taking on this port, maybe it'll fix the bug I filed against the base gdb. I'll give it a shot when I get some time to test it. Have you looked at any of the other BSDs for the necessary missing pieces? - Justin From andreast-list at fgznet.ch Tue Sep 29 21:27:50 2009 From: andreast-list at fgznet.ch (Andreas Tobler) Date: Tue Sep 29 21:29:12 2009 Subject: RFC/H gdb6 port for powerpc In-Reply-To: References: <4AC2758A.8030708@fgznet.ch> Message-ID: <4AC27BCE.9090502@fgznet.ch> Hi Justin, Justin Hibbits wrote: > Thanks for taking on this port, maybe it'll fix the bug I filed against > the base gdb. I'll give it a shot when I get some time to test it. > Have you looked at any of the other BSDs for the necessary missing pieces? > yes, I did, and it was quite irritating to rely either on obsd or nbsd. Obsd has a different ABI here, and nbsd too, we, fbsd lack the altivec regs in reg(s).h. My questions are in terms of signal handling and stack unwinding. How do we do that, what are the 'correct' entry points etc. I have to admit, I solved my thunderbird issue :) I could step into the functions, even assembler stuff. But the confusing part is the testsuite which makes me unsure and the fact that we do not store/giving access to altivec regs, Nathan? Thanks for the response, Andreas From xcllnt at mac.com Tue Sep 29 23:03:13 2009 From: xcllnt at mac.com (Marcel Moolenaar) Date: Tue Sep 29 23:03:20 2009 Subject: RFC/H gdb6 port for powerpc In-Reply-To: <4AC2758A.8030708@fgznet.ch> References: <4AC2758A.8030708@fgznet.ch> Message-ID: On Sep 29, 2009, at 2:00 PM, Andreas Tobler wrote: > Hi all, > > I sent this mail out to Marcel but I did not get any feedback. Might > be due to mailer issues, I do not know. Workload... sorry about that... -- Marcel Moolenaar xcllnt@mac.com