You are not logged in.

#1 2012-07-15 11:45:29

thorn
Member
Registered: 2012-05-09
Posts: 6

[SOLVED] New kernel dont work with catalyst

Hi,

was gonna upgrade my system today, i haven't updates the /lib yet so i did the following:
#pacman -Suy --ignore glibc
when i saw this:

==> Building image from preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.4.4-3-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [pata]
  -> Running build hook: [scsi]
  -> Running build hook: [sata]
  -> Running build hook: [filesystems]
  -> Running build hook: [usbinput]
  -> Running build hook: [fsck]
  -> Running build hook: [fglrx]
Building fglrx module for 3.4.4-3-ARCH kernel ...
Failed!!! Check out log: /var/log/catalyst-install.log
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.4.4-3-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [pata]
  -> Running build hook: [scsi]
  -> Running build hook: [sata]
  -> Running build hook: [filesystems]
  -> Running build hook: [usbinput]
  -> Running build hook: [fsck]
  -> Running build hook: [fglrx]
Building fglrx module for 3.4.4-3-ARCH kernel ...
Failed!!! Check out log: /var/log/catalyst-install.log
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful

/var/log/catalyst.log

--------
2012-07-15 13:34:10
Building fglrx module for 3.4.4-3-ARCH kernel ...
--------
patching file Makefile
Hunk #1 succeeded at 68 (offset 2 lines).
patching file firegl_public.c
Hunk #2 succeeded at 4162 (offset 2 lines).
patching file kcl_ioctl.c
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 217 with fuzz 1.
patching file firegl_public.c
Hunk #1 succeeded at 2114 (offset 8 lines).
Hunk #2 succeeded at 2131 (offset 8 lines).
Hunk #3 succeeded at 2148 (offset 8 lines).
Hunk #4 succeeded at 2161 (offset 8 lines).
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
Warning:
kernel includes at /lib/modules/3.4.4-3-ARCH/build/include not found or incomplete
file: /lib/modules/3.4.4-3-ARCH/build/include/linux/autoconf.h

Warning:
kernel includes at /lib/modules/3.4.4-3-ARCH/build/include not found or incomplete
file: /lib/modules/3.4.4-3-ARCH/build/include/linux/autoconf.h

assuming default: MODVERSIONS=0
Warning:
kernel includes at /lib/modules/3.4.4-3-ARCH/build/include not found or incomplete
file: /lib/modules/3.4.4-3-ARCH/build/arch/x86/include/asm/compat.h

make: Entering directory `/usr/src/linux-3.4.4-3-ARCH'
  CC [M]  /tmp/catalyst.OfbPQS/firegl_public.o
  CC [M]  /tmp/catalyst.OfbPQS/kcl_acpi.o
  CC [M]  /tmp/catalyst.OfbPQS/kcl_agp.o
  CC [M]  /tmp/catalyst.OfbPQS/kcl_debug.o
  CC [M]  /tmp/catalyst.OfbPQS/kcl_ioctl.o
/tmp/catalyst.OfbPQS/kcl_ioctl.c: In function ‘KCL_IOCTL_AllocUserSpace32’:
/tmp/catalyst.OfbPQS/kcl_ioctl.c:226:5: error: implicit declaration of function ‘compat_alloc_user_space’ [-Werror=implicit-function-declaration]
/tmp/catalyst.OfbPQS/kcl_ioctl.c:226:24: warning: initialization makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
make[1]: *** [/tmp/catalyst.OfbPQS/kcl_ioctl.o] Error 1
make: *** [_module_/tmp/catalyst.OfbPQS] Error 2
make: Leaving directory `/usr/src/linux-3.4.4-3-ARCH'

--------
2012-07-15 13:34:17
Building fglrx module for 3.4.4-3-ARCH kernel ...
--------
patching file Makefile
Hunk #1 succeeded at 68 (offset 2 lines).
patching file firegl_public.c
Hunk #2 succeeded at 4162 (offset 2 lines).
patching file kcl_ioctl.c
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 217 with fuzz 1.
patching file firegl_public.c
Hunk #1 succeeded at 2114 (offset 8 lines).
Hunk #2 succeeded at 2131 (offset 8 lines).
Hunk #3 succeeded at 2148 (offset 8 lines).
Hunk #4 succeeded at 2161 (offset 8 lines).
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
Warning:
kernel includes at /lib/modules/3.4.4-3-ARCH/build/include not found or incomplete
file: /lib/modules/3.4.4-3-ARCH/build/include/linux/autoconf.h

Warning:
kernel includes at /lib/modules/3.4.4-3-ARCH/build/include not found or incomplete
file: /lib/modules/3.4.4-3-ARCH/build/include/linux/autoconf.h

assuming default: MODVERSIONS=0
Warning:
kernel includes at /lib/modules/3.4.4-3-ARCH/build/include not found or incomplete
file: /lib/modules/3.4.4-3-ARCH/build/arch/x86/include/asm/compat.h

make: Entering directory `/usr/src/linux-3.4.4-3-ARCH'
  CC [M]  /tmp/catalyst.ASaWaX/firegl_public.o
  CC [M]  /tmp/catalyst.ASaWaX/kcl_acpi.o
  CC [M]  /tmp/catalyst.ASaWaX/kcl_agp.o
  CC [M]  /tmp/catalyst.ASaWaX/kcl_debug.o
  CC [M]  /tmp/catalyst.ASaWaX/kcl_ioctl.o
/tmp/catalyst.ASaWaX/kcl_ioctl.c: In function ‘KCL_IOCTL_AllocUserSpace32’:
/tmp/catalyst.ASaWaX/kcl_ioctl.c:226:5: error: implicit declaration of function ‘compat_alloc_user_space’ [-Werror=implicit-function-declaration]
/tmp/catalyst.ASaWaX/kcl_ioctl.c:226:24: warning: initialization makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
make[1]: *** [/tmp/catalyst.ASaWaX/kcl_ioctl.o] Error 1
make: *** [_module_/tmp/catalyst.ASaWaX] Error 2
make: Leaving directory `/usr/src/linux-3.4.4-3-ARCH'

so now im running without catalyst and /lib is still not fixed:
#pacman -Su

[root@anna thorn]# pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (1): glibc-2.16.0-2

Total Installed Size:   37.58 MiB
Net Upgrade Size:       0.00 MiB

Proceed with installation? [Y/n] 
(1/1) checking package integrity                                                                  [##########################################################] 100%
(1/1) loading package files                                                                       [##########################################################] 100%
(1/1) checking for file conflicts                                                                 [##########################################################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.

i'm very thankful if i can get a some help or direction on what to do with this, and i hope i didnt't make the post unclear.

Br
Thorn

Last edited by thorn (2012-07-15 13:32:29)

Offline

#2 2012-07-15 12:25:17

fatboy
Member
From: India
Registered: 2012-03-17
Posts: 73

Re: [SOLVED] New kernel dont work with catalyst

Try removing catalyst for now, then reinstall it after the update.

Offline

#3 2012-07-15 13:30:02

thorn
Member
Registered: 2012-05-09
Posts: 6

Re: [SOLVED] New kernel dont work with catalyst

worked! tyvm

did like this, thr "rm -rf" might be bad i dont really know :S
but the new folder got populated.

pacman -R catalyst-hook
rm -rf  /lib/modules
pacman -Su
pacman -S catalyst/catalyst-hook
pacman -S linux

Br
Thorn

Last edited by thorn (2012-07-15 13:32:14)

Offline

Board footer

Powered by FluxBB