Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Serial console output?
@ 1999-08-26  4:00 Dave Cherkus
       [not found] ` <rsbv0nd9j7151@corp.supernews.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Cherkus @ 1999-08-26  4:00 UTC (permalink / raw)


This might be a 'me too' question, but how do I get the console
output to go to the serial port instead of the graphics card?

I tried taking out the graphics card but this didn't work.

The system is an Alphastation 200 with Red Hat 5.2 and I'm using
aboot/SRM to boot the system.

All I see is:

>>>b dka0 -fi 1/vmlinux.gz -fl "root=/dev/sda1"
(boot dka0.0.0.6.0 -file 1/vmlinux.gz -flags root=/dev/sda1)
block 0 of dka0.0.0.6.0 is a valid boot block
reading 171 blocks from dka0.0.0.6.0
bootstrap code read in
base = 1f2000, image_start = 0, image_bytes = 15600
initializing HWRPB at 2000
initializing page table at 1e4000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
aboot: Linux/Alpha SRM bootloader version 0.5
aboot: switching to OSF/1 PALcode version 1.46
aboot: valid disklabel found: 8 partitions.
aboot: booted_dev=`scsi 0 6 0 0 0 0 0', guessing boot_device=`sda1'
aboot: loading compressed vmlinux.gz...
aboot: ok, now starting the kernel...

halted CPU 0

halt code = 5
HALT instruction executed
PC = fffffc0000313520
>>>

-- 
Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
Email: cherkus@UniMaster.COM ------ Oz didn't give anything to the Tinman



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Serial console output?
       [not found] ` <rsbv0nd9j7151@corp.supernews.com>
@ 1999-08-27  4:00   ` Dave Cherkus
  1999-08-27  4:00     ` JJ
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Cherkus @ 1999-08-27  4:00 UTC (permalink / raw)


Thanks for the detailed instructions.  My comments are below.

JJ (johnj@bicnet!net) wrote:
: build a kernel which includes "Serial console support"  This is a CUSTOM
: build.

This is a big gotcha - the reason I want serial output is because my
attempt to install RH 5.2 seems to have created a file system with
corruption of some sort, and I'm trying to see if there are any hints
about what I may have done wrong in the console output.  And when I use
the graphics card, it flys by so fast that I can't see what it thinks
the problem is.  Given the bogus installation, I can't build a kernel
to get serial output.

Does RH (or any of the other Linux distros) have a 'fixit' floppy with
diagnostic tools and a kernel tailored to having debug aids such as
serial output?

-- 
Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
Email: cherkus@UniMaster.COM ------ Oz didn't give anything to the Tinman



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Serial console output?
  1999-08-27  4:00   ` Dave Cherkus
@ 1999-08-27  4:00     ` JJ
  1999-08-28  4:00       ` Dave Cherkus
  0 siblings, 1 reply; 4+ messages in thread
From: JJ @ 1999-08-27  4:00 UTC (permalink / raw)


Add "console=ttyS0" to your -flags   at boot time, if your using a generic
2.2.* kernel, Even if serial console is not compiled in, it should log the
kernel messages to both the Graphics and Serial port with the flag set.  Try
it.

JJ

Dave Cherkus wrote in message <37c66e9c@News.Destek.net>...
>Thanks for the detailed instructions.  My comments are below.
>
>JJ (johnj@bicnet!net) wrote:
>: build a kernel which includes "Serial console support"  This is a CUSTOM
>: build.
>
>This is a big gotcha - the reason I want serial output is because my
>attempt to install RH 5.2 seems to have created a file system with
>corruption of some sort, and I'm trying to see if there are any hints
>about what I may have done wrong in the console output.  And when I use
>the graphics card, it flys by so fast that I can't see what it thinks
>the problem is.  Given the bogus installation, I can't build a kernel
>to get serial output.
>
>Does RH (or any of the other Linux distros) have a 'fixit' floppy with
>diagnostic tools and a kernel tailored to having debug aids such as
>serial output?
>
>--
>Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
>Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
>Email: cherkus@UniMaster.COM ------ Oz didn't give anything to the Tinman





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Serial console output?
  1999-08-27  4:00     ` JJ
@ 1999-08-28  4:00       ` Dave Cherkus
  0 siblings, 0 replies; 4+ messages in thread
From: Dave Cherkus @ 1999-08-28  4:00 UTC (permalink / raw)


JJ (johnj@bicnet!net) wrote:
: Add "console=ttyS0" to your -flags   at boot time, if your using a generic
: 2.2.* kernel, Even if serial console is not compiled in, it should log the
: kernel messages to both the Graphics and Serial port with the flag set.  Try
: it.
: 
: JJ

Thanks - I will try it.

BTW I found my problem.  The file system was corrupt because the last
partition extended one cylinder past the end of the disk.  Kinda
suprised fdisk let me do this.  It turned out that my 'fixit' disk was
NetBSD, which was installed on another hard disk.  I booted NetBSD and
used it's disklabel program to examine Linux's disklabel, and it
immediately told me that the partition extended past the end of the
disk.

Linux runs quite well on my Alpha.  Thanks for your help.

-- 
Dave Cherkus ------- UniMaster, Inc. ------ Contract Software Development
Specialties: UNIX Internals/Kernel TCP/IP Alpha Clusters Performance ISDN
Email: cherkus@UniMaster.COM ------ Oz didn't give anything to the Tinman



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-08-28  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-26  4:00 Serial console output? Dave Cherkus
     [not found] ` <rsbv0nd9j7151@corp.supernews.com>
1999-08-27  4:00   ` Dave Cherkus
1999-08-27  4:00     ` JJ
1999-08-28  4:00       ` Dave Cherkus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox