[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X stopped working with 5.14 on iBook



Hi Stan!

On 10/8/21 18:49, Stan Johnson wrote:
> Compiling 5.14.9 using Debian's 5.14.0-2 config file:
> 
> $ rm -r linux-source-5.14
> $ xzcat ../linux-source-5.14.tar.xz | tar xf -
> $ cd linux-source-5.14
> $ cp ../config-5.14.0-2-powerpc .config
> $ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- -j4 clean
> olddefconfig vmlinux
> ...
> $ ls -l vmlinux
> -rwxr-xr-x 1 johnson johnson 208626696 Oct  8 09:03 vmlinux
> $ strings vmlinux | fgrep 'Linux version'
> Linux version 5.14.9 (johnson@ThinkPad) (powerpc-linux-gnu-gcc (Debian
> 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.37) #1 Fri
> Oct 8 08:54:06 MDT 2021
> 
> The kernel (with modules) is too big to test unless I re-partition the
> disk on my G4 Cube.

That is the unstripped, uncompressed image. You can either strip this image:

glaubitz@node54:/data/home/glaubitz/linux> ls -lh vmlinux
-rwxr-xr-x 1 glaubitz users 274M Oct  8 17:09 vmlinux
glaubitz@node54:/data/home/glaubitz/linux> strip vmlinux
glaubitz@node54:/data/home/glaubitz/linux> ls -lh vmlinux
-rwxr-xr-x 1 glaubitz users 27M Oct  8 17:09 vmlinux
glaubitz@node54:/data/home/glaubitz/linux>

or pick the ready-made images, already compressed from arch/powerpc/boot:

glaubitz@node54:/data/home/glaubitz/linux> ls -lh arch/powerpc/boot/zImage*
-rwxr-xr-x 2 glaubitz users 5.9M Oct  8 17:09 arch/powerpc/boot/zImage
-rw-r--r-- 1 glaubitz users  688 Apr 22 17:34 arch/powerpc/boot/zImage.coff.lds
-rw-r--r-- 1 glaubitz users  688 Apr 22 16:41 arch/powerpc/boot/zImage.coff.lds.S
-rwxr-xr-x 1 glaubitz users 5.9M Oct  8 17:09 arch/powerpc/boot/zImage.epapr
-rw-r--r-- 1 glaubitz users 1.1K Oct  8 17:03 arch/powerpc/boot/zImage.lds
-rw-r--r-- 1 glaubitz users 1.5K Apr 22 16:41 arch/powerpc/boot/zImage.lds.S
-rwxr-xr-x 1 glaubitz users 5.9M Oct  8 17:09 arch/powerpc/boot/zImage.maple
-rwxr-xr-x 1 glaubitz users 5.9M Oct  8 17:09 arch/powerpc/boot/zImage.pmac
-rw-r--r-- 1 glaubitz users  779 Oct  8 17:03 arch/powerpc/boot/zImage.ps3.lds
-rw-r--r-- 1 glaubitz users  779 Aug 16 12:52 arch/powerpc/boot/zImage.ps3.lds.S
-rwxr-xr-x 2 glaubitz users 5.9M Oct  8 17:09 arch/powerpc/boot/zImage.pseries
glaubitz@node54:/data/home/glaubitz/linux>

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: