[iPAQ] FW: compiled kernel vfat boot errors

From: Waeyenbergh, Sven <Sven.Waeyenbergh.a.t.atosorigin.com>
Date: Fri Jan 16 2004 - 08:39:40 EST

Hi, i'm not really sure if this needs to be posted in the familiar mailinglist or here, sorry if i got it wrong.

I'm having troubles booting from a freshly-made kernel that i'm testing for dualboot usage.

- I installed a fresh new famialiar 0.7.2 (GPE image) in the flash of my ipaq 3630. (to have a working system to fdisk and such)
- i upgraded it and installed some modules (ext2 en utils)
- it was running kernel familiar 2.4.19-rmk6-pxa1-hh30, so i decided to get that one from CVS and compile it on my x86 machine.

i got this kernel via :
TAG=K`echo 2.4.19-rmk6-pxa1-hh30 | sed s/'\.'/-/g`
export CVSROOT=:pserver:anoncvs@cvs.handhelds.org:/cvs
cvs login
cvs checkout -r $TAG linux/kernel

- ofcourse i installed the toolschain on the x86 machine.
- compiled the kernel and modules on my x86 machine for arm arch with no problems.
- copied the zImage to /boot on my CF card
- downloaded some old cramfs initrd image from the wiki, mounted it over loop, copied its contents into a writable directory and delete the modules from that directory. (inpired by http://www.handhelds.org/z/wiki/Installing%20a%20new%20kernel%20and%20modules)
- did a "make INSTALL_MOD_PATH=/my/initrd/dir/initrd-2-4-19-rmk6-pxa-hh30 modules_install" : no problems except the expected ELF warnings.
- deleted modules.dep and recreated it as a link to /var/run/modules.dep as explained on the page above
- tarred the root of flash to a ext2 partition on my CF (except for /dev and /proc, but recreated those empty on the ext2)
- created the appropriate params file in /boot on the cf and rebooted the ipaq.
- a "boot vfat" finds botk kernel and initrd just fine, but complains about missing modules ??

Extra info:
ipaq : 3630 with memplug dual cf sleeve and also a sigle pcmcia sleeve
cf : fast 512MB card

My questions:

- did i have to delete the modules.dep and create it as a link ? or is this only needed for old setups ?
- i can't find any "h3600_hal" module, it seems to be merged into "h3600_asic", is that correct ?
- any other pointers ?
- i will be posting my complete history and a working instruction on how to compile the kernel / install toolchain etc on the wiki, but there already seem to be a few pages like those, any pointers where these should go ?

Bootlog from a "boot vfat" :

<snipped out the stuff that goes oke>...
....
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 4603K
VFS: Mounted root (cramfs filesystem).
Mounted devfs on /dev
Freeing init memory: 68K
* mounting /proc
* mounting /dev
mount: none already mounted or /dev busy
mount: according to mtab, none is already mounted on /dev
* setting up RAMFS
depmod: error reading ELF header /lib/modules/2.4.19-rmk6-pxa1-hh30/modules.dep.backup: No such file or directory
depmod: /lib/modules/2.4.19-rmk6-pxa1-hh30/modules.ieee1394map is not an ELF file
depmod: error reading ELF header /lib/modules/2.4.19-rmk6-pxa1-hh30/modules.pnpbiosmap: No such file or directory
insmod: h3600_hal: no module by that name found
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol register_serial_h3800
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol unregister_serial_h3800
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol h3600_hal_ops
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol h3600_hal_register_interface
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol h3600_hal_keypress
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol ipaq_mtd_asset_read
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol ipaq_mtd_asset_cleanup
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol register_serial_h3800_fns
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol mmc_cmd_complete
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol mmc_unregister_slot_driver
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol h3600_hal_option_detect
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol h3600_hal_touchpanel
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol ipaq_mtd_asset_init
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol g_mmc_debug
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol mmc_register_slot_driver
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol h3600_hal_unregister_interface
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol mmc_eject
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_asic..o: unresolved symbol mmc_insert
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_micro.o
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_micro.o: unresolved symbol h3600_hal_register_interface
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_micro.o: unresolved symbol h3600_hal_keypress
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_micro.o: unresolved symbol h3600_hal_option_detect
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_micro.o: unresolved symbol h3600_hal_touchpanel
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/arch/arm/mach-sa1100/h3600_micro.o: unresolved symbol h3600_hal_unregister_interfae
insmod: h3600-sleeve: no module by that name found
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/pcmcia_core.o
Linux Kernel Card Services 3.1.22
  options: [pm]
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/sa1100_cs.o
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/sa1100_cs.o: unresolved symbol g_sleeve_debug
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/ds.o
<5>ds: no socket drivers loaded!
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/ds.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/char/serial.o
Serial driver version 5.05c (2001-07-08) with no serial options enabled
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_common_pcmcia_sockee
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_sleeve_register_drir
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_pcmcia_suspend_socks
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_common_pcmcia_socked
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_common_pcmcia_mecr_g
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_common_pcmcia_get_io
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_common_pcmcia_shutdn
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_sleeve_unregister_dr
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_common_pcmcia_init
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_pcmcia_remove_sleeve
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_common_pcmcia_socket
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_pcmcia_resume_sockes
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol h3600_pcmcia_change_sleevs
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/pcmcia/h3600_generic_sleeve.o: unresolved symbol g_sleeve_debug
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/char/h3600_ts.o
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/char/h3600_ts.o: unresolved symbol h3600_get_flite
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/char/h3600_ts.o: unresolved symbol h3600_hal_register_driver
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/char/h3600_ts.o: unresolved symbol h3600_hal_ops
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/char/h3600_ts.o: unresolved symbol h3600_set_contrast
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/char/h3600_ts.o: unresolved symbol h3600_get_contrast
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/char/h3600_ts.o: unresolved symbol h3600_hal_unregister_driver
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/char/h3600_ts.o: unresolved symbol h3600_set_flite
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/ide/ide-mod.o
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/ide/ide-disk.o
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/ide/ide-probe-mod.o
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/ide/ide-cs.o
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/ide/ide-cs.o: unresolved symbol register_pccard_driver
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/ide/ide-cs.o: unresolved symbol unregister_pccard_driver
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/jbd/jbd.o
Journalled Block Device driver loaded
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/ext2/ext2.o
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/ext3/ext3.o
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_scan
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_dir_empty
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_add_entries
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_mark_buffer_dirty
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat__get_entry
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_notify_change
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_date_unix2dos
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_build_inode
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_search_long
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_detach
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_attach
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_new_dir
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_brelse
/lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/fs/vfat/vfat.o: unresolved symbol fat_read_super
Using /lib/modules/2.4.19-rmk6-pxa1-hh30/kernel/drivers/block/loop.o
loop: loaded (max 8 devices)
* Setting up some devices
* Waiting 10 secs for cards to configure
cardmgr[55]: starting, version is 3.1.22
cardmgr[55]: could not open './config.opts': No such file or directory
cardmgr[55]: no pcmcia driver in /proc/devices
cardmgr[55]: exiting
mount: special device /dev/ide/host0/bus0/target0/lun0/part2 does not exist
* moving initrd to /mnt/initrd
pivot_root: No such file or directory
* - unmouning /proc:
umount: mnt/initrd/proc: not found
* - unmounting /dev:
umount: mnt/initrd/dev: not found
* remounting dev:
can't create lock file /etc/mtab~64: Permission denied (use -n flag to override)
* Checking for: linuxrc: not found.
* Executing /sbin/init...
dev/console: Kernel panic: Attempted to kill init!
cannot op en (No such file or directory)

Thanks for any help,
Greetz,
Sven Waeyenbergh

****************************************************************************
Disclaimer:
This electronic transmission and any files attached to it are strictly
confidential and intended solely for the addressee. If you are not
the intended addressee, you must not disclose, copy or take any
action in reliance of this transmission. If you have received this
transmission in error, please notify the sender by return and delete
the transmission. Although the sender endeavors to maintain a
computer virus free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages
resulting from any virus transmitted.
Thank You.
****************************************************************************
Received on Fri Jan 16 13:44:43 2004

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:45:09 EDT