help-grub
[Top][All Lists]
Advanced

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

Re: grub with serial line configuration using PCI serial adapter


From: Andrei Borzenkov
Subject: Re: grub with serial line configuration using PCI serial adapter
Date: Tue, 18 Oct 2016 06:47:08 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

17.10.2016 22:22, Songatov Rishat пишет:
> Hi thank you for helping me!
> 
> Unfortunately I haven't got serial access to the grub after adding this
> piece of configuration:
> 
> insmod pci
> insmod serial
> insmod terminal
> insmod terminfo
> 
> ###serial --speed=115200 --port=a880 --word=8 --parity=no --stop=1
> serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
> 
> terminal_input serial
> terminal_output serial
> 
> May be I need some sleep time after inserting pci.mod. How I can do this?
> 

You can pause with "sleep NN" but as I already wrote this is not likely
to work anyway - either GRUB needs code to initialize your PCI card or
BIOS should do it. Try BIOS settings, in the past it was common to have
something like "PnP OS" where "no" would cause BIOS to initialize all
available hardware and "yes" would leave it to operating system.

> -- 
> 
> Best regards
> 
> Rishat
> 
> 
> On 17.10.2016 20:34, Andrei Borzenkov wrote:
>> 17.10.2016 19:41, rishat пишет:
>>> On 2016-10-17 19:16, Andrei Borzenkov wrote:
>>>> 17.10.2016 16:16, rishat пишет:
>>>>> setserial -g /dev/ttyS[0-4]
>>>>> /dev/ttyS0, UART: 16550A, Port: 0xa880, IRQ: 21
>>>> ...
>>>>> When I tried to manually type a "serial --speed=115200 --unit=0
>>>>> --word=8
>>>>> --parity=no --stop=1" in the grub command line it complains that COM1
>>>>> port don't exist. I have played with unit and port attributes but
>>>>> without any luck.
>>>>>
>>>> Does "serial --port=a880 ..." work? If not, what exactly happens?
>>>>
>>>> Note that you may need to load at least PCI bus driver (insmod pci) for
>>>> this to work.
>>> I've tried to use it that way but it didn't find com port again.
>>> I'll try to do insmod pci and write to you tomorrow.
>>>
>> Yes, please let us know, but on firther consideration it probably won't
>> help either. Card likely needs to be initialized first, and this
>> requires driver that knows how to do it. serial driver in GRUB presumes
>> hardware is in working state already. Someone would need to implement it.
>>
>>> By the way is it possible to share documentation about some useful
>>> modules in the grub? I havn't found any information using google.
>>>
>>>> _______________________________________________
>>>> Help-grub mailing list
>>>> address@hidden
>>>> https://lists.gnu.org/mailman/listinfo/help-grub
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]