Re: radeon black screen

2017-03-13 Thread Felix Miata

David Wright composed on 2017-03-13 23:43 (UTC-0500):


Another oddity is that dmesg always says (both then and now):
[drm] Loading R300 Microcode
radeon :01:00.0: firmware: failed to load radeon/R300_cp.bin (-2)
radeon :01:00.0: Direct firmware load failed with error -2
radeon :01:00.0: Falling back to user helper
[drm:r100_cp_init] *ERROR* Failed to load firmware!
radeon :01:00.0: failed initializing CP (-12).
radeon :01:00.0: Disabling GPU acceleration



However, if I feed it radeon/R300_cp.bin (by installing
firmware-linux-nonfree), the display goes blank soon afterwards.


Which kernel(s)?


lspci -vv gives:



01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
RV350/M10 [Mobility Radeon 9600 PRO Turbo] (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device 005d
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B+ DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- 

Your comment bolsters my suspicion that Linux kernel support may have regressed 
lately for Radeon "AGP" gfxchips marketed in parallel to PCIe versions:


https://lists.opensuse.org/opensuse/2017-03/msg00163.html

Similar wasted a bunch of my time very recently:
https://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c30

One must wonder how much time and effort kernel devs devote to testing on 
ancient, mostly 32-bit, hardware.

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: radeon black screen

2017-03-13 Thread Felix Miata

David Wright composed on 2017-03-13 23:43 (UTC-0500):


When you say get rid of drivers, is that just things like
xserver-xorg-video-foo, or do you also mean things like
kernel modules?


1-In the context of only FOSS in use, I had only Xorg in mind.

2-In the context of proprietary drivers having been installed: everything, 
completely clean house. I never pay any attention to or use proprietary drivers, 
so can't presume what if anything they do to or with the kernel that could 
interfere with having FOSS work as expected. FOSS drivers unusually need users 
to tinker with kernel modules.

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: radeon black screen

2017-03-13 Thread David Wright
On Mon 13 Mar 2017 at 19:30:32 (-0400), Felix Miata wrote:

> Simplest way to use is purge all traces of Intel, proprietary and
> AMD/ATI drivers, install xserver-xorg-video-modesetting, then
> restart.

When you say get rid of drivers, is that just things like
xserver-xorg-video-foo, or do you also mean things like
kernel modules?

This laptop uses AFAICT the xserver-xorg-video-radeon
package (xserver-xorg-video-all is installed) with lines like:
(II) LoadModule: "radeon"

But long before this, the kernel loads a module called radeon.
I think the latter sometimes gives me problems. For example,
during the previous kernel, exiting X would often lead to the
machine apparently sleeping. The only way of awakening it was
pressing the power button momentarily, whereupon it would wake
up only to shutdown. Well, at least that avoided fscking.

Another oddity is that dmesg always says (both then and now):
[drm] Loading R300 Microcode
radeon :01:00.0: firmware: failed to load radeon/R300_cp.bin (-2)
radeon :01:00.0: Direct firmware load failed with error -2
radeon :01:00.0: Falling back to user helper
[drm:r100_cp_init] *ERROR* Failed to load firmware!
radeon :01:00.0: failed initializing CP (-12).
radeon :01:00.0: Disabling GPU acceleration

However, if I feed it radeon/R300_cp.bin (by installing
firmware-linux-nonfree), the display goes blank soon afterwards.

lspci -vv gives:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
RV350/M10 [Mobility Radeon 9600 PRO Turbo] (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device 005d
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B+ DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- 

Re: radeon black screen

2017-03-13 Thread Felix Miata

Catherine Gramze composed on 2017-03-14 02:18 (UTC):


As I mentioned in my first post, it is a display issue. The BIOS boot screen
never displays, nor does any of the boot sequence, when using the Radeon R9
270X card. Forcing it into the BIOS setup won't make it display the screen
it can't display without forcing it into BIOS. Hence, all setup has to be
done using the integrated Intel graphics, with the switch to the PCI graphics
card the final step

Something is defective, MSI's motherboard BIOS/firmware, Radeon's VBIOS,
hardware, display or some combination. If all acquired together, it ought to 
have been taken up with the vendors when new so that you would have had

some recourse. Maybe you still can. Do you have the latest motherboard
BIOS/firmware?
From https://www.msi.com/Motherboard/support/Z87-G43.html#down-bios :

"2015-05-12 1.B
- Improved AMD Graphic card compatibility.
...
- Updated VBIOS and GOP Driver.
- Hide item "IGD Multi-Monitor" when "Initiate Graphic Adapter" set to IGD."

Run dmidecode to see if yours is older. 1.A is 2014-07-29. 1.9 is 2014-07-07. 
... 1.0 2013-04-02.



In Wheezy I had 4K using either the Radeon or the integrated graphics. In
Jessie I can only use the integrated graphics.

Now that you have shared this tidbit we know that either your hardware has gone
bad between Wheezy and Jessie, or a software regression has occurred. If the
latter, it should have been reported as a bug so that it could be fixed. The
devs don't spend much time fixing what they don't know is broken. Stretch is
just about ready to go out the door, so it's probably already too late to expect
a report to result in a fix in Debian's "next" release.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: why??why?why??

2017-03-13 Thread David Wright
On Sun 12 Mar 2017 at 17:57:19 (+0900), Mark Fletcher wrote:
> On Fri, Mar 10, 2017 at 02:09:22AM +, Shahryar Afifi wrote:
> > 
> > why o why...
> > why debian keeps getting fancier like other operating system.
> > debian is a linux machine, not some toy like apple.
> > we dont need gnome 3 taking too much ram, in fact we dont need any 
> > graphical runtime. 
> > they dont wanna support  the poor wheezy for what ??? and why ??
> > its the most stable OS ever.. thats why they called it old stable.
> > why cant i add libpam-fprindt 1:0.5 to my wheezy so i can run my 
> > fingerprint ??
> > why nautilus in jessie is so fancy ??
> > when i work on my wheezy, everything is just right even when they say "its 
> > init and PID runs one by one" so what.. its a computer and should look like 
> > and act like a computer.
> > i dont wanna give up my reliability to some fancy mancy..
> > :(
> >  
> > SH.A
> > 
> 
> This is yet another of those threads where the OP never returns after 
> dropping their troll bomb... the only why oh why here is why oh why do 
> we collectively never learn not to feed the trolls...

The OP is the guy still trying to get a fingerprint reader
working. Three posts so far.

Perhaps, like me, they were perfectly happy with running wheezy
but, unlike me, they have a piece of new hardware that requires
a more modern kernel or whatever.

Cheers,
David.



Re: Guide(s?) to backup philosophies

2017-03-13 Thread David Christensen

On 03/13/2017 07:12 AM, Dan Ritter wrote:

... we need image backups over the network to the server.


Clonezilla?


David



Re: Guide(s?) to backup philosophies

2017-03-13 Thread David Christensen

On 03/13/2017 05:38 AM, Dan Purgert wrote:

Currently, the system here is

 - every PC has a cronjob backing up $HOME to a central "server" (read -
   repurposed PC with decent WD drives), just an rsync script that runs
   daily.


Don't forget security:

1.  With a "push" arrangement (e.g. each workstation backs up itself to 
the server) -- if a workstation gets compromised, the backups are at risk.


2.  With a "pull" arrangement (e.g. the server backs up all the 
workstations) -- if a workstation gets compromised, the backups should 
be safe (and might have clues about the intrusion).  Additionally, the 
backup server can be completely firewalled (e.g. no open ports).



I prefer the latter.


David



Re: claws-mail sending failure

2017-03-13 Thread David Wright
On Mon 13 Mar 2017 at 11:35:31 (-0500), Charles E. Blair wrote:
>I have been using claws-mail for several years.  After
> I changed the server used for sending mail, receiving has
> continued to work but not sending.
> 
>When I closed claws-mail after a failure, my screen
> displayed
> 
> > Warning SSL connection failed (A TLS packet with
> > unexpected length was received)
> > Warning couldn't start TLS session
> 
>I reproduce below part of ./claws-mail/claws.log
> 
>Any advice on how to fix things would be appreciated.

What was the previous server and port number that you used
previously for sending?

I can connect to smtp.illinois.edu on port 587 just fine, though
I obviously have no login credentials (and don't want any).

It looks to me as if you may be connecting unencrypted, and then
trying to start TLS. I connected encrypted, received a certificate,
and then I said "ehlo junk". I received:

250-smtp.illinois.edu Hello [192.17.23.217]
250-SIZE 104857600
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH GSSAPI NTLM LOGIN
250-8BITMIME
250-BINARYMIME
250 CHUNKING

It seems a bit dated, having AUTH LOGIN but no PLAIN.
I think that just means you send the username and password separately,
rather than together in one line.

> [11:12:42] * message: Account 'c-bl...@imap.illinois.edu': Connecting to SMTP 
> server: smtp.illinois.edu ...
> [11:12:42] SMTP< 220 smtp.illinois.edu Microsoft ESMTP MAIL Service ready at 
> Mon, 13 Mar 2017 11:12:41 -0500
> [11:12:42] ESMTP< 250-smtp.illinois.edu Hello [192.17.23.217]
> [11:12:42] ESMTP< 250-STARTTLS
> [11:12:42] ESMTP> STARTTLS
> [11:12:42] ESMTP< 220 2.0.0 SMTP server ready
> [11:12:42] ** warning: couldn't start TLS session
> [11:12:42] *** error: Error occurred while sending the message.

Cheers,
David.



Re: MBR partitioning, and content after partition table but before first partition

2017-03-13 Thread David Christensen

On 03/13/2017 02:01 AM, Jonathan Dowland wrote:

On Fri, Mar 10, 2017 at 10:00:45PM -0800, David Christensen wrote:

I'd always put a step 0) in there: is imaging what you want to do? Consider
a file-level backup with rsync (etc etc, as discussed elsewhere in this
thread)


I do imaging for system disks.  I do backups and archives for data.


So having evangelised file-level copies a few times in this thread, I found
myself wondering if I would have been better off with imaging this very
weekend. Copying a 2.1T filesystem from an internal SATA2 disk to an external
one (my regular backup drive to my once-a-month, lives off-site one) via USB3
took nearly 48 hours via "rsync -a",


2.1 TB / 48 hr / 3600 s/hr = 12.2 MB/s

I was also disappointed by the transfer rate of external USB drives on 
Debian.  Firewire is better.  eSATA is best.



I now use 3 TB Seagate ST3000DM001 desktop drives in StarTech 
DRW115SATBK mobile docks connected to motherboard and/or HBA SATA ports. 
 With LUKS and a Pentium D 945 (no AES-NI), I see 40 MB/s.  With LUKS 
and a Core i7-2600S (AES-NI), I see 220 MB/s.




and the destination ended up bigger,
possibly because one or more of the backups on the source had been using some
kind of hardlink de-dupe (I've ranted about hardlink trees being a problem in
various backup topics on -user, too...) and I didn't think to supply -S to
rsync.


-S is for sparse files.


Doing a quick test, it appears that rsync copies hard linked files as if 
each were a different file:


2017-03-13 20:33:46 dpchrist@jesse ~/sandbox/rsync
$ cat hard-link
#!/bin/sh
# Test 'rsync -a' and hard links
# $Id: hard-link,v 1.2 2017/03/14 03:33:15 dpchrist Exp $
# by David Paul Christensen dpchr...@holgerdanske.com
# Public Domain
rm -rf hard-link-1
rm -rf hard-link-2
mkdir hard-link-1
mkdir hard-link-2
echo "hello, world!" > hard-link-1/hello.txt
ln hard-link-1/hello.txt hard-link-1/link-1.txt
ln hard-link-1/hello.txt hard-link-1/link-2.txt
ln hard-link-1/hello.txt hard-link-1/link-3.txt
ln hard-link-1/hello.txt hard-link-1/link-4.txt
ls -li hard-link-1/*
du -b hard-link-1/*
rsync -a hard-link-1/ hard-link-2
ls -li hard-link-2/*
du -b hard-link-2/*

2017-03-13 20:34:18 dpchrist@jesse ~/sandbox/rsync
$ sh hard-link
271759 -rw-r--r-- 5 dpchrist dpchrist 14 Mar 13 20:34 hard-link-1/hello.txt
271759 -rw-r--r-- 5 dpchrist dpchrist 14 Mar 13 20:34 hard-link-1/link-1.txt
271759 -rw-r--r-- 5 dpchrist dpchrist 14 Mar 13 20:34 hard-link-1/link-2.txt
271759 -rw-r--r-- 5 dpchrist dpchrist 14 Mar 13 20:34 hard-link-1/link-3.txt
271759 -rw-r--r-- 5 dpchrist dpchrist 14 Mar 13 20:34 hard-link-1/link-4.txt
14  hard-link-1/hello.txt
271760 -rw-r--r-- 1 dpchrist dpchrist 14 Mar 13 20:34 hard-link-2/hello.txt
271761 -rw-r--r-- 1 dpchrist dpchrist 14 Mar 13 20:34 hard-link-2/link-1.txt
271762 -rw-r--r-- 1 dpchrist dpchrist 14 Mar 13 20:34 hard-link-2/link-2.txt
271763 -rw-r--r-- 1 dpchrist dpchrist 14 Mar 13 20:34 hard-link-2/link-3.txt
271764 -rw-r--r-- 1 dpchrist dpchrist 14 Mar 13 20:34 hard-link-2/link-4.txt
14  hard-link-2/hello.txt
14  hard-link-2/link-1.txt
14  hard-link-2/link-2.txt
14  hard-link-2/link-3.txt
14  hard-link-2/link-4.txt


Is anyone aware of a utility that can walk a file system and replace 
identical files with hard links?




The real test will be how long an incremental catch-up will take in the future.


For new large files, the size of the files divided by 12.2 MB/s.  For 
everything else, longer.



David



Re: radeon black screen

2017-03-13 Thread Catherine Gramze



On Mar 13, 2017, at 09:50 PM, Felix Miata  wrote:

Catherine Gramze composed on 2017-03-13 20:56 (UTC-0400):
Probably not impossible, but difficult I cannot doubt. It ought to go into setup 
automatically regardless of video connection if you do a BIOS reset via jumper 
or battery removal. If the difficulty is lack of keyboard response at boot, you 
can probably work around it by plugging in a PS/2 keyboard.


As I mentioned in my first post, it is a display issue. The BIOS boot screen 
never displays, nor does any of the boot sequence, when using the Radeon R9 
270X card. Forcing it into the BIOS setup won't make it display the screen it 
can't display without forcing it into BIOS. Hence, all setup has to be done 
using the integrated Intel graphics, with the switch to the PCI graphics card 
the final step. 


Please explain just what benefit I might derive
from installing the server video driver you mention rather than the Intel
desktop one I am using now.
What I was doing was offering a possible way to utilize your Radeon, via a 
driver which happens also to support most non-ancient Intel gfxchips.


Thank you. While I would prefer to use the Radeon card, the Intel graphics are 
quite sufficient, and do indeed provide me with 4K resolution. Why mess with 
success, e.g 4K graphics and access to the BIOS?


Will it provide me with a 4K display?
I have no idea whether your 4K display is compatible with anything in Jessie. 
Pure Jessie might be too old.

Since my Intel graphics work perfectly in Jessie, at 4K, I see no reason why 
the more powerful Radeon card would not. 

You haven't provided model or known modes supported of either your display or 
your CPU, or your cable connection type you're using or have tried to use, or 
what mode you actually want to use. These limit what help you might be able to 
get from any mailing list.


Please provide a reference that states my card is supported by it, as well.
Full specifications for the R9 270X seem to be a secret. I searched the web 
without finding out what specific modes it is supposed to support.


e.g. https://us.msi.com/Graphics-card/R9-270X-GAMING-2G.html#hero-specification 
suggests it ought not be the limitation, but lists no modes at all.


http://xfxforce.com/en-us/products/amd-radeon-r9-200-series/amd-radeon-r9-270x-double-dissipation-edition-r9-270x-cdfc
says maximum resolution via Dual-link DVI is 2560x1600. That's less than 4K, so 
you can't use that cable type to get 4K. With the right DisplayPort or HDMI 
cable, you should be able to get 4K, but cables don't always live up to claimed 
specifications.


I don't have your hardware, so can't guarantee anything.

I am indeed using a Displayport cable; my HDMI cables don't work at 4K. In 
Wheezy I had 4K using either the Radeon or the integrated graphics. In Jessie I 
can only use the integrated graphics. The fglrx driver is incompatible (with 
Gnome3 apparently, but it must be all aspects of Gnome3 as I use xfce with the 
gdm). As I mentioned before, blank screen. It apparently boots, but nothing 
ever displays, using the radeon driver. I am waiting patiently to see what 
Stretch brings in this area. 

You did not mention whether the driver you recommend provides 4K support, or a 
reference confirming it supports my card.

Re: radeon black screen

2017-03-13 Thread Felix Miata

Catherine Gramze composed on 2017-03-13 20:56 (UTC-0400):


​Both are not usable simultaneously. My BIOS requires me to disable the
on-board graphics to use the Radeon card. ​Getting into BIOS is impossible
with the Radeon in use.
Probably not impossible, but difficult I cannot doubt. It ought to go into setup 
automatically regardless of video connection if you do a BIOS reset via jumper 
or battery removal. If the difficulty is lack of keyboard response at boot, you 
can probably work around it by plugging in a PS/2 keyboard.



Please explain just what benefit I might derive
from installing the server video driver you mention rather than the Intel
desktop one I am using now.
What I was doing was offering a possible way to utilize your Radeon, via a 
driver which happens also to support most non-ancient Intel gfxchips.



Will it provide me with a 4K display?
I have no idea whether your 4K display is compatible with anything in Jessie. 
Pure Jessie might be too old.


You haven't provided model or known modes supported of either your display or 
your CPU, or your cable connection type you're using or have tried to use, or 
what mode you actually want to use. These limit what help you might be able to 
get from any mailing list.



Please provide a reference that states my card is supported by it, as well.


Full specifications for the R9 270X seem to be a secret. I searched the web 
without finding out what specific modes it is supposed to support.


e.g. https://us.msi.com/Graphics-card/R9-270X-GAMING-2G.html#hero-specification 
suggests it ought not be the limitation, but lists no modes at all.


http://xfxforce.com/en-us/products/amd-radeon-r9-200-series/amd-radeon-r9-270x-double-dissipation-edition-r9-270x-cdfc
says maximum resolution via Dual-link DVI is 2560x1600. That's less than 4K, so 
you can't use that cable type to get 4K. With the right DisplayPort or HDMI 
cable, you should be able to get 4K, but cables don't always live up to claimed 
specifications.


I don't have your hardware, so can't guarantee anything.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Flash proplem

2017-03-13 Thread Ben Caradoc-Davies

On 14/03/17 12:36, Maureen L Thomas wrote:

Please disregard my last post.  I realized my mistake and corrected it
and it worked.  I now have flash.  Thank you very much for your patience
and help.


Great! Thanks for letting us know. (I guess that you spotted that you 
needed a capital letter "O" not zero "0" for the tar option.)


This really should be easier. There are other reports of this problem 
(and a workaround similar to mine):

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851066

Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: radeon black screen

2017-03-13 Thread Catherine Gramze
On Mon, Mar 13, 2017 at 7:30 PM, Felix Miata  wrote:

> Catherine Gramze composed on 2017-03-13 18:49 (UTC-0400):
>
> Is Plymouth installed?


​No, it is not. I checked.​

According to that URI it is a refresh of Radeon HD 7870 that apparently
> nobody ever updated Wikipedia to include. The Radeon HD 7870 is a Pitcairn
> XT (Southern Islands), originally released 5 years ago.
>
>
>> What I wrote was "driver that supports 'both' gfxchips". I meant these
> drivers:
>
> http://mirrors.us.kernel.org/debian/pool/main/x/xserver-xorg
> -video-modesetting/
>
> Simplest way to use is purge all traces of Intel, proprietary and AMD/ATI
> drivers, install xserver-xorg-video-modesetting, then restart. Ideally it
> would be used automatically by both the Pitcairn and the gfx built into
> whatever Intel CPU is onboard your MSI Z87-43G, assuming both are actually
> usable.
>
>>

> I've not tried to find and read the manual for your motherboard, but it's
>> typical that installation of a gfxcard in a PCIe slot defeats the ability
>> to use the onboard gfx. In some cases, it is supported, but requires
>> special BIOS configuration. It may be lack of support for your several year
>> old Pitcairn is actually blocked by a motherboard BIOS/Firmware/Setup
>> setting that enables use of Intel onboard gfx, not by anything Jessie is
>> doing.
>>
>
> ​Both are not usable simultaneously. My BIOS requires me to disable the
on-board graphics to use the Radeon card. ​Getting into BIOS is impossible
with the Radeon in use. Please explain just what benefit I might derive
from installing the server video driver you mention rather than the Intel
desktop one I am using now. Will it provide me with a 4K display? Please
provide a reference that states my card is supported by it, as well.


Re: If Linux Is About Choice, Why Then ...

2017-03-13 Thread Martin Read

On 14/03/17 00:20, Miles Fidelman wrote:

Actually, there have been numerous bugs filed against both
debian-installer and debootstrap about failures of the --include and
--exclude statements --- that directly effect the ability to specify
sysvinit instead of systemd.  I don't recall seeing close messages about
all of them.


Ah. I hadn't gone delving into the details of the bugs, so I was just 
going by bug titles.




Re: If Linux Is About Choice, Why Then ...

2017-03-13 Thread Miles Fidelman

On 3/13/17 4:33 PM, Martin Read wrote:


On 13/03/17 19:30, Patrick Bartek wrote:

The Linux mantra has always been "choice," plethoras of choices. So why
at install time, is there no choice for the init system?


Looking at the BTS page for package 'debian-installer', nobody seems 
to have filed a wishlist bug requesting this feature.


This seems like at least a contributory reason.


Actually, there have been numerous bugs filed against both 
debian-installer and debootstrap about failures of the --include and 
--exclude statements --- that directly effect the ability to specify 
sysvinit instead of systemd.  I don't recall seeing close messages about 
all of them.


Miles Fidelman



--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra



Re: Flash proplem

2017-03-13 Thread Maureen L Thomas
Please disregard my last post.  I realized my mistake and corrected it 
and it worked.  I now have flash.  Thank you very much for your patience 
and help.

Maureen

On 03/13/2017 05:58 PM, Maureen L Thomas wrote:



On 03/13/2017 05:00 PM, Ben Caradoc-Davies wrote:

On 13/03/17 13:06, Maureen L Thomas wrote:
My version of firefox is 45.830esr-1-deb7u1.  It shows in add-ons 
and is

activated with version 10.1r999.  At the website it is 24.0.0221.  I am
using a 64 bit machine with jessie on it.  Hope this helps.


Please keep emails on-list.

The flash with version 10.1r999 is I think GNU gnash. I would try 
uninstalling the gnash package to see if your problem is caused by 
some conflict or gnash being used for some sites that really need 
Adobe Flash. I have had no success with gnash.


Once gnash is uninstalled, please again check the version of 
Shockwave Flash in Tools / Add-ons / Plugins and on the Adobe about 
page:

http://www.adobe.com/software/flash/about/

Kind regards,

I un-installed gnash and I no longer have any flash in Plugins and the 
adobe page stated it needed a plugin to use it.  I also re-installed 
flash-nonfree but still no reading in Plugins.







Re: If Linux Is About Choice, Why Then ...

2017-03-13 Thread Martin Read

On 13/03/17 19:30, Patrick Bartek wrote:

The Linux mantra has always been "choice," plethoras of choices. So why
at install time, is there no choice for the init system?


Looking at the BTS page for package 'debian-installer', nobody seems to 
have filed a wishlist bug requesting this feature.


This seems like at least a contributory reason.



Re: radeon black screen

2017-03-13 Thread Felix Miata

Catherine Gramze composed on 2017-03-13 18:49 (UTC-0400):

...

appear? If Plymouth is installed, have you tried removing it?


Is Plymouth installed?


monitor. Of course, the obvious issues with my graphics card means I don't
Did you try the driver that supports both gfxchips? Devs are trying to get
away from chip-specific drivers:
http://www.phoronix.com/scan.php?page=news_item=Ubuntu-De
bian-Abandon-Intel-DDX



In Jessie the modesetting driver is still a separate package, but
beginning in server 1.17 it's built into the server. With the modesetting X
driver installed and ATI and Intel drivers purged, modesetting ought to be
used automatically for both chips, unless that R9 270X, which according to
Wikipedia doesn't seem to exist, is too new to be supported without
enabling any optional repo, or at all.



​I have to go into way back memory mode, the Wheezy days, to remember when
it goes blank using the Catalyst driver. IIRC it simply never displays
anything at all until I get the graphical login screen at native 4K
resolution. I suspect my Dell doesn't like the low resolution.
http://www1.la.dell.com/vc/en/corp/peripherals/dell-p2415q-monitor/pd.aspx?refid=dell-p2415q-monitor=corp



My videocard does exist. It' not a new card, but a few years old.
http://www.pcmag.com/article2/0,2817,2430258,00.asp


According to that URI it is a refresh of Radeon HD 7870 that apparently nobody 
ever updated Wikipedia to include. The Radeon HD 7870 is a Pitcairn XT (Southern 
Islands), originally released 5 years ago.



What do you mean by the driver that supports gfxchips? The ATI driver for


What I wrote was "driver that supports 'both' gfxchips". I meant these drivers:

http://mirrors.us.kernel.org/debian/pool/main/x/xserver-xorg-video-modesetting/

Simplest way to use is purge all traces of Intel, proprietary and AMD/ATI 
drivers, install xserver-xorg-video-modesetting, then restart. Ideally it would 
be used automatically by both the Pitcairn and the gfx built into whatever Intel 
CPU is onboard your MSI Z87-43G, assuming both are actually usable.



my card, fglrx, is not supported in Jessie. The Debian wiki says so very
clearly. And the Debian radeon driver seems to simply not work. Blank
screen that never displays anything, even after waiting 15 or 20 minutes.
There is a newer ATI proprietary driver, but my card is not supported by
it, as of last time I checked. Only newer cards than mine are supported.



I thank you for your advice on this - it is an annoying thing
I've not tried to find and read the manual for your motherboard, but it's 
typical that installation of a gfxcard in a PCIe slot defeats the ability to use 
the onboard gfx. In some cases, it is supported, but requires special BIOS 
configuration. It may be lack of support for your several year old Pitcairn is 
actually blocked by a motherboard BIOS/Firmware/Setup setting that enables use 
of Intel onboard gfx, not by anything Jessie is doing.

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Flash proplem

2017-03-13 Thread Maureen L Thomas



On 03/13/2017 07:00 PM, Ben Caradoc-Davies wrote:

On 14/03/17 10:58, Maureen L Thomas wrote:

I un-installed gnash and I no longer have any flash in Plugins and the
adobe page stated it needed a plugin to use it.  I also re-installed
flash-nonfree but still no reading in Plugins.


What is the output of:

ls -al /usr/lib/flashplugin-nonfree/

total 52
drwxr-xr-x   2 root root  4096 Mar 13 17:53 .
drwxr-xr-x 203 root root 45056 Mar 13 17:53 ..
-rw-r--r--   1 root root  1691 Jun 22  2014 pubkey.asc



I also just tried purging and reinstalling, both with 3.6 (jessie 
package) and 3.7 (sid), and found them to be horribly broken. The 
problem is that, when Adobe updates the plugin, the 
flashplugin-nonfree installation process is broken until the 
maintainer Bart Martens updates some remote configuration files to 
enable the new version.


I was able to get it working with the following manual installation of 
the Adobe .tar.gz. I use this method because it is what the 
flashplugin-nonfree installer does, and I hope that when the package 
installer is working, my manual installation will be compatible. I 
hope that this approach minimises mess.


Download page:
https://get.adobe.com/flashplayer/

Download the .tar.gz (should be the same as this link):
https://get.adobe.com/flashplayer/download/?installer=FP_24.0_for_Linux_64-bit_(.tar.gz)_-_NPAPI=5504=1 



For the next steps, you need to be root.

Extract the library (change the path to where you downloaded the 
.tar.gz):


tar zxfO /path/to/flash_player_npapi_linux.x86_64.tar.gz 
libflashplayer.so > /usr/lib/flashplugin-nonfree/libflashplayer.so


Fix permissions:

chmod 644 /usr/lib/flashplugin-nonfree/libflashplayer.so

Register the plugin:

update-alternatives --quiet --install 
/usr/lib/mozilla/plugins/flash-mozilla.so flash-mozilla.so 
/usr/lib/flashplugin-nonfree/libflashplayer.so 50


Now see if it works in Tools / Add-ons / Plugins and:
http://www.adobe.com/software/flash/about/

For future manual updates, only the tar command is required.

Kind regards,


When I tried the above I got this message
tar zxf0 
/usr/maureen/Downloads/to/flash_player_npapi_linux.x86_64.tar.gz 
libflashplayer.so > /usr/lib/flashplugin-nonfree/libflashplayer.so

tar: Options '-[0-7][lmh]' not supported by *this* tar
Try 'tar --help' or 'tar --usage' for more information.





Re: Re: Which kernel version (and sub-version) do I have?

2017-03-13 Thread Georg Stillfried

Yes.  Two of the above.

You are running Debian kernel 3.16.7-ckt25-2+deb8u3 which is compatible
with the kernel ABI used in Debian kernel *package* 3.16.0-4-686-pae.



https://security-tracker.debian.org/tracker/CVE-2016-5195  confirms
that you want 3.16.36-1+deb8u2.


Thank you for your quick reply!



Re: Flash proplem

2017-03-13 Thread Ben Caradoc-Davies

On 14/03/17 10:58, Maureen L Thomas wrote:

I un-installed gnash and I no longer have any flash in Plugins and the
adobe page stated it needed a plugin to use it.  I also re-installed
flash-nonfree but still no reading in Plugins.


What is the output of:

ls -al /usr/lib/flashplugin-nonfree/

I also just tried purging and reinstalling, both with 3.6 (jessie 
package) and 3.7 (sid), and found them to be horribly broken. The 
problem is that, when Adobe updates the plugin, the flashplugin-nonfree 
installation process is broken until the maintainer Bart Martens updates 
some remote configuration files to enable the new version.


I was able to get it working with the following manual installation of 
the Adobe .tar.gz. I use this method because it is what the 
flashplugin-nonfree installer does, and I hope that when the package 
installer is working, my manual installation will be compatible. I hope 
that this approach minimises mess.


Download page:
https://get.adobe.com/flashplayer/

Download the .tar.gz (should be the same as this link):
https://get.adobe.com/flashplayer/download/?installer=FP_24.0_for_Linux_64-bit_(.tar.gz)_-_NPAPI=5504=1

For the next steps, you need to be root.

Extract the library (change the path to where you downloaded the .tar.gz):

tar zxfO /path/to/flash_player_npapi_linux.x86_64.tar.gz 
libflashplayer.so > /usr/lib/flashplugin-nonfree/libflashplayer.so


Fix permissions:

chmod 644 /usr/lib/flashplugin-nonfree/libflashplayer.so

Register the plugin:

update-alternatives --quiet --install 
/usr/lib/mozilla/plugins/flash-mozilla.so flash-mozilla.so 
/usr/lib/flashplugin-nonfree/libflashplayer.so 50


Now see if it works in Tools / Add-ons / Plugins and:
http://www.adobe.com/software/flash/about/

For future manual updates, only the tar command is required.

Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: radeon black screen (was: Apology to siduction...)

2017-03-13 Thread Catherine Gramze
Meanwhile, my MSI Z87-43G motherboard boot screen doesn't display unless I
>
>> use the built-in graphics card. When I use my Radeon R9 270X it just goes
>> blank, but still boots through to the default first grub menu item. 4K
>>
>
> Goes blank when exactly? Do kernel and initrd load first? Do you see any
> boot messages before a shell prompt or login greeter are supposed to
> appear? If Plymouth is installed, have you tried removing it?
>
> monitor. Of course, the obvious issues with my graphics card means I don't
>> use it. The newer driver for Radeon cards does not support my card, and
>> the
>> old Catalyst driver is incompatible with Jessie.
>>
>
> Did you try the driver that supports both gfxchips? Devs are trying to get
> away from chip-specific drivers:
> http://www.phoronix.com/scan.php?page=news_item=Ubuntu-De
> bian-Abandon-Intel-DDX
>
> In Jessie the modesetting driver is still a separate package, but
> beginning in server 1.17 it's built into the server. With the modesetting X
> driver installed and ATI and Intel drivers purged, modesetting ought to be
> used automatically for both chips, unless that R9 270X, which according to
> Wikipedia doesn't seem to exist, is too new to be supported without
> enabling any optional repo, or at all.
>
> ​I have to go into way back memory mode, the Wheezy days, to remember when
it goes blank using the Catalyst driver. IIRC it simply never displays
anything at all until I get the graphical login screen at native 4K
resolution. I suspect my Dell doesn't like the low resolution.
http://www1.la.dell.com/vc/en/corp/peripherals/dell-p2415q-monitor/pd.aspx?refid=dell-p2415q-monitor=corp


My videocard does exist. It' not a new card, but a few years old.
http://www.pcmag.com/article2/0,2817,2430258,00.asp

What do you mean by the driver that supports gfxchips? The ATI driver for
my card, fglrx, is not supported in Jessie. The Debian wiki says so very
clearly. And the Debian radeon driver seems to simply not work. Blank
screen that never displays anything, even after waiting 15 or 20 minutes.
There is a newer ATI proprietary driver, but my card is not supported by
it, as of last time I checked. Only newer cards than mine are supported.

I thank you for your advice on this - it is an annoying thing.


Re: Flash proplem

2017-03-13 Thread Maureen L Thomas



On 03/13/2017 05:00 PM, Ben Caradoc-Davies wrote:

On 13/03/17 13:06, Maureen L Thomas wrote:

My version of firefox is 45.830esr-1-deb7u1.  It shows in add-ons and is
activated with version 10.1r999.  At the website it is 24.0.0221.  I am
using a 64 bit machine with jessie on it.  Hope this helps.


Please keep emails on-list.

The flash with version 10.1r999 is I think GNU gnash. I would try 
uninstalling the gnash package to see if your problem is caused by 
some conflict or gnash being used for some sites that really need 
Adobe Flash. I have had no success with gnash.


Once gnash is uninstalled, please again check the version of Shockwave 
Flash in Tools / Add-ons / Plugins and on the Adobe about page:

http://www.adobe.com/software/flash/about/

Kind regards,

I un-installed gnash and I no longer have any flash in Plugins and the 
adobe page stated it needed a plugin to use it.  I also re-installed 
flash-nonfree but still no reading in Plugins.




Re: radeon black screen (was: Apology to siduction...)

2017-03-13 Thread Felix Miata

Catherine Gramze composed on 2017-03-13 15:35 (UTC-0400):


Meanwhile, my MSI Z87-43G motherboard boot screen doesn't display unless I
use the built-in graphics card. When I use my Radeon R9 270X it just goes
blank, but still boots through to the default first grub menu item. 4K


Goes blank when exactly? Do kernel and initrd load first? Do you see any boot 
messages before a shell prompt or login greeter are supposed to appear? If 
Plymouth is installed, have you tried removing it?



monitor. Of course, the obvious issues with my graphics card means I don't
use it. The newer driver for Radeon cards does not support my card, and the
old Catalyst driver is incompatible with Jessie.


Did you try the driver that supports both gfxchips? Devs are trying to get away 
from chip-specific drivers:

http://www.phoronix.com/scan.php?page=news_item=Ubuntu-Debian-Abandon-Intel-DDX

In Jessie the modesetting driver is still a separate package, but beginning in 
server 1.17 it's built into the server. With the modesetting X driver installed 
and ATI and Intel drivers purged, modesetting ought to be used automatically for 
both chips, unless that R9 270X, which according to Wikipedia doesn't seem to 
exist, is too new to be supported without enabling any optional repo, or at all.

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: If Linux Is About Choice, Why Then ...

2017-03-13 Thread Andy Smith
Hello,

On Mon, Mar 13, 2017 at 01:48:28PM -0700, Miles Fidelman wrote:
> That might be because all of those who run servers - the traditional
> realm of Debian - have given up and migrated elsewhere.  We can't
> afford to run a poorly designed load of crap, that takes over one's
> machine, as an init system.

Speaking as someone who has preferred Debian on servers since woody,
I remain happy to run Debian on all my servers and am reasonably
happy with systemd. Any other Linux I could imagine ever switching
to also now runs systemd by default and I would be unlikely to seek
to change that.

I suspect that if you counted every instance of an init system
running "in the cloud", most of them would be systemd. The most
popular OS in the cloud is Ubuntu¹ - with systemd. CoreOS², which
was designed from scratch to be run in the cloud, includes systemd
as a non-optional component.

I am not aware of any mass exodus of server administrators away from
systemd. Quite the opposite in fact, simply because most
distributions switched to it.

It is perfectly okay for someone to dislike systemd, or any other
piece of software, but if you are going to make statements that
appear to be on behalf of all server administrators then I think you
need to show your working.

Cheers,
Andy

¹ http://www.zdnet.com/article/ubuntu-linux-continues-to-rule-the-cloud/

² https://coreos.com/docs/

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Which kernel version (and sub-version) do I have?

2017-03-13 Thread Greg Wooledge
On Mon, Mar 13, 2017 at 10:18:03PM +0100, Georg Stillfried wrote:
> can someone please help me find out which kernel version (and 
> sub-version) I have?

uname -a

> $ uname -v
> #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02)
> 
> $ uname -r
> 3.16.0-4-686-pae

Or that.  It's the same as uname -a, just in pieces.

> So is the kernel version of my system 3.16.7, 3.16.0 or 3.16.63?

Yes.  Two of the above.

You are running Debian kernel 3.16.7-ckt25-2+deb8u3 which is compatible
with the kernel ABI used in Debian kernel *package* 3.16.0-4-686-pae.

> (Backgroud: I wanted to find out whether the Dirty COW bug was fixed in 
> my system.

No, not yet.

> According to
> https://en.wikipedia.org/wiki/Dirty_COW#Remedies_and_recourse, it is 
> fixed from version 3.16.36-1+deb8u2 onwards.)

You are running a kernel that is older than this.  If you have
installed a newer kernel, you have not yet rebooted into it.

https://security-tracker.debian.org/tracker/CVE-2016-5195 confirms
that you want 3.16.36-1+deb8u2.  (Best not to rely 100% on wikipedia
without verification.)



Which kernel version (and sub-version) do I have?

2017-03-13 Thread Georg Stillfried

Hello,

can someone please help me find out which kernel version (and 
sub-version) I have? Don't scould, I have done the search on Google and 
in the Debian documentation on how to find one's kernel version, but I 
am confused by the results:


$ uname -v
#1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02)

$ uname -r
3.16.0-4-686-pae

$ apt-cache show linux-image-686-pae
Package: linux-image-686-pae
Source: linux-latest (63)
Version: 3.16+63
[...]

So is the kernel version of my system 3.16.7, 3.16.0 or 3.16.63?

(Backgroud: I wanted to find out whether the Dirty COW bug was fixed in 
my system. According to
https://en.wikipedia.org/wiki/Dirty_COW#Remedies_and_recourse, it is 
fixed from version 3.16.36-1+deb8u2 onwards.)


Kind greetings,
Georg



Re: outil de monitoring

2017-03-13 Thread Jean-Michel OLTRA

Bonjour,


Le lundi 13 mars 2017, Alexandre Decorny a écrit...


> J'utilise centreon qui à le mérite d'être en français. A la base le moteur
> était nagios mais avec le temps tout a été repensé de manière plus
> rapide/efficace. C'est un peu une usine à gaz à configurer mais ca
> fonctionne très bien.

Je n'ai pas un trop bon souvenir de Centreon. C'est pourquoi j'étais passé à
Shinken.

J'ai installé Icinga2, à partir du dépôt d'Icinga. Yapuka reprendre la
configuration…


-- 
jm



Re: Oom-killer zonder geheugengebrek

2017-03-13 Thread Geert Stappers
On Mon, Mar 13, 2017 at 09:47:34PM +0100, Paul van der Vlis wrote:
> Op 13-03-17 om 21:09 schreef Geert Stappers:
> > On Mon, Mar 13, 2017 at 08:31:19PM +0100, Paul van der Vlis wrote:
> >> Hallo,
> >>
> >> Ik heb een raar probleem: oom-killer wordt aangeroepen terwijl er geen
> >> tekort is aan geheugen. Swap wordt niet aangesproken.
> >>
> >> Heeft iemand een idee wat dit zou kunnen zijn?
> >>
> >>
> >> Mar 13 07:37:22 host kernel: [938438.416545] find invoked oom-killer: 
> >> gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE), 
> >> nodemask=0, order=0, oom_score_adj=0
> >> Mar 13 07:37:22 host kernel: [938438.416547] find cpuset=/ mems_allowed=0
> >> Mar 13 07:37:22 host kernel: [938438.416551] CPU: 1 PID: 12538 Comm: find 
> >> Tainted: GW   4.9.0-0.bpo.1-686-pae #1 Debian 4.9.2-2~bpo8+1
> > 
> > 
> > Ik weet het niet, maar ik zou eerst inzoomen op "find invoked oom-killer".
> > 
> > Wat is het `find` commando aan het doen / zoeken ??
> 
> Weet ik niet. Wellicht gaat het om een cronjob die bij een Debian
> package hoort. Ik zie er verschillende, "locate" en "apt" bijvoorbeeld.
> Ik draai geen eigen script met daarin het commando "find".
> 
> Er zijn veel meer processen zijn die oom-killer "invoken". Find was wel
> de eerste geloof ik:
> 
> ---
> host:/var/log# grep oom-killer /var/log/messages | sed -e 's/(.*$//'
> Mar 13 07:37:22 host kernel: [938438.416545] find invoked oom-killer: 
> gfp_mask=0x2420848
> Mar 13 07:37:26 host kernel: [938442.330877] rs:main Q:Reg invoked 
> oom-killer: gfp_mask=0x2420848
> Mar 13 07:37:29 host kernel: [938445.758465] kworker/u8:0 invoked oom-killer: 
> gfp_mask=0x27000c0
> Mar 13 07:37:30 host kernel: [938446.293224] nmbd invoked oom-killer: 
> gfp_mask=0x27000c0
> Mar 13 07:37:31 host kernel: [938447.877968] sogod invoked oom-killer: 
> gfp_mask=0x27000c0
> Mar 13 07:37:33 host kernel: [938449.312680] cinnamon2d invoked oom-killer: 
> gfp_mask=0x27000c0
> Mar 13 07:37:34 host kernel: [938450.025282] csd-printer invoked oom-killer: 
> gfp_mask=0x27000c0
> Mar 13 07:37:36 host kernel: [938451.532442] cinnamon2d invoked oom-killer: 
> gfp_mask=0x27000c0
> Mar 13 07:37:37 host kernel: [938453.474379] kworker/u8:0 invoked oom-killer: 
> gfp_mask=0x27000c0
> Mar 13 07:37:37 host kernel: [938453.668480] cinnamon2d invoked oom-killer: 
> gfp_mask=0x27000c0
> Mar 13 07:37:39 host kernel: [938455.439048] mysqld_safe invoked oom-killer: 
> gfp_mask=0x27000c0
> Mar 13 07:37:39 host kernel: [938455.566458] sogod invoked oom-killer: 
> gfp_mask=0x27000c0
> Mar 13 07:37:40 host kernel: [938456.001442] nmbd invoked oom-killer: 
> gfp_mask=0x27000c0


En ook op andere tijdstippen dan 07:37?
Eigenlijk: Komt het vaker voor, was dit de enige?


Groeten
Geert Stappers
-- 
Leven en laten leven



Re: Flash proplem

2017-03-13 Thread Ben Caradoc-Davies

On 13/03/17 13:06, Maureen L Thomas wrote:

My version of firefox is 45.830esr-1-deb7u1.  It shows in add-ons and is
activated with version 10.1r999.  At the website it is 24.0.0221.  I am
using a 64 bit machine with jessie on it.  Hope this helps.


Please keep emails on-list.

The flash with version 10.1r999 is I think GNU gnash. I would try 
uninstalling the gnash package to see if your problem is caused by some 
conflict or gnash being used for some sites that really need Adobe 
Flash. I have had no success with gnash.


Once gnash is uninstalled, please again check the version of Shockwave 
Flash in Tools / Add-ons / Plugins and on the Adobe about page:

http://www.adobe.com/software/flash/about/

Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: If Linux Is About Choice, Why Then ...

2017-03-13 Thread Miles Fidelman

On 3/13/17 12:44 PM, Erwan David wrote:


Le 03/13/17 à 20:40, Greg Wooledge a écrit :

On Mon, Mar 13, 2017 at 12:30:11PM -0700, Patrick Bartek wrote:

The Linux mantra has always been "choice," plethoras of choices. So why
at install time, is there no choice for the init system?  You get what
the developers decide. Yes, you can install a new one -- I've done it
and it works -- but only after the install.  It'd be a lot easier, if
there were a choice to begin with just like whether you want a GUI and
which one.

Because the number of people who want to run a new version of Debian with
an ancient and deprecated init system is probably in the triple digits,
worldwide.

You are a member of a small minority.  It's not reasonable to expect
that a whole bunch of time will be spent making install images with
alternative init systems for such a small demand.  You have a solution
which works just fine.


So why don't you use windows, if you despise minorities ?
Your email is both insulting and contemptful. If this is your only
argument, that's bad for the point you pretend to denfend.

+1

--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra



Re: If Linux Is About Choice, Why Then ...

2017-03-13 Thread Miles Fidelman

On 3/13/17 12:40 PM, Greg Wooledge wrote:


On Mon, Mar 13, 2017 at 12:30:11PM -0700, Patrick Bartek wrote:

The Linux mantra has always been "choice," plethoras of choices. So why
at install time, is there no choice for the init system?  You get what
the developers decide. Yes, you can install a new one -- I've done it
and it works -- but only after the install.  It'd be a lot easier, if
there were a choice to begin with just like whether you want a GUI and
which one.

Because the number of people who want to run a new version of Debian with
an ancient and deprecated init system is probably in the triple digits,
worldwide.

You are a member of a small minority.  It's not reasonable to expect
that a whole bunch of time will be spent making install images with
alternative init systems for such a small demand.  You have a solution
which works just fine.


That might be because all of those who run servers - the traditional 
realm of Debian - have given up and migrated elsewhere.  We can't afford 
to run a poorly designed load of crap, that takes over one's machine, as 
an init system.


Miles Fidelman

--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra



Re: Apology to siduction 17.01 (was Re: why??why?why??)

2017-03-13 Thread Catherine Gramze


Sent from my iPad

> On Mar 13, 2017, at 3:23 PM, Rob van der Putten  wrote:
> 
> Hi there
> 
> 
>> On 13/03/17 15:54, GiaThnYgeia wrote:
>> 
>> Out of my frustration and lack of understanding, or the belief that all
>> systems should run as trouble-free as clean-debian, and possibly due to
>> just getting tired of fighting something too long, I bad-mouthed
>> siduction in public.
>> 
>> My source of frustration came from fighting an installation in a tired
>> old system (64bit) and a mediocre not so smart monitor.  Most installers
>> and systems I've seen use 800x600 as their boot/grub screen.
>> Siduction probably doesn't have access to an old monitor.  What this
>> meant was the screen would blank out and have an internal error showing
>> not-compatible meanwhile the grub time would expire and boot up
>> eventually to a graphical login screen.  So I thought some weird boot
>> system prevents me from seeing what's going on or giving me options, so
>> in effect I lost access to all other installed systems.
>> 
>> With a clean head and a different pc I went in as root and looked on the
>> usb what the grub config looked like and simply replaced the high
>> resolution to an 800x600 and delayed the default boot sequence just in case.
>> 
>> Siduction ... the best grub-configuration I have seen yet, once you can
>> get to it and edit it :)
>> 
>> Sorry Siduction!
>> kAt
>> 
>> PS  But you (siduction) should lower your graphics expectations down a
>> notch or two.  There are some 1024 monitors still around.
> 
> My server has a 12 Inch 640x480 monitor (IBM 8513).
> Installers shouldn't make assumptions about resolutions.
> 
>> PS2  Maybe a way to scale back and confirm visibility of the grub menu
>> before it boots the default may help, if you MUST high a high definition
>> grub screen.
>> 
>> PS3  Being more confident I can back up and restore my experimentation
>> with siduction really did help as well ;)  dd/xorriso and all!
>> 
>> PS4  More than a week ago when I subscribed to their forum "I asked" on
>> why would their installer not run on very similar systems.  Never
>> thought the monitor was IT.  I got no response from them ... but I
>> assume small teams of developers can't address everyone's complaints.
> 
> 
> Regards,
> Rob

Meanwhile, my MSI Z87-43G motherboard boot screen doesn't display unless I use 
the built-in graphics card. When I use my Radeon R9 270X it just goes blank, 
but still boots through to the default first grub menu item. 4K monitor. Of 
course, the obvious issues with my graphics card means I don't use it. The 
newer driver for Radeon cards does not support my card, and the old Catalyst 
driver is incompatible with Jessie.



Re: If Linux Is About Choice, Why Then ...

2017-03-13 Thread rhkramer
On Monday, March 13, 2017 03:44:19 PM Erwan David wrote:
> So why don't you use windows, if you despise minorities ?
> Your email is both insulting and contemptful. If this is your only
> argument, that's bad for the point you pretend to denfend.

-1



Re: Oom-killer zonder geheugengebrek

2017-03-13 Thread Paul van der Vlis
Op 13-03-17 om 21:09 schreef Geert Stappers:
> On Mon, Mar 13, 2017 at 08:31:19PM +0100, Paul van der Vlis wrote:
>> Hallo,
>>
>> Ik heb een raar probleem: oom-killer wordt aangeroepen terwijl er geen
>> tekort is aan geheugen. Swap wordt niet aangesproken.
>>
>> Heeft iemand een idee wat dit zou kunnen zijn?
>>
>> Het zou een probleem met het swap-geheugen kunnen zijn, daarom heb ik
>> dat net opnieuw aangemaakt met "mkswap -c", van "check".
>>
>> Ik zie ook verschillende keren de term "tainted" voorbij komen, terwijl
>> ik geen closed-source drivers gebruik op deze machine. Zoiets:
>>
>> Mar 13 07:37:22 host kernel: [938438.416551] CPU: 1 PID: 12538 Comm:  find 
>> Tainted: GW   4.9.0-0.bpo.1-686-pae #1 Debian 4.9.2-2~bpo8+1
>>
>> Er wordt ECC geheugen gebruikt.
>>
>> Groeten
>> Paul
>>
>>
>> Mar 13 07:37:22 host kernel: [938438.416545] find invoked oom-killer: 
>> gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE), 
>> nodemask=0, order=0, oom_score_adj=0
>> Mar 13 07:37:22 host kernel: [938438.416547] find cpuset=/ mems_allowed=0
>> Mar 13 07:37:22 host kernel: [938438.416551] CPU: 1 PID: 12538 Comm: find 
>> Tainted: GW   4.9.0-0.bpo.1-686-pae #1 Debian 4.9.2-2~bpo8+1
> 
> 
> Ik weet het niet, maar ik zou eerst inzoomen op "find invoked oom-killer".
> 
> Wat is het `find` commando aan het doen / zoeken ??

Weet ik niet. Wellicht gaat het om een cronjob die bij een Debian
package hoort. Ik zie er verschillende, "locate" en "apt" bijvoorbeeld.
Ik draai geen eigen script met daarin het commando "find".

Er zijn veel meer processen zijn die oom-killer "invoken". Find was wel
de eerste geloof ik:

---
host:/var/log# grep oom-killer /var/log/messages
Mar 13 07:37:22 host kernel: [938438.416545] find invoked oom-killer:
gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE),
nodemask=0, order=0, oom_score_adj=0
Mar 13 07:37:26 host kernel: [938442.330877] rs:main Q:Reg invoked
oom-killer:
gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE),
nodemask=0, order=0, oom_score_adj=0
Mar 13 07:37:29 host kernel: [938445.758465] kworker/u8:0 invoked
oom-killer: gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK),
nodemask=0, order=1, oom_score_adj=0
Mar 13 07:37:30 host kernel: [938446.293224] nmbd invoked oom-killer:
gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK), nodemask=0,
order=1, oom_score_adj=0
Mar 13 07:37:31 host kernel: [938447.877968] sogod invoked oom-killer:
gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK), nodemask=0,
order=1, oom_score_adj=0
Mar 13 07:37:33 host kernel: [938449.312680] cinnamon2d invoked
oom-killer: gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK),
nodemask=0, order=1, oom_score_adj=0
Mar 13 07:37:34 host kernel: [938450.025282] csd-printer invoked
oom-killer: gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK),
nodemask=0, order=1, oom_score_adj=0
Mar 13 07:37:36 host kernel: [938451.532442] cinnamon2d invoked
oom-killer: gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK),
nodemask=0, order=1, oom_score_adj=0
Mar 13 07:37:37 host kernel: [938453.474379] kworker/u8:0 invoked
oom-killer: gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK),
nodemask=0, order=1, oom_score_adj=0
Mar 13 07:37:37 host kernel: [938453.668480] cinnamon2d invoked
oom-killer: gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK),
nodemask=0, order=1, oom_score_adj=0
Mar 13 07:37:39 host kernel: [938455.439048] mysqld_safe invoked
oom-killer: gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK),
nodemask=0, order=1, oom_score_adj=0
Mar 13 07:37:39 host kernel: [938455.566458] sogod invoked oom-killer:
gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK), nodemask=0,
order=1, oom_score_adj=0
Mar 13 07:37:40 host kernel: [938456.001442] nmbd invoked oom-killer:
gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK), nodemask=0,
order=1, oom_score_adj=0
---

-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: Oom-killer zonder geheugengebrek

2017-03-13 Thread Geert Stappers
On Mon, Mar 13, 2017 at 08:31:19PM +0100, Paul van der Vlis wrote:
> Hallo,
> 
> Ik heb een raar probleem: oom-killer wordt aangeroepen terwijl er geen
> tekort is aan geheugen. Swap wordt niet aangesproken.
> 
> Heeft iemand een idee wat dit zou kunnen zijn?
> 
> Het zou een probleem met het swap-geheugen kunnen zijn, daarom heb ik
> dat net opnieuw aangemaakt met "mkswap -c", van "check".
> 
> Ik zie ook verschillende keren de term "tainted" voorbij komen, terwijl
> ik geen closed-source drivers gebruik op deze machine. Zoiets:
> 
> Mar 13 07:37:22 host kernel: [938438.416551] CPU: 1 PID: 12538 Comm:  find 
> Tainted: GW   4.9.0-0.bpo.1-686-pae #1 Debian 4.9.2-2~bpo8+1
> 
> Er wordt ECC geheugen gebruikt.
> 
> Groeten
> Paul
> 
> 
> Mar 13 07:37:22 host kernel: [938438.416545] find invoked oom-killer: 
> gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE), 
> nodemask=0, order=0, oom_score_adj=0
> Mar 13 07:37:22 host kernel: [938438.416547] find cpuset=/ mems_allowed=0
> Mar 13 07:37:22 host kernel: [938438.416551] CPU: 1 PID: 12538 Comm: find 
> Tainted: GW   4.9.0-0.bpo.1-686-pae #1 Debian 4.9.2-2~bpo8+1


Ik weet het niet, maar ik zou eerst inzoomen op "find invoked oom-killer".

Wat is het `find` commando aan het doen / zoeken ??



Groeten
Geert Stappers
-- 
Leven en laten leven



Re: Some help with dd backing up into an iso

2017-03-13 Thread Thomas Schmitt
Hi,

GiaThnYgeia wrote:
> Very good information but the word sudo comes up everywhere.

For the purpose of backing up and restoring a whole operating system
with multiple users and partly restrictive permissions: yes.


> If a user does not have sudo rights she/he can back-up files and restore
> them as long as s/he has rights to what their backing-up/restoring.

That's the idea ... until Why-oh-why-oh-why strikes again, of course.


> So
> if you are in a network public environment you may not even have rights
> to even your own disk if some of it is somehow protected.

If you can read directories and files, then you can backup them.
If you can create new directories and write new files, then you can
restore the backup.
If you cannot, then it's hopeless.


Have a nice day :)

Thomas



Re: `Filter failed' no print error message

2017-03-13 Thread Brian
On Mon 13 Mar 2017 at 16:27:30 +, Rodolfo Medina wrote:
 
> Brian  writes:
> 
> > There are seven instructions in the advice given. You haven't provided a
> > response to any of them. If there is a problem with following what is
> > required, please ask.
> 
> As the wiki suggests, I did:
> 
>  # cupsctl --debug-logging

Good.

> .  Then I did:
> 
> $ lpstat -t
> scheduler is running
> system default destination: Samsung_ML-191x_252x_Series

You have a Samsung ML-191x series B printer. It is not supported in
Debian. From where did you get the necessary drivers?

> device for Samsung_ML-191x_252x_Series: 
> usb://Samsung/ML-191x%20252x%20Series?serial=Z2L9BABZ700571F.

Encouraging. CUPS has detected the printer is on a USB connection. There
should be no problem printing after your basic problem is sorted out.

> Samsung_ML-191x_252x_Series accepting requests since Sun 12 Mar 2017 07:44:58 
> GMT
> printer Samsung_ML-191x_252x_Series is idle.  enabled since Sun 12 Mar 2017 
> 07:44:58 GMT
> Sending data to printer.

Also OK.

> Samsung_ML-191x_252x_Series-16 rodolfo 457728   Sat 11 Mar 2017 
> 19:56:36 GMT
> Samsung_ML-191x_252x_Series-17 unknown   1024   Sat 11 Mar 2017 
> 20:09:12 GMT
> Samsung_ML-191x_252x_Series-18 unknown 457728   Sat 11 Mar 2017 
> 20:20:18 GMT
> Samsung_ML-191x_252x_Series-19 rodolfo 457728   Sun 12 Mar 2017 
> 07:44:49 GMT

These are pending jobs. I can not imagine you want them. Remove with
'cancel -a -x'. (This is in the wiki, too).

> The file /var/log/cups/error_log is very long.  I noticed in it the following
> lines:
> 
> D [07/Mar/2017:14:35:23 +] [Job 1] Started filter 
> /usr/lib/cups/filter/pdftopdf (PID 4741)

This is the first thing that happens to any submitted file. You sent a
PDF file to the printer. No problem here.

> D [07/Mar/2017:14:35:23 +] [Job 1] Started filter 
> /usr/lib/cups/filter/pdftops (PID 4742)

Eh? The printer does not recognise PostScript. It would print garbage if
it got it. I wonder why the filtering system thinks converting a PDF to
a PS file is needed. Is there any sign of "gstoraster" in your error_log?

> D [07/Mar/2017:14:35:23 +] [Job 1] Started filter 
> /usr/lib/cups/filter/rastertosamsungspl (PID 4743)
> D [07/Mar/2017:14:35:23 +] [Job 1] Started backend 
> /usr/lib/cups/backend/usb (PID 4744)
> D [07/Mar/2017:14:35:23 +] [Job 1] pdftops - copying to temp print file 
> \"/var/spool/cups/tmp/0128658cb23ec\"
> D [07/Mar/2017:14:35:23 +] [Job 1] execv failed: No such file or directory
> D [07/Mar/2017:14:35:23 +] [Job 1] PID 4743 
> (/usr/lib/cups/filter/rastertosamsungspl) stopped with status 102 (No such 
> file or directory)
> D [07/Mar/2017:14:35:23 +] [Job 1] Hint: Try setting the LogLevel to 
> "debug" to find out more.

Post the output of 'ls -l /usr/lib/cups/filter'.

-- 
Brian.



Re: `Filter failed' no print error message

2017-03-13 Thread Brian
On Mon 13 Mar 2017 at 16:27:30 +, Rodolfo Medina wrote: 



> Brian  writes:  
> 
>   
> 
> > There are seven instructions in the advice given. You haven't provided a
> > 
> > response to any of them. If there is a problem with following what is   
> > 
> > required, please ask.   
> > 
>   
> 
> As the wiki suggests, I did:  
> 
>   
> 
>  # cupsctl --debug-logging
> 


Good.   



> .  Then I did:
> 
>   
> 
> $ lpstat -t   
> 
> scheduler is running  
> 
> system default destination: Samsung_ML-191x_252x_Series   
> 


You have a Samsung ML-191x series B printer. It is not supported in   

Debian. From where did you get the necessary drivers?   



> device for Samsung_ML-191x_252x_Series: 
> usb://Samsung/ML-191x%20252x%20Series?serial=Z2L9BABZ700571F. 


Encouraging. CUPS has detected the printer is on a USB connection. There

should be no problem printing after your basic problem is sorted out.   



> Samsung_ML-191x_252x_Series accepting requests since Sun 12 Mar 2017 07:44:58 
> GMT 
> printer Samsung_ML-191x_252x_Series is idle.  enabled since Sun 12 Mar 2017 
> 07:44:58 GMT  
> Sending data to printer.  
> 


Also OK.

> Samsung_ML-191x_252x_Series-16 rodolfo 457728   Sat 11 Mar 2017 
> 19:56:36 GMT  
> Samsung_ML-191x_252x_Series-17 unknown   1024   Sat 11 Mar 2017 
> 20:09:12 GMT  
> Samsung_ML-191x_252x_Series-18 unknown 457728   Sat 11 Mar 2017 
> 20:20:18 GMT  
> Samsung_ML-191x_252x_Series-19 rodolfo 457728   Sun 12 Mar 2017 
> 07:44:49 GMT  


These are pending jobs. I can not imagine you want them. Remove with

'cancel -a -x'. (This is in the wiki, too). 



> The file /var/log/cups/error_log is very long.  I noticed 

IPv6 et "Stable Privacy" (RFC 7217) sous GNU/Linux ?

2017-03-13 Thread Christophe

Bonjour à tous,

Ce post n'est pas forcément spécifique Debian mais si ça peut aider les 
utilisateurs de la liste ... ;) .


Je cherche à savoir s'il y a une configuration noyau ou tout du moins 
système qui permet de faire fonctionner l'option "Stable Privacy" (RFC 
7217) sous Debian , et sous Linux en général.


L'avantage est d'utiliser l'adressage automatique sans état, sans 
utiliser l'adresse mac pour se faire, et conserver quand même une 
adresse fixe dans le temps à la différence des "Privacy Extensions" (RFC 
4941), et des adresses temporaires.


(entre autres , c'est ce qui m'a fait passer de 18 à 20/20 sur 
http://ipv6-test.com/ :) )


La seule référence que j'ai trouvé de manière sure (et c'est moche d'en 
arriver la) , c'est NetworkManager et l'option configurée dans le 
fichier de connexion (ou en global si on veut que cela s'applique sur 
toute nouvelle connexion).


[ipv6]
addr-gen-mode=stable-privacy


En revanche la doc semble se faire maigre quant à l'utilisation de 
sysctl (par exemple) pour l'utilisation de la dite RFC sur des machines 
sans gestionnaire graphique. Apparemment ça se situe quelque aux 
alentours de :


net.ipv6.conf.X.stable_secret

Mais aucune idée du format de ce champ, ni même si c'est la seule option 
nécessaire, et encore moins de ce que NetworkManager manipule/bidouille 
pour y arriver ...


Plus encore, existe t'il un paramétrage "Debian Like" de 
/etc/network/interfaces qui permettre de le faire ?


Auriez vous des informations à ce sujet ?

@+
Christophe.



Re: If Linux Is About Choice, Why Then ...

2017-03-13 Thread John L. Ries
You do have your choice of distros and most distros provide wide
lattitude as to what software to install, what GUI (if any) to run, what
shell to use (my preferred poison is ksh, not bash), etc.  I'm not all
that fond of systemd myself (though my relationship with it is
improving), but there are still distros that use old fashioned init
(Slackware comes to mind).

And all of the above constitutes a lot more choice than you get from
either Apple or Microsoft.

--|
John L. Ries  |
Salford Systems   |
Phone: (619)543-8880 x107 |
or (435)867-8885  |
--|


On Monday 2017-03-13 13:30, Patrick Bartek wrote:

>Date: Mon, 13 Mar 2017 13:30:11
>From: Patrick Bartek 
>To: debian-user@lists.debian.org
>Subject: If Linux Is About Choice, Why Then ...
>Resent-Date: Mon, 13 Mar 2017 19:30:41 +
>Resent-From: 
>
>The Linux mantra has always been "choice," plethoras of choices. So why
>at install time, is there no choice for the init system?  You get what
>the developers decide. Yes, you can install a new one -- I've done it
>and it works -- but only after the install.  It'd be a lot easier, if
>there were a choice to begin with just like whether you want a GUI and
>which one.
>
>Now, I know with LFS, you get to choose everything, etc.  But is a
>choice of init at install time so outrageous that no one ever
>considered it or is it technically unfeasible or something else.
>
>Just curious.
>
>B
>
>



Re: prevent "dpkg -l" from showing nonexisting packages

2017-03-13 Thread Cindy-Sue Causey
On 3/13/17, Vincent Lefevre  wrote:
> On 2017-03-13 00:23:54 -0400, kamaraju kusumanchi wrote:
>> Let me rephrase my question. If "dpkg -l" cannot do it, is there some
>> other command that will only show packages from the current
>> repositories?
>
> Perhaps apt-show-versions, which can check whether a package
> is in a repository. You will need options and/or grep.
>
> For instance, on one of my machines, I get in the output:
>
> unison2.40.102:amd64 2.40.102-3 installed: No available version in archive
>
> i.e. apt-show-versions detects that this package is installed,
> but no longer in any declared repository.


Ooohhh, NICE find! I never would have thought about it because I've
never seen apt-show-versions produce that output.

I started to write: Is there a way to perform maybe a "reverse" grep
sent to a file that was an "apt-show-versions -u" (or any other) query
with everything EXCEPT those packages that return "No available
version in archive"?

And then I went to "man grep" = THERE IS A WAY

At least it worked on my end.

I don't have anything that's not from that one-liner repository I use
(in /etc/apt/sources.list) so I tried:

apt-show-versions | grep -v "uptodate" -i

That "-v" is interchangeable with "--invert-match". Both allow you to:
"Invert the sense of matching, to select non-matching lines"

Better yet, I just did:

apt-show-versions | grep -v "uptodate" -i > notUpToDate20170313

THAT... returned ONLY the lines that did NOT contain "uptodate" out of
the tons of packages I have installed AND then sent that query to a
file that is easier FOR ME to read and manipulate (versus seeing it on
the terminal display).

I A-SUME but cannot test drive that the following MIGHT be usable for
someone somewhere... some day:

apt-show-versions | grep -v "No available version in archive" -i >
thePackagesIwanted

OR, depending on your need, maybe something like:

apt-show-versions -u | grep -v "No available version in archive" -i >
thePackagesIwanted

Yes, no, maybe so?

For those who have not seen the ">" yet, that was a tremendous tip I
learned on the fly years ago. It outputs what you're doing to a file.

There's a no-brainer "caveat" to using that. You must have rights to
access the directory that you're issuing that command from, else it
WILL fail. E.g. I can't issue that command while my terminal is
showing that I'm sitting in the /etc directory. It DOES work if I
change the file path to "~/notUpToDate20170313", e.g.:

elf@northpole:/etc$ apt-show-versions | grep -v "uptodate" -i >
~/notUpToDate20170313

I say again... Oooo :)

Cindy :)

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

* runs with duct tape *



Re: If Linux Is About Choice, Why Then ...

2017-03-13 Thread Erwan David
Le 03/13/17 à 20:40, Greg Wooledge a écrit :
> On Mon, Mar 13, 2017 at 12:30:11PM -0700, Patrick Bartek wrote:
>> The Linux mantra has always been "choice," plethoras of choices. So why
>> at install time, is there no choice for the init system?  You get what
>> the developers decide. Yes, you can install a new one -- I've done it
>> and it works -- but only after the install.  It'd be a lot easier, if
>> there were a choice to begin with just like whether you want a GUI and
>> which one.
> 
> Because the number of people who want to run a new version of Debian with
> an ancient and deprecated init system is probably in the triple digits,
> worldwide.
> 
> You are a member of a small minority.  It's not reasonable to expect
> that a whole bunch of time will be spent making install images with
> alternative init systems for such a small demand.  You have a solution
> which works just fine.
> 

So why don't you use windows, if you despise minorities ?
Your email is both insulting and contemptful. If this is your only
argument, that's bad for the point you pretend to denfend.



Re: If Linux Is About Choice, Why Then ...

2017-03-13 Thread Greg Wooledge
On Mon, Mar 13, 2017 at 12:30:11PM -0700, Patrick Bartek wrote:
> The Linux mantra has always been "choice," plethoras of choices. So why
> at install time, is there no choice for the init system?  You get what
> the developers decide. Yes, you can install a new one -- I've done it
> and it works -- but only after the install.  It'd be a lot easier, if
> there were a choice to begin with just like whether you want a GUI and
> which one.

Because the number of people who want to run a new version of Debian with
an ancient and deprecated init system is probably in the triple digits,
worldwide.

You are a member of a small minority.  It's not reasonable to expect
that a whole bunch of time will be spent making install images with
alternative init systems for such a small demand.  You have a solution
which works just fine.



Oom-killer zonder geheugengebrek

2017-03-13 Thread Paul van der Vlis
Hallo,

Ik heb een raar probleem: oom-killer wordt aangeroepen terwijl er geen
tekort is aan geheugen. Swap wordt niet aangesproken.

Heeft iemand een idee wat dit zou kunnen zijn?

Het zou een probleem met het swap-geheugen kunnen zijn, daarom heb ik
dat net opnieuw aangemaakt met "mkswap -c", van "check".

Ik zie ook verschillende keren de term "tainted" voorbij komen, terwijl
ik geen closed-source drivers gebruik op deze machine. Zoiets:

Mar 13 07:37:22 host kernel: [938438.416551] CPU: 1 PID: 12538 Comm:
find Tainted: GW   4.9.0-0.bpo.1-686-pae #1 Debian
4.9.2-2~bpo8+1

Er wordt ECC geheugen gebruikt.

Groeten
Paul


Mar 13 07:37:22 host kernel: [938438.416545] find invoked oom-killer:
gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE),
nodemask=0, order=0, oom_score_adj=0
Mar 13 07:37:22 host kernel: [938438.416547] find cpuset=/ mems_allowed=0
Mar 13 07:37:22 host kernel: [938438.416551] CPU: 1 PID: 12538 Comm:
find Tainted: GW   4.9.0-0.bpo.1-686-pae #1 Debian
4.9.2-2~bpo8+1
Mar 13 07:37:22 host kernel: [938438.416551] Hardware name: Supermicro
Super Server/X11SSM-F, BIOS 1.0b 12/29/2015
Mar 13 07:37:22 host kernel: [938438.416552]  d8b95b64 d02eedbc d8b95c5c
c42fe900 d01d2a58 d08b6f00  0286
Mar 13 07:37:22 host kernel: [938438.416555]  d8b95ba8 d02f4ec3 d9eb2e00
f028f200 c42fedf0 d8b95c5c c42fe900 d8b95ba8
Mar 13 07:37:22 host kernel: [938438.416557]  d016ad39 d0071fba d8b95b90
d016a9da 0008   e6ae0380
Mar 13 07:37:22 host kernel: [938438.416559] Call Trace:
Mar 13 07:37:22 host kernel: [938438.416564]  [] ?
dump_stack+0x55/0x79
Mar 13 07:37:22 host kernel: [938438.416566]  [] ?
dump_header+0x6b/0x1b6
Mar 13 07:37:22 host kernel: [938438.416569]  [] ?
___ratelimit+0x73/0xf0
Mar 13 07:37:22 host kernel: [938438.416570]  [] ?
oom_kill_process+0x209/0x3d0
Mar 13 07:37:22 host kernel: [938438.416573]  [] ?
has_capability_noaudit+0x1a/0x30
Mar 13 07:37:22 host kernel: [938438.416573]  [] ?
oom_badness+0xea/0x150
Mar 13 07:37:22 host kernel: [938438.416575]  [] ?
out_of_memory+0xe3/0x2a0
Mar 13 07:37:22 host kernel: [938438.416576]  [] ?
__alloc_pages_nodemask+0xbe4/0xca0
Mar 13 07:37:22 host kernel: [938438.416578]  [] ?
pagecache_get_page+0xd4/0x270
Mar 13 07:37:22 host kernel: [938438.416580]  [] ?
__getblk_gfp+0x104/0x320
Mar 13 07:37:22 host kernel: [938438.416588]  [] ?
ext4_getblk+0xa5/0x1c0 [ext4]
Mar 13 07:37:22 host kernel: [938438.416591]  [] ?
ext4_bread+0x23/0xb0 [ext4]
Mar 13 07:37:22 host kernel: [938438.416595]  [] ?
__ext4_read_dirblock+0x28/0x3f0 [ext4]
Mar 13 07:37:22 host kernel: [938438.416596]  [] ?
d_splice_alias+0x155/0x390
Mar 13 07:37:22 host kernel: [938438.416599]  [] ?
htree_dirblock_to_tree+0x52/0x260 [ext4]
Mar 13 07:37:22 host kernel: [938438.416602]  [] ?
security_file_open+0x8e/0x90
Mar 13 07:37:22 host kernel: [938438.416603]  [] ? dput+0xd7/0x240
Mar 13 07:37:22 host kernel: [938438.416606]  [] ?
ext4_htree_fill_tree+0x90/0x2e0 [ext4]
Mar 13 07:37:22 host kernel: [938438.416609]  [] ?
free_rb_tree_fname+0x16/0x80 [ext4]
Mar 13 07:37:22 host kernel: [938438.416612]  [] ?
ext4_readdir+0x7a7/0xa70 [ext4]
Mar 13 07:37:22 host kernel: [938438.416613]  [] ?
do_filp_open+0x7d/0xe0
Mar 13 07:37:22 host kernel: [938438.416614]  [] ?
security_file_permission+0x9f/0xc0
Mar 13 07:37:22 host kernel: [938438.416616]  [] ?
iterate_dir+0x173/0x190
Mar 13 07:37:22 host kernel: [938438.416617]  [] ? dput+0xd7/0x240
Mar 13 07:37:22 host kernel: [938438.416618]  [] ?
do_sys_open+0x17a/0x210
Mar 13 07:37:22 host kernel: [938438.416619]  [] ?
SyS_getdents64+0x7b/0x110
Mar 13 07:37:22 host kernel: [938438.416621]  [] ?
fillonedir+0x120/0x120
Mar 13 07:37:22 host kernel: [938438.416622]  [] ?
do_fast_syscall_32+0x92/0x220
Mar 13 07:37:22 host kernel: [938438.416625]  [] ?
sysenter_past_esp+0x47/0x75
Mar 13 07:37:22 host kernel: [938438.416626] Mem-Info:
Mar 13 07:37:22 host kernel: [938438.416628] active_anon:297689
inactive_anon:22755 isolated_anon:0
Mar 13 07:37:22 host kernel: [938438.416628]  active_file:380790
inactive_file:974821 isolated_file:60
Mar 13 07:37:22 host kernel: [938438.416628]  unevictable:0 dirty:0
writeback:0 unstable:0
Mar 13 07:37:22 host kernel: [938438.416628]  slab_reclaimable:180472
slab_unreclaimable:5691
Mar 13 07:37:22 host kernel: [938438.416628]  mapped:49063 shmem:41759
pagetables:2650 bounce:0
Mar 13 07:37:22 host kernel: [938438.416628]  free:152936 free_pcp:182
free_cma:0
Mar 13 07:37:22 host kernel: [938438.416630] Node 0
active_anon:1190756kB inactive_anon:91020kB active_file:1523160kB
inactive_file:3899284kB unevictable:0kB isolated(anon):0kB
isolated(file):240kB mapped:196252kB dirty:0kB writeback:0kB shmem:0kB
shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 167036kB writeback_tmp:0kB
unstable:0kB pages_scanned:63939523 all_unreclaimable? yes
Mar 13 07:37:22 host kernel: [938438.416632] DMA free:3804kB min:788kB
low:984kB high:1180kB active_anon:0kB inactive_anon:0kB

If Linux Is About Choice, Why Then ...

2017-03-13 Thread Patrick Bartek
The Linux mantra has always been "choice," plethoras of choices. So why
at install time, is there no choice for the init system?  You get what
the developers decide. Yes, you can install a new one -- I've done it
and it works -- but only after the install.  It'd be a lot easier, if
there were a choice to begin with just like whether you want a GUI and
which one.

Now, I know with LFS, you get to choose everything, etc.  But is a
choice of init at install time so outrageous that no one ever
considered it or is it technically unfeasible or something else.

Just curious.

B



Re: How to restart root sending emails?

2017-03-13 Thread Andy Smith
Hello,

On Sun, Mar 12, 2017 at 10:49:50PM -0500, David Wright wrote:
> On Mon 13 Mar 2017 at 03:05:31 (+), Andy Smith wrote:
> > On Sun, Mar 12, 2017 at 10:55:05AM +, Sharon Kimble wrote:
> > > In an effort to get gnus to read root emails I've chowned
> > > /var/mail/mail, added myself to the 'mail' group, changed the
> > > permissions of /var/mail/mail, and generally frigged around with it.

[…]

> > I would start by putting the correct ownership and permissions back
> > on /var/mail/mail. It is normally owned by mail:mail with mode 0600.
> 
> It might make it clearer to write:
> /var/mail/foo is owned by foo:mail with mode 0600,
> /var/mail/bar is owned by bar:mail with mode 0600,
> etc.

The file in question was actually /var/mail/mail and if it exists it
will be owned by mail:mail on Debian, though.

> I would just add that I don't think I've ever had mail sent to user
> "mail" by anything, and so I've never observed a file called /var/mail/mail.

It's where mail for root goes to if delivered locally to an mbox
format spool file. At no point does a /var/mail/root get created as
the system won't want to run an MDA as root and this also avoids
having to run an MUA as root to read it.

But best practice is to send root's email to a regular user or list
of users.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Apology to siduction 17.01 (was Re: why??why?why??)

2017-03-13 Thread Rob van der Putten

Hi there


On 13/03/17 15:54, GiaThnYgeia wrote:


Out of my frustration and lack of understanding, or the belief that all
systems should run as trouble-free as clean-debian, and possibly due to
just getting tired of fighting something too long, I bad-mouthed
siduction in public.

My source of frustration came from fighting an installation in a tired
old system (64bit) and a mediocre not so smart monitor.  Most installers
and systems I've seen use 800x600 as their boot/grub screen.
Siduction probably doesn't have access to an old monitor.  What this
meant was the screen would blank out and have an internal error showing
not-compatible meanwhile the grub time would expire and boot up
eventually to a graphical login screen.  So I thought some weird boot
system prevents me from seeing what's going on or giving me options, so
in effect I lost access to all other installed systems.

With a clean head and a different pc I went in as root and looked on the
usb what the grub config looked like and simply replaced the high
resolution to an 800x600 and delayed the default boot sequence just in case.

Siduction ... the best grub-configuration I have seen yet, once you can
get to it and edit it :)

Sorry Siduction!
kAt

PS  But you (siduction) should lower your graphics expectations down a
notch or two.  There are some 1024 monitors still around.


My server has a 12 Inch 640x480 monitor (IBM 8513).
Installers shouldn't make assumptions about resolutions.


PS2  Maybe a way to scale back and confirm visibility of the grub menu
before it boots the default may help, if you MUST high a high definition
grub screen.

PS3  Being more confident I can back up and restore my experimentation
with siduction really did help as well ;)  dd/xorriso and all!

PS4  More than a week ago when I subscribed to their forum "I asked" on
why would their installer not run on very similar systems.  Never
thought the monitor was IT.  I got no response from them ... but I
assume small teams of developers can't address everyone's complaints.



Regards,
Rob





Re: `Filter failed' no print error message

2017-03-13 Thread Rob van der Putten

Hi there


On 13/03/17 17:27, Rodolfo Medina wrote:


Brian  writes:


On Sat 11 Mar 2017 at 21:06:23 +, Rodolfo Medina wrote:


Brian  writes:


On Tue 07 Mar 2017 at 15:41:54 +, Rodolfo Medina wrote:



Thanks, `cups' alone was enough.  Now the printer seems to be configured.
But it does not print, and, when I get into `jobs', I see they are
stopped with "Filter failed" claim.  What can I do?  Please help.
Thanks.


Read the wiki and find out how to activate debug logging. Produce an
error_log and examine it for the filters which are run and which one
failed. Tell us about all the filters.

Also, post your printer make and model and the output of 'lpstat -t'.



I noticed that CUPS does not really provide the PPD file I'm adding.  In
fact, there in the managing section, `Modify Printer', where it says `Or
Provide a PPD File', I select the file: ML-191xspl2.ppd, which is in my home
directory, then click on `Modify Printer' and it seems all right; but then,
when I get into it again, the file is no more there, and there is `No file
selected' instead.  Maybe this is related to my `Filter failed' problem...?


There are seven instructions in the advice given. You haven't provided a
response to any of them. If there is a problem with following what is
required, please ask.


As the wiki suggests, I did:

 # cupsctl --debug-logging

.  Then I did:

$ lpstat -t
scheduler is running
system default destination: Samsung_ML-191x_252x_Series
device for Samsung_ML-191x_252x_Series: 
usb://Samsung/ML-191x%20252x%20Series?serial=Z2L9BABZ700571F.
Samsung_ML-191x_252x_Series accepting requests since Sun 12 Mar 2017 07:44:58 
GMT
printer Samsung_ML-191x_252x_Series is idle.  enabled since Sun 12 Mar 2017 
07:44:58 GMT
Sending data to printer.
Samsung_ML-191x_252x_Series-16 rodolfo 457728   Sat 11 Mar 2017 
19:56:36 GMT
Samsung_ML-191x_252x_Series-17 unknown   1024   Sat 11 Mar 2017 
20:09:12 GMT
Samsung_ML-191x_252x_Series-18 unknown 457728   Sat 11 Mar 2017 
20:20:18 GMT
Samsung_ML-191x_252x_Series-19 rodolfo 457728   Sun 12 Mar 2017 
07:44:49 GMT


The file /var/log/cups/error_log is very long.  I noticed in it the following
lines:

D [07/Mar/2017:14:35:23 +] [Job 1] Started filter 
/usr/lib/cups/filter/pdftopdf (PID 4741)
D [07/Mar/2017:14:35:23 +] [Job 1] Started filter 
/usr/lib/cups/filter/pdftops (PID 4742)
D [07/Mar/2017:14:35:23 +] [Job 1] Started filter 
/usr/lib/cups/filter/rastertosamsungspl (PID 4743)
D [07/Mar/2017:14:35:23 +] [Job 1] Started backend 
/usr/lib/cups/backend/usb (PID 4744)
D [07/Mar/2017:14:35:23 +] [Job 1] pdftops - copying to temp print file 
\"/var/spool/cups/tmp/0128658cb23ec\"
D [07/Mar/2017:14:35:23 +] [Job 1] execv failed: No such file or directory


Someone is calling a program which isn't there. Or the path is wrong.
Does pdftops exist?


D [07/Mar/2017:14:35:23 +] [Job 1] PID 4743 
(/usr/lib/cups/filter/rastertosamsungspl) stopped with status 102 (No such file 
or directory)
D [07/Mar/2017:14:35:23 +] [Job 1] Hint: Try setting the LogLevel to 
"debug" to find out more.


Don't know what to do now, please help...


While installing Jessie I noticed that I had to manually edit some file 
to get things to work. I think it was printers.conf, but I'm not sure.



Regards,
Rob




Re: How to restart root sending emails?

2017-03-13 Thread Sharon Kimble
Andy Smith  writes:

> Hi Sharon,
>
> On Sun, Mar 12, 2017 at 10:55:05AM +, Sharon Kimble wrote:
>> In an effort to get gnus to read root emails I've chowned
>> /var/mail/mail, added myself to the 'mail' group, changed the
>> permissions of /var/mail/mail, and generally frigged around with it.
>
> That is not a good way to go about achieving this.
>
> A better way to achieve the goal of being able to read emails to
> root would be to edit /etc/aliases so that it contains something
> like:
>
> root: sharon
>
> where "sharon" is your local user name.
>
> That would cause email for root to be redirected to your username
> where you could read it with your usual mail reading software. If
> you don't read email locally then you could probably instead send it
> to the email address you have used here:
>
> root: boudic...@skimble.plus.com
>
>> So how do I restart root sending logwatch etc again please?
>
> I would start by putting the correct ownership and permissions back
> on /var/mail/mail. It is normally owned by mail:mail with mode 0600.
>
> If that doesn't help, try looking at the logs of your mail server
> when you expect the emails to be sent. If using exim, that would be
> /var/log/exim4/mainlog and /var/log/exim4/paniclog.
>

Already done thanks Andy, and now that '/etc/alias' is changed I'm
getting all roots emails.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = http://www.drugfacts.org.uk  
Debian 8.6, fluxbox 1.3.5-2, emacs 25.1.1.1


signature.asc
Description: PGP signature


Re: Some help with dd backing up into an iso

2017-03-13 Thread GiaThnYgeia
Very good information but the word sudo comes up everywhere.
If a user does not have sudo rights she/he can back-up files and restore
them as long as s/he has rights to what their backing-up/restoring.  So
if you are in a network public environment you may not even have rights
to even your own disk if some of it is somehow protected.  And in some
places to protect the system and network mounting media is not allowed,
bios may be locked and prevent the machine from booting anything other
than its networked drive.


Thomas Schmitt:
> Hi,
> 
> the restore scenario for the xorriso backup would be like this:
> 
> 
> - Prepare the storage device to which you want to restore.
>   This may be as simple as choosing some directory in a filesystem with
>   enough free space, or as complicated as setting up a new operating
>   system on a freshly purchased hard disk.
> 
> 
> - If the backup has some history of copying or transmission (e.g. by
>   being burned to a DVD), then first let xorriso check whether it is
>   still undamaged:
> 
> iso=/dev/sr0
> 
> xorriso -for_backup -indev "$iso" -check_media --
> 
>   will check the MD5 of superblock and directory tree and then read the
>   whole ISO sequentially to look for the MD5 checksum tags. Those MD5s
>   were stored by xorriso during the write run with setting -for_backup.
> 
>   Example of how a goot verification should look like (with lower speed
>   if read from a real DVD):
> 
> xorriso : UPDATE : Found matching MD5 superblock tag: start=32 size=18
> xorriso : UPDATE : Found matching MD5 tree tag: start=32 size=302
> xorriso : UPDATE : Found matching MD5 session tag: start=32 size=81217
> xorriso : UPDATE : 81250 blocks read in 1 seconds = 120.1xD
> Media checks :lba ,   size , quality
> Media region :  0 ,  81250 , + good
> Media region :  81250 ,158 , 0 untested
> MD5 checks   :lba ,   size , result
> MD5 tag range: 32 ,  81217 , + md5_match
> 
>   "Media region" with quality "+ good" means that there were no i/o errors.
>   "0 untested" means that these blocks are not claimed by the ISO filesystem.
> 
>   "MD5 tag range" with result "+ md5_match" means that the MD5 checksum
>   of the inspected region matches the recorded MD5.
> 
> 
> - If you just want to pick some files by help of your favorite file
>   copier tool, then mount the medium
> 
> iso=/dev/sr0
> sudo mount "$iso" /media/user/iso
> 
>   or if the ISO is in a data file rather than on a DVD
> 
> iso=usb_part1.iso
> sudo mount -o loop "$iso" /media/user/iso
> 
>   Now you may copy files from /media/user/iso to the place where you want
>   them to be. My favorite would be cp with option -a, possibly under sudo
>   control for the power to assign file ownerships.
>   (Caution: This can of course shoot your foot if you do not take care
> when composing the cp command.)
> 
> 
> - If you want to copy the whole ISO content from DVD to a directory tree
>   on hard disk or if ACLs and Extended Attributes matter, it is advisable
>   to let xorriso copy the files out of the ISO:
> 
> target=/my/prepared/restore/directory
> 
> sudo xorriso \
>  -osirrox on:sort_lba_on:auto_chmod_on \
>  -for_backup \
>  -indev "$iso" \
>  -extract / "$target"
> 
>   Only the superuser or sudo are permitted to assign file ownership to
>   other users. Omit "sudo" if all restored files shall belong the user
>   who operates xorriso.
> 
>   The -osirrox setting "on" enables command -extract. Setting "sort_lba"
>   lets xorriso read the files from DVD in the order of their content
>   block addresses. This avoids slow and loud laser head movements.
>   Because this reading order may cause revisiting of directories which
>   were already restored without wx-permission, the setting "auto_chmod_on"
>   permits xorriso to temprorarily grant its user those permissions.
> 
> 
> Have a nice day :)
> 
> Thomas
> 

-- 
 "The most violent element in society is ignorance" rEG



Re: How to restart root sending emails?

2017-03-13 Thread rhkramer
On Sunday, March 12, 2017 11:05:31 PM Andy Smith wrote:
> A better way to achieve the goal of being able to read emails to
> root would be to edit /etc/aliases so that it contains something
> like:
> 
> root: sharon
> 
> where "sharon" is your local user name.
> 
> That would cause email for root to be redirected to your username
> where you could read it with your usual mail reading software. If
> you don't read email locally then you could probably instead send it
> to the email address you have used here:
> 
> root: boudic...@skimble.plus.com

Just for the sake of something (maybe collecting nits?), I believe this (that 
is, sending to  boudic...@skimble.plus.com) will work only if (1) you have an 
email server installed (I'm pretty sure Debian does that by default, and (2) 
that email server is configured to send / relay mail via your ISP, which, ime, 
is not done by default on a Debian install.

Instead many (or at least some) of us have what I call a Windows style e-mail 
client, that is, one that sends emails to others on the Internet directly from 
that email client using, for example, SMTP.  I use kmail, getting my mail via 
pop3, and sending via SMTP.




Re: Black screen after "UEFI Installer menu"

2017-03-13 Thread didier gaumet
Le 13/03/2017 à 18:25, Kent West a écrit :

> Maybe turn off UEFI (assuming your mobo has legacy BIOS support), just
> to see if that gives you any clues?

Yes, tinkering with the UEFI of the machine is a good idea, particularly
switch off secure boot, tpm and the like. Also HP is known for its
non-standard implementations of UEFI. And in this case, for the z240
series, Ubuntu seems to be a commercially supported OS by HP, unlike
Debian, that could be a hint...




Re: Black screen after "UEFI Installer menu"

2017-03-13 Thread Kostiantyn Ponomarenko
I tried to boot with variations of these options
"DEBIAN_FRONTEND=text|newt|gtk and vga=normal fb=false", but no luck.
I was also comparing "boot/grub/grub.cfg" from Debian and Ubuntu. I
found that Debian has there all that Ubuntu has and even more
settings.
Don't know what to do.

Any other thoughts?



Re: Black screen after "UEFI Installer menu"

2017-03-13 Thread Kent West
On Mar 13, 2017 08:27, "didier gaumet"  wrote:

Le 13/03/2017 à 13:21, Kostiantyn Ponomarenko a écrit :
[...]
> Any other thoughts?
> Thank you,


Maybe turn off UEFI (assuming your mobo has legacy BIOS support), just to
see if that gives you any clues?

-- 
Kent


claws-mail sending failure

2017-03-13 Thread Charles E. Blair
   I have been using claws-mail for several years.  After
I changed the server used for sending mail, receiving has
continued to work but not sending.

   When I closed claws-mail after a failure, my screen
displayed

> Warning SSL connection failed (A TLS packet with
> unexpected length was received)
> Warning couldn't start TLS session

   I reproduce below part of ./claws-mail/claws.log

   Any advice on how to fix things would be appreciated.

[11:12:41] * message: Account 'c-bl...@imap.illinois.edu': Connecting to IMAP4 
server: imap.illinois.edu...
...
[11:12:41] IMAP4> Logging c-blair to imap.illinois.edu using LOGIN
[11:12:42] IMAP4< LOGIN completed.
[11:12:42] IMAP4< Login to imap.illinois.edu successful
[11:12:42] IMAP4< 5 OK [READ-WRITE] SELECT completed. 
[11:12:42] IMAP4- [fetching UIDs...]
[11:12:42] IMAP4< 6 OK FETCH completed. 
[11:12:42] IMAP4> 8 NOOP 
[11:12:42] IMAP4< 8 OK NOOP completed. 
[11:12:42] IMAP4> 9 UID STORE 6854 +FLAGS.SILENT (\Seen) 
[11:12:42] IMAP4< 9 OK STORE completed. 
[11:12:42] * message: Account 'c-bl...@imap.illinois.edu': Connecting to SMTP 
server: smtp.illinois.edu ...
[11:12:42] SMTP< 220 smtp.illinois.edu Microsoft ESMTP MAIL Service ready at 
Mon, 13 Mar 2017 11:12:41 -0500
[11:12:42] ESMTP< 250-smtp.illinois.edu Hello [192.17.23.217]
[11:12:42] ESMTP< 250-STARTTLS
[11:12:42] ESMTP> STARTTLS
[11:12:42] ESMTP< 220 2.0.0 SMTP server ready
[11:12:42] ** warning: couldn't start TLS session
[11:12:42] *** error: Error occurred while sending the message.



Re: Some help with dd backing up into an iso

2017-03-13 Thread Thomas Schmitt
Hi,

the restore scenario for the xorriso backup would be like this:


- Prepare the storage device to which you want to restore.
  This may be as simple as choosing some directory in a filesystem with
  enough free space, or as complicated as setting up a new operating
  system on a freshly purchased hard disk.


- If the backup has some history of copying or transmission (e.g. by
  being burned to a DVD), then first let xorriso check whether it is
  still undamaged:

iso=/dev/sr0

xorriso -for_backup -indev "$iso" -check_media --

  will check the MD5 of superblock and directory tree and then read the
  whole ISO sequentially to look for the MD5 checksum tags. Those MD5s
  were stored by xorriso during the write run with setting -for_backup.

  Example of how a goot verification should look like (with lower speed
  if read from a real DVD):

xorriso : UPDATE : Found matching MD5 superblock tag: start=32 size=18
xorriso : UPDATE : Found matching MD5 tree tag: start=32 size=302
xorriso : UPDATE : Found matching MD5 session tag: start=32 size=81217
xorriso : UPDATE : 81250 blocks read in 1 seconds = 120.1xD
Media checks :lba ,   size , quality
Media region :  0 ,  81250 , + good
Media region :  81250 ,158 , 0 untested
MD5 checks   :lba ,   size , result
MD5 tag range: 32 ,  81217 , + md5_match

  "Media region" with quality "+ good" means that there were no i/o errors.
  "0 untested" means that these blocks are not claimed by the ISO filesystem.

  "MD5 tag range" with result "+ md5_match" means that the MD5 checksum
  of the inspected region matches the recorded MD5.


- If you just want to pick some files by help of your favorite file
  copier tool, then mount the medium

iso=/dev/sr0
sudo mount "$iso" /media/user/iso

  or if the ISO is in a data file rather than on a DVD

iso=usb_part1.iso
sudo mount -o loop "$iso" /media/user/iso

  Now you may copy files from /media/user/iso to the place where you want
  them to be. My favorite would be cp with option -a, possibly under sudo
  control for the power to assign file ownerships.
  (Caution: This can of course shoot your foot if you do not take care
when composing the cp command.)


- If you want to copy the whole ISO content from DVD to a directory tree
  on hard disk or if ACLs and Extended Attributes matter, it is advisable
  to let xorriso copy the files out of the ISO:

target=/my/prepared/restore/directory

sudo xorriso \
 -osirrox on:sort_lba_on:auto_chmod_on \
 -for_backup \
 -indev "$iso" \
 -extract / "$target"

  Only the superuser or sudo are permitted to assign file ownership to
  other users. Omit "sudo" if all restored files shall belong the user
  who operates xorriso.

  The -osirrox setting "on" enables command -extract. Setting "sort_lba"
  lets xorriso read the files from DVD in the order of their content
  block addresses. This avoids slow and loud laser head movements.
  Because this reading order may cause revisiting of directories which
  were already restored without wx-permission, the setting "auto_chmod_on"
  permits xorriso to temprorarily grant its user those permissions.


Have a nice day :)

Thomas



Re: `Filter failed' no print error message

2017-03-13 Thread Rodolfo Medina

Brian  writes:

> On Sat 11 Mar 2017 at 21:06:23 +, Rodolfo Medina wrote:
>
>> Brian  writes:
>> 
>> > On Tue 07 Mar 2017 at 15:41:54 +, Rodolfo Medina wrote:
>> >
>> >> 
>> >> Thanks, `cups' alone was enough.  Now the printer seems to be configured.
>> >> But it does not print, and, when I get into `jobs', I see they are
>> >> stopped with "Filter failed" claim.  What can I do?  Please help.
>> >> Thanks.
>> >
>> > Read the wiki and find out how to activate debug logging. Produce an
>> > error_log and examine it for the filters which are run and which one
>> > failed. Tell us about all the filters.
>> >
>> > Also, post your printer make and model and the output of 'lpstat -t'.
>> 
>> 
>> I noticed that CUPS does not really provide the PPD file I'm adding.  In
>> fact, there in the managing section, `Modify Printer', where it says `Or
>> Provide a PPD File', I select the file: ML-191xspl2.ppd, which is in my home
>> directory, then click on `Modify Printer' and it seems all right; but then,
>> when I get into it again, the file is no more there, and there is `No file
>> selected' instead.  Maybe this is related to my `Filter failed' problem...?
>
> There are seven instructions in the advice given. You haven't provided a
> response to any of them. If there is a problem with following what is
> required, please ask.

As the wiki suggests, I did:

 # cupsctl --debug-logging

.  Then I did:

$ lpstat -t
scheduler is running
system default destination: Samsung_ML-191x_252x_Series
device for Samsung_ML-191x_252x_Series: 
usb://Samsung/ML-191x%20252x%20Series?serial=Z2L9BABZ700571F.
Samsung_ML-191x_252x_Series accepting requests since Sun 12 Mar 2017 07:44:58 
GMT
printer Samsung_ML-191x_252x_Series is idle.  enabled since Sun 12 Mar 2017 
07:44:58 GMT
Sending data to printer.
Samsung_ML-191x_252x_Series-16 rodolfo 457728   Sat 11 Mar 2017 
19:56:36 GMT
Samsung_ML-191x_252x_Series-17 unknown   1024   Sat 11 Mar 2017 
20:09:12 GMT
Samsung_ML-191x_252x_Series-18 unknown 457728   Sat 11 Mar 2017 
20:20:18 GMT
Samsung_ML-191x_252x_Series-19 rodolfo 457728   Sun 12 Mar 2017 
07:44:49 GMT


The file /var/log/cups/error_log is very long.  I noticed in it the following
lines:

D [07/Mar/2017:14:35:23 +] [Job 1] Started filter 
/usr/lib/cups/filter/pdftopdf (PID 4741)
D [07/Mar/2017:14:35:23 +] [Job 1] Started filter 
/usr/lib/cups/filter/pdftops (PID 4742)
D [07/Mar/2017:14:35:23 +] [Job 1] Started filter 
/usr/lib/cups/filter/rastertosamsungspl (PID 4743)
D [07/Mar/2017:14:35:23 +] [Job 1] Started backend 
/usr/lib/cups/backend/usb (PID 4744)
D [07/Mar/2017:14:35:23 +] [Job 1] pdftops - copying to temp print file 
\"/var/spool/cups/tmp/0128658cb23ec\"
D [07/Mar/2017:14:35:23 +] [Job 1] execv failed: No such file or directory
D [07/Mar/2017:14:35:23 +] [Job 1] PID 4743 
(/usr/lib/cups/filter/rastertosamsungspl) stopped with status 102 (No such file 
or directory)
D [07/Mar/2017:14:35:23 +] [Job 1] Hint: Try setting the LogLevel to 
"debug" to find out more.


Don't know what to do now, please help...

Thanks,

Rodolfo



[debian/stretch] problems playing zipped midi file on console

2017-03-13 Thread Ennio-Sr
[Duplicates a post to _debian/italian@..._]

Hi all!

I hope somebody can help me solve this dilemma:

I have two PCs with the same debian version and (to the best of my
knowledge) the same configuration, at least AFA _/etc/mime.types_ and
_/home/user/.mailcap_ is concerned.

However, when I try to play a  zipped midi file (from within _lynx_) the
two PCs behave differently: one plays it using timidity, whereas the
other asks to Download or Cancel the file.

BTW, _/etc/lynx/lynx.cfg_ and _/home/user/.lynxrc_ are also the same.
Can you suggest what else should I check?

Thanks for your attention, regards Ennio

-- 
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo.   \\?//
 Fa' qualche cosa di cui non sei capace!"  (diceva Henry Miller) ](°|°)
[Why use Win$ozz (I say) if ... "even a fool can do that.  )=(
 Do something you aren't good at!" (as Henry Miller used to say) ]



Re: outil de monitoring

2017-03-13 Thread Alexandre Decorny
salut à tous,

J'utilise centreon qui à le mérite d'être en français. A la base le moteur
était nagios mais avec le temps tout a été repensé de manière plus
rapide/efficace. C'est un peu une usine à gaz à configurer mais ca
fonctionne très bien.

Un très très bon blog sur le sujet : http://www.sugarbug.web4me.fr/atelier/

@+

Alex


Bonne réception,

Alexandre Decorny
Service Informatique - CAC

Le 13 mars 2017 à 15:45, Grégory Bulot  a écrit :

> Bonjour,
>
> Le Sun, 12 Mar 2017 23:59:37 +0100 Jean-Michel OLTRA a écrit
>
>>
>>Bonjour,
>>
>>
>> Je cherche un nouvel outil de monitoring réseau.
>>
>
>
> Je ne pratique pas les outils de supervision nommés, j'utilise au
> quotidien xymon (https://sourceforge.net/projects/xymon/), pas de
> problème de paquet depuis la version debian 6 (je n'utilisais pas avant
> cette version)
>
> Ne pas se laisser avoir par l'aspect extrêmement austère de
> l'interface, "c'est orienté production" ;-)
>
> je développe mes sondes spécifiques (plugins) en bash. Il existe un
> paquet hobbit-plugins assez ancien, je l'utilise pour la supervision
> des MAJ debian, il y a ~ 10 autres plugins.
> il existe sûrement d'autres spécifique à ton besoin
>
>
>


Re: prevent "dpkg -l" from showing nonexisting packages

2017-03-13 Thread Vincent Lefevre
On 2017-03-13 00:23:54 -0400, kamaraju kusumanchi wrote:
> On Sat, Mar 11, 2017 at 12:08 PM, Brian  wrote:
> > On Sat 11 Mar 2017 at 10:21:13 -0500, kamaraju kusumanchi wrote:
> >>  How to change this behaviour so
> >> it only shows packages that are available in repositories?
> >
> > Impossible. 'dpkg -l' only shows packages which have files on the system.
> >
> > Perhaps you would like to reframe your query?
> 
> Let me rephrase my question. If "dpkg -l" cannot do it, is there some
> other command that will only show packages from the current
> repositories?

Perhaps apt-show-versions, which can check whether a package
is in a repository. You will need options and/or grep.

For instance, on one of my machines, I get in the output:

unison2.40.102:amd64 2.40.102-3 installed: No available version in archive

i.e. apt-show-versions detects that this package is installed,
but no longer in any declared repository.

AFAIK, aptitude can do similar things.

> If "dpkg -l" only shows packages which files on the system, what files
> should I remove, so that packages such as flashplayer-mozilla will not
> show up in its output?

"rc" means that the package has been removed but its conffiles are
still there (i.e. the package has not been "purged").

You can get the list of remaining files with:

  dpkg -L 

You can purge the package (i.e. remove all the conffiles) with:

  dpkg -P 

> If there is no generic way of doing it, can I do it just for just
> flashplayer-mozilla package?

Note: There is a package that downloads the non-free Flash plugin.
These files are not from the package, thus will not be detected
by dpkg. If you have used it and purged the package, you should
manually check that everything has been cleaned up (perhaps this
package ensures that, though).

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: outil de monitoring

2017-03-13 Thread Grégory Bulot

Bonjour,

Le Sun, 12 Mar 2017 23:59:37 +0100 Jean-Michel OLTRA a écrit


   Bonjour,


Je cherche un nouvel outil de monitoring réseau.



Je ne pratique pas les outils de supervision nommés, j'utilise au
quotidien xymon (https://sourceforge.net/projects/xymon/), pas de
problème de paquet depuis la version debian 6 (je n'utilisais pas avant
cette version)

Ne pas se laisser avoir par l'aspect extrêmement austère de
l'interface, "c'est orienté production" ;-)

je développe mes sondes spécifiques (plugins) en bash. Il existe un
paquet hobbit-plugins assez ancien, je l'utilise pour la supervision
des MAJ debian, il y a ~ 10 autres plugins.
il existe sûrement d'autres spécifique à ton besoin




Apology to siduction 17.01 (was Re: why??why?why??)

2017-03-13 Thread GiaThnYgeia
Out of my frustration and lack of understanding, or the belief that all
systems should run as trouble-free as clean-debian, and possibly due to
just getting tired of fighting something too long, I bad-mouthed
siduction in public.

My source of frustration came from fighting an installation in a tired
old system (64bit) and a mediocre not so smart monitor.  Most installers
and systems I've seen use 800x600 as their boot/grub screen.
Siduction probably doesn't have access to an old monitor.  What this
meant was the screen would blank out and have an internal error showing
not-compatible meanwhile the grub time would expire and boot up
eventually to a graphical login screen.  So I thought some weird boot
system prevents me from seeing what's going on or giving me options, so
in effect I lost access to all other installed systems.

With a clean head and a different pc I went in as root and looked on the
usb what the grub config looked like and simply replaced the high
resolution to an 800x600 and delayed the default boot sequence just in case.

Siduction ... the best grub-configuration I have seen yet, once you can
get to it and edit it :)

Sorry Siduction!
kAt

PS  But you (siduction) should lower your graphics expectations down a
notch or two.  There are some 1024 monitors still around.

PS2  Maybe a way to scale back and confirm visibility of the grub menu
before it boots the default may help, if you MUST high a high definition
grub screen.

PS3  Being more confident I can back up and restore my experimentation
with siduction really did help as well ;)  dd/xorriso and all!

PS4  More than a week ago when I subscribed to their forum "I asked" on
why would their installer not run on very similar systems.  Never
thought the monitor was IT.  I got no response from them ... but I
assume small teams of developers can't address everyone's complaints.



GiaThnYgeia:
> The past few Fridays it has become my joy for the weekend to install in
> small drives some debian based distro ...  I tried Q4os and siduction
> ... the experience has been a disastrous weekend over another ...  I'm
> done playing with this stuff.  I'm sticking with debian and all I'll
> play with from now on is different phases of it stable/testing/unstable
> 
> ***  All the shortcuts some of those distros make around debian
> procedures and all the funky stuff the employ seem much more trouble
> than it is worth ***
> 
> Although I have to admit that Kali in a virtual machine on a 32bit
> debian seemed pretty good ... but all of its tools are pretty useless
> for me.  I just wanted to see what it is like...
> 
> I still want to figure out how to make backup images with xorriso as it
> seems it may be very handy when risking to break the system.
> 
> my 2c
> kAt
> 

-- 
 "The most violent element in society is ignorance" rEG



Re: outil de monitoring

2017-03-13 Thread Jean-Michel OLTRA

Bonjour,


Le lundi 13 mars 2017, Francois Lafont a écrit...


> (Désolé Jean-Michel je t'ai répondu en privé par erreur,
> voici mon message mais sur la liste de diffusion cette fois.)

Pas de souci.

> C'est ni plus ni moins un fork de Shinken où l'accent a été mis
> sur la qualité du code (tests unitaires etc). Bon, je n'ai jamais
> testé pour l'instant (faute de temps) mais le projet me semble
> vraiment actif et très prometteur.

Problèmes en série pour l'installation sur Jessie : python-requests, erreur
unicode au lancement de alignak-webui. J'abandonne cette piste. Il faudrait
y revenir sur Stretch.

Merci pour l'idée. Je la garde dans un coin de ma mémoire.

-- 
jm



Re: Guide(s?) to backup philosophies

2017-03-13 Thread Dan Ritter
On Sat, Mar 11, 2017 at 09:10:54AM -0600, Richard Owlett wrote:
> I have one partition that might be called a "production" environment, i.e.
> fairly stable and has the most valuable content.
> A second partition hosts my experiments - I've a project to create an
> optimal install. The third is the target of those experimental installs
> whose content doesn't rate explicit backups. The scripts for creating those
> installs being on the second partition.
> 
> I've vague ideas of what backup pattern(s) I might follow.
> I'm looking for reading materials that might trigger "I hadn't thought of
> that" moments.

A quick overview:

Nobody wants backups. Everybody wants restores.

The questions are: 

- what sort of disaster are you trying to recover from

- how often do you expect each to happen

- how much time are you willing to take recovering

- how much are you willing to spend


Let's take a few common scenarios.

First: a house full of personal use machines, plus a server. We
expect files to go missing or be accidentally deleted fairly
often, and we want it to be easy and cheap to recover from that.

The general answer for that is to store files on a networked
filesystem of some sort - NFS, SMB, sshfs, whatever - which
resides on the server and is snapshotted every so often. Tools
for snapshotting include LVM (not recommended), rsnapshot, and
btrfs and zfs. Anything with a user-accessible snapshot method
is good here - sysadmins don't need to be involved in every
oops.

Second: we have the same setup, but we would also like to make
it reasonably easy to restore a whole machine when we have an
accident with the hard disk.

For that, we need image backups over the network to the server.
We won't want to snapshot these, just keep the most recent good
image. Testing these every so often is necessary.

Third scenario: running a service that makes you money. For
this, we want to be up all the time. We can spend a lot more
money on this, because we expect to make money from it.

The solutions here involve high availability: multiple machines,
possibly in multiple locations, handling the same service in a
coordinated fashion. Users need to be automatically directed to
a working instance, and we need a monitoring system to tell us
when a machine is down, because if the HA system is working we
will not get user complaints.

-dsr-



Re: Samba setup or alternative?

2017-03-13 Thread Dan Purgert
Eduardo M KALINOWSKI wrote:
> On 11-03-2017 09:35, Johann Spies wrote:
>> Is there not a better way to mount spyker's home directory on my laptop?
>>
>
> If you can access it via ssh, you can try sshfs.
>

There's also NFS, which I find to be a little more tolerant of me :).

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: Some help with dd backing up into an iso

2017-03-13 Thread Thomas Schmitt
Hi,

fresh mail from GiaThnYgeia:
> So I decided to run the whole script as sudo or sudo xorriso and it
> seems the problem is solved.

Good to know. You are now supposed to have a copy of the files and
directories of the USB stick.


> Should I attempt to rebuild it to a test disk to see if it reliable?

The disk still needs partitioning and possibly boot equipment.
In case of real backup restoration you will need to rebuild these data
by tools like parted and grub.

That's why a (compressed) dd copy of the not mounted USB stick is the
quickest way to get back the whole disk layout.

The ISO provides easy access to the single files. A test for reliablility
would rather be in comparing both file trees:

  sudo mkdir /media/user/iso
  sudo mount -o loop usb_part1.iso /media/user/iso
  sudo diff -q -r /media/user/sid /media/user/iso | less

Program "diff" will list files with differing content.
So no output is a good sign then.

When done, unmount the ISO:

  sudo umount /media/user/iso


You may of course restore the ISO content to some directory in some
filesystem. I will discuss your options in respect to this in another
mail. I have some things to do right now.


Have a nice day :)

Thomas



Re: Black screen after "UEFI Installer menu"

2017-03-13 Thread didier gaumet
Le 13/03/2017 à 13:21, Kostiantyn Ponomarenko a écrit :
[...]
> Any other thoughts?
> Thank you,
> Kostia

look at:
https://www.debian.org/releases/stable/amd64/ch05s03.html.en#installer-args

maybe you could for example try a combination of some parameters like
DEBIAN_FRONTEND=text|newt|gtk and vga=normal fb=false (thus disabling
KMS...)



Re: Some help with dd backing up into an iso

2017-03-13 Thread Thomas Schmitt
Hi,

GiaThnYgeia wrote:
> drwx-- 2 root root 16384 Mar 10 03:21 /media/user/sid/lost+found

If you were not superuser or ran xorriso under sudo, then the ownership
and permissions are a valid reason for being unable to read its content.

I do not generally advise to make backups as superuser. But since the
mounted USB stick probably contains files of many users with various
permission sets i now propose to become superuser or run xorriso under
control of program sudo:

   sudo xorriso \
   -for_backup \
   -outdev usb_part1.iso \
   -map /media/user/sid /


> drwxr-x---+   5 root root  4096 Mar 13 13:52 ..

Greg Wooledge wrote:
> It indicates the presence of an ACL (file access control list),

Well, it's the boss directory which we do not want to backup.
Nevertheless, Debian's build of xorriso run with settimg -for_backup
will record ACLs and Extended Attributes. Linux mount will not show them,
but xorriso will be able to restore them.


Have a nice day :)

Thomas



Re: Some help with dd backing up into an iso

2017-03-13 Thread GiaThnYgeia
I changed the rights 0755 to this lost+ and it got stuck to an other
folder and contents that had only root/owner  privileges
So I decided to run the whole script as sudo or sudo xorriso and it
seems the problem is solved.

Should I attempt to rebuild it to a test disk to see if it reliable?

Thomas Schmitt:
> Whatever, this is a local filesystem problem which we may try to
> circumvent by omitting the offending file object.
> 
>xorriso \
>-for_backup \
>-outdev usb_part1.iso \
>-not_paths /media/user/sid/lost+found -- \
>-map /media/user/sid /
> 

xorriso : UPDATE : Writing:1925120s   99.8%   fifo 100%  buf  50%
24.2xD
ISO image produced: 1927897 sectors
Written to medium : 1928064 sectors at LBA 32
Writing to 'usb_part2.iso' completed successfully.

ISO image produced: 1927897 sectors
Written to medium : 1928064 sectors at LBA 32
Writing to 'usb_part1.iso' completed successfully.


-- 
 "The most violent element in society is ignorance" rEG



Re: Some help with dd backing up into an iso

2017-03-13 Thread Greg Wooledge
On Mon, Mar 13, 2017 at 12:15:00PM +, GiaThnYgeia wrote:
> What is that + at .. root-directory?  Mounting point?

> C;/media/user/sid$ ls -alt /media/user/sid
> total 124
> drwxr-x---+   5 root root  4096 Mar 13 13:52 ..

It indicates the presence of an ACL (file access control list), as
documented in "info coreutils ls":

 Following the file mode bits is a single character that specifies
 whether an alternate access method such as an access control list
 applies to the file.  When the character following the file mode
 bits is a space, there is no alternate access method.  When it is a
 printing character, then there is such a method.

 GNU `ls' uses a `.' character to indicate a file with a security
 context, but no other alternate access method.

 A file with any other combination of alternate access methods is
 marked with a `+' character.

See "man getfacl" and "man 5 acl" for more information on ACLs.



Re: Guide(s?) to backup philosophies

2017-03-13 Thread Dan Purgert
David Christensen wrote:
> On 03/11/2017 07:10 AM, Richard Owlett wrote:
>> I've vague ideas of what backup pattern(s) I might follow.
>> I'm looking for reading materials that might trigger "I hadn't thought
>> of that" moments.
>>
>> Suggestions?
>
> [1] is a decent overview:
>
> http://shop.oreilly.com/product/9780596102463.do
>
> [1] W. Curtis Preston, 2007, "Backup & Recovery Inexpensive Backup 
> Solutions for Open Systems", O'Reilly Media, ISBN: 978-0-596-10246-3

I can only agree that O'Reilly books are well worth the price of
admission.  

As for the backup schemes / plans (which I can only assume are in that
book, as I've not personally read it yet), I favor a 3-2-1 setup.

 - 3 copies (original, backup, backup of the backup)
 - 2 mediums (HDD & something else - right now optical ... though I
   really need to change that)
 - 1 offiite

Don't forget that "if you don't have a tested backup, you don't have
a backup."

Currently, the system here is

 - every PC has a cronjob backing up $HOME to a central "server" (read -
   repurposed PC with decent WD drives), just an rsync script that runs
   daily.
 - /path/to/backups/$user/Documents/ is tar'd weekly and burned to disc.
 - discs are copied, and taken to parents' place.  "Rolling Updates" are
   performed there (as the CD case / binder thing (see: [1]) is already
   full, take oldest set of discs, replace with the newest, repeat til
   full again, then start over at the beginning).



[1]
https://images-na.ssl-images-amazon.com/images/G/01/aplusautomation/vendorimages/b54c252f-3608-4565-814d-ab4ce301675c.jpg._CB317952912__SL300__.jpg

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: How do you disable / enable services from starting in systemd

2017-03-13 Thread Marc Auslander
Jiangsu Kumquat  writes:

>How do you disable / enable services from starting in systemd?
>I have gotten very used to the old way of how to start/stop services
>when booting using runlevels but I cannot figure out how to do any of
>this using systemd.
>So, I don't always use my web and SQL servers so I don't want it
>auto-starting at boot but I don't know how to turn it off.
>Thanks for reading this.
I've gotten tired of the passive agressive RTFM in this thread.

systemctl enable|disable unit-name



Re: Black screen after "UEFI Installer menu"

2017-03-13 Thread Kostiantyn Ponomarenko
My PC has only one integrated video card from Intel Core-i7 CPU.
If I am not mistaken the driver for this GPU is integrated into linux kernel.
Anyways I tried using this netinstall image with integrated
proprietary firmware and that didn't succeed.
Whatever boot option I choose from "Debian UEFI Installer menu", I see
black screen only.
I suspect that the grub config is missing some options.

Any other thoughts?
Thank you,
Kostia


On Fri, Mar 10, 2017 at 8:32 PM, didier gaumet  wrote:
>
> a possible cause of your problem could be a need for a firmware,
> probably for the graphic card, that is not included (proprietary) in the
> installer. so you could either:
> - install with the text-mode installer a text-only environment. reboot,
> then install needed firmwares, then install a graphic environment if
> that is what you want.
> - install with an installer including firmwares:
> http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.7.1+nonfree/
> http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/stretch_di_rc2/
>



Re: Some help with dd backing up into an iso

2017-03-13 Thread GiaThnYgeia
I'll have to learn how to do this trick to (read the fine code of your
email that is that scraps the rest)

Thomas Schmitt:
>  ls -ld /media/user/sid/lost+found

I ommitted some of the usual stuff  with drwxr-xr-x (the C; is a
joke of course for user@machinename)

What is that + at .. root-directory?  Mounting point?

C;/media/user/sid$  ls -ld /media/user/sid/lost+found
drwx-- 2 root root 16384 Mar 10 03:21 /media/user/sid/lost+found
C;/media/user/sid$ ls -ld /media/user/sid
drwxr-xr-x 24 root root 4096 Mar 10 03:05 /media/user/sid
C;/media/user/sid$ ls -alt -ld /media/user/sid
drwxr-xr-x 24 root root 4096 Mar 10 03:05 /media/user/sid
C;/media/user/sid$ ls -alt /media/user/sid
total 124
drwxr-x---+   5 root root  4096 Mar 13 13:52 ..
drwxr-xr-x  122 root root 12288 Mar 13 04:27 etc
drwx--9 root root  4096 Mar 12 15:51 root
drwxr-xr-x3 root root  4096 Mar 11 18:03 boot
drwxr-xr-x2 root root 12288 Mar 11 15:04 sbin
...
drwxr-xr-x3 root root  4096 Mar 11 14:51 media
drwxr-xr-x2 root root  4096 Mar 10 13:55 bin
drwxrwxrwt2 root root  4096 Mar 10 04:43 tmp
drwxr-xr-x3 root root  4096 Mar 10 04:24 home
drwxr-xr-x2 root root  4096 Mar 10 03:22 mnt
...
drwxr-xr-x2 root root  4096 Mar 10 03:22 proc
drwx--2 root root 16384 Mar 10 03:21 lost+found
drwxr-xr-x   24 root root  4096 Mar 10 03:05 .
-rw-r--r--1 root root 0 Mar 10 03:05 .xorgconfig-was-here
.
drwxr-xr-x2 root root  4096 Mar  5 20:24 lib64
..
drwxr-xr-x   11 root root  4096 Mar  5 20:24 var
C;/media/user/sid$ ls -ld /media/user/sid/lost+found
drwx-- 2 root root 16384 Mar 10 03:21 /media/user/sid/lost+found
C;/media/user/sid$  ls -ld /media/user/sid/lost+found
C;/media/user/sid$  ls -ld /media/user/sid/
drwxr-xr-x 24 root root 4096 Mar 10 03:05 /media/user/sid/
C;/media/user/sid$  ls -ld /media/user/sid/root
drwx-- 9 root root 4096 Mar 12 15:51 /media/user/sid/root
C;/media/user/sid$  ls -ld /media/user/sid/.xorg*
-rw-r--r-- 1 root root 0 Mar 10 03:05 /media/user/sid/.xorgconfig-was-here

-- 
 "The most violent element in society is ignorance" rEG



Re: Do have programs have poor documentation? (was ... Re: Why? -- "A Modest Proposal")

2017-03-13 Thread Dan Purgert
Doug wrote:
> [...]
> There has been a world of improvement since then. Altho I must agree 
> that the Man pages that include examples are a blessing!
>
Or a curse.  Some of them have all the examples, except the one that
will actually help in a situation :).  Back to "try it an see what
happens in /tmp" then.


-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: How do you disable / enable services from starting in systemd

2017-03-13 Thread Mart van de Wege
Jiangsu Kumquat  writes:

> How do you disable / enable services from starting in systemd?
>
man systemd

-- 
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.



Re: Connexion WiFi gênée par wpa_supplicant

2017-03-13 Thread didier gaumet
Le 12/03/2017 à 21:51, andre_deb...@numericable.fr a écrit :

> Ça a toujours marché sans utiliser wpa_supplicant,
> avec "/etc/network/interfaces" comme ceci :
> -
> auto wlan1
> iface wlan1 inet dhcp
> wpa-ssid 
> wpa-psk 
> -
> 
> Mais depuis peu ça couine avec  wpa_supplicant...
> 
> Je dois taper 6 fois "ifdown wlan1", 
> pour que "ifup wlan1" me connecte au WiFi
> et pourquoi ?

consulte la doc Debian:
https://www.debian.org/doc/manuals/debian-reference/ch05.fr.html#_gui_network_configuration_tools
https://www.debian.org/doc/manuals/debian-reference/ch05.fr.html#_the_wireless_lan_interface_with_wpa_wpa2

le premier lien parle des gestionnaires de connexion graphiques (voire
texte) en omettant connman et mentionne les conflits que tu peux
rencontrer dans certains cas si tu installes un de ces gestionnaires
(dans ton cas wicd) et utilises aussi les anciennes méthodes...
... l'une de ces méthodes (celle que tu cherches à utiliser) étant
détaillée dans le deuxième lien.

et à partir du moment où tu cherches à utiliser du WPA, tu utilises
systématiquement une commande ou une bibliothèque fournie par le paquet
wpasupplicant, soi directement en ligne de commande, soit au travers du
fichier /etc/network/interfaces soit au travers d'un gestionnaire de
connexion.

pour résumer si tu veux utiliser wicd tu ne laisses qu'un squelette dans
/etc/network/interfaces et si tu souhaites utiliser
/etc/network/interfaces tu vires ou tu désactives wicd




Re: [OT]Re: why??why?why??

2017-03-13 Thread Michael Lange
On Sun, 12 Mar 2017 21:51:00 +
GiaThnYgeia  wrote:

> The past few Fridays it has become my joy for the weekend to install in
> small drives some debian based distro ...  I tried Q4os and siduction
> ... the experience has been a disastrous weekend over another ...  I'm
> done playing with this stuff.  I'm sticking with debian and all I'll
> play with from now on is different phases of it stable/testing/unstable
> 
> ***  All the shortcuts some of those distros make around debian
> procedures and all the funky stuff the employ seem much more trouble
> than it is worth ***

A while ago I installed Sparky Linux on a cheap laptop, because it was
the only debian based distro I could find that would boot into that
stupid 32-bit uefi thing. Although I cannot say that I really need them,
the few Sparky-specific "extras" seem sound to me and the default
configuration also seems sane, as far as I have tried everything seems
to work well.

> 
> Although I have to admit that Kali in a virtual machine on a 32bit
> debian seemed pretty good ... but all of its tools are pretty useless
> for me.  I just wanted to see what it is like...
> 
> I still want to figure out how to make backup images with xorriso as it
> seems it may be very handy when risking to break the system.

I have back-up'd my system with doing cp -a once from a live system to
copy my installation to an usb drive, then wrote a small script that
checks for the presence of that usb drive each time I shut down the
machine and, if it is connected, uses rsync to keep the backup up to
date. Probably this is not the "professional" way to handle backups, but
is has proven very handy a few times when I had thoroughly destroyed my
system. Just start a live system again, cp -a back the whole affair and
reboot. Always worked fine for me.

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

You can't evaluate a man by logic alone.
-- McCoy, "I, Mudd", stardate 4513.3



Re: MBR partitioning, and content after partition table but before first partition

2017-03-13 Thread Jonathan Dowland
On Fri, Mar 10, 2017 at 10:00:45PM -0800, David Christensen wrote:
> >I'd always put a step 0) in there: is imaging what you want to do? Consider
> >a file-level backup with rsync (etc etc, as discussed elsewhere in this
> >thread)
> 
> I do imaging for system disks.  I do backups and archives for data.

So having evangelised file-level copies a few times in this thread, I found
myself wondering if I would have been better off with imaging this very
weekend. Copying a 2.1T filesystem from an internal SATA2 disk to an external
one (my regular backup drive to my once-a-month, lives off-site one) via USB3
took nearly 48 hours via "rsync -a", and the destination ended up bigger,
possibly because one or more of the backups on the source had been using some
kind of hardlink de-dupe (I've ranted about hardlink trees being a problem in
various backup topics on -user, too...) and I didn't think to supply -S to
rsync.

The real test will be how long an incremental catch-up will take in the future.

-- 
Jonathan Dowland
Please do not CC me, I am subscribed to the list.


signature.asc
Description: Digital signature


Re: neural net software

2017-03-13 Thread Mark Fletcher
On Mon, Mar 13, 2017 at 08:04:43AM +, Gideon Walker wrote:
> Can anyone recommend a software package that does a neural net?

Install Octave and write your own. It's only a few lines of Octave code 
to implement forward calculation, back propagation, the cost function 
and the derivative terms for gradient descent or similar.

Total well under 50 lines of code and you'll be done. And far better off 
for understanding exactly what your system is doing.

A bunch of optional packages as well as the base packages are packaged 
for Debian, but you can get a highly functional installation just doing 
aptitude install octave

HTH 

Mark



Re: Some help with dd backing up into an iso

2017-03-13 Thread Thomas Schmitt
Hi,

i quoted man bzip2:
> >  As  with  compression, supplying no filenames causes decompression from
> >  standard input to standard output."

GiaThnYgeia wrote:
> ...aka screen dump?

If the standard output of bzip2 is not connected to the standard input
of another process or redirected to a file, then i'd call that a
terminal flood. Ugly text salad which may even change display settings of
your terminal window.

Standard input, standard output, and standard error output are three i/o
channels which every process on a Unix-like system has. Connecting them
to other i/o channels or redirecting them to files is a fundamental
gesture of shell programming. (Yes, the shell is a programming language,
although we often only execute single command lines.)


> > In what state is "imagefile" now ? Compressed ? Uncompressed ? Ashes ?

> Now it is at the state of being all thrown to trashcan [...]
> a new project will begin sometime next week 

Maybe you are giving up too fast.


> I think it was that dreadful Calamares installer that came with this sid
> distro that locks onto the disk and prevents ovewriting.

I deem this unlikely. Your Linux was up and had control. Our problem
is not about overwriting but about finding a directory path under which
we can read the files of the USB stick partition.

> But the usb was so hard locked that gparted would erase its partition,

So you interspersed some other experiments ? That might be entertaining
but also confusing.


> > is it reported as two lines:

> No it is all connected line [...]

> > The reason why i ask is that i wonder from where xorriso has this
> > strange two-line path.  It would be explainable if you had given it to
> > xorriso command "-map".

> So are you saying the problem may lie in the name length that xorriso
> can't handle?

No. The name length should not be an obstacle until it reaches limits
of the X/Open system specification (255 characters per name, 1024 per path).

The problem is rather that xorriso gets to see a file path which does
not lead to an existing file. Either this name stems from the program
arguments of the run (i.e. is given after -map) or it stems from
following a symbolic link, which tells a wrong target path.
In the first case, the operator i(i.e. you) is to blame. In the second
case, some automat installed confusing links.


> the question I have is if this is part1 where is the other part/s?

"part" shall mean "partition". I just wanted to keep the name short.


> > New approach to get to a mount point of the stick:

> xorriso : UPDATE : 116500 files added in 28 seconds
> xorriso : FAILURE : Cannot open as source directory: 
> '/media/user/sid/lost+found'
> ...
> xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'

We got some progress now.
The new problem is the fact that xorriso (and possibly other user
processes, too) cannot read the content of
  /media/user/sid/lost+found

So why does this file make trouble ? IIRC, it is a directory which
holds files that were found orphaned during filesystem checks.
Please report the output of

  ls -ld /media/user/sid/lost+found

(I will have to investigate why xorriso tells no further reason for
 being unable to read the directory's file list.)

--

Whatever, this is a local filesystem problem which we may try to
circumvent by omitting the offending file object.

   xorriso \
   -for_backup \
   -outdev usb_part1.iso \
   -not_paths /media/user/sid/lost+found -- \
   -map /media/user/sid /

The xorriso command -not_paths takes one or more file paths which then
get excluded from the backup. The word "--" marks the end of this path list,
so that the next word "-map" is then interpreted as next xorriso command.

Let's see how far we will get with this try.

If more unreadable "lost+found" directories show up, you may ban the
name from being backed up when found under any path:

   xorriso \
   -for_backup \
   -outdev usb_part1.iso \
   -not_leaf lost+found \
   -map /media/user/sid /

Other than -not_paths, -not_leaf takes exactly one parameter. So no end
makr "--" is necessary.


Have a nice day :)

Thomas



neural net software

2017-03-13 Thread Gideon Walker
Can anyone recommend a software package that does a neural net?