The officially official Devuan Forum!

You are not logged in.

#1826 Re: Installation » Intel Management Engine module in Devuan ASCII » 2018-08-25 23:26:12

Hello:

fanderal wrote:

No problem.

=-)

fanderal wrote:

... if someone did, they might discover that, say, the CPU firmware (intel-microcode pkg) requires the *presence* of the mei mods ...

Yes, that crossed my mind.

fanderal wrote:

... check out the links to the ME disabling how-tos?

Yes.
But these days I'm wary of any BIOS tinkering.
It's not so easy to recover from a bad burn these days.

24+ years ago, I'd be always ready to risk a mobo for the sake of experimenting with a modded BIOS file.
The half dozen times that things went south I recovered the hardware by hot-plugging the roach into a similar board to reflash it with the original saved file.   

But I'm on a Sun Ultra24 Workstation now and it's enough that the last available BIOS (1.56) is quite buggy.
It actually reports the unit as 'portable' among other assorted issues.

fanderal wrote:

... each of us has to consider the work in securing the OS ...

My idea is that you have to start with what you have control over ie: the OS and it's kernel.
We'll never have control/full knowledge over what is inside the chipset or the CPU.

Who would have thought just three or four years ago that this ME thing actually existed or was even possible to get away with?
A fully operational and independent OS hidden inside the mobo's chipset, ready to start up and run without any evidence in user space or traces left behind.

And I'm convinced that we don't know the half of it ...

Thanks for taking the time to write back.

Cheers,

A.

#1827 Re: Installation » Intel Management Engine module in Devuan ASCII » 2018-08-25 13:53:48

Hello:

fsmithred wrote:

We use the debian kernels, unchanged.
The only packages from debian that get changed are the ones that depend on systemd.

OK.
I see ...
The Debian kernel has mei built into it.
Is it at all necessary?

I had the idea that Devuan maintainers built the kernel from the source code.
The same way that some people build their own custom kernels.

Thanks for your input.

A.

#1828 Re: Installation » Intel Management Engine module in Devuan ASCII » 2018-08-25 11:43:22

Hello:

fanderal wrote:

Why is the Devuan kernel loading the IME module?
It's not Devuan or a distro. It's part of the kernel.

OK.
But I suppose that (like many other things in the kernel) it can be built with or without mei.

With respect to it not being present in the latest kernel, my apologies:
It happens I made a rather embarrasing mistake.  =^/

I had not done an updatedb prior to the search so the files did not show up as I do not have updatedb set up to run at every boot.
It happens that they are there, sorry for the blunder.

[root@devuan groucho]# updatedb
[root@devuan groucho]# locate mei
---
/lib/modules/4.9.0-7-amd64/kernel/drivers/misc/mei
/lib/modules/4.9.0-7-amd64/kernel/drivers/misc/mei/mei-me.ko
/lib/modules/4.9.0-7-amd64/kernel/drivers/misc/mei/mei.ko
/lib/modules/4.9.0-7-amd64/kernel/drivers/nfc/mei_phy.ko
/lib/modules/4.9.0-7-amd64/kernel/drivers/nfc/pn544/pn544_mei.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/media/rc/keymaps/rc-gadmei-rm008z.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/misc/mei
/lib/modules/4.9.0-8-amd64/kernel/drivers/misc/mei/mei-me.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/misc/mei/mei.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/nfc/mei_phy.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/nfc/pn544/pn544_mei.ko
---
/usr/include/linux/mei.h
---
/usr/src/linux-headers-4.9.0-7-amd64/include/config/intel/mei
/usr/src/linux-headers-4.9.0-7-amd64/include/config/intel/mei.h
/usr/src/linux-headers-4.9.0-7-amd64/include/config/intel/mei/me.h
/usr/src/linux-headers-4.9.0-7-amd64/include/config/nfc/mei
/usr/src/linux-headers-4.9.0-7-amd64/include/config/nfc/mei/phy.h
/usr/src/linux-headers-4.9.0-7-amd64/include/config/nfc/pn544/mei.h
/usr/src/linux-headers-4.9.0-7-common/include/linux/mei_cl_bus.h
---
/usr/src/linux-headers-4.9.0-7-common/include/uapi/linux/mei.h
/usr/src/linux-headers-4.9.0-8-amd64/include/config/intel/mei
/usr/src/linux-headers-4.9.0-8-amd64/include/config/intel/mei.h
/usr/src/linux-headers-4.9.0-8-amd64/include/config/intel/mei/me.h
/usr/src/linux-headers-4.9.0-8-amd64/include/config/nfc/mei
/usr/src/linux-headers-4.9.0-8-amd64/include/config/nfc/mei/phy.h
/usr/src/linux-headers-4.9.0-8-amd64/include/config/nfc/pn544/mei.h
/usr/src/linux-headers-4.9.0-8-common/include/linux/mei_cl_bus.h
---
/usr/src/linux-headers-4.9.0-8-common/include/uapi/linux/mei.h
fanderal wrote:

Yes, I've read it.

I have successfully blacklisted the mei modules so that they will not load at boot time:
https://dev1galaxy.org/viewtopic.php?pid=5782#p5782

But this is just to keep the module from loading at boot time.
As you know it can be eventually loaded by an application or manually as root:

[root@devuan groucho]# lsmod | grep -i mei
[root@devuan groucho]# modprobe mei  
[root@devuan groucho]# lsmod | grep -i mei
mei                   102400  0
[root@devuan groucho]# 

The ideal situation would be that these modules were not in the kernel.

But what I'd like to know is why the Devuan maintainers build the kernel with mei in it.
I have not seen much on the web that says how useful it is.

An then, I'd also like to know what (if any) are the benefits of doing so.

I have the idea that the Devuan forum is not the usual run-of-the mill linux forum (in comparison to say Ubuntu/Mint/etc.)
I think that those of us who have chosen to move to Devuan from Debian or other systemd centric distributions are a bit more 'into-it' so it seems rather odd to me that it is just us two talking about this here, more so if we take into account all that has transpired wrt the Intel Management Engine. 

In any case, I have blacklisted the mei modules and have not seen/detected (apparently and for the moment) any ill effects.
But it's still too early to say for sure.

Thank you very much for your input.

A.

#1829 Re: Installation » Intel Management Engine module in Devuan ASCII » 2018-08-24 15:34:40

Hello:

fanderal wrote:

... unloaded the mods and nothing happened.
... removed and blacklisted those mods.

Thanks for the links.
I'm more or less up-to-date wrt this.

But my questions remain:

1.
Why is the Devuan kernel loading the IME module?
What is it necessary for and in what environment?

2.
Why is the module present in the kernel files for 4.9.0-7-amd64 but not for 4.9.0-8-amd64?
Not being in the 4.9.0-8-amd64 kernel files, how is it that it is still being loaded by a running 4.9.0-8-amd64 kernel?

3.
How is it being loaded and how can this be prevented in Devuan ASCII and the upcoming kernels?

Thanks in advance,

A.

#1830 Installation » Intel Management Engine module in Devuan ASCII » 2018-08-24 01:46:29

Altoid
Replies: 12

Hello:

While checking out the list of errors in /var/log/syslog on another distro (PCLinuxOS), I came across something that caught my eye.
At first I thought it would be something to do only with PCLinux but then I decided to see if it was the same case with Devuan ASCII:

groucho@devuan:~$ lsmod | grep mei
mei_me                 36864  0
mei                   102400  1 mei_me
groucho@devuan:~$ 

... just to see what would happen, tried to remove it:

[root@devuan groucho]#  rmmod mei
rmmod: ERROR: Module mei is in use by: mei_me
[root@devuan groucho]# 

As expected, removing mei_me before removing mei worked and nothing much happened.

I was not sure but it sounded like it was the infamous Intel IME, so I asked:

[root@devuan groucho]# modinfo mei
filename:       /lib/modules/4.9.0-8-amd64/kernel/drivers/misc/mei/mei.ko
license:        GPL v2
description:    Intel(R) Management Engine Interface
author:         Intel Corporation
depends:        
retpoline:      Y
intree:         Y
vermagic:       4.9.0-8-amd64 SMP mod_unload modversions 
[root@devuan groucho]# 

I also asked about what module used it, and I got this:

[root@devuan groucho]# modinfo mei_me
filename:       /lib/modules/4.9.0-8-amd64/kernel/drivers/misc/mei/mei-me.ko
license:        GPL v2
description:    Intel(R) Management Engine Interface
author:         Intel Corporation
alias:          pci:v00008086d0000A2BBsv*sd*bc*sc*i*
alias:          pci:v00008086d0000A2BAsv*sd*bc*sc*i*
alias:          pci:v00008086d00005A9Asv*sd*bc*sc*i*
alias:          pci:v00008086d00001A9Asv*sd*bc*sc*i*
alias:          pci:v00008086d0000A1BAsv*sd*bc*sc*i*
alias:          pci:v00008086d0000A13Bsv*sd*bc*sc*i*
alias:          pci:v00008086d0000A13Asv*sd*bc*sc*i*
alias:          pci:v00008086d00009D3Bsv*sd*bc*sc*i*
alias:          pci:v00008086d00009D3Asv*sd*bc*sc*i*
alias:          pci:v00008086d00009CBBsv*sd*bc*sc*i*
alias:          pci:v00008086d00009CBAsv*sd*bc*sc*i*
alias:          pci:v00008086d00008CBAsv*sd*bc*sc*i*
alias:          pci:v00008086d00009C3Asv*sd*bc*sc*i*
alias:          pci:v00008086d00008D3Asv*sd*bc*sc*i*
alias:          pci:v00008086d00008C3Asv*sd*bc*sc*i*
alias:          pci:v00008086d00001DBAsv*sd*bc*sc*i*
alias:          pci:v00008086d00001CBAsv*sd*bc*sc*i*
alias:          pci:v00008086d00001E3Asv*sd*bc*sc*i*
alias:          pci:v00008086d00001D3Asv*sd*bc*sc*i*
alias:          pci:v00008086d00001C3Asv*sd*bc*sc*i*
alias:          pci:v00008086d00003B65sv*sd*bc*sc*i*
alias:          pci:v00008086d00003B64sv*sd*bc*sc*i*
alias:          pci:v00008086d00002E34sv*sd*bc*sc*i*
alias:          pci:v00008086d00002E24sv*sd*bc*sc*i*
alias:          pci:v00008086d00002E14sv*sd*bc*sc*i*
alias:          pci:v00008086d00002E04sv*sd*bc*sc*i*
alias:          pci:v00008086d00002A74sv*sd*bc*sc*i*
alias:          pci:v00008086d00002A64sv*sd*bc*sc*i*
alias:          pci:v00008086d00002A54sv*sd*bc*sc*i*
alias:          pci:v00008086d00002A44sv*sd*bc*sc*i*
alias:          pci:v00008086d000028F4sv*sd*bc*sc*i*
alias:          pci:v00008086d000028E4sv*sd*bc*sc*i*
alias:          pci:v00008086d000028D4sv*sd*bc*sc*i*
alias:          pci:v00008086d000028C4sv*sd*bc*sc*i*
alias:          pci:v00008086d000028B4sv*sd*bc*sc*i*
alias:          pci:v00008086d000029F4sv*sd*bc*sc*i*
alias:          pci:v00008086d000029E4sv*sd*bc*sc*i*
alias:          pci:v00008086d000029D4sv*sd*bc*sc*i*
alias:          pci:v00008086d000029C4sv*sd*bc*sc*i*
alias:          pci:v00008086d000029B4sv*sd*bc*sc*i*
alias:          pci:v00008086d00002A14sv*sd*bc*sc*i*
alias:          pci:v00008086d00002A04sv*sd*bc*sc*i*
alias:          pci:v00008086d000029A4sv*sd*bc*sc*i*
alias:          pci:v00008086d00002994sv*sd*bc*sc*i*
alias:          pci:v00008086d00002984sv*sd*bc*sc*i*
alias:          pci:v00008086d00002974sv*sd*bc*sc*i*
depends:        mei
retpoline:      Y
intree:         Y
vermagic:       4.9.0-8-amd64 SMP mod_unload modversions 
[root@devuan groucho]# 

I'm running the last available ASCII kernel:

groucho@devuan:~$ uname -ap
Linux devuan 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux
groucho@devuan:~$ 

All this is the exact same behaviour as in PCLinuxOS with the 4.17.15 kernel.

I'm aware that the only real way to get rid of the IME problem seems to be a complete BIOS overhaul and even then it may be useless as it seems to live inside the chipset. I connect to the web through a WiFi router but I don't think it is much of a barrier.

What I don't understand is the loading of the module by the kernel or even its presence in the filesystem.

I have noticed that it does not seem to be present in the 4.9.0.8 kernel files but as I have noted above, it is being loaded and I can unload it:

groucho@devuan:~$  lsmod | grep mei
mei_me                 36864  0
mei                   102400  1 mei_me
groucho@devuan:~$ su
Password: 
[root@devuan groucho]# rmmod mei_me
[root@devuan groucho]# rmmod mei
[root@devuan groucho]# exit
exit
groucho@devuan:~$ lsmod | grep mei
groucho@devuan:~$ 

.

groucho@devuan:~$ locate mei
/lib/modules/4.9.0-7-amd64/kernel/drivers/misc/mei
/lib/modules/4.9.0-7-amd64/kernel/drivers/misc/mei/mei-me.ko
/lib/modules/4.9.0-7-amd64/kernel/drivers/misc/mei/mei.ko
/lib/modules/4.9.0-7-amd64/kernel/drivers/nfc/mei_phy.ko
/lib/modules/4.9.0-7-amd64/kernel/drivers/nfc/pn544/pn544_mei.ko
---
/usr/include/linux/mei.h
---
/usr/src/linux-headers-4.9.0-7-amd64/include/config/intel/mei
/usr/src/linux-headers-4.9.0-7-amd64/include/config/intel/mei.h
/usr/src/linux-headers-4.9.0-7-amd64/include/config/intel/mei/me.h
/usr/src/linux-headers-4.9.0-7-amd64/include/config/nfc/mei
/usr/src/linux-headers-4.9.0-7-amd64/include/config/nfc/mei/phy.h
/usr/src/linux-headers-4.9.0-7-amd64/include/config/nfc/pn544/mei.h
/usr/src/linux-headers-4.9.0-7-common/include/linux/mei_cl_bus.h
/usr/src/linux-headers-4.9.0-7-common/include/uapi/linux/mei.h
groucho@devuan:~$ 

Does it have a specific purpose, is it actually needed for something in a desktop (or any other) machine?

Seeing that it is not in the 4.9.0.8 kernel files, how it is getting loaded?

I'd appreciate someone with more experience explaining what is happenning and why mei is present in Devuan.

Thanks in advance.

G.

#1831 Desktop and Multimedia » [SOLVED] Nvidia error at boot » 2018-08-15 13:59:35

Altoid
Replies: 20

Hello:

This is similar to what was posted here.
https://dev1galaxy.org/viewtopic.php?id=2259

I'm starting another thread because it is a different set of drivers/hardware.

My dmesg is saying this:

[root@devuan groucho]# dmesg | grep -i nvidia
[    0.861399] udevd[97]: Error running install command for nvidia
[    0.873470] udevd[98]: Error running install command for nvidia
[   24.764575] nvidia: loading out-of-tree module taints kernel.
[   24.764577] nvidia: loading out-of-tree module taints kernel.
[   24.764587] nvidia: module license 'NVIDIA' taints kernel.
[   24.819430] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[   24.860785] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 0
[   24.873668] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:02:00.0 on minor 1
[   24.886256] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.106  Tue Jan  9 15:10:23 PST 2018
[   33.730753] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver

I have an up-to-date Devuan ASCII with Nvidia non-free drivers:

[root@devuan groucho]# uname -ap
Linux devuan 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux
[root@devuan groucho]# 

[root@devuan groucho]# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[root@devuan groucho]#

This is the hardware I'm using:

[root@devuan groucho]# inxi -G
Graphics:  Card-1: NVIDIA G84GL [Quadro FX 370]
                Card-2: NVIDIA G96GL [Quadro FX 580]
Display Server: X.org 1.19.2 driver: nvidia tty size: 120x40 Advanced Data: N/A for root
[root@devuan groucho]# 

These are the non-free drivers I have installed: (cleaned up the printout a bit)

[root@devuan groucho]# dpkg --list | grep -i nvidia
ii  glx-alternative-nvidia                           0.8.3~deb9u1
ii  libegl1-nvidia-legacy-340xx:amd64      340.106-2~deb9u1
ii  libgl1-nvidia-legacy-304xx-glx:amd64   304.137-5~deb9u1
ii  libgl1-nvidia-legacy-340xx-glx:amd64   340.106-2~deb9u1
ii  libgles1-nvidia-legacy-340xx:amd64     340.106-2~deb9u1
ii  libgles2-nvidia-legacy-340xx:amd64     340.106-2~deb9u1
ii  libnvidia-legacy-304xx-cfg1:amd64      304.137-5~deb9u1
ii  libnvidia-legacy-304xx-glcore:amd64    304.137-5~deb9u1
ii  libnvidia-legacy-304xx-ml1:amd64       304.137-5~deb9u1
ii  libnvidia-legacy-340xx-cfg1:amd64      340.106-2~deb9u1
ii  libnvidia-legacy-340xx-eglcore:amd64   340.106-2~deb9u1
ii  libnvidia-legacy-340xx-glcore:amd64    340.106-2~deb9u1
ii  libnvidia-legacy-340xx-ml1:amd64       340.106-2~deb9u1
ii  nvidia-installer-cleanup                       20151021+4
ii  nvidia-kernel-common                        20151021+4
ii  nvidia-legacy-304xx-alternative           304.137-5~deb9u1
ii  nvidia-legacy-304xx-driver                  304.137-5~deb9u1
ii  nvidia-legacy-304xx-driver-bin             304.137-5~deb9u1
ii  nvidia-legacy-304xx-driver-libs:amd64  304.137-5~deb9u1
ii  nvidia-legacy-304xx-kernel-dkms        304.137-5~deb9u1
ii  nvidia-legacy-304xx-kernel-support     304.137-5~deb9u1
ii  nvidia-legacy-304xx-vdpau-driver:amd64 304.137-5~deb9u1
ii  nvidia-legacy-340xx-alternative        340.106-2~deb9u1
ii  nvidia-legacy-340xx-driver             340.106-2~deb9u1
ii  nvidia-legacy-340xx-driver-bin         340.106-2~deb9u1
ii  nvidia-legacy-340xx-driver-libs:amd64  340.106-2~deb9u1
ii  nvidia-legacy-340xx-kernel-dkms        340.106-2~deb9u1
ii  nvidia-legacy-340xx-kernel-support     340.106-2~deb9u1
ii  nvidia-legacy-340xx-vdpau-driver:amd64 340.106-2~deb9u1
ii  nvidia-modprobe                        384.111-2~deb9u1
ii  nvidia-persistenced                    384.111-1~deb9u1
ii  nvidia-settings-legacy-304xx           304.134-1
ii  nvidia-settings-legacy-340xx           340.101-1
ii  nvidia-support                         20151021+4
ii  xserver-xorg-video-nvidia-legacy-304xx 304.137-5~deb9u1
ii  xserver-xorg-video-nvidia-legacy-340xx 340.106-2~deb9u1
[root@devuan groucho]# 

Save for the dmesg error and artifacts on two of the three screens when I start X, things seem to be working OK. 

As I have recently recovered from mucking up my X ...

https://dev1galaxy.org/viewtopic.php?id=2303

... I'm wondering if there's something else amiss.

Any idea as to the Nvidia error in dmesg?

I don't have a /etc/modprobe.d/lrm-video file ...

[root@devuan groucho]# cat /etc/modprobe.d/lrm-video
cat: /etc/modprobe.d/lrm-video: No such file or directory
[root@devuan groucho]#

... but I found a file that has the command:

[root@devuan groucho]# grep "install nvidia" /etc/modprobe.d/*
/etc/modprobe.d/nvidia.conf:install nvidia modprobe -i nvidia-legacy-340xx $CMDLINE_OPTS
/etc/modprobe.d/nvidia.conf:install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-legacy-340xx-uvm $CMDLINE_OPTS
[root@devuan groucho]# 

Should I comment out these two lines in /etc/modprobe.d/nvidia.conf?

Thanks in advance,

A.

#1832 Re: Hardware & System Configuration » Nvidia warning at boot » 2018-08-14 23:52:13

Hello:

chris2be8 wrote:

Could anyone running the nvidia driver without problems ...

I have an up-to-date Devuan ASCII with Nvidia non-free drivers:

groucho@devuan:~$ uname -ap
Linux devuan 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux
groucho@devuan:~$ 
[root@devuan groucho]# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[root@devuan groucho]# 

I've just come out of a problem I had, reinstalled the drivers and apparently things work OK. (?)
This is what dmesg says:

[root@devuan groucho]# dmesg | grep -i nvidia
[    0.905299] udevd[105]: Error running install command for nvidia
[    0.928912] udevd[102]: Error running install command for nvidia
[   23.479849] nvidia: loading out-of-tree module taints kernel.
[   23.479851] nvidia: loading out-of-tree module taints kernel.
[   23.479860] nvidia: module license 'NVIDIA' taints kernel.
[   23.534823] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[   23.536168] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 0
[   23.536279] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:02:00.0 on minor 1
[   23.536288] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.106  Tue Jan  9 15:10:23 PST 2018
[   34.115268] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[root@devuan groucho]# 

Q.: Shouldn't there be a dkms entry in dmesg?

The cards are using the driver:

[root@devuan groucho]# inxi -G
Graphics:  Card-1: NVIDIA G84GL [Quadro FX 370]
Card-2: NVIDIA G96GL [Quadro FX 580]
Display Server: X.org 1.19.2 driver: nvidia tty size: 147x54 Advanced Data: N/A for root
[root@devuan groucho]# 

These are the non-free drivers I have installed:

groucho@devuan:~$ dpkg --list | grep -i nvidia
ii  glx-alternative-nvidia                               0.8.3~deb9u1
ii  libegl1-nvidia-legacy-340xx:amd64
ii  libgl1-nvidia-legacy-340xx-glx:amd64
ii  libgles1-nvidia-legacy-340xx:amd64
ii  libgles2-nvidia-legacy-340xx:amd64
ii  libnvidia-legacy-340xx-cfg1:amd64
ii  libnvidia-legacy-340xx-eglcore:amd64
ii  libnvidia-legacy-340xx-glcore:amd64
ii  libnvidia-legacy-340xx-ml1:amd64
ii  nvidia-installer-cleanup                           20151021+4
ii  nvidia-kernel-common                            20151021+4
ii  nvidia-legacy-340xx-alternative
ii  nvidia-legacy-340xx-driver
ii  nvidia-legacy-340xx-driver-bin
ii  nvidia-legacy-340xx-driver-libs:amd64
ii  nvidia-legacy-340xx-kernel-dkms
ii  nvidia-legacy-340xx-kernel-support
ii  nvidia-legacy-340xx-vdpau-driver:amd64
ii  nvidia-modprobe                                   384.111-2~deb9u1
ii  nvidia-persistenced                               384.111-1~deb9u1
ii  nvidia-settings-legacy-340xx                  340.101-1
ii  nvidia-support                                       20151021+4
ii  xserver-xorg-video-nvidia-legacy-340xx
groucho@devuan:~$ 

Cleaned it up a bit.
Unless noted, all are 340.106-2~deb9u1.

WRT what you requested:

groucho@devuan:~$ dpkg-query --search nvidia-current-drm
dpkg-query: no path found matching pattern *nvidia-current-drm*
groucho@devuan:~$ dpkg-query --search nvidia-current-uvm
dpkg-query: no path found matching pattern *nvidia-current-uvm*
groucho@devuan:~$ dpkg-query --search nvidia-current-modeset
dpkg-query: no path found matching pattern *nvidia-current-modeset*
groucho@devuan:~$ 

Cheers,

A.

#1833 Re: Desktop and Multimedia » [Solved] Royally screwed up X ... » 2018-08-14 20:47:07

Hello:

duane wrote:

If the kernel is the issue, maybe you should just install the 4.17 kernel ...

I thought that the driver version would be the issue (340.102 in Devuan vs 340.107 in PCLOS), so i went about updating the driver the wrong way and that got me a damaged X.

duane wrote:

... have to reinstall the nvidia driver, but that shouldn't be a problem.

Well ...
That was exactly the problem I was in: stuck in tty1 without much idea as to how to proceed, hence my OP.

I eventually figured it out.

groucho@devuan:~$ dpkg --list | grep -i nvidia

... gave me a screen with any and all the nvidia stuff in my Devuan installation.

Then I made sure that /etc/apt/sources.list would not have ascii contrib and ascii non-free enabled.

[root@devuan groucho]# cat /etc/apt/sources.list
## package repositories

# Changed - 20180619
# deb http://pkgmaster.devuan.org/merged/ ascii main 
# deb http://pkgmaster.devuan.org/merged/ ascii-security main 
# deb http://pkgmaster.devuan.org/merged/ ascii-updates main 
# deb http://pkgmaster.devuan.org/merged/ ascii-backports main 

deb http://deb.devuan.org/merged/ ascii main 
deb http://deb.devuan.org/merged/ ascii-updates main 
deb http://deb.devuan.org/merged/ ascii-security main 
# deb http://deb.devuan.org/merged/ ascii-backports non-free contrib main 

# deb http://deb.devuan.org/devuan/ ascii-proposed main 

# added x nvidia non-free installation
# deb http://deb.devuan.org/merged/ ascii contrib  
# deb http://deb.devuan.org/merged/ ascii non-free  

Once that was done, I did some cleaning up:

[root@devuan groucho]# apt-get clean
[root@devuan groucho]# apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[root@devuan groucho]#
[root@devuan groucho]# apt-get purge
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[root@devuan groucho]
[root@devuan groucho]# apt-get check                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[root@devuan groucho]#

Then I went about uninstalling everything that had an nvidia label.
This is just one of the files:

[root@devuan groucho]# apt-get purge xserver-xorg-video-nvidia

Eventually, the list shown by dpkg --list | grep -i nvidia came up empty.
To be on the safe side, I did apt-get check again and verified that I had not broken anything else.   8^/

I then enabled http://deb.devuan.org/merged/ ascii contrib and http://deb.devuan.org/merged/ ascii non-free in etc/apt/sources.list.
Without that, I would not be able to find the non-free drivers I wanted to install.

As I did not know the exact name/version I would have available, I asked:

[root@devuan groucho]# apt list | grep -i nvidia-legacy-340 | more 

In the list I saw that there was an updated version, albeit not 340.107 (340.106), but closer than the previous 340.102 version.

So I installed it via apt-get install and that was it. The only thing I found odd was that at some point of the installation it listed as recommended nvidia-legacy-340xx-driver-libs-i386 but it was not available in in the repositories.
I thought it was odd because of i386.

On reboot X started as usual but the artifacts I mention in my OP are still there, so I'll have to see if there's some setting in Xorg.conf that may be causing them.

As having http://deb.devuan.org/merged/ ascii contrib and http://deb.devuan.org/merged/ ascii non-free enabled in etc/apt/sources.list as a default option is not a good idea, I commented them out again.

This is how I recall the recovery process, hopefully I have not skipped anything important.
It may be useful for someone who ends up in the same situation.

The lesson I learned:
All -contrib and -non-free stuff should be updated by hand and individually, just like when they were installed.

Cheers,

A.

#1834 Desktop and Multimedia » [Solved] Royally screwed up X ... » 2018-08-14 00:49:10

Altoid
Replies: 3

Hello:

I have an up-to-date ASCII rig with a pair of Nvidia cards running three monitors on Xinerama.
With the latest kernel update I began to briefly get some artifacts on two of the screens when the desktop started.

Not a big deal but sort of annoying and we all know how this goes ...

So ..
What did I do?

As I did not have these artifacts in my PCLOS rig (exact same machine/hardware, just different drive) I checked the proprietary drivers' versions and sure enough, the PCLOS version is 340.107 and the Devuan version (was) 340.102 and I said to myself: "yep, this is it".

One thing I evidently did not take into account at the time was that my PCLOS setup's kernel (4.14.51):

[groucho@groucho ~]$ uname -a -p
Linux groucho 4.14.51-pclos1 #1 SMP Sat Jun 23 22:41:29 CDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[groucho@groucho ~]$ 

Not the same as Devuan's ...

But I went and upgraded the driver via Synaptic but when the warnings showed up it was too late and I did not know how to back out of the dark alley I had wandered into.   8^/.

The result is that now I cannot start X.

I'd very much appreciate if some kindred soul would give me a hand at straightening this out, preferably ending up with the 340.107 Nvidia non-free drivers or at least the ones I had installed and worked perfectly well.

Thanks in advance,

A.

#1835 Re: Installation » [Solved] Virtualbox 5.x.xx in ASCII » 2018-06-24 23:15:25

Hello:

ivanovnegro wrote:

I can see version 5 in ascii-backports ...
...
That should do the trick by installing it this way as root ...

Thanks a lot ...
I was not looking in the right place (with the browser).

Thanks a lot for your input. =-)

Best,

A.

#1836 Installation » [Solved] Virtualbox 5.x.xx in ASCII » 2018-06-24 20:15:24

Altoid
Replies: 4

Hello:

My rig runs Devuan ASCII:

groucho@devuan:~$ uname -a
Linux devuan 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux

It's fully up to date:

[root@devuan groucho]# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

The Virtualbox installed version is 4.3.36 ...

[root@devuan groucho]# apt search virtualbox
Sorting... Done
Full Text Search... Done
virtualbox/now 4.3.36-dfsg-1+deb8u1 amd64 [installed,local]
  x86 virtualization solution - base binaries

virtualbox-dkms/now 4.3.36-dfsg-1+deb8u1 all [installed,local]
  x86 virtualization solution - kernel module sources for dkms

virtualbox-guest-x11/now 4.3.36-dfsg-1+deb8u1 amd64 [residual-config]
  (none)

virtualbox-qt/now 4.3.36-dfsg-1+deb8u1 amd64 [installed,local]
  x86 virtualization solution - Qt based user interface

... but I'd like to install a 5.x.xx version for compatibility with the Virtualbox installation in another distribution I use.

With the new Devuan package browser (neat), I see that there's a Virtualbox version for Jesse and another for Ceres but none for ASCII.

Package info
Release: jessie
Version: 4.3.36-dfsg-1+deb8u1
Architecture: amd64
Section: contrib/misc
Homepage: http://www.virtualbox.org/
Maintainer: Debian Virtualbox Team
---
Package info
Release: ceres
Version: 5.1.22-dfsg-2
Architecture: amd64
Section: contrib/misc
Homepage: http://www.virtualbox.org/
Maintainer: Debian Virtualbox Team

Is it possible to install the ceres version in ASCII?

Thanks in advance.

A.

#1837 Re: Hardware & System Configuration » [Solved] Screen output at boot time » 2018-06-23 01:27:58

Hello:

emanym wrote:

That option may not be deprecated in pclinuxos (yet) even if it is in devuan/related dists.

I have read in a couple of pages I came across while searching for information that it was deprecated but ...

It does not seem to be deprecated in Devuan: I edited the grub2 entry in Devuan, it was picked by when I did grub-upgate from PCLinuxOS and worked perfectly well when I selected to boot Devuan from PCLinuxOS.

But I also tried vga=ask and the screen said that it was a deprecated option.

Anyway, I also discovered something else, the real origin of the problem (and I am rather embarrased about this).

I use grub-customizer (yes, I know ... ) and it happens that when I was booting Devuan from PCLinux's grub2, I was inadvertently selecting a 'custom' entry which I do not have a clue about or where it came from but I now know that update-grub does not modify it.

It's so damn obvious so as to go unnoticed but makes prefect sense: update-grub only modifies the scripts generated by OS prober, a 'custom' script entry remains just that so it stays unchanged. No idea where it came from or when.

Having tried out by editing and then adding vga=845 to the Devuan grub2 (and seen it worked) and seeing that it was not getting picked up by the PCLinux grub2, I started pouring over the grub.conf files and that's when I discovered this uncomfortable tidbit.  =^/

The vga=845 bit is now part of the grub2 command line in Devuan and it does get picked up by the grub2 in PCLinuxOS when I update-grub.
I was just not selecting the correct entry. What a dick ...

emanym wrote:

... grub on devuan recognizes dists based on /usr/lib/os-probes/mounted/90linux-distro and makes a config with /etc/grub.d/30_os-prober.

I see (sort of): it is what I am saying above?

emanym wrote:

... editing the 30_os-prober file to handle devuan is probably not a great idea... Have a look at it to see what I mean ;-)

Hmm ...
It took me a good while to sort of understand and get a (light) hold on what was going on, so I'll pass on that. =-)
I'll chalk all this up to experience and a lesson learned.

Irrespectively of this, if vga=XXX is deprecated then there must be a substitute way to do the same thing.

With time, I'll see about trying out different options in grub2: after all, I boot into PCLinuxOS without VGA=XXX, vesafb gets loaded without nokmsboot present and still get the monitor resolution I want using the Nvidia drivers.

I gues I can mark this as [Solved] - hopefully it will be of use to others.

Thank you very much (to all) for your input.

Best,

A.

#1838 Re: Hardware & System Configuration » [Solved] Screen output at boot time » 2018-06-22 22:06:01

Hello:

cynwulf wrote:

<-- post Yesterday 06:34:28
The fact that you don't have a native resolution console, usually means that you don't have the console framebuffer loaded.

I decided to try editing the grub2 entry for Devuan on my PCLinuxOS, adding vga=845 (1280x1024x32) to the command line.
I know vga=XXX has been deprecated but thought it was worth a shot.

And just what do I see?

My Devuan boot screen shows up at a clean and tidy 1280x1024x32.
Checking further, I see that the vesafb is loaded.

[root@devuan groucho]# dmesg | grep vesafb
[    0.636130] vesafb: mode is 1280x1024x32, linelength=5120, pages=0
[    0.636134] vesafb: scrolling: redraw
[    0.636138] vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.636157] vesafb: framebuffer at 0xfb000000, mapped to 0xffffb05a41800000, using 5120k, total 5120k

Exactly the same (save for the mapping) as when I boot Devuan independently of the PCLinuxOS grub2:

[root@devuan groucho]# dmesg | grep vesafb
[    0.645586] vesafb: mode is 1280x1024x32, linelength=5120, pages=0
[    0.645590] vesafb: scrolling: redraw
[    0.645594] vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.645612] vesafb: framebuffer at 0xfb000000, mapped to 0xffffad6701800000, using 5120k, total 5120k

So ...
Now I have to see about why this is happening.
And how to get this to be permanent even if it means using the deprecated vga=XXX entry.

Any ideas?

Thanks in advance,

A.

#1839 Re: Hardware & System Configuration » [Solved] Screen output at boot time » 2018-06-22 17:41:37

Hello:

cynwulf wrote:

You have two drives, each has the grub bootloader installed, each can boot independently and boot either OS?

Yes.

My first drive hosts a PCLinuxOS installation, it is set as the first drive to boot in the SAS adapter card and uses grub2.
My second drive hosts my Devuan ASCII installation, it is set as the second drive to boot in the SAS adapter card and uses grub2.
My third drive is an old W7 installation I keep for reference purposes, it is set as the third drive to boot in the SAS adapter card (getting scrubbed soon).

When I boot my rig it starts from the first drive and its grub2 installation offers me to boot into PCLinuxOS, Devuan ASCII or W7 from there.
If I remove this first drive (or if the drive fails), the rig boots from the second drive and its grub2 installation offers me me to boot into PCLinuxOS Devuan ASCII or W7 from there (obviously it does not find PCLOS).

If the first and second drives change places, the same thing happens, with the first OS order changed.

cynwulf wrote:

... have set up each to chainload to the other - but that's not a given.

No. (I don't think so)

Each installation (PCLinuxOS first and a year later Devuan) was done with only one drive in the first bay.
That way I could only screw up only one thing at a time.=^D! 

cynwulf wrote:

... two ways of doing this - directly booting the kernel (this only needs one grub for the whole lot) or chainloading to the other drive and that OS' own grub and then booting from that.

I'm sorry but it's not too clear to me which of these I am doing.
It has worked well and I've always had an OS at hand, which was my primary objective.

For emergencies, I also have a TinyCore Linux installation on an old 1Gb pendrive plugged into a USB socket I discovered on the mobo (Sun Ultra24).   
It's actually saved my skin a couple of times.

cynwulf wrote:

... have not posted the grub configuration files from both OS.

I'm sorry for that oversight on my behalf.

What files would you need to see?

cynwulf wrote:

... stated that "PCLinuxOS" does not have the same problem.

No.
The screen output at boot is in the correct console resolution.

cynwulf wrote:

... boots with the correct console resolution - perhaps native resolution and the nvidia blob is installed there too?

Both PCLinuxOS and Devuan use the non-free Nvidia drivers.

cynwulf wrote:

nokmsboot is a parameter you might need for both OS with the blob installed.
If you are going to continue with the blob going forward, then just keep that as standard.

I do not remember adding it so it must have been added by the Nvidia drivers installation?

Looking for some info on this, I came across a post from 2012 in the Mageia forum:
https://forums.mageia.org/en/viewtopic. … 971#p14396

link wrote:

KMS stands for "kernel mode switching". It means that the Linux kernel is responsible for the video frame buffer and for switching between video resolutions, instead of the graphics driver. This is a fairly recent addition to Linux, and not all graphics drivers have caught up with the new way of doing things.

I expect that the nokmsboot parameter was set after I installed the Nvidia drivers in PCLinuxOS. I have not seen anything acting up since I removed it.
Since then I have seen the Nvidia drivers get updated more than once, so maybe they have caught up and the nokmsboot is no longer needed.

It was not put in Devuan when I installed the Nvidia drivers.
Let's see if any problems arise.

--- EDIT ---

I may have come across something:

cynwulf wrote:

<-- post Yesterday 06:34:28
The fact that you don't have a native resolution console, usually means that you don't have the console framebuffer loaded.

You're quite right.

From my PCLinuxOS terminal

[groucho@groucho ~]$ dmesg | grep vesafb
[    0.341689] vesafb: mode is 1280x1024x32, linelength=5120, pages=0
[    0.341692] vesafb: scrolling: redraw
[    0.341700] vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.341724] vesafb: framebuffer at 0xfb000000, mapped to 0xffffac3140800000, using 5120k, total 5120k

The frame-bufefr is only loaded if I boot Devuan from it's own drive ie: not from PCLinuxOS's grub2.
From my Devuan terminal (booted independently)

[root@devuan groucho]# dmesg | grep vesafb
[    0.645586] vesafb: mode is 1280x1024x32, linelength=5120, pages=0
[    0.645590] vesafb: scrolling: redraw
[    0.645594] vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.645612] vesafb: framebuffer at 0xfb000000, mapped to 0xffffad6701800000, using 5120k, total 5120k

--- EDIT ---

Thank you very much for taking the time to write this up.
Much appreciated.

Best,

A.

#1840 Re: Hardware & System Configuration » [Solved] Screen output at boot time » 2018-06-22 14:05:23

Hello:

emanym wrote:

Grub from pclinuxos and grub from devuan may use slightly different boot command lines to boot devuan ...

Let's see.
Here's what I got:

From PCLinuxOS

[groucho@groucho ~]$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.12.10-pclos1 root=UUID=82ca71e8-fba7-4e36-a086-27e3be13a48b ro nokmsboot noiswmd resume=UUID=464724a6-5814-4f99-b422-3e180aabed08
[groucho@groucho ~]$

[groucho@groucho ~]$ grep -A 15 evu /boot/grub2/grub.cfg | grep vmli
menuentry "Devuan GNU/Linux (on /dev/sda1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64--d6841f29-e39b-4c87-9c52-3a9c3bafe2d3' {
		linux /boot/vmlinuz-4.9.0-6-amd64 root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro
menuentry "Devuan GNU/Linux, with Linux 4.9.0-6-amd64 (on /dev/sda1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64--d6841f29-e39b-4c87-9c52-3a9c3bafe2d3' {
		linux /boot/vmlinuz-4.9.0-6-amd64 root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro nokmsboot
menuentry "Devuan GNU/Linux, with Linux 4.9.0-6-amd64 (recovery mode) (on /dev/sda1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64-root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro single-d6841f29-e39b-4c87-9c52-3a9c3bafe2d3' {
		linux /boot/vmlinuz-4.9.0-6-amd64 root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro single
[groucho@groucho ~]$ 

From Devuan

groucho@devuan:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.9.0-6-amd64 root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro
groucho@devuan:~$

groucho@devuan:~$ grep -A 15 evu /boot/grub/grub.cfg | grep vmli
	linux	/boot/vmlinuz-4.9.0-6-amd64 root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro 
		linux	/boot/vmlinuz-4.9.0-6-amd64 root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro 
		linux	/boot/vmlinuz-4.9.0-6-amd64 root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro single 
groucho@devuan:~$

As you can see, booting Devuan is done by both OSs in the same way with the same commands:

PCLinuxOS

linux /boot/vmlinuz-4.9.0-6-amd64 root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro

Devuan

linux /boot/vmlinuz-4.9.0-6-amd64 root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro

I removed nokmsboot (used prevent KMS driver from loading) from the PCLinuxOS stanza but it made no difference and PCLinuxOS still boots fine.
I cannot recall why it was there so I probably won't be put in again unless something happens.
Maybe Nvidia driver updates have made it redundant?

In any case, my Devuan istallation with non-free Nvidia drivers does not seem to require it.

But ...
There's all this in PCLinuxOS:

menuentry "Devuan GNU/Linux (on /dev/sda1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64--d6841f29-e39b-4c87-9c52-3a9c3bafe2d3' {

I have no idea if it is something that grub2 in PCLinuxOS has but the Devuan version does not or if it is something the PCLinuxOS packager included.

cynwulf wrote:

... most likely why you have a text mode console (e.g. 80x50 characters).

But I don't have this problem when I boot PCLinuxOS.

cynwulf wrote:

... is to either just install one bootloader on one OS and use that to directly boot the other

That's what I have. (I assume it is what you are referring to)
I boot PCLinuxOS from it's own installation drive and use that same grub2 screen to choose to boot Devuan if I want to.

panopticon wrote:

... try updating grub from Devuan with the PC linux os drive in place and mounted inside Devuan? You will still have the Devuan menu entry as number one but you can default grub to select PC linux os.

Don't get how that would be done.
I could just try to update the Devuan grub2 without using the official repo (have to find a suitable *.deb file) but I fear possible havok.

Thanks to all for your input.

Cheers,

A.

#1841 Re: Hardware & System Configuration » [Solved] Screen output at boot time » 2018-06-21 21:09:41

Hello:

Sorry for the delay in answering.
Automatic subscription was off ... =^/

cynwulf wrote:

The other possibility is the proprietary AMD or Nvidia video drivers are installed?

Yes. I am using the Nvidia non-free drivers.

It was the only way to get my two cards and three monitors to play nice.
RandR gets disabled because of Xinerama but I don't think it has anything to do with this.

Panopticon wrote:

Where do you $ sudo update-grub from? Pc linux os or Devuan?

I was looking into a possible version mismatch this morning.

PCLinuxOS uses Grub2 2.02.0-3
Devuan uses 2.02Beta3-5

I don't know if there's any real difference between these two, but ...

If both installations run of the same hardware and the problem in the Devuan installation arises when I boot it from the grub2 in PCLinuxOS and not with it's own grub2, then the problem seems to be with how grub2/PCLinuxOS "talks" with grub2/Devuan.

Is it a version mismatch or is it a configuration issue?
ie: is there something that grub2/PCLinuxOS needs to know or find to boot Devuan the same way it boots from its own grub2?

Thanks for your input.   =-)

Cheers,

A.

#1842 Re: Hardware & System Configuration » [Solved] Screen output at boot time » 2018-06-20 22:59:55

Hello:

Sorry ...
My intention was to quote myself and instead I ended up editing my previous post.

Please reply to this one: https://dev1galaxy.org/viewtopic.php?pid=10267#p10267

Thanks in advance.

A.

#1843 Re: Hardware & System Configuration » [Solved] Screen output at boot time » 2018-06-20 21:10:48

Hello:

Altoid wrote:

No ..
Won't do.

Spoke too soon.  =^/

This is how it is done:
https://wiki.debian.org/GrubTransition

Grub 2 and the VGA parameter
In Grub2 the vga= parameter is deprecated.
To set a screen resolution for your console you can do the following log in as root:

edit /etc/default/grub
uncomment the GRUB_GFXMODE=640x480 and change the resolution to something you can use e.g. 1024x768

Add the line
GRUB_GFXPAYLOAD_LINUX=keep
to the file to have the same resolution at the Linux console. You do not edit the 00_header file as some suggest you need to do.
run update-grub

It happens that it does work ...
But if I boot directly from the drive hosting Devuan that is.

In my setup, my first drive hosts a PCLinuxOS installation, another systemd free OS I have been using since before Devuan.

My second drive hosts my Devuan ASCII installation which also has a grub2 setup just in case my PCLinuxOS drive goes south.
My third drive is an old W7 installation I keep in a SATA drive for reference purposes, it's getting scrubbed soon.

In any case, when I boot my rig it starts from the first drive and its grub2 installation offers me to boot into PCLinuxOS, Devuan ASCII or W7 from there.
If I remove this first drive, the rig boots from the second drive and its grub2 installation offers me me to boot into PCLinuxOS Devuan ASCII or W7 from there (obviously it does not find PCLOS).

If the second drive gets set up as a first drive, the same thing happens, with the order changed.

The thing is that when I boot my rig without the first drive in place, Devuan ASCII boots as I want to, with the screen size I set.
But if I boot into Devuan ASCII selecting it from the grub2 menu, it does not.

I had the idea that grub2 looks for other OSs and boots them according to what the grub.conf file in the drive hosting that OS says.
ie: the screen size set by GRUB_GFXMODE.

But it seems this is not the case.

Or am I doing something wrong?

Thanks in advance.

A.

#1844 Hardware & System Configuration » [Solved] Screen output at boot time » 2018-06-20 17:32:09

Altoid
Replies: 23

Hello:

Info: my rig runs on the latest Devuan ASCII ...

groucho@devuan:~$ uname -a
Linux devuan 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
groucho@devuan:~$ 

... and It is up to date.

root@devuan:/home/groucho# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@devuan:/home/groucho# 

From back in my MS days, I have always had the habit of looking at the screen output at boot time.
Sure, it can scroll by fast enough but I can get a remote idea of what's going on and go have a look at the logs if I notice something off while it passes by.

Much better yet if it is colour coded and has timestamps, like when I run dmesg from a terminal as root.

The thing is that the boot time output on my screen is not in it's native 1280*1024 but what seems to be 640*480 and I have not been able to get it to show in 1280*1024.

I have tried adding vga=791 or 792 to the grub stanza to no avail.
I have also tried GRUB_GFXPAYLOAD_LINUX 'keep'.

Can I get it Devuan to boot as I want to?
Is it also at all possible to get the output at boot time in the same way I get dmesg from a terminal?

Thanks in advance,

A.

#1845 Re: Installation » [Solved] Ascii upgrade (also) messed up this Devuan Jessie » 2018-06-18 13:52:58

Hello:

Dutch_Master wrote:

OK, reboot into rescue mode, then fire up aptitude:

aptitude

Ok.

I started there and saw that x11-xkb-tools was not installed.
Assuming x11-xkb-tools should be there (and maybe other missing configuration files) and that an update would install whatever was needed, I exited aptitude and decided to try apt-get update.

I first checked that the /etc/apt/sources.list was this one and that everything else was remmed out:

deb http://pkgmaster.devuan.org/merged ascii main
deb http://pkgmaster.devuan.org/merged ascii-updates main
deb http://pkgmaster.devuan.org/merged ascii-security main
deb http://pkgmaster.devuan.org/merged ascii-backports main

Then I did apt-get update and got a warning about dpkg having been interrupted which got fixed with the instructions on the screen with ...

dpkg --configure -a

... and then ran apt-get update again.

It started to do its work but complained about /etc/pam.d/login having been modified and asking about which version to keep.
I guessed that that could have been the glitch that affected my kb/mouse (?) so I kept the existing script version (default option) and continued.
If that one did not work, I could try the new version which obviously was not an option if I accepted the new one from the start.

When it was done (it was a lot) I exited, rebooted and got my desktop, this time with working kb and mouse.  =^ )

Once there, I started SPM and updated everything again.
Then for safe measure, I did the same through apt.

Now, it seems everything is well again:

root@devuan:/home/groucho# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@devuan:/home/groucho#
root@devuan:/home/groucho# uname -a
Linux devuan 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64 GNU/Linux
root@devuan:/home/groucho# 
groucho@devuan:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 2.0 (ascii)
Release:	2.0
Codename:	ascii
groucho@devuan:~$ 

A big thank you to all of those who pitched in to help.
Really appreciated your input.

That said, it I think I have to brush up and deepen my command line skills.

Best,

A.

#1846 Re: Installation » [Solved] Ascii upgrade (also) messed up this Devuan Jessie » 2018-06-18 00:44:12

Hello:

Dutch_Master wrote:

OK, reboot into rescue mode, then fire up aptitude:

aptitude

Ok.

Dutch_Master wrote:

Use the / key to bring up a search box and find the package x11-xkb-tools. If it has an i in front, it's installed. If that's the case, purge it (Shift+-) then re-install the package. It'll probably throw up a bunch of errors when purging, remove all packages that rely on it too (they'll be re-installed when you install the package)

Ok.

One question ...
Purging the packages will require downloading them again?
If so, will the wireless network be up when I log into rescue mode?

Could this be done with a live Jesse or Ascii CD?

Dutch_Master wrote:

HTH!

Hopefully ...   8^)

Thanks for your input.

A.

#1847 Re: Installation » [Solved] Ascii upgrade (also) messed up this Devuan Jessie » 2018-06-18 00:38:33

Hello:

msi wrote:

How about reading those ASCII release notes?

I have read them.
But have not been able to identify anything specific that would help me solve this.
At least not with my level of exposure to Linux.

Perhaps you could point out anything I may have (surely) missed?

Thanks in advance.

A.

#1848 Re: Installation » [Solved] Ascii upgrade (also) messed up this Devuan Jessie » 2018-06-18 00:35:17

Hello:

Plentyn wrote:

It looks like your X is having some Problem either with this USB device or with USB in general.

That's one possibility that has come to mind.

Plentyn wrote:

* can you try another USB keyboard?

The keyboard is the same I use in the same box that other OSs run in, just on different disks.
Works perfectly well.

Plentyn wrote:

* can you try a PS2 keyboard?

Nope ...
My box does not have a PS2 port.  =-'

Plentyn wrote:

* can you have a close look into /var/log/Xorg.0.log ? If nothing springs to your eye make it available to us?

I've had a look ...
I'll post it tomorrow morning.

Plentyn wrote:

* do you have an /etc/X11/xorg.conf or other config files as referenced from /var/log/Xorg.0.log ? If yes make it/them available, too...

When I installed Devuan Jesse I had to install the non-free Nvidia drivers to make my two Nvidia cards drive the three monitors.
If I recall correctly, I tried using the same xorg.conf file I was using with PCLinuxOS which worked.

I'll check and see if that is as I remember and then post it along with the log.

Thanks a lot for your input.

A.

#1849 Re: Installation » [Solved] Ascii upgrade (also) messed up this Devuan Jessie » 2018-06-15 11:37:49

Hello:

Altoid wrote:

Hello:
I was able to start X, got the full desktop but still no Kb or mouse (it's plugged into the USB Kb).
So the problem persists.  =^/

Anyone?

I tried using a different mouse directly connected to a USB port (instead of a PS2 connected to a port on the Kb) but still no dice.
Is there any way I can get out of this problem without having to do a full reinstall?
That's the MS way out...

I was wondering about using a live Jese/Ascii *.iso to boot and do an update to see if that fixes anything or change repos to Jesse and then do an update to see if I can get to where I started from ie: a healthy and perfectly working Jesse installtion 8^/.

Or try to do the same things from the terminal, but I'd need some instructions.

Thanks in advance.

A.

#1850 Re: Installation » [Solved] Ascii upgrade (also) messed up this Devuan Jessie » 2018-06-13 00:52:25

Hello:

msi wrote:

... have an entry for booting into runlevel 1 in your GRUB boot menu as well.

I'll have a look - never had to use it before.

msi wrote:

... might want to do yourself the favor of reading the section on "Starting X from a console (TTY)" in the ASCII release notes before you use startx to start X.

Too late ...   8^D LoL

I was able to start X, got the full desktop but still no Kb or mouse (it's plugged into the USB Kb).
So the problem persists.  =^/

Thanks for your input.

A.

Board footer

Forum Software