Current experimental-2.6.29-dopi kernel error list.

Kernel development related

Current experimental-2.6.29-dopi kernel error list.

Postby MadRocker » Sun Feb 20, 2011 3:20 am

Here is a all in one topic that we can use as reference to narrow down what is buggy and what we needs to be fixed. Then the fixes can be pushed to a more stable 2.6.29 and hopefully we can get the kernel + hardware working much faster using combine effort.

Moderators / admin please jump in and add to the list so we can keep track of problems and fixes.

Error file list:
Below is a list of kernel files with problems, we can mark the problem files off as they are fixed. This should make it easier to keep track of error status in the kernel. Most of the fixes / code we will need to recycle for the 2.6.3* kernel.
Anyone want to jump in and help fix this files with us + post fixed files is more than welcome to join.

KB/Thijs sources:
I will add the KB sources next and see if I can replicate the last mach-jet gpio error I had earlier.

Using https://github.com/Dopi/JetKernel/tree/ ... .6.29-dopi
2 hours ago experimental-2.6.29-dopi version.
commit aefb54d2d018dac1ac0b
tree 6013e4851846af114bba
parent 3eebfa473d3b465b21a2


jet_android_defconfig
Code: Select all
To reproduce error:                    ### deleted ~/JetDroid/JetKernel  ###
cd ~/JetDroid
mkdir JetKernel
cd ~/JetDroid/JetKernel

~/JetDroid/JetKernel $ git clone -n git://github.com/Dopi/JetKernel.git
Cloning into JetKernel...
remote: Counting objects: 72115, done.
remote: Compressing objects: 100% (39973/39973), done.
remote: Total 72115 (delta 37638), reused 64763 (delta 31179)
Receiving objects: 100% (72115/72115), 130.68 MiB | 422 KiB/s, done.
Resolving deltas: 100% (37638/37638), done.

ln -s JetKernel kernel
cd kernel

git checkout -b experimental-2.6.29-dopi origin/experimental-2.6.29-dopi
Checking out files: 100% (27200/27200), done.
Branch experimental-2.6.29-dopi set up to track remote branch experimental-2.6.29-dopi from origin.
Switched to a new branch 'experimental-2.6.29-dopi'

make ARCH=arm jet_android_defconfig   
make ARCH=arm menuconfig
### using default settings + wifi inbuilt pre and post bcm "legacy hardware for Froyo and Ginger" ###

Kernel errors:
arch/arm/plat-s3c64xx/clock.c: In function 's3c64xx_clk_set_rate':
arch/arm/plat-s3c64xx/clock.c:238: warning: passing argument 2 of 's3c6410_changedivider' makes integer from pointer without a cast
arch/arm/plat-s3c64xx/clock.c:33: note: expected 'unsigned int' but argument is of type 'void *'

arch/arm/plat-s3c64xx/pm.c:787: warning: 'extra_eint0pend' initialized and declared 'extern'

kernel/power/main.c: In function 'state_store':
kernel/power/main.c:563: warning: initialization discards qualifiers from pointer target type

kernel/power/wakelock.c: In function 'print_active_locks':
kernel/power/wakelock.c:228: warning: unused variable 'irqflags'

kernel/module.c: In function 'load_module':
kernel/module.c:2291: warning: label 'free_init' defined but not used

fs/fat/dir.c: In function 'fat_add_entries':
fs/fat/dir.c:30: warning: 'de' may be used uninitialized in this function
fs/fat/dir.c:1245: note: 'de' was declared here

fs/partitions/check.c:307: warning: 'struct kobj_uvent_env' declared inside parameter list
fs/partitions/check.c:307: warning: its scope is only this definition or declaration, which is probably not what you want
fs/partitions/check.c: In function 'part_uevent':
fs/partitions/check.c:312: warning: passing argument 1 of 'add_uevent_var' from incompatible pointer type
include/linux/kobject.h:203: note: expected 'struct kobj_uevent_env *' but argument is of type 'struct kobj_uvent_env *'
fs/partitions/check.c:309: warning: unused variable 'disk'
fs/partitions/check.c: At top level:
fs/partitions/check.c:320: warning: initialization from incompatible pointer type

drivers/char/keyboard.c:1126:2: warning: #warning "Cannot generate rawmode keyboard for your architecture yet."

drivers/char/s3c_mem.c: In function 's3c_mem_mmap':
drivers/char/s3c_mem.c:223: warning: 'pageFrameNo' may be used uninitialized in this function

drivers/i2c/i2c-core.c: In function 'i2c_new_device':
drivers/i2c/i2c-core.c:283: warning: 'i2c_attach_client' is deprecated (declared at include/linux/i2c.h:434)
drivers/i2c/i2c-core.c: In function 'i2c_del_adapter':
drivers/i2c/i2c-core.c:646: warning: 'detach_client' is deprecated (declared at include/linux/i2c.h:154)
drivers/i2c/i2c-core.c: In function 'i2c_register_driver':
drivers/i2c/i2c-core.c:713: warning: 'detach_client' is deprecated (declared at include/linux/i2c.h:154)
drivers/i2c/i2c-core.c: In function '__detach_adapter':
drivers/i2c/i2c-core.c:780: warning: 'detach_client' is deprecated (declared at include/linux/i2c.h:154)
drivers/i2c/i2c-core.c: At top level:
drivers/i2c/i2c-core.c:876: warning: 'i2c_attach_client' is deprecated (declared at drivers/i2c/i2c-core.c:826)
drivers/i2c/i2c-core.c:876: warning: 'i2c_attach_client' is deprecated (declared at drivers/i2c/i2c-core.c:826)
drivers/i2c/i2c-core.c:904: warning: 'i2c_detach_client' is deprecated (declared at drivers/i2c/i2c-core.c:878)
drivers/i2c/i2c-core.c:904: warning: 'i2c_detach_client' is deprecated (declared at drivers/i2c/i2c-core.c:878)

drivers/i2c/chips/max8906.c: In function 'max8906_debug_print':
drivers/i2c/chips/max8906.c:2863: warning: unused variable 'voltage'
drivers/i2c/chips/max8906.c:2862: warning: unused variable 'result'
drivers/i2c/chips/max8906.c:2861: warning: unused variable 'tscbuff'
drivers/i2c/chips/max8906.c:2860: warning: unused variable 'status'
drivers/i2c/chips/max8906.c: In function 'max8906_attach':
drivers/i2c/chips/max8906.c:2989: warning: 'i2c_attach_client' is deprecated (declared at include/linux/i2c.h:434)
drivers/i2c/chips/max8906.c: In function 'max8906_detach_client':
drivers/i2c/chips/max8906.c:3015: warning: 'i2c_detach_client' is deprecated (declared at include/linux/i2c.h:435)
drivers/i2c/chips/max8906.c: In function 'MAX8906_PM_TIRQ_isr':
drivers/i2c/chips/max8906.c:2659: warning: 'pm_irq_mask' may be used uninitialized in this function
drivers/i2c/chips/max8906.c: In function 'MAX8906_PM_IRQ_isr':
drivers/i2c/chips/max8906.c:2608: warning: 'pm_irq_mask' may be used uninitialized in this function

drivers/input/touchscreen/s3c-ts.c: In function 'stylus_action':
drivers/input/touchscreen/s3c-ts.c:488: warning: label 'int_clear' defined but not used
drivers/input/touchscreen/s3c-ts.c:443: warning: label 'start_conversion' defined but not used
drivers/input/touchscreen/s3c-ts.c: At top level:
drivers/input/touchscreen/s3c-ts.c:273: warning: 'check_valid_pressure' defined but not used
drivers/input/touchscreen/s3c-ts.c:393: warning: 'calc_pressure' defined but not used

drivers/media/video/v4l2-common.c: In function 'v4l2_i2c_attach':
drivers/media/video/v4l2-common.c:875: warning: 'i2c_attach_client' is deprecated (declared at include/linux/i2c.h:434)

drivers/rtc/rtc-samsungjet.c: In function 'samsungjet_set_time':
drivers/rtc/rtc-samsungjet.c:74: warning: unused variable 'ret'

drivers/sensor/accel/kionix-kxsd9.c: In function 'kxsd9_i2c_write':
drivers/sensor/accel/kionix-kxsd9.c:175: warning: initialization discards qualifiers from pointer target type
drivers/sensor/accel/kionix-kxsd9.c: In function 'kxsd9_work':
drivers/sensor/accel/kionix-kxsd9.c:304: warning: unused variable 'status'
drivers/sensor/accel/kionix-kxsd9.c:303: warning: unused variable 'err'
drivers/sensor/accel/kionix-kxsd9.c: In function 'kxsd9_probe':
drivers/sensor/accel/kionix-kxsd9.c:554: warning: passing argument 1 of 'snprintf' discards qualifiers from pointer target type
include/linux/kernel.h:182: note: expected 'char *' but argument is of type 'const char *'
drivers/sensor/accel/kionix-kxsd9.c:519: warning: unused variable 'ret'
drivers/sensor/accel/kionix-kxsd9.c: At top level:
drivers/sensor/accel/kionix-kxsd9.c:116: warning: 'kxsd9_timer_oper' defined but not used
drivers/sensor/accel/kionix-kxsd9.c:117: warning: 'interrupted' defined but not used
drivers/sensor/accel/kionix-kxsd9.c:153: warning: 'kxsd9_wrop_deq' defined but not used
drivers/sensor/accel/kionix-kxsd9.c:486: warning: 'kxsd9_interrupt_handler' defined but not used

drivers/sensor/optical/gp2a.c: In function 'opt_attach':
drivers/sensor/optical/gp2a.c:416: warning: 'i2c_attach_client' is deprecated (declared at include/linux/i2c.h:434)
drivers/sensor/optical/gp2a.c: In function 'gp2a_opt_suspend':
drivers/sensor/optical/gp2a.c:886: warning: unused variable 'value'

drivers/staging/android/logger.c: In function 'do_write_log':
drivers/staging/android/logger.c:294: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'unsigned char *'

  CC [M]  drivers/staging/wlan-bcm/src/dhd/sys/dhd_linux.o
In file included from drivers/staging/wlan-bcm/src/dhd/sys/dhd_linux.c:28:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
drivers/staging/wlan-bcm/src/dhd/sys/dhd_linux.c:283: warning: return type defaults to 'int'
  CC [M]  drivers/staging/wlan-bcm/src/shared/bcmutils.o
In file included from drivers/staging/wlan-bcm/src/shared/bcmutils.c:26:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/dhd/sys/dhd_common.o
In file included from drivers/staging/wlan-bcm/src/dhd/sys/dhd_common.c:26:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/shared/siutils.o
In file included from drivers/staging/wlan-bcm/src/shared/siutils.c:28:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/shared/sbutils.o
In file included from drivers/staging/wlan-bcm/src/shared/sbutils.c:28:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/shared/aiutils.o
In file included from drivers/staging/wlan-bcm/src/shared/aiutils.c:28:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/shared/hndpmu.o
In file included from drivers/staging/wlan-bcm/src/shared/hndpmu.c:28:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/wl/sys/wl_iw.o
In file included from drivers/staging/wlan-bcm/src/wl/sys/wl_iw.c:28:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
drivers/staging/wlan-bcm/src/wl/sys/wl_iw.c: In function 'wl_iw_set_hostip':
drivers/staging/wlan-bcm/src/wl/sys/wl_iw.c:498: warning: unused variable 'temp2'
drivers/staging/wlan-bcm/src/wl/sys/wl_iw.c:497: warning: unused variable 'temp'
drivers/staging/wlan-bcm/src/wl/sys/wl_iw.c:496: warning: unused variable 'tmp'
drivers/staging/wlan-bcm/src/wl/sys/wl_iw.c:495: warning: unused variable 'ptr'
drivers/staging/wlan-bcm/src/wl/sys/wl_iw.c:488: warning: unused variable 'ip_size'
drivers/staging/wlan-bcm/src/wl/sys/wl_iw.c: In function 'wl_iw_get_range':
drivers/staging/wlan-bcm/src/wl/sys/wl_iw.c:1145: warning: the frame size of 1168 bytes is larger than 1024 bytes; see http://go/big_stack_frame

  CC [M]  drivers/staging/wlan-bcm/src/shared/bcmwifi.o
In file included from drivers/staging/wlan-bcm/src/shared/bcmwifi.c:29:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/dhd/sys/dhd_cdc.o
In file included from drivers/staging/wlan-bcm/src/dhd/sys/dhd_cdc.c:31:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
drivers/staging/wlan-bcm/src/dhd/sys/dhd_cdc.c: In function 'dhd_preinit_ioctls':
drivers/staging/wlan-bcm/src/dhd/sys/dhd_cdc.c:575: warning: control reaches end of non-void function
  CC [M]  drivers/staging/wlan-bcm/src/dhd/sys/dhd_linux_sched.o
  CC [M]  drivers/staging/wlan-bcm/src/dhd/sys/dhd_sdio.o
In file included from drivers/staging/wlan-bcm/src/dhd/sys/dhd_sdio.c:27:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
drivers/staging/wlan-bcm/src/dhd/sys/dhd_sdio.c: In function 'dhdsdio_set_filter':
drivers/staging/wlan-bcm/src/dhd/sys/dhd_sdio.c:5649: warning: the frame size of 1048 bytes is larger than 1024 bytes; see http://go/big_stack_frame
  CC [M]  drivers/staging/wlan-bcm/src/dhd/sys/dhd_custom_gpio.o
In file included from drivers/staging/wlan-bcm/src/dhd/sys/dhd_custom_gpio.c:26:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc.o
In file included from drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc.c:26:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh.o
In file included from drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh.c:29:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_linux.o
In file included from drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_linux.c:33:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  CC [M]  drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc_linux.o
In file included from drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc_linux.c:27:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc_linux.c:91:7: warning: "CONFIG_MACH_SATURN" is not defined
drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc_linux.c:93:7: warning: "CONFIG_MACH_CYGNUS" is not defined
drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc_linux.c:97:7: warning: "CONFIG_MACH_BONANZA" is not defined
drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc_linux.c:546: warning: 'dhd_enable_hwakeup' defined but not used
drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc_linux.c:564: warning: 'dhd_disable_hwakeup' defined but not used
  CC [M]  drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.o
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:33:7: warning: "CONFIG_MACH_SATURN" is not defined
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:35:7: warning: "CONFIG_MACH_CYGNUS" is not defined
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:39:7: warning: "CONFIG_MACH_BONANZA" is not defined
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:130: warning: function declaration isn't a prototype
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c: In function 'gpio_wlan_poweron':
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:168: warning: comparison of distinct pointer types lacks a cast
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:168: warning: comparison of distinct pointer types lacks a cast
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:188: warning: comparison of distinct pointer types lacks a cast
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:188: warning: comparison of distinct pointer types lacks a cast
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c: In function 'gpio_wlan_poweroff':
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:209: warning: comparison of distinct pointer types lacks a cast
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:209: warning: comparison of distinct pointer types lacks a cast
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:232: warning: comparison of distinct pointer types lacks a cast
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:232: warning: comparison of distinct pointer types lacks a cast
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c:201: warning: unused variable 'ret'

  CC [M]  drivers/staging/wlan-bcm/src/shared/linux_osl.o
In file included from drivers/staging/wlan-bcm/src/shared/linux_osl.c:30:
drivers/staging/wlan-bcm/src/include/typedefs.h:263:7: warning: "__CC_ARM" is not defined
  LD [M]  drivers/staging/wlan-bcm/dhd.o
  LD      drivers/staging/built-in.o
  CC      drivers/switch/switch_class.o
  LD      drivers/switch/built-in.o
  CC      drivers/usb/gadget/s3c-udc-otg-hs.o
In file included from drivers/usb/gadget/s3c-udc-otg-hs.c:630:
drivers/usb/gadget/fsa9480_i2c.c:32: warning: type defaults to 'int' in declaration of 'ftm_sleep'
In file included from drivers/usb/gadget/s3c-udc-otg-hs.c:630:
drivers/usb/gadget/fsa9480_i2c.c:113:7: warning: extra tokens at end of #else directive
drivers/usb/gadget/fsa9480_i2c.c: In function 'fsa9480_check_usb_connection':
drivers/usb/gadget/fsa9480_i2c.c:285: warning: ISO C90 forbids mixed declarations and code
drivers/usb/gadget/fsa9480_i2c.c: In function 'usb_sel_store':
drivers/usb/gadget/fsa9480_i2c.c:482: warning: ISO C90 forbids mixed declarations and code
drivers/usb/gadget/fsa9480_i2c.c: In function 'fsa9480_codec_probe':
drivers/usb/gadget/fsa9480_i2c.c:601: warning: ISO C90 forbids mixed declarations and code
drivers/usb/gadget/fsa9480_i2c.c:621: warning: 'i2c_attach_client' is deprecated (declared at include/linux/i2c.h:434)
drivers/usb/gadget/fsa9480_i2c.c: In function 'fsa9480_i2c_detach':
drivers/usb/gadget/fsa9480_i2c.c:658: warning: 'i2c_detach_client' is deprecated (declared at include/linux/i2c.h:435)
drivers/usb/gadget/fsa9480_i2c.c: At top level:
drivers/usb/gadget/fsa9480_i2c.c:693: warning: initialization from incompatible pointer type
drivers/usb/gadget/fsa9480_i2c.c: In function 'fsa9480_SetManualSW':
drivers/usb/gadget/fsa9480_i2c.c:723: warning: ISO C90 forbids mixed declarations and code
drivers/usb/gadget/fsa9480_i2c.c: In function 'fsa9480_SetAutoSWMode':
drivers/usb/gadget/fsa9480_i2c.c:770: warning: ISO C90 forbids mixed declarations and code
drivers/usb/gadget/fsa9480_i2c.c:770: warning: unused variable 'cont_reg'
drivers/usb/gadget/fsa9480_i2c.c: In function 'fsa9480_MakeRxdLow':
drivers/usb/gadget/fsa9480_i2c.c:790: warning: ISO C90 forbids mixed declarations and code

  CC      drivers/video/samsung/s3cfb.o
drivers/video/samsung/s3cfb.c:1023: warning: initialization from incompatible pointer type
drivers/video/samsung/s3cfb.c:97: warning: 'marks_ver_mark' defined but not used
  CC      drivers/video/samsung/s3cfb_spi.o
  CC      drivers/video/samsung/s3cfb_fimd4x.o
drivers/video/samsung/s3cfb_fimd4x.c: In function 's3cfb_set_gpio':
drivers/video/samsung/s3cfb_fimd4x.c:1764: warning: unused variable 'err'
drivers/video/samsung/s3cfb_fimd4x.c:1764: warning: unused variable 'i'
drivers/video/samsung/s3cfb_fimd4x.c: In function 's3cfb_enable_clock_power':
drivers/video/samsung/s3cfb_fimd4x.c:2033: warning: ISO C90 forbids mixed declarations and code
  CC      drivers/video/samsung/s3cfb_ams310fn07.o
drivers/video/samsung/s3cfb_ams310fn07.c: In function 'lcd_gamma_change':
drivers/video/samsung/s3cfb_ams310fn07.c:1682: warning: ISO C90 forbids mixed declarations and code
drivers/video/samsung/s3cfb_ams310fn07.c: In function 'lcd_power_ctrl':
drivers/video/samsung/s3cfb_ams310fn07.c:1711: warning: unused variable 'data'
drivers/video/samsung/s3cfb_ams310fn07.c: In function 'backlight_ctrl':
drivers/video/samsung/s3cfb_ams310fn07.c:1809: warning: unused variable 'param_lcd_level'
drivers/video/samsung/s3cfb_ams310fn07.c:1808: warning: unused variable 'data'
drivers/video/samsung/s3cfb_ams310fn07.c: In function 'ams320fs01_ioctl':
drivers/video/samsung/s3cfb_ams310fn07.c:1945: warning: unused variable 'argp'
drivers/video/samsung/s3cfb_ams310fn07.c: At top level:
drivers/video/samsung/s3cfb_ams310fn07.c:176: warning: 'lcd_gpio_init' defined but not used
drivers/video/samsung/s3cfb_ams310fn07.c:258: warning: 'backlight_gpio_init' defined but not used
drivers/video/samsung/s3cfb_ams310fn07.c:468: warning: 'standby_off_table' defined but not used
drivers/video/samsung/s3cfb_ams310fn07.c:516: warning: 'power_off_setting_table' defined but not used
drivers/video/samsung/s3cfb_ams310fn07.c:1897: warning: 'ams320fs01_backlight_off' defined but not used
drivers/video/samsung/s3cfb_ams310fn07.c:1899: warning: 'ams320fs01_backlight_last_level' defined but not used

sound/core/pcm_lib.c: In function 'snd_pcm_lib_write':
sound/core/pcm_lib.c:1780: warning: unused variable 'ret'

  CC      sound/soc/soc-core.o
sound/soc/soc-core.c:969: warning: 'soc_shutdown' defined but not used

sound/soc/codecs/max9880.c: In function 'max9880_codec_probe':
sound/soc/codecs/max9880.c:680: warning: 'i2c_attach_client' is deprecated (declared at include/linux/i2c.h:434)
sound/soc/codecs/max9880.c: In function 'max9880_i2c_detach':
sound/soc/codecs/max9880.c:707: warning: 'i2c_detach_client' is deprecated (declared at include/linux/i2c.h:435)

  CC      sound/soc/s3c64xx/s3c-pcm-sol.o
arch/arm/plat-s3c64xx/include/plat/s3c6410-dma.h:260: warning: 's3c6410_dmac_sel' defined but not used
  CC      sound/soc/s3c64xx/s3c6410-i2s.o
arch/arm/plat-s3c64xx/include/plat/s3c6410-dma.h:260: warning: 's3c6410_dmac_sel' defined but not used

  MODPOST vmlinux.o
WARNING: modpost: Found 4 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/linux/compile.h


We can inject some of the files already fixed from KB, Thijs and others then can likely classify this list below into 3 groups = major pain, medium problem, ignore error and mark off what has been fixed. Fancy status page for the kernel.

48 files with issues list:
Code: Select all
arch/arm/plat-s3c64xx/clock.c
arch/arm/plat-s3c64xx/pm.c
kernel/power/main.c
kernel/power/wakelock.c
kernel/module.c
fs/fat/dir.c
include/linux/kobject.h
fs/partitions/check.c
drivers/char/keyboard.c
drivers/char/s3c_mem.c
drivers/i2c/i2c-core.c
drivers/i2c/chips/max8906.c
drivers/input/touchscreen/s3c-ts.c
drivers/media/video/v4l2-common.c
drivers/rtc/rtc-samsungjet.c
drivers/sensor/accel/kionix-kxsd9.c
drivers/sensor/optical/gp2a.c
drivers/staging/android/logger.c
drivers/staging/wlan-bcm/src/dhd/sys/dhd_linux.c
drivers/staging/wlan-bcm/src/shared/bcmutils.c
drivers/staging/wlan-bcm/src/dhd/sys/dhd_common.c
drivers/staging/wlan-bcm/src/include/typedefs.h
drivers/staging/wlan-bcm/src/shared/siutils.c
drivers/staging/wlan-bcm/src/shared/sbutils.c
drivers/staging/wlan-bcm/src/shared/aiutils.c
drivers/staging/wlan-bcm/src/shared/hndpmu.c
drivers/staging/wlan-bcm/src/wl/sys/wl_iw.c
drivers/staging/wlan-bcm/src/shared/bcmwifi.c
drivers/staging/wlan-bcm/src/dhd/sys/dhd_cdc.c
drivers/staging/wlan-bcm/src/dhd/sys/dhd_sdio.c
drivers/staging/wlan-bcm/src/dhd/sys/dhd_custom_gpio.c
drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc.c
drivers/staging/wlan-bcm/src/include/typedefs.h
drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_linux.c
drivers/staging/wlan-bcm/src/include/typedefs.h
drivers/staging/wlan-bcm/src/bcmsdio/sys/bcmsdh_sdmmc_linux.c
drivers/staging/wlan-bcm/src/bcmsdio/sys/wlgpio.c
drivers/staging/wlan-bcm/src/shared/linux_osl.c
drivers/staging/wlan-bcm/src/include/typedefs.
drivers/usb/gadget/s3c-udc-otg-hs.c
drivers/usb/gadget/fsa9480_i2c.c
drivers/video/samsung/s3cfb.c
drivers/video/samsung/s3cfb_fimd4x.c
drivers/video/samsung/s3cfb_ams310fn07.c
sound/core/pcm_lib.c
sound/soc/soc-core.c
sound/soc/codecs/max9880.c
arch/arm/plat-s3c64xx/include/plat/s3c6410-dma.h
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Advertisement

Re: Current experimental-2.6.29-dopi kernel error list.

Postby Dopi » Tue Feb 22, 2011 10:12 pm

Hi MadRocker,

I think I found our source for misunderstanding. You are referring to kernel warnings. I would say they are not nice but the kernel works, thus I ignore them. Does the kernel that you get after compiling not work?

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: Current experimental-2.6.29-dopi kernel error list.

Postby MadRocker » Wed Feb 23, 2011 2:28 am

Kernel warnings is okay I can get past them and end up with a working kernel or remove blocking problems or get a fix from another kernel but there is some broken files / kernel options that we will need soon that is not even fixed in 2.6.37.

Yup I always "make clean" after each build, good or bad.

My problem is with some of the extra feature that beaks the compile = no zImage, like if you enable:
system type
"s3c reboot on decompression error"
causes issues in another file.

The uart that is linked to serial in another place s3c serial soc or sec ??, can not remember at this moment see below uart example. This UART is needed for GPS and something else and linked to power management.


~/JetDroid/JetKernel/drivers/i2c/chips/pm.c
Line 787
extern unsigned int extra_eint0pend = 0x0;
If you uncommon this above then line 973 ??? has the same issue.


~/JetDroid/JetKernel/drivers/i2c/chips/pm.c
Also line 443:
Code: Select all
static void s3c_pm_debug_init(void)
{
   unsigned long tmp = __raw_readl(S3C_CLKCON);

   /* re-start uart clocks */
   tmp |= S3C_CLKCON_UART0;
   tmp |= S3C_CLKCON_UART1;
   tmp |= S3C_CLKCON_UART2;

   __raw_writel(tmp, S3C_CLKCON);
   udelay(10);


To get a failed build:

diff .config .config.old

< CONFIG_S3C_BOOT_ERROR_RESET=y
---
> # CONFIG_S3C_BOOT_ERROR_RESET is not set

Code: Select all
  CC      arch/arm/boot/compressed/misc.o
In file included from arch/arm/mach-s3c6400/include/mach/uncompress.h:19:0,
                 from arch/arm/boot/compressed/misc.c:30:
arch/arm/plat-s3c/include/plat/uncompress.h: In function 'arch_decomp_error':
arch/arm/plat-s3c/include/plat/uncompress.h:130:2: error: 'S3C24XX_PA_WATCHDOG' undeclared (first use in this function)
arch/arm/plat-s3c/include/plat/uncompress.h:130:2: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [arch/arm/boot/compressed/misc.o] Error 1
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2


mach-jet.c
Code: Select all
arch/arm/mach-s3c6410/built-in.o: In function `spica_ftm_enable_usb_sw':
/home/aa/JetDroid/kernel/arch/arm/mach-s3c6410/mach-jet.c:550: undefined reference to `fsa9480_SetAutoSWMode'
/home/aa/JetDroid/kernel/arch/arm/mach-s3c6410/mach-jet.c:552: undefined reference to `fsa9480_MakeRxdLow'
/home/aa/JetDroid/kernel/arch/arm/mach-s3c6410/mach-jet.c:554: undefined reference to `fsa9480_MakeRxdLow'
arch/arm/mach-s3c6410/built-in.o: In function `instinctq_pm_power_off':
/home/aa/JetDroid/kernel/arch/arm/mach-s3c6410/mach-jet.c:503: undefined reference to `get_usb_cable_state'
make: *** [.tmp_vmlinux1] Error 1


This should give you a idea of some problems that stops the kernel from building.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Current experimental-2.6.29-dopi kernel error list.

Postby MadRocker » Fri Feb 25, 2011 9:41 pm

Dopi I found the problem.

:oops: I was using the Dopi one below not the new one and was not aware of the new JetDroid below ROFL :oops:
https://github.com/Dopi

https://github.com/JetDroid

If it was not for the push log list right top of your github I would not have found this or the New JetQi updates.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Current experimental-2.6.29-dopi kernel error list.

Postby Dopi » Sat Feb 26, 2011 4:52 pm

MadRocker wrote:Dopi I found the problem.

I am happy to hear that. Is everything compiling correctly now?

I know that the move from the github.com/Dopi repos to the github.com/JetDroid repo may have been overlooked but it is worth it as we can set permissions for the JetDroid organization much better. Anyway, sorry for the inconcenience.

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm


Return to JetKernel

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement
cron