bugGNU GRUB - Bugs: bug #42026, error serial port `portf0e0' isn't...

 
 

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

bug #42026: error serial port `portf0e0' isn't found

Submitter:  Dave Chiluk <chiluk>
Submitted:  Wed 02 Apr 2014 05:25:29 AM UTC
   
 
Category:  Terminal Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  chiluk
Open/Closed:  Open Release:  2.02~beta1
Release:  Reproducibility:  Every Time
Planned Release:  2.03+

Jump to the original submission

Sat 18 Jul 2020 03:52:08 AM UTC, comment #9: 

This is still an issue with grub2-2.04.

I'm trying to use AMT SoL Serial and I only get data after kernel initializes the serial. I'm also booting using UEFI


Luiz Angelo Daros de Luca <luizluca>
Tue 19 Dec 2017 08:28:57 AM UTC, comment #8: 

I am hitting the same problem myself.

Commenting out SR checks results in a hang.

SR value before and after grub_outb calls is 0x00ff.

Andrzej Szeszo <aszeszo>
Mon 06 Mar 2017 07:36:06 PM UTC, comment #7: 

Can you try commenting out the SR check in term/ns8250.c around line 300?

Vladimir Serbinenko <phcoder>
Group administrator
Sun 17 Aug 2014 03:07:58 PM UTC, comment #6: 

I am having the same issue on Gentoo using GRUB 2.02~beta2.  SOL works just fine in Linux but GRUB refuses to use the port.  This is a fairly new machine with a new installation (2 months give or take) and it has never had an older GRUB version installed.


grub> serial --unit=5 --speed=115200
error: serial port `com5' isn't found.
grub> serial --port=0xf0e0 --speed=115200
error: serial port `portf0e0` isn't found.



# dmesg | grep ttyS5
[    1.624286] console [ttyS5] disabled
[    1.645086] 0000:00:16.3: ttyS5 at I/O 0xf0e0 (irq = 19, base_baud = 115200) is a 16550A
[    2.011451] console [ttyS5] enabled



# sha1sum /usr/portage/distfiles/grub-2.02\~beta2.tar.xz
1bf580f1e8bce4909a7ac7ca485cee02b00ed383  /usr/portage/distfiles/grub-2.02~beta2.tar.xz


I also double checked that the fix from 0eb8ffb1f579d4507d78a822c843e334417f9ba1 is indeed present in the source code.

David Holm <dholm>
Thu 03 Apr 2014 01:28:16 AM UTC, comment #5: 

Hmm well that commit is definitely in our sources.  I also checked with Colin Watson, and they are definitely built from the same sources.

Any other ideas?

Dave Chiluk <chiluk>
Wed 02 Apr 2014 09:08:09 PM UTC, comment #4: 

0eb8ffb1f579d4507d78a822c843e334417f9ba1 is the fix. I think that your GRUB EFI version isn't the same grub-pc version.

Vladimir Serbinenko <phcoder>
Group administrator
Wed 02 Apr 2014 08:01:47 PM UTC, comment #3: 

Can you please provide a commit id?  As I stated earlier the only difference between the grub2 grub-core/term/serial.c in ubuntu trusty and mainline is 9afe2053c9b which doesn't look like it fixes this issue.

again I'm running 2.2~beta2-8.

Dave Chiluk <chiluk>
Wed 02 Apr 2014 03:59:57 PM UTC, comment #2: 

This is already fixed bug in trunk. My guess is that you use too old version.

Vladimir Serbinenko <phcoder>
Group administrator
Wed 02 Apr 2014 06:27:28 AM UTC, comment #1: 

So I went ahead and installed grub in legacy, non-efi mode, and that works with the identical settings.

I really hope this isn't an efi limitation.  Please let me know if I can be of any assistance.

Dave Chiluk <chiluk>
Wed 02 Apr 2014 05:25:29 AM UTC, original submission:  

I was attempting to configure my AMT enabled intel nuc, and grub cannot find the Serial over lan port.

Using 2.02~beta2-8 as currently found in Ubuntu Trusty, grub2 fails to find Intel AMT serial console.

grub> serial --port=0xf0e0 --speed 115200
error: serial port `portf0e0' isn't found

I checked and 9afe2053c9b was the only difference in grub-core/term/serial.c compared to the version available for trusty.

It might matter, but this machine is booting via uefi.

Also this might also be useful information.
$ grep ttyS4 /var/log/kern.log
 Mar 31 21:53:37 nuc1 kernel: [    0.691087] 0000:00:16.3: ttyS4 at I/O 0xf0e0 (irq = 19, base_baud = 115200) is a 16550A

SOL works fine once I get passed grub.

Dave Chiluk <chiluk>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by luizluca (Posted a comment)
  • -email is unavailable- added by aszeszo (Posted a comment)
  • -email is unavailable- added by dholm (Posted a comment)
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by chiluk (Submitted the item)
  • -email is unavailable- added by chiluk
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-06 phcoder Planned Release2.02 2.03+
    2016-03-02 phcoder Planned ReleaseNone 2.02
    2014-04-02 chiluk Carbon-Copy- Added chiluk

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code