custom kernel

Denis
Posts: 301
Joined: Sun Apr 26, 2009 3:24 pm

Re: custom kernel

Post by Denis »

Hmm..
Drm and psb sources available under drivers/char/drm.

Squashfs and unionfs from Ubuntu distribution indeed not in our release but available here
http://archive.ubuntu.com/ubuntu/pool/m ... .39.tar.gz
Compulab's Linux support

gearheadgeek
Posts: 13
Joined: Fri Aug 28, 2009 10:07 pm

Re: custom kernel

Post by gearheadgeek »

Denis wrote:Hmm..
Drm and psb sources available under drivers/char/drm.
This is what I am using:
linux_2.6.24.orig.tar.gz
linux_2.6.24-34.7.diff.gz

Drm and psb sources are not there. Perhaps they are on your your hard drive - that I can't see. But they are most certainly not included in those two files.
Squashfs and unionfs from Ubuntu distribution indeed not in our release but available here
http://archive.ubuntu.com/ubuntu/pool/m ... .39.tar.gz
And they will work with your distributed kernel with the strange rt_* symbols?

Carl

Denis
Posts: 301
Joined: Sun Apr 26, 2009 3:24 pm

Re: custom kernel

Post by Denis »

linux_2.6.24.orig.tar.gz from our website?
Compulab's Linux support

gearheadgeek
Posts: 13
Joined: Fri Aug 28, 2009 10:07 pm

Re: custom kernel

Post by gearheadgeek »

Denis wrote:linux_2.6.24.orig.tar.gz from our website?
I suppose I could be wrong, but I assumed this:

http://fit-pc2.com/download/ubuntu/dists/hardy/source/

was your web site. If that is wrong, where can I get the the source that you mentioned that does include drm/psb?
Squashfs and unionfs from Ubuntu distribution indeed not in our release but available here
http://archive.ubuntu.com/ubuntu/pool/m ... .39.tar.gz
Ok, this is source that apparently lives outside the kernel tree, in:

lum/ubuntu/media/drm-poulsbo/
and
lum/ubuntu/fs/squashfs/

Can you please tell me what to do with that? I mean where do I burst the tar ball and how do I get it stitched into the kernel build? The patch doesn't appear to do that and the Makefiles are clearly not stand alone.

Carl

Denis
Posts: 301
Joined: Sun Apr 26, 2009 3:24 pm

Re: custom kernel

Post by Denis »

Yes, http://fit-pc2.com/download/ubuntu/dists/hardy/source/ is our site. All you need is linux_2.6.24.orig.tar.gz and linux_2.6.24-34.9.diff.gz. Config file under debian/config/

Are you sure there is no any *psb* file under drivers/char/drm? Please post what do you have under this folder
Compulab's Linux support

gearheadgeek
Posts: 13
Joined: Fri Aug 28, 2009 10:07 pm

Re: custom kernel

Post by gearheadgeek »

Denis wrote:Yes, http://fit-pc2.com/download/ubuntu/dists/hardy/source/ is our site. All you need is linux_2.6.24.orig.tar.gz and linux_2.6.24-34.9.diff.gz. Config file under debian/config/
I used /proc/config.gz from a running system generated by following these directions from your site (http://fit-pc2.com/wiki/index.php?title ... buntu_8.04) It is identical to /boot/config-2.6.24-34-fitpc2 from the same system - is that wrong? I do not find any debian/config
Are you sure there is no any *psb* file under drivers/char/drm? Please post what do you have under this folder
Here you go:

Code: Select all

ati_pcigart.c       drm_sarea.h    mga_drm.h       savage_bci.c
drm_agpsupport.c    drm_scatter.c  mga_drv.c       savage_drm.h
drm_auth.c          drm_sman.c     mga_drv.h       savage_drv.c
drm_bufs.c          drm_sman.h     mga_ioc32.c     savage_drv.h
drm_context.c       drm_stub.c     mga_irq.c       savage_state.c
drm_core.h          drm_sysfs.c    mga_state.c     sis_drm.h
drm_dma.c           drm_vm.c       mga_ucode.h     sis_drv.c
drm_drawable.c      i810_dma.c     mga_warp.c      sis_drv.h
drm_drv.c           i810_drm.h     r128_cce.c      sis_mm.c
drm_fops.c          i810_drv.c     r128_drm.h      tdfx_drv.c
drm.h               i810_drv.h     r128_drv.c      tdfx_drv.h
drm_hashtab.c       i830_dma.c     r128_drv.h      via_3d_reg.h
drm_hashtab.h       i830_drm.h     r128_ioc32.c    via_dmablit.c
drm_ioc32.c         i830_drv.c     r128_irq.c      via_dmablit.h
drm_ioctl.c         i830_drv.h     r128_state.c    via_dma.c
drm_irq.c           i830_irq.c     r300_cmdbuf.c   via_drm.h
drm_lock.c          i915_dma.c     r300_reg.h      via_drv.c
drm_memory.c        i915_drm.h     radeon_cp.c     via_drv.h
drm_memory_debug.h  i915_drv.c     radeon_drm.h    via_irq.c
drm_memory.h        i915_drv.h     radeon_drv.c    via_map.c
drm_mm.c            i915_ioc32.c   radeon_drv.h    via_mm.c
drm_os_linux.h      i915_irq.c     radeon_ioc32.c  via_verifier.c
drm_pci.c             i915_mem.c     radeon_irq.c    via_verifier.h
drm_pciids.h       Kconfig        radeon_mem.c    via_video.c
drmP.h                 Makefile       radeon_state.c
drm_proc.c          mga_dma.c      README.drm

gearheadgeek
Posts: 13
Joined: Fri Aug 28, 2009 10:07 pm

Re: custom kernel

Post by gearheadgeek »

Denis wrote:Yes, http://fit-pc2.com/download/ubuntu/dists/hardy/source/ is our site. All you need is linux_2.6.24.orig.tar.gz and linux_2.6.24-34.9.diff.gz. Config file under debian/config/

Are you sure there is no any *psb* file under drivers/char/drm? Please post what do you have under this folder
I understand your confusion. I started over from scratch, downloading those two files again, bursting, patching, and I find *psb* in drivers/char/drm. I also find debian/config/i386/config.fitpc2 that matches the one I used earlier. I certainly don't understand this, but will now go away and try again.

I haven't dealt with vendor specific kernel patches before. Would "make clean" or "make mrproper" wipe out any of your patches?

Carl

gearheadgeek
Posts: 13
Joined: Fri Aug 28, 2009 10:07 pm

Re: custom kernel

Post by gearheadgeek »

Denis,

By starting again from scratch with linux_2.6.24.orig.tar.gz and linux_2.6.24-34.9.diff.gz I can compile a kernel with drm_psb and psb modules.

I can patch the source for squashfs and compile cleanly.

A compile after patching for unionfs fails because of a difference between nrpages and __nrpages. Your sources have a different include/linux/fs.h than 2.6.24.2 from Ubuntu and 2.6.24 from kernel.org. Why is this? How do I get past this? Can I apply your -34-fitpc2 diffs to 2.6.24 from kernel.org?

Carl

gearheadgeek
Posts: 13
Joined: Fri Aug 28, 2009 10:07 pm

Re: custom kernel

Post by gearheadgeek »

gearheadgeek wrote:Can I apply your -34-fitpc2 diffs to 2.6.24 from kernel.org?
That isn't useful. Neither 2.6.24 from kernel.org nor 2.6.24.2 from Ubuntu have the *psb* stuff.

Carl

Denis
Posts: 301
Joined: Sun Apr 26, 2009 3:24 pm

Re: custom kernel

Post by Denis »

Why you do not try Ubuntu 9.04? Drm, psb, unionfs, squashfs included in kernel sources already
Compulab's Linux support

Post Reply

Return to “Linux on fit-PC2”