My kernel.config will be useless to you. I only run my stuff on eeepc with i915. But I have seen the similar message as you saw when I rebuild my kernel. I removed insmod for these modules from the init.rc to avoid these messages.
On Tue, Mar 31, 2009 at 2:35 PM, Brian <bgc...@gmail.com> wrote: > > Thanks, Yi. > > I think I compiled with the following option <*>Framebuffer console > support. > I will change it to <M>Framebuffer console support. > This will make sure the kernel does not have the following four > objects. > video/console/Makefile > CONFIG_FRAMEBUFFER_CONSOLE += fbcon.o bitblit.o font.o softcursor.o > > By default, the kernel .config has > CONFIG_FB_FILLRECT=y > CONFIG_FB_COPYAREA=y > CONFIG_FB_IMAGEBLIT=y > > I'm gonna change them to CONFIG_FB_<name>=m, and see what will happen. > > There are several inconsistencies in the repository... > > What's your kernel .config look like? > > Thanks, > Brian > > > On Mar 31, 1:29 pm, Yi Sun <beyo...@gmail.com> wrote: > > Some of your kerenl module is not needed (eg. softcursor..). You have > > already built them with your kernel. > > > > On Tue, Mar 31, 2009 at 12:45 PM, Brian <bgc...@gmail.com> wrote: > > > > > Thanks, Chen. > > > I looked at the kernel 2.6.25 source code. It seems that this kernel > > > version does not use drivers/android/alarm.c (the location of the > > > source code is also different) since it's not compiled. > > > > > When I do not use vga=788, I get a shell prompt. I did dmesg to see > > > what's going on in this case, which I'm attaching. > > > Do these warnings matter? > > > > > Thanks, > > > Brian > > > > > <6>[ 2.597463] EXT3-fs: mounted filesystem with ordered data mode. > > > <6>[ 2.608793] Atheros(R) L2 Ethernet Driver - version 2.0.5 > > > <6>[ 2.609952] Copyright (c) 2007 Atheros Corporation. > > > <3>[ 2.611447] softcursor: exports duplicate symbol soft_cursor > > > (owned by kernel) > > > <3>[ 2.613257] bitblit: exports duplicate symbol fbcon_set_bitops > > > (owned by kernel) > > > <3>[ 2.613964] font: exports duplicate symbol get_default_font > > > (owned by kernel) > > > <3>[ 2.615549] cfbimgblt: exports duplicate symbol cfb_imageblit > > > (owned by kernel) > > > <3>[ 2.617170] cfbfillrect: exports duplicate symbol cfb_fillrect > > > (owned by kernel) > > > <3>[ 2.617499] cfbcopyarea: exports duplicate symbol cfb_copyarea > > > (owned by kernel) > > > <6>[ 2.620336] [drm] Initialized drm 1.1.0 20060810 > > > <4>[ 2.624305] sysfs: duplicate filename 'fbcon' can not be created > > > <4>[ 2.624524] ------------[ cut here ]------------ > > > <4>[ 2.624535] WARNING: at fs/sysfs/dir.c:424 sysfs_add_one > > > +0x34/0xa6() > > > <4>[ 2.624546] Modules linked in: fbcon(+) i915 drm atl2 > > > <4>[ 2.624650] Pid: 1, comm: init Not tainted 2.6.25-00101-gb6922fa > > > #1 > > > <4>[ 2.624738] [<c01235cd>] warn_on_slowpath+0x41/0x67 > > > <4>[ 2.624793] [<c0118d28>] ? __wake_up_locked+0x11/0x15 > > > <4>[ 2.624809] [<c034fcca>] ? __down_trylock+0x3e/0x48 > > > <4>[ 2.624816] [<c035f566>] ? __down_failed_trylock+0xa/0x10 > > > <4>[ 2.624821] [<c0193a1c>] ? sysfs_ilookup_test+0x0/0x11 > > > <4>[ 2.624826] [<c01713c5>] ? ifind+0x3c/0x79 > > > <4>[ 2.624832] [<c0193ce8>] sysfs_add_one+0x34/0xa6 > > > <4>[ 2.624835] [<c01941f5>] create_dir+0x43/0x72 > > > <4>[ 2.624837] [<c0194251>] sysfs_create_dir+0x2d/0x41 > > > <4>[ 2.624840] [<c01dadf1>] ? kobject_get+0x12/0x17 > > > <4>[ 2.624845] [<c01daf01>] kobject_add_internal+0xae/0x14f > > > <4>[ 2.624848] [<c01db036>] kobject_add_varg+0x35/0x41 > > > <4>[ 2.624851] [<c01db0a7>] kobject_add+0x43/0x49 > > > <4>[ 2.624854] [<c02425d9>] device_add+0x89/0x48b > > > <4>[ 2.624860] [<c01dac9b>] ? kobject_init+0x36/0x6e > > > <4>[ 2.624863] [<c02429ed>] device_register+0x12/0x15 > > > <4>[ 2.624866] [<c0242a5c>] device_create+0x6c/0x90 > > > <4>[ 2.624874] [<d082c029>] fb_console_init+0x29/0xf7 [fbcon] > > > <4>[ 2.625007] [<c0141c75>] sys_init_module+0x18f1/0x1a0c > > > <4>[ 2.625014] [<c0242317>] ? device_remove_file+0x0/0x11 > > > <4>[ 2.625018] [<c017408e>] ? mntput_no_expire+0x16/0x68 > > > <4>[ 2.625022] [<c015f5c7>] ? filp_close+0x47/0x51 > > > <4>[ 2.625026] [<c0104a06>] syscall_call+0x7/0xb > > > <4>[ 2.625054] ======================= > > > <4>[ 2.625076] ---[ end trace 128b744603ea7c15 ]--- > > > <3>[ 2.625135] kobject_add_internal failed for fbcon with -EEXIST, > > > don't try to register things with the same name in the same directory. > > > <4>[ 2.625146] Pid: 1, comm: init Not tainted 2.6.25-00101-gb6922fa > > > #1 > > > <4>[ 2.625148] [<c01daf90>] kobject_add_internal+0x13d/0x14f > > > <4>[ 2.625154] [<c01db036>] kobject_add_varg+0x35/0x41 > > > <4>[ 2.625158] [<c01db0a7>] kobject_add+0x43/0x49 > > > <4>[ 2.625160] [<c02425d9>] device_add+0x89/0x48b > > > <4>[ 2.625163] [<c01dac9b>] ? kobject_init+0x36/0x6e > > > <4>[ 2.625166] [<c02429ed>] device_register+0x12/0x15 > > > <4>[ 2.625169] [<c0242a5c>] device_create+0x6c/0x90 > > > <4>[ 2.625172] [<d082c029>] fb_console_init+0x29/0xf7 [fbcon] > > > <4>[ 2.625177] [<c0141c75>] sys_init_module+0x18f1/0x1a0c > > > <4>[ 2.625181] [<c0242317>] ? device_remove_file+0x0/0x11 > > > <4>[ 2.625184] [<c017408e>] ? mntput_no_expire+0x16/0x68 > > > <4>[ 2.625188] [<c015f5c7>] ? filp_close+0x47/0x51 > > > <4>[ 2.625191] [<c0104a06>] syscall_call+0x7/0xb > > > <4>[ 2.625194] ======================= > > > <4>[ 2.625233] Unable to create device for fbcon; errno = -17 > > > <6>[ 2.736199] eth0: link up > > > <6>[ 4.535613] android_power: wakeup (0->0) at 5062568823 > > > (2009-03-31 12:38:54.592324061 UTC) > > > <6>[ 7.731352] android_power: wakeup (0->0) at 8252351675 > > > (2009-03-31 12:38:57.782089015 UTC) > > > > > On Mar 31, 8:34 am, Chen Yang <sunsety...@gmail.com> wrote: > > > > See whether this patch would help. > > >https://review.source.android.com/Gerrit#change,6751 > > > > -- > > > > Chen > > > > > > On Tue, Mar 31, 2009 at 11:27 PM, Brian <bgc...@gmail.com> wrote: > > > > > > > I got more detailed error messages. > > > > > > > Console: switching to colour frame buffer device 100x37 > > > > > ----------------- [cut here] ------------------- > > > > > kernel BUG at kernel/timer.c: 488! > > > > > invalid opcode: 0000 [#1] PREEMPT SMP > > > > > Modules linked in: fbcon i915 drm atl2 > > > > > > > pid:0, comm: swapper: Not tainted (2.6.25 ... > > > > > > > ... > > > > > > > Kernel panic - not syncing: Fatal except in interrupt > > > > > > > Thanks, > > > > > Brian > > > > > > > On Mar 31, 8:02 am, Brian <bgc...@gmail.com> wrote: > > > > >> I tried vmware 6.5 workstation on windows 32 bit, vmware 6.5 > > > > >> workstation on fedora core 8 64bit. > > > > >> Both did not work. > > > > > > >> I got where the kernel panic's happening. > > > > >> kernel 2.6.25 kernel/timer.c:488 > > > > > > >> int mod_timer(...) > > > > >> { > > > > >> BUG_ON(!timer->function) <--- here > > > > > > >> What can be a fix? Any suggestion? > > > > > > >> Thanks,Brian > > > > > > >> On Mar 30, 10:54 pm,Brian<bgc...@gmail.com> wrote: > > > > > > >> > Hi Chen, > > > > > > >> > I managed to compile kernel 2.6.25. > > > > >> > When I ran it without vga=788, I see a shell prompt. > > > > >> > The screen does not go to black one. > > > > >> > But I keep getting the following message. > > > > >> > [timestamp] android_power: wakeup (0->0) at ... > > > > >> > (Btw, how can I turn off this message?) > > > > > > >> > I still have a problem with vga=788. > > > > >> > This time I'm getting a kernel panic, which I'm attaching. > > > > >> > Has anyone seen this problem? What's a proper approach to > address > > > this > > > > >> > problem? > > > > > > >> > Thanks,Brian > > > > > > >> > Process netcfg (pid: 2031, ti=cf17c000 task=cf3001b0 > > > task.ti=cf17c000) > > > > >> > Stack: ... > > > > > > >> > Call Trace: > > > > >> > [<c01f12f2>] ? cursor_timer_handler+0x28/0x2b > > > > >> > ? run_timer_softirq+0x11d/0x176 > > > > >> > ? cursor_timer_handler+0x0/0x2b > > > > >> > ? __do_softirq+0x70/0xd5 > > > > >> > ? do_softirq+0x35/0x3a > > > > >> > ? local_bh_enable_ip+0x38/0x4f > > > > >> > ? _spin_unlock_bh+0x17/0x19 > > > > >> > ? dev_set_rx_mode+0x38/0x3c > > > > >> > ? dev_open+0x60/0x7e > > > > >> > ? dev_change_flags+0x9f/0x154 > > > > >> > ? devinet_ioctl+0x2da/0x5f8 > > > > >> > ? inet_ioctl+0x93/0xaf > > > > >> > ? sock_ioctl+0x1af/0x1d1 > > > > >> > ? sock_ioctl+0x0/0x1d1 > > > > >> > ? vfs_ioctl+0x22/0x69 > > > > >> > ? do_vfs_ioctl+0x222/0x235 > > > > >> > ? sys_socketcall+0x51/0x168 > > > > >> > ? sys_ioctl+0x40/0x5a > > > > >> > ? syscall_call+0x7/0xb > > > > >> > Code: .... > > > > >> > EIP: [<c012b22a>] mod_timer+0x9/0x27 SS:ESP 0068:cf17de18 > > > > >> > Kernel panic - not syncing: Fatal exception in interrupt > > > > > > >> > On Mar 30, 8:49 am,Brian<bgc...@gmail.com> wrote: > > > > > > >> > > Thanks, Jerry! > > > > > > >> > > I'm using kernel 2.6.27, and the modules have version 2.6.25 > as > > > you > > > > >> > > can see below. > > > > >> > > There are inconsistencies in the cupcake branch. > > > > > > >> > > I will either get kernel 2.6.25 or try to compile 2.6.27 > modules. > > > > > > >> > > Thanks,Brian > > > > > > >> > > > ./kernel/include/config/kernel.release:2.6.27-00120-g453dc2b-dirty > > > > > > >> > > $ modinfo > ./out/target/product/eee_701/rootimg/lib/modules/i915.ko > > > > >> > > filename: > ./out/target/product/eee_701/rootimg/lib/modules/ > > > > >> > > i915.ko > > > > >> > > license: GPL and additional rights > > > > >> > > description: Intel Graphics > > > > >> > > author: Tungsten Graphics, Inc. > > > > >> > > license: GPL > > > > >> > > srcversion: 73F81EDC4CAE593AA695C49 > > > > >> > > depends: drm,cfbfillrect,cfbimgblt,cfbcopyarea > > > > >> > > vermagic: 2.6.25-00101-gb6922fa SMP preempt mod_unload > > > PENTIUMM > > > > >> > > parm: modeset:int > > > > >> > > parm: fbpercrtc:int > > > > >> > > parm: i915_rightof:int > > > > > > >> > > On Mar 30, 8:39 am, Jerry Fan <jerryfan1...@gmail.com> wrote: > > > > > > >> > > > HiBrian, > > > > >> > > > just type modinfo /path/to/anymodule.ko > > > > >> > > > compare modinfo output on any kernel ko files in your > Android > > > kernel against > > > > >> > > > i915 from eeepc. In modinfo output, u will read vermagic at > > > last line. You > > > > >> > > > need to make sure every protperty in i915 vermagic matches > > > vermagic in your > > > > >> > > > android kernel. Any signle property mismatches will result > in > > > the problem > > > > >> > > > you have. > > > > > > >> > > > On Mon, Mar 30, 2009 at 11:15 PM,Brian<bgc...@gmail.com> > wrote: > > > > > > >> > > > > Thanks, Jerry! > > > > > > >> > > > > (I'm very sorry. I somehow got a wrong name.) > > > > > > >> > > > > Please see the previous email. > > > > > > >> > > > > Thanks, > > > > >> > > > >Brian > > > > > > >> > > > > On Mar 30, 8:14 am,Brian<bgc...@gmail.com> wrote: > > > > >> > > > > > Thanks, Jeff. > > > > > > >> > > > > > It seems like that the modules are copied from > > > vendor/asus/eee_701/ > > > > >> > > > > > modules > > > > >> > > > > > How > > > > ... > > > > read more ยป > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---