Re: [qubes-users] HCL - Lenovo Thinkpad P52

2020-11-18 Thread Zrubi
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:b49640003e78 EFLAGS: 00010286
> [   15.150695] RAX:  RBX:  RCX: 
> 
> [   15.150747] RDX: 0001 RSI: 00f6 RDI: 
> 0300
> [   15.150799] RBP: 9ccc100d03dc R08: b49640005000 R09: 
> 01ee
> [   15.150851] R10: b49640003f08 R11: 9ccc15c6af80 R12: 
> 9ccc132f3280
> [   15.150903] R13: 9ccc100d R14: 9ccc100d0480 R15: 
> 0001
> [   15.150957] FS:  () GS:9ccc1700() 
> knlGS:
> [   15.151012] CS:  0010 DS:  ES:  CR0: 80050033
> [   15.151061] CR2: 7b0a14090064 CR3: 07e04001 CR4: 
> 001606f0
> [   15.151117] DR0:  DR1:  DR2: 
> 
> [   15.151170] DR3:  DR6: fffe0ff0 DR7: 
> 0400
> [   15.151222] Call Trace:
> [   15.151258]  
> [   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]  
> [   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  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:82603dc0 EFLAGS: 0246
> [   15.152009] RAX: 4000 RBX: 9ccc154de800 RCX: 
> 0034
> [   15.152061] RDX: 4ec4ec4ec4ec4ec5 RSI: 8277c660 RDI: 
> 9ccc154de864
> [   15.152114] RBP: 9ccc154de864 R08: 2d3d6f42 R09: 
> 
> [   15.152166] R10: 0018 R11:  R12: 
> 0001
> [   15.152219] R13: 0001 R14: 0001 R15: 
> 82614840
> [   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 :00:06.0 ens6: Reset adapter unexpectedly
> [   18.906826] e1000e :00:06.0 ens6: NIC Link is Up 1000 Mbps Full 
> Duplex, Flow Control: Rx/Tx
> [   21.104136] e1000e :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   
> [   21.104136]   next_to_watch<0>
> [   21.104136]   jiffies  
> [   21.104136]   next_to_watch.status <0>
> [   21.104136] MAC Status  

Re: [qubes-users] HCL - Lenovo Thinkpad P52

2019-01-23 Thread Aly Abdellatif
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*

On Wed, Jan 23, 2019 at 9:07 PM Achim Patzner  wrote:

> 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
>
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to qubes-users@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.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CANx%2BM243FcuyxFmcxsjqFK5gxOWA%2B_gvFHgBbjnmkE4AR4zpgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] HCL - Lenovo Thinkpad P52

2019-01-23 Thread Achim Patzner
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


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@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.


[qubes-users] HCL - Lenovo Thinkpad P52

2019-01-23 Thread Aly Abdellatif
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

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CANx%2BM24H1rMj6Xa0PDGYK9GJqaqYKk36Xe5OJFZQVRhFB%3DHUbw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Qubes-HCL-LENOVO-20M9CTO1WW-20190123-195941.yml
Description: application/yaml


Qubes-HCL-LENOVO-20M9CTO1WW-20190123-200338.cpio.gz
Description: application/gzip