View previous topic :: View next topic |
Author |
Message |
Just_Endie n00b
Joined: 15 Mar 2024 Posts: 4
|
Posted: Fri Mar 15, 2024 8:29 am Post subject: startx gives a segmentation fault |
|
|
I have done a full installation of gentoo on an iMac G3, the 500mHZ model with 512 MB of ram.
However, after rebooting, X11 fails to start with a segmentation fault.
Here's the Xorg.0.log:
Code: |
[ 10654.231]
X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
[ 10654.233] Current Operating System: Linux Endie_iMac 6.6.13-gentoo #3 Sun Mar 10 16:03:58 CET 2024 ppc
[ 10654.233] Kernel command line: BOOT_IMAGE=/boot/kernel-6.6.13-gentoo root=/dev/sda4 ro
[ 10654.234]
[ 10654.235] Current version of pixman: 0.42.2
[ 10654.235] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 10654.235] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10654.235] (==) Log file: "/home/endie/.local/share/xorg/Xorg.0.log", Time: Fri Mar 15 08:55:15 2024
[ 10654.237] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 10654.239] (==) No Layout section. Using the first Screen section.
[ 10654.239] (==) No screen section available. Using defaults.
[ 10654.239] (**) |-->Screen "Default Screen Section" (0)
[ 10654.239] (**) | |-->Monitor "<default monitor>"
[ 10654.241] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 10654.241] (==) Automatically adding devices
[ 10654.241] (==) Automatically enabling devices
[ 10654.241] (==) Automatically adding GPU devices
[ 10654.241] (==) Automatically binding GPU devices
[ 10654.241] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 10654.241] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 10654.241] Entry deleted from font path.
[ 10654.241] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 10654.241] Entry deleted from font path.
[ 10654.241] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 10654.241] Entry deleted from font path.
[ 10654.241] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 10654.241] Entry deleted from font path.
[ 10654.241] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 10654.241] Entry deleted from font path.
[ 10654.241] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 10654.241] Entry deleted from font path.
[ 10654.242] (==) FontPath set to:
[ 10654.242] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 10654.242] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 10654.242] (II) Module ABI versions:
[ 10654.242] X.Org ANSI C Emulation: 0.4
[ 10654.242] X.Org Video Driver: 25.2
[ 10654.242] X.Org XInput driver : 24.4
[ 10654.242] X.Org Server Extension : 10.0
[ 10654.250] (--) using VT number 7
[ 10654.250] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 10654.258] (--) PCI:*(0@0:16:0) 1002:5452:1002:5452 rev 0, Mem @ 0x94000000/67108864, 0x90000000/16384, I/O @ 0x00000400/256, BIOS @ 0x????????/131072
[ 10654.258] (II) LoadModule: "glx"
[ 10654.260] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 10654.273] (II) Module glx: vendor="X.Org Foundation"
[ 10654.273] compiled for 1.21.1.11, module version = 1.0.0
[ 10654.273] ABI class: X.Org Server Extension, version 10.0
[ 10654.273] (==) Matched ati as autoconfigured driver 0
[ 10654.274] (==) Matched modesetting as autoconfigured driver 1
[ 10654.274] (==) Matched fbdev as autoconfigured driver 2
[ 10654.274] (==) Assigned the driver to the xf86ConfigLayout
[ 10654.274] (II) LoadModule: "ati"
[ 10654.274] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 10654.275] (II) Module ati: vendor="X.Org Foundation"
[ 10654.275] compiled for 1.21.1.11, module version = 22.0.0
[ 10654.275] Module class: X.Org Video Driver
[ 10654.275] ABI class: X.Org Video Driver, version 25.2
[ 10654.276] (II) LoadModule: "r128"
[ 10654.276] (II) Loading /usr/lib/xorg/modules/drivers/r128_drv.so
[ 10654.277] (II) Module r128: vendor="X.Org Foundation"
[ 10654.277] compiled for 1.21.1.11, module version = 6.12.1
[ 10654.277] Module class: X.Org Video Driver
[ 10654.277] ABI class: X.Org Video Driver, version 25.2
[ 10654.278] (II) LoadModule: "modesetting"
[ 10654.278] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 10654.282] (II) Module modesetting: vendor="X.Org Foundation"
[ 10654.282] compiled for 1.21.1.11, module version = 1.21.1
[ 10654.282] Module class: X.Org Video Driver
[ 10654.282] ABI class: X.Org Video Driver, version 25.2
[ 10654.282] (II) LoadModule: "fbdev"
[ 10654.283] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 10654.284] (II) Module fbdev: vendor="X.Org Foundation"
[ 10654.284] compiled for 1.21.1.11, module version = 0.5.0
[ 10654.284] Module class: X.Org Video Driver
[ 10654.284] ABI class: X.Org Video Driver, version 25.2
[ 10654.284] (II) R128: Driver for ATI Rage 128 chipsets:
ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP),
ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4 ML (AGP),
ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB (PCI/AGP),
ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD (PCI),
ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF (AGP),
ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH (PCI/AGP),
ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ (PCI/AGP),
ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL (PCI/AGP),
ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN (PCI/AGP),
ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP (PCI),
ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR (PCI),
ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT (PCI/AGP),
ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV (PCI/AGP),
ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX (PCI/AGP),
ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG (PCI/AGP),
ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK (PCI/AGP),
ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF (AGP),
ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR (AGP),
ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT (AGP?),
ATI Rage 128 Pro ULTRA TU (AGP?)
[ 10654.285] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 10654.286] (II) FBDEV: driver for framebuffer: fbdev
[ 10654.304] (WW) Falling back to old probe method for modesetting
[ 10654.305] (EE) open /dev/dri/card0: No such file or directory
[ 10654.305] (WW) Falling back to old probe method for fbdev
[ 10654.305] (II) Loading sub module "fbdevhw"
[ 10654.305] (II) LoadModule: "fbdevhw"
[ 10654.305] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 10654.307] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 10654.307] compiled for 1.21.1.11, module version = 0.0.2
[ 10654.307] ABI class: X.Org Video Driver, version 25.2
[ 10654.307] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 10654.307] (II) R128(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 10654.307] (==) R128(0): Depth 24, (--) framebuffer bpp 32
[ 10654.307] (==) R128(0): Default visual is TrueColor
[ 10654.307] (==) R128(0): Using gamma correction (1.0, 1.0, 1.0)
[ 10654.311] (II) R128(0): PCI bus 0 card 16 func 0
[ 10654.311] (II) R128(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 10654.311] (II) R128(0): Acceleration of RENDER operations will be enabled upon successful loading of DRI and EXA.
[ 10654.311] (**) R128(0): Using framebuffer device.
[ 10654.313] (II) R128(0): VGAAccess option set to FALSE, VGA module load skipped.
[ 10654.314] (==) R128(0): RGB weight 888
[ 10654.314] (II) R128(0): Using 8 bits per RGB (8 bit DAC)
[ 10654.314] (II) Loading sub module "fbdevhw"
[ 10654.314] (II) LoadModule: "fbdevhw"
[ 10654.315] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 10654.315] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 10654.315] compiled for 1.21.1.11, module version = 0.0.2
[ 10654.315] ABI class: X.Org Video Driver, version 25.2
[ 10654.315] (--) R128(0): Chipset: "ATI Rage 128 Pro ULTRA TR (AGP)" (ChipID = 0x5452)
[ 10654.315] (--) R128(0): Linear framebuffer at 0x94000000
[ 10654.315] (--) R128(0): MMIO registers at 0x90000000
[ 10654.320] (--) R128(0): VideoRAM: 16384 kByte (128-bit SDR SGRAM 1:1)
[ 10654.322] (II) Loading sub module "ramdac"
[ 10654.322] (II) LoadModule: "ramdac"
[ 10654.322] (II) Module "ramdac" already built-in
[ 10654.322] (II) Loading sub module "ddc"
[ 10654.322] (II) LoadModule: "ddc"
[ 10654.322] (II) Module "ddc" already built-in
[ 10654.322] (II) Loading sub module "i2c"
[ 10654.322] (II) LoadModule: "i2c"
[ 10654.322] (II) Module "i2c" already built-in
[ 10654.323] (WW) R128(0): Failed to read PCI ROM!
[ 10654.323] (WW) R128(0): Video BIOS not found!
[ 10654.323] (II) R128(0): PLL parameters: rf=2950 rd=59 min=12500 max=25000; xclk=13000
[ 10654.325] (EE)
[ 10654.329] (EE) Backtrace:
[ 10654.331] (EE) 0: /usr/bin/X (xorg_backtrace+0x5c) [0x8af2e4]
[ 10654.333] (EE) 1: /usr/bin/X (0x730000+0x18412c) [0x8b412c]
[ 10654.334] (EE) 2: linux-vdso32.so.1 (__kernel_sigtramp_rt32+0x0) [0xa7be23d0]
[ 10654.335] (EE) 3: /usr/lib/xorg/modules/drivers/r128_drv.so (0xa6fd0000+0xa12c) [0xa6fda12c]
[ 10654.335] (EE) 4: /usr/lib/xorg/modules/drivers/r128_drv.so (0xa6fd0000+0xa294) [0xa6fda294]
[ 10654.335] (EE) 5: /usr/lib/xorg/modules/drivers/r128_drv.so (0xa6fd0000+0x7310) [0xa6fd7310]
[ 10654.335] (EE) 6: /usr/bin/X (InitOutput+0x98c) [0x8d8420]
[ 10654.335] (EE) 7: /usr/bin/X (0x730000+0x8b514) [0x7bb514]
[ 10654.337] (EE) 8: /usr/bin/X (0x730000+0x4777c) [0x77777c]
[ 10654.339] (EE) 9: /lib/libc.so.6 (0xa77c0000+0x2a7d4) [0xa77ea7d4]
[ 10654.341] (EE) 10: /lib/libc.so.6 (__libc_start_main+0x1cc) [0xa77ea9f8]
[ 10654.342] (EE)
[ 10654.342] (EE) Segmentation fault at address 0x48
[ 10654.343] (EE)
Fatal server error:
[ 10654.343] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 10654.343] (EE)
[ 10654.344] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 10654.344] (EE) Please also check the log file at "/home/endie/.local/share/xorg/Xorg.0.log" for additional information.
[ 10654.345] (EE)
[ 10654.384] (EE) Server terminated with error (1). Closing log file.
|
Here's my make.conf:
Code: |
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable before changing.
CHOST="powerpc-unknown-linux-gnu"
# NOTE: This stage was built with the bindist Use flag enabled
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8
GENTOO_MIRRORS="ftp://ftp.byfly.by/pub/gentoo-distfiles/ \
ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ \
http://ftp.free.fr/mirrors/ftp.gentoo.org/ \
http://mirrors.ircam.fr/pub/gentoo-distfiles/ \
https://mirrors.ircam.fr/pub/gentoo-distfiles/ \
rsync://mirrors.ircam.fr/pub/gentoo-distfiles/ \
https://gentoo.mirrors.ovh.net/gentoo-distfiles/ \
http://gentoo.mirrors.ovh.net/gentoo-distfiles/ \
https://mirrors.soeasyto.com/distfiles.gentoo.org/ \
http://mirrors.soeasyto.com/distfiles.gentoo.org/ \
ftp://mirrors.soeasyto.com/distfiles.gentoo.org/"
USE="-gnome qt5 kde dvd alsa cdr"
VIDEO_CARDS="amdgpu radeonsi"
# Appending getbinpkg to the list of values within the FEATURES variable
FEATURES="${FEATURES} getbinpkg"
# Require signatures
FEATURES="${FEATURES} binpkg-request-signature"
# Overrides the profile's ACCEPT_LICENSE default value
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
|
And here's my emerge --info:
Code: |
Portage 3.0.59 (python 3.11.8-final-0, default/linux/ppc/17.0/desktop, gcc-11, glibc-2.38-r10, 6.6.13-gentoo ppc)
=================================================================
System uname: Linux-6.6.13-gentoo-ppc-750CXe-with-glibc2.38
KiB Mem: 507208 total, 230820 free
KiB Swap: 1048572 total, 1048572 free
Timestamp of repository gentoo: Fri, 23 Feb 2024 00:45:00 +0000
Head commit of repository gentoo: 39157ee312b0ed9a90ea9b52d1db457c05c53e5f
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.71-r6::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.27.9::gentoo
dev-build/libtool: 2.4.7-r1::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.3.0-r2::gentoo
dev-lang/perl: 5.38.2-r1::gentoo
dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin: 1.74.1::gentoo
sys-apps/baselayout: 2.14-r2::gentoo
sys-apps/openrc: 0.53::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 11.4.1_p20240111::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers)
sys-libs/glibc: 2.38-r10::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 3
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
Binary Repositories:
binhost
priority: 9999
sync-uri: https://distfiles.gentoo.org/releases/ppc/binpackages/17.0/ppc
gentoobinhost
priority: 1
sync-uri: https://gentoo.osuosl.org/releases/ppc/binpackages/17.0/ppc
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="@FREE @FREE @BINARY-REDISTRIBUTABLE"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
GENTOO_MIRRORS="ftp://ftp.byfly.by/pub/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirrors.ircam.fr/pub/gentoo-distfiles/ https://mirrors.ircam.fr/pub/gentoo-distfiles/ rsync://mirrors.ircam.fr/pub/gentoo-distfiles/ https://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ https://mirrors.soeasyto.com/distfiles.gentoo.org/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ ftp://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl alsa big-endian bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde lcms libnotify mad mng mp3 mp4 mpeg ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppc ppds qt5 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
|
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2078 Location: San Jose, CA
|
Posted: Sat Mar 16, 2024 4:49 pm Post subject: |
|
|
I'm not 100% sure, but I think you need linux-firmware for the R128 drivers to function.
And based on the google searches I did you have to use a linux kernel earlier than 6.3 as the rage 128 has been removed from 6.3 and newer kernels.
If you are using gentoo-sources you have to go back to: gentoo-sources-6.1.81
I have no idea if any of this will work. It's an old card... _________________ Some day there will only be free software. |
|
Back to top |
|
|
Just_Endie n00b
Joined: 15 Mar 2024 Posts: 4
|
Posted: Sat Mar 16, 2024 5:26 pm Post subject: |
|
|
Linux-firmware is already installed.
And how would I go back to an older kernel? |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1729 Location: Germany
|
|
Back to top |
|
|
Just_Endie n00b
Joined: 15 Mar 2024 Posts: 4
|
Posted: Sat Mar 16, 2024 10:31 pm Post subject: |
|
|
I may have a lead.
VIDEO_CARDS="amdgpu radeonsi" is for newer GPUs, not for one from the 2000s.
So I switched it to VIDEO_CARDS="radeon r100", which should be the correct arguments for a Rage 128 graphics card.
I'll update after this finishes compiling, likely overnight. |
|
Back to top |
|
|
e8root Tux's lil' helper
Joined: 09 Feb 2024 Posts: 94
|
Posted: Sat Mar 16, 2024 11:17 pm Post subject: |
|
|
You can just clone any old versions of the kernel and as long as its folder has prefix linux- you will be able to select it with eselect kernel and build with genkernel --menuconfig kernel
For kernel source you can use official linux.org repository, find old ebuild for Gentoo or maybe even try something more specifically tuned for PowerPC.
I have not played with Linux/Gentoo on my eMac G4 and PowerMac G5 Dual yet but it is somewhere in queue of Linux/retro projects. What I was wondering about is maybe it might make sense to snatch kernel from Fienix Linux http://fienixppc.blogspot.com/ as its modern distro which specifically focuses on old PowerPC platforms so it might have fixes and improvements for PPC. You might also want/need to get patches for specific software as there are at times issues with endianess and guys who run such distros make patches. It is possible to re-apply those patches when compiling programs from source.
That said it might not be necessary. Not sure how well maintained is PowerPC arch on Gentoo's side. _________________ Unix Wars - Episode V: AT&T Strikes Back |
|
Back to top |
|
|
Just_Endie n00b
Joined: 15 Mar 2024 Posts: 4
|
Posted: Fri Mar 22, 2024 7:12 am Post subject: |
|
|
I may have some form of lead, since I'm compiling everything on the Mac so maybe some amount of compiling fails. I mainly notice this because sometimes it compiles a kernel that doesn't boot.
There's also this line in dmesg every time I try to start anything with graphics, such as X or lightdm:
Code: |
Invalid PCI ROM header signature: expecting 0xaa55, got 0x8181
|
|
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2078 Location: San Jose, CA
|
Posted: Sat Mar 30, 2024 4:41 pm Post subject: |
|
|
Just_Endie wrote: | I may have some form of lead, since I'm compiling everything on the Mac so maybe some amount of compiling fails. I mainly notice this because sometimes it compiles a kernel that doesn't boot.
There's also this line in dmesg every time I try to start anything with graphics, such as X or lightdm:
Code: |
Invalid PCI ROM header signature: expecting 0xaa55, got 0x8181
|
|
0x8181 sounds like a floating bus to me. That means the ROM is not actually enabled which in general is a driver issue.
Did you switch to an old kernel? Have you figured out where the Rage 128 firmware comes from? (assuming it needs it).
Part of the problem with this is that it's on a MAC. I'm not certain any of this was tested on a MAC, have you googled what you are doing to see if anyone else got any distribution running on a similar machine? Generally everyone tries Ubuntu on just about everything at some point. You might get clues. _________________ Some day there will only be free software. |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2078 Location: San Jose, CA
|
Posted: Sat Mar 30, 2024 5:17 pm Post subject: |
|
|
Make sure your kernel does not have any console graphics drivers enabled. That driver might be stealing the bus from the X driver. _________________ Some day there will only be free software. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Sat Mar 30, 2024 6:12 pm Post subject: |
|
|
Just_Endie,
Please install wgetpaste, its a small bash script.
Use it to share your /usr/src/linux/.config by posting the URL.
Your output will be good too.
Lastly, what does tell?
The 6.1.x kernel is a long term support kernel. The current stable version is 6.1.81 which will support your GPU.
If you package.mask >=sys-kernel/gentoo-sources-6.2.0 then the 6.1 series will still get updates for you. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|