The officially official Devuan Forum!

You are not logged in.

#26 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-02 15:03:11

Hmm... Digging around in dconf-editor I found the light-locker settings. One of the options is "lock-on-suspend", and this was enabled. So why didn't it lock on suspend?

Edit: I have confirmed that this is the same option as the "Lock screen when the system goes to sleep" checkbox on the security tab of Xfce Power Manager. Toggling one toggles the other.

#27 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-02 14:49:37

Thanks, I'll try that, but I just had a minor break through: I found this old issue on Xfce's old bugtracker: https://bugzilla.xfce.org/show_bug.cgi?id=11488 Reading a bit further down, there are details of a patch that has been applied to xfce4-power-manager, the description of which is:

Integrate Light Locker configuration into Xfce Power Manager. This
allows proper settings synchronization between the two applications
and eliminates some of the hackiness used in Light Locker Settings
to accomplish the same effect, and streamlines similar tools into
a single location. This depends on light-locker 1.5.1 configured
with the GSettings backend.

"Aha" I thought, and tried setting lid close to "Lock Screen" in the power management applet, and hey presto, the computer now suspends and locks when I close the lid. If I remove the pm-suspend command from my acpi script it only locks, so this is still needed. And when it resumes the screen blinks multiple times before going to DPMS-off; I have to press a key on the keyboard to turn it back on. So it's not a perfect solution, but I'm definitely getting closer!

Edit: dconf-gsettings-backend is already installed.

#28 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-02 13:47:37

Update: I've got suspend/resume working on lid close by using a similar route to the mic mute solution above:

/etc/acpi/events/thinkpad_lidbutton:

event=button[ /]lid
action=/etc/acpi/thinkpad_lidbutton.sh %e

/etc/acpi/thinkpad_lidbutton.sh:

#!/bin/bash

if [  "$3" = "close" ] ; then
     /usr/sbin/pm-suspend
fi

And:

sudo chmod +x /etc/acpi/thinkpad_lidbutton.sh
sudo service acpid restart

But I cannot get it to lock the screen. I changed from Slim to to LightDM and installed light-locker; from a user prompt I can issue "light-locker-command -l" and the screen will lock, but when I do this from my acpi script I get GDBus.error ServiceUnknown org.freedesktop.screensaver. Any ideas?

#29 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-02 11:26:23

Yeah, but the power management applet also has suspend and screen blanking timeouts, so I just use those, which works fine. I managed to get the microphone mute button working, complete with LED, by adding an acpi event that listens to the button press:

/etc/acpi/events/thinkpad-micmute:

event=button/micmute MICMUTE 00000080 00000000 K
action=/etc/acpi/thinkpad-micmute.sh

/etc/acpi/thinkpad-micmute.sh:

amixer sset Capture toggle

then:

sudo chmod +x /etc/acpi/thinkpad-micmute.sh
sudo service acpid restart

I actually remember doing this on my X230 as well. Now only volume mute LED and lid suspend left on my list.

#30 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-02 10:54:48

Update: I found that the powerbtn ACPI event doesn't trigger unless you hold in the power button for a moment - and then it does "Ask" as requested, so that's actually working as it should. One issue off the list, now only lid suspend and mute buttons left.

#31 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-02 10:30:52

Thanks. laptop-mode-tools was not installed. Unfortunately the only obvious difference after installing it is that the machine now hangs for ~20s when a reboot is requested. I saw that there's a "Mic Mute LED-Mode" in alsamixer, which is set to "Follow Mute", but there is no equivalent for "Master" (and I did press F5 to see all devices). More frustratingly it turns out that for some reason I cannot add an Application Shortcut for the mic mute button like I could for the master mute button; the button press is not registered by the Application Shortcut applet, though it does show up as button/micmute with acpi_listen. I have removed my attempts at lid switch control from /etc/acpi , and I've uninstalled xscreensaver, rebooted a few times, all issues remain.

Oh and there's really nothing of note in .xsession-errors, I see volume change events there when I press the volume buttons, but there are no errors when I do this, or close the lid (which adds nothing to the log), or press the power button (also adds nothing to the log). Xsession/dbus init looks completely normal.

#32 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-02 01:47:49

The options are there (lid close set to "suspend" and "lock screen", power button set to "Ask"), but neither gets triggered.

#33 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-02 00:04:09

dice wrote:

so the mute button is working but not the led light?, that could be vendor specific for that laptop on how they control the feature i think. Maybe do a web search for "mute button led light not working lenovo T410"

Also what desktop environment is this?

Thanks. This is stock "Cinnabar" XFCE4 with the Slim DM. Beyond /home/user encryption (sshhh!) I haven't changed much. Had to mess around with the swap partition's UUID but that's now working (yes, encrypted - ssshhh!). Added xserver-xorg-input-synaptics to get clicks working on the touch pad (which enables an extra tab in the control panel app). Enabled unattended-upgrades and set up root emails to actually go somewhere. And yes, I got rid of pulseaudio, and got the volume control buttons (and mute) working as XF86 "Application Shortcuts", but yes, the mute LED does not come on. It does on my X230, and did on the X220 I had previously, and on neither did I have to add any "Application Shortcuts"; it just worked once I got all the desktop bits installed. And checking my X230 now I can see none have been created for me - it clearly uses some other mechanism (note: both systems run Devuan, ASCII on the X220 and ASCII upgraded to Beowulf on the X230 - neither has pulseaudio installed).

Edit: I am also still looking for a fix for the non-working power button, and a way to suspend and lock screen when the lid is closed.

Edit2: I should add, for the record, and in case anyone ends up here because they're searching for how to set up eCryptFS home directory encryption, that the required packages were pulled from the Buster release (and hence Beowulf) due to a critical bug which hadn't been fixed in time for the release. This has long since been fixed however, so I grabbed the latest debs from packages.debian.org and installed from there. The two packages you need are "ecryptfs-utils" and "libecryptfs1" ("libtspi1" and "cryptsetup" are also required but present in the Beowulf repos).

#34 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-01 22:55:07

Sorry about the rant. I'm afraid these have been more frequent of late. But really.

So, about that mute button...

#36 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-01 18:34:41

fsmithred wrote:

If you only encrypt your home and swap, there may be other things at risk. For example, wireless passwords may be stored in /var or /etc in plain text.

Not on my watch.

60632948-6d127880-9dd6-11e9-9821-2aa08a639740.png

#37 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-01 14:16:55

Ok, so I think we can move on from the encryption stuff - but what about the other issues I encountered? I have searched for info about the non-working power button, and I've had partial success getting the volume buttons to work - albeit in a way that doesn't seem quite right. No luck with the lid close suspend, despite messing around with scripts in /etc/acpi/. I have never needed to fiddle with any of this stuff previously; it's always just worked - what am I doing wrong here?

Edit: Oh and I must apologise; I was indeed thinking of the "Expert install" flow in the ncurses set-up - I don't think I've ever used the other option. It's not as "expert" as it sounds though, I find it really quite easy to use, with sensible defaults for most things.

#38 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-01 13:11:08

dice wrote:

ecryptfs looks user specific, not something i would want added to an installer. ecryptfs might work for ones home directory but cryptsetup is the gold standard imo. I believe there is a lot more configuration to be done for ecryptfs as you need to first create the encryption while logged in then log out and migrate the user from another account probably root and then unwrap the passphrase, that seems out of bounds for an installer imo.

I don't know enough about encryption to give any advice, I just want my laptop to not be wide open for any smack-head who finds it, and encrypting my home directory (and swap) takes care of that. This should be enough to prevent anyone stealing my laptop from also getting into my eBay account, or reading my personal data (identity theft). I don't store any state secrets so can't say how appropriate this method is if you do.

I don't think I suggested that this should be part of the installer - that's really not for me to say. But what I can say is that the /home encryption methods provided by the installer are unsuitable for my use case, since they require a separate partition and two passphrases at every boot. That's not how I want my laptop to work, but I'm not here to tell anyone how they should configure their system.

And no, there isn't any "more configuration to do"; ecyptfs hooks into PAM (I think) and decrypts and mounts my /home/user seamlessly, whether it's a console or desktop log-in. I've never had an issue, and I've used this method since before I moved to Devuan - in fact it used to be the default behaviour on Ubuntu if you selected to encrypt your home during installation.

#39 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-02-01 12:43:21

fsmithred wrote:

I'm not familiar with this method. What installer uses encryptfs?

No I did it after installing a minimal system, and it's eCryptFS - a stacked filesystem that can be mounted on any directory and on top of the main file system.

sudo apt-get install ecryptfs-utils cryptsetup

Then, while logged in as a different sudo user to the one you want to encrypt /home for

sudo ecryptfs-migrate-home -u user

Where "user" is your username. When the command completes you must log out and back in as "user", before rebooting. Then you should generate a recovery passphrase and write this down somewhere safe (I typically just take a picture of it with my phone - which is also encrypted, with LUKS in fact).

ecryptfs-unwrap-passphrase

Finally, to make the system fully secure, you should also encrypt /swap

sudo ecryptfs-setup-swap

And that's pretty much all there is to it.

#40 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-01-31 16:21:42

I got the volume up/down and mute buttons working via the Keyboard control panel, adding each as a separate command:

amixer sset Master 5%+         XF86AudioRaiseVolume
amixer sset Master 5%-         XF86AudioLowerVolume
amixer sset Master toggle      XF86AudioMute

But the little LED on the mute button does not come on when I mute the audio. It does on the X230 I'm typing this on though - and it has none of these application shortcuts defined in the Keyboard applet.

#41 Re: Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-01-31 15:27:38

fsmithred wrote:
Lomax wrote:

with some nearly unusable GUI widgets, like a drop-down containing every European TZ location (this should be a scroll-window), and the keyboard layout selection sends you on a circuitous journey just so you can tell it that yeah, the keyboard layout is the same as the (already chosen) locale.

This is the standard graphical debconf interface as the graphical install and the exact same language, time zone and keyboard settings in the debian/devuan installer or with dpkg-reconfigure. And yes, it is correct to set the keyboard separate from the language.

Umm... That's not quite true; the text based set-up does default to a UK keyboard layout after you've chosen UK as your locale. And It doesn't put 100s of items in a drop-down list. And it doesn't force you to choose "Other" if you happen to be a non-US user.

fsmithred wrote:
Lomax wrote:

Many of the checkbox options are contradictory; for example I chose on one screen to disable the root account (btw - why does it say this is a bad idea!? It's a really good idea, and ought to be the default!) only to have the next ask me for a root password.

It only asks for a root password if you chose one of the options that preserves the root account. And making sudo the default is a really bad idea. Sudo is not meant to be a replacement for a root account, it's meant for fine-grained privilege escalation.

I respectfully beg to differ. Sudo is easier to audit, easier to administrate (by adding removing users from /etc/sudoers), and it will time out the escalated privileges after a certain interval, reducing the risk of leaving a machine unlocked with a root shell by accident. And if you really do need a root shell, sudo -i is your friend. I didn't come here to argue about that though - to each their own - but I wanted to mention that even when I chose the middle option on the first screen that said "use sudo / disable root account" I was still asked for a root password on the next screen, with another two checkboxes relating to root locking. The wording and function of these (five) checkboxes was pretty confusing.

Also, the installer died whenever I did something it didn't expect, like close a window or Ctrl+C a long running write of /dev/random to disk. The text based installer does not behave like this;  at any point you can go back and redo earlier steps, and cancelling the current step simply takes you back to the menu. Furthermore, as each step is completed it helpfully moves to the next item in the menu, skipping those steps which your choices have made redundant. It's always clear where you are, and what is left to do, and a lot of the time all you need to do is confirm the sensible defaults by pressing return. You also get a lot of options that were missing from the GUI installer, such as configuring the network, setting up NTP, fetching latest packages, choosing what to install...

fsmithred wrote:
Lomax wrote:

the hardware volume up/down/mute buttons don't work. TBH I don't think I tested them before removing pulseaudio, so I can't say if they were working or not, but they're defintely not working now. I can see that they generate the correct events with `acpi_listen`, but it seems nothing is listening to them? `lsmod` shows `thinkpad_acpi` is loaded, so that's not it.

In the Settings menu, go to Keyboard and Application Shortcuts and you can set up the volume keys to activate amixer. There are a few websites that explain how to get Thinkpad keys working in linux.

Oh thousands I'm sure. But they all talk about how to make them work with Pulseaudio. I'll have another look though, now that I have some idea where this is configured - thanks for that! It is odd that I haven't needed to do this on the Thinkpad X220 and X230 laptops I've previously installed Devuan on - maybe because I've built them from netinstall and up, maybe because there's some difference in how the hardware hotkeys work on the T410. 

fsmithred wrote:
Lomax wrote:

2) I was also surprised to see it ask me for an encryption password at boot; I'm used to the encrypted /home being automagically decrypted and mounted at log-on using ecryptfs (including encrypted swap). This should offer enough security for most users I would say, to hinder identity theft in case the laptop is lost or stolen. In any case I can't give the machine to my friend like this; he'd hate having to remember and type two different passwords to turn on his computer - or even the same one twice. I also didn't like how the installer (seemingly) forced me to use a separate partition for /home if I wanted it encrypted.

You have a few choices with this installer. You can install everything in one partition and have it encrypted. Your /boot directory will be part of the encypted partition. You will have to tell grub the passphrase to open it and start the boot. You will then have to repeat it for the kernel. This is referred to as full disk encryption, and it's a new feature in grub to be able ot deal with encrypted /boot.

You can encrypt the root filesystem and have /boot in a separate partition, unencrytped. You then have to give the passphrase during boot. Once.

You can optionally have a separate partition for /home. It's not mandatory, and I usually skip it on a laptop. If you choose to encrypt the separate /home, you will need to enter a passphrase for it, whether or not the root filesystem is encrypted. If you want to eliminate adding the second passphrase, you can create a key and have /home open automatically. This is only secure if the key is kept in an encrypted root filesystem (or a removable device).

You forgot the option I like to go with; use the user's login to decrypt /home. I'm not 100% sure how this bolts together (pam + ecryptfs?), but it certainly doesn't involve storing the decryption key in plain text on the machine, nor does /home need to be on a separate partition - I have to enter my (strong) password to decrypt and mount the directory as /home, but this is done seamlessly from the Slim login window. One login, two actions. And yes, I do think that's secure enough; it would take a pretty determined hacker to brute force my password, or to hijack my locked session if I left my laptop unattended in suspend somewhere - and if they can do that then it doesn't really matter how my data has been encrypted; if you're in you're in. It's not as if I'm storing the next Panama Papers or anything.

fsmithred wrote:
Lomax wrote:

I cannot get the laptop to sleep when I close the lid.

I found that it works just fine when you upgrade to chimaera, which is still in testing. Search the forum. There are a couple of discussions on how to get it working in earlier releases.

Ok, thanks, I'll take a look!

#42 Installation » SOLVED: Issues using "live" install on Thinkpad T410 » 2021-01-31 02:36:36

Lomax
Replies: 41

Hi all,

A friend gave me an old Thinkpad T410, which was timely, because I had just promised another friend that I would help set him up with a laptop that had a CD-ROM drive - which this machine happens to have. I thought it would be the perfect opportunity to introduce him to Linux, and of course went to download and install Devuan, which is what I use myself (thank you very much!). But I balked at the full install ISO at over four gigs - which would eat up a substantial chunk of my monthly bandwidth allowance - so thought I'd give the "live" ISO a shot, which is only just over one gig.

<rant>
Ok, first of all, I have to get this off my chest: I was not impressed by the GUI installer the live ISO comes with. It was throwing up terminal windows and other GUI apps (gparted) left right & centre - some of them partly off screen, and fell over if anything happened to get out of sync. It presented me with some nearly unusable GUI widgets, like a drop-down containing every European TZ location (this should be a scroll-window), and the keyboard layout selection sends you on a circuitous journey just so you can tell it that yeah, the keyboard layout is the same as the (already chosen) locale. Many of the checkbox options are contradictory; for example I chose on one screen to disable the root account (btw - why does it say this is a bad idea!? It's a really good idea, and ought to be the default!) only to have the next ask me for a root password. There are two options for /home encryption & partitioning, and many other things which confused me. I had to go through the process a few times before I got it right, and there was a fair amount of swearing. And when I finally thought I'd done everything properly I rebooted to find /home still under rootfs and not encrypted on a separate partition as I had expected it to be. So I had to start over again. The text based installer is a breeze to use by comparison and far more elegant and user friendly. A simple "Install Devuan on this computer" option in the GRUB menu, which launches the text-mode setup, is all that's needed, no?
</rant>

So anyway, I persevered, and got the system partitioned and installed the way I thought I wanted, but then I ran into some issues, which is really why I came here:

1) I was surprised to see Pulseaudio installed, and then I remembered that's why I always go with the netinstall ISO. Though I have never quite managed to get all the right packages installed from there to get a 100% fully functioning and smooth desktop experience - there's always something not quite right, like "reboot" and "shut down" from the menu taking me to the Slim login screen rather than rebooting (some dbus issue, perhaps?), and missing some control panel functionality, like the menu editor. But that's ok, I'm fine with that, and happy to use the console for a lot of stuff. But I want my friend to have a positive first experience of Linux, with a complete desktop environment and simple controls, so I went for the pre-packaged environment this time. Hey ho, it's easy enough to `apt-get autoremove pulseaudio` and `apt-get install apulse volumeicon-alsa`, which works perfectly - except the hardware volume up/down/mute buttons don't work. TBH I don't think I tested them before removing pulseaudio, so I can't say if they were working or not, but they're defintely not working now. I can see that they generate the correct events with `acpi_listen`, but it seems nothing is listening to them? `lsmod` shows `thinkpad_acpi` is loaded, so that's not it.

2) I was also surprised to see it ask me for an encryption password at boot; I'm used to the encrypted /home being automagically decrypted and mounted at log-on using ecryptfs (including encrypted swap). This should offer enough security for most users I would say, to hinder identity theft in case the laptop is lost or stolen. In any case I can't give the machine to my friend like this; he'd hate having to remember and type two different passwords to turn on his computer - or even the same one twice. I also didn't like how the installer (seemingly) forced me to use a separate partition for /home if I wanted it encrypted. In my experience slicing up a small SSDs into partitions inevitably leads to one or the other outgrowing its space, while there may be plenty of free space left on another one. I would make an exception for swap, since it doesn't need to grow, and /boot because it doesn't need much space, but /root and /home need to be able to grow unrestricted in a shared volume imo. So I went back and reinstalled again, now without /home encryption. I would still like to set it up though, for the /home directory, but when I checked my notes I found that unfortunately I haven't written down how I achieved this on my own laptop. Perhaps someone here knows the steps?

3) Possibly related to issue #1, I cannot get the laptop to sleep when I close the lid. The "Fn+F4" key combination works, as does choosing "Suspend" from the shutdown menu, but the lid refuses to trigger it. Again, `acpi_listen` shows the proper events (e.g. button/lid LID close), but nothing is listening. Similar thing with the power button; I have set it to "Ask" when the power button is pressed, but nothing happens - and here `acpi_listen` shows no events. Any ideas? Perhaps relevant is that the screen brightness controls do work, and even trigger a nice notification popup.

Phew. Well done if you made it through all that - and apologies for the rant; sometimes you just have to let it out. I love devuan and want to show others what a great alternative it is, not only to Windows but to other Linux flavours, so I'm prepared to invest some time in getting it just right. But unfortunately I have run into these problems which I cannot figure out on my own, so I'm hoping someone here may have some advice!

#43 Re: Hardware & System Configuration » Curious MicroSD storage issues after Beowulf upgrade » 2020-08-07 15:51:51

HevyDevy wrote:

what about what Hoas mentioned using sudo dmesg -w ? run that command and then insert some micro sd cards and see if there is any output to terminal?

Yeah, that was one of the first things I tried - I inserted a card and waited a good while (in case of logging being delayed by caching) but absolutely nothing happens.

#44 Re: Hardware & System Configuration » Curious MicroSD storage issues after Beowulf upgrade » 2020-08-07 11:47:30

With card inserted in SD Card slot:

$ lsblk --all
NAME           MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda              8:0    0 465.8G  0 disk  
├─sda1           8:1    0 457.9G  0 part  /
├─sda2           8:2    0     1K  0 part  
└─sda5           8:5    0   7.9G  0 part  
  └─cryptswap1 254:0    0   7.9G  0 crypt [SWAP]

and

# dmesg | grep mmc
[    2.443500] mmc0 bounce up to 128 segments into one, max segment size 65536 bytes
[    2.444147] mmc0: SDHCI controller on PCI [0000:02:00.0] using DMA

#45 Hardware & System Configuration » Curious MicroSD storage issues after Beowulf upgrade » 2020-08-04 20:14:48

Lomax
Replies: 5

I've got a Thinkpad X230 and MicroSD cards are not being detected in the SD Card slot or any of the USB ports. I have tested a handful of different MicroSD cards using different adapters, one MicroSD -> USB and three MicroSD -> SD Card, all with the same result: nothing. I've checked dmesg output as the card is inserted and nothing happens. lsblk shows nothing new when a card is inserted. lsusb (with card inserted via a USB adapter) also draws a blank: 

Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 04f2:b2ea Chicony Electronics Co., Ltd Integrated Camera [ThinkPad]
Bus 003 Device 003: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bdb:1926 Ericsson Business Mobile Networks BV H5321 gw Mobile Broadband Driver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lspcpi shows:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
02:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 07)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)

Note that the SD Host controller (by Ricoh) is shown. I have read through the dmesg output from boot to inserting a card and found

[    2.394226] sdhci: Secure Digital Host Controller Interface driver
[    2.394227] sdhci: Copyright(c) Pierre Ossman
[    2.443096] sdhci-pci 0000:02:00.0: SDHCI controller found [1180:e822] (rev 7)

But no errors or warnings relating to the PCI bus, the USB ports or the SD Card controller. And no other errors for that matter. MicroSD cards inserted via a USB adapter get warm, as if they were being accessed. Curious and frustrating - I work a lot with Raspberry Pis and often want to image MicroSD cards for back-up purposes, which I am now unable to do. I have tested a couple of "regular" USB sticks and they work fine. I have apt-get dist-upgraded and rebooted. I have apt-get install --reinstall udisks2 based on a tip I found on the web. I have modprobed sdhci with debug_quirks2="0x2" based on another tip. Few hours spent digging and I've hit bedrock - any ideas?

Edit: I should perhaps clarify that this used to work under ASCII - on the same machine with the same MicroSD cards and the same adapters. I did have an issue where I sometimes had to reboot after a suspend to get the Ricoh SD Card port to function, but it always came back.

#46 Re: News & Announcements » Beowulf Beta is here! » 2020-05-24 13:37:43

Thanks guys, I've learned a lot here - and yes, reboot went without issue, though I jumped as I saw the red boot screen big_smile Only niggle is slightly odd mouse pointer acceleration compared to what I'm used to (I'm a TrackPoint user), and that's really quite minor. I'll get used to it. Beowulf is noticeably faster than ASCII on my machine, which is great! Big thanks once again to the Devuan team for all the hard work you're putting into this project - it's clearly paying off!

#47 Re: News & Announcements » Beowulf Beta is here! » 2020-05-24 02:03:48

dev-1-dash-1 wrote:
Lomax wrote:

The upgrade seems to have gone well, but at the end of it I got a curious warning from update-initramfs:

If you have encrypted root try adding it to crypttab.

That warning means cryptsetup probably won't get included in initramfs unless you manually added it. So do fix it before going on.

If your root is unencypted you may boot but will have to unlock crypt partitions manually.

Thanks! I thought adding CRYPTSETUP=y to /usr/share/initramfs-tools/conf-hooks.d/cryptsetup was how to "manually add it" to initramfs, but since the warning persisted that's probably not correct. How should I do it? I don't have encrypted root, only swap partition and home directory. Home directory isn't decrypted at boot of course, and a missing swap partition should be easy to get around - but I'd still need to fix it...

Edit: Just saw your edited post.

dev-1-dash-1 wrote:

If you've only encrypted home and swap then you don't need cryptsetup in the initramfs and can ignore the warning. The root will be mounted and after that the cryptsetup binaries are accessible to the system in order to unlock the rest of partitions.

Excellent, then it is as I thought, and the warning is misleading. Thank you!

#48 Re: News & Announcements » Beowulf Beta is here! » 2020-05-24 01:28:49

The upgrade seems to have gone well, but at the end of it I got a curious warning from update-initramfs:

cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries 
    nor crypto modules. If that's on purpose, you may want to uninstall the 
    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs 
    integration and avoid this warning.

I have spent a good two hours trying to determine if this will mean my system won't boot (I have encrypted swap & home dir), but I'm still not quite sure. I understand that the wording of the warning is a little misleading; it's not saying you cannot include cryptsetup binaries in initramfs but that none are present although the systems may need one in order to boot. My crypptab: 

# <target name> <source device>         <key file>      <options>
cryptswap1 UUID=a01249eb-d97d-47d1-975e-3d34d2dfe94a /dev/urandom swap,offset=1024,cipher=aes-xts-plain64

Without really knowing what I'm doing I tried adding CRYPTSETUP=y to /usr/share/initramfs-tools/conf-hooks.d/cryptsetup and re-running update-initramfs -u but still got the same warning. I suspect the warning is spurious, and that my system will boot just fine, but I am loath to try without being sure. Can anyone confirm?

#49 Re: News & Announcements » Beowulf Beta is here! » 2020-05-23 22:41:49

That was easily fixed by simply doing

apt-get install libelogind0

I now get a clean upgrade plan in aptitude.

12:50 Press return.

#50 Re: News & Announcements » Beowulf Beta is here! » 2020-05-23 22:10:22

rolfie wrote:

Look at the Release Notes. You got the following issue:

libpolkit-backend-consolekit-1-0 <> elogind re. libpolkit-backend-elogind-1-0

Let your old VBox go, and re-install the latest version from Oracle directly.

rolfie

Great, thanks! I read up a bit on consolekit vs. elogind and decided to remove consolekit. I also removed Virtualbox, and all i386 packages, as well as the i386 architecture. Looking better now, but aptitude full-upgrade still chokes on

libelogind0 : Conflicts: libsystemd0 but 241-7~deb10u4 is to be installed

Board footer

Forum Software