HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - ILO2 virtual serial port
 
Operating System - Linux
        1840181
        Members
    
    
        2845
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-24-2009 06:45 AM
03-24-2009 06:45 AM
			
				
					
					
						Hi all,
I tried the following to enable the Virtual Serial Port on ILO2 on a Rx2620 running Redhat AS 4.4
1) add line append="console=ttyS0 rhgb quiet root=LABEL=/" to elilo.conf
2) add line s0:2345:respawn:/sbin/agetty 115200 ttyS0 vt100 to /etc/inittab
3) add ttyS0 to /etc/securetty
4) reboot server
But we get no login or console output on the Virtual Serial Port 'Live Console' except message
'....Loading initrd initrd-2.6.9-42.EL.img...done'
Is there anything else which needs to be done?
Thanks,
Martijn.
					
				
			
			
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
I tried the following to enable the Virtual Serial Port on ILO2 on a Rx2620 running Redhat AS 4.4
1) add line append="console=ttyS0 rhgb quiet root=LABEL=/" to elilo.conf
2) add line s0:2345:respawn:/sbin/agetty 115200 ttyS0 vt100 to /etc/inittab
3) add ttyS0 to /etc/securetty
4) reboot server
But we get no login or console output on the Virtual Serial Port 'Live Console' except message
'....Loading initrd initrd-2.6.9-42.EL.img...done'
Is there anything else which needs to be done?
Thanks,
Martijn.
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-24-2009 07:30 AM
03-24-2009 07:30 AM
			
				
					
						
							Re: ILO2 virtual serial port
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
Do you have read the howto for vsp
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00263709/c00263709.pdf
comment the splashimage
Hope it helps
		
		
	
	
	
Do you have read the howto for vsp
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00263709/c00263709.pdf
comment the splashimage
Hope it helps
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-27-2009 12:29 AM
03-27-2009 12:29 AM
Solution
			
				
					
					
						The procedure you're following is apparently the one intended for Proliant servers, and may require some modifications for Itanium hardware.
The bootloader's last message is visible, so the EFI has apparently been configured to use the correct serial device.
After that point, any messages are produced by the kernel, which may or may not identify the Virtual Serial Port as ttyS0.
When using a serial console, you could remove the "rhgb" option because it is meaningless on a serial console.
Linux is supposed to be able to get the choice of the console device from EFI automatically, so adding the "console=ttyS0" option might just be confusing things.
Start by identifying the serial devices detected in your system:
setserial -g /dev/tty*
(this may produce quite a lot of "Cannot get serial info: Invalid argument" error messages, but it will also list all the serial port devices.)
You could then create agetty lines for all detected serial ports in your inittab, i.e.:
s1:2345:respawn:/sbin/agetty 115200 ttyS1 vt100
s2:2345:respawn:/sbin/agetty 115200 ttyS2 vt100
etc...
After editing /etc/inittab, run "telinit q" to make the changes take effect immediately.
Now try accessing the Virtual Serial Port again. You may need to press Enter a few times after connecting to see the login prompt. Login as a regular user (not as root) and use the command "tty". It will report which of the tty devices is being used by your session.
Now you know the correct ttyS* name, so edit the lines in elilo.conf and /etc/securetty to match that.
MK
		
		
	
	
	
The bootloader's last message is visible, so the EFI has apparently been configured to use the correct serial device.
After that point, any messages are produced by the kernel, which may or may not identify the Virtual Serial Port as ttyS0.
When using a serial console, you could remove the "rhgb" option because it is meaningless on a serial console.
Linux is supposed to be able to get the choice of the console device from EFI automatically, so adding the "console=ttyS0" option might just be confusing things.
Start by identifying the serial devices detected in your system:
setserial -g /dev/tty*
(this may produce quite a lot of "Cannot get serial info: Invalid argument" error messages, but it will also list all the serial port devices.)
You could then create agetty lines for all detected serial ports in your inittab, i.e.:
s1:2345:respawn:/sbin/agetty 115200 ttyS1 vt100
s2:2345:respawn:/sbin/agetty 115200 ttyS2 vt100
etc...
After editing /etc/inittab, run "telinit q" to make the changes take effect immediately.
Now try accessing the Virtual Serial Port again. You may need to press Enter a few times after connecting to see the login prompt. Login as a regular user (not as root) and use the command "tty". It will report which of the tty devices is being used by your session.
Now you know the correct ttyS* name, so edit the lines in elilo.conf and /etc/securetty to match that.
MK
	MK
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-27-2009 02:43 AM
03-27-2009 02:43 AM
			
				
					
						
							Re: ILO2 virtual serial port
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Matti, thanks a lot!
Works like a charm now (turned out it was ttyS3)
		
		
	
	
	
Works like a charm now (turned out it was ttyS3)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP