![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
|||||||||||||||||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 1646099.1 : Serial console on Oracle SunFire x86 servers
Serial console on Oracle SunFire x86 servers Solaris and Oracle Linux In this Document
Applies to:Sun Fire X4100 Server - Version Not Applicable to Not Applicable [Release NA]Sun Fire X4150 Server - Version All Versions to All Versions [Release All Releases] Sun Fire X4170 Server - Version All Versions to All Versions [Release All Releases] Sun Server X3-2 - Version All Versions to All Versions [Release All Releases] Sun Server X4-2 - Version All Versions to All Versions [Release All Releases] Oracle Solaris on x86-64 (64-bit) Linux x86 Linux x86-64 Oracle Solaris on x86 (32-bit) GoalTo discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - Sun x86 Systems
Configure serial console on Sunfire x86 machine with Oracle Linux 5.x and 6.x and Solaris 10u1 and later
Solution
ILOM Serial Port Configuration:https://docs.oracle.com/cd/E19245-01/821-0489-13/ilom30_supplement.html#50610189_89135
Start Console:From Ilom: -> start /SP/console From Elom: -> start /SP/AgentInfo/Console
BIOS (Default):https://docs.oracle.com/cd/E23393_01/html/E27229/z400012a1446073.html
Solaris 10u1 to Solaris 10u11 and Solaris 11:<Document: 1012953.1>, <Document: 1018638.1>, and <Document: 1533902.1> UFS: For Solaris with UFS root the menu.lst is located in /boot/grub ZFS: For Solaris with ZFS root the menu.lst is located in the /<root pool>/boot/grub/ (ZFS example: /rpool/boot/grub/menu.lst)
Edit/verify the grub configuration: menu.lst : # Uncomment 'serial --unit=0 --speed=9600' and 'terminal serial' serial --unit=0 --speed=9600 terminal serial
# comment out the "splashimage" line #splashimage /boot/grub/splash.xpm.gz ------------- From Solaris: list eeprom parameters # eeprom # eeprom console=ttya # eeprom ttya-mode=9600,8,n,1,- (Ref: /boot/solaris/bootenv.rc)
Solaris 11.1 (GRUB2):https://docs.oracle.com/cd/E26502_01/html/E28983/gkvhz.html#glzaj bootadm set-menu console=serial serial_params=port[,speed[,data bits[,parity[,stop bits]]]] # bootadm list-menu # bootadm set-menu console=serial
Linux GRUB:https://docs.oracle.com/cd/E20815_01/html/E20821/gjoxs.html Edit the /boot/grub/grub.conf (/boot/grub/menu.lst is a soft link to grub.conf). # Remove splashimage #splashimage=(hd0,0)/grub/splash.xpm.gz # Add serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1 -------> new line terminal --timeout=10 serial console -------> new line .. .. # add console=ttyS0,9600 kernel /vmlinuz-2.6.X.X ro root=/dev/XX/XX console=tty1 console=ttyS0,9600
Oracle Linux 5.x:Add ttyS0 to /etc/securetty: ttyS0
edit /etc/inittab #Serial Port s0:12345:respawn:/sbin/agetty -L 9600 ttyS0
Oracle Linux 6.x:Add ttyS0 to /etc/securetty: ttyS0 Additional note: How To Enable Serial Console Support In OVM Server and access it via Ethernet (Doc ID 1624136.1)
Linux grub2: Oracle Linux 7.x
GRUB_CMDLINE_LINUX='console=tty0 console=ttyS0,9600n8' GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND="serial --speed=9600 --unit=0 --word=8 --parity=no --stop=1" Re-generate GRUB configuration Take a copy of the current grub.cfg file Generate the new grub.cfg: # grub2-mkconfig -o /boot/grub2/grub.cfg PS: for EFI activated machines the path is /boot/efi/EFI/redhat/grub.cfg References<NOTE:1018638.1> - Installing Solaris[TM] with a Redirected Console on x86 Platforms<NOTE:1012953.1> - No tty console after installing Solaris[TM]10 x86 6/06 <NOTE:1533902.1> - How to Perform a GRUB, GRUB2, Automated Installer (AI), Jumpstart Installations with Serial Console Redirection for Solaris 11 and Solaris 11.1 x86 Systems <NOTE:1003963.1> - Sun Fire[TM] X4100/X4200: Starting /SP/console hangs on Linux <NOTE:1624136.1> - How To Enable Serial Console Support In OVM Server and access it via Ethernet Attachments This solution has no attachment |
|||||||||||||||||||||||||||||||||||
|