Re: 8G RAM on 32 bits

2012-08-01 Thread Stuart Henderson
On 2012-08-01, Pau  wrote:
>:)
>
> Thanks for the help... I installed it and the 8G RAM are there (see
> head of dmesg ahead).
>
> I have another question... I have this big monitor (30"!) and I would
> like to use the displayport but X does not seem to understand it,
> because when I use the displayport cable the monitor is black. With
> VGA I get it to work but at a much smaller resolution.

If the machine also has Windows on, it would be worth checking the cable
works there, there are all sorts of displayport cables (active/passive
and various other options) and it's easy to get the wrong one.

> The monitor has also HDMI (although the laptop does not). Would the
> quality any better if I used an adapter to plug a HDMI cable to the
> VGA port of the laptop?

I'm using the displayport connector on an X220 connecting to the
DVI connector on an old-ish dell monitor, I have a script which does
these which I use when I dock to enable the external monitor and
disable the internal one. This took a bit of working out, there is
an easier way but something went wrong with it, iirc I lost the
cursor or something.

xrandr --output HDMI-3 --right-of LVDS --auto
xrandr --output LVDS --off

In any event xrandr is the first command to investigate when you
want to adjust display options like this.

That's with this:

vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09

Probed in Xorg.0.log like this

[14.574] (II) intel(0): Integrated Graphics Chipset: Intel(R) Sandybridge 
Mobile (GT2+)

Full dmesg looks like this,

OpenBSD 5.2-current (GENERIC.MP) #38: Tue Jul 31 17:26:23 BST 2012
st...@bamboo.spacehopper.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8466853888 (8074MB)
avail mem = 8219095040 (7838MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (66 entries)
bios0: vendor LENOVO version "8DET61WW (1.31 )" date 04/25/2012
bios0: LENOVO 4287CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC 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) i7-2640M CPU @ 2.80GHz, 2791.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,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2790.94 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,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2790.93 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,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz, 2790.94 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,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
cpu3: 256KB 64b/line 8-way L2 cache
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 14 (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
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4861" serial 12519 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 2791 MHz: speeds: 2801, 2800, 2600, 2400, 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
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulatio

Re: 8G RAM on 32 bits

2012-08-01 Thread Pau
:)

Thanks for the help... I installed it and the 8G RAM are there (see
head of dmesg ahead).

I have another question... I have this big monitor (30"!) and I would
like to use the displayport but X does not seem to understand it,
because when I use the displayport cable the monitor is black. With
VGA I get it to work but at a much smaller resolution.

The monitor has also HDMI (although the laptop does not). Would the
quality any better if I used an adapter to plug a HDMI cable to the
VGA port of the laptop?

In any case, thanks!

$ dmesg | head
OpenBSD 5.2 (RAMDISK_CD) #118: Mon Jul 30 16:31:14 MDT 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 8466853888 (8074MB)
avail mem = 8221462528 (7840MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (68 entries)
bios0: vendor LENOVO version "8DET56WW (1.26 )" date 12/01/2011
bios0: LENOVO 42914BG
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5


On Tue, Jul 31, 2012 at 2:21 PM, Pau  wrote:
> Thanks...
>
> I am downloading a recent snapshot and will try to do a clean install
> with the amd64.
>
> I will keep you posted.
>
> Cheers,
>
> Pau
>
> On Tue, Jul 31, 2012 at 12:17 PM, Peter Hessler  wrote:
>> All i7's are 64bit compatible.
>>
>> If you can try a new kernel (bsd.rd should be enough), then you can try
>> it out and see if it boots.
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: 8G RAM on 32 bits

2012-07-31 Thread Pau
Thanks...

I am downloading a recent snapshot and will try to do a clean install
with the amd64.

I will keep you posted.

Cheers,

Pau

On Tue, Jul 31, 2012 at 12:17 PM, Peter Hessler  wrote:
> All i7's are 64bit compatible.
>
> If you can try a new kernel (bsd.rd should be enough), then you can try
> it out and see if it boots.
>
> If it does boot, it is highly recommended to do a clean install.  While
> it is possible to upgrade from i386 to amd64 this is not recommended as
> it is easy to miss some bits and add some problems to your system.
>
>
> On 2012 Jul 31 (Tue) at 12:04:26 +0200 (+0200), Pau wrote:
> :Hi,
> :
> :thanks for the answer.
> :
> :This is a Sandybridge Mobile "Intel® Core™ i7-2640M CPU @ 2.80GHz × 4 "
> :
> :How can I find out whether this is 64 bit-capable?
> :
> :I have googled but not very successfully... I am afraid I am also
> :newbie in the tech jargon...
> :
> :Pau
> :
> :On Mon, Jul 30, 2012 at 10:09 PM, Mike Erdely  wrote:
> :> On Mon, Jul 30, 2012 at 3:35 PM, Pau  wrote:
> :>> I thought the same and downloaded the amd64 CD and tried to install it
> :>> but it would not boot. In my ignorance I supposed that it would be
> :>> impossible for a 32 bits CPU to do that, so I threw away the CD.
> :>
> :> More than likely, that means your CPU is 32-bit.  But, you could post
> :> a dmesg(8) if you didn't think you could figure that out and someone
> :> else could tell you if you have a 64-bit capable CPU.
> :>
> :> -ME
> :___
> :Openbsd-newbies mailing list
> :Openbsd-newbies@sfobug.theapt.org
> :http://mailman.theapt.org/listinfo/openbsd-newbies
> :
>
> --
> Q:  Do you know what the death rate around here is?
> A:  One per person.
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: 8G RAM on 32 bits

2012-07-31 Thread Peter Hessler
All i7's are 64bit compatible.

If you can try a new kernel (bsd.rd should be enough), then you can try
it out and see if it boots.

If it does boot, it is highly recommended to do a clean install.  While
it is possible to upgrade from i386 to amd64 this is not recommended as
it is easy to miss some bits and add some problems to your system.


On 2012 Jul 31 (Tue) at 12:04:26 +0200 (+0200), Pau wrote:
:Hi,
:
:thanks for the answer.
:
:This is a Sandybridge Mobile "Intel® Core™ i7-2640M CPU @ 2.80GHz × 4 "
:
:How can I find out whether this is 64 bit-capable?
:
:I have googled but not very successfully... I am afraid I am also
:newbie in the tech jargon...
:
:Pau
:
:On Mon, Jul 30, 2012 at 10:09 PM, Mike Erdely  wrote:
:> On Mon, Jul 30, 2012 at 3:35 PM, Pau  wrote:
:>> I thought the same and downloaded the amd64 CD and tried to install it
:>> but it would not boot. In my ignorance I supposed that it would be
:>> impossible for a 32 bits CPU to do that, so I threw away the CD.
:>
:> More than likely, that means your CPU is 32-bit.  But, you could post
:> a dmesg(8) if you didn't think you could figure that out and someone
:> else could tell you if you have a 64-bit capable CPU.
:>
:> -ME
:___
:Openbsd-newbies mailing list
:Openbsd-newbies@sfobug.theapt.org
:http://mailman.theapt.org/listinfo/openbsd-newbies
:

-- 
Q:  Do you know what the death rate around here is?
A:  One per person.
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: 8G RAM on 32 bits

2012-07-31 Thread Pau
Hi,

thanks for the answer.

This is a Sandybridge Mobile "Intel® Core™ i7-2640M CPU @ 2.80GHz × 4 "

How can I find out whether this is 64 bit-capable?

I have googled but not very successfully... I am afraid I am also
newbie in the tech jargon...

Pau

On Mon, Jul 30, 2012 at 10:09 PM, Mike Erdely  wrote:
> On Mon, Jul 30, 2012 at 3:35 PM, Pau  wrote:
>> I thought the same and downloaded the amd64 CD and tried to install it
>> but it would not boot. In my ignorance I supposed that it would be
>> impossible for a 32 bits CPU to do that, so I threw away the CD.
>
> More than likely, that means your CPU is 32-bit.  But, you could post
> a dmesg(8) if you didn't think you could figure that out and someone
> else could tell you if you have a 64-bit capable CPU.
>
> -ME
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: 8G RAM on 32 bits

2012-07-30 Thread Stuart Henderson
On 2012-07-30, Pau  wrote:
> Hi,
>
> I have this thinkpad laptop and I want to use OpenBSD on it.
>
> Now, the laptop has 8G RAM and it is a 32 bits.

If you mean that the CPU can only support 32 bits, you won't be able
to see the extra RAM with OpenBSD.

There was some code implemented several years ago that took steps
towards supporting this, but it caused some rather nasty hangs
on 64-bit AMD CPUs running i386 that took quite some time to track
down..this is very fiddly delicate code.

___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: 8G RAM on 32 bits

2012-07-30 Thread Mike Erdely
On Mon, Jul 30, 2012 at 3:35 PM, Pau  wrote:
> I thought the same and downloaded the amd64 CD and tried to install it
> but it would not boot. In my ignorance I supposed that it would be
> impossible for a 32 bits CPU to do that, so I threw away the CD.

More than likely, that means your CPU is 32-bit.  But, you could post
a dmesg(8) if you didn't think you could figure that out and someone
else could tell you if you have a 64-bit capable CPU.

-ME
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: 8G RAM on 32 bits

2012-07-30 Thread Peter Hessler
Depending on why the amd64 cd didn't boot, you might be out of luck.  If
it stopped during the kernel, then likely not.

No, amd64 kernel is not compatible with any of the 32bit binaries.  We
only support apps using the kernel memory sizes.


On 2012 Jul 30 (Mon) at 21:35:00 +0200 (+0200), Pau wrote:
:Thanks, Peter...
:
:I thought the same and downloaded the amd64 CD and tried to install it
:but it would not boot. In my ignorance I supposed that it would be
:impossible for a 32 bits CPU to do that, so I threw away the CD.
:
:Or are you suggesting that I install i386 and then download the amd64
:kernel and boot from it later? Will that be compatible with all the
:installed software (I install the precompiled binaries instead of
:using ports).
:
:Thanks for the feedback. I really appreciate it.
:
:Pau
:

-- 
"The wages of sin are death; but after they're done taking out taxes,
it's just a tired feeling:"
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: 8G RAM on 32 bits

2012-07-30 Thread Pau
Thanks, Peter...

I thought the same and downloaded the amd64 CD and tried to install it
but it would not boot. In my ignorance I supposed that it would be
impossible for a 32 bits CPU to do that, so I threw away the CD.

Or are you suggesting that I install i386 and then download the amd64
kernel and boot from it later? Will that be compatible with all the
installed software (I install the precompiled binaries instead of
using ports).

Thanks for the feedback. I really appreciate it.

Pau
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: 8G RAM on 32 bits

2012-07-30 Thread Peter Hessler
Nope.  OpenBSD does not support PAE.  If you want to access all 8G, you
will need to use the amd64 kernel.  Sorry.


On 2012 Jul 30 (Mon) at 20:49:31 +0200 (+0200), Pau wrote:
:Hi,
:
:I have this thinkpad laptop and I want to use OpenBSD on it.
:
:Now, the laptop has 8G RAM and it is a 32 bits.
:
:I would like to know whether open can see them.
:
:On linux (sorry!) I know there's a "patched" kernel called PAE that
:allows the OS to see the RAM (at least it shows up on a "top").
:
:Is there something like this for OpenBSD?
:
:Thanks...
:
:newbiely yours,
:
:Pau
:___
:Openbsd-newbies mailing list
:Openbsd-newbies@sfobug.theapt.org
:http://mailman.theapt.org/listinfo/openbsd-newbies
:

-- 
The Roman Rule
The one who says it cannot be done should never interrupt the
one who is doing it.
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies