Re: Lenovo A740 gave up waiting for root device with kernels >= 4.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tejun Heo <tj@xxxxxxxxxx> čálii:

> On Mon, Jun 06, 2016 at 04:03:57PM +0200, Kevin Brubeck Unhammer wrote:
>> dmesg from 4.2 is attached; from 4.6 I'm not sure how to get it …
>> 
>> perhaps I could mount a USB-stick through a
>> /etc/initramfs-tools/scripts/init-premount/ script, I'll try this later
>> (I'm travelling this week, so might be a bit delayed).
>
> You can also use serial or netconsole.
>
> Thanks.

I'm still working on getting the full dmesg text :-/

There's no /dev/sd[abcd] when I have a USB-stick in there, so I don't
know how I would mount that (and from 4.7 initramfs script a
"dmesg|grep /dev/sd[abcd]" gives nothing).


I got netconsole working from the booted 4.2, but when I try from the
4.7 initramfs script it can't find eth0 even though I have r8169 in modules.

It seems r8169 is the right driver since 4.2 shows 

$ grep DRIVER /sys/class/net/*/device/uevent
/sys/class/net/eth0/device/uevent:DRIVER=r8169
/sys/class/net/wlan0/device/uevent:DRIVER=rtl8723au


I tried

/etc/initramfs-tools/modules:
r8169
ahci
libahci
uhci_hcd
ehci_hcd
usb_storage
configfs
netconsole

/etc/initramfs-tools/scripts/init-premount/kbu-blkid:
echo 'cat /proc/scsi/scsi # gives:'
      cat /proc/scsi/scsi
echo 'dmesg | grep -i libata # gives:'
      dmesg | grep -i libata
echo 'grep -i ahci /proc/modules # gives:'
      grep -i ahci /proc/modules 
echo 'modprobe ahci # gives:'
      modprobe ahci
echo 'grep -i ahci /proc/modules # gives:'
      grep -i ahci /proc/modules 
dmesg |grep -i eth
mount none -t configfs /sys/kernel/config
mkdir /sys/kernel/config/netconsole/target1
cd /sys/kernel/config/netconsole/target1
echo 0 >enabled
echo 192.168.1.117 > local_ip
echo 192.168.1.2 >remote_ip
echo eth0 >dev_name
echo 68:05:CA:29:E4:7F >remote_mac
echo 6666 > remote_port
echo 1 >enabled
echo kbu-testing >/dev/kmsg
echo 'dmesg | tail'
      dmesg | tail
echo "/KBU"

and got

http://bildr.no/image/dXFjbkEw.jpeg
http://bildr.no/image/MUpqLzZx.jpeg


I guess I'll have to start shopping for (two) USB-to-serial cables.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux