FC5下编译2.4内核

win11重装系统简易教程-小白也可以上手! 本文介绍一下win11系统重装的各个步骤,也作为记录供自己后面查看。附上我之前参考的一位知乎大神写的重装win10系统文章的地址本文用到的工具全部是,不需要下载第三方镜像文件(不是说这个不好,只是第三方的软件或镜像文件网上非常多,琳琅满目,小白需要筛选甄别,直接用官方的就比较省心,大神请自便~) 阅读详情

近日拜读了聂飞的大作<FC5下编译2.4内核>,甚有快感。
以下结合原文和实际编译过程整理成一篇记录
1.准备2.4.20的源代码
$tar jxf linux-2.4.20.tar.bz2
$mv linux-2.4.20 linux
$cd linux
$make mrproper
$make config
$make dep
上面这些步骤都能顺利

通过
$make bzImage
一会就出现了如下的 错误

/usr/linux-2.4.20/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/usr/linux-2.4.20/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here In file included from /usr/linux-2.4.20/include/linux/unistd.h:9,from init/main.c:17:
/usr/linux-2.4.20/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit'

这是因为FC5下的GCC版本太新(gcc4.1)
在一个国外网站上也发现了类似的 问题,他们的建议是使用 gcc 2.95或者gcc3.2进行编译(Dave Thompson)
在网上寻找了一会,发现其实FC5下可以安装一个pachage,就可以使用gcc3.2,同时不会影响当前的gcc4.1。
于是就在ftp://rpmfind.net/linux/fedora/core/5/i386/os/Fedora/RPMS/compat-gcc-32-3.2.3-55.fc5.i386.rpm里下载了一个
该包的大致描述为:The compatibility GNU Compiler Collection Fedora Core 5 for i386,马上进行安装
$rpm -ivh compat-gcc-32-3.2.3-55.fc5.i386.rpm
安装完成后在/usr/bin下多了一个gcc32
于是马上修改Makefile,把里面的CC修改为 gcc32,接着
$make bzImage

经过漫长的等待(不长,也就15分钟左右),结果等来的却是:

 {standard input}: Assembler

messages:
{standard input}:936: Error: suffix or operands invalid for `mov'
{standard input}:937: Error: suffix or operands invalid for `mov'
{standard input}:1031: Error: suffix or operands invalid for `mov'
{standard input}:1032: Error: suffix or operands invalid for `mov'
{standard input}:1083: Error: suffix or operands invalid for `mov'
{standard input}:1084: Error: suffix or operands invalid for `mov'
{standard input}:1086: Error: suffix or operands invalid for `mov'
{standard input}:1098: Error: suffix or operands invalid for `mov'

没办法,把 错误信息输入到google里面,发现很多人都遇到过类似的麻烦。
最后的结论:是FC5下的binutils的一个bug,
于是下载相应的补丁
http://www.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch
在待编译的内核源码(本例为linux-2.4.20/)的根目录下进行patch操作:
$patch -p1 < linux-2.6-seg-5.patch

patching file arch/i386/kernel/process.c
Hunk #1 succeeded at 693 with fuzz 1 (offset 96 lines).
patching file arch/i386/kernel/vm86.c
Hunk #1 FAILED at 294.
1 out of 1 hunk FAILED -- saving

rejects to file arch/i386/kernel/vm86.c.rej
patching file arch/x86_64/kernel/process.c
Hunk #1 succeeded at 458 with fuzz

2 (offset 67 lines).
Hunk #2 succeeded at 443 with fuzz 2 (offset -14 lines).
Hunk #3 FAILED at 458.
Hunk #4 FAILED at 479.
2 out of 4 hunks FAILED -- saving rejects to file arch/x86_64/kernel/process.c.rej
patching file include/asm-

i386/system.h
Hunk #1 succeeded at 84 (offset 3 lines).
Hunk #2 FAILED at 96.
1 out of 2 hunks FAILED -- saving rejects to

file include/asm-i386/system.h.rej

此处和聂飞兄弟文中所述略有不同,有很多失败的地方,我也不明白是什么原因,先放着。继续
$make bzImage
又是漫长的等待,出现如下错误
{standard input}: Assembler messages:
{standard input}:936: Error: suffix or operands invalid for `mov'
{standard input}:937: Error: suffix or operands invalid for `mov'
{standard input}:1031: Error: suffix or operands invalid for `mov'
{standard input}:1032: Error: suffix or operands invalid for `mov'
make[1]: *** [process.o] 错误 1
make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] 错误 2

是as的问题,再编辑
arch/i386/kernel/process.c
在579行,将
asm volatile("movl %%" #seg ",%0":"=m" (*(int *)&(value)))
改成
asm volatile("mov %%" #seg ",%0":"=m" (value))
执行
$make bzImage
一切正常
$make modules
$make modules_install
出现了如下的信息

cd /lib/modules/2.4.20; /
mkdir -p pcmcia; /
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.20; fi
Version requires old depmod, but couldn't run /sbin/depmod.old: No such file or directory
make: *** [_modinst_post] 错误 2

那就创建一个depmod.old的链接
$ln -s /sbin/depmod /sbin/depmod.old
$make modules_install
$mkinitrd -f -v /boot/initrd-2.4.20.img 2.4.20
一切正常,修改相应的

lino或者 grub,重新启动。

运放实现阶梯波发生器-总结报告 实验目的: 学习、理解、掌握方波电路、限幅电路积分累加电路、反馈电路 课程条件: 电脑仿真软件Multisim 原理框图和实验思路: 方波电路通过微分电路可以形成正负脉冲,在通过限幅电路后变为单脉冲,最后在积分电路中形成阶梯波。微分电路存在的意义就是为了防止方波频率过大,从而导致在经过限幅电路的方波,在一个周期内将电容的电充满,这样就不会产生阶梯波。如果方波的频率比较小,可以近似认为是正负脉冲,这样就可以跳过微分电路。 ............... 阅读详情

相关推荐

告别专业软件!用QGIS+GDAL免费搞定S-57电子海图,附全套符号库和样式文件

本文详细介绍了如何利用免费开源工具QGIS和GDAL处理S-57电子海图,包括数据转换、符号库配置和专业可视化方案。通过实战指南,用户无需依赖昂贵的商业软件,即可实现从S-57到SHP的转换及专业级海图制作,特别适合预算有限的个人和小型机构。

weixin_33701294的博客 395

编译linux2.6.11内核,出现问题

在编译linux2.6.11时,出现如下问题: In file included from include/asm/mpspec.h:5:0,                  from include/asm/smp.h:18,                  from include/linux/smp.h:19,                  from include/li

KidLeaf2的专栏 5059

开关电源EMI滤波设计:如何通过Cx和Cy电容精准抑制共模与差模干扰?

本文深入解析了开关电源EMI滤波设计中Cx和Cy电容的核心作用。Cx电容并联于火线与零线之间,专用于抑制差模干扰;Cy电容连接于火线/零线与地之间,则负责泄放共模干扰。文章详细阐述了二者选型、安规要求及PCB布局要点,并提供了基于测试频谱的实战调优策略,是解决电源传导噪声问题的实用指南。

7z8x2c4v6b9的博客 472

linux下载低内核,Re: 关于Linux下高版本内核编译低版本内核的问题

下面是FC5下编译2.4.20的例子,FC5有bug,中文命名文件会没有反映,建议用稳定的FC4,FC5内核貌似2.6.15还是18忘了。1.准备2.4.20的源代码$tar jxf linux-2.4.20.tar.bz2$mv linux-2.4.20 linux$cd linux$make mrproper$make config$make dep上面这些步骤都能顺利通过$make bzIm...

weixin_31139027的博客 663

深入剖析STM32F103 I2C总线死锁问题及高效应对策略

本文深入剖析了STM32F103硬件I2C总线在轮询模式下发生死锁的根本原因,即硬件状态机的预取机制与软件响应速度不匹配。文章提供了高效的解决方案,包括在轮询模式下提前发送NACK/STOP信号、降低总线速度,以及治本的中断与DMA应用策略,帮助开发者根据项目需求选择最合适的方案,彻底解决这一经典硬件缺陷问题。

weixin_29184371的博客 211

Amesim(五):单个悬架系统搭建

一、组成 单个悬架系统组成包括:端子,质量块*2,弹簧,阻尼器,速度路面反馈,路面激励。 二、搭建 打开Amesim,在 library 选择 1D Mechanical 选择质量模块,添加到skech中,并按 ctrl+r 旋转质量块,将箭头朝上,设置规定的力传递正方向 添加弹簧阻尼器,与质量块连接 添加VX模块,将路面的激励传递转化为速度和位移,传递给悬架系统 在...

林小川的博客 7174

打patch失败:Hunk #1 FAILED at 1. What's that mean?

6down votefavorite 1 I get the following error when running make, and I have no idea what it means or what to do about it. Can anyone illuminate me or point me in the right directi

我不会编程,但不是完全不会,我会一点点 2万+

别再让会议变‘回音壁’:手把手教你调优WebRTC的AEC3回声消除(附实战代码)

本文深入解析WebRTC的AEC3回声消除技术,提供从参数调优到声学环境适配的实战指南。通过诊断回声特征、解剖核心参数(如filter.length_blocks和delay_estimate_smoothing)以及应对特殊场景(如密闭空间与开放办公区),帮助开发者有效解决视频会议中的回声问题,提升语音通信质量。附有实战代码和调试工具,适合需要优化实时通信体验的开发者。

weixin_29220405的博客 182

Arch Linux遇到的坑(下)

明天就要开学,终于赶忙又熟悉了新环境的用法,现在已经基本满足了日常需求,再记录一些坑~。 电脑没有声音 因为上次离奇的自己好了,我就没有再管了,但是后来使用chrome的时候还是没有声音,我就用了图形化界面pavucontrol,设置了播放的声道就好了。 截图工具 我对截图工具的需求主要是快捷键截完图之后可以复制到剪贴板中,然后我直接粘贴到markdown文档中,试了几个软件后发现deepin-screen-recorder和flameshot(使用flameshot gui命令截图)比较符..

weixin_51971301的博客 1727

自定义View系列教程04--Draw源码分析及其实践

通过之前的详细分析,我们知道:在measure中测量了View的大小,在layout阶段确定了View的位置。 完成这两步之后就进入到了我们相对熟悉的draw阶段,在该阶段真正地开始对视图进行绘制。按照之前的惯例,我们来瞅瞅View中draw( )的源码 public void draw(Canvas canvas) { final int privateFlags = mPriv

谷哥的小弟 2万+

Jetson nano 系列之2—板载摄像头IMX219启动

我选用的是亚博科技jetson nano的开发板。

驽马十驾,功在不舍;锲而不舍,金石可镂。 4284

linux高版本模块在低版本运行,Re: 关于Linux下高版本内核编译低版本内核的问题...

下面是FC5下编译2.4.20的例子,FC5有bug,中文命名文件会没有反映,建议用稳定的FC4,FC5内核貌似2.6.15还是18忘了。1.准备2.4.20的源代码$tar jxf linux-2.4.20.tar.bz2$mv linux-2.4.20 linux$cd linux$make mrproper$make config$make dep上面这些步骤都能顺利通过$make bzIm...

weixin_42303078的博客 942

ssm框架搭建

这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载

FC5(Fedora Core5)下编译内核总结

摘要:最近因工作需要,需要对linux内核进行重编译,发现了一些以前没有遇到过的 问题,些出来于 大家一起分享。-------------------------------------声明:       此文为原创,欢迎转载,转载请保留如下信息       作者:聂飞(afreez)北京。中关村        联系方式:afreez@sina.com (欢迎与作者交流)       初次发布

afreez's home 2897

贝叶斯统计 [韦来生编]

贝叶斯(Bayes)统计是近几十年来迅速发展起来的数理统计的一个重要分支。贝叶斯方法与经典统计方法的主要不同之处是进行统计推断时除了利用样本信息外,还要利用参数的先验信息,因此可以提高统计推断或统计决策的效果。它在经济、金融、生物、医学、自然科学和社会科学等许多领域具有广泛的应用。贝叶斯方法的研究已渗透到了统计学的几乎所有领域。作者在给中国科学技术大学概率论与数理统计专业本科生开设的“数理统计”课程中有一章专门讲授“贝叶斯方法和统计决策理论”,近十年来也给中国科学技术大学概率统计专业研究生开设过几次“贝叶斯分析”课。本书是在对过去讲稿的内容作了适当的增减和调整的基础上完成的。  本书共分六章。第1章是绪论,介绍了贝叶斯统计的若干基本概念,同时对必要的数理统计的基础知识有重点地作了回顾。第二章介绍了确定先验分布的若干可供选择的方法。第三章介绍了几类常见统计模型参数的后验分布的主要结果和计算方法。第四章和第五章分别介绍了“贝叶斯统计推断”和“贝叶斯统计决策”的内容。第六章介绍了贝叶斯统计计算的若干方法,包括蒙特卡洛方法和马尔可夫链蒙特卡洛(MCMC)方法以及相关统计软件的简介。本书的每一章附右大量的例题和习题,书末附有常用的几个表格和部分习题解答供读者查用。  大约可在54学时内讲授本书的第1章至第六章的主要内容,教师可根据学时需要选讲本书第1章至第六章的部分内容。书中标“*”号的章节可略去不讲,留给读者作为阅读材料。第六章例题中的R代码和部分例题的数据文件等可从作者个人主页下载。  作者在编写本书的过程中参考了J.O.Berger教授的《统计决策论及贝叶斯分析》和茆诗松教授编写的《贝叶斯统计》等书中的一些内容,以及《贝叶斯分析》一书中由张伟平博士编写的有关贝叶斯统计计算的一些内容。在此表示衷心感谢。  本书编写准备过程中,中国科学技术大学统计与金融系的几个研究生帮助完成了本书部分中文的录入和排版,作者对他们的辛勤工作表示真诚的感谢。高等教育出版社为本书的出版给予了大力支持。在此一并致谢。

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

FC5的内核编译和安装

FC5的原始内核版本是2.6.15(可以用uname -r来查看),在http://download.fedora.redhat.com/pub/fedora/linux/core/5/source/SRPMS/kernel-2.6.15-1.2054_FC5.src.rpm下载kernel-2.6.15-1.2054_FC5.src的安装包之后,编译内核源代码:#rpm –Uvh kernel-

HoneyPiggy的专栏 874

全球国家地区城市数据

MySQL全球国家地区城市数据报。。。。。。。。。。。。

centos 上搭建FC SAN

本文章只是用来备忘。 此次的FC-SAN,采用直连的模式。 target 端: 系统:centos 7.4 内核版本:linux-3.10.0-693.el7 HBA卡:QLogic QLE2562 - PCI-Express Dual Channel 8Gb Fibre Channel HBA wwn:21:00:00:24:ff:90:d0:4c initial端: ...

无名状的专栏 3458

android在fc8上内核编译笔记

 android内核编译笔记 今天在fedora8上,终于android内核编译成功了,虽然App还没有编译成功。下面是图片  1 准备工作1.1 交叉编译的工具链:地址:http://www.codesourcery.com/gnu_toolchains/arm/download.html文件:ARM EABI相关工具     arm-2008q3-41-ar

实业兴国 实干报国 1683

编译 linux FC4 内核

1.首先现在内核文件我的内核版本是2.6.11-1.1369_FC4命令  uname -r  可以查看版本http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/kernel-2.6.11-1.1369_FC4.src.rpm 2.到kernel-2.6.11-1.1369_FC4.src.rpm 文件目录执行 安装  

670

FC5-(linux)内核编译,新手艰辛的历程

<!--google_ad_client = "pub-2132256014190581";/* 160x600, 创建于 09-1-4 */google_ad_slot = "4461398019";google_ad_width = 160;google_ad_height = 600;//-->  用LINUX开发也有段时间了,一直没对内核进行

嵌入式 Linux ARM ADS ADHOC C C++ PLC 单片机 3212

简单编译升级内核2.6.6,激活FC1上的USB硬盘(转)

简单编译升级内核2.6.6,激活FC1上的USB硬盘(转)  作者:陈绪先生  本文首发于www.chinaunix.net之linux版,转载请注明出处。  本机操作系统为FC1(fecora core1),USB硬盘一直不能...

cuemes08808的博客 191

linux 2.6.x内核编译,2.6.x内核编译

开始就是下载最新的内核,我用的FC5,内核已经很新了, 是2.6.8,在下载了一个最新的内核,2.6.20的。把kernel下载到随便一个地方,tar:之后把压缩包放到/usr/src/redhat/SOURCES/下面,其实这么也可以这样,把内核解压到/usr/src/下面就可以了,然后进入/usr/src/就可以发现已经有2.6.20这个文件夹了,编译内核是在这个文件下面进行的。也就是说你要进...

weixin_36476695的博客 303

Linux2.6下内核模块编译

 Linux2.6下内核模块编译经过几天的努力,自己写的内核模块终于可以在linux2.6下编译并加载道内核中了,现在对这几天的努力做个总结。在旧的版本下(如linux 2.4)linux内核模块的编译只需要有内核的头文件就行了,就可以通过和编译其他程序一样的方法编译成filename.o文件,这个.o文件是直接可以加载道内核中的,加载之后就可以用了,然而在2.6下就截然不同了,在li

nmzrl的专栏 1724

Linux 2.6内核编译,内核升级

本文描述了在FC8下升级linux内核为2.6.25的详细步骤. 1. 首先从如下网址得到linux-2.6.25.http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.tar.bz22. 然后在/usr/src下untar这个包.tar -xjfv linux-2.6.25.tar.bz23. 配置内核cd /usr/src/linux

一个爱编程的人专栏 1566

Fedora Core 5 内核模块编译

Fedora Core 5 内核模块编译  到http://download.fedora.redhat.com/pub/fedora/linux/core/5/source/SRPMS/kernel-2.6.15-1.2054_FC5.src.rpm下载kernel-2.6.15-1.2054_FC5.src的安装包。(我的内核版本是这个所以就下载的这个版本,你可以用uname -r

johnping的专栏 643
上一篇: 2.4.20(RH9)下编译2.6内核(最全)
下一篇: 摇滚曲名串烧
answerzy
博客等级 码龄24年 1粉丝 13原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址