HCL - Lenovo Thinkpad P52

177 views
Skip to first unread message

Aly Abdellatif

unread,
Jan 23, 2019, 2:41:05 PM1/23/19
to qubes...@googlegroups.com
Hi everyone,


Current Condition: Everything works perfectly(kali-rolling,offline penstesting lab,audio,bluetooth,wifi,updates,whonix,etc...) in legacy mode with discrete graphics for installation(with rufus) and hybrid graphics after disabling nouveau :Only problem is the ethernet
Uefi works too but problems with wake and sleep after closing the lid(Nvidia problem): I also followed https://github.com/QubesOS/qubes-issues/issues/3411 and https://groups.google.com/forum/#!msg/qubes-users/TmGDlkluJgM/fn4wc2E5CQAJ with no success.

For more informations :

First trial:

SecureBoot : Disabled
Graphics:Discrete(Hybrid won't work in uefi)
Boot: Uefi only
uefi usb enabled

First of all , I followed every steps regarding the uefi Installation for newer thinkpads(fedora-live-cd). The installation would begin than I would be stuck in the "Installation source: Error setting up base repository"
With dd the installation would begin and i will be stucked in the middle with an  error : transaction couldn't load source or something like that.

Finally with rufus I could install Qubes correctly with two problems : first of all sys-net will not start unless I remove the Ethernet device from the settings. My Second problem was the suspend: If I close the lid , I have to hard shutdown the laptop and then reboot. This problem is related to nvidia and nouveau. Sadly, there wasn't any grub installed(grub and grub2 were empty folders) so I couldn't follow the steps regarding the nvidia troubleshooting to disable nouveau. I also didn't want to debug and try to install a grub .

Second Trial: Finally I reinstalled everything with :

SecureBoot : Disabled
Graphics:Discrete
Boot: legacy mode

Same problem with the ethernet.
In legacy mode the grub is installed and preconfigured.
This time I could follow the steps for the nvidia troubleshooting to disable nouveau:

In dom0
  • cd /etc/default/
    sudo nano grub
    
  • Edit GRUB_CMDLINE_LINUX, add the following to it at the end:

    nouveau.modeset=0 rd.driver.blacklist=nouveau video=vesa:off
    
  • sudo grub2-mkconfig -o /boot/grub2/grub.cfg
  • After that you reboot and you will be stucked in the loading screen . You have to change the graphics in the BIOS to Hybrid so that he can use your integrated graphics.
Now when you close the lid and then you open it you have the XscreenSaver which is what we wanted :) !!!.

I will try now to fix the ethernet and the nvidia drivers . I will keep you updated .



My Laptop Specifications:

Lenovo Thinkpad P52
BiOS 1.18(latest)
Intel Xeon E-176M
64GB RAM(16 X 4) NO ECC
1TB SSD nvme Samsung (QUBES OS)
1TB SATA which I use for backup(qvm-block , mount).
Nividia Quadro p2000






Best Regards

Aly Abdellatif


Qubes-HCL-LENOVO-20M9CTO1WW-20190123-195941.yml
Qubes-HCL-LENOVO-20M9CTO1WW-20190123-200338.cpio.gz

Aly Abdellatif

unread,
Jan 23, 2019, 2:55:52 PM1/23/19
to qubes...@googlegroups.com
I sent the downloaded .yml file, This is the one I updated it .
Qubes-HCL-LENOVO-20M9CTO1WW-20190123-200338.yml

Achim Patzner

unread,
Jan 23, 2019, 3:07:21 PM1/23/19
to qubes...@googlegroups.com
On 20190123 at 20:40 +0100 Aly Abdellatif wrote:

> Current Condition: Everything works perfectly(kali-rolling,offline
> penstesting lab,audio,bluetooth,wifi,updates,whonix,etc...) in legacy
> mode with discrete graphics for installation(with rufus) and hybrid
> graphics after disabling nouveau

Check if all CPU cores are running...

> Only problem is the ethernet

That's not a problem with "permissive=true" and "no-strict-rest=true".

> Uefi works too but problems with wake and sleep after closing the
> lid(Nvidia problem)

Actually using Fn+Backspace, too.

> Graphics:Discrete(Hybrid won't work in uefi)

Works for me since firmware 1.06

> Sadly, there wasn't
> any grub installed(grub and grub2 were empty folders) so I couldn't
> follow the steps regarding the nvidia troubleshooting to disable

You can do that in xen.cfg.

> I will try now to fix the ethernet and the nvidia drivers . I will
> keep you updated.

To get nouveau working you have to create an xorg.conf. By hand, of
course, to make it more fun.


Achim


Aly Abdellatif

unread,
Jan 23, 2019, 3:55:01 PM1/23/19
to Achim Patzner, qubes...@googlegroups.com
Thanks for your reply,

The 6 cores are working .

Even with fn+space it wasn't working with me in uefi .

I guess I will just keep it in legacy mode.

Thanks for the ethernet tip.

To get nouveau working you have to create an xorg.conf. By hand, of
course, to make it more fun.

I'm not familiar with it . I will give it a try !

Thanks

--
You received this message because you are subscribed to the Google Groups "qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users...@googlegroups.com.
To post to this group, send email to qubes...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/386c545b05adbf2afe12afc6843f0abc4ab5f823.camel%40noses.com.
For more options, visit https://groups.google.com/d/optout.

Zrubi

unread,
Nov 18, 2020, 12:38:07 PM11/18/20
to Achim Patzner, qubes...@googlegroups.com
On 1/23/19 8:07 PM, Achim Patzner wrote:

>> Only problem is the ethernet
>
> That's not a problem with "permissive=true" and "no-strict-rest=true".

I'm fighting with this laptop, but no luck using the Ethernet interface :(

Tried all mentioned qvm-pci options, but the result is always the same:

> [ 15.149961] ------------[ cut here ]------------
> [ 15.150028] NETDEV WATCHDOG: ens6 (e1000e): transmit queue 0 timed out
> [ 15.150093] WARNING: CPU: 0 PID: 0 at /home/user/rpmbuild/BUILD/kernel-latest-5.8.16/linux-5.8.16/net/sched/sch_generic.c:443 dev_watchdog+0x259/0x260
> [ 15.150166] Modules linked in: xt_nat nft_ct nf_tables nfnetlink rfkill xt_REDIRECT ip6table_filter ip6_tables ipt_REJECT nf_reject_ipv4 xt_conntrack iptable_filter xt_MASQUERADE iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 joydev intel_rapl_msr drm_vram_helper drm_ttm_helper intel_rapl_common ttm crct10dif_pclmul crc32_pclmul crc32c_intel drm_kms_helper ghash_clmulni_intel rapl cec snd_pcm snd_timer ehci_pci snd e1000e soundcore pcspkr drm ehci_hcd serio_raw ata_generic i2c_piix4 pata_acpi floppy xenfs xen_netback u2mfn(O) xen_privcmd xen_gntdev xen_gntalloc xen_blkback xen_evtchn ip_tables overlay xen_blkfront
> [ 15.150409] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G O 5.8.16-1.qubes.x86_64 #1
> [ 15.150466] Hardware name: Xen HVM domU, BIOS 4.8.5-25.fc25 10/20/2020
> [ 15.150516] RIP: 0010:dev_watchdog+0x259/0x260
> [ 15.150560] Code: 48 85 c0 75 e4 eb 9b 4c 89 ef c6 05 f4 b2 de 00 01 e8 1b bf fa ff 89 d9 48 89 c2 4c 89 ee 48 c7 c7 50 24 46 82 e8 47 e1 6a ff <0f> 0b e9 7a ff ff ff 0f 1f 44 00 00 41 57 41 56 49 89 d6 41 55 41
> [ 15.150652] RSP: 0018:ffffb49640003e78 EFLAGS: 00010286
> [ 15.150695] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
> [ 15.150747] RDX: 0000000000000001 RSI: 00000000000000f6 RDI: 0000000000000300
> [ 15.150799] RBP: ffff9ccc100d03dc R08: ffffb49640005000 R09: 00000000000001ee
> [ 15.150851] R10: ffffb49640003f08 R11: ffff9ccc15c6af80 R12: ffff9ccc132f3280
> [ 15.150903] R13: ffff9ccc100d0000 R14: ffff9ccc100d0480 R15: 0000000000000001
> [ 15.150957] FS: 0000000000000000(0000) GS:ffff9ccc17000000(0000) knlGS:0000000000000000
> [ 15.151012] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 15.151061] CR2: 00007b0a14090064 CR3: 0000000007e04001 CR4: 00000000001606f0
> [ 15.151117] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [ 15.151170] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> [ 15.151222] Call Trace:
> [ 15.151258] <IRQ>
> [ 15.151296] ? pfifo_fast_reset+0x110/0x110
> [ 15.151338] call_timer_fn+0x2d/0x130
> [ 15.151498] run_timer_softirq+0x37b/0x930
> [ 15.151542] __do_softirq+0x11a/0x2d9
> [ 15.151583] asm_call_irq_on_stack+0x12/0x20
> [ 15.151626] </IRQ>
> [ 15.151662] do_softirq_own_stack+0x37/0x40
> [ 15.151702] irq_exit_rcu+0xd1/0xe0
> [ 15.151742] sysvec_xen_hvm_callback+0x34/0x80
> [ 15.151787] asm_sysvec_xen_hvm_callback+0x12/0x20
> [ 15.151831] RIP: 0010:native_safe_halt+0xe/0x10
> [ 15.151875] Code: ff eb bc cc cc cc cc cc cc cc cc cc e9 07 00 00 00 0f 00 2d 96 25 46 00 f4 c3 66 90 e9 07 00 00 00 0f 00 2d 86 25 46 00 fb f4 <c3> cc 0f 1f 44 00 00 41 55 41 54 55 53 e8 30 0e 5c ff 65 8b 2d e9
> [ 15.151966] RSP: 0018:ffffffff82603dc0 EFLAGS: 00000246
> [ 15.152009] RAX: 0000000000004000 RBX: ffff9ccc154de800 RCX: 0000000000000034
> [ 15.152061] RDX: 4ec4ec4ec4ec4ec5 RSI: ffffffff8277c660 RDI: ffff9ccc154de864
> [ 15.152114] RBP: ffff9ccc154de864 R08: 000000002d3d6f42 R09: 0000000000000000
> [ 15.152166] R10: 0000000000000018 R11: 00000000ffffffff R12: 0000000000000001
> [ 15.152219] R13: 0000000000000001 R14: 0000000000000001 R15: ffffffff82614840
> [ 15.152273] acpi_safe_halt+0x1c/0x30
> [ 15.152313] acpi_idle_enter+0xe6/0x280
> [ 15.152353] cpuidle_enter_state+0x81/0x430
> [ 15.152393] cpuidle_enter+0x29/0x40
> [ 15.152433] do_idle+0x231/0x2f0
> [ 15.152473] cpu_startup_entry+0x19/0x20
> [ 15.152516] start_kernel+0xa64/0xaa8
> [ 15.152558] secondary_startup_64+0xb6/0xc0
> [ 15.152598] ---[ end trace 0e449a39d5e1e47c ]---

I also having these errors:

> [ 15.154783] e1000e 0000:00:06.0 ens6: Reset adapter unexpectedly
> [ 18.906826] e1000e 0000:00:06.0 ens6: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
> [ 21.104136] e1000e 0000:00:06.0 ens6: Detected Hardware Unit Hang:
> [ 21.104136] TDH <0>
> [ 21.104136] TDT <1>
> [ 21.104136] next_to_use <1>
> [ 21.104136] next_to_clean <0>
> [ 21.104136] buffer_info[next_to_clean]:
> [ 21.104136] time_stamp <fffbb4b0>
> [ 21.104136] next_to_watch <0>
> [ 21.104136] jiffies <fffbbd42>
> [ 21.104136] next_to_watch.status <0>
> [ 21.104136] MAC Status <80083>
> [ 21.104136] PHY Status <796d>
> [ 21.104136] PHY 1000BASE-T Status <3800>
> [ 21.104136] PHY Extended Status <3000>
> [ 21.104136] PCI Status <10>


tried with kernel latest, and kernel 4.19

Can you give me some details how are you menaged to use it?


Given the fact that
- the external monitor not working,
- the CPU is mostly around 90C, then the fan is always sounds like jet.

a I'm tending to throw away this crap pretty soon. :((


--
Zrubi
OpenPGP_0x617D70488F0E7BC6.asc
OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages