Re: How to change the console font?

2017-09-28 Thread Dejan Jocic
On 27-09-17, Hugo Vanwoerkom wrote:
> I used to be able to change the console font with a GUI program.
> But I have forgotten how to do that. Console setup doesn't do it, I don't
> know what that does.
> 
> Can anybody help me out here?
> 
> Hugo (Sid)
> 

Don't know about GUI program, can't remember of any that was able to do
it. But, console settings are in /etc/default/console-setup. You can
edit those by hand, or run dpkg-reconfigure console-setup. That worked
for me.



Re: How to change the console font?

2017-09-28 Thread Elimar Riesebieter
* Hugo Vanwoerkom  [2017-09-27 21:14 -0500]:

> I used to be able to change the console font with a GUI program.
> But I have forgotten how to do that. Console setup doesn't do it, I don't
> know what that does.

dpkg-reconfigure console-setup

Elimar
-- 
  Obviously the human brain works like a computer.
  Since there are no stupid computers humans can't be stupid.
  There are just a few running with Windows or even CE ;-)



Re: How to change the console font?

2017-09-28 Thread igor80

Hi,

$ man setfont



--
igor



Re: An answer to "Gave up waiting for suspend/resume device"

2017-09-28 Thread Jimmy Johnson

On 09/27/2017 02:38 AM, Pascal Hambourg wrote:

Le 27/09/2017 à 10:37, Jimmy Johnson a écrit :

On 09/26/2017 02:25 AM, Pascal Hambourg wrote:

Le 26/09/2017 à 03:55, Jimmy Johnson a écrit :

Hi Mark, while multi-booting I use the device name in fstab,
/dev/sd?? none swap sw 0 0, it works for all my installed systems.


It is not always reliable with multiple drives, because device names 
are not stable across reboots. So it is advised to use persistent 
identifiers such as UUID or LABEL instead.


Yes, what you say is true, but not very often and from what I've seen 
is due to mainboard setup or defects in the mainboard causing the bad 
setup due to mainboard SATA connection being mislabeled.


No, it is due to the asynchronous nature of device probing and module 
loading by the kernel and udev in modern Linux systems.


Could be but I've only seen that problem on two computers out of easily 
more than 1000 and one of those was a mislabeled main board under 
warranty and the computer was replaced with another model and the other 
computer has taken out of service.


  But if everything is correct and you are using lets say sda1 as root 
in your fstab your system will use sda1 as the LABEL, I've seen this 
over and over.


Nonsense. sda1 is the block device name and does not have anything to do 
with the LABEL which is a filesystem metadata field.


But all this is advanced setup for people running more than one Linux 
system and having to edit UUID on all systems because you install a 
new system is undesirable.


No it does not have anything to do with multiple Linux systems.


In fstab a label is used as a device name, a uuid is used as a device 
name and /dev/sda1 is a device name, you are just trying to make 
nonsense out of nothing.


And editing multiple fstab config files because I've installed a new 
system is, like I said undesirable and why I use device names in both my 
fstab and grub boot menu.  As you know when a new system is installed 
swap is formatted and it's uuid gets changed every time it's formatted.


I do use labels on external plug and play drives though.
--
Jimmy Johnson

Debian Stretch - KDE Plasma 5.8.6 - AMD A8-7600 - EXT4 at sda6
Registered Linux User #380263



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Jimmy Johnson

On 09/26/2017 03:37 AM, Pierre Frenkiel wrote:

On Tue, 26 Sep 2017, Alexander V. Makartsev wrote:


Yes. It looks like sound card was detected and initialized, but Pulse
Audio was unable to set it as "default" automatically.
Have you tried to list and use available cards from alsa perspective
(your device names may be different)?


   I'm not sure that this is the problem, as the sound works correctly
   with the headphone, even with  speaker-test !
   I already tried with the different devices given by "aplay -L",
   and of course checked the output levels with alsamixer.
   for example: "speaker-test -Dsysdefault:Generic -c 2 -t sine"
   but never got any sound through the speaker.
   I remind you that the hardware is not involved, as the sound works
   with Windows 10.

best regards,



I've seen that problem before, the mini plug was not pushed in all the 
way and there was no sound.  I hope your problem is that simple.

--
Jimmy Johnson

Debian Stretch - KDE Plasma 5.8.6 - AMD A8-7600 - EXT4 at sda6
Registered Linux User #380263



System hardening: adding hidepid to /proc?

2017-09-28 Thread Brent Clark
Good day Guys

I came across this document:

https://linux-audit.com/linux-system-hardening-adding-hidepid-to-proc/

The idea is to increase security by hiding the display of running
processes, and their arguments, which belong to other users. This helps
avoid problems if users enter passwords on the command-line, and similar.

Its suggesting mount /proc with the option hidepid=2.

I would like to ask:

1) is it safe?

2) did you incur any issues?

3) what are your thoughts


The security audit tool, Lynis, also checks to see if /proc is mounted
hidepid?

[+] File systems

  - Checking mount points

snippet

  - Testing /proc mount (hidepid) [ OK ]

Many thanks

Brent

P.s. I see its not suggested in the ''Securing Debian Manual"





Re: An answer to "Gave up waiting for suspend/resume device"

2017-09-28 Thread Pascal Hambourg

Le 28/09/2017 à 09:39, Jimmy Johnson a écrit :

On 09/27/2017 02:38 AM, Pascal Hambourg wrote:

Le 27/09/2017 à 10:37, Jimmy Johnson a écrit :


  But if everything is correct and you are using lets say sda1 as 
root in your fstab your system will use sda1 as the LABEL, I've seen 
this over and over.


Nonsense. sda1 is the block device name and does not have anything to 
do with the LABEL which is a filesystem metadata field.


But all this is advanced setup for people running more than one Linux 
system and having to edit UUID on all systems because you install a 
new system is undesirable.


No it does not have anything to do with multiple Linux systems.


In fstab a label is used as a device name, a uuid is used as a device 
name and /dev/sda1 is a device name, you are just trying to make 
nonsense out of nothing.


A label or a UUID are not really used as device names, they are used 
*instead* of a device name.


Anyway, this is not the same as what you wrote earlier and is pure 
nonsense :


"your system will use sda1 as the LABEL"

Unless you meant "define 'sda1' as the filesystem/swap label and use 
LABEL='sda1' in /etc/fstab", which is a really bad use of labels leading 
to confusion between labels and device names. Labels are meant to be 
explicit about the contents, not the container.


And editing multiple fstab config files because I've installed a new 
system is, like I said undesirable and why I use device names in both my 
fstab and grub boot menu.  As you know when a new system is installed 
swap is formatted and it's uuid gets changed every time it's formatted.


The Debian installer does this, but I am not sure that all other distro 
installers do the same. Moreover, the Debian installer will format an 
existing swap only if that swap is marked for use (the trick is that all 
existing swaps are automatically marked for use by default, so you have 
to pay attention and unmark them if you do not want them to be 
formatted). IMO this is a real bug in the installer.


So my general policy when installing Debian is to mark any existing swap 
as "not used", and if I want to share an existing swap, I add the line 
manually in /etc/fstab in the new system after the installation.


To address this swap sharing issue you may be interested in the GPT 
partition scheme : among other advantages, it supports partition labels 
and UUIDs (PARTLABEL and PARTUUID) which are independent of the contents 
of the partition, so they do not change when the partition is formatted.

Debian supports them in /etc/fstab since Jessie.

Recent kernel emulates partition UUIDs with legacy MBR/DOS partition 
scheme, but they are less reliable because these PARTUUID contain the 
partition number, and logical partitions may be renumbered after 
creating or removing another logical partition. That is another reason 
not to use logical partition device names in /etc/fstab.




Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Pierre Frenkiel

On Thu, 28 Sep 2017, Jimmy Johnson wrote:

I've seen that problem before, the mini plug was not pushed in all the way and 
there was no sound.  I hope your problem is that simple.


  Hi Jimmy,
  it seems you missed these lines:
    the sound works correctly
  with the headphone, even with  speaker-test !

   So, the problem is not with the plug, as generally it must unplugged
   to get the sound through the speaker.

best regards,
--
Pierre Frenkiel 


How to use zram ?

2017-09-28 Thread Pierre Couderc
I have found no howto for zram under debian,  nor even the word "zram" 
in the archives of this list !


I have tried to use zramctl but it refuses with :

root@nous:~# zramctl --find --size 1024M
zramctl: no free zram device found

I suppose I should init something somewere, but what ?

On the contrary ubuntu has a dedicated zram-config to make the job.

Thanks for any help.

PC



Re: How to use zram ?

2017-09-28 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Sep 28, 2017 at 11:47:56AM +0200, Pierre Couderc wrote:
> I have found no howto for zram under debian,  nor even the word
> "zram" in the archives of this list !
> 
> I have tried to use zramctl but it refuses with :
> 
> root@nous:~# zramctl --find --size 1024M
> zramctl: no free zram device found
> 
> I suppose I should init something somewere, but what ?
> 
> On the contrary ubuntu has a dedicated zram-config to make the job.
> 
> Thanks for any help.

I didn't even know what it is -- but the zram(8) man page and a little
guesswork at least leads in some direction.

I assume you'd want to load the zram kernel module (sudo modprobe zram,
I'd guess) to be in in the fun.

There's some doc about the Linux kernel module itself (just follow the
link in the above man page).

Let us know how it works out and... make a backup first!

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlnMxz0ACgkQBcgs9XrR2kZbSgCeMWmf6rLtrc2ro65EuHj2S8rk
I68AnjQ+e0v2t2/N26mN5rYEE2eJ0GxX
=gYNH
-END PGP SIGNATURE-



Re: How to use zram ?

2017-09-28 Thread Pierre Couderc

On 09/28/2017 11:56 AM, to...@tuxteam.de wrote:

On Thu, Sep 28, 2017 at 11:47:56AM +0200, Pierre Couderc wrote:

I have found no howto for zram under debian,  nor even the word
"zram" in the archives of this list !

I have tried to use zramctl but it refuses with :

root@nous:~# zramctl --find --size 1024M
zramctl: no free zram device found

I suppose I should init something somewere, but what ?

On the contrary ubuntu has a dedicated zram-config to make the job.

Thanks for any help.

I didn't even know what it is -- but the zram(8) man page and a little
guesswork at least leads in some direction.

I assume you'd want to load the zram kernel module (sudo modprobe zram,
I'd guess) to be in in the fun.

There's some doc about the Linux kernel module itself (just follow the
link in the above man page).

Let us know how it works out and... make a backup first!


Thank you very much. I have not found "the zram(8) man page "... But It 
seems to work :


root@nous:~# modprobe zram num_devices=2
root@nous:~# zramctl --find --size 1024M
/dev/zram0
root@nous:~# zramctl --find --size 1024M
/dev/zram1
root@nous:~# free -th
  total    used    free  shared buff/cache   
available

Mem:   3.8G 73M    3.6G    5.5M 146M    3.5G
Swap:    0B  0B  0B
Total: 3.8G 73M    3.6G
root@nous:~# mkswap /dev/zram0
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=66e3aa01-a4b8-4308-b317-608c6a072810
root@nous:~# free -th
  total    used    free  shared buff/cache   
available

Mem:   3.8G 73M    3.6G    5.5M 146M    3.5G
Swap:    0B  0B  0B
Total: 3.8G 73M    3.6G
root@nous:~# swapon /dev/zram0
root@nous:~# free -th
  total    used    free  shared buff/cache   
available

Mem:   3.8G 73M    3.6G    5.5M 147M    3.5G
Swap:  1.0G  0B    1.0G
Total: 4.8G 73M    4.6G
root@nous:~# mkswap /dev/zram1
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=69b8070b-3b8d-4234-a773-a59812e54552
root@nous:~# swapon /dev/zram1
root@nous:~# free -th
  total    used    free  shared buff/cache   
available

Mem:   3.8G 74M    3.6G    5.5M 147M    3.5G
Swap:  2.0G  0B    2.0G
Total: 5.8G 74M    5.6G
root@nous:~#

Now I suppose I shouls put that in a systemd script...

Thank you very much.

PC





Re: How to change the console font?

2017-09-28 Thread Jonathan Dowland

On Wed, Sep 27, 2017 at 09:14:46PM -0500, Hugo Vanwoerkom wrote:

I used to be able to change the console font with a GUI program.
But I have forgotten how to do that. Console setup doesn't do it, I 
don't know what that does.


Can anybody help me out here?


I use 'setfont' from the kbd package. It sets it for the current
session. There's a related, but separate way to set it for the initial
sessions: edit /etc/default/console-setup. 


The fonts themselves (from which you can derive your specific list of
options) are stored in /usr/share/consolefonts/.

See the setfont(1) and console-setup(5) manual pages for more
information.

--

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄ Please do not CC me, I am subscribed to the list.



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Curt
On 2017-09-28, Pierre Frenkiel  wrote:
>
> So, the problem is not with the plug, as generally it must unplugged
> to get the sound through the speaker.
>

I suppose it is possible that the sensing circuitry or switch (?) in the
headphone jack is faulty or failing so that when you pull the headphone plug
out of the jack socket the audio signal isn't being switched to the speakers,
the plug's absence failing to be detected (or its presence continuing to
be).

I wonder if this hypothesis could be tested in software; it seems you can
do something like

 cat /proc/asound/card1/codec#0 | grep Pin-ctls
(if your sound card is card1 as mine is)

and look for values of "Pin-ctls=in" or "Pin-ctls=out" 

I obtain these values:


  Pin-ctls: 0x40: OUT
  Pin-ctls: 0x20: IN
  Pin-ctls: 0x20: IN
  Pin-ctls: 0x24: IN VREF_80
  Pin-ctls: 0x24: IN VREF_80
  Pin-ctls: 0x20: IN
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Pin-ctls: 0x20: IN
  Pin-ctls: 0x20: IN
  Pin-ctls: 0x40: OUT

But they remain the same whether I have my headphones plugged in or not
(I have no speakers).

Anyhow, this is probably a very wild goose chase and a waste of our
precious time.

-- 
"A simpering Bambi narcissist and a thieving, fanatical Albanian dwarf."
Christopher Hitchens, commenting shortly after the nearly concurrent deaths 
of Lady Diana and Mother Theresa.



Re: How to use zram ?

2017-09-28 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Sep 28, 2017 at 12:27:01PM +0200, Pierre Couderc wrote:
> On 09/28/2017 11:56 AM, to...@tuxteam.de wrote:

[...]

> >I didn't even know what it is -- but the zram(8) man page and a little
> >guesswork at least leads in some direction.

> Thank you very much. I have not found "the zram(8) man page "... But
> It seems to work :

Bah. I wanted to write  zramctl(8). How embarrasing :-)

But hey, glad it worked!

[...]

> Thank you very much.

Thank you for your detailed report.

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlnM5L4ACgkQBcgs9XrR2kYRWQCfXxhA/Bq8FAyACeu8APfnw3xL
K2kAn0HNrkI897O+IJcAxostl4agzEgb
=eWCd
-END PGP SIGNATURE-



Re: How to use zram ?

2017-09-28 Thread David Baron
On יום חמישי, 28 בספטמבר 2017 12:27:01 IDT Pierre Couderc wrote:
> On 09/28/2017 11:56 AM, to...@tuxteam.de wrote:
> > On Thu, Sep 28, 2017 at 11:47:56AM +0200, Pierre Couderc wrote:
> >> I have found no howto for zram under debian,  nor even the word
> >> "zram" in the archives of this list !
> >> 
> >> I have tried to use zramctl but it refuses with :
> >> 
> >> root@nous:~# zramctl --find --size 1024M
> >> zramctl: no free zram device found
> >> 
> >> I suppose I should init something somewere, but what ?
> >> 
> >> On the contrary ubuntu has a dedicated zram-config to make the job.
> >> 
> >> Thanks for any help.
> > 
> > I didn't even know what it is -- but the zram(8) man page and a little
> > guesswork at least leads in some direction.
> > 
> > I assume you'd want to load the zram kernel module (sudo modprobe zram,
> > I'd guess) to be in in the fun.
> > 
> > There's some doc about the Linux kernel module itself (just follow the
> > link in the above man page).
> > 
> > Let us know how it works out and... make a backup first!
> 
> Thank you very much. I have not found "the zram(8) man page "... But It
> seems to work :
> 
> root@nous:~# modprobe zram num_devices=2
> root@nous:~# zramctl --find --size 1024M
> /dev/zram0
> root@nous:~# zramctl --find --size 1024M
> /dev/zram1
> root@nous:~# free -th
>totalusedfree  shared buff/cache  
> available
> Mem:   3.8G 73M3.6G5.5M 146M3.5G
> Swap:0B  0B  0B
> Total: 3.8G 73M3.6G
> root@nous:~# mkswap /dev/zram0
> Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
> no label, UUID=66e3aa01-a4b8-4308-b317-608c6a072810
> root@nous:~# free -th
>totalusedfree  shared buff/cache  
> available
> Mem:   3.8G 73M3.6G5.5M 146M3.5G
> Swap:0B  0B  0B
> Total: 3.8G 73M3.6G
> root@nous:~# swapon /dev/zram0
> root@nous:~# free -th
>totalusedfree  shared buff/cache  
> available
> Mem:   3.8G 73M3.6G5.5M 147M3.5G
> Swap:  1.0G  0B1.0G
> Total: 4.8G 73M4.6G
> root@nous:~# mkswap /dev/zram1
> Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
> no label, UUID=69b8070b-3b8d-4234-a773-a59812e54552
> root@nous:~# swapon /dev/zram1
> root@nous:~# free -th
>totalusedfree  shared buff/cache  
> available
> Mem:   3.8G 74M3.6G5.5M 147M3.5G
> Swap:  2.0G  0B2.0G
> Total: 5.8G 74M5.6G
> root@nous:~#
> 
> Now I suppose I shouls put that in a systemd script...
> 
> Thank you very much.
> 
> PC

Did all this.
All my free -th results looked the same.
Could it be it was already there?

Assuming there is an advantage to this, how does one get it going on startup. 
I HAD a sysinit script for it at one time, before the new days of systend.



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Pierre Frenkiel

On Thu, 28 Sep 2017, Curt wrote:


On 2017-09-28, Pierre Frenkiel  wrote:


So, the problem is not with the plug, as generally it must unplugged
to get the sound through the speaker.



I suppose it is possible that the sensing circuitry or switch (?) in the
headphone jack is faulty or failing so that when you pull the headphone plug
out of the jack socket the audio signal isn't being switched to the speakers,
the plug's absence failing to be detected (or its presence continuing to
be).


   I said, in a previous post, that on Windows, the sound works for the
   speaker and the headphone...

best regards,
--
Pierre Frenkiel



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread davidson

On Mon, 25 Sep 2017, Pierre Frenkiel wrote:


On Mon, 25 Sep 2017, Alexander V. Makartsev wrote:


Probably some ALSA module or codec firmware is missing.
Look for errors in syslog and provide some information about what sound
codec is onboard your laptop mobo:
    $ sudo journalctl -b

Use "/" key to search for a string. Ex:
    /audio
    /hda
    /sound


the / is used in a lot of cases (editors, web browser,...)


...and pagers.


I don't understand what search key you are talking of.


You probably redirected the output of journactl.

By default journalctl sends its output to a pager. Most likely that
pager is of the less/more variety. And in such pagers, "/" is a
search-forward-from-point command, adhering to the convention you have
observed.

Also, 'more' or 'less' behave like 'cat' when you redirect their
output to something not a terminal (like to a file, or when it's piped
to 'grep', etc).[1]

That last bit probably has something to do with this:

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/more.html#tag_20_81

| If standard output is not a terminal device, all input files shall
| be copied to standard output in their entirety, without
| modification, except as specified for the -s option.

Anyways, when the pager behaves like 'cat', the search functionality
will be absent, obviously.

1. There's a punchline here about herding felines, but I'm not clever
enough to make it work.


Re: How to use zram ?

2017-09-28 Thread Gene Heskett
On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote:

> I have found no howto for zram under debian,  nor even the word "zram"
> in the archives of this list !
>
> I have tried to use zramctl but it refuses with :
>
A better question from me might be, what is it?

> root@nous:~# zramctl --find --size 1024M
> zramctl: no free zram device found
>
> I suppose I should init something somewere, but what ?
>
> On the contrary ubuntu has a dedicated zram-config to make the job.

No *buntu machines left here since lcnc switched to wheezy.

> Thanks for any help.
>
> PC


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: How to use zram ?

2017-09-28 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Sep 28, 2017 at 09:51:21AM -0400, Gene Heskett wrote:
> On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote:
> 
> > I have found no howto for zram under debian,  nor even the word "zram"
> > in the archives of this list !
> >
> > I have tried to use zramctl but it refuses with :
> >
> A better question from me might be, what is it?

It seems to be a way to swap out to "compressed RAM"[1] (sloppy, I know,
but you hopefully get the idea).

Cheers
[1] https://en.wikipedia.org/wiki/Zram

- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlnNAA8ACgkQBcgs9XrR2kZAvACfULuTdxKBC2/yxF3sZpZE/nqE
vtMAn0bCZHeg8q0sf5llO+XOR6didnHD
=yytZ
-END PGP SIGNATURE-



Security updates for Chromium on Debian Jessie

2017-09-28 Thread Daniel Bareiro
Hi all!

In the last DSA for the chromium-browser package (DSA-3985-1) I noticed
that the updates were released for stable, testing and unstable but not
for oldstable. I think the same thing happened with the previous update.

Maybe I'm missing something and Chromium on Jessie is no longer getting
security updates?


Thanks in advance.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: How to use zram ?

2017-09-28 Thread Gene Heskett
On Thursday 28 September 2017 09:58:39 to...@tuxteam.de wrote:

> On Thu, Sep 28, 2017 at 09:51:21AM -0400, Gene Heskett wrote:
> > On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote:
> > > I have found no howto for zram under debian,  nor even the word
> > > "zram" in the archives of this list !
> > >
> > > I have tried to use zramctl but it refuses with :
> >
> > A better question from me might be, what is it?
>
> It seems to be a way to swap out to "compressed RAM"[1] (sloppy, I
> know, but you hopefully get the idea).
>
I do have the kernel module, but not the zramctl. One is not useful w/o 
the other. But I learned something from this thread. Thanks.

> Cheers
> [1] https://en.wikipedia.org/wiki/Zram
>
> -- tomás


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: [sane-devel] Compatibility of the Irisscan executive 4 scanner

2017-09-28 Thread Alex ARNAUD

Le 28/09/2017 à 15:45, Olaf Meeuwissen a écrit :

Hi Alex,

Alex ARNAUD writes:


Dear all,

I install Debian GNU/Linux on computer for visual-impaired users and
I've a request about the compatibility of a Irisscan executive 4 scanner.

I've sought on the internet without finding any specific data about this
model.


Based on a quick `git grep -i iris` on the sane-backends source code,
the only Irisscan device known to be supported is the "Express 2".  If
the "executive 4" has a USB port, could you provide the USB product ID?

Connect the device, power it up, run `lsusb` and post the output.


Thank you very much for your reply and the reply of Floris.

I don't have the device at hand (it's not mine) but ASAP I'll post here 
the result of lsusb.


Best regards.
--
Alex ARNAUD
Visual-Impairment Project Manager
Hypra - "Humanizing technology"



Debian 9.1.0

2017-09-28 Thread Sumit Jain
While I was installing sudo in Debian it is not getting installed . It
shows that media change please insert the disc labelled.


Re: [sane-devel] Compatibility of the Irisscan executive 4 scanner

2017-09-28 Thread Olaf Meeuwissen
Hi Alex,

Alex ARNAUD writes:

> Dear all,
>
> I install Debian GNU/Linux on computer for visual-impaired users and
> I've a request about the compatibility of a Irisscan executive 4 scanner.
>
> I've sought on the internet without finding any specific data about this
> model.

Based on a quick `git grep -i iris` on the sane-backends source code,
the only Irisscan device known to be supported is the "Express 2".  If
the "executive 4" has a USB port, could you provide the USB product ID?

Connect the device, power it up, run `lsusb` and post the output.

Maybe that will turn up extra information.  I am sceptical about
that though, but see below.

> Do you know if this model is compatible with Sane and if yes where I
> could find a tutorial to install it?

If you want to use SANE on Debian GNU/Linux, all you really need to do
is install the sane-utils package.  Next make sure that your users are
members of the scanner and you should be able to use the `scanimage`
command-line utility.

# That's assuming your scanner is supported, of course.

If you have sane-utils installed already (quite likely if you installed
a graphical desktop environment), could you also provide the output of
running `sane-find-scanner`?

# Normally I see rather little value in running this command, but seeing
# that the Irisscan Express 2 is Plustek manufactured and supported by
# the gt68xx backend, it might give a clue as to the chipset which might
# be of use determining how easy/difficult adding support would be in
# case someone is interested in doing so.
#
# That's a lot of "if"s, so don't hold your breath waiting for support
# if your scanner is not supported already ;-)

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Curt
On 2017-09-28, Pierre Frenkiel  wrote:
> On Thu, 28 Sep 2017, Curt wrote:
>
>> On 2017-09-28, Pierre Frenkiel  wrote:
>>>
>>> So, the problem is not with the plug, as generally it must unplugged
>>> to get the sound through the speaker.
>>>
>>
>> I suppose it is possible that the sensing circuitry or switch (?) in the
>> headphone jack is faulty or failing so that when you pull the headphone plug
>> out of the jack socket the audio signal isn't being switched to the speakers,
>> the plug's absence failing to be detected (or its presence continuing to
>> be).
>
> I said, in a previous post, that on Windows, the sound works for the
> speaker and the headphone...

I missed that detail. Dual boot, is that it? Turn the volume way up in
Windows and use the function keys to make sure the speakers are turned
on and functioning before booting into Debian. Turn off hybrid shutdown,
or fast startup, or whatever it's called, as I've heard that can leave
hardware components in a hideous state. I'm not sure what you've tried
so far and I'm not going back to reread the entire thread so good luck.

> best regards,


-- 
"A simpering Bambi narcissist and a thieving, fanatical Albanian dwarf."
Christopher Hitchens, commenting shortly after the nearly concurrent deaths 
of Lady Diana and Mother Theresa.



Re: How to use zram ?

2017-09-28 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Sep 28, 2017 at 10:09:27AM -0400, Gene Heskett wrote:
> On Thursday 28 September 2017 09:58:39 to...@tuxteam.de wrote:

[...]

> I do have the kernel module, but not the zramctl. One is not useful w/o 
> the other. But I learned something from this thread. Thanks.

  tomas@rasputin:~$ apt-file search zramctl
  manpages-de: /usr/share/man/de/man8/zramctl.8.gz
  util-linux: /sbin/zramctl
  util-linux: /usr/share/bash-completion/completions/zramctl
  util-linux: /usr/share/man/man8/zramctl.8.gz

Remember Stacker? (this one is actually smarter, because when it *has* to
swap, the already compressed stuff gets swapped out, reducing I/O).

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlnNCR8ACgkQBcgs9XrR2ka0UwCfbkH03bofosgAL4l83j4TkcTj
9eIAniH5th9vcoLRRXjFhYjFr05uHWie
=wz54
-END PGP SIGNATURE-



Re: How to use zram ?

2017-09-28 Thread Pierre Couderc

On 09/28/2017 02:11 PM, David Baron wrote:


... But It seems to work :

root@nous:~# modprobe zram num_devices=2
root@nous:~# zramctl --find --size 1024M
/dev/zram0
root@nous:~# zramctl --find --size 1024M
/dev/zram1
root@nous:~# free -th
totalusedfree  shared buff/cache
available
Mem:   3.8G 73M3.6G5.5M 146M3.5G
Swap:0B  0B  0B
Total: 3.8G 73M3.6G
root@nous:~# mkswap /dev/zram0
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=66e3aa01-a4b8-4308-b317-608c6a072810
root@nous:~# free -th
totalusedfree  shared buff/cache
available
Mem:   3.8G 73M3.6G5.5M 146M3.5G
Swap:0B  0B  0B
Total: 3.8G 73M3.6G
root@nous:~# swapon /dev/zram0
root@nous:~# free -th
totalusedfree  shared buff/cache
available
Mem:   3.8G 73M3.6G5.5M 147M3.5G
Swap:  1.0G  0B1.0G
Total: 4.8G 73M4.6G
root@nous:~# mkswap /dev/zram1
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=69b8070b-3b8d-4234-a773-a59812e54552
root@nous:~# swapon /dev/zram1
root@nous:~# free -th
totalusedfree  shared buff/cache
available
Mem:   3.8G 74M3.6G5.5M 147M3.5G
Swap:  2.0G  0B2.0G
Total: 5.8G 74M5.6G
root@nous:~#

Now I suppose I shouls put that in a systemd script...

Thank you very much.

PC

Did all this.
All my free -th results looked the same.
Could it be it was already there?

Assuming there is an advantage to this, how does one get it going on startup.
I HAD a sysinit script for it at one time, before the new days of systend.


I have decided to use the following script and it seems to work :

git  clone https://github.com/Jiab77/systemd-zram
cd systemd-zram
./install.sh

You can the remove systemd-zram directory.

Here you can modify /etc/systemd/zram.conf from 33% to 50 for next 
reboot… But it is only to adopt the same policy as Ubuntu,  but the 
original prefers 33%...








Re: How to use zram ?

2017-09-28 Thread Richard Owlett

On 09/28/2017 05:27 AM, Pierre Couderc wrote:

[snip]
Thank you very much. I have not found "the zram(8) man page
[snip]


See https://manpages.debian.org/stretch/util-linux/zramctl.8.en.html







Re: How to use zram ?

2017-09-28 Thread Pierre Couderc



On 09/28/2017 03:51 PM, Gene Heskett wrote:

On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote:


I have found no howto for zram under debian,  nor even the word "zram"
in the archives of this list !

I have tried to use zramctl but it refuses with :


A better question from me might be, what is it?



https://en.wikipedia.org/wiki/Zram



Re: How to use zram ?

2017-09-28 Thread Pierre Couderc


On 09/28/2017 04:09 PM, Gene Heskett wrote:

On Thursday 28 September 2017 09:58:39 to...@tuxteam.de wrote:


On Thu, Sep 28, 2017 at 09:51:21AM -0400, Gene Heskett wrote:

On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote:

I have found no howto for zram under debian,  nor even the word
"zram" in the archives of this list !

I have tried to use zramctl but it refuses with :

A better question from me might be, what is it?

It seems to be a way to swap out to "compressed RAM"[1] (sloppy, I
know, but you hopefully get the idea).


I do have the kernel module, but not the zramctl. One is not useful w/o
the other. But I learned something from this thread. Thanks.

zramctl is delivered in basic stretch (ot I did install it witohut 
knowing...) but see my other post for its use.





Re: How to use zram ?

2017-09-28 Thread Nicholas Geovanis
I'm trying to wrap my head around what the performance implications (or
advantages) of zram might be in the virtualized environments. Currently for
me that means mostly VMware and a little Xen. There are at least two
aspects, namely its potential use in the hypervisor and use in the VMs.
Does anyone have any guidance on this issue?
Second question: Do we know how the AWS-branded linux AMIs make use of zram
if at all?
Thanks...Nick G

On Thu, Sep 28, 2017 at 9:54 AM, Pierre Couderc  wrote:

>
> On 09/28/2017 04:09 PM, Gene Heskett wrote:
>
>> On Thursday 28 September 2017 09:58:39 to...@tuxteam.de wrote:
>>
>> On Thu, Sep 28, 2017 at 09:51:21AM -0400, Gene Heskett wrote:
>>>
 On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote:

> I have found no howto for zram under debian,  nor even the word
> "zram" in the archives of this list !
>
> I have tried to use zramctl but it refuses with :
>
 A better question from me might be, what is it?

>>> It seems to be a way to swap out to "compressed RAM"[1] (sloppy, I
>>> know, but you hopefully get the idea).
>>>
>>> I do have the kernel module, but not the zramctl. One is not useful w/o
>> the other. But I learned something from this thread. Thanks.
>>
>> zramctl is delivered in basic stretch (ot I did install it witohut
> knowing...) but see my other post for its use.
>
>
>


Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Pierre Frenkiel

On Thu, 28 Sep 2017, davidson wrote:


By default journalctl sends its output to a pager. Most likely that
pager is of the less/more variety


  yes: in my case, it is less, but you can't do:
 "journalctl -b /audio"
  as you suggest:
   ->>journalctl -b  /audio
  Couldn't stat file: No such file or directory
  Actually, the syntax described in the journalctl man is:

journalctl [OPTIONS...] [MATCHES...]

but MATCHES is not a simple string, but something like
  "FIELD=VALUE"
  Anyway, "journalctl -b | grep -i audio" works perfectly.

best regards,
--
Pierre Frenkiel



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Pierre Frenkiel

On Thu, 28 Sep 2017, Curt wrote:


I missed that detail. Dual boot, is that it?

  yes


 Turn the volume way up in
Windows and use the function keys to make sure the speakers are turned
on and functioning before booting into Debian.


  After booting on Windows, I could hear the sound from the speakers, so
  they were actually turned on.
  After that, I did a normal reboot, and booted to Debian...and no sound
  on speakers. The most surprising is that even speaker-test gives a
  sound through the headphone.

best regards,
--
Pierre Frenkiel



Re: How to use zram ?

2017-09-28 Thread Gene Heskett
On Thursday 28 September 2017 10:37:19 to...@tuxteam.de wrote:

> On Thu, Sep 28, 2017 at 10:09:27AM -0400, Gene Heskett wrote:
> > On Thursday 28 September 2017 09:58:39 to...@tuxteam.de wrote:
>
> [...]
>
> > I do have the kernel module, but not the zramctl. One is not useful
> > w/o the other. But I learned something from this thread. Thanks.
>
>   tomas@rasputin:~$ apt-file search zramctl
>   manpages-de: /usr/share/man/de/man8/zramctl.8.gz
>   util-linux: /sbin/zramctl
Not in the x86 wheezy's util-linux, nor as separate package.
>   util-linux: /usr/share/bash-completion/completions/zramctl
>   util-linux: /usr/share/man/man8/zramctl.8.gz
>
> Remember Stacker? (this one is actually smarter, because when it *has*
> to swap, the already compressed stuff gets swapped out, reducing I/O).
>
Yes, not fondly though, it was NOT a stable utility.

This sounds handy on a memory starved machine. And at 8GB in this 
machine, I'm still using swap, with a 13 hour uptime, 22megs almost as 
soon as I'd rebooted, and still 22. Which I don't fully grok, htop says 
22 megs used for swap, and only about 60% of that 8GB in use. 2258M for 
actual programs. Linux's memory management does not impress me, I have a 
couple machines with only 2GB of ram that can do what this box is doing, 
albeit slower because they are, and I really have to push then hard to 
make them use any swap. Only the pi-3b with only 1 GB is into swap, but 
I've moved its swap out of the sd to rotating media and its much better 
behaved, and feels faster at 5 megs into swap than it ever was using the 
32GB sd card for swap. Well worth the $50 for a 1/4" thick seagate 
terrabyte with a usb-2 cable sticking out of it.

Now wallies has it with a usb-3 cable, I've put one on the rock64, and 
with 2+ days uptime it hasn't touched its 8GB of rotating swap. But its 
also not yet running x, having locale problems that apt and dpkg can't 
fix.

root@rock64:~# dpkg-reconfigure locale
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or 
directory
locale: Cannot set LC_ALL to default locale: No such file or directory
dpkg-query: package 'locale' is not installed and no information is 
available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locale is not installed
root@rock64:~# apt install locale
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package locale

And there is indeed, no /etc/locale file on the rock64 install.  
locale.alias, which is missing any mention of en_US.  Puzzling.

> Cheers
> -- t

Thanks Thomas

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Debian 9.1.0

2017-09-28 Thread Dan Ritter
On Thu, Sep 28, 2017 at 07:41:42PM +0530, Sumit Jain wrote:
> While I was installing sudo in Debian it is not getting installed . It
> shows that media change please insert the disc labelled.

You have configured your system to look for packages on a CD or
DVD.

The configuration is in /etc/apt/  in the sources.list file or
the sources.list.d directory.

You must configure at least one reachable apt repository to get
this to work.

For example:


deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main

-dsr-



Re: How to use zram ?

2017-09-28 Thread Greg Wooledge
On Thu, Sep 28, 2017 at 11:42:47AM -0400, Gene Heskett wrote:
> This sounds handy on a memory starved machine. And at 8GB in this 
> machine, I'm still using swap, with a 13 hour uptime, 22megs almost as 
> soon as I'd rebooted, and still 22. Which I don't fully grok, htop says 
> 22 megs used for swap, and only about 60% of that 8GB in use.

Freeing up the memory used by idle daemons and other layabouts lets the
system devote more memory to disk caching.



Re: How to use zram ?

2017-09-28 Thread Pascal Hambourg

Le 28/09/2017 à 15:58, to...@tuxteam.de a écrit :


It seems to be a way to swap out to "compressed RAM"

Actually zram is just a compressed ramdisk block device.
It can be used as swap space or anything else.



Re: How to use zram ?

2017-09-28 Thread Pascal Hambourg

Le 28/09/2017 à 16:37, to...@tuxteam.de a écrit :


Remember Stacker?


The disk compression tool for MS-DOS ?


(this one is actually smarter, because when it *has* to
swap, the already compressed stuff gets swapped out, reducing I/O).


From what I have read about zram, I did not get the impression that its 
contents can be swapped out to disk.


Aren't you confusing with zswap (compressed cache associated to a 
regular swap device) ?





Re: Security updates for Chromium on Debian Jessie

2017-09-28 Thread Sven Joachim
On 2017-09-28 11:08 -0300, Daniel Bareiro wrote:

> In the last DSA for the chromium-browser package (DSA-3985-1) I noticed
> that the updates were released for stable, testing and unstable but not
> for oldstable. I think the same thing happened with the previous update.
>
> Maybe I'm missing something and Chromium on Jessie is no longer getting
> security updates?

It seems that the maintainer is overworked and cannot provide Jessie
updates for chromium anymore[1].  Somebody else said he might be looking
at it[2], but that was six weeks ago and nothing happened so far.

So while it is not clear when chromium in jessie will be EOL'ed, it
seems advisable to switch to some other browser for now (if you want a
package from Debian, firefox-esr is the only option).

Cheers,
   Sven


1. https://lists.debian.org/debian-security/2017/07/msg9.html
2. https://lists.debian.org/debian-security/2017/08/msg00010.html



Re: How to use zram ?

2017-09-28 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Sep 28, 2017 at 06:01:10PM +0200, Pascal Hambourg wrote:
> Le 28/09/2017 à 16:37, to...@tuxteam.de a écrit :
> >
> >Remember Stacker?
> 
> The disk compression tool for MS-DOS ?
> 
> >(this one is actually smarter, because when it *has* to
> >swap, the already compressed stuff gets swapped out, reducing I/O).
> 
> From what I have read about zram, I did not get the impression that
> its contents can be swapped out to disk.
> 
> Aren't you confusing with zswap (compressed cache associated to a
> regular swap device) ?
> 

Perhaps.

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlnNLiYACgkQBcgs9XrR2kZopwCeK40dj8XFx4Cczrs6Y4srgEPD
4usAni46wbqngwAxBJ39CGzHnKJZ9SaY
=BHql
-END PGP SIGNATURE-



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Patrick Bartek
On Thu, 28 Sep 2017 14:48:27 +0200 (CEST) Pierre Frenkiel
 wrote:

> On Thu, 28 Sep 2017, Curt wrote:
> 
> > On 2017-09-28, Pierre Frenkiel  wrote:
> >>
> >> So, the problem is not with the plug, as generally it must
> >> unplugged to get the sound through the speaker.
> >>
> >
> > I suppose it is possible that the sensing circuitry or switch (?)
> > in the headphone jack is faulty or failing so that when you pull
> > the headphone plug out of the jack socket the audio signal isn't
> > being switched to the speakers, the plug's absence failing to be
> > detected (or its presence continuing to be).
> 
> I said, in a previous post, that on Windows, the sound works for
> the speaker and the headphone...

I don't know if this will help, but I read a post somewhere (don't
remember where) of someone who had troubles with the Ideapad 110S
-- sound, touchpad, suspend, etc. -- after replacing Windows 10 with
Stretch.  Installing a newer kernel from Stretch-Backports rectified
those issues along with non-free firmware in the Stretch Repos and/or
proprietary drivers.

I'm interested in any solutions you discover.  I'm looking at the 110S
as a light, compact "travel" notebook.

B



Re: Security updates for Chromium on Debian Jessie

2017-09-28 Thread Daniel Bareiro
Hi, Sven.

On 28/09/17 14:13, Sven Joachim wrote:

>> In the last DSA for the chromium-browser package (DSA-3985-1) I noticed
>> that the updates were released for stable, testing and unstable but not
>> for oldstable. I think the same thing happened with the previous update.
>>
>> Maybe I'm missing something and Chromium on Jessie is no longer getting
>> security updates?

> It seems that the maintainer is overworked and cannot provide Jessie
> updates for chromium anymore[1].  Somebody else said he might be looking
> at it[2], but that was six weeks ago and nothing happened so far.
> 
> So while it is not clear when chromium in jessie will be EOL'ed, it
> seems advisable to switch to some other browser for now (if you want a
> package from Debian, firefox-esr is the only option).
>
> 
> 1. https://lists.debian.org/debian-security/2017/07/msg9.html
> 2. https://lists.debian.org/debian-security/2017/08/msg00010.html

Thanks for the observation and the references. I was not aware of this.

Here I am using both Firefox and Chromium since sometimes I need to test
some things in both browsers (for example some WebRTC application such
as Jitsi Meet).

Thanks for your reply.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Debian v9 it's a stretch

2017-09-28 Thread tony mollica
Been off the mailing list for a short time but I found something that's 
probably common knowledge by now, but I'll post it anyway.


After a fresh install of Stretch my networking, especially my wifi 
networking, took a turn for the worse, neither NM nor wicd working to 
any degree of connection reliablility.  There were some other problems, 
too.


Aftera another fresh install to a new hdd with all the mods I like in 
place (nvidia) and a new motherboard, processor (4.5Ghz FX) and video 
the network problems persist.  BUT, found one email to a list that 
indicated the problem was likely the persistent network naming being 
incompatible (read 'names too long') with some of the firmware/drivers, 
especially for USB wifi adapters.


Killed the persistent network interface naming and all the network stuff 
now works perfectly.


If the 'old' naming conventions are going away with Debian 10 then maybe 
someone should let the driver folks know this, if not already.


tjm



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Pierre Frenkiel

On Thu, 28 Sep 2017, Patrick Bartek wrote:


I don't know if this will help, but I read a post somewhere (don't
remember where) of someone who had troubles with the Ideapad 110S
-- sound, touchpad, suspend, etc. -- after replacing Windows 10 with
Stretch.  Installing a newer kernel from Stretch-Backports rectified
those issues along with non-free firmware in the Stretch Repos and/or
proprietary drivers.

 I have already the latest kernel version, but I would be interested
  having some details about these non-free firmware and drivers.
  Up to now, googling gave me nothing about that.

best regards,
--
Pierre Frenkiel



Re: An answer to "Gave up waiting for suspend/resume device"

2017-09-28 Thread David Wright
On Thu 28 Sep 2017 at 10:29:27 (+0200), Pascal Hambourg wrote:
> Le 28/09/2017 à 09:39, Jimmy Johnson a écrit :
> >On 09/27/2017 02:38 AM, Pascal Hambourg wrote:
> >>Le 27/09/2017 à 10:37, Jimmy Johnson a écrit :
> >
> >>>  But if everything is correct and you are using lets say sda1
> >>>as root in your fstab your system will use sda1 as the LABEL,
> >>>I've seen this over and over.
> >>
> >>Nonsense. sda1 is the block device name and does not have
> >>anything to do with the LABEL which is a filesystem metadata
> >>field.
> >>
> >>>But all this is advanced setup for people running more than
> >>>one Linux system and having to edit UUID on all systems
> >>>because you install a new system is undesirable.
> >>
> >>No it does not have anything to do with multiple Linux systems.
> >
> >In fstab a label is used as a device name, a uuid is used as a
> >device name and /dev/sda1 is a device name, you are just trying to
> >make nonsense out of nothing.
> 
> A label or a UUID are not really used as device names, they are used
> *instead* of a device name.
> 
> Anyway, this is not the same as what you wrote earlier and is pure
> nonsense :
> 
> "your system will use sda1 as the LABEL"
> 
> Unless you meant "define 'sda1' as the filesystem/swap label and use
> LABEL='sda1' in /etc/fstab", which is a really bad use of labels
> leading to confusion between labels and device names. Labels are
> meant to be explicit about the contents, not the container.
> 
> >And editing multiple fstab config files because I've installed a
> >new system is, like I said undesirable and why I use device names
> >in both my fstab and grub boot menu.  As you know when a new
> >system is installed swap is formatted and it's uuid gets changed
> >every time it's formatted.
> 
> The Debian installer does this, but I am not sure that all other
> distro installers do the same. Moreover, the Debian installer will
> format an existing swap only if that swap is marked for use (the
> trick is that all existing swaps are automatically marked for use by
> default, so you have to pay attention and unmark them if you do not
> want them to be formatted). IMO this is a real bug in the installer.
> 
> So my general policy when installing Debian is to mark any existing
> swap as "not used", and if I want to share an existing swap, I add
> the line manually in /etc/fstab in the new system after the
> installation.

In the past I have used the VC2 shell to swapon immediately the
partitioner has formatted the partitions (but not swap), ie just
before "Install the base system". This has never caused a problem
for me, but the Installation Guide says:

"In particular, you should always use [sic] let the installer activate
your swap partition and not do this yourself from a shell." (§6.3.8.2)

Any idea why?

Cheers,
David.



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Jimmy Johnson

On 09/28/2017 11:38 AM, Pierre Frenkiel wrote:

On Thu, 28 Sep 2017, Patrick Bartek wrote:


I don't know if this will help, but I read a post somewhere (don't
remember where) of someone who had troubles with the Ideapad 110S
-- sound, touchpad, suspend, etc. -- after replacing Windows 10 with
Stretch.  Installing a newer kernel from Stretch-Backports rectified
those issues along with non-free firmware in the Stretch Repos and/or
proprietary drivers.

  I have already the latest kernel version, but I would be interested
   having some details about these non-free firmware and drivers.
   Up to now, googling gave me nothing about that.

best regards,


Installing package firmware-linux in Stretch will pull in all the 
firmware, free, non-free, etc.

--
Jimmy Johnson

Ubuntu 16.04 LTS - KDE Plasma 4.8.5 -AMD A8-7600 - EXT4 at sda5
Registered Linux User #380263



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Curt
On 2017-09-28, Pierre Frenkiel  wrote:
> On Thu, 28 Sep 2017, Patrick Bartek wrote:
>
>> I don't know if this will help, but I read a post somewhere (don't
>> remember where) of someone who had troubles with the Ideapad 110S
>> -- sound, touchpad, suspend, etc. -- after replacing Windows 10 with
>> Stretch.  Installing a newer kernel from Stretch-Backports rectified
>> those issues along with non-free firmware in the Stretch Repos and/or
>> proprietary drivers.
>   I have already the latest kernel version, but I would be interested
>having some details about these non-free firmware and drivers.
>Up to now, googling gave me nothing about that.
>
> best regards,


Realtek offers a proprietary driver for linux (last updated 2014).

Looks like you have to compile it.

http://airbornesurfer.com/2015/04/how-to-install-realtek-hd-audio-driver-in-linux/

-- 
"A simpering Bambi narcissist and a thieving, fanatical Albanian dwarf."
Christopher Hitchens, commenting shortly after the nearly concurrent deaths 
of Lady Diana and Mother Theresa.



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Pierre Frenkiel

On Thu, 28 Sep 2017, Jimmy Johnson wrote:

Installing package firmware-linux in Stretch will pull in all the firmware, 
free, non-free, etc.


   they are already installed, but only firmware-linux-free is not empty,
   and I don't see something useful (for me) in it.



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Pierre Frenkiel

On Thu, 28 Sep 2017, Curt wrote:


Realtek offers a proprietary driver for linux (last updated 2014).

Looks like you have to compile it.

http://airbornesurfer.com/2015/04/how-to-install-realtek-hd-audio-driver-in-linux/


thanks Curt for this information. I'll look at it to-morrow

best regards,
--
Pierre Frenkiel



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Patrick Bartek
On Thu, 28 Sep 2017 20:38:13 +0200 (CEST) Pierre Frenkiel
 wrote:

> On Thu, 28 Sep 2017, Patrick Bartek wrote:
> 
> > I don't know if this will help, but I read a post somewhere (don't
> > remember where) of someone who had troubles with the Ideapad 110S
> > -- sound, touchpad, suspend, etc. -- after replacing Windows 10 with
> > Stretch.  Installing a newer kernel from Stretch-Backports rectified
> > those issues along with non-free firmware in the Stretch Repos
> > and/or proprietary drivers.
>   I have already the latest kernel version, but I would be interested
>having some details about these non-free firmware and drivers.
>Up to now, googling gave me nothing about that.

4.9?  Or 4.11 or 4.12?

B



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Alexander V. Makartsev
Yeah, I'm still waiting for a reply with requested information from Pierre.
Kinda hate it, when people asking for help and assumes everyone here has
telepathic abilities. :(


On 29.09.2017 01:57, Patrick Bartek wrote:
> On Thu, 28 Sep 2017 20:38:13 +0200 (CEST) Pierre Frenkiel
>  wrote:
>
>> On Thu, 28 Sep 2017, Patrick Bartek wrote:
>>
>>> I don't know if this will help, but I read a post somewhere (don't
>>> remember where) of someone who had troubles with the Ideapad 110S
>>> -- sound, touchpad, suspend, etc. -- after replacing Windows 10 with
>>> Stretch.  Installing a newer kernel from Stretch-Backports rectified
>>> those issues along with non-free firmware in the Stretch Repos
>>> and/or proprietary drivers.
>>   I have already the latest kernel version, but I would be interested
>>having some details about these non-free firmware and drivers.
>>Up to now, googling gave me nothing about that.
> 4.9?  Or 4.11 or 4.12?
>
> B
>



Oracle E-Business Suite Users

2017-09-28 Thread Helen Berg
Hello there,
Would you be interested in Oracle E-Business Suite Users List.
Information: Company Name, Web Address, Contact Name, Contact Title, Mailing 
Address, Phone, Fax, Sales Volume, Employee Size, Industry, SIC Code, NAICS 
Code, Email.
Some of our top selling technology lists similar to AS Oracle E-Business Suite 
are:
Related Technology

Total Companies Using

Microsoft 
Exchange

256,256

Microsoft Exchange 2003

29,125

SAP Business 
Objects

25,901

Microsoft Exchange 2010

24,728

Sybase

24,636


Please review and let me know your interest if you are looking for above 
mentioned list.
Looking forward to hear from you.

Regards,

Helen Berg

Marketing Executive


If you are not interested in receiving further emails, please answer back with 
"overlook" in the title.



Re: image created by debootstrap does not work

2017-09-28 Thread 慕 冬亮


On 09/27/2017 12:42 PM, Reco wrote:
> On Wed, Sep 27, 2017 at 04:32:34PM +, 慕 冬亮 wrote:
>>
>> On 09/22/2017 04:02 PM, Reco wrote:
>>> 
>>>
>>>   Hi.
>>>
>>> On Fri, Sep 22, 2017 at 07:07:28PM +, 慕 冬亮 wrote:
 qemu-system-x86_64 -kernel /boot/vmlinuz-4.12.0-1-amd64 -hda
 qemu-stretch.img -append "root=/dev/sda1 single"
>> One small problem I have modified, sda1 => sda.
>> There is no any partition in image file.
 However, the result shows that "VFS: unable to mount root fs".
>>> And that's exactly how it should be. I'm not sure about jessie's kernel,
>>> but stretch one has ext support built as a module (CONFIG_EXT4_FS=m).
>>>
>>> Meaning - if you want to boot from ext2/ext4 filesystem you'll need
>>> initrd. This qemu invocation does not supply one.
>> I tried the following command, that uses the default initrd in /boot,
>> but dead loop "floopy error -5 while reading block 0"
>>
>> qemu-system-x86_64 -kernel /boot/vmlinuz-4.12.0-1-amd64 -initrd
>> /boot/initrd.img-4.12.0-1-amd64 -hda qemu-stretch.img -append
>> "root=/dev/sda single"
> There is other thread at this mailllist that also shows some curious
> breakage of stock Debian initrd if it's forced to boot from
> non-partitioned drive.
>
> My gut feeling is you can not force it to work unless you rebuild
> initrd.
>
>
 I learn the method from the following website:

 https://www.collabora.com/news-and-blog/blog/2017/01/16/setting-up-qemu-kvm-for-kernel-development/
>>> I'm genuinely surprised that such method worked for them.
>> I have learned how to use busybox as basic environment.
>> Is that any tutorial to show how to make debian debootstrap image as
>> basic environment?
> apt-get install vmdebootstrap
>
> man vmdebootstrap -- search for SYNOPSIS
This works. Thanks.
> Reco

-- 

My best regards to you.

  No System Is Safe!
  Dongliang Mu



Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Patrick Bartek
On Fri, 29 Sep 2017 02:10:28 +0500 "Alexander V. Makartsev"
 wrote:

> Yeah, I'm still waiting for a reply with requested information from
> Pierre. Kinda hate it, when people asking for help and assumes
> everyone here has telepathic abilities. :(
> 
> 
> On 29.09.2017 01:57, Patrick Bartek wrote:
> > On Thu, 28 Sep 2017 20:38:13 +0200 (CEST) Pierre Frenkiel
> >  wrote:
> >
> >> On Thu, 28 Sep 2017, Patrick Bartek wrote:
> >>
> >>> I don't know if this will help, but I read a post somewhere (don't
> >>> remember where) of someone who had troubles with the Ideapad 110S
> >>> -- sound, touchpad, suspend, etc. -- after replacing Windows 10
> >>> with Stretch.  Installing a newer kernel from Stretch-Backports
> >>> rectified those issues along with non-free firmware in the
> >>> Stretch Repos and/or proprietary drivers.
> >>   I have already the latest kernel version, but I would be
> >> interested having some details about these non-free firmware and
> >> drivers. Up to now, googling gave me nothing about that.
> > 4.9?  Or 4.11 or 4.12?
> >
> > B

Well, patience IS a virtue . . . suppositorily. ;-)

B 



Re: Splitting MP3 files (again)

2017-09-28 Thread Thomas Amm
On Tue, 26 Sep 2017 23:05:15 +0200
deloptes  wrote:

> Thomas Amm wrote:
> 
> > Have you tried mp3split-gtk? Should do exactly that.  
> 
> I installed now mp3splt-gtk
> 
> It looks like it would do exactly what I need, but when I press the
> play button, it says "gstreamer error: Internal data stream error"
> 
> (22:26:24) Warning: No decoder available for type 'application/x-id3'.
> (22:26:24) gstreamer error: Your GStreamer installation is missing a
> plug-in.
> (22:26:24) gstreamer error: Internal data stream error.
> 
> installed the crap gstreamer1.0-plugins-good and it worked as
> expected.
> 
> The only problem left is that it does not produce the splitted file
> names from the original file.
> 
> It says "description here_part1.mp3"
> 
> I don't know if it is the file name itself is a problem. If you have
> some other nice advice, it's welcome
> 
> thank you all
> 
> regards
> 

You can generate somewhat better file names from the preferences or
-much better- you could use a tagging tool like exfalso or easytag to
create metadata and mp3splt will do the naming from these. There's also
an option to generate metadata (i.e. tags) from the filename but I have
never tried that.


-- 
--
Backup not found: (A)bort (R)etry (P)anic



Debian 9 bluetooth fails worked on Debian 8 (firmware) bluetooth hci0: firmware: failed to load brcm/BCM20702A1-0b05-17cf.hcd

2017-09-28 Thread Len Berman
I copied firmware from Deb8 to Deb9; however, the file name needed to
change from BCM20702A1-0b05-17cf.hcd to BCM20702A0-0b05-17cf.hcd, so
when I copied the file, it still didn't work.  It took a while to see
that the file mentioned in dmesg >>really<< wasn't present.

Don't let it happen to you.



Re: Debian 9.1.0

2017-09-28 Thread David Christensen

On 09/28/17 07:11, Sumit Jain wrote:

While I was installing sudo in Debian it is not getting installed . It
shows that media change please insert the disc labelled.


The Debian package management system uses a configuration file and a 
configuration directory to determine where to obtain software packages. 
These are:


/etc/apt/sources.list

/etc/apt/sources.list.d


The Debian installer will create a default package management 
configuration file and an empty package management configuration 
directory for you during installation.



This is what the default package management configuration file looked 
like after I did a fresh install of Debian 9.1.0 amd64 XFCE on the 
machine I am using:


2017-09-28 19:20:33 dpchrist@tinkywinky 
~/tinkywinky.tracy.holgerdanske.com/etc/apt

$ cvs update -r 1.1 -p sources.list | nl
 1  #

 2	# deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 
xfce-CD Binary-1 20170722-11:29]/ stretch main


 3	deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 
xfce-CD Binary-1 20170722-11:29]/ stretch main


 4  deb http://approx:/debian/ stretch main
 5  deb-src http://approx:/debian/ stretch main

 6  deb http://security.debian.org/debian-security stretch/updates main
 7	deb-src http://security.debian.org/debian-security 
stretch/updates main


 8  # stretch-updates, previously known as 'volatile'
 9  deb http://approx:/debian/ stretch-updates main
10  deb-src http://approx:/debian/ stretch-updates main


Lines 1, 2, and 8 are commented out; they have no effect.


Line 3 is an entry for the installation media.  While it says "cdrom", I 
installed from a USB flash drive.  This is why apt-get(8), or whatever 
package management tool you are using, is asking you to change media 
when you try to install a package -- the media was mounted during 
installation, the package management system is still expecting the media 
to be mounted, but the media was not mounted when you tried to install a 
package.  So, the package management system told you to change media and 
mount the installation media.



Lines 4, 5, 9, and 10 were created by the Debian installer per my 
"Debian archive mirror country" and "Debian archive mirror hostname" 
choices during installation -- I choose "enter information manually" and 
entered "approx:", respectively.  (My local Approx server -- 
https://en.wikipedia.org/wiki/Approx .)



Lines 6 and 7 were created by the Debian installer automatically.


You have at least two choices:

1.  Insert and/or mount the installation media before you install a package.

2.  As root, comment out the "cdrom" line in sources.list, run 'apt-get 
update', and then install a package.



HTH,

David



Re: Restore backup to KVM

2017-09-28 Thread solitone

On 28/09/17 08:58, Reco wrote:

It's initrd that first tries to mount tmpfs filesystems on /root (and
fails), and only *then* mounts your root filesystem to /root (with the
intention to switch to it as /).


Is the stock initrd supposed to work like this? When I boot my 
production system, I end up with tmpfs mounted on /run:


$ df
Filesystem   1K-blocks  Used  Available Use% Mounted on
udev   4027784 04027784   0% /dev
tmpfs   807952  1352 806600   1% /run
/dev/sda5 85825416  58793224   22629416  73% /
tmpfs  4039744  49724034772   1% /dev/shm
tmpfs 5120 4   5116   1% /run/lock
tmpfs  4039744 04039744   0% /sys/fs/cgroup
/dev/sda1   201633 23678 177955  12% /boot/efi
tmpfs   807948 0 807948   0% /run/user/113
tmpfs   80794820 807928   1% /run/user/1000

Also, I don't understand why it needs to mount the root filesystem to /root.




Re: no sound on Lenovo Ideapad 110

2017-09-28 Thread Cindy-Sue Causey
On 9/28/17, Patrick Bartek  wrote:
> On Thu, 28 Sep 2017 20:38:13 +0200 (CEST) Pierre Frenkiel
>  wrote:
>
>> On Thu, 28 Sep 2017, Patrick Bartek wrote:
>>
>> > I don't know if this will help, but I read a post somewhere (don't
>> > remember where) of someone who had troubles with the Ideapad 110S
>> > -- sound, touchpad, suspend, etc. -- after replacing Windows 10 with
>> > Stretch.  Installing a newer kernel from Stretch-Backports rectified
>> > those issues along with non-free firmware in the Stretch Repos
>> > and/or proprietary drivers.
>>   I have already the latest kernel version, but I would be interested
>>having some details about these non-free firmware and drivers.
>>Up to now, googling gave me nothing about that.
>
> 4.9?  Or 4.11 or 4.12?

4.13.4 :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *



Re: Restore backup to KVM

2017-09-28 Thread Reco
Hi.

On Fri, Sep 29, 2017 at 06:30:21AM +0200, solitone wrote:
> On 28/09/17 08:58, Reco wrote:
> > It's initrd that first tries to mount tmpfs filesystems on /root (and
> > fails), and only *then* mounts your root filesystem to /root (with the
> > intention to switch to it as /).
> 
> Is the stock initrd supposed to work like this? When I boot my production
> system, I end up with tmpfs mounted on /run:
> 
> $ df
> Filesystem   1K-blocks  Used  Available Use% Mounted on
> udev   4027784 04027784   0% /dev
> tmpfs   807952  1352 806600   1% /run
> /dev/sda5 85825416  58793224   22629416  73% /

These are initrd doing.


> tmpfs  4039744  49724034772   1% /dev/shm
> tmpfs 5120 4   5116   1% /run/lock
> tmpfs  4039744 04039744   0% /sys/fs/cgroup
> /dev/sda1   201633 23678 177955  12% /boot/efi
> tmpfs   807948 0 807948   0% /run/user/113
> tmpfs   80794820 807928   1% /run/user/1000

These are mounted by whatever init you're using (e.g. /etc/fstab,
sysvinit, systemd).


> Also, I don't understand why it needs to mount the root filesystem to /root.

Tomorrow I'll do some test, read the source, etc. I don't understand it
too so far.