Re: Either intel nor glamor drivers do not work for Samsung NC215S

2022-02-04 Thread Сергей Андрианов
OMG, thank you so much Jonathan, it worked! I did not think about
missing access to PCI.

Do you maybe also know how to enable Chromium hardware acceleration on
my hardware?


пт, 4 февр. 2022 г. в 02:36, Jonathan Gray :
>
> On Thu, Feb 03, 2022 at 07:59:44PM +0300, Sergey Andrianov wrote:
> > Hello, I've recently found some old Atom-based netbook in a "trash"
> > box in my friend's house. HDD was dead, so I've replaced it with
> > Kingston SSD and installed OpenBSD 7. I've installed Xorg, but I can't
> > manage to start it.
> >
> > According to the specs of this netbook, the graphics card is Intel GMA
> > 3150. But I did not find any solution for this particular adapter for
> > OpenBSD.
>
> xf86-video-intel needs to scan the pci bus, you need to use
> xenodm not startx on this hardware
>
> we stopped installing the xserver setuid in 2018
>
> >
> > Here are dmesg and logs:
> >
> > OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT 2021
> > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > real mem = 2119892992 (2021MB)
> > avail mem = 2039676928 (1945MB)
> > random: good seed from bootblocks
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdf010 (29 entries)
> > bios0: vendor Phoenix Technologies Ltd. version
> > "02FR.M025.20110711.RHU" date 07/11/2011
> > bios0: SAMSUNG ELECTRONICS CO., LTD. NC215S
> > acpi0 at bios0: ACPI 3.0
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP MCFG HPET APIC BOOT SLIC SSDT SSDT SSDT SSDT SSDT
> > acpi0: wakeup devices EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCIB(S3) PWRB(S4)
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpimcfg0 at acpi0
> > acpimcfg0: addr 0xe000, bus 0-16
> > acpihpet0 at acpi0: 14318179 Hz
> > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 4821.60 MHz, 06-1c-0a
> > 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> > cpu0: 512KB 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 166MHz
> > cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2, IBE
> > cpu1 at mainbus0: apid 2 (application processor)
> > cpu1: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 997.51 MHz, 06-1c-0a
> > 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> > cpu1: 512KB 64b/line 8-way L2 cache
> > cpu1: disabling user TSC (skew=345)
> > cpu1: smt 0, core 1, package 0
> > cpu2 at mainbus0: apid 1 (application processor)
> > cpu2: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 1662.51 MHz, 06-1c-0a
> > 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> > cpu2: 512KB 64b/line 8-way L2 cache
> > cpu2: smt 1, core 0, package 0
> > cpu3 at mainbus0: apid 3 (application processor)
> > cpu3: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 997.51 MHz, 06-1c-0a
> > 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> > cpu3: 512KB 64b/line 8-way L2 cache
> > cpu3: disabling user TSC (skew=300)
> > cpu3: smt 1, core 1, package 0
> > ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus 5 (EXP1)
> > acpiprt2 at acpi0: bus 7 (EXP2)
> > acpiprt3 at acpi0: bus 9 (EXP3)
> > acpiprt4 at acpi0: bus 11 (EXP4)
> > acpiprt5 at acpi0: bus 17 (PCIB)
> > acpiec0 at acpi0
> > acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
> > acpibat0 at acpi0: BAT1 type LION oem "SAMSUNG Electronics"
> > acpicmos0 at acpi0
> > acpiac0 at acpi0: AC unit online
> > acpibtn0 at acpi0: LID0
> > acpibtn1 at acpi0: PWRB
> > acpibtn2 at acpi0: SLPB
> > acpicpu0 at acpi0: C1(1000@1 mwait.1), PSS
> > acpicpu1 at acpi0: C1(1000@1 mwait.1), PSS
> > acpicpu2 at acpi0: C1(1000@1 mwait.1), PSS
> > acpicpu3 at acpi0: C1(1000@1 mwait.1), PSS
> > acpitz0 at acpi0: critical temperature is 98 degC
> > acpivideo0 at acpi0: IGD0
> > acpivout0 at acpivideo0: DD04
> > cpu0: Enhanced SpeedStep 4821 MHz: speeds: 1667, 1333, 1000 MHz
> > pci0 at mainbus0 bus 0
> > 0:29:7: mem address conflict 0xf0504000/0x400
> > pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
> > inteldrm0 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
> > drm0 at inteldrm0
> > intagp0 

Re: Either intel nor glamor drivers do not work for Samsung NC215S

2022-02-03 Thread Jonathan Gray
On Thu, Feb 03, 2022 at 07:59:44PM +0300, Sergey Andrianov wrote:
> Hello, I've recently found some old Atom-based netbook in a "trash"
> box in my friend's house. HDD was dead, so I've replaced it with
> Kingston SSD and installed OpenBSD 7. I've installed Xorg, but I can't
> manage to start it.
> 
> According to the specs of this netbook, the graphics card is Intel GMA
> 3150. But I did not find any solution for this particular adapter for
> OpenBSD.

xf86-video-intel needs to scan the pci bus, you need to use
xenodm not startx on this hardware

we stopped installing the xserver setuid in 2018

> 
> Here are dmesg and logs:
> 
> OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT 2021
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 2119892992 (2021MB)
> avail mem = 2039676928 (1945MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdf010 (29 entries)
> bios0: vendor Phoenix Technologies Ltd. version
> "02FR.M025.20110711.RHU" date 07/11/2011
> bios0: SAMSUNG ELECTRONICS CO., LTD. NC215S
> acpi0 at bios0: ACPI 3.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP MCFG HPET APIC BOOT SLIC SSDT SSDT SSDT SSDT SSDT
> acpi0: wakeup devices EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCIB(S3) PWRB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xe000, bus 0-16
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 4821.60 MHz, 06-1c-0a
> 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> cpu0: 512KB 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 166MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 997.51 MHz, 06-1c-0a
> 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> cpu1: 512KB 64b/line 8-way L2 cache
> cpu1: disabling user TSC (skew=345)
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 1662.51 MHz, 06-1c-0a
> 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> cpu2: 512KB 64b/line 8-way L2 cache
> cpu2: smt 1, core 0, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 997.51 MHz, 06-1c-0a
> 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> cpu3: 512KB 64b/line 8-way L2 cache
> cpu3: disabling user TSC (skew=300)
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 5 (EXP1)
> acpiprt2 at acpi0: bus 7 (EXP2)
> acpiprt3 at acpi0: bus 9 (EXP3)
> acpiprt4 at acpi0: bus 11 (EXP4)
> acpiprt5 at acpi0: bus 17 (PCIB)
> acpiec0 at acpi0
> acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
> acpibat0 at acpi0: BAT1 type LION oem "SAMSUNG Electronics"
> acpicmos0 at acpi0
> acpiac0 at acpi0: AC unit online
> acpibtn0 at acpi0: LID0
> acpibtn1 at acpi0: PWRB
> acpibtn2 at acpi0: SLPB
> acpicpu0 at acpi0: C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C1(1000@1 mwait.1), PSS
> acpicpu2 at acpi0: C1(1000@1 mwait.1), PSS
> acpicpu3 at acpi0: C1(1000@1 mwait.1), PSS
> acpitz0 at acpi0: critical temperature is 98 degC
> acpivideo0 at acpi0: IGD0
> acpivout0 at acpivideo0: DD04
> cpu0: Enhanced SpeedStep 4821 MHz: speeds: 1667, 1333, 1000 MHz
> pci0 at mainbus0 bus 0
> 0:29:7: mem address conflict 0xf0504000/0x400
> pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
> inteldrm0 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
> drm0 at inteldrm0
> intagp0 at inteldrm0
> agp0 at intagp0: aperture at 0xd000, size 0x1000
> inteldrm0: apic 4 int 16, PINEVIEW, gen 3
> "Intel Pineview Video" rev 0x02 at pci0 dev 2 function 1 not configured
> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
> azalia0: codecs: Realtek ALC269
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi
> pci1 at ppb0 bus 5
> 

Re: Either intel nor glamor drivers do not work for Samsung NC215S

2022-02-03 Thread Сергей Андрианов
> The N455 and N570 should have the same 3150 GFX, see

So this is why Debian's Xorg works, as I think. I'm trying to look
into the driver's source, but I'm not a very experienced C programmer.
Trying to compile the latest Xorg from the stable branch (in
/usr/xenocara), it has xf86-video-intel v2.99.917 in the tree. Hope it
helps.

чт, 3 февр. 2022 г. в 23:58, Sven Wolf :
>
>
>
> On 2/3/22 21:33, Sergey Andrianov wrote:
> > Yes, it did not help. Just noticed that in README for xf86-video-intel
> > it's written:
> >
> >> PineView-M (Atom N400 series)
> >
> > but mine is N570.
> >
> The N455 and N570 should have the same 3150 GFX, see
> https://news.samsung.com/global/samsung-electronics-launches-eco-friendly-solar-powered-rechargeable-netbook-nc-215s
>
> https://ark.intel.com/content/www/us/en/ark/compare.html?productIds=49491,55637
>
>



Re: Either intel nor glamor drivers do not work for Samsung NC215S

2022-02-03 Thread Joel Carnat
Hi,

This GMA 3150 may be the same I had on my Dell Inspiron Mini 10. It’s be ages 
since it has not been booted but I recall this card to be really specific ; 
hear not being compatible with standard intel driver.

Looking at my archives 
(https://www.tumfatig.net/2010/openbsd-on-dell-inspiron-10/) it seems I used 
the vesa driver to have X running.

You may give it a try.

Regards,
Joel C.

> Le 3 févr. 2022 à 22:01, Sven Wolf  a écrit :
> 
> 
> 
>> On 2/3/22 21:33, Sergey Andrianov wrote:
>> Yes, it did not help. Just noticed that in README for xf86-video-intel
>> it's written:
>>> PineView-M (Atom N400 series)
>> but mine is N570.
> The N455 and N570 should have the same 3150 GFX, see
> https://news.samsung.com/global/samsung-electronics-launches-eco-friendly-solar-powered-rechargeable-netbook-nc-215s
> 
> https://ark.intel.com/content/www/us/en/ark/compare.html?productIds=49491,55637
> 
> 


Re: Either intel nor glamor drivers do not work for Samsung NC215S

2022-02-03 Thread Sven Wolf




On 2/3/22 21:33, Sergey Andrianov wrote:

Yes, it did not help. Just noticed that in README for xf86-video-intel
it's written:


PineView-M (Atom N400 series)


but mine is N570.


The N455 and N570 should have the same 3150 GFX, see
https://news.samsung.com/global/samsung-electronics-launches-eco-friendly-solar-powered-rechargeable-netbook-nc-215s

https://ark.intel.com/content/www/us/en/ark/compare.html?productIds=49491,55637




Re: Either intel nor glamor drivers do not work for Samsung NC215S

2022-02-03 Thread Sergey Andrianov
Yes, it did not help. Just noticed that in README for xf86-video-intel
it's written:

> PineView-M (Atom N400 series)

but mine is N570.

I've tried to boot from debian-live-9.13.0-amd64-xfce.iso
on a USB stick, and Xorg worked smoothly there. The difference with Xorg and
xf86-video-intel versions:

  OpenBSD_7_0debian-9-live
Xorg: 1.20.131.19.0
module:   2.99.916   2.99.917
ABI class:24.1   23.0


Here is pcidump for thee devices:

 0:2:0: Intel Pineview Video
0x: Vendor ID: 8086, Product ID: a011
0x0004: Command: 0007, Status: 0090
0x0008: Class: 03 Display, Subclass: 00 VGA,
Interface: 00, Revision: 02
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR mem 32bit addr: 0xf020/0x0008
0x0014: BAR io addr: 0x18d0/0x0008
0x0018: BAR mem prefetchable 32bit addr: 0xd000/0x1000
0x001c: BAR mem 32bit addr: 0xf000/0x0010
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 144d Product ID: c0a8
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0090: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: no
0x00d0: Capability 0x01: Power Management
State: D0
 0:2:1: Intel Pineview Video
0x: Vendor ID: 8086, Product ID: a012
0x0004: Command: 0007, Status: 0090
0x0008: Class: 03 Display, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 02
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR mem 32bit addr: 0xf028/0x0008
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 144d Product ID: c0a8
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x00d0: Capability 0x01: Power Management
State: D0

чт, 3 февр. 2022 г. в 23:05, Sven Wolf :
>
>
>
> On 2/3/22 17:59, Sergey Andrianov wrote:
> > [  1833.653] (--) Using wscons driver on /dev/ttyC4
> > [  1833.671] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
> > (Permission denied)
> > Check that you have set 'machdep.allowaperture=1'
> > in /etc/sysctl.conf and reboot your machine
> > refer to xf86(4) for details
>
>
> Hi,
>
> have you tried to set machdep.allowaperture=1 ?
>
> Sven



Fwd: Either intel nor glamor drivers do not work for Samsung NC215S

2022-02-03 Thread Сергей Андрианов
Hello, I've recently found some old Atom-based netbook in a "trash"
box in my friend's house. HDD was dead, so I've replaced it with
Kingston SSD and installed OpenBSD 7. I've installed Xorg, but I can't
manage to start it.

According to the specs of this netbook, the graphics card is Intel GMA
3150. But I did not find any solution for this particular adapter for
OpenBSD.

Here are dmesg and logs:

OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT 2021
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2119892992 (2021MB)
avail mem = 2039676928 (1945MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdf010 (29 entries)
bios0: vendor Phoenix Technologies Ltd. version
"02FR.M025.20110711.RHU" date 07/11/2011
bios0: SAMSUNG ELECTRONICS CO., LTD. NC215S
acpi0 at bios0: ACPI 3.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP MCFG HPET APIC BOOT SLIC SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCIB(S3) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-16
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 4821.60 MHz, 06-1c-0a
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,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu0: 512KB 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 166MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 997.51 MHz, 06-1c-0a
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,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu1: 512KB 64b/line 8-way L2 cache
cpu1: disabling user TSC (skew=345)
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 1662.51 MHz, 06-1c-0a
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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu2: 512KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 997.51 MHz, 06-1c-0a
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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu3: 512KB 64b/line 8-way L2 cache
cpu3: disabling user TSC (skew=300)
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (EXP1)
acpiprt2 at acpi0: bus 7 (EXP2)
acpiprt3 at acpi0: bus 9 (EXP3)
acpiprt4 at acpi0: bus 11 (EXP4)
acpiprt5 at acpi0: bus 17 (PCIB)
acpiec0 at acpi0
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpibat0 at acpi0: BAT1 type LION oem "SAMSUNG Electronics"
acpicmos0 at acpi0
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpicpu0 at acpi0: C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C1(1000@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 98 degC
acpivideo0 at acpi0: IGD0
acpivout0 at acpivideo0: DD04
cpu0: Enhanced SpeedStep 4821 MHz: speeds: 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0
0:29:7: mem address conflict 0xf0504000/0x400
pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
inteldrm0 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0: apic 4 int 16, PINEVIEW, gen 3
"Intel Pineview Video" rev 0x02 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi
pci1 at ppb0 bus 5
iwn0 at pci1 dev 0 function 0 "Intel Centrino Wireless-N 130" rev
0x34: msi, MIMO 1T2R, BGN, address dc:a9:71:6f:73:3b
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: msi
pci2 at ppb1 bus 7
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: msi
pci3 at ppb2 bus 9
re0 at pci3 dev 0 function 0 "Realtek 8101E" rev 0x05: RTL8105E
(0x4080), msi, address e8:11:32:d5:70:70
rlphy0 at re0 phy 

Re: Either intel nor glamor drivers do not work for Samsung NC215S

2022-02-03 Thread Sven Wolf




On 2/3/22 17:59, Sergey Andrianov wrote:

[  1833.653] (--) Using wscons driver on /dev/ttyC4
[  1833.671] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Permission denied)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details



Hi,

have you tried to set machdep.allowaperture=1 ?

Sven



Either intel nor glamor drivers do not work for Samsung NC215S

2022-02-03 Thread Sergey Andrianov
Hello, I've recently found some old Atom-based netbook in a "trash"
box in my friend's house. HDD was dead, so I've replaced it with
Kingston SSD and installed OpenBSD 7. I've installed Xorg, but I can't
manage to start it.

According to the specs of this netbook, the graphics card is Intel GMA
3150. But I did not find any solution for this particular adapter for
OpenBSD.

Here are dmesg and logs:

OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT 2021
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2119892992 (2021MB)
avail mem = 2039676928 (1945MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xdf010 (29 entries)
bios0: vendor Phoenix Technologies Ltd. version
"02FR.M025.20110711.RHU" date 07/11/2011
bios0: SAMSUNG ELECTRONICS CO., LTD. NC215S
acpi0 at bios0: ACPI 3.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP MCFG HPET APIC BOOT SLIC SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCIB(S3) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-16
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 4821.60 MHz, 06-1c-0a
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,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu0: 512KB 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 166MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 997.51 MHz, 06-1c-0a
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,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu1: 512KB 64b/line 8-way L2 cache
cpu1: disabling user TSC (skew=345)
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 1662.51 MHz, 06-1c-0a
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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu2: 512KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Atom(TM) CPU N570 @ 1.66GHz, 997.51 MHz, 06-1c-0a
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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu3: 512KB 64b/line 8-way L2 cache
cpu3: disabling user TSC (skew=300)
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (EXP1)
acpiprt2 at acpi0: bus 7 (EXP2)
acpiprt3 at acpi0: bus 9 (EXP3)
acpiprt4 at acpi0: bus 11 (EXP4)
acpiprt5 at acpi0: bus 17 (PCIB)
acpiec0 at acpi0
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpibat0 at acpi0: BAT1 type LION oem "SAMSUNG Electronics"
acpicmos0 at acpi0
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpicpu0 at acpi0: C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C1(1000@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 98 degC
acpivideo0 at acpi0: IGD0
acpivout0 at acpivideo0: DD04
cpu0: Enhanced SpeedStep 4821 MHz: speeds: 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0
0:29:7: mem address conflict 0xf0504000/0x400
pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
inteldrm0 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0: apic 4 int 16, PINEVIEW, gen 3
"Intel Pineview Video" rev 0x02 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi
pci1 at ppb0 bus 5
iwn0 at pci1 dev 0 function 0 "Intel Centrino Wireless-N 130" rev
0x34: msi, MIMO 1T2R, BGN, address dc:a9:71:6f:73:3b
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: msi
pci2 at ppb1 bus 7
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: msi
pci3 at ppb2 bus 9
re0 at pci3 dev 0 function 0 "Realtek 8101E" rev 0x05: RTL8105E
(0x4080), msi, address e8:11:32:d5:70:70
rlphy0 at re0 phy