bugGNU GRUB - Bugs: bug #32115, No input in serial console

 
 

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

bug #32115: No input in serial console

Submitted by:  darkbasic <darkbasic>
Submitted on:  Wed 12 Jan 2011 08:43:48 PM UTC  
 
Category: NoneSeverity: Major
Priority: 5 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 1.98Reproducibility: None
Planned Release: None

(Jump to the original submission Jump to the original submission)

Fri 14 Jan 2011 11:52:21 AM UTC, comment #6:

I made a crossover cable and now it works flawlessly. Thank you!

P.S.
I'm sorry but I don't know how to close the bug.

darkbasic <darkbasic>
Thu 13 Jan 2011 06:04:22 PM UTC, comment #5:

You may need to use the crossover cable. It connects RX to TX, RTS to CTS, ... . Exact pinout is available on the internet

Vladimir Serbinenko <phcoder>
Project Administrator
Thu 13 Jan 2011 05:23:57 PM UTC, comment #4:

First of all thank you!
I did a loopback test (CC pin 2 and 3) and it didn't work, so I searched in my motherboard's manual and I found the pin legend: http://img43.imageshack.us/img43/1195/moboex.jpg

I checked with the tester and they were connected in the wrong way: http://img171.imageshack.us/img171/5692/wrongj.jpg

I made a custom header-to-db9 connector and I mapped the pins following the legend such a way: http://img831.imageshack.us/img831/5470/rightd.jpg

I double checked the mapping with the tester and I did the loopback test once more: now it works! I also connected it to my cisco switch serial port: I can see the switch output and I can control it with my keyboard!

So I rebooted once again to see if I can finally remote control grub: I can't even see grub's output now :(
Both grub and linux don't work :(
This is very strange because loopback test does work now and I can even control another device using my custom serial port...

Can you help me?

darkbasic <darkbasic>
Wed 12 Jan 2011 10:36:40 PM UTC, comment #3:

RS232 uses separate pins in different directions. It's possible one of them doesn't contact. I'd suggest standard serial diagnostic (2 minicoms one on another, loopback connector, ...)

Vladimir Serbinenko <phcoder>
Project Administrator
Wed 12 Jan 2011 10:29:18 PM UTC, comment #2:

As you can see it's already disabled.

darkbasic <darkbasic>
Wed 12 Jan 2011 10:14:32 PM UTC, comment #1:

It's very unlikely that both Linux and GRUB have the same bug. Try disabling flow control (both software and hardware one) in your terminal emulator

Vladimir Serbinenko <phcoder>
Project Administrator
Wed 12 Jan 2011 08:43:48 PM UTC, original submission:

Hi, I'm using an RS232 serial console with Squeeze (Debian unstable). Output works
fine (I can see the output since grub starts), but input doesn't (both
in grub and when it prompts for login).

Here is my /etc/default/grub:
[...]
GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty0 console=ttyS0,115200n8"
[...]
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8
--parity=no --stop=1"
[...]

and my /etc/inittab:
[...]
T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100

Here is how I configured minicom in the client:
| A - Serial Device : /dev/ttyS0
| B - Lockfile Location : /var/lock
| C - Callin Program :
| D - Callout Program :
| E - Bps/Par/Bits : 115200 8N1
| F - Hardware Flow Control : No
| G - Software Flow Control : No

Grub version: 1.98+20100804-13

Thank you,
Darkbasic

darkbasic <darkbasic>

 

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 darkbasic (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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Jan 2011 12:22:09 PM UTCphcoderOpen/ClosedOpen=>Closed
    Sat 22 Jan 2011 12:22:08 PM UTCphcoderStatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1