[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2020-09-28 Thread RussianNeuroMancer
Fixed since Linux 5.5rc3.

** Changed in: linux (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-19 Thread Adrian Hunter
As per comment 25, the issue seems to affect other Lenovo systems.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-17 Thread Kai-Heng Feng
I think matching exact "Lenovo ideapad S130-11IGM" can avoid regress
other Lenovo systems.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-17 Thread Adrian Hunter
I have submitted the patch for stable kernels:

https://patchwork.kernel.org/patch/11297115/

Assuming it is accepted, it will probably turn up in Ubuntu kernels
eventually.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-16 Thread Jim
Hi Adrian... that worked !! Is this just a temporary fix or something
that would be in future releases ? Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-16 Thread Adrian Hunter
That is a shame. Here is a new patch that disables command queuing which
should avoid the problem.  The old patch is then not needed.

** Patch added: 
"0001-mmc-sdhci-Workaround-broken-command-queuing-on-Intel.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+attachment/5312929/+files/0001-mmc-sdhci-Workaround-broken-command-queuing-on-Intel.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-13 Thread Jim
mmc0: cqhci: Task clr: 0x | SSC1: 0x00010004

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-13 Thread Adrian Hunter
I need to see if the value of the SSC1 register changed.  It is shown in
the CQHCI REGISTER DUMP looking like "mmc0: cqhci: Task clr:  0x
| SSC1: 0x00010008"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-13 Thread Jim
Hi Adrian, thanks for the pointers.
I ran the following (I already set grub to default to 4.15.0-20 unlessI select 
an alternate);

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git 
-b linux-5.4.y
cd linux/
wget 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+attachment/5311741/+files/0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch
git am 0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch
make localmodconfig
make -j`nproc` deb-pkg
dpkg -i *.deb
reboot

After booting to 5.4.3+ I see the same cqhci/sdhci register dump errors
(these look the same as
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/comments/14
). I also noticed just before the register dumps some TPM errors but
realised I still had TPM enabled in the bios so I've disabled this. Only
way I can think of to get these messages is build out 18.04 on a usb
drive. Then build the same patched kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-12 Thread Adrian Hunter
I would start with a working setup, presumably Ubuntu 18.04.  Then get
the latest stable kernel (note, it is possible -rc kernels are broken):

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-
stable.git -b linux-5.4.y

Patch it, build and install.

Amend /etc/defaults/grub to have:

GRUB_TIMEOUT_STYLE=menu 

  
GRUB_DISABLE_SUBMENU=y  

  
GRUB_TIMEOUT=10 

  
GRUB_CMDLINE_LINUX_DEFAULT=""

To have affect need to do:

sudo update-grub

Then you should at least be able to choose the kernel and see some
messages.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-12 Thread Jim
Hi Adrian, if booting from the kernel fails, it obviously hangs as there's no 
physical disk device to use. Is there a way to write or get the kernel messages 
to another device at this point? or is my only option to build on usb, then 
build a new patched kernel on the usb and boot from it ?
Sorry, pushing the limits of my ability.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-12 Thread Adrian Hunter
Err, here is the patch

** Patch added: 
"0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+attachment/5311922/+files/0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-12 Thread Adrian Hunter
Here is an updated patch without the dependency on #include


If it doesn't work, please provide kernel messages.

** Patch removed: 
"0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+attachment/5311741/+files/0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-11 Thread Jim
Tried 4.18-rc1. Couldn't compile...

drivers/mmc/host/sdhci-pci-core.c: In function ‘glk_cqe_enable’:
drivers/mmc/host/sdhci-pci-core.c:758:7: error: implicit declaration of 
function ‘FIELD_GET’; did you mean ‘FOLL_GET’? 
[-Werror=implicit-function-declaration]
   if (FIELD_GET(mask, val) != 4) {
   ^
   FOLL_GET
  AR  drivers/net/ethernet/cavium/liquidio/built-in.a
drivers/mmc/host/sdhci-pci-core.c:760:11: error: implicit declaration of 
function ‘FIELD_PREP’; did you mean ‘NEED_PAE’? 
[-Werror=implicit-function-declaration]
val |= FIELD_PREP(mask, 4);
   ^~
   NEED_PAE

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-11 Thread Jim
First test with 5.5-rc1 failed with the same issue using these steps

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux/
git tag
git checkout v5.5-rc1
wget 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+attachment/5311741/+files/0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch
git am 0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch
make localmodconfig
make -j`nproc` deb-pkg
dpkg -i *.deb
reboot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-11 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-11 Thread Kai-Heng Feng
$ git am 0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch
Then compile the kernel as usual.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-11 Thread Adrian Hunter
Actually it should apply cleanly to any kernel from 4.17 onward (4.16
would require a little backporting)

To apply the patch, in the linux git directory:

git am 0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-11 Thread Jim
Thanks Adrian, I'll test this as soon as I can.
Could you confirm the steps.. I assume I need to apply this to 4.16-rc1. I 
think it is ..

$ apt build-dep linux
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ wget 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+attachment/5311741/+files/0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch

---NOT SURE WHAT TO DO HERE

$ make localmodconfig
$ make -j`nproc` deb-pkg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-11 Thread Adrian Hunter
Is it possible to try this patch?

** Patch added: 
"0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+attachment/5311741/+files/0001-mmc-sdhci-pci-Fix-premature-clock-gating-of-CQHCI-on.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-10 Thread Adrian Hunter
I have some ideas that I am testing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-12-06 Thread Jim
Hi Adrian, is there anything else that would be useful to provide for
this bug ? Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-29 Thread Jim
** Attachment added: "binary acpidump. all in zip"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+attachment/5308679/+files/acpidump_binary.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-22 Thread Adrian Hunter
No, acpidump should not show any difference running from a newer kernel?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-22 Thread Jim
** Attachment added: "acpidump_4.15.0-20-generic"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+attachment/5307033/+files/acpidump_4.15.0-20-generic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-22 Thread Jim
Attached dump from 4.15.0-20. Would acpidump show any difference running
from a newer kernel ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-18 Thread Adrian Hunter
Can someone please provide an acpidump?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-13 Thread Kai-Heng Feng
Subscribed Adrian Hunter to this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-13 Thread Jim
Hi Kai-Heng... here is the bisect output.

root@ubuntu:~/mainline/tmp/linux# git bisect bad
8ee82bda230fc972c7ee3bb15ce1260eefb4721c is the first bad commit
commit 8ee82bda230fc972c7ee3bb15ce1260eefb4721c
Author: Adrian Hunter 
Date:   Wed Nov 29 15:41:06 2017 +0200

mmc: sdhci-pci: Add CQHCI support for Intel GLK

Add CQHCI initialization and implement CQHCI operations for Intel GLK.

Signed-off-by: Adrian Hunter 
Acked-by: Linus Walleij 
Signed-off-by: Ulf Hansson 
Tested-by: Linus Walleij 

:04 04 85619538d613d32b028b020fc35ff932fa1404e0
917c047cf1c9050362730e5aae7cee8d8179aaa3 M  drivers


** Attachment added: "incremental git bisect ouput"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+attachment/5305004/+files/latest

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-13 Thread Jim
Totally over my head :)

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.16-rc1=8ee82bda230fc972c7ee3bb15ce1260eefb4721c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-12 Thread Jim
Hi Kai-Heng.. Please ignore #29/#30/#31. For some reason launchpad took text 
from firefox on each reboot! I am working through each bisect testing the 
kernels. Each one takes about 1 hour to build. Also quite surprised to see how 
many changes were made to sdhci-acpi in this -rc.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?h=v4.16-rc1=grep=sdhci-acpi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-12 Thread Jim
Thanks Kai-Heng. I have identified the last working mainline is 4.15-rc9
and from 4.16-rc1 it fails. I will try and follow the bisect steps. I
assume the "git bisect good" command should be "git bisect good
4.15-rc9. Looking at the bisect visualise I can see 2/3 commits made for
emmc devices.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-12 Thread Jim
Thanks Kai-Heng. I have identified the last working mainline is 4.15-rc9
and from 4.16-rc1 it fails. I will try and follow the bisect steps.
After running "git bisect start", what should be the complete "git
bisect good" command based on the kernel versions I determined were
good/bad ??

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-12 Thread Jim
Hi, thanks for this update. So I know all the 4.15.0 kernels work with
this emmc hardware but the only others I have tried are part of 19.04
(so 4.18) onwards which fail. Does this mean I should start from
4.15-rc9 and then 4.18-rc1 until I find a broken kernel ? Then do the
bisect ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-11-11 Thread Kai-Heng Feng
Would it be possible for you to do a kernel bisection?

First, find the last good -rc kernel and the first bad -rc kernel from
http://kernel.ubuntu.com/~kernel-ppa/mainline/

Then,
$ sudo apt build-dep linux
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ git bisect start
$ git bisect good $(the good version you found)
$ git bisect bad $(the bad version found)
$ make localmodconfig
$ make -j`nproc` deb-pkg
Install the newly built kernel, then reboot with it.
If the issue still happens,
$ git bisect bad
Otherwise,
$ git bisect good
Repeat to "make -j`nproc` deb-pkg" until you find the commit that causes the 
regression.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-10-23 Thread Jim
Thanks Kai-Heng. Tested 5.4-rc4 but still the same issue. Cannot boot up
using this kernel. Also tried on a 14inch version of the same laptop
with the same error. There is some kind of timeout (shown in the dmesg
attached) but I don't understand what is causing it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-10-21 Thread Kai-Heng Feng
Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4-rc4/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-10-21 Thread Jim
Is this not the same issue as this affecting several Lenovo models ??
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930815
Something seems to be broken since 4.18 

** Bug watch added: Debian Bug tracker #930815
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930815

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-10-20 Thread Jim
run apport-collect after booting from lubuntu 19.04 CD1

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1848883] Re: (Lenovo S130-11IGM) emmc not working in 19.04

2019-10-20 Thread Jim
apport information

** Tags added: apport-collected

** Description changed:

  Hi,
  
  
  I don't think this is the same issue as ;
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1818407
  although I have read a lot of issues with emmc disks.
  
  Booting from lubuntu CD1 19.04 takes about an hour before I get to the
  desktop. The installer runs through to the partitioning sections and is
  able to see the disk, but it fails to create the partitions. The laptop
  has a 32gb emmc disk. There is some kind of timeout during boot on the
  dhpci probe. The only OS/kernel match I have got to work on this device
  is Lubuntu/18.04 4.15.0-20 (every single function works). After
  installing 18.04 there is an auto update to 4.15.0-65 but the touchpad
  stops working so I defaulted grub back to -20 (this failure is not
  caused by libinput or synaptics drivers). Neither kernels have a working
  wifi module but rtl8821ce install fixes this so not an issue for me.
  
- Attaching as many logs as I can grab.. please let me know and
- I'll happily get any other requested logging.
+ Attaching as many logs as I can grab.. please let me know and I'll 
happily get any other requested logging.
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.10-0ubuntu27
+ Architecture: amd64
+ AudioDevicesInUse:
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC0:  lubuntu1434 F pulseaudio
+ CasperVersion: 1.405
+ DistroRelease: Ubuntu 19.04
+ IwConfig:
+  enp0s21f0u1  no wireless extensions.
+  
+  lono wireless extensions.
+ LiveMediaBuild: Lubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
+ MachineType: LENOVO 81J1
+ Package: linux (not installed)
+ ProcEnviron:
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=C.UTF-8
+  SHELL=/bin/bash
+ ProcFB: 0 inteldrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz 
file=/cdrom/preseed/hostname.seed boot=casper quiet splash ---
+ ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
+ PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
+ RelatedPackageVersions:
+  linux-restricted-modules-5.0.0-13-generic N/A
+  linux-backports-modules-5.0.0-13-generic  N/A
+  linux-firmware1.178
+ Tags:  disco
+ Uname: Linux 5.0.0-13-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups:
+  
+ _MarkForUpload: True
+ dmi.bios.date: 09/05/2019
+ dmi.bios.vendor: LENOVO
+ dmi.bios.version: 9HCN27WW
+ dmi.board.asset.tag: No Asset Tag
+ dmi.board.name: LNVNB161216
+ dmi.board.vendor: LENOVO
+ dmi.board.version: SDK0R32802WIN
+ dmi.chassis.asset.tag: No Asset Tag
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: LENOVO
+ dmi.chassis.version: Lenovo ideapad S130-11IGM
+ dmi.modalias: 
dmi:bvnLENOVO:bvr9HCN27WW:bd09/05/2019:svnLENOVO:pn81J1:pvrLenovoideapadS130-11IGM:rvnLENOVO:rnLNVNB161216:rvrSDK0R32802WIN:cvnLENOVO:ct10:cvrLenovoideapadS130-11IGM:
+ dmi.product.family: ideapad S130-11IGM
+ dmi.product.name: 81J1
+ dmi.product.sku: LENOVO_MT_81J1_BU_idea_FM_ideapad S130-11IGM
+ dmi.product.version: Lenovo ideapad S130-11IGM
+ dmi.sys.vendor: LENOVO

** Attachment added: "AlsaInfo.txt"
   
https://bugs.launchpad.net/bugs/1848883/+attachment/5298578/+files/AlsaInfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848883

Title:
  (Lenovo S130-11IGM) emmc not working in 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848883/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs