Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Xorg not starting on G4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
ETeria
n00b
n00b


Joined: 22 May 2008
Posts: 37
Location: Monza

PostPosted: Thu May 14, 2020 2:49 am    Post subject: [solved] Xorg not starting on G4 Reply with quote

Hello, my name is Daniele, i have G4 Poowerbook 6,4 machine (screen 12")
I am not able to run Xorg, i have installed Gentoo on this machine in those days (it takes very long time for compiling), i have Gentoo on a AMD64 machine by many years so i decided to put it on the G4 too, but i am not enough skilled. Please help me to find what is wrong, many thanks.
-------------------
emerge --info
Code:
Portage 2.3.99 (python 3.7.7-final-0, default/linux/powerpc/ppc32/17.0/desktop, gcc-9.3.0, glibc-2.30-r8, 5.4.28-gentoo ppc)
=================================================================
System uname: Linux-5.4.28-gentoo-ppc-7447A,_altivec_supported-with-gentoo-2.7
KiB Mem:     1285412 total,    982904 free
KiB Swap:    3000248 total,   3000248 free
Timestamp of repository gentoo: Tue, 12 May 2020 18:00:01 +0000
Head commit of repository gentoo: ba3a21f38848625a068afa30ec8e0f250985cc99
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
distcc 3.3.3 powerpc-unknown-linux-gnu [enabled]
ccache version 3.7.9 [enabled]
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo, 3.9.0_alpha6::gentoo
dev-util/ccache:          3.7.9::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo, 2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

mate-de-gentoo
    location: /var/lib/layman/mate-de-gentoo
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE="@FREE @FREE @BINARY-REDISTRIBUTABLE @EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7450 -O2 -maltivec -mabi=altivec -fno-strict-aliasing -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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mcpu=7450 -O2 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-mcpu=7450 -O2 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mcpu=7450 -O2 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j8 -l1"
PKGDIR="/usr/portage/packages"
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"
USE="X a52 aac acl alsa altivec bash-completion berkdb big-endian bindist bluetooth branding bzip2 cairo ccache cdda cdr cli crypt dbus dri dts dvd dvdr elogind emboss encode exif experimental flac flash fontconfig fortran ftp gdbm gif gpm gtk iconv icu ipv6 jack javascript jpeg jpeg2k lame lcms ldap libnotify libssh libxml2 lm_sensors mad mariadb midi mjpeg mng mp3 mp4 mpeg mpi mplayer mysql ncurses nls nptl nsplugin offensive ogg openal opengl openmp pam pango pcre pdf png policykit ppc ppds python qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb v4l vorbis wma wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_PPC="32" ADA_TARGET="gnat_2018" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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" CPU_FLAGS_PPC="altivec" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="it" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


/var/log/Xorg.0.log
Code:
[  9148.015]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[  9148.017] Build Operating System: Linux 5.4.28-gentoo ppc Gentoo
[  9148.017] Current Operating System: Linux panucci 5.4.28-gentoo #1 PREEMPT Fri May 8 04:17:40 UTC 2020 ppc
[  9148.017] Kernel command line: root=/dev/sda3 ro
[  9148.018] Build Date: 12 May 2020  02:48:28PM
[  9148.019] 
[  9148.019] Current version of pixman: 0.40.0
[  9148.020]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  9148.020] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  9148.024] (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 14 02:07:30 2020
[  9148.025] (==) Using config file: "/etc/X11/xorg.conf"
[  9148.025] (==) ServerLayout "X.org Configured"
[  9148.025] (**) |-->Screen "Screen0" (0)
[  9148.025] (**) |   |-->Monitor "Monitor0"
[  9148.026] (**) |   |-->Device "Card0"
[  9148.026] (**) |-->Input Device "Mouse0"
[  9148.026] (**) |-->Input Device "Keyboard0"
[  9148.027] (==) Automatically adding devices
[  9148.027] (==) Automatically enabling devices
[  9148.027] (==) Automatically adding GPU devices
[  9148.027] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  9148.027] FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/75dpi/
[  9148.027] (==) ModulePath set to "/usr/lib/xorg/modules"
[  9148.027] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  9148.027] (WW) Disabling Mouse0
[  9148.027] (WW) Disabling Keyboard0
[  9148.027] (II) Loader magic: 0x7ef698
[  9148.027] (II) Module ABI versions:
[  9148.027]    X.Org ANSI C Emulation: 0.4
[  9148.027]    X.Org Video Driver: 24.1
[  9148.027]    X.Org XInput driver : 24.1
[  9148.027]    X.Org Server Extension : 10.0
[  9148.031] (++) using VT number 1

[  9148.038] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[  9148.043] (--) PCI:*(0@0:16:0) 10de:0329:10de:0010 rev 161, Mem @ 0x91000000/16777216, 0xa0000000/134217728, BIOS @ 0x????????/131072
[  9148.044] (II) Open APM successful
[  9148.044] (II) "glx" will be loaded by default.
[  9148.044] (II) LoadModule: "nouveau"
[  9148.044] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  9148.045] (II) Module nouveau: vendor="X.Org Foundation"
[  9148.045]    compiled for 1.20.8, module version = 1.0.16
[  9148.045]    Module class: X.Org Video Driver
[  9148.045]    ABI class: X.Org Video Driver, version 24.1
[  9148.045] (II) LoadModule: "glx"
[  9148.045] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  9148.049] (II) Module glx: vendor="X.Org Foundation"
[  9148.049]    compiled for 1.20.8, module version = 1.0.0
[  9148.049]    ABI class: X.Org Server Extension, version 10.0
[  9148.049] (II) LoadModule: "nouveau"
[  9148.050] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  9148.050] (II) Module nouveau: vendor="X.Org Foundation"
[  9148.050]    compiled for 1.20.8, module version = 1.0.16
[  9148.050]    Module class: X.Org Video Driver
[  9148.050]    ABI class: X.Org Video Driver, version 24.1
[  9148.050] (II) UnloadModule: "nouveau"
[  9148.050] (II) Unloading nouveau
[  9148.050] (II) Failed to load module "nouveau" (already loaded, 0)
[  9148.050] (II) NOUVEAU driver
[  9148.050] (II) NOUVEAU driver for NVIDIA chipset families :
[  9148.050]    RIVA TNT            (NV04)
[  9148.050]    RIVA TNT2           (NV05)
[  9148.050]    GeForce 256         (NV10)
[  9148.051]    GeForce 2           (NV11, NV15)
[  9148.051]    GeForce 4MX         (NV17, NV18)
[  9148.051]    GeForce 3           (NV20)
[  9148.051]    GeForce 4Ti         (NV25, NV28)
[  9148.051]    GeForce FX          (NV3x)
[  9148.051]    GeForce 6           (NV4x)
[  9148.051]    GeForce 7           (G7x)
[  9148.051]    GeForce 8           (G8x)
[  9148.052]    GeForce 9           (G9x)
[  9148.052]    GeForce GTX 2xx/3xx (GT2xx)
[  9148.052]    GeForce GTX 4xx/5xx (GFxxx)
[  9148.052]    GeForce GTX 6xx/7xx (GKxxx)
[  9148.052]    GeForce GTX 9xx     (GMxxx)
[  9148.052]    GeForce GTX 10xx    (GPxxx)
[  9148.052] (EE) No devices detected.
[  9148.052] (EE)
Fatal server error:
[  9148.052] (EE) no screens found(EE)
[  9148.052] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[  9148.053] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  9148.053] (EE)
[  9148.060] (EE) Server terminated with error (1). Closing log file.

Why does it load the module nouveau and after unload it and after says that can not load it?

/dev/dri/card0 does not exist, the folder /dev/dri/ is empty
Code:
 ls -l /dev/dri/
totale 0


The card is there:
0000:00:10.0 VGA compatible controller: NVIDIA Corporation NV34M [GeForce FX Go5200] (rev a1)
Code:
 lspci
0000:00:0b.0 Host bridge: Apple Inc. UniNorth 2 AGP
0000:00:10.0 VGA compatible controller: NVIDIA Corporation NV34M [GeForce FX Go5200] (rev a1)
0001:10:0b.0 Host bridge: Apple Inc. UniNorth 2 PCI
0001:10:12.0 Network controller: Broadcom Inc. and subsidiaries BCM4306 802.11b/g Wireless LAN Controller (rev 03)
0001:10:17.0 Unassigned class [ff00]: Apple Inc. KeyLargo/Intrepid Mac I/O
0001:10:18.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
0001:10:19.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
0001:10:1a.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
0001:10:1b.0 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:10:1b.1 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:10:1b.2 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev 04)
0002:20:0b.0 Host bridge: Apple Inc. UniNorth 2 Internal PCI
0002:20:0d.0 Unassigned class [ff00]: Apple Inc. UniNorth/Intrepid ATA/100
0002:20:0e.0 FireWire (IEEE 1394): Apple Inc. UniNorth 2 FireWire (rev 81)
0002:20:0f.0 Ethernet controller: Apple Inc. UniNorth 2 GMAC (Sun GEM) (rev 80)

_________________
Perchè tanto odio?!


Last edited by ETeria on Wed May 20, 2020 8:15 am; edited 1 time in total
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 422

PostPosted: Sat May 16, 2020 9:27 am    Post subject: Reply with quote

Just a guess: you don't have the nouveau module configured in your kernel.
Back to top
View user's profile Send private message
ETeria
n00b
n00b


Joined: 22 May 2008
Posts: 37
Location: Monza

PostPosted: Sun May 17, 2020 9:34 am    Post subject: Reply with quote

Hello, my kernel is compiled with:

Code:
<M>Nouveau (NVIDIA) cards
[*]   Nouveau legacy context support
(5)   Maximum debug level
(3)   Default debug level
[ ]   Enable additional MMU debugging
[*]   Support for backlight control

Isn't this enough?
In the /var/log/Xorg.0.log says that the module is loaded, after unloaded and after says that can not load it again, but the first time it looks to load it.

Code:
[  9148.049] (II) LoadModule: "nouveau"
[  9148.050] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  9148.050] (II) Module nouveau: vendor="X.Org Foundation"
[  9148.050]    compiled for 1.20.8, module version = 1.0.16
[  9148.050]    Module class: X.Org Video Driver
[  9148.050]    ABI class: X.Org Video Driver, version 24.1
[  9148.050] (II) UnloadModule: "nouveau"
[  9148.050] (II) Unloading nouveau
[  9148.050] (II) Failed to load module "nouveau" (already loaded, 0)


[Moderator edit: added [code] tags to preserve output layout. -Hu]
_________________
Perchè tanto odio?!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54639
Location: 56N 3W

PostPosted: Sun May 17, 2020 10:14 am    Post subject: Reply with quote

ETeria,

Please use wgetpaste to put your entire dmesg onto a pastebin site.

Please post the output of
Code:
ls -l /boot
too.
wgetpaste works for that too.

I suspect that you have a kernel and modules from two different kernel builds.

The kernel module nouveau loads at startup, as it will provide your console.
There is an Xorg video driver also called nouveau, which is what the Xorg log refers to.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ETeria
n00b
n00b


Joined: 22 May 2008
Posts: 37
Location: Monza

PostPosted: Sun May 17, 2020 10:57 am    Post subject: Reply with quote

Ok, here is dmesg:
http://dpaste.com/3WNCBVF

And here is the folder boot:
Code:
 ls -l /boot/
totale 64808
lrwxrwxrwx 1 root root       28  8 mag 07.22 System.map -> System.map-5.4.28-ppc-gentoo
-rw------- 1 root root  2663129  6 apr 02.30 System.map-4.4.0-178-powerpc-smp
-rw-r--r-- 1 root root  1934158  8 mag 07.21 System.map-5.4.28-ppc-gentoo
-rw-r--r-- 1 root root   174593  6 apr 02.30 config-4.4.0-178-powerpc-smp
-rw-r--r-- 1 root root 36184247  3 mag 01.30 initrd.img-4.4.0-178-powerpc-smp
lrwxrwxrwx 1 root root       32  3 mag 00.22 initrd.img.old -> initrd.img-4.4.0-178-powerpc-smp
lrwxrwxrwx 1 root root       25  8 mag 07.22 vmlinux -> vmlinux-5.4.28-ppc-gentoo
-rw------- 1 root root 12650600  6 apr 02.30 vmlinux-4.4.0-178-powerpc-smp
-rwxr-xr-x 1 root root 12803080  8 mag 07.21 vmlinux-5.4.28-ppc-gentoo
lrwxrwxrwx 1 root root       29  3 mag 00.22 vmlinux.old -> vmlinux-4.4.0-178-powerpc-smp


I have two kernel, one is not a Gentoo one, does it conflicts?
_________________
Perchè tanto odio?!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54639
Location: 56N 3W

PostPosted: Sun May 17, 2020 11:36 am    Post subject: Reply with quote

ETeria,

I wanted to see which kernel you were running but your kernel ringbuffer is too small and its been lost.
Its normally the first line.

Its clear that you are not running the kernel you think you are though.
dmesg should show that the the kernel nouveau driver is in use for the console. Its not mentioned.

That tells that your config snippit
Code:
 <M>Nouveau (NVIDIA) cards
[*] Nouveau legacy context support
(5) Maximum debug level
(3) Default debug level
[ ] Enable additional MMU debugging
[*] Support for backlight control
has not been applied to the running kernel.

Having several kernels installed is not a problem. Its actually a good thing. Everyone builds a kernel that won't boot at some time, and if you have another, that works, its easy to pick it from the boot menu.

You started this topic on Thu May 14, but your most recent kernel is /boot is dated 8 mag (8 May) Does that sound right?

What boot loader do you use?
The /boot directory you are showing is a folder an the root partition as its missing the lost+found directory.
If you do
Code:
mount /boot
do the contents of /boot change?

I suspect that they do, and the /boot you posted is never used.
You must do
Code:
mount /boot
before you install a new kernel.

Your dmesg shows,
Code:
[    0.635037] nvidiafb: Device ID: 10de0329
[    0.640841] nvidiafb: CRTC0 analog not found
[    0.646839] nvidiafb: CRTC1 analog not found

The nvidiafb driver must be off. nouveau will provide your framebuffer console.

The only framebuffer driver that are safe today are Simple Framebuffer and VESA Framebuffer.
EFI Framebuffer is safe if you use EFI firmware, otherwise it cannot work.

Code:
uname -a
will provide useful information about your running kernel. I get
Code:
$ uname -a
Linux NeddySeagoon_Static 5.6.7-gentoo #1 SMP PREEMPT Sat Apr 25 19:25:01 BST 2020 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linux

Thats the kernel version and the build date/time.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ETeria
n00b
n00b


Joined: 22 May 2008
Posts: 37
Location: Monza

PostPosted: Sun May 17, 2020 12:02 pm    Post subject: Reply with quote

I have / mounted on one partition, boot is a folder, not a separate partition.

Code:
panucci / # uname -a
Linux panucci 5.4.28-gentoo #1 PREEMPT Fri May 8 04:17:40 UTC 2020 ppc 7447A, altivec supported PowerBook6,4 GNU/Linux


Yes, the kernel is dated 8 may, because after compiling it, i used the left time with portage to build the world. And because compiling the kernel is too long so i did it once, now i need to understand what's wrong before to compile an updated one. For the moment i use distcc with cross compile but is not so quick.
_________________
Perchè tanto odio?!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54639
Location: 56N 3W

PostPosted: Sun May 17, 2020 12:36 pm    Post subject: Reply with quote

ETeria,

Please pastebin your kernel .config file.

The kernel is the easiest package to pure cross compile.
As you already use distcc with cross compile, the hard work is done.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ETeria
n00b
n00b


Joined: 22 May 2008
Posts: 37
Location: Monza

PostPosted: Sun May 17, 2020 2:01 pm    Post subject: Reply with quote

Here i am, this is the /usr/src/linux/.config file
linux -> linux-5.4.28-gentoo
http://dpaste.com/1VMZE5D

Quote:
The kernel is the easiest package to pure cross compile.
As you already use distcc with cross compile, the hard work is done.

I will learn how make it!

-----------------------
I have done "emerge --sync" and there is an update of mesa, in this moment is building it, i hope it helps.
_________________
Perchè tanto odio?!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54639
Location: 56N 3W

PostPosted: Sun May 17, 2020 3:23 pm    Post subject: Reply with quote

ETeria,

Code:
CONFIG_DRM_NOUVEAU=m
good. That will get you a console once the kernel mounts root an loads the nouveau kernel module.

You don't have a
Code:
CONFIG_DRM_R128=m
turning it off will save compile time.

Code:
CONFIG_FB_UVESA=m
is dead. It needs some user space libraries that have been removed.

Code:
CONFIG_FB_NVIDIA=m
will prevent nouveau working. Turn it off.

Turn on
Code:
# CONFIG_FB_SIMPLE is not set
as it can be used for the console before the nouveau kernel module loads.
That's good for debug.

If you will use genkernel to build the kernel, you need to do it on the G4 as I have no idea how to make that work with a cross compiler.
If the kernel is configured to not need an initrd, it not right now, then its not much different to a normal kernel build.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ETeria
n00b
n00b


Joined: 22 May 2008
Posts: 37
Location: Monza

PostPosted: Sun May 17, 2020 3:41 pm    Post subject: Reply with quote

MANY THANKS!!! I'll try it, not now but in those days, and i'll be back to post the results :)
_________________
Perchè tanto odio?!
Back to top
View user's profile Send private message
ETeria
n00b
n00b


Joined: 22 May 2008
Posts: 37
Location: Monza

PostPosted: Mon May 18, 2020 4:09 pm    Post subject: Reply with quote

YEEEEEEE!!! NeddySeagon i recompiled the kernel with your advices and the xorg client is running :D many thanks for everything!
Do i have to flag this thread with [solved] in the title?
My next step will be to install xfce. I hope Gentoo will continue to maintain ppc 32 bit for long time, is the only distro remained, and is the best distro! (for my Opetron machine and for my Intel Imac too :D everything with Gentoo)
_________________
Perchè tanto odio?!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54639
Location: 56N 3W

PostPosted: Mon May 18, 2020 5:02 pm    Post subject: Reply with quote

ETeria,

You can edit the title of your original post in the thread.
Keep it to less than 80 characters after special symbols have been converted to their html representation.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
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