osdir.com
mailing list archive

Subject: Re: Broken kernel build??? - msg#00022

List: linux.ports.h2200

Date: Prev Next Index Thread: Prev Next Index
On Friday 01 July 2005 09:40 am, Thomas D. Hite wrote:
> Hey - does anyone know of someone checking in broken code to the kernel?
>
> Or did I magically catch a window of update?
>
> anyway - it seems <linux/device.h> is missing from h2200_buttons.c per
> following errs (below).
>
> I fixed it in my local copy - but anyone checking out code will not
> build correctly at this time.

Sorry, I forgot to commit that fix. I have now.

Matt


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Broken kernel build???

Hey - does anyone know of someone checking in broken code to the kernel? Or did I magically catch a window of update? anyway - it seems <linux/device.h> is missing from h2200_buttons.c per following errs (below). I fixed it in my local copy - but anyone checking out code will not build correctly at this time. In file included from /usr/local/arm/linux/kernel26/arch/arm/common/ipaq/hamcop_base.h:26, from arch/arm/mach-pxa/h2200/h2200_buttons.c:24: include/asm/hardware/shamcop-clocks.h: In function `shamcop_get_clock': include/asm/hardware/shamcop-clocks.h:27: error: dereferencing pointer to incomplete type include/asm/hardware/shamcop-clocks.h: In function `shamcop_clock_enable': include/asm/hardware/shamcop-clocks.h:35: error: dereferencing pointer to incomplete type include/asm/hardware/shamcop-clocks.h: In function `shamcop_gclk': include/asm/hardware/shamcop-clocks.h:43: error: dereferencing pointer to incomplete type arch/arm/mach-pxa/h2200/h2200_buttons.c: In function `h2200_key_isr': arch/arm/mach-pxa/h2200/h2200_buttons.c:52: error: invalid use of undefined type `struct platform_device' arch/arm/mach-pxa/h2200/h2200_buttons.c: In function `h2200_buttons_init': arch/arm/mach-pxa/h2200/h2200_buttons.c:68: error: invalid use of undefined type `struct platform_device' arch/arm/mach-pxa/h2200/h2200_buttons.c: In function `h2200_buttons_exit': arch/arm/mach-pxa/h2200/h2200_buttons.c:157: error: invalid use of undefined type `struct platform_device' make[2]: *** [arch/arm/mach-pxa/h2200/h2200_buttons.o] Error 1 make[1]: *** [arch/arm/mach-pxa/h2200] Error 2 make: *** [arch/arm/mach-pxa] Error 2 Tom

Next Message by Date: click to view message preview

Re: Booting off SD?

hmmmmmmmmmmmm.... i gotta go think about that one for a bit. let me play and see why that might happen to you. Tom Badinside wrote: Here some hint: ~/ipaq/mmc/work$ sudo grep depmod * etc/init.d/* etc/init.d/modutils.sh:[ -e /sbin/depmod ] || exit 0 etc/init.d/modutils.sh:depmod -Ae and ~/ipaq/mmc/work$ ls lib/modules/2.6.11-hh2/ -l totale 60 lrwxrwxrwx 1 root root 32 2005-07-01 20:25 build -> /usr/home/mreimer/linux/kernel26 drwxr-xr-x 7 root root 168 2005-06-13 21:02 kernel -rw-r--r-- 1 root root 434 2005-06-13 21:02 modules.alias -rw-r--r-- 1 root root 69 2005-06-13 21:02 modules.ccwmap -rw-r--r-- 1 root root 7683 2005-06-13 21:02 modules.dep -rw-r--r-- 1 root root 73 2005-06-13 21:02 modules.ieee1394map -rw-r--r-- 1 root root 278 2005-06-13 21:02 modules.inputmap -rw-r--r-- 1 root root 81 2005-06-13 21:02 modules.isapnpmap -rw-r--r-- 1 root root 99 2005-06-13 21:02 modules.pcimap -rw-r--r-- 1 root root 144 2005-04-26 03:07 modules.socmap -rw-r--r-- 1 root root 18484 2005-06-13 21:02 modules.symbols -rw-r--r-- 1 root root 189 2005-06-13 21:02 modules.usbmap lrwxrwxrwx 1 root root 32 2005-07-01 20:25 source -> /usr/home/mreimer/linux/kernel26 it seems to be ok.. On Fri, 01 Jul 2005 11:20:14 -0500 "Thomas D. Hite" <tdhite-z/Oc67mRAAuBldXiawXZ59HuzzzSOjJt@xxxxxxxxxxxxxxxx> wrote: those links below don't particularly matter. It's specifically the /lib/modules/??? directory that matters. So it looks like that's ~/ipaq/mmc/work/lib/modules in there, either you must have the correct directory for your modules (looks like that's there), and also you must have the proper modules.* files in place (generated from the kernel build usually). In the end, you could just add a 'depmod -a' to your boot scripts if it's not there. but it's not looking obvious as to why you are not seeing the modules.dep file, which should be here: /lib/modules/<kernel_version/modules.dep Lemme know. Tom Badinside wrote: True. I'm not using initrd (as the noinitrd kernel directive means in the startup.txt). Here the answer: ~/ipaq/mmc/work/lib/modules/2.6.11-hh2$ ls -l | grep ^l lrwxrwxrwx 1 root root 32 2005-07-01 20:25build->/usr/home/mreimer/linux/kernel26 lrwxrwxrwx 1 root root 322005-07-01 20:25 source -> /usr/home/mreimer/linux/kernel26 I'll set the correct links, and try again. Thanks (but don't go to sleep :P ) On Fri, 01 Jul 2005 11:01:34 -0500 "Thomas D. Hite" <tdhite-z/Oc67mRAAuBldXiawXZ59HuzzzSOjJt@xxxxxxxxxxxxxxxx> wrote: It's somewhat hard to say what your are doing so here's some comments: 1) if you are booting with an initrd, then does the initrd and the rootfs have the exact same kernel build (modules and everything must at least be the same). 2) if you are *not* booting with an initrd, but going straight to init, then it sure looks like eithe r you are missing a link to the correct modules directory in /lib/modules, or you simply have a broken modules directory in general (somehow). ??? Tom Badinside wrote: Thanks to Matt for the private answer (due to my lame use of the 'reply' button :) Here I have a Brand New Error: I used the NFS rootfs, it boots, I can see this: http://insomniac.orson.it/2210/shot1.jpg , then I get some debug (over the graphic splash?) http://insomniac.orson.it/2210/shot2.jpg , that simply contains (sorry for my bad camera) this: INIT: entering runlevel: 2 Starting: Dropbear SSH server: dropbear Starting portmap daemon: portmap/sbin/portmap already running. 1592 modprobe: FATAL: could not load /lib/modules/2.6.11-hh2/modules.dep: No such file or directory modprobe: FATAL: could not load /lib/modules/2.6.11-hh2/modules.dep: No such file or directory Starting advanced power management daemon: no APM support in kernel (failed) Starting system message bus: dbus-1. Starting PCMCIA services: FATAL: couldn't load /lib/modules/2.6.11-hh2/modules.dep: No such file or directory Starting syslogd/klogd: done Starting at daemon: atd. Then I try to ssh into the ipaq, and I get no route to host. I thought it was due to the new rootfs, so I corrected the /etc/fstab entries, /etc/passwd (again, the hash) and checked into /etc/networks for possibly wrong ip addresses or configuration. It seems to be ok. Anyway I can't gain networking. What may differ in that way between the two rootfs's? Andrea _______________________________________________ H2200-port mailing list H2200-port-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx https://handhelds.org/mailman/listinfo/h2200-port _______________________________________________ H2200-port mailing list H2200-port-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx https://handhelds.org/mailman/listinfo/h2200-port _______________________________________________ H2200-port mailing list H2200-port-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx https://handhelds.org/mailman/listinfo/h2200-port _______________________________________________ H2200-port mailing list H2200-port-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx https://handhelds.org/mailman/listinfo/h2200-port

Previous Message by Thread: click to view message preview

Broken kernel build???

Hey - does anyone know of someone checking in broken code to the kernel? Or did I magically catch a window of update? anyway - it seems <linux/device.h> is missing from h2200_buttons.c per following errs (below). I fixed it in my local copy - but anyone checking out code will not build correctly at this time. In file included from /usr/local/arm/linux/kernel26/arch/arm/common/ipaq/hamcop_base.h:26, from arch/arm/mach-pxa/h2200/h2200_buttons.c:24: include/asm/hardware/shamcop-clocks.h: In function `shamcop_get_clock': include/asm/hardware/shamcop-clocks.h:27: error: dereferencing pointer to incomplete type include/asm/hardware/shamcop-clocks.h: In function `shamcop_clock_enable': include/asm/hardware/shamcop-clocks.h:35: error: dereferencing pointer to incomplete type include/asm/hardware/shamcop-clocks.h: In function `shamcop_gclk': include/asm/hardware/shamcop-clocks.h:43: error: dereferencing pointer to incomplete type arch/arm/mach-pxa/h2200/h2200_buttons.c: In function `h2200_key_isr': arch/arm/mach-pxa/h2200/h2200_buttons.c:52: error: invalid use of undefined type `struct platform_device' arch/arm/mach-pxa/h2200/h2200_buttons.c: In function `h2200_buttons_init': arch/arm/mach-pxa/h2200/h2200_buttons.c:68: error: invalid use of undefined type `struct platform_device' arch/arm/mach-pxa/h2200/h2200_buttons.c: In function `h2200_buttons_exit': arch/arm/mach-pxa/h2200/h2200_buttons.c:157: error: invalid use of undefined type `struct platform_device' make[2]: *** [arch/arm/mach-pxa/h2200/h2200_buttons.o] Error 1 make[1]: *** [arch/arm/mach-pxa/h2200] Error 2 make: *** [arch/arm/mach-pxa] Error 2 Tom

Next Message by Thread: click to view message preview

Is h2200 port active anymore?

The last msg on the msg listing, was from sometime ago, is this still active? Also the last news or update done to the site was also a while ago...-- Timothy T.PHP-CodeHttp://inf-webs.com _______________________________________________ H2200-port mailing list H2200-port-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx https://handhelds.org/mailman/listinfo/h2200-port
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by