配置并编译内核[更新到linux-2.6.34][增加自动精简]

内核编译和嵌入式产品的设计与开发
回复
kooko1986
帖子: 13
注册时间: 2009-11-17 10:43

Re: 配置并编译内核[更新到linux-2.6.29.2]

#451

帖子 kooko1986 » 2009-11-18 13:48

貌似打错了? dpkg?
kooko1986
帖子: 13
注册时间: 2009-11-17 10:43

Re: 配置并编译内核[更新到linux-2.6.29.2]

#452

帖子 kooko1986 » 2009-11-18 13:49

晕 楼主回答得好快 :em03
kooko1986
帖子: 13
注册时间: 2009-11-17 10:43

Re: 配置并编译内核[更新到linux-2.6.29.2]

#453

帖子 kooko1986 » 2009-11-18 16:49

你好楼主,再问下阿,就是把声音的东西选上以后,编译,然后还需要再重新安装一次吗?
头像
syrano
帖子: 4313
注册时间: 2007-10-06 18:40

Re: 配置并编译内核[更新到linux-2.6.29.2]

#454

帖子 syrano » 2009-11-18 17:11

kooko1986 写了:你好楼主,再问下阿,就是把声音的东西选上以后,编译,然后还需要再重新安装一次吗?
要.
E=m c^2
kooko1986
帖子: 13
注册时间: 2009-11-17 10:43

Re: 配置并编译内核[更新到linux-2.6.29.2]

#455

帖子 kooko1986 » 2009-11-23 13:42

wangyixi@wangyixi-desktop:~/linnn$ sudo dpkg -i linux-image-2.6.29.2xiaowang_2.6.29.2xiaowang-10.00.Custom_i386.deb
[sudo] password for wangyixi:
(正在读取数据库 ... 系统当前总共安装有 115278 个文件和目录。)
正在解压缩 linux-image-2.6.29.2xiaowang (从 linux-image-2.6.29.2xiaowang_2.6.29.2xiaowang-10.00.Custom_i386.deb) ...
Done.
dpkg:处理 linux-image-2.6.29.2xiaowang_2.6.29.2xiaowang-10.00.Custom_i386.deb (--install)时出错:
正试图覆盖“/lib/firmware/cpia2/stv0672_vp4.bin”,它属于软件包 linux-image-2.6.29yeexi.wang
dpkg-deb: 子进程 paste 被信号(Broken pipe)终止了
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
grep: /boot/config.old: No such file or directory
Found kernel: /boot/vmlinuz
Found kernel: /boot/vmlinuz-2.6.29.2xiaowang
Found kernel: /boot/vmlinuz-2.6.29yeexi.wang
Found kernel: /boot/vmlinuz-2.6.24-21-generic
Found kernel: /boot/vmlinuz-2.6.24-19-generic
Found kernel: /boot/memtest86+.bin
Replacing config file /var/run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

在处理时有错误发生:
linux-image-2.6.29.2xiaowang_2.6.29.2xiaowang-10.00.Custom_i386.deb


楼主好,今天安装的时候出现这个错误,想问下这个是什么意思呢? 刚接触 不怎么懂,说里面有那文件了? 怎么办呢?
头像
syrano
帖子: 4313
注册时间: 2007-10-06 18:40

Re: 配置并编译内核[更新到linux-2.6.29.2]

#456

帖子 syrano » 2009-11-23 13:45

kooko1986 写了:wangyixi@wangyixi-desktop:~/linnn$ sudo dpkg -i linux-image-2.6.29.2xiaowang_2.6.29.2xiaowang-10.00.Custom_i386.deb
[sudo] password for wangyixi:
(正在读取数据库 ... 系统当前总共安装有 115278 个文件和目录。)
正在解压缩 linux-image-2.6.29.2xiaowang (从 linux-image-2.6.29.2xiaowang_2.6.29.2xiaowang-10.00.Custom_i386.deb) ...
Done.
dpkg:处理 linux-image-2.6.29.2xiaowang_2.6.29.2xiaowang-10.00.Custom_i386.deb (--install)时出错:
正试图覆盖“/lib/firmware/cpia2/stv0672_vp4.bin”,它属于软件包 linux-image-2.6.29yeexi.wang
dpkg-deb: 子进程 paste 被信号(Broken pipe)终止了
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
grep: /boot/config.old: No such file or directory
Found kernel: /boot/vmlinuz
Found kernel: /boot/vmlinuz-2.6.29.2xiaowang
Found kernel: /boot/vmlinuz-2.6.29yeexi.wang
Found kernel: /boot/vmlinuz-2.6.24-21-generic
Found kernel: /boot/vmlinuz-2.6.24-19-generic
Found kernel: /boot/memtest86+.bin
Replacing config file /var/run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

在处理时有错误发生:
linux-image-2.6.29.2xiaowang_2.6.29.2xiaowang-10.00.Custom_i386.deb


楼主好,今天安装的时候出现这个错误,想问下这个是什么意思呢? 刚接触 不怎么懂,说里面有那文件了? 怎么办呢?
先删除
linux-image-2.6.29yeexi.wang
E=m c^2
Wjian
帖子: 2044
注册时间: 2005-08-07 18:34
系统: android 4.2.1
来自: 湛江

Re: 配置并编译内核[更新到linux-2.6.29.2]

#457

帖子 Wjian » 2009-11-26 21:08

ubuntu下,默认选项太多,选择都用掉了大半个钟。比不上arch和gentoo下的精简。
头像
marulon
帖子: 37
注册时间: 2008-10-17 16:59

Re: 配置并编译内核[更新到linux-2.6.29.2]

#458

帖子 marulon » 2009-12-07 13:02

mark
绝对有用
头像
qq126512306
帖子: 339
注册时间: 2007-08-31 9:17

Re: 配置并编译内核[更新到linux-2.6.29.2]

#459

帖子 qq126512306 » 2009-12-08 16:42

:em11 :em11 感谢! :em09
头像
qq126512306
帖子: 339
注册时间: 2007-08-31 9:17

Re: 配置并编译内核[更新到linux-2.6.29.2]

#460

帖子 qq126512306 » 2009-12-09 12:36

我有PSP,记忆卡是sonymemorystick

PSP连接电脑,能读出记忆卡,但是却为只读文件系统

然后我把device里面的 Sony MemoryStick card support编译进去了,子选项也选了 MemoryStick Pro block device driver

但是,问题依然还是这样。求教!
头像
tomcat.xin
帖子: 400
注册时间: 2007-02-08 21:18

Re: 配置并编译内核[更新到linux-2.6.29.2]

#461

帖子 tomcat.xin » 2010-01-12 10:53

已经编译了几次,最后直接用系统默认的配置文件编的,没做任何修改
但是每次都是编译成功,安装成功,却无法启动系统
提示如下:
kernel panic not syncing vfs unable to mount root fs on unknown-block (hd0,0)
放狗找了下,似乎是缺少 initrd文件引起的,怎么生成initrd 文件呢?
谢谢
seekbone
帖子: 6
注册时间: 2009-04-26 22:21

Re: 配置并编译内核[更新到linux-2.6.29.2]

#462

帖子 seekbone » 2010-03-03 19:25

syrano, 爱因斯坦,能不能看看我发的求助帖http://forum.ubuntu.org.cn/viewtopic.php?f=97&t=259110
头像
syrano
帖子: 4313
注册时间: 2007-10-06 18:40

Re: 配置并编译内核[更新到linux-2.6.29.2]

#463

帖子 syrano » 2010-03-03 22:34

tomcat.xin 写了:已经编译了几次,最后直接用系统默认的配置文件编的,没做任何修改
但是每次都是编译成功,安装成功,却无法启动系统
提示如下:
kernel panic not syncing vfs unable to mount root fs on unknown-block (hd0,0)
放狗找了下,似乎是缺少 initrd文件引起的,怎么生成initrd 文件呢?
谢谢
在.conf文件里也要选上initrd的选项.
E=m c^2
头像
黄美姬
帖子: 8428
注册时间: 2009-10-08 11:15
来自: 大城市铁岭

Re: 配置并编译内核[更新到linux-2.6.29.2]

#464

帖子 黄美姬 » 2010-04-07 18:03

代码: 全选

The UTS Release version in include/linux/version.h
           ""
does not match current version:
           "2.6.33.2-custom0"
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.33.2-custom0] 错误 2
make[1]:正在离开目录 `/home/janker/linux-2.6.33.2'
make: *** [kernel_image] 错误 2
要改version.h??
我们是命运的妓女,它把我们都嫖了

N卡驱动:http://www.nvidia.cn/Download/index.aspx?lang=cn
极品飞车:http://www.geforce.cn/optimize/optimal- ... ts-450-ops
孤岛危机优化设置:http://www.geforce.cn/optimize/optimal- ... tx-450-ops
:cp /etc/skel/.bashrc ~/
PS1="\[\e]2;\u@\H \w\a\e[32;1m\]\T$\[\e[0m\] "
http://cdimage.ubuntu.com/
http://releases.ubuntu.com/
头像
syrano
帖子: 4313
注册时间: 2007-10-06 18:40

Re: 配置并编译内核[更新到linux-2.6.29.2]

#465

帖子 syrano » 2010-04-07 18:35

黄美姬 写了:

代码: 全选

The UTS Release version in include/linux/version.h
           ""
does not match current version:
           "2.6.33.2-custom0"
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.33.2-custom0] 错误 2
make[1]:正在离开目录 `/home/janker/linux-2.6.33.2'
make: *** [kernel_image] 错误 2
要改version.h??
sudo make-kpkg clean
E=m c^2
回复