Bug#905827: Buster on Dell XPS 15 9570

2018-08-10 Thread Ben Hutchings
On Fri, 2018-08-10 at 12:21 +0200, Geert Stappers wrote:
[...]
> Changed boot mode to
>   1) Legacy External Device Boot Mode, Secure Boot OFF
[...]

This sounds like BIOS emulation, which is not really recommended on
current UEFI systems.

Ben.

-- 
Ben Hutchings
Time is nature's way of making sure that
everything doesn't happen at once.



signature.asc
Description: This is a digitally signed message part


Bug#905827: Buster on Dell XPS 15 9570, thunderbolt

2018-08-10 Thread Geert Stappers
On Fri, Aug 10, 2018 at 12:21:03PM +0200, Geert Stappers wrote:
> Package: installation-report
> 
> Summary: Customer did what hardware vendor should have done
> 
> The original plan was to order a XPS 15 pre-install with Linux.
> 
.. 
> 
> The Dell XPS 15 9570 now runs Debian Buster. What works:
> * the nice graphical screen
> * keyboard
> * touchpad
> * the NVMe  sdd
> * WIFI
> * and probably more  (untested yet)
> 

Thunderbolt docking station does work, initialy only in display port mode


To use wired ethernet interface and USB from the TB dock

Install the package `bolt`, plus this

root@trancilo:~# boltctl
 ● Dell Thunderbolt Cable
   ├─ type:  peripheral
   ├─ name:  Thunderbolt Cable
   ├─ vendor:Dell
   ├─ uuid:  00ed4274-2f5f-d400--
   ├─ status:connected
   │  ├─ authflags:  none
   │  └─ connected:  vr 10 aug 2018 16:43:13 UTC
   └─ stored:no

 ● Dell Thunderbolt Dock
   ├─ type:  peripheral
   ├─ name:  Thunderbolt Dock
   ├─ vendor:Dell
   ├─ uuid:  10b56968-2f5f-8680--
   ├─ status:connected
   │  ├─ authflags:  none
   │  └─ connected:  vr 10 aug 2018 16:43:14 UTC
   └─ stored:no

root@trancilo:~# boltctl enroll 00ed4274-2f5f-d400--
 ● Dell Thunderbolt Cable
   ├─ type:  peripheral
   ├─ name:  Thunderbolt Cable
   ├─ vendor:Dell
   ├─ uuid:  00ed4274-2f5f-d400--
   ├─ dbus path: 
/org/freedesktop/bolt/devices/00ed4274_2f5f_d400__
   ├─ status:authorized
   │  ├─ authflags:  none
   │  ├─ parent: c401-0080-7f18-2350-5310cc402021
   │  ├─ syspath:
/sys/devices/pci:00/:00:1b.0/:02:00.0/:03:00.0/:04:00.0/domain0/0-0/0-1
   │  ├─ authorized: vr 10 aug 2018 17:07:44 UTC
   │  └─ connected:  vr 10 aug 2018 16:43:13 UTC
   └─ stored:yes
  ├─ when:   vr 10 aug 2018 17:07:44 UTC
  ├─ policy: auto
  └─ key:no

root@trancilo:~# 
root@trancilo:~# boltctl enroll 10b56968-2f5f-8680--
 ● Dell Thunderbolt Dock
   ├─ type:  peripheral
   ├─ name:  Thunderbolt Dock
   ├─ vendor:Dell
   ├─ uuid:  10b56968-2f5f-8680--
   ├─ dbus path: 
/org/freedesktop/bolt/devices/10b56968_2f5f_8680__
   ├─ status:authorized
   │  ├─ authflags:  none
   │  ├─ parent: 00ed4274-2f5f-d400--
   │  ├─ syspath:
/sys/devices/pci:00/:00:1b.0/:02:00.0/:03:00.0/:04:00.0/domain0/0-0/0-1/0-301
   │  ├─ authorized: vr 10 aug 2018 17:09:51 UTC
   │  └─ connected:  vr 10 aug 2018 16:43:14 UTC
   └─ stored:yes
  ├─ when:   vr 10 aug 2018 17:09:51 UTC
  ├─ policy: auto
  └─ key:no

root@trancilo:~# 



Cheers
Geert Stappers
DevOps Engineer



Bug#905827: Buster on Dell XPS 15 9570

2018-08-10 Thread Geert Stappers
Package: installation-report

Summary: Customer did what hardware vendor should have done

Hi,

The original plan was to order a XPS 15 pre-install with Linux.

Website of Dell has / had it too well hidden,
so we ordered a XPS 15 9570 with MS Windows 10 and installed Linux.


Installed with version 2018-08-06
from 
http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-cd/
the non-free firmware is for the wireless network interface card.

The .iso was dd-ed to a usb memory stick.

Upon power-on pressed repeatly F12 to get One-Time Boot Menu

Changed boot mode to
  1) Legacy External Device Boot Mode, Secure Boot OFF

Two warning screens/menus followed. Using lot of yellow text
and even red text.
Confirmed both with "Yes, my hardware, my choice of software"

Booted from the usb memory stick ( not from the partition
within the usb memory stick )

Was greeted by the graphical toplevel menu. Did choose 'install'.
Not 'graphical install' to avoid possible issues. The 'graphic
install' might work, it wasn't tested by me.

There was a warning about missing firmware, it could be ignored due
the use of the nonfree included CD image. ( With using the regular
image (also from weekly build 2018-08-06) there was the same warning
with more missing drivers missed, but ignoring that warning did get me
a working WIFI connection. )

The install went fine. Packages being downloaded. The nvme disk being
detected, partitioned, written.

The first reboots weren't succesfull, additional tweaking was needed.

Oh, by the way the firmware has a time sucking (customer insulting) way
of reporting "no boot device was found". It enters selftest mode and
after the plus five minutes test it eventually tells "no boot device".
Aborting the selftest results into a shutdown.
  @Dell: Please report "no boot device" without going through selftest


There was no boot device defined. Defined it manually in "BIOS".
Bootsequence, EFI, ... serveral menus ...  grubx64.efi

Then it did boot into a black screen. Used usb memory stick again
for booting into rescue mode. `dmesg` reported
[0.799..] ahci :00:17.0: Found 1 remapped NVMe devices.
[0.799..] ahci :00:17.0: Switch your BIOS from RAID to AHCI mode to use 
them.
Done under F12 -> OTHER OPTIONS -> BIOS SETUP -> System Configuration -> SATA 
Operation


The Dell XPS 15 9570 now runs Debian Buster. What works:
* the nice graphical screen
* keyboard
* touchpad
* the NVMe  sdd
* WIFI
* and probably more  (untested yet)


Cheers
Geert Stappers
DevOps engineer