bugGNU GRUB - Bugs: bug #30507, way to read out configured serial...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30507: way to read out configured serial parameters

Submitted by:  Mario 'BitKoenig' Holbe <holbe>
Submitted on:  Wed 21 Jul 2010 12:13:21 PM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Feature Request
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenRelease: 
Release: otherReproducibility: None
Planned Release: 2.03+

Wed 28 Jul 2010 09:59:06 PM UTC, comment #2:

> This is a good idea but I have to think how to implement it.


Hmmm, grub has no piping and no while read... has it? :)
What about serial --id <id> --eport and only export the config of one of the lines at a time to a predefined set of variables?

> The problem is that several simultaneous terminals may be active and in "usb" branch even multiple serial ones


Ha! Multiple simultaneous serial terminals - great! I have a terminal-server for remote-management and a local VT320 terminal here, hurry up ;)

Mario 'BitKoenig' Holbe <holbe>
Wed 28 Jul 2010 02:18:02 PM UTC, comment #1:

This is a good idea but I have to think how to implement it. The problem is that several simultaneous terminals may be active and in "usb" branch even multiple serial ones (e.g. one for management card and another for braille display)

Vladimir Serbinenko <phcoder>
Project Administrator
Wed 21 Jul 2010 12:13:21 PM UTC, original submission:

It would be great for grub.cfg scripting if there were a way to read-back once configured parameters from the serial command.

For example:
If there was a way to read out configured serial parameters, it would be possible to generatate console= configuration items for linux and/or memtest86+ based on grubs serial configuration.

I'm sure there are other examples for other commands where a similar functionality would also be great (like terminals configuration, like RAID configuraion, ...).

Of course, in this special case it would be possible to store the parameters for the serial command in separate variables, configure serial with them, and re-use the variables later for other configuration items. I'm not sure whether or not this is the "grub way to do it". It would just be easier to be able to read the configuration back from the serial command than trying to keep variables and the real configuration in sync.

Mario 'BitKoenig' Holbe <holbe>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by holbe (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Mar 2016 10:37:29 AM UTCphcoderPlanned ReleaseNone=>2.03+

    Back to the top


    Powered by Savane 3.1-cleanup1