Re: not seeing console logs using usb serial

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

 



On 5/2/19 8:41 AM, Shiv Dev wrote:
> Hi,
> 
> I am using a USB serial cable and want to see the kernel logs on the
> console, and towards that have the below line in /etc/default/grub
> 
> console=ttyUSB0,115200 console=tty0
> 
> Hardware: Intel compute stick
> OS      : ubuntu 18.04
> kernel : 4.18.0-18
> Driver  : pl2303
> 
> I do not see the kernel logs, and it drops to a dracut shell because
> the root is encrypted.

Sounds to me like the kernel isn't being booted so there are no logs
to see.  If the kernel was booted, it wouldn't then drop to a dracut shell.

> I am however able to write to the /dev/ttyUSB0 device, and am able to
> see the output in minicom at the other end, which means that the
> requisite driver is loaded in initramfs.
> dracut:/# echo 'hello' > /dev/ttyUSB0
> 
> Not sure what I am missing here. Please help.
> 
> Not sure if this is the correct mailing list. Would linux-console be a
> more appropriate list?
> 
> Regards,
> Shiv


-- 
~Randy



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux