Skip to contentSkip to conversation

problem with installing the kernel

DISCUSSION Ouyang 2 participants 4 messages Jul 12, 2012

lore
Share & tools
lore

Ouyang

author
#0 lore raw

I add something to the wireless-testing and then run:

Quoted 2 lines

make modules
make bzImage

it seems all fine. but could not go any further

# make modules_install
rm:invalid option -- '3'
Try 'rm -- help' for more information
make : *** [_modinst_] Error 1

Could anyone please help me with the situation?
The version of the linux is 3.4.4-3.fc17.x86_64 #1

#1 lore raw
Quoted 4 lines · Ouyang

I add something to the wireless-testing and then run:

Quoted 2 lines

make modules
make bzImage

Quoted 8 lines

it seems all fine. but could not go any further

# make modules_install
rm:invalid option -- '3'
Try 'rm -- help' for more information
make : *** [_modinst_] Error 1

Could anyone please help me with the situation?
The version of the linux is 3.4.4-3.fc17.x86_64 #1

Are you building the kernel as root? That is a terrible policy!!!

You should run "make" as a regular user, and follow that with "sudo make modules_install install". If that fails, you need to ask about the problem at Fedora. The standard kernel does the modules installation without any problems.

Larry

author
#2 lore raw
Quoted 12 lines · Larry Finger
Quoted 10 lines · Ouyang

I add something to the wireless-testing and then run:

Quoted 2 lines

make modules
make bzImage

it seems all fine. but could not go any further

# make modules_install
rm:invalid option -- '3'
Try 'rm -- help' for more information
make : *** [_modinst_] Error 1
Quoted 8 lines
Quoted 2 lines

Could anyone please help me with the situation?
The version of the linux is 3.4.4-3.fc17.x86_64 #1

Are you building the kernel as root? That is a terrible policy!!!

You should run "make" as a regular user, and follow that with "sudo make modules_install install". If that fails, you need to ask about the problem at Fedora. The standard kernel does the modules installation without any

problems.

Quoted 9 lines

Larry

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@...
More majordomo info at http://vger.kernel.org/majordomo-info.html

Thank you so much for the reply. Sorry that I run "make" as a root. I am new with linux and I am sure I won`t make the same mistake in the future. By the way , why it tells me about try "rm -- help"? I really do not know what does it mean. In what situation will this "rm -- help " come out?

Thanks

Ouyang

#3 lore raw
Quoted 5 lines · Ouyang

Thank you so much for the reply. Sorry that I run "make" as a root. I am new with linux and I am sure I won`t make the same mistake in the future. By the way , why it tells me about try "rm -- help"? I really do not know what does it mean. In what situation will this "rm -- help " come out?

In some script that is called from "make modules_install", your system is calling the utility rm with option 3. That is not a standard script. It could be that something is messed up with your source tree. If you reload the source that you got from Fedora, and rebuild as a regular user, it might fix the problem. If not, you need to ask on a Fedora forum. The wireless and mainline kernels do not have this problem.

Larry