当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?
帖子发表于 : 2016-09-14 11:22 

注册: 2013-05-26 6:58
帖子: 2158
系统: Debian 9
送出感谢: 894
接收感谢: 30
内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?
关机或重启时只是黑屏,需要按一下F1之类的按键才会显示日志
tty关机显示日志正常
其它版本的内核正常

正常的内核版本(异常的内核版本在楼下(2楼)):
代码:
root@debian:~# cat /proc/cmdline
root=/dev/sda2 rw fastboot

代码:
root@debian:~# aptitude show linux-image-3.16.0-4-686-pae
Package: linux-image-3.16.0-4-686-pae   
State: installed
Automatically installed: no
Version: 3.16.36-1+deb8u1
Priority: optional
Section: kernel
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: i386
Uncompressed Size: 121 M
Depends: kmod | module-init-tools, linux-base (>= 3~), debconf (>= 0.5) | debconf-2.0, initramfs-tools (>= 0.110~) | linux-initramfs-tool
PreDepends: debconf | debconf-2.0
Recommends: firmware-linux-free (>= 3~), irqbalance, libc6-i686
Suggests: linux-doc-3.16, debian-kernel-handbook, grub-pc | extlinux
Breaks: at (< 3.1.12-1+squeeze1), initramfs-tools (< 0.110~)
Provides: linux-modules-3.16.0-4-686-pae
Description: Linux 3.16 for modern PCs
 The Linux kernel 3.16 and modules for use on PCs with one or more processors supporting PAE.
 
 This kernel requires PAE (Physical Address Extension). This feature is supported by the Intel Pentium Pro/II/III/4/4M/D, Xeon, Core and Atom; AMD Geode NX, Athlon (K7), Duron,
 Opteron, Sempron, Turion or Phenom; Transmeta Efficeon; VIA C7; and some other processors.
 
 This kernel also runs on a Xen hypervisor.  It supports both privileged (dom0) and unprivileged (domU) operation.
Homepage: https://www.kernel.org/



_________________
Linux桌面优化综合贴[2017.09.18](欢迎各位补充或指正误区)
[2016.03.10]会C语言但看不懂英文文档的点这里,一个用C语言编写的简陋学习工具
单硬盘通过iso文件实机安装Debian的方法
重启或操作fcitx时失去响应的一个解决方法,不妨试试看


最后由 科学之子 编辑于 2016-10-02 6:11,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 : Re: 内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?
帖子发表于 : 2016-10-02 6:11 

注册: 2013-05-26 6:58
帖子: 2158
系统: Debian 9
送出感谢: 894
接收感谢: 30
真是抱歉,我居然写了一个正常的内核版本
1楼那个3.16的是正常的内核版本
出现异常的内核版本:
代码:
root@debian:~# aptitude show linux-image-4.5.0-0.bpo.1-686-pae
Package: linux-image-4.5.0-0.bpo.1-686-pae
New: yes
State: installed
Automatically installed: no
Version: 4.5.1-1~bpo8+1
Priority: optional
Section: kernel
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: i386
Uncompressed Size: 134 M
Depends: kmod, linux-base, debconf (>= 0.5) | debconf-2.0, initramfs-tools (>= 0.110~) | linux-initramfs-tool
Recommends: firmware-linux-free, irqbalance, libc6-i686
Suggests: linux-doc-4.5, debian-kernel-handbook, grub-pc | extlinux
Breaks: initramfs-tools (< 0.110~), udev (< 208-8~)
Description: Linux 4.5 for modern PCs
 The Linux kernel 4.5 and modules for use on PCs with one or more processors supporting PAE.
 
 This kernel requires PAE (Physical Address Extension). This feature is supported by the Intel Pentium Pro/II/III/4/4M/D, Xeon, Core and Atom; AMD Geode NX, Athlon (K7), Duron,
 Opteron, Sempron, Turion or Phenom; Transmeta Efficeon; VIA C7; and some other processors.
 
 This kernel also runs on a Xen hypervisor.  It supports both privileged (dom0) and unprivileged (domU) operation.
Homepage: https://www.kernel.org/


_________________
Linux桌面优化综合贴[2017.09.18](欢迎各位补充或指正误区)
[2016.03.10]会C语言但看不懂英文文档的点这里,一个用C语言编写的简陋学习工具
单硬盘通过iso文件实机安装Debian的方法
重启或操作fcitx时失去响应的一个解决方法,不妨试试看


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?
帖子发表于 : 2016-10-06 19:40 
头像

注册: 2007-08-05 17:40
帖子: 4980
送出感谢: 0 次
接收感谢: 6
fastboot 是什么意思呀?


_________________
free VPN
YouKuDownLoader
代码:
pip3 install ykdl

install YouKuDownLoader, have fun in downloading.
YouKuDownLoader所支持网站列表


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?
帖子发表于 : 2016-10-06 20:04 
头像

注册: 2007-08-05 17:40
帖子: 4980
送出感谢: 0 次
接收感谢: 6
似乎被废弃了。

引用:
~/source/linux-stable$ grep fastboot * -R
Documentation/filesystems/f2fs.txt:fastboot This option is used when a system wants to reduce mount
Documentation/devicetree/bindings/power/reset/reboot-mode.txt:- mode-bootloader: Android fastboot mode, it's a mode to re-flash partitions on the Android based device.
drivers/mfd/si476x-cmd.c: ctsen << 7 | intsel << 6 | puargs->fastboot << 5 |
drivers/input/touchscreen/elants_i2c.c: * sending fastboot or IAP command to the device.
drivers/input/touchscreen/elants_i2c.c:static int elants_i2c_fastboot(struct i2c_client *client)
drivers/input/touchscreen/elants_i2c.c: error = elants_i2c_fastboot(client);
drivers/clk/rockchip/clk-rk3288.c: * wakes up from fastboot.
drivers/gpu/drm/i915/intel_display.c: * as Haswell has gained clock readout/fastboot support.
drivers/gpu/drm/i915/intel_display.c: * fastboot case, we'll flip, but if we don't update the pipesrc and
drivers/gpu/drm/i915/intel_display.c: if (i915.fastboot &&
drivers/gpu/drm/i915/intel_fbdev.c: * fastboot check to work correctly. crtc_state->mode has
drivers/gpu/drm/i915/intel_drv.h: * tracked with quirk flags so that fastboot and state checker can act
drivers/gpu/drm/i915/i915_params.h: bool fastboot;
drivers/gpu/drm/i915/i915_params.c: .fastboot = 0,
drivers/gpu/drm/i915/i915_params.c:module_param_named(fastboot, i915.fastboot, bool, 0600);
drivers/gpu/drm/i915/i915_params.c:MODULE_PARM_DESC(fastboot,
fs/f2fs/super.c: Opt_fastboot,
fs/f2fs/super.c: {Opt_fastboot, "fastboot"},
fs/f2fs/super.c: case Opt_fastboot:
fs/f2fs/super.c: seq_puts(seq, ",fastboot");
include/linux/mfd/si476x-platform.h: bool fastboot;


_________________
free VPN
YouKuDownLoader
代码:
pip3 install ykdl

install YouKuDownLoader, have fun in downloading.
YouKuDownLoader所支持网站列表


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?
帖子发表于 : 2016-10-06 22:07 

注册: 2013-05-26 6:58
帖子: 2158
系统: Debian 9
送出感谢: 894
接收感谢: 30
cnkilior 写道:
fastboot 是什么意思呀?

我这里的fastboot是debian的initrd里面的脚本处理的一个参数,并非内核源码的一部分
debian的initrd里的脚本如果遇到fastboot参数貌似就会跳过磁盘检查(fsck),从而减少启动用时
viewtopic.php?p=3171511#p3171511


_________________
Linux桌面优化综合贴[2017.09.18](欢迎各位补充或指正误区)
[2016.03.10]会C语言但看不懂英文文档的点这里,一个用C语言编写的简陋学习工具
单硬盘通过iso文件实机安装Debian的方法
重启或操作fcitx时失去响应的一个解决方法,不妨试试看


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译