Re: 2.6.16 kernel build errors

2006-04-02 Thread Matthew T. Atkinson
The compile with make-kpkg dies on me with:

arch/powerpc/platforms/built-in.o: In function `pmac_calibrate_decr':
undefined reference to `pmu_register_sleep_notifier'

I've been having problems with viewports in X on kernels later than
2.6.12 and was hoping to compile this one to see if the problem remains.

I'm not sure it's the same error but IMHO it fits under the thread's
remit :-).

Has anyone else had this problem?  I have a 1.5 G4 AlBook.

best regards,


-- 
Matthew T. Atkinson [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.16 kernel build errors

2006-03-29 Thread Adam Done
Eddy PetriXor wrote:
 On 3/29/06, Adam Done [EMAIL PROTECTED] wrote:
 
I have been reading on the list of those who can't boot from their
2.6.16 kernel but I have not seen anyone else who are having build
issues such as I.  I have been trying and trying with many dif
configurations and still come up with the same results.  It looks like
they are related to the errors other have been having with booting and
sound issues.  For my errors, they occur in the build process right
after sound modules.

snip
INSTALL sound/core/oss/snd-mixer-oss.ko
 
 
 This is Debian, have you tried make-kpkg?


Yes.

This is what I have been using over the years...

1.  make-kpkg clean   #if a previous compile has been done

2.  make xconfig
3.  select kernel modules

4.  make-kpkg --append-to-version [kernel version] kernel_image
or  make-kpkg --append-to-version [kernel version] -rev Custom.1 
kernel_image

5.  make-kpkg modules_image --append-to-version [kernel version]
or  make-kpkg modules_image --append-to-version [kernel version] -rev 
Custom.1

6.  cd ..
7.  dpkg -i kernel-image-[...]
or  Install kernel on destination box

I have had a kernel in the past which would not finish building which ended up 
the same way and I just had to touch a file which the make process was not 
doing and it finished compiling but this time I tried that and the kernel did 
not even boot past yaboot in the initial screen showing the kernel name and 
before the actual kernel booting up.

This is what I have done.

# make-kpkg --append-to-version .ppc-pb1 -rev Custom.1 kernel_image
or
# make-kpkg --append-to-version .ppc-pb1 kernel_image


This is using the vanilla kernel from kernel.org and using 'make oldconfig' 
from my last working kernel.  I have even downloaded the kernel config from 
http://www.ppckernel.org/specialized.php and preformed a 'make oldconfig' from 
the powerbook config and I still get the same issue.  Sadly, they all return 
the same results.

The only conclusion I can come up with is that something is amiss in the 
vanilla kernel that is not agreeing with me.

If there is a specific place to download the newest PPC kernel tree I don't 
know of yet?

I have a standard box I compile all my Debian kernels which is a 800Hz G4 
running Ubuntu and then the kernels are distributed out from there.

-Adam



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



2.6.16 kernel build errors

2006-03-28 Thread Adam Done
I have been reading on the list of those who can't boot from their
2.6.16 kernel but I have not seen anyone else who are having build
issues such as I.  I have been trying and trying with many dif
configurations and still come up with the same results.  It looks like
they are related to the errors other have been having with booting and
sound issues.  For my errors, they occur in the build process right
after sound modules. 

snip
INSTALL sound/core/oss/snd-mixer-oss.ko
  INSTALL sound/core/oss/snd-pcm-oss.ko
  INSTALL sound/core/seq/oss/snd-seq-oss.ko
  INSTALL sound/core/seq/snd-seq-device.ko
  INSTALL sound/core/seq/snd-seq-dummy.ko
  INSTALL sound/core/seq/snd-seq-midi-event.ko
  INSTALL sound/core/seq/snd-seq.ko
  INSTALL sound/core/snd-page-alloc.ko
  INSTALL sound/core/snd-pcm.ko
  INSTALL sound/core/snd-timer.ko
  INSTALL sound/core/snd.ko
  INSTALL sound/soundcore.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
System.map -b /usr/src/linux/debian/tmp-image -r 2.6.16.1.ppc-pb1; fi
make[2]: Leaving directory `/usr/src/linux-2.6.16.1'
test ! -e debian/tmp-image/lib/modules/2.6.16.1.ppc-pb1/source
||\
   mv debian/tmp-image/lib/modules/2.6.16.1.ppc-pb1/source
./debian/source-link
test ! -e debian/tmp-image/lib/modules/2.6.16.1.ppc-pb1/build
|| \
   mv debian/tmp-image/lib/modules/2.6.16.1.ppc-pb1/build
./debian/build-link
depmod -q -FSystem.map -b debian/tmp-image 2.6.16.1.ppc-pb1;
test ! -e ./debian/source-link
||  \
   mv ./debian/source-link
debian/tmp-image/lib/modules/2.6.16.1.ppc-pb1/source
test ! -e  ./debian/build-link
||  \
   mv  ./debian/build-link
debian/tmp-image/lib/modules/2.6.16.1.ppc-pb1/build
cp vmlinux debian/tmp-image/boot/vmlinux-2.6.16.1.ppc-pb1
chmod 644 debian/tmp-image/boot/vmlinux-2.6.16.1.ppc-pb1;
cp arch/ppc/boot/images/vmlinux.coff  
debian/tmp-image/boot/vmlinux.coff-2.6.16.1.ppc-pb1
cp: cannot stat `arch/ppc/boot/images/vmlinux.coff': No such file or
directory
make[1]: *** [real_stamp_image] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.16.1'
make: *** [kernel-image-deb] Error 2

snip end

I have even tried a 'touch arch/ppc/boot/images/vmlinux.coff' and it
finishes it build but when booting, I can't leave the initial kernel
start after yaboot.  Am I missing something that everyone else knows or
missed the memo?  :) 

-Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.16 kernel build errors

2006-03-28 Thread Eddy Petrişor
On 3/29/06, Adam Done [EMAIL PROTECTED] wrote:
 I have been reading on the list of those who can't boot from their
 2.6.16 kernel but I have not seen anyone else who are having build
 issues such as I.  I have been trying and trying with many dif
 configurations and still come up with the same results.  It looks like
 they are related to the errors other have been having with booting and
 sound issues.  For my errors, they occur in the build process right
 after sound modules.

 snip
 INSTALL sound/core/oss/snd-mixer-oss.ko

This is Debian, have you tried make-kpkg?

--
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein