lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8490.1397148610@turing-police.cc.vt.edu>
Date:	Thu, 10 Apr 2014 12:50:10 -0400
From:	Valdis.Kletnieks@...edu
To:	Tony Luck <tony.luck@...il.com>, Madper Xie <cxie@...hat.com>
Cc:	Kees Cook <keescook@...omium.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: pstore wierdness on Dell Latitude E6530.

On Wed, 09 Apr 2014 14:02:04 -0700, Tony Luck said:

> Take a look at this thread: https://lkml.org/lkml/2013/10/30/83
>
> I think there were some bugs in the console-efi code a while
> back - perhaps you ran a kernel had the bug and made all these
> duplicate entries?

The cited patch pair isn't in linux-next-20140409, but applied with a few
1-line offsets.  Boothing the result was much better.  'git blame' doesn't
indicate anything changed between next-0303 (busted) and next-0409, so
I have to conclude that Madper Xie's patch is an improvement.

Madper:  Feel free to stick this on the patch:
Tested-By: Valdis Kletnieks <valdis.kletnieks@...edu>

The gory details:

I now have different filenames and inodes, with different contents, rather than
duplicates:

ls -li /sys/fs/pstore | head
total 0
8034 -r--r--r--. 1 root root  67 Aug 13  2013 console-efi-0-1376377513
8033 -r--r--r--. 1 root root  51 Aug 13  2013 console-efi-0-1376377515
8032 -r--r--r--. 1 root root  71 Aug 13  2013 console-efi-0-1376377517
8031 -r--r--r--. 1 root root  52 Aug 13  2013 console-efi-0-1376377519
8030 -r--r--r--. 1 root root  67 Aug 13  2013 console-efi-0-1376379570
8029 -r--r--r--. 1 root root  67 Aug 13  2013 console-efi-0-1376379650
8028 -r--r--r--. 1 root root  67 Aug 13  2013 console-efi-0-1376381002
8027 -r--r--r--. 1 root root  97 Aug 13  2013 console-efi-0-1376381189
8026 -r--r--r--. 1 root root  78 Aug 13  2013 console-efi-0-1376381190

grep . * | head
console-efi-0-1376377513:[    4.423745] hda_codec: cannot build controls for #1 (error -16)
console-efi-0-1376377515:[    6.245592] netconsole: network logging started
console-efi-0-1376377517:[    6.676439] ata_id (211) used greatest stack depth: 4408 bytes left
console-efi-0-1376377519:[    8.679546] sd 6:0:0:0: [sdb] Attached SCSI disk
console-efi-0-1376379570:[    2.001350] hda_codec: cannot build controls for #3 (error -16)
console-efi-0-1376379650:[    1.982463] hda_codec: cannot build controls for #3 (error -16)
console-efi-0-1376381002:[    1.983509] hda_codec: cannot build controls for #3 (error -16)
console-efi-0-1376381189:[    0.000000] efi: mem27: type=7, attr=0xf, range=[0x00000000be944000-0x00000000be951000) (0MB)
console-efi-0-1376381190:[    0.620462] ACPI: PCI Interrupt Link [LNKE] (IRQs *3 4 5 6 10 11 12 14 15)
console-efi-0-1376381191:[    3.890372] netconsole: network logging started

And 'rm *' actually removed all 536 remaining entries and they stayed removed.




Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ