* Help in setting up serial console on 64 bit machine
@ 2004-03-08 21:04 Dachepalli, Sudhir
2004-03-08 21:28 ` David Mosberger
0 siblings, 1 reply; 9+ messages in thread
From: Dachepalli, Sudhir @ 2004-03-08 21:04 UTC (permalink / raw)
To: 'Linux-Kernel (E-mail)'
Hello SerialConsole user,
I have a problem while setting up serial console to direct kernel
printk
messages to serial console. I dont see messages getting displayed.
My setup
---------
1. IA 64 machine.
2. Redhat AS 3.0
3. Kernel 2.4.18-e.37smp
4. Server Hardware : HP rx5670
Serial Console setup
--------------------
1. I have connected serial cable between two linux terminals.
2. open minicom on both servers.
3. changed the settings to 9600-8-n-1, no h/w flow control, no s/w flow
control, stop bits =1.
4. I typed some charecters on server 1 and saw the charecters appear in
server 2's minicom.
5. I typed some charecters on server 2 and saw the charecters appear in
server 1's minicom.
6. I have changed the kernel command line for booting the kernel . PLEASE
SEE BELOW FOR "elilo.conf".
7. label=serial ( elilo entry to boot the serial console setup. )
8. I have also checked the options in "make menuconfig" and found everything
correct for serial console setup.
After selecting "label=serial" and botting the OS the following is the
command line from proc.
[root@beast root]# cat /proc/cmdline
BOOT_IMAGE=scsi0:EFI\redhat\vmlinuz-2.4.18-e.37smp root=LABEL=/
console=ttyS1,9600n8 console=tty0 ro
The kernel cmdline seems to be correct but the messages are not directed on
console.
I have setup serial consoles on 32 bit machines earlier, but not on 64 bit.
Please throw me some pointers to make it work.
regards,
sudhir dachepalli
[root@beast root]# uname -a
Linux beast 2.4.18-e.37smp #1 SMP Tue Aug 5 16:07:26 EDT 2003 ia64 unknown
[root@beast root]# cat /etc/*release*
Red Hat Linux Advanced Server release 2.1AS (Derry)
prompt
timeout=50
default=2.4.18-e.37smp
image=vmlinuz-2.4.18-e.37
label=2.4.18-e.37
initrd=initrd-2.4.18-e.37.img
read-only
append="root=LABEL=/"
image=vmlinuz-2.4.18-e.37
label=scsi-128
initrd=scsi-128.img
read-only
root=/dev/sda4
image=vmlinuz-2.4.18-e.37smp
label=2.4.18-e.37smp
initrd=initrd-2.4.18-e.37smp.img
read-only
append="root=LABEL=/"
image=vmlinuz-2.4.18-e.37smp
label=serial
initrd=initrd-2.4.18-e.37smp.img
read-only
append="root=LABEL=/ console=ttyS1,9600n8 console=tty0"
image=vmlinuz-2.4.18-e.37smp
label=lyq
initrd=lyq.img
read-only
append="root=LABEL=/"
image=vmlinuz-2.4.18-e.37smp
label=mpp
initrd=mpp.img
read-only
root=/dev/sda4
image=vmlinuz-2.4.18-e.12smp
label=linux
initrd=initrd-2.4.18-e.12smp.img
read-only
root=/dev/sda4
image=vmlinuz-2.4.18-e.12
label=linux-up
initrd=initrd-2.4.18-e.12.img
read-only
root=/dev/sda4
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Help in setting up serial console on 64 bit machine
2004-03-08 21:04 Help in setting up serial console on 64 bit machine Dachepalli, Sudhir
@ 2004-03-08 21:28 ` David Mosberger
0 siblings, 0 replies; 9+ messages in thread
From: David Mosberger @ 2004-03-08 21:28 UTC (permalink / raw)
To: Dachepalli, Sudhir; +Cc: 'Linux-Kernel (E-mail)', linux-ia64
Sudhir,
First a general comment: for ia64-specific questions, it's generally
better to ask on linux-ia64@vger.kernel.org.
As for your particular issue: the serial console normally is ttyS0,
not ttyS1, so that might be the reason you're not seeing any output.
Also, 9600 baud is rather slow. If the client-side can handle it,
115200 baud will be much nicer.
--david
>>>>> On Mon, 8 Mar 2004 15:04:04 -0600 , "Dachepalli, Sudhir" <sudhir.dachepalli@lsil.com> said:
Sudhir> Hello SerialConsole user,
Sudhir> I have a problem while setting up serial console to
Sudhir> direct kernel printk messages to serial console. I dont see
Sudhir> messages getting displayed.
Sudhir> My setup --------- 1. IA 64 machine. 2. Redhat AS 3.0
Sudhir> 3. Kernel 2.4.18-e.37smp 4. Server Hardware : HP rx5670
Sudhir> Serial Console setup -------------------- 1. I have
Sudhir> connected serial cable between two linux terminals. 2. open
Sudhir> minicom on both servers. 3. changed the settings to
Sudhir> 9600-8-n-1, no h/w flow control, no s/w flow control, stop
Sudhir> bits =1. 4. I typed some charecters on server 1 and saw the
Sudhir> charecters appear in server 2's minicom. 5. I typed some
Sudhir> charecters on server 2 and saw the charecters appear in
Sudhir> server 1's minicom. 6. I have changed the kernel command
Sudhir> line for booting the kernel . PLEASE SEE BELOW FOR
Sudhir> "elilo.conf". 7. label=serial ( elilo entry to boot the
Sudhir> serial console setup. ) 8. I have also checked the options
Sudhir> in "make menuconfig" and found everything correct for serial
Sudhir> console setup.
Sudhir> After selecting "label=serial" and botting the OS the
Sudhir> following is the command line from proc. [root@beast root]#
Sudhir> cat /proc/cmdline
Sudhir> BOOT_IMAGE=scsi0:EFI\redhat\vmlinuz-2.4.18-e.37smp
Sudhir> root=LABEL=/ console=ttyS1,9600n8 console=tty0 ro
Sudhir> The kernel cmdline seems to be correct but the messages are
Sudhir> not directed on console. I have setup serial consoles on 32
Sudhir> bit machines earlier, but not on 64 bit.
Sudhir> Please throw me some pointers to make it work.
Sudhir> regards, sudhir dachepalli
Sudhir> [root@beast root]# uname -a Linux beast 2.4.18-e.37smp #1
Sudhir> SMP Tue Aug 5 16:07:26 EDT 2003 ia64 unknown
Sudhir> [root@beast root]# cat /etc/*release* Red Hat Linux Advanced
Sudhir> Server release 2.1AS (Derry) prompt timeoutP
Sudhir> default=2.4.18-e.37smp
Sudhir> image=vmlinuz-2.4.18-e.37 label=2.4.18-e.37
Sudhir> initrd=initrd-2.4.18-e.37.img read-only
Sudhir> append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37 label=scsi-128 initrd=scsi-128.img
Sudhir> read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.37smp label=2.4.18-e.37smp
Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
Sudhir> append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=serial
Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
Sudhir> append="root=LABEL=/ console=ttyS1,9600n8 console=tty0"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=lyq initrd=lyq.img
Sudhir> read-only append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=mpp initrd=mpp.img
Sudhir> read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.12smp label=linux
Sudhir> initrd=initrd-2.4.18-e.12smp.img read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.12 label=linux-up
Sudhir> initrd=initrd-2.4.18-e.12.img read-only root=/dev/sda4
Sudhir> - To unsubscribe from this list: send the line "unsubscribe
Sudhir> linux-serial" in the body of a message to
Sudhir> majordomo@vger.kernel.org More majordomo info at
Sudhir> http://vger.kernel.org/majordomo-info.html - To unsubscribe
Sudhir> from this list: send the line "unsubscribe linux-kernel" in
Sudhir> the body of a message to majordomo@vger.kernel.org More
Sudhir> majordomo info at http://vger.kernel.org/majordomo-info.html
Sudhir> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Help in setting up serial console on 64 bit machine
@ 2004-03-08 21:28 ` David Mosberger
0 siblings, 0 replies; 9+ messages in thread
From: David Mosberger @ 2004-03-08 21:28 UTC (permalink / raw)
To: Dachepalli, Sudhir; +Cc: 'Linux-Kernel (E-mail)', linux-ia64
Sudhir,
First a general comment: for ia64-specific questions, it's generally
better to ask on linux-ia64@vger.kernel.org.
As for your particular issue: the serial console normally is ttyS0,
not ttyS1, so that might be the reason you're not seeing any output.
Also, 9600 baud is rather slow. If the client-side can handle it,
115200 baud will be much nicer.
--david
>>>>> On Mon, 8 Mar 2004 15:04:04 -0600 , "Dachepalli, Sudhir" <sudhir.dachepalli@lsil.com> said:
Sudhir> Hello SerialConsole user,
Sudhir> I have a problem while setting up serial console to
Sudhir> direct kernel printk messages to serial console. I dont see
Sudhir> messages getting displayed.
Sudhir> My setup --------- 1. IA 64 machine. 2. Redhat AS 3.0
Sudhir> 3. Kernel 2.4.18-e.37smp 4. Server Hardware : HP rx5670
Sudhir> Serial Console setup -------------------- 1. I have
Sudhir> connected serial cable between two linux terminals. 2. open
Sudhir> minicom on both servers. 3. changed the settings to
Sudhir> 9600-8-n-1, no h/w flow control, no s/w flow control, stop
Sudhir> bits =1. 4. I typed some charecters on server 1 and saw the
Sudhir> charecters appear in server 2's minicom. 5. I typed some
Sudhir> charecters on server 2 and saw the charecters appear in
Sudhir> server 1's minicom. 6. I have changed the kernel command
Sudhir> line for booting the kernel . PLEASE SEE BELOW FOR
Sudhir> "elilo.conf". 7. label=serial ( elilo entry to boot the
Sudhir> serial console setup. ) 8. I have also checked the options
Sudhir> in "make menuconfig" and found everything correct for serial
Sudhir> console setup.
Sudhir> After selecting "label=serial" and botting the OS the
Sudhir> following is the command line from proc. [root@beast root]#
Sudhir> cat /proc/cmdline
Sudhir> BOOT_IMAGE=scsi0:EFI\redhat\vmlinuz-2.4.18-e.37smp
Sudhir> root=LABEL=/ console=ttyS1,9600n8 console=tty0 ro
Sudhir> The kernel cmdline seems to be correct but the messages are
Sudhir> not directed on console. I have setup serial consoles on 32
Sudhir> bit machines earlier, but not on 64 bit.
Sudhir> Please throw me some pointers to make it work.
Sudhir> regards, sudhir dachepalli
Sudhir> [root@beast root]# uname -a Linux beast 2.4.18-e.37smp #1
Sudhir> SMP Tue Aug 5 16:07:26 EDT 2003 ia64 unknown
Sudhir> [root@beast root]# cat /etc/*release* Red Hat Linux Advanced
Sudhir> Server release 2.1AS (Derry) prompt timeout=50
Sudhir> default=2.4.18-e.37smp
Sudhir> image=vmlinuz-2.4.18-e.37 label=2.4.18-e.37
Sudhir> initrd=initrd-2.4.18-e.37.img read-only
Sudhir> append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37 label=scsi-128 initrd=scsi-128.img
Sudhir> read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.37smp label=2.4.18-e.37smp
Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
Sudhir> append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=serial
Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
Sudhir> append="root=LABEL=/ console=ttyS1,9600n8 console=tty0"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=lyq initrd=lyq.img
Sudhir> read-only append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=mpp initrd=mpp.img
Sudhir> read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.12smp label=linux
Sudhir> initrd=initrd-2.4.18-e.12smp.img read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.12 label=linux-up
Sudhir> initrd=initrd-2.4.18-e.12.img read-only root=/dev/sda4
Sudhir> - To unsubscribe from this list: send the line "unsubscribe
Sudhir> linux-serial" in the body of a message to
Sudhir> majordomo@vger.kernel.org More majordomo info at
Sudhir> http://vger.kernel.org/majordomo-info.html - To unsubscribe
Sudhir> from this list: send the line "unsubscribe linux-kernel" in
Sudhir> the body of a message to majordomo@vger.kernel.org More
Sudhir> majordomo info at http://vger.kernel.org/majordomo-info.html
Sudhir> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Help in setting up serial console on 64 bit machine
@ 2004-03-09 15:04 ` Dachepalli, Sudhir
0 siblings, 0 replies; 9+ messages in thread
From: Dachepalli, Sudhir @ 2004-03-09 15:04 UTC (permalink / raw)
To: 'linux-ia64@vger.kernel.org'; +Cc: 'Linux-Serial (E-mail)'
Hello David,
I have tried with 115200 also. Since it was not working I settled to 9600
.
The Serial console was ttyS1. This is because this is the one with which
I have done some data/text transfer through minicom sessions.
Also I have checked the status change in FLAGS at /proc/tty/driver/serial
when minicom is connected.
regards,
sudhir
-----Original Message-----
From: David Mosberger [mailto:davidm@napali.hpl.hp.com]
Sent: Monday, March 08, 2004 3:28 PM
To: Dachepalli, Sudhir
Cc: 'Linux-Kernel (E-mail)'; linux-ia64@vger.kernel.org
Subject: Re: Help in setting up serial console on 64 bit machine
Sudhir,
First a general comment: for ia64-specific questions, it's generally
better to ask on linux-ia64@vger.kernel.org.
As for your particular issue: the serial console normally is ttyS0,
not ttyS1, so that might be the reason you're not seeing any output.
Also, 9600 baud is rather slow. If the client-side can handle it,
115200 baud will be much nicer.
--david
>>>>> On Mon, 8 Mar 2004 15:04:04 -0600 , "Dachepalli, Sudhir"
<sudhir.dachepalli@lsil.com> said:
Sudhir> Hello SerialConsole user,
Sudhir> I have a problem while setting up serial console to
Sudhir> direct kernel printk messages to serial console. I dont see
Sudhir> messages getting displayed.
Sudhir> My setup --------- 1. IA 64 machine. 2. Redhat AS 3.0
Sudhir> 3. Kernel 2.4.18-e.37smp 4. Server Hardware : HP rx5670
Sudhir> Serial Console setup -------------------- 1. I have
Sudhir> connected serial cable between two linux terminals. 2. open
Sudhir> minicom on both servers. 3. changed the settings to
Sudhir> 9600-8-n-1, no h/w flow control, no s/w flow control, stop
Sudhir> bits =1. 4. I typed some charecters on server 1 and saw the
Sudhir> charecters appear in server 2's minicom. 5. I typed some
Sudhir> charecters on server 2 and saw the charecters appear in
Sudhir> server 1's minicom. 6. I have changed the kernel command
Sudhir> line for booting the kernel . PLEASE SEE BELOW FOR
Sudhir> "elilo.conf". 7. label=serial ( elilo entry to boot the
Sudhir> serial console setup. ) 8. I have also checked the options
Sudhir> in "make menuconfig" and found everything correct for serial
Sudhir> console setup.
Sudhir> After selecting "label=serial" and botting the OS the
Sudhir> following is the command line from proc. [root@beast root]#
Sudhir> cat /proc/cmdline
Sudhir> BOOT_IMAGE=scsi0:EFI\redhat\vmlinuz-2.4.18-e.37smp
Sudhir> root=LABEL=/ console=ttyS1,9600n8 console=tty0 ro
Sudhir> The kernel cmdline seems to be correct but the messages are
Sudhir> not directed on console. I have setup serial consoles on 32
Sudhir> bit machines earlier, but not on 64 bit.
Sudhir> Please throw me some pointers to make it work.
Sudhir> regards, sudhir dachepalli
Sudhir> [root@beast root]# uname -a Linux beast 2.4.18-e.37smp #1
Sudhir> SMP Tue Aug 5 16:07:26 EDT 2003 ia64 unknown
Sudhir> [root@beast root]# cat /etc/*release* Red Hat Linux Advanced
Sudhir> Server release 2.1AS (Derry) prompt timeoutP
Sudhir> default=2.4.18-e.37smp
Sudhir> image=vmlinuz-2.4.18-e.37 label=2.4.18-e.37
Sudhir> initrd=initrd-2.4.18-e.37.img read-only
Sudhir> append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37 label=scsi-128 initrd=scsi-128.img
Sudhir> read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.37smp label=2.4.18-e.37smp
Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
Sudhir> append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=serial
Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
Sudhir> append="root=LABEL=/ console=ttyS1,9600n8 console=tty0"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=lyq initrd=lyq.img
Sudhir> read-only append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=mpp initrd=mpp.img
Sudhir> read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.12smp label=linux
Sudhir> initrd=initrd-2.4.18-e.12smp.img read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.12 label=linux-up
Sudhir> initrd=initrd-2.4.18-e.12.img read-only root=/dev/sda4
Sudhir> - To unsubscribe from this list: send the line "unsubscribe
Sudhir> linux-serial" in the body of a message to
Sudhir> majordomo@vger.kernel.org More majordomo info at
Sudhir> http://vger.kernel.org/majordomo-info.html - To unsubscribe
Sudhir> from this list: send the line "unsubscribe linux-kernel" in
Sudhir> the body of a message to majordomo@vger.kernel.org More
Sudhir> majordomo info at http://vger.kernel.org/majordomo-info.html
Sudhir> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Help in setting up serial console on 64 bit machine
@ 2004-03-09 15:04 ` Dachepalli, Sudhir
0 siblings, 0 replies; 9+ messages in thread
From: Dachepalli, Sudhir @ 2004-03-09 15:04 UTC (permalink / raw)
To: 'linux-ia64@vger.kernel.org'; +Cc: 'Linux-Serial (E-mail)'
Hello David,
I have tried with 115200 also. Since it was not working I settled to 9600
.
The Serial console was ttyS1. This is because this is the one with which
I have done some data/text transfer through minicom sessions.
Also I have checked the status change in FLAGS at /proc/tty/driver/serial
when minicom is connected.
regards,
sudhir
-----Original Message-----
From: David Mosberger [mailto:davidm@napali.hpl.hp.com]
Sent: Monday, March 08, 2004 3:28 PM
To: Dachepalli, Sudhir
Cc: 'Linux-Kernel (E-mail)'; linux-ia64@vger.kernel.org
Subject: Re: Help in setting up serial console on 64 bit machine
Sudhir,
First a general comment: for ia64-specific questions, it's generally
better to ask on linux-ia64@vger.kernel.org.
As for your particular issue: the serial console normally is ttyS0,
not ttyS1, so that might be the reason you're not seeing any output.
Also, 9600 baud is rather slow. If the client-side can handle it,
115200 baud will be much nicer.
--david
>>>>> On Mon, 8 Mar 2004 15:04:04 -0600 , "Dachepalli, Sudhir"
<sudhir.dachepalli@lsil.com> said:
Sudhir> Hello SerialConsole user,
Sudhir> I have a problem while setting up serial console to
Sudhir> direct kernel printk messages to serial console. I dont see
Sudhir> messages getting displayed.
Sudhir> My setup --------- 1. IA 64 machine. 2. Redhat AS 3.0
Sudhir> 3. Kernel 2.4.18-e.37smp 4. Server Hardware : HP rx5670
Sudhir> Serial Console setup -------------------- 1. I have
Sudhir> connected serial cable between two linux terminals. 2. open
Sudhir> minicom on both servers. 3. changed the settings to
Sudhir> 9600-8-n-1, no h/w flow control, no s/w flow control, stop
Sudhir> bits =1. 4. I typed some charecters on server 1 and saw the
Sudhir> charecters appear in server 2's minicom. 5. I typed some
Sudhir> charecters on server 2 and saw the charecters appear in
Sudhir> server 1's minicom. 6. I have changed the kernel command
Sudhir> line for booting the kernel . PLEASE SEE BELOW FOR
Sudhir> "elilo.conf". 7. label=serial ( elilo entry to boot the
Sudhir> serial console setup. ) 8. I have also checked the options
Sudhir> in "make menuconfig" and found everything correct for serial
Sudhir> console setup.
Sudhir> After selecting "label=serial" and botting the OS the
Sudhir> following is the command line from proc. [root@beast root]#
Sudhir> cat /proc/cmdline
Sudhir> BOOT_IMAGE=scsi0:EFI\redhat\vmlinuz-2.4.18-e.37smp
Sudhir> root=LABEL=/ console=ttyS1,9600n8 console=tty0 ro
Sudhir> The kernel cmdline seems to be correct but the messages are
Sudhir> not directed on console. I have setup serial consoles on 32
Sudhir> bit machines earlier, but not on 64 bit.
Sudhir> Please throw me some pointers to make it work.
Sudhir> regards, sudhir dachepalli
Sudhir> [root@beast root]# uname -a Linux beast 2.4.18-e.37smp #1
Sudhir> SMP Tue Aug 5 16:07:26 EDT 2003 ia64 unknown
Sudhir> [root@beast root]# cat /etc/*release* Red Hat Linux Advanced
Sudhir> Server release 2.1AS (Derry) prompt timeout=50
Sudhir> default=2.4.18-e.37smp
Sudhir> image=vmlinuz-2.4.18-e.37 label=2.4.18-e.37
Sudhir> initrd=initrd-2.4.18-e.37.img read-only
Sudhir> append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37 label=scsi-128 initrd=scsi-128.img
Sudhir> read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.37smp label=2.4.18-e.37smp
Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
Sudhir> append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=serial
Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
Sudhir> append="root=LABEL=/ console=ttyS1,9600n8 console=tty0"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=lyq initrd=lyq.img
Sudhir> read-only append="root=LABEL=/"
Sudhir> image=vmlinuz-2.4.18-e.37smp label=mpp initrd=mpp.img
Sudhir> read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.12smp label=linux
Sudhir> initrd=initrd-2.4.18-e.12smp.img read-only root=/dev/sda4
Sudhir> image=vmlinuz-2.4.18-e.12 label=linux-up
Sudhir> initrd=initrd-2.4.18-e.12.img read-only root=/dev/sda4
Sudhir> - To unsubscribe from this list: send the line "unsubscribe
Sudhir> linux-serial" in the body of a message to
Sudhir> majordomo@vger.kernel.org More majordomo info at
Sudhir> http://vger.kernel.org/majordomo-info.html - To unsubscribe
Sudhir> from this list: send the line "unsubscribe linux-kernel" in
Sudhir> the body of a message to majordomo@vger.kernel.org More
Sudhir> majordomo info at http://vger.kernel.org/majordomo-info.html
Sudhir> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Help in setting up serial console on 64 bit machine
2004-03-09 15:04 ` Dachepalli, Sudhir
@ 2004-03-09 15:35 ` Alex Williamson
-1 siblings, 0 replies; 9+ messages in thread
From: Alex Williamson @ 2004-03-09 15:35 UTC (permalink / raw)
To: Dachepalli, Sudhir
Cc: 'linux-ia64@vger.kernel.org',
'Linux-Serial (E-mail)'
Only the ttyS0 port (the one labeled console) can be used for a
serial console on the rx5670. The other ports aren't initialized early
enough to support a serial console. The management processor can
support external UARTs up to 38.4kbps (115.2kbps on newer boards), but
it defaults to 9600, and higher speeds must be configured via the CA
command in the MP. The speed of the kernel console is fairly
independent of the speed of the external port, but I tend to go no
higher than the external port speed. Hope that helps,
Alex
On Tue, 2004-03-09 at 08:04, Dachepalli, Sudhir wrote:
> Hello David,
>
> I have tried with 115200 also. Since it was not working I settled to 9600
> .
>
> The Serial console was ttyS1. This is because this is the one with which
> I have done some data/text transfer through minicom sessions.
> Also I have checked the status change in FLAGS at /proc/tty/driver/serial
> when minicom is connected.
>
> regards,
> sudhir
>
> -----Original Message-----
> From: David Mosberger [mailto:davidm@napali.hpl.hp.com]
> Sent: Monday, March 08, 2004 3:28 PM
> To: Dachepalli, Sudhir
> Cc: 'Linux-Kernel (E-mail)'; linux-ia64@vger.kernel.org
> Subject: Re: Help in setting up serial console on 64 bit machine
>
>
> Sudhir,
>
> First a general comment: for ia64-specific questions, it's generally
> better to ask on linux-ia64@vger.kernel.org.
>
> As for your particular issue: the serial console normally is ttyS0,
> not ttyS1, so that might be the reason you're not seeing any output.
>
> Also, 9600 baud is rather slow. If the client-side can handle it,
> 115200 baud will be much nicer.
>
> --david
>
> >>>>> On Mon, 8 Mar 2004 15:04:04 -0600 , "Dachepalli, Sudhir"
> <sudhir.dachepalli@lsil.com> said:
>
> Sudhir> Hello SerialConsole user,
>
> Sudhir> I have a problem while setting up serial console to
> Sudhir> direct kernel printk messages to serial console. I dont see
> Sudhir> messages getting displayed.
>
> Sudhir> My setup --------- 1. IA 64 machine. 2. Redhat AS 3.0
> Sudhir> 3. Kernel 2.4.18-e.37smp 4. Server Hardware : HP rx5670
>
> Sudhir> Serial Console setup -------------------- 1. I have
> Sudhir> connected serial cable between two linux terminals. 2. open
> Sudhir> minicom on both servers. 3. changed the settings to
> Sudhir> 9600-8-n-1, no h/w flow control, no s/w flow control, stop
> Sudhir> bits =1. 4. I typed some charecters on server 1 and saw the
> Sudhir> charecters appear in server 2's minicom. 5. I typed some
> Sudhir> charecters on server 2 and saw the charecters appear in
> Sudhir> server 1's minicom. 6. I have changed the kernel command
> Sudhir> line for booting the kernel . PLEASE SEE BELOW FOR
> Sudhir> "elilo.conf". 7. label=serial ( elilo entry to boot the
> Sudhir> serial console setup. ) 8. I have also checked the options
> Sudhir> in "make menuconfig" and found everything correct for serial
> Sudhir> console setup.
>
> Sudhir> After selecting "label=serial" and botting the OS the
> Sudhir> following is the command line from proc. [root@beast root]#
> Sudhir> cat /proc/cmdline
> Sudhir> BOOT_IMAGE=scsi0:EFI\redhat\vmlinuz-2.4.18-e.37smp
> Sudhir> root=LABEL=/ console=ttyS1,9600n8 console=tty0 ro
>
> Sudhir> The kernel cmdline seems to be correct but the messages are
> Sudhir> not directed on console. I have setup serial consoles on 32
> Sudhir> bit machines earlier, but not on 64 bit.
>
> Sudhir> Please throw me some pointers to make it work.
>
>
> Sudhir> regards, sudhir dachepalli
>
>
>
> Sudhir> [root@beast root]# uname -a Linux beast 2.4.18-e.37smp #1
> Sudhir> SMP Tue Aug 5 16:07:26 EDT 2003 ia64 unknown
>
> Sudhir> [root@beast root]# cat /etc/*release* Red Hat Linux Advanced
> Sudhir> Server release 2.1AS (Derry) prompt timeoutP
> Sudhir> default=2.4.18-e.37smp
>
> Sudhir> image=vmlinuz-2.4.18-e.37 label=2.4.18-e.37
> Sudhir> initrd=initrd-2.4.18-e.37.img read-only
> Sudhir> append="root=LABEL=/"
>
> Sudhir> image=vmlinuz-2.4.18-e.37 label=scsi-128 initrd=scsi-128.img
> Sudhir> read-only root=/dev/sda4
>
> Sudhir> image=vmlinuz-2.4.18-e.37smp label=2.4.18-e.37smp
> Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
> Sudhir> append="root=LABEL=/"
>
> Sudhir> image=vmlinuz-2.4.18-e.37smp label=serial
> Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
> Sudhir> append="root=LABEL=/ console=ttyS1,9600n8 console=tty0"
>
> Sudhir> image=vmlinuz-2.4.18-e.37smp label=lyq initrd=lyq.img
> Sudhir> read-only append="root=LABEL=/"
>
> Sudhir> image=vmlinuz-2.4.18-e.37smp label=mpp initrd=mpp.img
> Sudhir> read-only root=/dev/sda4
>
> Sudhir> image=vmlinuz-2.4.18-e.12smp label=linux
> Sudhir> initrd=initrd-2.4.18-e.12smp.img read-only root=/dev/sda4
>
> Sudhir> image=vmlinuz-2.4.18-e.12 label=linux-up
> Sudhir> initrd=initrd-2.4.18-e.12.img read-only root=/dev/sda4
>
>
> Sudhir> - To unsubscribe from this list: send the line "unsubscribe
> Sudhir> linux-serial" in the body of a message to
> Sudhir> majordomo@vger.kernel.org More majordomo info at
> Sudhir> http://vger.kernel.org/majordomo-info.html - To unsubscribe
> Sudhir> from this list: send the line "unsubscribe linux-kernel" in
> Sudhir> the body of a message to majordomo@vger.kernel.org More
> Sudhir> majordomo info at http://vger.kernel.org/majordomo-info.html
> Sudhir> Please read the FAQ at http://www.tux.org/lkml/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Alex Williamson HP Linux & Open Source Lab
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Help in setting up serial console on 64 bit machine
@ 2004-03-09 15:35 ` Alex Williamson
0 siblings, 0 replies; 9+ messages in thread
From: Alex Williamson @ 2004-03-09 15:35 UTC (permalink / raw)
To: Dachepalli, Sudhir
Cc: 'linux-ia64@vger.kernel.org',
'Linux-Serial (E-mail)'
Only the ttyS0 port (the one labeled console) can be used for a
serial console on the rx5670. The other ports aren't initialized early
enough to support a serial console. The management processor can
support external UARTs up to 38.4kbps (115.2kbps on newer boards), but
it defaults to 9600, and higher speeds must be configured via the CA
command in the MP. The speed of the kernel console is fairly
independent of the speed of the external port, but I tend to go no
higher than the external port speed. Hope that helps,
Alex
On Tue, 2004-03-09 at 08:04, Dachepalli, Sudhir wrote:
> Hello David,
>
> I have tried with 115200 also. Since it was not working I settled to 9600
> .
>
> The Serial console was ttyS1. This is because this is the one with which
> I have done some data/text transfer through minicom sessions.
> Also I have checked the status change in FLAGS at /proc/tty/driver/serial
> when minicom is connected.
>
> regards,
> sudhir
>
> -----Original Message-----
> From: David Mosberger [mailto:davidm@napali.hpl.hp.com]
> Sent: Monday, March 08, 2004 3:28 PM
> To: Dachepalli, Sudhir
> Cc: 'Linux-Kernel (E-mail)'; linux-ia64@vger.kernel.org
> Subject: Re: Help in setting up serial console on 64 bit machine
>
>
> Sudhir,
>
> First a general comment: for ia64-specific questions, it's generally
> better to ask on linux-ia64@vger.kernel.org.
>
> As for your particular issue: the serial console normally is ttyS0,
> not ttyS1, so that might be the reason you're not seeing any output.
>
> Also, 9600 baud is rather slow. If the client-side can handle it,
> 115200 baud will be much nicer.
>
> --david
>
> >>>>> On Mon, 8 Mar 2004 15:04:04 -0600 , "Dachepalli, Sudhir"
> <sudhir.dachepalli@lsil.com> said:
>
> Sudhir> Hello SerialConsole user,
>
> Sudhir> I have a problem while setting up serial console to
> Sudhir> direct kernel printk messages to serial console. I dont see
> Sudhir> messages getting displayed.
>
> Sudhir> My setup --------- 1. IA 64 machine. 2. Redhat AS 3.0
> Sudhir> 3. Kernel 2.4.18-e.37smp 4. Server Hardware : HP rx5670
>
> Sudhir> Serial Console setup -------------------- 1. I have
> Sudhir> connected serial cable between two linux terminals. 2. open
> Sudhir> minicom on both servers. 3. changed the settings to
> Sudhir> 9600-8-n-1, no h/w flow control, no s/w flow control, stop
> Sudhir> bits =1. 4. I typed some charecters on server 1 and saw the
> Sudhir> charecters appear in server 2's minicom. 5. I typed some
> Sudhir> charecters on server 2 and saw the charecters appear in
> Sudhir> server 1's minicom. 6. I have changed the kernel command
> Sudhir> line for booting the kernel . PLEASE SEE BELOW FOR
> Sudhir> "elilo.conf". 7. label=serial ( elilo entry to boot the
> Sudhir> serial console setup. ) 8. I have also checked the options
> Sudhir> in "make menuconfig" and found everything correct for serial
> Sudhir> console setup.
>
> Sudhir> After selecting "label=serial" and botting the OS the
> Sudhir> following is the command line from proc. [root@beast root]#
> Sudhir> cat /proc/cmdline
> Sudhir> BOOT_IMAGE=scsi0:EFI\redhat\vmlinuz-2.4.18-e.37smp
> Sudhir> root=LABEL=/ console=ttyS1,9600n8 console=tty0 ro
>
> Sudhir> The kernel cmdline seems to be correct but the messages are
> Sudhir> not directed on console. I have setup serial consoles on 32
> Sudhir> bit machines earlier, but not on 64 bit.
>
> Sudhir> Please throw me some pointers to make it work.
>
>
> Sudhir> regards, sudhir dachepalli
>
>
>
> Sudhir> [root@beast root]# uname -a Linux beast 2.4.18-e.37smp #1
> Sudhir> SMP Tue Aug 5 16:07:26 EDT 2003 ia64 unknown
>
> Sudhir> [root@beast root]# cat /etc/*release* Red Hat Linux Advanced
> Sudhir> Server release 2.1AS (Derry) prompt timeout=50
> Sudhir> default=2.4.18-e.37smp
>
> Sudhir> image=vmlinuz-2.4.18-e.37 label=2.4.18-e.37
> Sudhir> initrd=initrd-2.4.18-e.37.img read-only
> Sudhir> append="root=LABEL=/"
>
> Sudhir> image=vmlinuz-2.4.18-e.37 label=scsi-128 initrd=scsi-128.img
> Sudhir> read-only root=/dev/sda4
>
> Sudhir> image=vmlinuz-2.4.18-e.37smp label=2.4.18-e.37smp
> Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
> Sudhir> append="root=LABEL=/"
>
> Sudhir> image=vmlinuz-2.4.18-e.37smp label=serial
> Sudhir> initrd=initrd-2.4.18-e.37smp.img read-only
> Sudhir> append="root=LABEL=/ console=ttyS1,9600n8 console=tty0"
>
> Sudhir> image=vmlinuz-2.4.18-e.37smp label=lyq initrd=lyq.img
> Sudhir> read-only append="root=LABEL=/"
>
> Sudhir> image=vmlinuz-2.4.18-e.37smp label=mpp initrd=mpp.img
> Sudhir> read-only root=/dev/sda4
>
> Sudhir> image=vmlinuz-2.4.18-e.12smp label=linux
> Sudhir> initrd=initrd-2.4.18-e.12smp.img read-only root=/dev/sda4
>
> Sudhir> image=vmlinuz-2.4.18-e.12 label=linux-up
> Sudhir> initrd=initrd-2.4.18-e.12.img read-only root=/dev/sda4
>
>
> Sudhir> - To unsubscribe from this list: send the line "unsubscribe
> Sudhir> linux-serial" in the body of a message to
> Sudhir> majordomo@vger.kernel.org More majordomo info at
> Sudhir> http://vger.kernel.org/majordomo-info.html - To unsubscribe
> Sudhir> from this list: send the line "unsubscribe linux-kernel" in
> Sudhir> the body of a message to majordomo@vger.kernel.org More
> Sudhir> majordomo info at http://vger.kernel.org/majordomo-info.html
> Sudhir> Please read the FAQ at http://www.tux.org/lkml/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Alex Williamson HP Linux & Open Source Lab
^ permalink raw reply [flat|nested] 9+ messages in thread
* Help in setting up serial console on 64 bit machine
@ 2004-03-08 15:10 Dachepalli, Sudhir
2004-03-09 9:41 ` Milan P. Stanic
0 siblings, 1 reply; 9+ messages in thread
From: Dachepalli, Sudhir @ 2004-03-08 15:10 UTC (permalink / raw)
To: linux-serial
Hello SerialConsole user,
I have a problem while setting up serial console to direct kernel
printk
messages to serial console. I dont see messages getting displayed.
My setup
---------
1. IA 64 machine.
2. Redhat AS 3.0
3. Kernel 2.4.18-e.37smp
4. Server Hardware : HP rx5670
Serial Console setup
--------------------
1. I have connected serial cable between two linux terminals.
2. open minicom on both servers.
3. changed the settings to 9600-8-n-1, no h/w flow control, no s/w flow
control, stop bits =1.
4. I typed some charecters on server 1 and saw the charecters appear in
server 2's minicom.
5. I typed some charecters on server 2 and saw the charecters appear in
server 1's minicom.
6. I have changed the kernel command line for booting the kernel . PLEASE
SEE BELOW FOR "elilo.conf".
7. label=serial ( elilo entry to boot the serial console setup. )
8. I have also checked the options in "make menuconfig" and found everything
correct for serial console setup.
After selecting "label=serial" and botting the OS the following is the
command line from proc.
[root@beast root]# cat /proc/cmdline
BOOT_IMAGE=scsi0:EFI\redhat\vmlinuz-2.4.18-e.37smp root=LABEL=/
console=ttyS1,9600n8 console=tty0 ro
The kernel cmdline seems to be correct but the messages are not directed on
console.
I have setup serial consoles on 32 bit machines earlier, but not on 64 bit.
Please throw me some pointers to make it work.
regards,
sudhir dachepalli
[root@beast root]# uname -a
Linux beast 2.4.18-e.37smp #1 SMP Tue Aug 5 16:07:26 EDT 2003 ia64 unknown
[root@beast root]# cat /etc/*release*
Red Hat Linux Advanced Server release 2.1AS (Derry)
prompt
timeout=50
default=2.4.18-e.37smp
image=vmlinuz-2.4.18-e.37
label=2.4.18-e.37
initrd=initrd-2.4.18-e.37.img
read-only
append="root=LABEL=/"
image=vmlinuz-2.4.18-e.37
label=scsi-128
initrd=scsi-128.img
read-only
root=/dev/sda4
image=vmlinuz-2.4.18-e.37smp
label=2.4.18-e.37smp
initrd=initrd-2.4.18-e.37smp.img
read-only
append="root=LABEL=/"
image=vmlinuz-2.4.18-e.37smp
label=serial
initrd=initrd-2.4.18-e.37smp.img
read-only
append="root=LABEL=/ console=ttyS1,9600n8 console=tty0"
image=vmlinuz-2.4.18-e.37smp
label=lyq
initrd=lyq.img
read-only
append="root=LABEL=/"
image=vmlinuz-2.4.18-e.37smp
label=mpp
initrd=mpp.img
read-only
root=/dev/sda4
image=vmlinuz-2.4.18-e.12smp
label=linux
initrd=initrd-2.4.18-e.12smp.img
read-only
root=/dev/sda4
image=vmlinuz-2.4.18-e.12
label=linux-up
initrd=initrd-2.4.18-e.12.img
read-only
root=/dev/sda4
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Help in setting up serial console on 64 bit machine
2004-03-08 15:10 Dachepalli, Sudhir
@ 2004-03-09 9:41 ` Milan P. Stanic
0 siblings, 0 replies; 9+ messages in thread
From: Milan P. Stanic @ 2004-03-09 9:41 UTC (permalink / raw)
To: linux-serial
On Mon, Mar 08, 2004 at 09:10:47AM -0600, Dachepalli, Sudhir wrote:
> After selecting "label=serial" and botting the OS the following is the
> command line from proc.
> [root@beast root]# cat /proc/cmdline
> BOOT_IMAGE=scsi0:EFI\redhat\vmlinuz-2.4.18-e.37smp root=LABEL=/
> console=ttyS1,9600n8 console=tty0 ro
The kernel message is directed to the last console specified in
the lilo or grub. I don't know for elilo but because this is actually
kernel command line parameter it should be same.
Try to swap consoles in (e)lilo.
hth
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-03-09 15:35 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-08 21:04 Help in setting up serial console on 64 bit machine Dachepalli, Sudhir
2004-03-08 21:28 ` David Mosberger
2004-03-08 21:28 ` David Mosberger
2004-03-09 15:04 ` Dachepalli, Sudhir
2004-03-09 15:04 ` Dachepalli, Sudhir
2004-03-09 15:35 ` Alex Williamson
2004-03-09 15:35 ` Alex Williamson
-- strict thread matches above, loose matches on Subject: below --
2004-03-08 15:10 Dachepalli, Sudhir
2004-03-09 9:41 ` Milan P. Stanic
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.