请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

编译打包和其他
回复
ivy008
帖子: 43
注册时间: 2011-10-04 1:13

请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#1

帖子 ivy008 » 2011-10-16 7:37

重新编译了内核,打成包,安装后,出现在这样的画面
附件
Ubuntu 3-2011-10-16-01-29-07.png
Ubuntu 3-2011-10-16-01-29-07.png (8.29 KiB) 查看 8583 次
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#2

帖子 YeLee » 2011-10-16 8:11

:em20 :em20 :em20 不知道楼主在编译的时候修改了什么参数?是不是默认参数?
那个CPU的应该有点问题吧,可能需要修改一下
还有,那个根分区找不到,请检查一下grub的配置
还有,可能需要检查一下文件系统模块的支持,记得这个问题我遇到过几次,都是忘记把文件系统模块编译到内核,结果导致当机
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
ivy008
帖子: 43
注册时间: 2011-10-04 1:13

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#3

帖子 ivy008 » 2011-10-16 8:20

YeLee 写了::em20 :em20 :em20 不知道楼主在编译的时候修改了什么参数?是不是默认参数?
那个CPU的应该有点问题吧,可能需要修改一下
还有,那个根分区找不到,请检查一下grub的配置
还有,可能需要检查一下文件系统模块的支持,记得这个问题我遇到过几次,都是忘记把文件系统模块编译到内核,结果导致当机
谢谢,我当时用 dpkg 安装内核,现在怎么删除,安装时deb是自动设置grub
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#4

帖子 YeLee » 2011-10-16 8:20

楼主能不能把Processor type and features->Processor family和File system一些修改的地方贴出来看看,尤其要确定一下File system里面有没有把你正在使用的文件系统类型勾上去了,推荐不要编译到模块,最好是编译到内核去
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#5

帖子 YeLee » 2011-10-16 8:26

ivy008 写了: 谢谢,我当时用 dpkg 安装内核,现在怎么删除,安装时deb是自动设置grub

代码: 全选

apt-get --purge remove 你的内核软件包名
当然,你也可以使用dpkg的-P参数
不过,不推荐使用自动编译,一般编译都是找不到驱动或者想进行优化的,自动编译可能没办法满足这点要求
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
ivy008
帖子: 43
注册时间: 2011-10-04 1:13

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#6

帖子 ivy008 » 2011-10-16 8:28

Processor type and features->Processor family配制如下:

代码: 全选

   [*] Tickless System (Dynamic Ticks)                                                                  x x
  x x                              [*] High Resolution Timer Support                                                                    x x
  x x                              [*] Symmetric multi-processing support                                                               x x
  x x                              [*] Enable MPS table                                                                                 x x
  x x                              [ ] Support for big SMP systems with more than 8 CPUs                                                x x
  x x                              [*] Support for extended (non-PC) x86 platforms                                                      x x
  x x                              [ ] AMD Elan                                                                                         x x
  x x                              [ ] Moorestown MID platform                                                                          x x
  x x                              [ ] RDC R-321x SoC                                                                                   x x
  x x                              [ ] Support non-standard 32-bit SMP architectures                                                    x x
  x x                              <M> Eurobraille/Iris poweroff module                                                                 x x
  x x                              [*] Single-depth WCHAN output                                                                        x x
  x x                              [*] Paravirtualized guest support  --->                                                              x x
  x x                              [ ] paravirt-ops debugging                                                                           x x
  x x                              [ ] Memtest                                                                                          x x
  x x                                  Processor family (Opteron/Athlon64/Hammer/K8)  --->                                              x x
  x x                              [*] Generic x86 support                                                                              x x
  x x                              [ ] Supported processor vendors  --->                                                                x x
  x x                              [*] HPET Timer Support                                                                               x x
  x x                              [*] Enable DMI scanning                                                                              x x
  x x                              (2) Maximum number of CPUs                                                                           x x
  x x                              [*] SMT (Hyperthreading) scheduler support                                                           x x
  x x                              [*] Multi-core scheduler support                                                                     x x
  x x                              [ ] Fine granularity task level IRQ time accounting                                                  x x
  x x                                  Preemption Model (Voluntary Kernel Preemption (Desktop))  --->                                   x x
  x x                              [*] Reroute for broken boot IRQs                                                                     x x
  x x                              [*] Machine Check / overheating reporting                                                            x x
  x x                              [*]   Intel MCE features                                                                             x x
  x x                              [*]   AMD MCE features                                                                               x x
  x x                              [ ]   Support for old Pentium 5 / WinChip machine checks                                             x x
  x x                              <M> Machine check injector support                                                                   x x
  x x                              [*] Enable VM86 support                                                                              x x
  x x                              < > Toshiba Laptop support                                     
                                     < > Dell laptop support                                                                              x x
  x x                              [*] Enable X86 board specific fixups for reboot                                                      x x
  x x                              <M> /dev/cpu/microcode - microcode support                                                           x x
  x x                              [ ]   Intel microcode patch loading support                                                          x x
  x x                              [*]   AMD microcode patch loading support                                                            x x
  x x                              <M> /dev/cpu/*/msr - Model-specific register support                                                 x x
  x x                              <M> /dev/cpu/*/cpuid - CPU information support                                                       x x
  x x                                  High Memory Support (off)  --->                                                                  x x
  x x                                  Memory split (3G/1G user/kernel split)  --->                                                     x x
  x x                              [ ] PAE (Physical Address Extension) Support                                                         x x
  x x                                  Memory model (Flat Memory)  --->                                                                 x x
  x x                              [*] Allow for memory compaction                                                                      x x
  x x                              -*- Page migration                                                                                   x x
  x x                              [*] Enable KSM for page merging                                                                      x x
  x x                              (65536) Low address space to protect from user allocation                                            x x
  x x                              [*] Enable recovery from hardware memory errors                                                      x x
  x x                              < >   HWPoison pages injector                                                                        x x
  x x                              [ ] Transparent Hugepage Support                                                                     x x
  x x                              [*] Check for low memory corruption                                                                  x x
  x x                              [*]   Set the default setting of memory_corruption_check                                             x x
  x x                              (64) Amount of low memory, in kilobytes, to reserve for the BIOS                                     x x
  x x                              [ ] Math emulation                                                                                   x x
  x x                              [*] MTRR (Memory Type Range Register) support                                                        x x
  x x                              [*]   MTRR cleanup support                                                                           x x
  x x                              (0)     MTRR cleanup enable value (0-1)                                                              x x
  x x                              (1)     MTRR cleanup spare reg num (0-7)                                                             x x
  x x                              [ ]   x86 PAT support                                                                                x x
  x x                              [ ] EFI runtime service support                                                                      x x
  x x                              [*] Enable seccomp to safely compute untrusted bytecode                                              x x
  x x                              [ ] Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)                                x x
  x x                                  Timer frequency (1000 HZ)  --->                                                                  x x
  x x                              [ ] kexec system call                                                                                x x
  x x                              (0x1000000) Physical address where the kernel is loaded                     
                                  -*- Support for hot-pluggable CPUs                                                                   x x
  x x                              [ ] Compat VDSO support                                                                              x x
  x x                              [ ] Built-in kernel command line                                                                     x x

File system 配制如下

代码: 全选

                              <*> Second extended fs support                                                                       x x
  x x                              [*]   Ext2 extended attributes                                                                       x x
  x x                              [*]     Ext2 POSIX Access Control Lists                                                              x x
  x x                              [*]     Ext2 Security Labels                                                                         x x
  x x                              [ ]   Ext2 execute in place support                                                                  x x
  x x                              <*> Ext3 journalling file system support                                                             x x
  x x                              [*]   Default to 'data=ordered' in ext3                                                              x x
  x x                              [*]   Ext3 extended attributes                                                                       x x
  x x                              [*]     Ext3 POSIX Access Control Lists                                                              x x
  x x                              [*]     Ext3 Security Labels                                                                         x x
  x x                              <*> The Extended 4 (ext4) filesystem                                                                 x x
  x x                              [*]   Ext4 extended attributes                                                                       x x
  x x                              [*]     Ext4 POSIX Access Control Lists                                                              x x
  x x                              [*]     Ext4 Security Labels                                                                         x x
  x x                              [ ]   EXT4 debugging support                                                                         x x
  x x                              [ ] JBD (ext3) debugging support                                                                     x x
  x x                              [ ] JBD2 (ext4) debugging support                                                                    x x
  x x                              <M> Reiserfs support                                                                                 x x
  x x                              [ ]   Enable reiserfs debug mode                                                                     x x
  x x                              [ ]   Stats in /proc/fs/reiserfs                                                                     x x
  x x                              [*]   ReiserFS extended attributes                                                                   x x
  x x                              [*]     ReiserFS POSIX Access Control Lists                                                          x x
  x x                              [*]     ReiserFS Security Labels                                                                     x x
  x x                              <M> JFS filesystem support                                                                           x x
  x x                              [*]   JFS POSIX Access Control Lists                                                                 x x
  x x                              [*]   JFS Security Labels                                                                            x x
  x x                              [ ]   JFS debugging                                                                                  x x
  x x                              [*]   JFS statistics                                                                                 x x
  x x                              <M> XFS filesystem support                                                                           x x
  x x                              [*]   XFS Quota support                                                                              x x
  x x                              [*]   XFS POSIX ACL support                                                                          x x
  x x                              [*]   XFS Realtime subvolume support                                                                 x x
  x x                              [ ]   XFS Debugging support (EXPERIMENTAL)                                                           x x
                            <M> GFS2 file system support                                                                         x x
  x x                              [*]   GFS2 DLM locking                                                                               x x
  x x                              <M> OCFS2 file system support                                                                        x x
  x x                              <M>   O2CB Kernelspace Clustering                                                                    x x
  x x                              <M>   OCFS2 Userspace Clustering                                                                     x x
  x x                              [*]   OCFS2 statistics                                                                               x x
  x x                              [*]   OCFS2 logging support                                                                          x x
  x x                              [ ]   OCFS2 expensive checks                                                                         x x
  x x                              <M> Btrfs filesystem (EXPERIMENTAL) Unstable disk format                                             x x
  x x                              [*]   Btrfs POSIX Access Control Lists                                                               x x
  x x                              <M> NILFS2 file system support (EXPERIMENTAL)                                                        x x
  x x                              [*] Enable POSIX file locking API                                                                    x x
  x x                              [*] Dnotify support                                                                                  x x
  x x                              [*] Inotify support for userspace                                                                    x x
  x x                              [*] Filesystem wide access notification                                                              x x
  x x                              [*]   fanotify permissions checking                                                                  x x
  x x                              -*- Quota support                                                                                    x x
  x x                              [*] Report quota messages through netlink interface                                                  x x
  x x                              [ ] Print quota warnings to console (OBSOLETE)                                                       x x
  x x                              [ ] Additional quota sanity checks                                                                   x x
  x x                              <M> Old quota format support                                                                         x x
  x x                              <M> Quota format vfsv0 and vfsv1 support                                                             x x
  x x                              <M> Kernel automounter version 4 support (also supports v3)                                          x x
  x x                              <*> FUSE (Filesystem in Userspace) support                                                           x x
  x x                              <M>   Character device in Userspace support                                                          x x
  x x                                  Caches  --->                                                                                     x x
  x x                                  CD-ROM/DVD Filesystems  --->                                                                     x x
  x x                                  DOS/FAT/NT Filesystems  --->                                                                     x x
  x x                                  Pseudo filesystems  --->                                                                         x x
  x x                              [*] Miscellaneous filesystems  --->                                                                  x x
  x x                              [*] Network File Systems  --->                                                                       x x
  x x                                  Partition Types  --->                                                                            x x
  x x                              -*- Native language support  --->                                                                    x x
                                 -M- Distributed Lock Manager (DLM)  --->                                                             



ivy008
帖子: 43
注册时间: 2011-10-04 1:13

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#7

帖子 ivy008 » 2011-10-16 8:39

YeLee 写了:
ivy008 写了: 谢谢,我当时用 dpkg 安装内核,现在怎么删除,安装时deb是自动设置grub

代码: 全选

apt-get --purge remove 你的内核软件包名
当然,你也可以使用dpkg的-P参数
不过,不推荐使用自动编译,一般编译都是找不到驱动或者想进行优化的,自动编译可能没办法满足这点要求
请问一下,您是用什么方式来编译优化的呢
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#8

帖子 YeLee » 2011-10-16 8:43

这边的配置都没有问题啊,内核怎么会提示找不到分区呢?应该是GRUB的参数有问题吧,试一下把那个UUID的形式修改为/dev/sdaX的形式看看
还有Processor type and features下面的Processor family是通用架构还是AMD的k8?
还有那个电源管理里面怎么有个powernow出现?
最后问一下,你的cpu是……
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
ivy008
帖子: 43
注册时间: 2011-10-04 1:13

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#9

帖子 ivy008 » 2011-10-16 8:49

YeLee 写了:这边的配置都没有问题啊,内核怎么会提示找不到分区呢?应该是GRUB的参数有问题吧,试一下把那个UUID的形式修改为/dev/sdaX的形式看看
还有Processor type and features下面的Processor family是通用架构还是AMD的k8?
还有那个电源管理里面怎么有个powernow出现?
最后问一下,你的cpu是……
我的cpu 是 amd athlon 64 的,那个powernow 是cpu节能工作的
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#10

帖子 YeLee » 2011-10-16 8:53

ivy008 写了: 请问一下,您是用什么方式来编译优化的呢
编译优化 :em06 :em06 :em06 这个词有点不是很适合,手动编译一般都需要去注意文件系统,电源管理和驱动这几个项目
一般文件系统这里我只编译自己需要用到的文件系统,那些根本用不到的就不去弄
电源管理这些主要是节能的问题,只把适合自己cpu的弄进去,其它的都删掉
驱动的问题,都是只把自己机器的驱动编译进去而已,其它驱动以后真的要用到就编译成模块
最后是cpu的问题,我只选择自己的电脑的配置,把其它选项直接干掉
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
ivy008
帖子: 43
注册时间: 2011-10-04 1:13

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#11

帖子 ivy008 » 2011-10-16 9:14

YeLee 写了:
ivy008 写了: 请问一下,您是用什么方式来编译优化的呢
编译优化 :em06 :em06 :em06 这个词有点不是很适合,手动编译一般都需要去注意文件系统,电源管理和驱动这几个项目
一般文件系统这里我只编译自己需要用到的文件系统,那些根本用不到的就不去弄
电源管理这些主要是节能的问题,只把适合自己cpu的弄进去,其它的都删掉
驱动的问题,都是只把自己机器的驱动编译进去而已,其它驱动以后真的要用到就编译成模块
最后是cpu的问题,我只选择自己的电脑的配置,把其它选项直接干掉
能否发个配制文件,让我参考一下,谢谢

请问下您配制内核时,是不是这样操作的
基本上是先配制了make menuconfig
配制完后就生成新的内核,make dep;make clean ;make zImage
然后生成模块 和 安装模块 ,make modules ; make modules-install
最后是引导部份.。---->在这里我问一下,现在grub,是直接在/boot/grub/grub.cfg 下修改吗? 还是在/etc/grub.d/10_linux 修改呢

谢谢
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#12

帖子 YeLee » 2011-10-16 9:29

ivy008 写了: 能否发个配制文件,让我参考一下,谢谢

请问下您配制内核时,是不是这样操作的
基本上是先配制了make menuconfig
配制完后就生成新的内核,make dep;make clean ;make zImage
然后生成模块 和 安装模块 ,make modules ; make modules-install
最后是引导部份.。---->在这里我问一下,现在grub,是直接在/boot/grub/grub.cfg 下修改吗? 还是在/etc/grub.d/10_linux 修改呢

谢谢
我的cpu是Intel i3的,可能不是很适合你,还是不发了
我配置内核是运行make menuconfig,这点没有错
不过,我用的是gentoo,不是Ubuntu,所以安装内核的方法有点区别
make && make modules_install
然后自己去复制生成的内核文件到/boot下面
引导的问题,grub.cfg是配置grub2的启动参数,这点在内核更新之后可能会被替换
10_linux里面是在内核更新之后才会生效,所以推荐两个都更新一下
不清楚楼主为什么要更新内核,不过还是不推荐自己更新,那样可能会出现一大堆的问题。
更新内核还是用源里面的比较好
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
xman1978
帖子: 30
注册时间: 2007-05-28 16:10

Re: 请教各位,用make dpkg 打包内核后,安装出现这个是什么问题呢

#13

帖子 xman1978 » 2013-07-10 19:33

我遇到楼住一抹一样的问题,请问你最后解决了吗
回复