内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?

最大的社区版本,Ubuntu的发源地
回复
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?

#1

帖子 科学之子 » 2016-09-14 11:22

内核升级为某版后图形界面(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/

上次由 科学之子 在 2016-10-02 6:11,总共编辑 1 次。
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

Re: 内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?

#2

帖子 科学之子 » 2016-10-02 6:11

真是抱歉,我居然写了一个正常的内核版本
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/
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

Re: 内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?

#3

帖子 cnkilior » 2016-10-06 19:40

fastboot 是什么意思呀?
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

Re: 内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?

#4

帖子 cnkilior » 2016-10-06 20:04

似乎被废弃了。
~/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;
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

Re: 内核升级为某版后图形界面(lxsession-logout,图形终端等)关机重启不显示日志了?

#5

帖子 科学之子 » 2016-10-06 22:07

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