Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

precompiled kernel modules (like exFAT)

OP imnuts

18th February 2013, 10:31 PM   |  #1  
imnuts's Avatar
OP Recognized Developer
Flag West Chester
Thanks Meter: 3,011
 
3,462 posts
Join Date:Joined: Jul 2007
Donate to Me
More
Can someone please tell me what they did to get precompiled kernel modules such as the exFAT modules provided by Samsung to load and work properly on the Note 2 kernels built from source? I've pulled in the commit that ignores the version info and also made a few other config changes so that the modules can load properly. However, if the kernel I build is used with an exFAT SDcard, the system will reboot as soon as Android goes to mount the card. I've tried using the modules from the VZW Note 2 (which I have) as well as the modules from the N7100, and both have the same end result.
Last edited by garyd9; 19th February 2013 at 05:07 PM. Reason: italics: ask about precompiled modules (of which exFAT is an example) instead of the legal issue of using exFAT directly
19th February 2013, 02:07 AM   |  #2  
AndreiLux's Avatar
Senior Member
Thanks Meter: 14,080
 
2,953 posts
Join Date:Joined: Jul 2011
Donate to Me
A few more specifics and a kernel log would help...

The commonly used patch is the 1-liner excluding the exFat modules from module version check, but you say you already have that. Then you must have done some modifications in the kernel itself (SLUB/FTRACE?) to conflict with what the modules were built with.
19th February 2013, 02:26 AM   |  #3  
imnuts's Avatar
OP Recognized Developer
Flag West Chester
Thanks Meter: 3,011
 
3,462 posts
Join Date:Joined: Jul 2007
Donate to Me
More
Quote:
Originally Posted by AndreiLux

A few more specifics and a kernel log would help...

The commonly used patch is the 1-liner excluding the exFat modules from module version check, but you say you already have that. Then you must have done some modifications in the kernel itself (SLUB/FTRACE?) to conflict with what the modules were built with.

I ran out of time to grab the logcat/dmesg today when I tried, I'll grab it after I get home from work. I added in FTRACE as the modules wouldn't load without them, which I found from trying to insmod them manually and looking at the resulting errors. I didn't change SLUB, which is what it had as default for VZW, and it is also the default for the config included in the source for the N7100. The source I'm building off of is here on Github and I'm using the arm-eabi-4.4.3 toolchain from JB AOSP to compile with, if those are any help.
19th February 2013, 04:34 AM   |  #4  
AndreiLux's Avatar
Senior Member
Thanks Meter: 14,080
 
2,953 posts
Join Date:Joined: Jul 2011
Donate to Me
FTRACE is something you should specifically leave disabled, I don't know why you actually enabled that. I'd also look into JRCU.
19th February 2013, 07:07 AM   |  #5  
imnuts's Avatar
OP Recognized Developer
Flag West Chester
Thanks Meter: 3,011
 
3,462 posts
Join Date:Joined: Jul 2007
Donate to Me
More
I disabled FTRACE and recompiled, and am back to the same point I was at earlier with the modules not loading. I also removed JRCU, but this is the same issue I had without FTRACE added. Not sure why you think JRCU is part of the problem. Below is the error that I get when trying to insmod the exfat_core.ko module.
Code:
root@android:/ # lsmod
lsmod
vpnclient 90997 0 - Live 0x00000000
root@android:/ # insmod /lib/modules/exfat_core.ko
insmod /lib/modules/exfat_core.ko
insmod: init_module '/lib/modules/exfat_core.ko' failed (No such file or directo
ry)
255|root@android:/ # dmesg | grep exfat
dmesg | grep exfat
<4>[  337.999907] c3 exfat_core: Unknown symbol kmem_cache_alloc_trace (err 0)
<4>[  337.999970] c3 exfat_core: Unknown symbol __gnu_mcount_nc (err 0)
root@android:/ #
So, I went back to what I have now with the modules at least loading. I formatted my card to exFAT and restarted to get a logcat and then pulled last_kmsg after. Here is logcat that was cleared shortly before inserting the exFAT SDcard
Code:
--------- beginning of /dev/log/system
V/AlarmManager( 2356): waitForAlarm result :2
V/AlarmManager( 2356): waitForAlarm result :8
V/AlarmManager( 2356): ClockReceiver onReceive() ACTION_TIME_TICK
W/AlarmManager( 2356): FACTORY_ON= 0
D/STATUSBAR-Clock( 2869): onReceive() - ACTION_TIME_TICK
D/STATUSBAR-Clock( 2869): onReceive() - ACTION_TIME_TICK
D/STATUSBAR-Clock( 2869): onReceive() - ACTION_TIME_TICK
D/STATUSBAR-Clock( 2869): onReceive() - ACTION_TIME_TICK
D/ClockWidget( 2356): refreshTime()
D/ClockWidget( 2356): TTS Message = It is 12 : 55 AM, Tuesday, February 19
D/dalvikvm( 6451): GC_CONCURRENT freed 510K, 6% free 11894K/12551K, paused 1ms+2ms, total 13ms
I/VPNCStarter( 1975): Message channel file directory does not exist
V/AlarmManager( 2356): waitForAlarm result :4
V/AlarmManager( 2356): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP
V/AlarmManager( 2356): waitForAlarm result :4
V/AlarmManager( 2356): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP
D/WifiP2pService( 2356): P2pDisabledState{ what=131204 }
W/AlarmManager( 2356): FACTORY_ON= 0
W/AlarmManager( 2356): FACTORY_ON= 0
D/WifiP2pService( 2356): P2pDisabledState{ what=131204 }
D/DirectVolume( 1946): DirectVolume::readId -> path '/sys/devices/platform/s3c-sdhci.2/mmc_host/mmc1/mmc1:aaaa/block/mmcblk1/device/cid'
D/DirectVolume( 1946): DirectVolume::readId -> id '0353445355333247801d67339300cc00'
D/DirectVolume( 1946): DirectVolume::handleDiskAdded -> mDiskMajor 179, mDiskMinor 16, NPARTS:1
D/Vold    ( 1946): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1946): DirectVolume::handlePartitionAdded -> major 179, minor 17, PARTN 1
D/Vold    ( 1946): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/MountService( 2356): onEvent:: raw= 605 Volume sdcard /storage/extSdCard state changed from 0 (No-Media) to 2 (Pending) cooked =  605 Volume sdcard /storage/extSdCard state changed from 0 (No-Media) to 2 (Pending)
I/MountService( 2356): notifyVolumeStateChanged:: path = /storage/extSdCard,old= removed,new = removed
I/MountService( 2356): onEvent:: raw= 630 Volume sdcard /storage/extSdCard diskinserted (179:16) cooked =  630 Volume sdcard /storage/extSdCard disk inserted (179:16)
W/MountService( 2356): '/storage/extSdCard' waiting over pending state
I/MountService( 2356): onEvent:: raw= 605 Volume sdcard /storage/extSdCard state changed from 2 (Pending) to 1 (Idle-Unmounted) cooked =  605 Volume sdcard /storage/extSdCard state changed from 2 (Pending) to 1 (Idle-Unmounted)
I/MountService( 2356): updating volume state for media bad removal nofs and unmountable
D/MountService( 2356): updatePublicVolumeState :: path = /storage/extSdCard, state = unmounted
I/MemorySettings( 2955): Received storage state changed notification that /storage/extSdCard changed state from removed to unmounted
D/MountService( 2356): volume state changed for /storage/extSdCard (removed -> unmounted)
D/MtpService( 3242): onStorageStateChanged /storage/extSdCard removed -> unmounted
I/MountService( 2356): notifyVolumeStateChanged:: path = /storage/extSdCard,old= removed,new = unmounted
D/MountService( 2356): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=file:///storage/extSdCard (has extras) }
I/StorageNotification( 2869): Media {/storage/extSdCard} state changed from {removed} -> {unmounted}
D/MountService( 2356):  :::: isUsbMassStorageEnabled :: ret = false
D/StorageNotification( 2869): setMediaStorageNotification : cancel id = -535891041, path = /storage/extSdCard
D/STATUSBAR-NotificationService( 2356): updateLightsLocked() : Set custom flashing notification light
D/LightsService( 2356): [SvcLED] setSvcLedStateLocked:: id = 4, color = -56832,mode = 1, set = On
W/AlarmManager( 2356): FACTORY_ON= 0
V/AlarmManager( 2356): waitForAlarm result :4
D/LightsService( 2356): [SvcLED] SvcLEDTask
E/MTPRx   ( 8628): In MtpReceiverandroid.intent.action.MEDIA_UNMOUNTED
W/MTPRx   ( 8628): MMC is disconnected
W/MTPRx   ( 8628): Top screen is MTP
W/MTPRx   ( 8628): sending MMC disconnected noti to stack
E/MTPJNIInterface( 8628): noti = 5
V/AlarmManager( 2356): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP
D/SensorService( 2356): info.rates.add, set DEFAULT_EVENTS_PERIOD
E/Sensors ( 2356): Light old sensor_state 0, new sensor_state : 64 en : 1
D/SensorService( 2356): SensorDevice::activate  (enable 1, disable 0) = 1
D/SensorService( 2356): activating sensor enable handle=6
D/SensorService( 2356): activating sensor enable, Done!
D/SensorService( 2356): SensorDevice::activating sensor handle=6 ns=200000000
D/LightsService( 2356): [SvcLED] SvcLEDReceiver::isHappyNight = true
I/SensorService( 2356): info.selectDelay() ns=200000000
D/SensorService( 2356): SensorDevice::setDelay, Return(true 1, false 0) =  1
D/SensorManager( 2356): registerListener :: handle = 6  name= CM36651 Light Sensor delay= 200000 Listener= com.android.server.LightsService$4@41e4bf18
D/SensorManager( 2356): unregisterListener::  Listener= com.android.server.LightsService$4@41e4bf18
E/Sensors ( 2356): Light old sensor_state 64, new sensor_state : 0 en : 0
D/LightsService( 2356): [SvcLED] onSensorChanged::light value = 0.0
D/SensorService( 2356): SensorDevice::activate  (enable 1, disable 0) = 0
D/SensorService( 2356): activating sensor disable handle=6
D/SensorService( 2356): activating sensor disable, Done!
D/SensorService( 2356): SensorDevice::activating sensor handle=6 ns=200000000
D/lights  ( 2356): write pattern : g_led_info = 4
I/LightsService( 2356): fileWriteInt : /sys/class/sec/led/led_lowpower  value :1
D/lights  ( 2356): write : /sys/class/sec/led/led_blink = 0xffff2200 1 0
D/lights  ( 2356):
E/lights  ( 2356): g_led_info = 0x4
D/LightsService( 2356): setLightLocked is called
D/MountService( 2356): doMountVolume :: Mouting path = /storage/extSdCard with = mounting
D/MountService( 2356): externalstorage_lock_state =
I/MountService( 2356): doMountVolume: Mouting /storage/extSdCard
D/VoldCmdListener( 1946): volume mount /storage/extSdCard
I/Vold    ( 1946): /dev/block/vold/179:17 being considered for volume sdcard
D/Vold    ( 1946): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
I/MountService( 2356): onEvent:: raw= 605 Volume sdcard /storage/extSdCard state changed from 1 (Idle-Unmounted) to 3 (Checking) cooked =  605 Volume sdcard /storage/extSdCard state changed from 1 (Idle-Unmounted) to 3 (Checking)
I/MountService( 2356): updating volume state checking
D/MountService( 2356): updatePublicVolumeState :: path = /storage/extSdCard, state = checking
D/MountService( 2356): volume state changed for /storage/extSdCard (unmounted -> checking)
I/MemorySettings( 2955): Received storage state changed notification that /storage/extSdCard changed state from unmounted to checking
D/MtpService( 3242): onStorageStateChanged /storage/extSdCard unmounted -> checking
D/Vold    ( 1946): Detected exFAT file system.
I/StorageNotification( 2869): Media {/storage/extSdCard} state changed from {unmounted} -> {checking}
D/ApplicationPolicy( 2356): isStatusBarNotificationAllowed: packageName = com.android.systemui
D/ApplicationPolicy( 2356): isStatusBarNotificationAllowed: packageName = com.android.systemui
D/ClockWidget( 2356): received MISSED_EVENT intent !!
I/MountService( 2356): notifyVolumeStateChanged:: path = /storage/extSdCard,old= unmounted,new = checking
D/MountService( 2356): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///storage/extSdCard (has extras) }
D/StorageNotification( 2869): setMediaStorageNotification : notify id = -535891041, path = /storage/extSdCard, title = Preparing SD cardD/PhoneStatusBar( 2869): addNotification score=0
D/STATUSBAR-NotificationService( 2356): Noti Alert - mSystemReady:true, AlertEnabled:true
E/NotificationService( 2356): Ignoring notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x8 kind=[null]) tickerText=null contactCharSeq=null when=1361253308173 threadId=0
D/STATUSBAR-NotificationService( 2356): Noti Alert - mSystemReady:true, AlertEnabled:true
W/ResourceType( 2869): Attempt to retrieve bag 0x01030068 which is invalid or in a cycle.
W/ResourceType( 2869): Attempt to retrieve bag 0x01030067 which is invalid or in a cycle.
I//system/bin/fsck.exfat( 1946): fsck.exfat 1.1.0p2
I//system/bin/fsck.exfat( 1946): No errors
I/Vold    ( 1946): exfat -> Filesystem check completed OK
E/Vold    ( 1946): MDM :: sdCardWriteAccessBlocked 0
D/Vold    ( 1946): Detected exFAT file system.
And here is last_kmsg which I pulled after the phone rebooted. Full output here below is clipped to fit within the character limit.
Code:
<7>[  299.052897] c0 led_lowpower mode set to 1
<7>[  299.059799] c0 led_blink is called, Color:0xFFFF2200 Brightness:40
<1>[  299.604562] c3 Unable to handle kernel paging request at virtual address 0000c354
<1>[  299.604601] c3 pgd = eb4e8000
<1>[  299.604619] c3 [0000c354] *pgd=00000000
<0>[  299.604645] c3 Internal error: Oops: 5 [#1] PREEMPT SMP
<4>[  299.604674] c3 Modules linked in: vpnclient exfat_fs(P) exfat_core(P)
<4>[  299.604717] c3 CPU: 3    Tainted: P             (3.0.31-00080-g060e141-dirty #1)
<4>[  299.604761] c3 PC is at exfat_fill_super+0x88/0x57c [exfat_fs]
<4>[  299.604798] c3 LR is at __get_free_pages+0x30/0x38
<4>[  299.604826] c3 pc : [<bf0170e0>]    lr : [<c010cf3c>]    psr: a0000013
<4>[  299.604856] c3 sp : ea7eddb8  ip : 000040ee  fp : ea7ede44
<4>[  299.604885] c3 r10: d8131000  r9 : e75313c0  r8 : e8d5a000
<4>[  299.604915] c3 r7 : ea823070  r6 : d8131000  r5 : e8d5a000  r4 : d8da8000
<4>[  299.604949] c3 r3 : ea7ec000  r2 : 0000c350  r1 : 000040d8  r0 : 000040ed
<4>[  299.604985] c3 Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
<4>[  299.605024] c3 Control: 10c5387d  Table: 6b4e804a  DAC: 00000015
<4>[  299.605057] c3 
<4>[  299.605068] c3 LR: 0xc010cebc:
<4>[  299.605086] c3 cebc  e1a06001 e3e05000 e1a045a4 e1b040a4 e2855001 1afffffc e1a00002 e1a01005
<4>[  299.605145] c3 cedc  e59f2024 e1a03004 ebfffde0 e3500000 01a00004 089da8f0 ebffb38a e1a01005
<4>[  299.605202] c3 cefc  e1a02006 ebfffb4a e89da8f0 c0a8f0c0 e1a0c00d e92dd800 e24cb004 e92d4000
<4>[  299.605258] c3 cf1c  ebfcce75 e3a03000 e59f2014 ebfffdcf e2503000 01a00003 089da800 ebffb379
<4>[  299.605315] c3 cf3c  e89da800 c0a8f0c0 e1a0c00d e92dd830 e24cb004 e92d4000 ebfcce67 e2403001
<4>[  299.605372] c3 cf5c  e1a05000 e3e04000 e1a035a3 e1b030a3 e2844001 1afffffc e1a00001 e1a01004
<4>[  299.605428] c3 cf7c  ebffffe2 e1a01004 e1a02005 ebfffb28 e89da830 e1a0c00d e92dd800 e24cb004
<4>[  299.605485] c3 cf9c  e92d4000 ebfcce54 e3a01000 e3800902 ebffffd6 e89da800 e1a0c00d e92ddbf0
<4>[  299.605542] c3 
<4>[  299.605551] c3 SP: 0xea7edd38:
<4>[  299.605569] c3 dd38  c23b3500 00000008 c0aa2e1c c23b3500 c00f9d38 c010cf3c ffffffff ea7edda4
<4>[  299.605625] c3 dd58  d8131000 ea823070 ea7ede44 ea7edd70 c004016c c003a624 000040ed 000040d8
<4>[  299.605682] c3 dd78  0000c350 ea7ec000 d8da8000 e8d5a000 d8131000 ea823070 e8d5a000 e75313c0
<4>[  299.605739] c3 dd98  d8131000 ea7ede44 000040ee ea7eddb8 c010cf3c bf0170e0 a0000013 ffffffff
<4>[  299.605795] c3 ddb8  ff0a0210 00000000 ea7ede0c ea7ede48 00000001 dba4d400 dba4d40c e8d5a000
<4>[  299.605852] c3 ddd8  e75313c0 d8131000 ea7ede04 ea7eddf0 c021fdfc c021fa14 bf017d34 ea7ede0c
<4>[  299.605908] c3 ddf8  ea823000 00001000 80000000 00000000 c014bbe0 c014bca0 00001000 d8131000
<4>[  299.605965] c3 de18  00000080 ea823000 00000083 00000080 ea823070 e8d5a000 e75313c0 d8131000
<4>[  299.606022] c3 
<4>[  299.606032] c3 FP: 0xea7eddc4:
<4>[  299.606049] c3 ddc4  ea7ede48 00000001 dba4d400 dba4d40c e8d5a000 e75313c0 d8131000 ea7ede04
<4>[  299.606106] c3 dde4  ea7eddf0 c021fdfc c021fa14 bf017d34 ea7ede0c ea823000 00001000 80000000
<4>[  299.606162] c3 de04  00000000 c014bbe0 c014bca0 00001000 d8131000 00000080 ea823000 00000083
<4>[  299.606218] c3 de24  00000080 ea823070 e8d5a000 e75313c0 d8131000 ea7ede8c ea7ede48 c011bcdc
<4>[  299.606275] c3 de44  bf017064 62636d6d 70316b6c 00070031 c0135b14 ea7ede8c 00000003 00000002
<4>[  299.606331] c3 de64  e7531800 da2bfe60 bf017d34 bf017d34 00000080 d8131000 d8131000 ea7edea4
<4>[  299.606388] c3 de84  ea7ede90 bf017050 c011bbb4 bf017058 00000080 ea7edecc ea7edea8 c011a89c
<4>[  299.606444] c3 dea4  bf017034 bf017d34 bf017d34 e7531800 da2bfe60 bf017d34 e7531800 ea7edef4
<4>[  299.606501] c3 
<4>[  299.606511] c3 R3: 0xea7ebf80:
<4>[  299.606528] c3 bf80  70ffd841 70ffdc41 70ff5841 70ff5c41 70ff9841 70ff9c41 70ff7841 70ff7c41
<4>[  299.606585] c3 bfa0  70ff6841 70ff6c41 6b0e3811 6b0e3c11 6b0e4811 6b0e4c11 6b0e5811 6b0e5c11
<4>[  299.606641] c3 bfc0  6b0e6811 6b0e6c11 6b0e7811 6b0e7c11 6b0e8811 6b0e8c11 6b0e9811 6b0e9c11
<4>[  299.606698] c3 bfe0  6b0ec811 6b0ecc11 6b0ed811 6b0edc11 6b0ee811 6b0eec11 70ffe821 70ffec21
<4>[  299.606754] c3 c000  00000000 00000002 00000000 eb617200 c09ff5b0 00000003 00000015 c30c0200
<4>[  299.606811] c3 c020  eb617200 ea7ec000 c09dc4e8 e3ad55e0 ea823088 00000000 ea7edd0c ea7edcb8
<4>[  299.606867] c3 c040  c05cb9a4 00000000 00000000 00000000 00000000 00000000 01010000 00000000
<4>[  299.606923] c3 c060  4117cf00 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.606979] c3 
<4>[  299.606989] c3 R4: 0xd8da7f80:
<4>[  299.607006] c3 7f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607062] c3 7fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607118] c3 7fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607174] c3 7fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607229] c3 8000  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607284] c3 8020  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607340] c3 8040  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607396] c3 8060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607452] c3 
<4>[  299.607461] c3 R5: 0xe8d59f80:
<4>[  299.607479] c3 9f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607535] c3 9fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607591] c3 9fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607646] c3 9fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.607702] c3 a000  c0a04c38 e95efe00 0b300011 00000c00 00001000 00000000 7fffffff 00000000
<4>[  299.607759] c3 a020  bf017d34 bf0178cc 00000000 00000000 00000000 10000880 2011bab0 00000000
<4>[  299.607815] c3 a040  ffffffff 00000000 00000000 e8d5a04c e8d5a04c 00000001 00000000 00000000
<4>[  299.607871] c3 a060  e8d5a060 e8d5a060 00000000 00000001 00000001 00000000 e8d5a078 e8d5a078
<4>[  299.607927] c3 
<4>[  299.607937] c3 R6: 0xd8130f80:
<4>[  299.607954] c3 0f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.608010] c3 0fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.608066] c3 0fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.608122] c3 0fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 aa550000
<4>[  299.608178] c3 1000  3d646975 30303031 6469672c 3230313d 6d662c33 3d6b7361 6d642c32 3d6b7361
<4>[  299.608235] c3 1020  00000032 00000000 00000000 00000004 00000014 4117b340 00000001 00000001
<4>[  299.608291] c3 1040  00000000 400398a1 400e9657 6f6d6e55 65746e75 4117b294 00000000 00000000
<4>[  299.608347] c3 1060  6e696b63 00004000 40116b1e 00004000 00000035 ffff0208 40116b14 0000003f
<4>[  299.608404] c3 
<4>[  299.608414] c3 R7: 0xea822ff0:
<4>[  299.608431] c3 2ff0  ffffffff 00000000 ea822200 00000000 0b300011 00000001 ea823088 00000000
<4>[  299.608487] c3 3010  00000001 00000000 00000000 ea82301c ea82301c 00000000 e3b64958 e3b64958
<4>[  299.608543] c3 3030  00000000 bf017d34 00000001 00000000 ea823040 ea823040 ea823200 00001000
<4>[  299.608600] c3 3050  da30ec00 00000000 00000000 dba4d400 eaa2e460 ea823260 00000000 00000000
<4>[  299.608656] c3 3070  00000001 00000000 00000000 ea82307c ea82307c 00000000 00006000 00000000
<4>[  299.608712] c3 3090  00000000 c0ad31c0 eb004800 00000000 00000000 00000000 00000000 00000001
<4>[  299.608768] c3 30b0  00000000 00000000 ea8230b8 ea8230b8 00000000 ffffc2b4 00000000 c31a5cfc
<4>[  299.608824] c3 30d0  ea8230d0 ea8230d0 ea8230d8 ea8230d8 eaa2e4e0 ea8232e0 ea8230e8 ea8230e8
<4>[  299.608881] c3 
<4>[  299.608890] c3 R8: 0xe8d59f80:
<4>[  299.608908] c3 9f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.608963] c3 9fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.609019] c3 9fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.609075] c3 9fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.609131] c3 a000  c0a04c38 e95efe00 0b300011 00000c00 00001000 00000000 7fffffff 00000000
<4>[  299.609187] c3 a020  bf017d34 bf0178cc 00000000 00000000 00000000 10000880 2011bab0 00000000
<4>[  299.609244] c3 a040  ffffffff 00000000 00000000 e8d5a04c e8d5a04c 00000001 00000000 00000000
<4>[  299.609300] c3 a060  e8d5a060 e8d5a060 00000000 00000001 00000001 00000000 e8d5a078 e8d5a078
<4>[  299.609357] c3 
<4>[  299.609366] c3 R9: 0xe7531340:
<4>[  299.609384] c3 1340  e8525100 eb49eda8 eb49ed00 e7531a0c e753160c dba88000 00000000 00000000
<4>[  299.609441] c3 1360  00000000 00200200 00000006 6eec9a80 00000000 00000000 00000000 00000000
<4>[  299.609497] c3 1380  00000000 00000000 e93d4d38 e93d4d38 00000000 00000000 00000000 00000000
<4>[  299.609553] c3 13a0  00000000 00000000 00000000 00000000 00000000 00000000 e8489ae4 c00a47dc
<4>[  299.609609] c3 13c0  61667865 00000074 00100100 00200200 00000000 00000000 00000000 00000000
<4>[  299.609665] c3 13e0  00000001 e79ccc80 00000006 5c1b8918 00000000 00000000 00000000 00000000
<4>[  299.609721] c3 1400  e7531240 e7531220 eb6a7600 e7fe4314 e75315ac e7fe4300 00000000 00000000
<4>[  299.609777] c3 1420  e7531260 00200200 c0aa9130 00100100 00200200 dba88d80 e79badd8 c00a47dc
<4>[  299.609834] c3 
<4>[  299.609844] c3 R10: 0xd8130f80:
<4>[  299.609862] c3 0f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.609917] c3 0fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.609973] c3 0fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[  299.610028] c3 0fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 aa550000
<4>[  299.610084] c3 1000  3d646975 30303031 6469672c 3230313d 6d662c33 3d6b7361 6d642c32 3d6b7361
<4>[  299.610141] c3 1020  00000032 00000000 00000000 00000004 00000014 4117b340 00000001 00000001
<4>[  299.610200] c3 1040  00000000 400398a1 400e9657 6f6d6e55 65746e75 4117b294 00000000 00000000
<4>[  299.610258] c3 1060  6e696b63 00004000 40116b1e 00004000 00000035 ffff0208 40116b14 0000003f
<0>[  299.610317] c3 Process vold (pid: 2239, stack limit = 0xea7ec2f0)
<0>[  299.610352] c3 Stack: (0xea7eddb8 to 0xea7ee000)
<0>[  299.610380] c3 dda0:                                                       ff0a0210 00000000
<0>[  299.610428] c3 ddc0: ea7ede0c ea7ede48 00000001 dba4d400 dba4d40c e8d5a000 e75313c0 d8131000
<0>[  299.610474] c3 dde0: ea7ede04 ea7eddf0 c021fdfc c021fa14 bf017d34 ea7ede0c ea823000 00001000
<0>[  299.610522] c3 de00: 80000000 00000000 c014bbe0 c014bca0 00001000 d8131000 00000080 ea823000
<0>[  299.610568] c3 de20: 00000083 00000080 ea823070 e8d5a000 e75313c0 d8131000 ea7ede8c ea7ede48
<0>[  299.610613] c3 de40: c011bcdc bf017064 62636d6d 70316b6c 00070031 c0135b14 ea7ede8c 00000003
<0>[  299.610663] c3 de60: 00000002 e7531800 da2bfe60 bf017d34 bf017d34 00000080 d8131000 d8131000
<0>[  299.610708] c3 de80: ea7edea4 ea7ede90 bf017050 c011bbb4 bf017058 00000080 ea7edecc ea7edea8
<0>[  299.610752] c3 dea0: c011a89c bf017034 bf017d34 bf017d34 e7531800 da2bfe60 bf017d34 e7531800
<0>[  299.610797] c3 dec0: ea7edef4 ea7eded0 c01374f4 c011a884 bf017d34 e75313c0 d8131000 e7531800
<0>[  299.610841] c3 dee0: 00000080 e75313c0 ea7edf1c ea7edef8 c0137598 c01374a0 00000000 0000001f
<0>[  299.610886] c3 df00: 00000c8e 00000080 e7531800 e75313c0 ea7edf6c ea7edf20 c0137ce8 c0137560
<0>[  299.610930] c3 df20: ea7edf7c ea7ec000 ea7edf44 ea7edf38 c010cf3c c00f9d30 eb00d0a0 ea909b28
<0>[  299.610975] c3 df40: c013635c da64b000 4117b6d4 00000000 00000c8e c0040a08 ea7ec000 00000000
<0>[  299.611019] c3 df60: ea7edfa4 ea7edf70 c0137e00 c0137638 d8131000 da2bf500 ea7edfa4 d8131000
<0>[  299.611064] c3 df80: e7531800 e75313c0 4117b1cc 00000002 400e2789 00000015 00000000 ea7edfa8
<0>[  299.611108] c3 dfa0: c0040800 c0137d78 4117b1cc 00000002 4117b6d4 4003c1b6 4117b15c 00000c8e
<0>[  299.611152] c3 dfc0: 4117b1cc 00000002 400e2789 00000015 4117b1cc 4117b15c 00000c8e 000003e8
<0>[  299.611197] c3 dfe0: 4117b138 4117b128 40032e69 400d9ff8 60000010 4117b6d4 00000000 00000000
<4>[  299.611239] c3 Backtrace: 
<4>[  299.611269] c3 [<bf017058>] (exfat_fill_super+0x0/0x57c [exfat_fs]) from [<c011bcdc>] (mount_bdev+0x134/0x1b0)
<4>[  299.611323] c3 [<c011bba8>] (mount_bdev+0x0/0x1b0) from [<bf017050>] (exfat_fs_mount+0x28/0x30 [exfat_fs])
<4>[  299.611376] c3 [<bf017028>] (exfat_fs_mount+0x0/0x30 [exfat_fs]) from [<c011a89c>] (mount_fs+0x24/0xd0)
<4>[  299.611430] c3 [<c011a878>] (mount_fs+0x0/0xd0) from [<c01374f4>] (vfs_kern_mount+0x60/0x98)
<4>[  299.611471] c3  r6:e7531800 r5:bf017d34 r4:da2bfe60
<4>[  299.611508] c3 [<c0137494>] (vfs_kern_mount+0x0/0x98) from [<c0137598>] (do_kern_mount+0x44/0xd8)
<4>[  299.611551] c3  r9:e75313c0 r8:00000080 r7:e7531800 r6:d8131000 r5:e75313c0
<4>[  299.611595] c3 r4:bf017d34
<4>[  299.611619] c3 [<c0137554>] (do_kern_mount+0x0/0xd8) from [<c0137ce8>] (do_mount+0x6bc/0x740)
<4>[  299.611660] c3  r9:e75313c0 r8:e7531800 r7:00000080 r6:00000c8e r5:0000001f
<4>[  299.611703] c3 r4:00000000
<4>[  299.611726] c3 [<c013762c>] (do_mount+0x0/0x740) from [<c0137e00>] (sys_mount+0x94/0xd4)
<4>[  299.611775] c3 [<c0137d6c>] (sys_mount+0x0/0xd4) from [<c0040800>] (ret_fast_syscall+0x0/0x30)
<4>[  299.611816] c3  r7:00000015 r6:400e2789 r5:00000002 r4:4117b1cc
<0>[  299.611858] c3 Code: e5852038 e58541b4 e59122fc e30410d8 (e592e004) 
<4>[  299.611912] c3 ---[ end trace 946e1c34f4cb91f5 ]---
<0>[  299.611963] c3 Kernel panic - not syncing: Fatal exception
<2>[  299.612016] c0 CPU0: stopping
<4>[  299.612035] c0 Backtrace: 
<4>[  299.612063] c0 [<c0044548>] (dump_backtrace+0x0/0x118) from [<c05cac9c>] (dump_stack+0x20/0x24)
<4>[  299.612106] c0  r7:00000000 r6:c090bef8 r5:00000006 r4:00000000
<4>[  299.612150] c0 [<c05cac7c>] (dump_stack+0x0/0x24) from [<c003a328>] (do_IPI+0x12c/0x254)
<4>[  299.612196] c0 [<c003a1fc>] (do_IPI+0x0/0x254) from [<c0040200>] (__irq_svc+0x80/0x15c)
<4>[  299.612236] c0 Exception stack(0xc090bef8 to 0xc090bf40)
<4>[  299.612265] c0 bee0:                                                       0006fbc0 00001f40
<4>[  299.612310] c0 bf00: 00000000 000000f7 c30a70a8 c30a70b8 c0aa3ac4 c0aa2b9c c30a70a8 413fc090
<4>[  299.612354] c0 bf20: 00000000 c090bf64 1b47651f c090bf40 c00a8054 c00525ec 20000013 ffffffff
<4>[  299.612395] c0  r9:c090a000 r8:00000001 r7:00000002 r6:00000c06 r5:fe810000
<4>[  299.612439] c0 r4:ffffffff
<4>[  299.612468] c0 [<c0052460>] (exynos4_enter_idle+0x0/0x1c4) from [<c03d0a60>] (cpuidle_idle_call+0x14c/0x240)
<4>[  299.612515] c0  r5:c30a70b8 r4:c30a70a8
<4>[  299.612545] c0 [<c03d0914>] (cpuidle_idle_call+0x0/0x240) from [<c0041830>] (cpu_idle+0x94/0x110)
<4>[  299.612593] c0 [<c004179c>] (cpu_idle+0x0/0x110) from [<c05bc7d4>] (rest_init+0xd0/0xe8)
<4>[  299.612633] c0  r7:7fffffff r6:c003300c r5:00000000 r4:c090a000
<4>[  299.612677] c0 [<c05bc704>] (rest_init+0x0/0xe8) from [<c00089bc>] (start_kernel+0x2b8/0x310)
<4>[  299.612718] c0  r5:00000000 r4:c09dc568
<4>[  299.612748] c0 [<c0008704>] (start_kernel+0x0/0x310) from [<40008040>] (0x40008040)
<6>[  300.011796] c3 notifier_call_chain : NOTIFY BAD sec_debug_panic_handler
<0>[  300.011832] c3 Rebooting in 1 seconds..
<0>[  301.009341] c3 sec_reboot (104, emergency)
PMIC rev = PASS2(4)
mmc_initialize: mmc->capacity = 30777344

Samsung S-Boot 4.0-414933 for SCH-I605 (Oct 28 2012 - 13:33:33)

EXYNOS4412(EVT 2.0) / 2047MB / 15028MB / Rev 10 / I605VRALJB

initialize_ddi_data: usable! (0:0x0)
PARAM ENV VERSION: v1.0..
<start_checksum:331>CHECKSUM_HEADER_SECTOR :4096
<start_checksum:333>offset:50, size:6296
<start_checksum:336>CHECKSUM_HEADER_INFO : NeedChecksum:0 PartNo:20
Not Need Movinand Checksum
Movinand Checksum Confirmation Pass
init_fuelgauge: fuelgauge power ok
s5p_read_adc: ch#0: 641
s5p_read_adc: ch#0: 641
s5p_read_adc: ch#0: 639
init_fuelgauge: not POR status
init_fuelgauge: is reset case, skip soc-cal.
get_table_soc: vcell(3997) is caculated to t-soc(74.717)
init_fuelgauge: start: vcell(3997), vfocv(3991), soc(69), table soc(74)
init_fuelgauge: finish: vcell(3997), vfocv(3991), soc(69), table soc(74)
init_microusb_ic: MUIC: CONTROL1:0x00
init_microusb_ic: MUIC: CONTROL1:0x00
init_microusb_ic: MUIC: CONTROL2:0x3e
init_microusb_ic: MUIC: CONTROL2:0x3e
PMIC_ID      = 0x02 
PMIC_IRQSRC  = 0x00 
PMIC_STATUS1 = 0x16 
PMIC_STATUS2 = 0x00 
PMIC_PWRON   = 0x01 
PMIC_IRQ1    = 0x03 
PMIC_IRQ2    = 0x00 
s5p_check_keypad: 0x0
s5p_check_reboot_mode: INFORM3 = 0 ... skip
board_check_cp_mdm9x_type : 0
s5p_check_upload: MAGIC(0x66262564), RST_STAT(0x20000000)
s5p_check_upload: debug level is 4f4c!
s5p_check_upload: level low or unknown: skip 0
s5p_check_download: 0
s5p_check_modem_secure_fail: 0
microusb_get_attached_device: STATUS1:0x3f, 2:0x41
check_pm_status: normal reset, do not enter LPM mode.
ddi type = 1, S.LSI
cmu_div:6, div:2, src_clk:880000000, pixel_clk:62614944
41, 16, a2, 
load_kernel: loading boot image from 106496..
pit_check_signature (BOOT) valid.
if_ddi_data: succeeded. (0:0x0)
ATAG_CORE: 5 54410001 0 0 0
ATAG_MEM: 4 54410002 20000000 40000000
ATAG_MEM: 4 54410002 20000000 60000000
ATAG_MEM: 4 54410002 20000000 80000000
ATAG_MEM: 4 54410002 1ff00000 a0000000
ATAG_SERIAL: 4 54410006 42f7bcee 3b6e9fa3
ATAG_INITRD2: 4 54420005 42000000 97f32
ATAG_REVISION: 3 54410007 a
ATAG_CMDLINE: 6f 54410009 'console=ram loglevel=4 androidboot.baseband=mdm sec_debug.level=0 sec_watchdog.sec_pet=5 androidboot.debug_level=0x4f4c sec_log=0x200000@0x46000000 s3cfb.bootloaderfb=0x5ec00000 lcdtype=1 consoleblank=0 lpcharge=0 lpj=3981312 vmalloc=176m oops=panic pmic_info=67 cordon=8d78aade5c699053ba8c8f30d3606e94 androidboot.emmc_checksum=3 androidboot.bootloader=I605VRALJB androidboot.serialno=42f7bcee3b6e9fa3 snd_soc_core.pmdown_time=1000'
ATAG_NONE: 0 0

Starting kernel at 0x40008000...

SWITCH_SEL(3)
The Following User Says Thank You to imnuts For This Useful Post: [ View ]
19th February 2013, 05:04 PM   |  #6  
garyd9's Avatar
Recognized Developer
Flag Pittsburgh, PA
Thanks Meter: 2,171
 
2,088 posts
Join Date:Joined: Sep 2006
exFAT is a gray area in terms of licensing, etc. Because of that, I've made some edits to the OP to keep XDA out of legal trouble.

Instead of asking to get the exFAT module working with a custom kernel, the post will ask how to "get precompiled modules like exFAT working" - etc.

Gary
19th February 2013, 07:53 PM   |  #7  
AndreiLux's Avatar
Senior Member
Thanks Meter: 14,080
 
2,953 posts
Join Date:Joined: Jul 2011
Donate to Me
I asked you if you did SLUB changes, your SLQB patch alters/adds #include <linux/rcu_types.h> regardless if it is enabled in the config or not. Try reverting all your patches related memory management and RCU. Also unlike you, I run FTRACE disabled throughout all the kernels, enabling it will crash the device when loading the module for me.
Last edited by AndreiLux; 19th February 2013 at 07:58 PM.
20th February 2013, 06:00 AM   |  #8  
imnuts's Avatar
OP Recognized Developer
Flag West Chester
Thanks Meter: 3,011
 
3,462 posts
Join Date:Joined: Jul 2007
Donate to Me
More
I reverted the RCU and SLQB commits, redid the config without FTRACE, and the modules aren't loading (still), and when I try to insmod them manually, I get the same error without the RCU/SLQB commits that I got with them.
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Mark>adb shell lsmod
vpnclient 90997 0 - Live 0x00000000

C:\Users\Mark>adb shell
root@android:/ # insmod /lib/modules/exfat_core.ko
insmod /lib/modules/exfat_core.ko
insmod: init_module '/lib/modules/exfat_core.ko' failed (No such file or directo
ry)
255|root@android:/ # dmesg | grep exfat
dmesg | grep exfat
<4>[   62.231113] c1 exfat_core: Unknown symbol kmem_cache_alloc_trace (err 0)
<4>[   62.231239] c1 exfat_core: Unknown symbol __gnu_mcount_nc (err 0)
root@android:/ #
C:\Users\Mark>
So, I went back, enabled FTRACE again with the RCU/SLQB commits out of the picture, and it cuts off at the same place on logcat as I posted above with JRCU/SLQB.
20th February 2013, 08:52 AM   |  #9  
AndreiLux's Avatar
Senior Member
Thanks Meter: 14,080
 
2,953 posts
Join Date:Joined: Jul 2011
Donate to Me
Re: precompiled kernel modules (like exFAT)
Then I don't know. Diff my, or other kernel's defconfig. I've also heard some dev say a toolchain upgrade made it not possible anymore to load the modules, but didn't get the specifics on that.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes