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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 3 Jul 2009 17:01:47 -0500
From:	"Michael S. Zick" <lkml@...ethan.org>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	Jeremy Fitzhardinge <jeremy@...p.org>,
	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	the arch/x86 maintainers <x86@...nel.org>,
	Andi Kleen <ak@...ux.intel.com>
Subject: Re: [Bug Fix]: Do 32-bit table calculations in pre-processor

On Fri July 3 2009, H. Peter Anvin wrote:
> Michael S. Zick wrote:
> > 
> > That takes a running machine - which is a bit of a challenge at the moment.
> > Well, for the past four months, if truth be told.
> > 
> > Anything in particular you are looking for?
> > I may have it in my notes and data captures.
> > 
> 
> The CPUID flags, in particular the pse flag.
> 
> 	-hpa
> 

OK - got the requested information - also can see that
this whole thing was a false alarm. . .

The before and after of the original post was the difference
between the PAE and non-PAE code path **NOT** the calculation!
My bad, wasn't careful enough in my testing.

I have in-lined the difference between with/without the patch;
and attached the "patched" dmesg output.

> --- dmesg-patched.txt	2009-07-03 16:08:44.000000000 -0500
> +++ dmesg-unpatched.txt	2009-07-03 16:46:38.000000000 -0500
> @@ -1,4 +1,4 @@
> -Linux version 2.6.30-ce1200v-09183 (root@...2-32) (gcc version 4.1.2
> (Gentoo 4.1.2 p1.1)) #3 PREEMPT Fri Jul 3 12:27:32 CDT 2009 +Linux version
> 2.6.30-ce1200v-09183 (root@...2-32) (gcc version 4.1.2 (Gentoo 4.1.2 p1.1))
> #4 PREEMPT Fri Jul 3 16:29:35 CDT 2009 KERNEL supported cpus:
>    Intel GenuineIntel
>    AMD AuthenticAMD
> @@ -59,7 +59,7 @@
>  init_memory_mapping: 0000000000000000-000000001bee0000
>   0000000000 - 001bee0000 page 4k
>  kernel direct mapping tables up to 1bee0000 @ 10000-83000
> -RAMDISK: 1b8d9000 - 1becf0cc
> +RAMDISK: 1b8d9000 - 1becf1bb
>  ACPI: RSDP 000f8470 00014 (v00 PTLTD )
>  ACPI: RSDT 1bee5663 00034 (v01 PTLTD    RSDT   06040000  LTP 00000000)
>  ACPI: FACP 1bee9a46 00074 (v01 CX700  PTLTW    06040000 PTL_ 000F4240)
> @@ -78,7 +78,7 @@
>  (7 early reservations) ==> bootmem [0000000000 - 001bee0000]
>    #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 -
> 0000001000] #1 [0000100000 - 0000733430]    TEXT DATA BSS ==> [0000100000 -
> 0000733430] -  #2 [001b8d9000 - 001becf0cc]          RAMDISK ==>
> [001b8d9000 - 001becf0cc] +  #2 [001b8d9000 - 001becf1bb]          RAMDISK
> ==> [001b8d9000 - 001becf1bb] #3 [000009dc00 - 0000100000]    BIOS reserved
> ==> [000009dc00 - 0000100000] #4 [0000734000 - 00007370f1]              BRK
> ==> [0000734000 - 00007370f1] #5 [0000010000 - 000007d000]          PGTABLE
> ==> [0000010000 - 000007d000] @@ -127,7 +127,7 @@
>  NR_IRQS:288
>  PID hash table entries: 2048 (order: 11, 8192 bytes)
>  Fast TSC calibration using PIT
> -Detected 600.021 MHz processor.
> +Detected 599.982 MHz processor.
>  Console: colour VGA+ 80x25
>  console [tty0] enabled
>  Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> @@ -144,7 +144,7 @@
>        .text : 0xc0100000 - 0xc050f40a   (4157 kB)
>  Checking if this processor honours the WP bit even in supervisor
> mode...Ok. SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1,
> Nodes=1 -Calibrating delay loop (skipped), value calculated using timer
> frequency.. 1200.04 BogoMIPS (lpj=2000070) +Calibrating delay loop
> (skipped), value calculated using timer frequency.. 1200.96 BogoMIPS
> (lpj=1999940) Security Framework initialized
>  Smack:  Initializing.
>  Mount-cache hash table entries: 512
> @@ -163,7 +163,7 @@
>  ....... works.
>  net_namespace: 996 bytes
>  regulator: core version 0.5
> -Time: 21:04:35  Date: 07/03/09
> +Time: 21:44:23  Date: 07/03/09
>  NET: Registered protocol family 16
>  ACPI: bus type pci registered
>  PCI: MCFG configuration 0: base e0000000 segment 0 buses 3 - 3
> @@ -386,9 +386,6 @@
>  serio: i8042 AUX2 port at 0x60,0x64 irq 12
>  serio: i8042 AUX3 port at 0x60,0x64 irq 12
>  mice: PS/2 mouse device common for all mice
> -ata2.00: ATA-7: ST730212DE, 3.01, max UDMA/66
> -ata2.00: 58605120 sectors, multi 16: LBA48
> -ata2.00: limited to UDMA/33 due to 40-wire cable
>  rtc_cmos 00:03: RTC can wake from S4
>  rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
>  rtc0: alarms up to one year, y3k, 242 bytes nvram
> @@ -406,10 +403,12 @@
>  usbcore: registered new interface driver usbhid
>  usbhid: v2.6:USB HID core driver
>  Advanced Linux Sound Architecture Driver Version 1.0.20.
> +ata2.00: ATA-7: ST730212DE, 3.01, max UDMA/66
> +ata2.00: 58605120 sectors, multi 16: LBA48
> +ata2.00: limited to UDMA/33 due to 40-wire cable
>  HDA Intel 0000:02:01.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
>  HDA Intel 0000:02:01.0: setting latency timer to 64
>  HDA Intel 0000:02:01.0: PCI: Disallowing DAC for device
> -input: AT Translated Set 2 keyboard as
> /devices/platform/i8042/serio0/input/input4 ata2.00: configured for UDMA/33
>  scsi 1:0:0:0: Direct-Access     ATA      ST730212DE       3.01 PQ: 0 ANSI:
> 5 sd 1:0:0:0: Attached scsi generic sg0 type 0
> @@ -417,7 +416,8 @@
>  sd 1:0:0:0: [sda] Write Protect is off
>  sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
>  sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA - sda: sda1 sda2 sda3 sda4
> + sda:<6>input: AT Translated Set 2 keyboard as
> /devices/platform/i8042/serio0/input/input4 + sda1 sda2 sda3 sda4
>  sd 1:0:0:0: [sda] Attached SCSI disk
>  ALSA device list:
>    #0: HDA VIA VT82xx at 0xd1000000 irq 17
> @@ -442,8 +442,9 @@
>  PM: Checking hibernation image.
>  PM: Resume from disk failed.
>  registered taskstats version 1
> -  Magic number: 1:970:94
> -rtc_cmos 00:03: setting system clock to 2009-07-03 21:04:38 UTC
> (1246655078) +  Magic number: 1:144:752
> +tty ttyS3: hash matches
> +rtc_cmos 00:03: setting system clock to 2009-07-03 21:44:26 UTC
> (1246657466) BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
>  EDD information not available.
>  debug: unmapping init memory c0692000..c06f1000

Sorry about the fuss - really sorry.
Mike


View attachment "dmesg-patched.txt" of type "text/plain" (26200 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ