Re: Lenovo X130e blank video at boot.rd

2018-02-28 Thread j



On 2018-02-28 11:18, Stefan Sperling wrote:



The x130e can boot in either UEFI or legacy mode.

I have 'UEFI/Legacy Boot' set to 'Both' and 'UEFI/Legacy Boot Priority'
set to 'Legacy First'.

Maybe this issue only happens with UEFI?


Yes, that does it.  "Legacy First" resolves the problem.  FYI so did the 
Feb 27 snapshot in "UEFI first" mode.


Thanks everyone for your assistance!


--John



Re: Lenovo X130e blank video at boot.rd

2018-02-28 Thread Klemens Nanni
On Wed, Feb 28, 2018 at 07:18:46PM +0100, Stefan Sperling wrote:
> On Wed, Feb 28, 2018 at 11:23:20AM -0500, Allan Streib wrote:
> > j...@bitminer.ca writes:
> > 
> > > Just for laughs I booted an OpenBSD 4.2 CD, circa 1997 (and five years 
> > > older than the hardware) and while it recognized few devices it did show 
> > > all video correctly.  The video device vga1 shows as vendor "ATI" 
> > > unknown product 0x9806 rev 0x00.
> > 
> > That release predates the introduction of the framebuffer console.
> > 
> > I have had a problem since that started, the video mode selected is
> > incorrect and I see the boot messages in VGA mode until the framebuffer
> > console is activated, then the screen goes blank and pops up a message
> > complaining about the video mode. I have to do a blind login and then
> > run startx. Never learned how to disable wsdisplay and keep the simple
> > 80x24 console.
> > 
> > Allan
> 
> The x130e can boot in either UEFI or legacy mode.
> 
> I have 'UEFI/Legacy Boot' set to 'Both' and 'UEFI/Legacy Boot Priority'
> set to 'Legacy First'.
> 
> Maybe this issue only happens with UEFI?
Most likely.

I have no such board around to test but this sounds similar to what I
experienced with a ThinkPad X121e:

https://marc.info/?l=openbsd-tech=150457245320842=2

Try setting different video and/or GOP modes as described in to see
whether this is just another cripled UEFI setup.

https://marc.info/?l=openbsd-tech=150557217729175=2



Re: Lenovo X130e blank video at boot.rd

2018-02-28 Thread Stefan Sperling
On Wed, Feb 28, 2018 at 11:23:20AM -0500, Allan Streib wrote:
> j...@bitminer.ca writes:
> 
> > Just for laughs I booted an OpenBSD 4.2 CD, circa 1997 (and five years 
> > older than the hardware) and while it recognized few devices it did show 
> > all video correctly.  The video device vga1 shows as vendor "ATI" 
> > unknown product 0x9806 rev 0x00.
> 
> That release predates the introduction of the framebuffer console.
> 
> I have had a problem since that started, the video mode selected is
> incorrect and I see the boot messages in VGA mode until the framebuffer
> console is activated, then the screen goes blank and pops up a message
> complaining about the video mode. I have to do a blind login and then
> run startx. Never learned how to disable wsdisplay and keep the simple
> 80x24 console.
> 
> Allan

The x130e can boot in either UEFI or legacy mode.

I have 'UEFI/Legacy Boot' set to 'Both' and 'UEFI/Legacy Boot Priority'
set to 'Legacy First'.

Maybe this issue only happens with UEFI?



Re: Lenovo X130e blank video at boot.rd

2018-02-28 Thread Allan Streib
j...@bitminer.ca writes:

> Just for laughs I booted an OpenBSD 4.2 CD, circa 1997 (and five years 
> older than the hardware) and while it recognized few devices it did show 
> all video correctly.  The video device vga1 shows as vendor "ATI" 
> unknown product 0x9806 rev 0x00.

That release predates the introduction of the framebuffer console.

I have had a problem since that started, the video mode selected is
incorrect and I see the boot messages in VGA mode until the framebuffer
console is activated, then the screen goes blank and pops up a message
complaining about the video mode. I have to do a blind login and then
run startx. Never learned how to disable wsdisplay and keep the simple
80x24 console.

Allan



Re: Lenovo X130e blank video at boot.rd

2018-02-28 Thread j



On 2018-02-28 06:51, Stefan Sperling wrote:

On Tue, Feb 27, 2018 at 04:53:06PM -0700, j...@bitminer.ca wrote:




My x130e has no problems booting -current miniroot62.fs from USB.
Video works fine ("ATI Radeon HD 6310"). dmesg below.

Did you boot from OpenBSd powered-off state or soft reboot after 
running

Windows? It's possible that Windows leaves devices in a state where
OpenBSD cannot use them.

BTW this machine used to be an E-450 as well, however something broke
on the mainboard so the system would not see the battery anymore.
At the time I could only find an E-300 mainboard to replace it but it's
been working fine since.


Just for laughs I booted an OpenBSD 4.2 CD, circa 1997 (and five years 
older than the hardware) and while it recognized few devices it did show 
all video correctly.  The video device vga1 shows as vendor "ATI" 
unknown product 0x9806 rev 0x00.


Thanks for the hint on power cycling; however I always have had to 
restart from power off to get the choice of boot device.


And here is another hint: after booting with "-c" the screen goes blank 
even before the UKC> prompt.


I will try -current next.


--John



OpenBSD 6.2-current (RAMDISK_CD) #11: Tue Feb 27 17:20:47 MST 2018

dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD

real mem = 3849388032 (3671MB)
avail mem = 3728969728 (3556MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf9d00 (58 entries)
bios0: vendor LENOVO version "8RET52WW (1.15 )" date 11/15/2011
bios0: LENOVO 305162G
acpi0 at bios0: rev 4
acpi0: tables DSDT FACP SLIC HPET APIC MCFG UEFI UEFI SSDT SSDT UEFI
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD E-300 APU with Radeon(tm) HD Graphics, 1297.51 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully 
associative

cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, IBE
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PB4_)
acpiprt2 at acpi0: bus 1 (PB5_)
acpiprt3 at acpi0: bus 2 (PB6_)
acpiprt4 at acpi0: bus 3 (PB7_)
acpiprt5 at acpi0: bus 4 (P2P_)
acpiprt6 at acpi0: bus -1 (SPB0)
acpiprt7 at acpi0: bus -1 (SPB1)
acpiprt8 at acpi0: bus -1 (SPB2)
acpiprt9 at acpi0: bus -1 (SPB3)
acpiec0 at acpi0
acpicpu at acpi0 not configured
acpitz at acpi0 not configured
"PNP0C0C" at acpi0 not configured
"PNP0C0E" at acpi0 not configured
"LEN0026" at acpi0 not configured
"LEN0068" at acpi0 not configured
"ACPI0003" at acpi0 not configured
"PNP0C0A" at acpi0 not configured
"PNP0C0D" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00
vga1 at pci0 dev 1 function 0 "ATI Radeon HD 6310" rev 0x00
wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation)
"ATI Radeon HD 6310 HD Audio" rev 0x00 at pci0 dev 1 function 1 not 
configured

ppb0 at pci0 dev 5 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
rtwn0 at pci1 dev 0 function 0 "Realtek 8188CE" rev 0x01: msi
rtwn0: MAC/BB RTL8188CE, RF 6052 1T1R, address 9c:b7:0d:e1:11:6d
ppb1 at pci0 dev 6 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
alc0 at pci2 dev 0 function 0 "Attansic Technology L1D" rev 0xc0: msi,
address 04:7d:7b:31:00:6e
atphy0 at alc0 phy 0: AR8035 10/100/1000 PHY, rev. 0
ppb2 at pci0 dev 7 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
rtsx0 at pci3 dev 0 function 0 "Realtek RTS5209 Card Reader" rev 0x01: 
msi

sdmmc0 at rtsx0: 4-bit, dma
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int
19, AHCI 1.2
ahci0: port 0: 3.0Gb/s
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0:  SCSI3
0/direct fixed naa.5001b4496652afc1
sd0: 122104MB, 512 bytes/sector, 250069680 sectors, thin
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 
17

usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 
17

usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
"ATI SBx00 SMBus" rev 0x42 at pci0 dev 20 

Re: Lenovo X130e blank video at boot.rd

2018-02-28 Thread Stefan Sperling
On Tue, Feb 27, 2018 at 04:53:06PM -0700, j...@bitminer.ca wrote:
> I am replacing my ancient X60 with an X130e of lesser age.  This model is
> previously found as working on misc.
> 
> When trying to install 6.2 (release) over Windows 10 there is no video to
> see.
> 
> By booting miniroot62.fs from USB the kernel loads, but the "OpenBSD 6.2
> " and subsequent boot messages do not appear.  The video is blank
> (apparently backlit but no text is present.)  The biosboot loader messages
> prior to that do appear for a few seconds.  The USB stick activity light
> does blink as if things are happening normally.
> 
> Same result for 6.1 and 5.9.
> 
> The three video options: Native video, VGA and HDMI video outputs show the
> same biosboot lines and then the screen blanks.  A couple of different
> monitors on the VGA output show "unsupported format" or somesuch suggesting
> the video signal is not a standard format.
> 
> There is no serial port on this hardware.  The BIOS is updated to the
> latest.  I'm going to try to obtain a dmesg with blindly typing against the
> install script (blessed OpenBSD with a simple install CLI!)
> 
> I'm wondering if there is something to be enabled/disabled in boot_config
> that would help.  I don't quite understand why video would blank out once
> the kernel gets control (src/sys/arch/amd64/amd64/consinit.c and machdep.c)
> since nothing looks like it is touching video configuration.  This seems to
> be way before any video driver gets control.
> 
> The Windows 10 "about" page says this is AMD E-450 APU with Radeon HD
> Graphics.  The Hardware page says "AMD Radeon HD 6320 Graphics".
> 
> Does anyone have further advice?
> 
> thanks
> 
> John
> 

My x130e has no problems booting -current miniroot62.fs from USB.
Video works fine ("ATI Radeon HD 6310"). dmesg below.

Did you boot from OpenBSd powered-off state or soft reboot after running
Windows? It's possible that Windows leaves devices in a state where
OpenBSD cannot use them.

BTW this machine used to be an E-450 as well, however something broke
on the mainboard so the system would not see the battery anymore.
At the time I could only find an E-300 mainboard to replace it but it's
been working fine since.

OpenBSD 6.2-current (RAMDISK_CD) #11: Tue Feb 27 17:20:47 MST 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 3849388032 (3671MB)
avail mem = 3728969728 (3556MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf9d00 (58 entries)
bios0: vendor LENOVO version "8RET52WW (1.15 )" date 11/15/2011
bios0: LENOVO 305162G
acpi0 at bios0: rev 4
acpi0: tables DSDT FACP SLIC HPET APIC MCFG UEFI UEFI SSDT SSDT UEFI
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD E-300 APU with Radeon(tm) HD Graphics, 1297.51 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, IBE
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PB4_)
acpiprt2 at acpi0: bus 1 (PB5_)
acpiprt3 at acpi0: bus 2 (PB6_)
acpiprt4 at acpi0: bus 3 (PB7_)
acpiprt5 at acpi0: bus 4 (P2P_)
acpiprt6 at acpi0: bus -1 (SPB0)
acpiprt7 at acpi0: bus -1 (SPB1)
acpiprt8 at acpi0: bus -1 (SPB2)
acpiprt9 at acpi0: bus -1 (SPB3)
acpiec0 at acpi0
acpicpu at acpi0 not configured
acpitz at acpi0 not configured
"PNP0C0C" at acpi0 not configured
"PNP0C0E" at acpi0 not configured
"LEN0026" at acpi0 not configured
"LEN0068" at acpi0 not configured
"ACPI0003" at acpi0 not configured
"PNP0C0A" at acpi0 not configured
"PNP0C0D" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00
vga1 at pci0 dev 1 function 0 "ATI Radeon HD 6310" rev 0x00
wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation)
"ATI Radeon HD 6310 HD Audio" rev 0x00 at pci0 dev 1 function 1 not configured
ppb0 at pci0 dev 5 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
rtwn0 at pci1 dev 0 function 0 "Realtek 8188CE" rev 0x01: msi
rtwn0: MAC/BB RTL8188CE, RF 6052 1T1R, address 9c:b7:0d:e1:11:6d
ppb1 at pci0 dev 6 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
alc0 at pci2 dev 0 function 0 "Attansic Technology L1D" rev 0xc0: msi, address 
04:7d:7b:31:00:6e
atphy0 at alc0 phy 0: AR8035 10/100/1000 PHY, rev. 0
ppb2 at pci0 dev 7 function 0 "AMD AMD64 14h PCIE" 

Lenovo X130e blank video at boot.rd

2018-02-27 Thread j
I am replacing my ancient X60 with an X130e of lesser age.  This model 
is previously found as working on misc.


When trying to install 6.2 (release) over Windows 10 there is no video 
to see.


By booting miniroot62.fs from USB the kernel loads, but the "OpenBSD 6.2 
" and subsequent boot messages do not appear.  The video is blank 
(apparently backlit but no text is present.)  The biosboot loader 
messages prior to that do appear for a few seconds.  The USB stick 
activity light does blink as if things are happening normally.


Same result for 6.1 and 5.9.

The three video options: Native video, VGA and HDMI video outputs show 
the same biosboot lines and then the screen blanks.  A couple of 
different monitors on the VGA output show "unsupported format" or 
somesuch suggesting the video signal is not a standard format.


There is no serial port on this hardware.  The BIOS is updated to the 
latest.  I'm going to try to obtain a dmesg with blindly typing against 
the install script (blessed OpenBSD with a simple install CLI!)


I'm wondering if there is something to be enabled/disabled in 
boot_config that would help.  I don't quite understand why video would 
blank out once the kernel gets control 
(src/sys/arch/amd64/amd64/consinit.c and machdep.c) since nothing looks 
like it is touching video configuration.  This seems to be way before 
any video driver gets control.


The Windows 10 "about" page says this is AMD E-450 APU with Radeon HD 
Graphics.  The Hardware page says "AMD Radeon HD 6320 Graphics".


Does anyone have further advice?

thanks

John