Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 07-18-2009, 04:44 PM   #1
Registered: Jun 2009
Distribution: Red Hat/ Centos
Posts: 33

Rep: Reputation: 16
Running make menuconfig results in text file is busy.

Hello All,

I am current trying to install a new custom kernel. When I run the command make menuconfig inside the kernel's directory I get this error.
[root@localhost linux-]# make menuconfig
  HOSTCC  scripts/kconfig/conf.o
/bin/sh: /usr/bin/gcc: Text file busy
make[1]: *** [scripts/kconfig/conf.o] Error 1
make: *** [menuconfig] Error 2
Does anyone have a clue to what this means?

Old 07-18-2009, 07:57 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Maybe the file is open by another process, or it may be marked as such.

Try restarting the computer. If that doesn't work then run a file system check with the partition holding those files unmounted. Usually that would be the root partition.

If that doesn't work then the file could be corrupted or the disk could be starting to fail.
Old 07-18-2009, 11:40 PM   #3
Registered: Jun 2009
Distribution: Red Hat/ Centos
Posts: 33

Original Poster
Rep: Reputation: 16
I guess great minds think alike.

I had already ran a file system check on the partition and the system was just off of a fresh reboot.

The hard drive is brand new but ever since I purchased it my machine has been having numerous kernel panics, so I was trying to install the newest kernel.

I would use yum/rpm to remove and reinstall the gcc but I having been having issues with it hanging and/or not responding, but that is another issue.


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 create regular file ...: text file busy laode Linux - General 4 11-27-2012 02:56 AM
Text file Busy yusufs Linux - Newbie 7 01-05-2008 07:12 AM
error when running make menuconfig Roxxor2 Linux - Software 1 04-12-2006 02:53 PM
Problems running make menuconfig Menestrel Debian 1 06-06-2005 01:35 AM
Problem running make menuconfig cb9fl Slackware 8 12-07-2004 02:49 AM

All times are GMT -5. The time now is 03:29 PM.

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