LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2007, 02:57 AM   #1
pprs project
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Rep: Reputation: 0
error "cannot allocate memory"


We were trying to insert the ext2 module in kernel version 2.6.21.5 .
The linux we are using is SuSE 10.1 . While inserting the ext2 module we got an error "Cannot allocate memory". Can you suggest us
why this error occured.

We have done following steps:
1. We copied ext3 on Desktop
2. make clean
3. make -C /../../../linux-2.6.21.5/ M=$(pwd) modules
4. then ext2.ko is formed
5. insmod ext2.ko
6. then an error "cannot allocate memory" occured
 
Old 09-18-2007, 04:41 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
When using insmod, it is not necessary to include the filename extension.

Try 'insmod ext2' without the .ko extension.
 
  


Reply

Tags
cannot, error, memory


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Cannot allocate memory" - all programs malfunctioning MoghNX01 Linux - Software 6 04-30-2007 09:29 AM
"bash: fork: Cannot allocate memory" error guarriman Linux - General 1 04-05-2007 12:46 PM
ndiswrapper troubles: "Failed to allocate DMA coherent memory." Oodini Linux - Wireless Networking 1 01-12-2005 12:20 AM
"PCI: Cannot allocate..." error message at boot FC2 ?!?! eltoro Fedora 1 10-14-2004 04:03 PM
"Undeleting" data using grep, but get "grep: memory exhausted" error SammyK Linux - Software 2 03-13-2004 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration