Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...

2014-11-27 Thread Jes
I was experimenting the same behaviour in my T410. With recent snapshots 
(november) or building a new GENERIC.MP kernel after update from CVS, 
the system freezes just when the boot process starts.


I can confirm that the system boots normally after activate NX. In my 
thinkpad's bios the NX is located at:


Security / Memory Protection / Execution Prevent

I don't know if this behaviour is intentionally or a bug. In 5.6 stable 
the system boots though NX is deactivated.


I must say too that the system is much more stable doing suspend/resume. 
With 5.6 stable the system tends to hang on resume. But with current 
suspend/resume works perfect.


BR

Jes



Re: Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-27 Thread Ryan Freeman
On Wed, Nov 26, 2014 at 12:45:18PM -0800, Mike Larkin wrote:
> On Wed, Nov 26, 2014 at 02:48:33PM -0500, Jiri B wrote:
> > Does anybody have an archive for each amd64 snapshot?
> > I'd like to check what is the latest amd64 kernel which can
> > boot on T500. Nov 7 snapshot works OK but recent ones do not.
> > 
> > I updated bios, ran memtest86+, still same problem.
> > 
> > But... I see I don't have any getty, strange, I haven't
> > observe it before as I use X.
> 
> Can you verify you've enabled NX (sometimes called execute disable)
> in your BIOS? We made some changes in this area recently and while
> I did test on a non-NX setup, maybe we missed something. I see your
> CPUID outputs in the dmesg that works don't have NXE, which leads
> me to believe you disabled it in the BIOS for some reason (as your
> CPU does support it).
> 
> -ml

Thank you Mike!  I ran into the same problem moving from a Nov 16th
snapshot to a Nov 19th (and then Nov 20th as main mirror had one
day newer).  I had gone into my bios and checked a few things over,
i flipped the nx option and a couple other things to try, in typical
bad diagnosic fashion :( and when it was fixed wasn't sure what it
was.  thank you!  for sake of info here is my dmesg:
(mac addys removed)

-ryan

OpenBSD 5.6-current (GENERIC.MP) #583: Thu Nov 20 11:47:06 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 30
real mem = 4066766848 (3878MB)
avail mem = 3954667520 (3771MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf2480 (70 entries)
bios0: vendor Dell Inc. version "A05" date 08/10/2010
bios0: Dell Inc. Latitude E6410
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC TCPA MCFG HPET BOOT SLIC SSDT
acpi0: wakeup devices AGP_(S4) P0P1(S4) DIGC(S3) UAR1(S3) HDEF(S4) PXSX(S4) 
RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) 
RP05(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz, 2660.49 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz, 2660.01 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 2, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz, 2660.01 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz, 2660.01 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 2, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 11 (P0P1)
acpiprt3 at acpi0: bus 1 (RP01)
acpiprt4 at acpi0: bus 2 (RP02)
acpiprt5 at acpi0: bus 3 (RP03)
acpiprt6 at acpi0: bus 5 (RP04)
acpiprt7 at acpi0: bus -1 (RP05)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG3)
acpiprt11 at acpi0: bus -1 (PEG5)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "DELL F8TTW24" serial 1689 type LION oem "SMP"
acpibat1 at acpi0: BAT1 not present
acpivideo0 at acpi0: VID_
acpivideo1 at acpi0: VID_
acpivout0 at acpivideo1: LCD_
cpu0: Enhanced SpeedStep 2660 MHz: speeds: 2400, 2399, 2266, 2133, 1999, 1866, 
1733, 1599, 1466, 1333, 1199 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0

Re: Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-26 Thread Peter Hessler
On 2014 Nov 26 (Wed) at 23:25:45 + (+), Stuart Henderson wrote:
:On 2014-11-26, Mike Larkin  wrote:
:> I think we've identified where the problem is, will test and commit
:> shortly.
:
:Useful problem though, as it has highlighted several people who are running
:with inadvisable BIOS settings.
:

I remember that my x240 shipped with NX disabled by default.  I turned
it on as soon as I could.


-- 
Q:  Why do ducks have flat feet?
A:  To stamp out forest fires.

Q:  Why do elephants have flat feet?
A:  To stamp out flaming ducks.



Re: Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-26 Thread bodie

On 27.11.2014 00:25, Stuart Henderson wrote:

On 2014-11-26, Mike Larkin  wrote:

I think we've identified where the problem is, will test and commit
shortly.


Useful problem though, as it has highlighted several people who are 
running

with inadvisable BIOS settings.


Well it's corporations problem however. They are installing laptops or 
desktops with those features turned off and you will be surprised how 
often "security" team is bitching over me that I'm enabling those as 
their remote monitoring app then can't properly monitor my stuff :-) 
(and it's not only that of course, corporate apps crashing on those 
features turned on and so on)




Re: Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-26 Thread Theo de Raadt
> On 2014-11-26, Mike Larkin  wrote:
> > I think we've identified where the problem is, will test and commit
> > shortly.
> 
> Useful problem though, as it has highlighted several people who are running
> with inadvisable BIOS settings.

Yes, it is highlighted in one email thread.

Brilliant.


Then what?

Exactly.



Re: Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-26 Thread Theo de Raadt
> You nailed it, with Data Execution Protection enabled it boots fine.
> Thank you! I don't remember I was ever touching it...

Those is another way of saying

"I trusted the vendor.  I never did the oversight to see if they are
on my side."



Re: Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-26 Thread Stuart Henderson
On 2014-11-26, Mike Larkin  wrote:
> I think we've identified where the problem is, will test and commit
> shortly.

Useful problem though, as it has highlighted several people who are running
with inadvisable BIOS settings.



Re: Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-26 Thread Mike Larkin
On Wed, Nov 26, 2014 at 10:49:32PM +0100, pet...@schwertfisch.de wrote:
> Mike Larkin  wrote:
> 
> > On Wed, Nov 26, 2014 at 02:48:33PM -0500, Jiri B wrote:
> > > Does anybody have an archive for each amd64 snapshot?
> > > I'd like to check what is the latest amd64 kernel which can
> > > boot on T500. Nov 7 snapshot works OK but recent ones do not.
> > > 
> > > I updated bios, ran memtest86+, still same problem.
> > > 
> > > But... I see I don't have any getty, strange, I haven't
> > > observe it before as I use X.
> > 
> > Can you verify you've enabled NX (sometimes called execute disable)
> > in your BIOS? We made some changes in this area recently and while
> > I did test on a non-NX setup, maybe we missed something. I see your
> > CPUID outputs in the dmesg that works don't have NXE, which leads
> > me to believe you disabled it in the BIOS for some reason (as your
> > CPU does support it).
> 
> I've also had trouble booting bsd.rd for the last few days on a
> Lenovo X220.
> 
> This problem went away after changing the BIOS setup:
> 
> Security -> Memory Protection -> Execution Prevention
>   [Disabled] -> [Enabled]
> 
> My dmesg is included below.
> 
> Regards
> Dirk

I think we've identified where the problem is, will test and commit
shortly.

Thanks to both for testing.

-ml

> 
> OpenBSD 5.6-current (GENERIC.MP) #614: Wed Nov 26 02:31:16 MST 2014
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4156157952 (3963MB)
> avail mem = 4041678848 (3854MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (65 entries)
> bios0: vendor LENOVO version "8DET52WW (1.22 )" date 09/15/2011
> bios0: LENOVO 4290W1B
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT 
> SSDT UEFI UEFI UEFI
> acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) 
> EHC2(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.30 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
> cpu3: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf800, bus 0-63
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG_)
> acpiprt2 at acpi0: bus 2 (EXP1)
> acpiprt3 at acpi0: bus 3 (EXP2)
> acpiprt4 at acpi0: bus 5 (EXP4)
> acpiprt5 at acpi0: bus 13 (EXP5)
> acpiprt6 at acpi0: bus -1 (EXP7)
> acpicpu0 at acpi0: C3, C1, PSS
> acpicpu1 at acpi0: C3, C1, PSS
> acpicpu2 at acpi0: C3, C1, PSS
> acpicpu3 at acpi0: C3, C1, PSS
> acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
> acpitz0 at acpi0: critical temperature is 99 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpibat0 at acpi0: BAT0 model "42T4861" serial  5709 type LION oem "SANYO"
> acpibat1 at acpi0: BAT1 not present
> acpiac0 at acpi0: AC unit online
> acpithinkpad0 at acpi0
> acpidock0 at acpi0: GDCK not docked (0)
> cpu0: Enhanced SpeedStep 2492 MHz: speeds: 250

Re: Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-26 Thread peters
Mike Larkin  wrote:

> On Wed, Nov 26, 2014 at 02:48:33PM -0500, Jiri B wrote:
> > Does anybody have an archive for each amd64 snapshot?
> > I'd like to check what is the latest amd64 kernel which can
> > boot on T500. Nov 7 snapshot works OK but recent ones do not.
> > 
> > I updated bios, ran memtest86+, still same problem.
> > 
> > But... I see I don't have any getty, strange, I haven't
> > observe it before as I use X.
> 
> Can you verify you've enabled NX (sometimes called execute disable)
> in your BIOS? We made some changes in this area recently and while
> I did test on a non-NX setup, maybe we missed something. I see your
> CPUID outputs in the dmesg that works don't have NXE, which leads
> me to believe you disabled it in the BIOS for some reason (as your
> CPU does support it).

I've also had trouble booting bsd.rd for the last few days on a
Lenovo X220.

This problem went away after changing the BIOS setup:

Security -> Memory Protection -> Execution Prevention
  [Disabled] -> [Enabled]

My dmesg is included below.

Regards
Dirk

OpenBSD 5.6-current (GENERIC.MP) #614: Wed Nov 26 02:31:16 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4156157952 (3963MB)
avail mem = 4041678848 (3854MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (65 entries)
bios0: vendor LENOVO version "8DET52WW (1.22 )" date 09/15/2011
bios0: LENOVO 4290W1B
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT SSDT 
UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) 
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.30 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus -1 (EXP7)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4861" serial  5709 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2200, 2000, 1800, 1600, 
1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
drm: Memory usable by graphics device = 2048M
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 e

Re: Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-26 Thread Jiri B
On Wed, Nov 26, 2014 at 12:45:18PM -0800, Mike Larkin wrote:
> On Wed, Nov 26, 2014 at 02:48:33PM -0500, Jiri B wrote:
> > Does anybody have an archive for each amd64 snapshot?
> > I'd like to check what is the latest amd64 kernel which can
> > boot on T500. Nov 7 snapshot works OK but recent ones do not.
> > 
> > I updated bios, ran memtest86+, still same problem.
> > 
> > But... I see I don't have any getty, strange, I haven't
> > observe it before as I use X.
> 
> Can you verify you've enabled NX (sometimes called execute disable)
> in your BIOS? We made some changes in this area recently and while
> I did test on a non-NX setup, maybe we missed something. I see your
> CPUID outputs in the dmesg that works don't have NXE, which leads
> me to believe you disabled it in the BIOS for some reason (as your
> CPU does support it).

You nailed it, with Data Execution Protection enabled it boots fine.
Thank you! I don't remember I was ever touching it...

Strange the issue with no gettys still exists...

OpenBSD 5.6-current (GENERIC.MP) #606: Mon Nov 24 11:10:23 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4163571712 (3970MB)
avail mem = 4048896000 (3861MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
bios0: vendor LENOVO version "6FET93WW (3.23 )" date 10/12/2012
bios0: LENOVO 2089A35
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA DMAR 
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) 
EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.31 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF
cpu1: 3MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for USB0, USB3, USB5, EHC0, EHC1
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4621" serial  1562 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1680x1050
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
"Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: msi, address 
00:27:13:b7:d2:45
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 22
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi
azalia0: codecs: Conexant CX20561
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 828

Re: Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-26 Thread Mike Larkin
On Wed, Nov 26, 2014 at 02:48:33PM -0500, Jiri B wrote:
> Does anybody have an archive for each amd64 snapshot?
> I'd like to check what is the latest amd64 kernel which can
> boot on T500. Nov 7 snapshot works OK but recent ones do not.
> 
> I updated bios, ran memtest86+, still same problem.
> 
> But... I see I don't have any getty, strange, I haven't
> observe it before as I use X.

Can you verify you've enabled NX (sometimes called execute disable)
in your BIOS? We made some changes in this area recently and while
I did test on a non-NX setup, maybe we missed something. I see your
CPUID outputs in the dmesg that works don't have NXE, which leads
me to believe you disabled it in the BIOS for some reason (as your
CPU does support it).

-ml


> 
> USER   PID %CPU %MEM   VSZ   RSS TT  STAT  STARTED   TIME COMMAND
> root 1  0.0  0.0   604   540 ??  Ss 8:26PM0:01.07 /sbin/init
> root 16946  0.0  0.0   796   988 ??  Is 8:26PM0:00.00 syslogd: 
> [priv] (syslogd)
> _syslogd 27946  0.0  0.0   796  1104 ??  S  8:26PM0:00.08 
> /usr/sbin/syslogd
> root 30726  0.0  0.0   824   584 ??  Is 8:26PM0:00.01 pflogd: 
> [priv] (pflogd)
> _pflogd   1386  0.0  0.0   888   368 ??  S  8:26PM0:00.06 pflogd: 
> [running] -s 160 -i pflog0 -f /var/log/pflog (pflogd)
> root  6328  0.0  0.0  1160  1352 ??  Is 8:26PM0:00.00 
> /usr/sbin/sshd
> _smtpd1994  0.0  0.1  1608  2776 ??  I  8:26PM0:00.01 smtpd: pony 
> express (smtpd)
> _smtpd   32643  0.0  0.0  1452  1968 ??  I  8:26PM0:00.00 smtpd: 
> klondike (smtpd)
> root  3845  0.0  0.1  1584  2204 ??  Is 8:26PM0:00.01 smtpd: 
> [priv] (smtpd)
> _smtpq   27223  0.0  0.1  1584  2252 ??  I  8:26PM0:00.01 smtpd: 
> queue (smtpd)
> _smtpd   15481  0.0  0.1  1724  2308 ??  I  8:26PM0:00.00 smtpd: 
> control (smtpd)
> _smtpd4473  0.0  0.1  1588  2308 ??  I  8:26PM0:00.00 smtpd: 
> lookup (smtpd)
> _smtpd4297  0.0  0.0  1380  1980 ??  I  8:26PM0:00.00 smtpd: 
> scheduler (smtpd)
> _sndio   32512  0.0  0.0   752   964 ??  I /usr/bin/sndiod
> _dnscrypt-proxy 18418  0.0  0.0  1072  1416 ??  Is 8:26PM0:00.01 
> /usr/local/sbin/dnscrypt-proxy -d --user=_dnscrypt-proxy 
> --local-address=127.0.0.1:5331 --user=_dnsc
> _pdnsd   18198  0.0  0.1  4400  5004 ??  I  8:26PM0:00.02 
> /usr/local/sbin/pdnsd -d
> _mpd  4212  0.0  0.2 16144  7864 ??  Is 8:26PM0:00.02 
> /usr/local/sbin/mpd
> root 26670  0.0  0.0   540   908 ??  Ss 8:26PM0:00.00 
> /usr/sbin/apmd -A
> root 25744  0.0  0.0   812  1168 ??  Ss 8:26PM0:00.00 
> /usr/sbin/cron
> root 28624  0.0  0.0   796  1968 ??  Is 8:26PM0:00.04 
> /usr/X11R6/bin/xdm
> _x11 20501  0.0  0.6 16252 24784 ??  Ss 8:26PM0:03.01 
> /usr/X11R6/bin/X :0 vt05 -auth /etc/X11/xdm/authdir/authfiles/A:0-hh1yAL 
> (Xorg)
> root  4464  0.0  0.0  2504  1356 ??  I  8:26PM0:00.03 X: [priv] 
> (Xorg)
> root  5150  0.0  0.2  1416  6448 ??  Is 8:26PM0:00.17 xdm: :0 
> (xdm)
> jirib 5092  0.0  0.0   636   664 ??  Is 8:26PM0:00.02 /bin/sh 
> /etc/X11/xdm/Xsession
> jirib 1893  0.0  0.0   692  1704 ??  Is 8:26PM0:00.01 ssh-agent -s
> jirib 3965  0.0  0.1  1008  5560 ??  I  8:26PM0:00.03 cwm
> jirib29718  0.0  0.0   852  1720 ??  I  8:26PM0:00.00 dbus-launch 
> --sh-syntax --exit-with-session
> jirib20225  0.0  0.0   928  1164 ??  Is 8:26PM0:00.00 
> /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
> jirib 9543  0.0  0.1   592  2276 ??  I  8:26PM0:00.01 xidle
> jirib24260  0.0  0.1  1608  3336 ??  S  8:26PM0:00.20 xstatbar -f 
> -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1 -w 1680 -h 14
> jirib 3144  0.0  0.3  7868 13696 ??  S  8:26PM0:00.39 xterm 
> -class UXTerm
> jirib25699  0.0  0.1  2080  3636 ??  Ss 8:26PM0:00.61 tmux: 
> server (/tmp/tmux-1001/default) (tmux)
> root 21781  0.0  0.0   764   568 ??  S  8:34PM0:00.00 /sbin/init
> root 10920  0.0  0.0   768   584 ??  S  8:34PM0:00.00 /sbin/init
> root 18579  0.0  0.0   772   600 ??  S  8:34PM0:00.00 /sbin/init
> root 26966  0.0  0.0   764   580 ??  S  8:34PM0:00.00 /sbin/init
> root 28783  0.0  0.0   760   576 ??  S  8:34PM0:00.00 /sbin/init
> ^^^
> 
> 
> jirib10749  0.0  0.0   680   844 p0  Is 8:26PM0:00.01 -ksh (ksh)
> jirib12212  0.0  0.0   992  1964 p0  I+ 8:26PM0:00.01 tmux: 
> client (/tmp/tmux-1001/default) (tmux)
> jirib 3196  0.0  0.0   724   824 p1  Is 8:26PM0:00.03 -ksh (ksh)
> root 16221  0.0  0.0   740   732 p1  S  8:31PM0:00.08 -ksh (ksh)
> root  6363  0.0  0.0   480   404 p1  R+ 8:35PM0:00.00 ps -aux
> 
> Using drive 0, partition 3.
> Load

Lenovo T500 doesn't boot [Was: Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...]

2014-11-26 Thread Jiri B
Does anybody have an archive for each amd64 snapshot?
I'd like to check what is the latest amd64 kernel which can
boot on T500. Nov 7 snapshot works OK but recent ones do not.

I updated bios, ran memtest86+, still same problem.

But... I see I don't have any getty, strange, I haven't
observe it before as I use X.

USER   PID %CPU %MEM   VSZ   RSS TT  STAT  STARTED   TIME COMMAND
root 1  0.0  0.0   604   540 ??  Ss 8:26PM0:01.07 /sbin/init
root 16946  0.0  0.0   796   988 ??  Is 8:26PM0:00.00 syslogd: 
[priv] (syslogd)
_syslogd 27946  0.0  0.0   796  1104 ??  S  8:26PM0:00.08 
/usr/sbin/syslogd
root 30726  0.0  0.0   824   584 ??  Is 8:26PM0:00.01 pflogd: 
[priv] (pflogd)
_pflogd   1386  0.0  0.0   888   368 ??  S  8:26PM0:00.06 pflogd: 
[running] -s 160 -i pflog0 -f /var/log/pflog (pflogd)
root  6328  0.0  0.0  1160  1352 ??  Is 8:26PM0:00.00 /usr/sbin/sshd
_smtpd1994  0.0  0.1  1608  2776 ??  I  8:26PM0:00.01 smtpd: pony 
express (smtpd)
_smtpd   32643  0.0  0.0  1452  1968 ??  I  8:26PM0:00.00 smtpd: 
klondike (smtpd)
root  3845  0.0  0.1  1584  2204 ??  Is 8:26PM0:00.01 smtpd: [priv] 
(smtpd)
_smtpq   27223  0.0  0.1  1584  2252 ??  I  8:26PM0:00.01 smtpd: queue 
(smtpd)
_smtpd   15481  0.0  0.1  1724  2308 ??  I  8:26PM0:00.00 smtpd: 
control (smtpd)
_smtpd4473  0.0  0.1  1588  2308 ??  I  8:26PM0:00.00 smtpd: lookup 
(smtpd)
_smtpd4297  0.0  0.0  1380  1980 ??  I  8:26PM0:00.00 smtpd: 
scheduler (smtpd)
_sndio   32512  0.0  0.0   752   964 ??  I bsd.rd
booting sr0a:bsd.rd: 3203048+1369615+2401280+0+517104 [72+351936+229073]=0x7b445
0
entry point at 0x1000160 [7205c766, 3404, 24448b12, 9670a304]
_


> I don't know what else I could provide, I can't boot anymore
> bsd.mp, bsd.rd and even cdboot.iso I burnt (all amd64).
> 
> They all finish on just 2nd line as state above, no idea. If
> those numbers are important I would do a photo (laptop, no
> console) and write it down.
> 
> How else could I help?
> 
> OpenBSD 5.6-current (GENERIC.MP) #544: Fri Nov  7 10:36:24 MST 2014
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4166717440 (3973MB)
> avail mem = 4051992576 (3864MB)
> warning: no entropy supplied by boot loader
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
> bios0: vendor LENOVO version "6FET82WW (3.12 )" date 11/26/2009
> bios0: LENOVO 2089A35
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA 
> DMAR SSDT SSDT SSDT
> acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
> EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) 
> EHC1(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpiec0 at acpi0
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.37 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LONG,LAHF,PERF
> cpu0: 3MB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
> cpu0: apic clock running at 266MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.01 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LONG,LAHF,PERF
> cpu1: 3MB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
> ioapic0: misconfigured as apic 2, remapped to apid 1
> acpimcfg0 at acpi0 addr 0xe000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (AGP_)
> acpiprt2 at acpi0: bus 2 (EXP0)
> acpiprt3 at acpi0: bus 3 (EXP1)
> acpiprt4 at acpi0: bus -1 (EXP2)
> acpiprt5 at acpi0: bus -1 (EXP3)
> acpiprt6 at acpi0: bus 13 (EXP4)
> acpiprt7 at acpi0: bus 21 (PCI1)
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpipwrres0 at acpi0: PUBS, resource for USB0, USB3, USB5, EHC0, EHC1
> acpitz0 at acpi0: critical temperature is 127 degC
> acpitz1 at acpi0: critical temperature is 100 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpibat0 at acpi0: BAT0 model "42T4621" serial  1562 type LION oem "SANYO"
> acpibat1 at acpi0: BAT1 not present
> acpiac0 at acpi0: AC unit online
> acpithinkpad0 at acpi0
> acpidock0 at acpi0: GDCK not docked (0)
> cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz
> pci0 at ma

Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...

2014-11-25 Thread Mike Larkin
On Mon, Nov 24, 2014 at 05:14:10PM -0500, Jiri B wrote:
> On Sat, Nov 22, 2014 at 12:40:22PM -0700, Theo de Raadt wrote:
> > > I can't boot bsd.rd (amd64) from Nov 21 2014. I've tried to
> > > upgrade my FDE-based amd64 installation.
> > > 
> > > I entered passphrase for crypto softraid in boot loader, typed
> > > 'bsd.rd' and after one line it finished:
> > > 
> > > entry point at 0x1000160 [7205c768, 3404, 24448b12, 6670a304]
> > > 
> > > (I hope I wrote it down correctly.)
> > 
> > As you and other readers of this list know very well, the above
> > is an incomplete bug report.
> > 
> > It is nice to know that you have spotted a problem, but there simply
> > is not enough information for anyone to move forward.  I just tested
> > the same stuff on 3 of my machines.
> > 
> > Considering the effort we put into making this code, please put a bit
> > more effort into it yourself?  Thanks.
> 
> Hi,
> 
> yeah I should have to include my working dmesg, so here it is from
> my Lenovo T500.
> 
> I don't know what else I could provide, I can't boot anymore
> bsd.mp, bsd.rd and even cdboot.iso I burnt (all amd64).
> 
> They all finish on just 2nd line as state above, no idea. If
> those numbers are important I would do a photo (laptop, no
> console) and write it down.
> 
> How else could I help?

Try a newer snapshot and let us know if it is still broken.

-ml

> 
> OpenBSD 5.6-current (GENERIC.MP) #544: Fri Nov  7 10:36:24 MST 2014
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4166717440 (3973MB)
> avail mem = 4051992576 (3864MB)
> warning: no entropy supplied by boot loader
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
> bios0: vendor LENOVO version "6FET82WW (3.12 )" date 11/26/2009
> bios0: LENOVO 2089A35
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA 
> DMAR SSDT SSDT SSDT
> acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
> EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) 
> EHC1(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpiec0 at acpi0
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.37 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LONG,LAHF,PERF
> cpu0: 3MB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
> cpu0: apic clock running at 266MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.01 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LONG,LAHF,PERF
> cpu1: 3MB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
> ioapic0: misconfigured as apic 2, remapped to apid 1
> acpimcfg0 at acpi0 addr 0xe000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (AGP_)
> acpiprt2 at acpi0: bus 2 (EXP0)
> acpiprt3 at acpi0: bus 3 (EXP1)
> acpiprt4 at acpi0: bus -1 (EXP2)
> acpiprt5 at acpi0: bus -1 (EXP3)
> acpiprt6 at acpi0: bus 13 (EXP4)
> acpiprt7 at acpi0: bus 21 (PCI1)
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpipwrres0 at acpi0: PUBS, resource for USB0, USB3, USB5, EHC0, EHC1
> acpitz0 at acpi0: critical temperature is 127 degC
> acpitz1 at acpi0: critical temperature is 100 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpibat0 at acpi0: BAT0 model "42T4621" serial  1562 type LION oem "SANYO"
> acpibat1 at acpi0: BAT1 not present
> acpiac0 at acpi0: AC unit online
> acpithinkpad0 at acpi0
> acpidock0 at acpi0: GDCK not docked (0)
> cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
> vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xd000, size 0x1000
> inteldrm0 at vga1
> drm0 at inteldrm0
> inteldrm0: 1680x1050
> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
> "Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
> em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: msi, address 
> 00:27:13:b7:d2:45
> uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20
> uhci1 at

Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...

2014-11-24 Thread Jiri B
On Sat, Nov 22, 2014 at 12:40:22PM -0700, Theo de Raadt wrote:
> > I can't boot bsd.rd (amd64) from Nov 21 2014. I've tried to
> > upgrade my FDE-based amd64 installation.
> > 
> > I entered passphrase for crypto softraid in boot loader, typed
> > 'bsd.rd' and after one line it finished:
> > 
> > entry point at 0x1000160 [7205c768, 3404, 24448b12, 6670a304]
> > 
> > (I hope I wrote it down correctly.)
> 
> As you and other readers of this list know very well, the above
> is an incomplete bug report.
> 
> It is nice to know that you have spotted a problem, but there simply
> is not enough information for anyone to move forward.  I just tested
> the same stuff on 3 of my machines.
> 
> Considering the effort we put into making this code, please put a bit
> more effort into it yourself?  Thanks.

Hi,

yeah I should have to include my working dmesg, so here it is from
my Lenovo T500.

I don't know what else I could provide, I can't boot anymore
bsd.mp, bsd.rd and even cdboot.iso I burnt (all amd64).

They all finish on just 2nd line as state above, no idea. If
those numbers are important I would do a photo (laptop, no
console) and write it down.

How else could I help?

OpenBSD 5.6-current (GENERIC.MP) #544: Fri Nov  7 10:36:24 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4166717440 (3973MB)
avail mem = 4051992576 (3864MB)
warning: no entropy supplied by boot loader
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
bios0: vendor LENOVO version "6FET82WW (3.12 )" date 11/26/2009
bios0: LENOVO 2089A35
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA DMAR 
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) 
EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.37 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LONG,LAHF,PERF
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.01 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LONG,LAHF,PERF
cpu1: 3MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for USB0, USB3, USB5, EHC0, EHC1
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4621" serial  1562 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1680x1050
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
"Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: msi, address 
00:27:13:b7:d2:45
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 22
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Inte

Re: Can't boot Nov 21 amd64/bsd.rd - finishes at 'entry point'...

2014-11-22 Thread Theo de Raadt
> I can't boot bsd.rd (amd64) from Nov 21 2014. I've tried to
> upgrade my FDE-based amd64 installation.
> 
> I entered passphrase for crypto softraid in boot loader, typed
> 'bsd.rd' and after one line it finished:
> 
> entry point at 0x1000160 [7205c768, 3404, 24448b12, 6670a304]
> 
> (I hope I wrote it down correctly.)

As you and other readers of this list know very well, the above
is an incomplete bug report.

It is nice to know that you have spotted a problem, but there simply
is not enough information for anyone to move forward.  I just tested
the same stuff on 3 of my machines.

Considering the effort we put into making this code, please put a bit
more effort into it yourself?  Thanks.