Re: Is a gmail/text-flow dmesg better than no dmesg?

2015-12-31 Thread ropers
> On Wed, Dec 30, 2015 at 07:09:58PM +0100, ropers wrote:
>> It says here  that one
>> should not send dmesg@ mail that's text-flow reformatted (which I
>> AFAIK gmail always does, unavoidably).
>>
>> If (for whatever reasons) the choice is between gmail-dmesgs or no
>> dmesgs, would gmail dmesgs be preferable to none (however unloved
>> their text-flow shenanigans may be)?

On 31 December 2015 at 12:55, Erling Westenvik wrote:
> Wouldn't a simple one-liner like this do the trick?
>
> $ dmesg | mail -s "some subject" a...@b.cd

Q: If all I have is a green herring, would eating that be better than nothing?
A: You should eat a red herring.

(SCNR. ;-)



Re: Is a gmail/text-flow dmesg better than no dmesg?

2015-12-31 Thread Erling Westenvik
On Wed, Dec 30, 2015 at 07:09:58PM +0100, ropers wrote:
> It says here  that one
> should not send dmesg@ mail that's text-flow reformatted (which I
> AFAIK gmail always does, unavoidably).
> 
> If (for whatever reasons) the choice is between gmail-dmesgs or no
> dmesgs, would gmail dmesgs be preferable to none (however unloved
> their text-flow shenanigans may be)?

Wouldn't a simple one-liner like this do the trick?

$ dmesg | mail -s "some subject" a...@b.cd


From technical-recruiters+bncbdzopr5x44bbbonqss2akgqehfc4...@googlegroups.com 
Thu Dec 31 03:58:41 2015
Return-path: 

Envelope-to: arch...@mail-archive.com
Delivery-date: Thu, 31 Dec 2015 03:58:41 -0800
Received: from bolt10b.mxthunder.net ([208.53.48.136])
by mail-archive.com with esmtp (Exim 4.76)
(envelope-from 
)
id 1aEbsO-0002ba-Or
for arch...@mail-archive.com; Thu, 31 Dec 2015 03:58:40 -0800
Received: by bolt10b.mxthunder.net (Postfix, from userid 12345)
id 3pWSg91B6Zz1wZbB; Thu, 31 Dec 2015 03:57:48 -0800 (PST)
Received: from mail-pf0-f192.google.com (mail-pf0-f192.google.com 
[209.85.192.192])
(using TLSv1 with cipher RC4-SHA (128/128 bits))
(No client certificate requested)
by bolt10b.mxthunder.net (Postfix) with ESMTPS id 3pWSfL3Bzdz1wP9F
for ; Thu, 31 Dec 2015 03:57:46 -0800 (PST)
Received: by mail-pf0-f192.google.com with SMTP id 65sf34306496pff.1
for ; Thu, 31 Dec 2015 03:57:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20120806;
h=mime-version:date:message-id:subject:from:to:content-type
 :x-original-sender:x-original-authentication-results:reply-to
 :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
 :list-help:list-archive:sender:list-unsubscribe;
bh=vIw6IYfWXFrdQ60m1QJ5tCZdZhMVWJRQrfJ4h5L7Ri4=;
b=t/nSAogbe7YQavaGGJ5GLwbPdC1710I5Erj6MtdSEginSrI/v4RB50nlMgK1yMWyEE
 pN0H2uFcpOdTeIoiYpbG1u0GWj/sVAOzgZzMKKOOEgWePn1rwk4WieLy71uxlni5AuC3
 UPEch4fGM6v5VAqGsNE2EWK4n7TJefhO2KSMfYd7MR0i9A4uzNHB+LundiHbv/2cjv0q
 W99vM3KZROWF2IaW7WEk1gDVDoC+odMLftKSgfuzBw1U1Junh5lBw+w9DX7Iur43e1vv
 9rHTSj8sMBT7vD/9gKbv28x4ZEg5//lUl4A+jbpYj4eE/AWQOlSsJLN5kEuA6Tn14BWX
 yy+A==
X-Received: by 10.140.102.41 with SMTP id v38mr255497qge.2.1451563065803;
Thu, 31 Dec 2015 03:57:45 -0800 (PST)
X-BeenThere: technical-recruit...@googlegroups.com
Received: by 10.140.99.18 with SMTP id p18ls2366160qge.86.gmail; Thu, 31 Dec
 2015 03:57:45 -0800 (PST)
X-Received: by 10.129.147.67 with SMTP id k64mr62192545ywg.29.1451563065195;
Thu, 31 Dec 2015 03:57:45 -0800 (PST)
Received: from mail-yk0-x243.google.com (mail-yk0-x243.google.com. 
[2607:f8b0:4002:c07::243])
by gmr-mx.google.com with ESMTPS id 
y199si1789731ywd.5.2015.12.31.03.57.45
for 
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Thu, 31 Dec 2015 03:57:45 -0800 (PST)
Received-SPF: pass (google.com: domain of vijaymusalebrav...@gmail.com 
designates 2607:f8b0:4002:c07::243 as permitted sender) 
client-ip=2607:f8b0:4002:c07::243;
Received: by mail-yk0-x243.google.com with SMTP id a85so9363261ykb.2
for ; Thu, 31 Dec 2015 03:57:45 
-0800 (PST)
MIME-Version: 1.0
X-Received: by 10.129.48.193 with SMTP id w184mr52609788yww.238.1451563064905;
 Thu, 31 Dec 2015 03:57:44 -0800 (PST)
Received: by 10.37.94.197 with HTTP; Thu, 31 Dec 2015 03:57:44 -0800 (PST)
Date: Thu, 31 Dec 2015 05:57:44 -0600
Message-ID: 
Subject: Technical Recruiters Looking for __ Sterling Integrator__Omaha,NE__6
 months Contract
From: Vijay Musale 
To: vi...@bravensinc.com
Content-Type: multipart/alternative; boundary=001a11414e82da70d60528305cf6
X-Original-Sender: vijaymusalebrav...@gmail.com
X-Original-Authentication-Results: gmr-mx.google.com;   spf=pass
 (google.com: domain of vijaymusalebrav...@gmail.com designates
 2607:f8b0:4002:c07::243 as permitted sender) 
smtp.mailfrom=vijaymusalebrav...@gmail.com;
   dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Reply-To: technical-recruit...@googlegroups.com
Precedence: list
Mailing-list: list technical-recruit...@googlegroups.com; contact 
technical-recruiters+own...@googlegroups.com
List-ID: 
X-Spam-Checked-In-Group: technical-recruit...@googlegroups.com
X-Google-Group-Id: 953409676615
List-Post: , 

List-Help: , 

Re: Is a gmail/text-flow dmesg better than no dmesg?

2015-12-31 Thread Stuart Henderson
On 2015-12-30, ropers  wrote:
> It says here  that one
> should not send dmesg@ mail that's text-flow reformatted (which I
> AFAIK gmail always does, unavoidably).
>
> If (for whatever reasons) the choice is between gmail-dmesgs or no
> dmesgs, would gmail dmesgs be preferable to none (however unloved
> their text-flow shenanigans may be)?

The most important things are:

- not base64-encoded. dmesgs sent b64-encoded are totally useless.
- not html. hard to read in dmesglog and 'grep ^devicename' won't find your 
devices.

Other than that, try hard to avoid quoted-printable. Line-wrapped is best
avoided if possible but not quite so bad.

If you have a 'clean' MUA somewhere, using a command-line pastebin is
a fairly easy way of getting a dmesg there (e.g. sprunge.us, clbin,
pbot.rmdir.de etc), several of these work via a form post which can be
done as a pipe through curl.



Re: Is a gmail/text-flow dmesg better than no dmesg?

2015-12-31 Thread ropers
Cheers man. All the best to you too -- and to everybody else around.

On 1 January 2016 at 01:18, Erling Westenvik 
wrote:
> On Thu, Dec 31, 2015 at 04:00:50PM +0100, ropers wrote:
>> > On Wed, Dec 30, 2015 at 07:09:58PM +0100, ropers wrote:
>> >> It says here  that one
>> >> should not send dmesg@ mail that's text-flow reformatted (which I
>> >> AFAIK gmail always does, unavoidably).
>> >>
>> >> If (for whatever reasons) the choice is between gmail-dmesgs or no
>> >> dmesgs, would gmail dmesgs be preferable to none (however unloved
>> >> their text-flow shenanigans may be)?
>>
>> On 31 December 2015 at 12:55, Erling Westenvik wrote:
>> > Wouldn't a simple one-liner like this do the trick?
>> >
>> > $ dmesg | mail -s "some subject" a...@b.cd
>>
>> Q: If all I have is a green herring, would eating that be better than
nothing?
>> A: You should eat a red herring.
>>
>> (SCNR. ;-)
>
> Guess I deserved that one. To my defence: I was simply incapable of
> imagine a scenario where Gmail would be the only option for sending a
> dmesg somewhere.
>
> But – A Happy New Year to you and everyone on the list!
>
> Regards
>
> Erling



Re: Is a gmail/text-flow dmesg better than no dmesg?

2015-12-31 Thread Erling Westenvik
On Thu, Dec 31, 2015 at 04:00:50PM +0100, ropers wrote:
> > On Wed, Dec 30, 2015 at 07:09:58PM +0100, ropers wrote:
> >> It says here  that one
> >> should not send dmesg@ mail that's text-flow reformatted (which I
> >> AFAIK gmail always does, unavoidably).
> >>
> >> If (for whatever reasons) the choice is between gmail-dmesgs or no
> >> dmesgs, would gmail dmesgs be preferable to none (however unloved
> >> their text-flow shenanigans may be)?
> 
> On 31 December 2015 at 12:55, Erling Westenvik wrote:
> > Wouldn't a simple one-liner like this do the trick?
> >
> > $ dmesg | mail -s "some subject" a...@b.cd
> 
> Q: If all I have is a green herring, would eating that be better than nothing?
> A: You should eat a red herring.
> 
> (SCNR. ;-)

Guess I deserved that one. To my defence: I was simply incapable of
imagine a scenario where Gmail would be the only option for sending a
dmesg somewhere.

But – A Happy New Year to you and everyone on the list!

Regards

Erling



Re: Is a gmail/text-flow dmesg better than no dmesg?

2015-12-30 Thread Joel Rees
On Thu, Dec 31, 2015 at 3:19 PM, Joel Rees  wrote:
> On Thu, Dec 31, 2015 at 3:22 AM, Alexey Suslikov
>  wrote:
>> ropers  gmail.com> writes:
>>
>>> It says here  that one
>>> should not send dmesg   mail that's text-flow reformatted (which I
>>> AFAIK gmail always does, unavoidably).
>>
>> it does, but only if you use web/mobile clients. there is no reformat if
>> you use smtp directly (not compatible with 2-factor auth).
>>
>> posting to lists using gmane also works.
>>
>
> So, if I redirect a dmesg to a file, open the file with gedit, select
> all, copy, and paste into this xombrero window on the gmail web
> client, something bad happens to the dmesg text?
>
> Like this:
>
> OpenBSD 5.9-beta (GENERIC.MP) #8: Wed Dec 23 22:21:16 JST 2015
> r...@feather.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 1835790336 (1750MB)
> avail mem = 1776087040 (1693MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe4800 (43 entries)
> bios0: vendor Insyde version "F.0A" date 07/16/2014
> bios0: Hewlett-Packard HP Pavilion 10 Notebook PC
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP UEFI HPET APIC MCFG ASF! BOOT FPDT MSDM SSDT
> SSDT SSDT SSDT SSDT

Okay, that's a wrap that shouldn't be there.

> acpi0: wakeup devices GPP0(S5) GPP1(S4) OHC1(S3) OHC2(S3) OHC3(S3)
> EHC1(S3) EHC2(S3) EHC3(S3) XHC0(S4) AWAD(S4)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpihpet0 at acpi0: 14318180 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD A4-1200 APU with Radeon(TM) HD Graphics, 998.25 MHz
> cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPC
NT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMC
R8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1

I guess this line made it because there's no space in the line. I'd
seen that before and thought it was safe.

> [...]

Okay, so dmesg should be sent by mutt or sylpheed, et, al., if we're
having trouble getting the default mail client to connect to the
outside world.

--
Joel Rees

Be careful when you look at conspiracy.
Arm yourself with knowledge of yourself, as well:
http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html



Is a gmail/text-flow dmesg better than no dmesg?

2015-12-30 Thread ropers
It says here  that one
should not send dmesg@ mail that's text-flow reformatted (which I
AFAIK gmail always does, unavoidably).

If (for whatever reasons) the choice is between gmail-dmesgs or no
dmesgs, would gmail dmesgs be preferable to none (however unloved
their text-flow shenanigans may be)?



Re: Is a gmail/text-flow dmesg better than no dmesg?

2015-12-30 Thread Alexey Suslikov
ropers  gmail.com> writes:

> It says here  that one
> should not send dmesg   mail that's text-flow reformatted (which I
> AFAIK gmail always does, unavoidably).

it does, but only if you use web/mobile clients. there is no reformat if
you use smtp directly (not compatible with 2-factor auth).

posting to lists using gmane also works.



Re: Is a gmail/text-flow dmesg better than no dmesg?

2015-12-30 Thread Kamil Cholewiński
> (not compatible with 2-factor auth).

Citation needed? App-specific passwords work.



Re: Is a gmail/text-flow dmesg better than no dmesg?

2015-12-30 Thread Joel Rees
On Thu, Dec 31, 2015 at 3:22 AM, Alexey Suslikov
 wrote:
> ropers  gmail.com> writes:
>
>> It says here  that one
>> should not send dmesg   mail that's text-flow reformatted (which I
>> AFAIK gmail always does, unavoidably).
>
> it does, but only if you use web/mobile clients. there is no reformat if
> you use smtp directly (not compatible with 2-factor auth).
>
> posting to lists using gmane also works.
>

So, if I redirect a dmesg to a file, open the file with gedit, select
all, copy, and paste into this xombrero window on the gmail web
client, something bad happens to the dmesg text?

Like this:

OpenBSD 5.9-beta (GENERIC.MP) #8: Wed Dec 23 22:21:16 JST 2015
r...@feather.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1835790336 (1750MB)
avail mem = 1776087040 (1693MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe4800 (43 entries)
bios0: vendor Insyde version "F.0A" date 07/16/2014
bios0: Hewlett-Packard HP Pavilion 10 Notebook PC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI HPET APIC MCFG ASF! BOOT FPDT MSDM SSDT
SSDT SSDT SSDT SSDT
acpi0: wakeup devices GPP0(S5) GPP1(S4) OHC1(S3) OHC2(S3) OHC3(S3)
EHC1(S3) EHC2(S3) EHC3(S3) XHC0(S4) AWAD(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD A4-1200 APU with Radeon(TM) HD Graphics, 998.25 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPC
NT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMC
R8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD A4-1200 APU with Radeon(TM) HD Graphics, 998.13 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPC
NT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMC
R8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 1MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 21, 32 pins
ioapic1: misconfigured as apic 0, remapped to apid 5
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (GPP0)
acpiprt2 at acpi0: bus 5 (GPP1)
acpiprt3 at acpi0: bus -1 (GPP2)
acpiprt4 at acpi0: bus -1 (GPP3)
acpiprt5 at acpi0: bus -1 (GFX_)
acpiec0 at acpi0
acpicpu0 at acpi0: C2(0@400 io@0x414), C1(@1 halt!), PSS
acpicpu1 at acpi0: C2(0@400 io@0x414), C1(@1 halt!), PSS
acpipwrres0 at acpi0: FN00, resource for FAN0
acpitz0 at acpi0: critical temperature is 118 degC
acpibtn0 at acpi0: PWRB
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "Primary" serial 43346 03/09/2014 type
LIon oem "Hewlett-Packard"
acpibtn1 at acpi0: LID_
acpivideo0 at acpi0: VGA_
acpivideo1 at acpi0: VGA_
cpu0: 998 MHz: speeds: 1000 900 800 700 600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 16h Host" rev 0x00
vga1 at pci0 dev 1 function 0 vendor "ATI", unknown product 0x9839 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 1 function 1 "ATI Radeon HD Audio" rev 0x00: msi
azalia0: no supported codecs
pchb1 at pci0 dev 2 function 0 vendor "AMD", unknown product 0x1538 rev 0x00
ppb0 at pci0 dev 2 function 2 "AMD AMD64 16h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
rtsx0 at pci1 dev 0 function 0 "Realtek RTL8402 Card Reader" rev 0x01: msi
sdmmc0 at rtsx0
re0 at pci1 dev 0 function 2 "Realtek 8101E" rev 0x06: RTL8402
(0x4400), msi, address 14:58:d0:06:96:26
rlphy0 at re0 phy 7: RTL8201E 10/100 PHY, rev. 2
ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
pci2 at ppb1 bus 5
"Ralink RT3290" rev 0x00 at pci2 dev 0 function 0 not configured
"Ralink Bluetooth" rev 0x00 at pci2 dev 0 function 1 not configured
xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x01: msi
usb0 at xhci0: USB revision 3.0
uhub0 at