Ok, I changed my code to use vmalloc instead of kmalloc, which allowed the code to proceed. My memory alloc sequence looks like this:
alloc 0x100000 bytes alloc 0x000140 bytes alloc 0x000030 bytes The last alloc, for 0x000030 bytes, happens 39 times. Somewhere along the line, I get the following message: (see below) Anybody have any clues as to what could be happening? Note that the code in question (except for the allocs) has compiled and run succesfully on two other operating systems. That doesn't mean that there isn't a pointer error - but if there is, it hasn't been caught yet. Thanks, -Chris ---------------------- Dec 20 08:53:36 joshua kernel: Unable to handle kernel paging request at virtual address b3232100 Dec 20 08:53:36 joshua kernel: printing eip: Dec 20 08:53:36 joshua kernel: cc8cc8cc Dec 20 08:53:36 joshua kernel: *pde = 00000000 Dec 20 08:53:36 joshua kernel: Oops: 0000 Dec 20 08:53:36 joshua kernel: CPU: 0 Dec 20 08:53:36 joshua kernel: EIP: 0010:[usbcore:__insmod_usbcore_S.bss_L96+466732/3814844] Dec 20 08:53:36 joshua kernel: EFLAGS: 00010287 Dec 20 08:53:36 joshua kernel: eax: e6850100 ebx: ccae3000 ecx: 00000000 edx: ccae5000 Dec 20 08:53:36 joshua kernel: esi: b3232100 edi: 00000028 ebp: 00000140 esp: cb95fe8c Dec 20 08:53:36 joshua kernel: ds: 0018 es: 0018 ss: 0018 Dec 20 08:53:36 joshua kernel: Process khubd (pid: 88, stackpage=cb95f000) Dec 20 08:53:36 joshua kernel: Stack: 00002e62 00000246 00002e62 c011749b 00002e62 00002e62 cc9d9230 ccb33000 Dec 20 08:53:36 joshua kernel: ccae3000 cc9e2000 c02a265d 00000028 e5010100 00000000 00000001 cc9d9220 Dec 20 08:53:36 joshua kernel: 0000900f 00000000 ca67eee0 cc8cc4e9 cc9d9220 c97f8400 cc8cc1f9 cc9d9220 Dec 20 08:53:36 joshua kernel: Call Trace: [call_console_drivers+235/256] [usbcore:__insmod_usbcore_S.bss_L96+1566864/2714712] [usbcore:__insmod_usbcore_S.bss_L96+2983520/1298056] [usbcore:__insmod_usbcore_S.bss_L96+2655840/1625736] [usbcore:__insmod_usbcore_S.bss_L96+1603168/2678408] Dec 20 08:53:36 joshua kernel: [<e5010100>] [usbcore:__insmod_usbcore_S.bss_L96+1566848/2714728] [usbcore:__insmod_usbcore_S.bss_L96+465737/3815839] [usbcore:__insmod_usbcore_S.bss_L96+1566848/2714728] [usbcore:__insmod_usbcore_S.bss_L96+464985/3816591] [usbcore:__insmod_usbcore_S.bss_L96+1566848/2714728] Dec 20 08:53:36 joshua kernel: [usbcore:__insmod_usbcore_S.bss_L96+469208/3812368] [usbcore:__insmod_usbcore_S.bss_L96+494272/3787304] [usbcore:__insmod_usbcore_S.bss_L96+494300/3787276] [binfmt_misc:__insmod_binfmt_misc_O/lib/modules/2.4.7-10/kernel/fs/binfm+-287730/96] [usbcore:__insmod_usbcore_S.bss_L96+469208/3812368] [binfmt_misc:__insmod_binfmt_misc_O/lib/modules/2.4.7-10/kernel/fs/binfm+-240448/96] Dec 20 08:53:36 joshua kernel: [binfmt_misc:__insmod_binfmt_misc_O/lib/modules/2.4.7-10/kernel/fs/binfm+-286999/96] [binfmt_misc:__insmod_binfmt_misc_O/lib/modules/2.4.7-10/kernel/fs/binfm+-279053/96] [binfmt_misc:__insmod_binfmt_misc_O/lib/modules/2.4.7-10/kernel/fs/binfm+-273685/96] [binfmt_misc:__insmod_binfmt_misc_O/lib/modules/2.4.7-10/kernel/fs/binfm+-273641/96] [binfmt_misc:__insmod_binfmt_misc_O/lib/modules/2.4.7-10/kernel/fs/binfm+-273164/96] [binfmt_misc:__insmod_binfmt_misc_O/lib/modules/2.4.7-10/kernel/fs/binfm+-240276/96] Dec 20 08:53:36 joshua kernel: [binfmt_misc:__insmod_binfmt_misc_O/lib/modules/2.4.7-10/kernel/fs/binfm+-272699/96] [kernel_thread+38/48] [binfmt_misc:__insmod_binfmt_misc_O/lib/modules/2.4.7-10/kernel/fs/binfm+-272752/96] Dec 20 08:53:36 joshua kernel: Dec 20 08:53:36 joshua kernel: Code: 0f b6 06 89 04 cb 46 0f b7 06 89 42 08 83 c6 02 0f b7 06 8b _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
