* Running 2.1 kernels with aboot
@ 1998-08-05 17:46 Stephen Weiss
1998-08-08 20:31 ` Richard Henderson
0 siblings, 1 reply; 10+ messages in thread
From: Stephen Weiss @ 1998-08-05 17:46 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Okay, I got aboot working (yay!) and I'm trying to boot kernel 2.1.113
on it.
When I try to boot the compressed image, I get an error about the block
size being smaller than expected. Same thing happens when I try to load
a plain image. When I try to load a raw image (I copied vmlinux.nh to
-, and booted that), it boots fine (after some time (at least 30
seconds) ), and promptly halts CPU 0 with the following messages:
halted CPU 0
halt code = 5
HALT instruction executed
PC = fffffc0000310000
boot failure
What I'm thinking is, the kernel is panicing when it can't find a
console. There was no option for a TGA console (at least in make
menuconfig), and as such I used a framebuffer device for it, which
people seem to be avoiding at this point (possibly for this reason).
(If anyone cares: AlphaStation 600 5/333 (alcor), ZLXp-E2 TGA video
card, Tulip network card, Qlogic ISP scsi card...) I have no serial
cable to hook it up to another machine with, so I can check the messages
- that was my first thought. My next trick will be to install a VGA
card and see what happens. Unfortunately, this means recompiling the
kernel with support for VGA. If that doesn't work, I'm going to an
earlier 2.1 kernel (say... 2.1.108? I think that had a straightforward
TGA console...) and see how that flies. Anyone with a clue that can
help me out would be greatly appreciated - TIA.
--
Steve
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Running 2.1 kernels with aboot
1998-08-05 17:46 Running 2.1 kernels with aboot Stephen Weiss
@ 1998-08-08 20:31 ` Richard Henderson
0 siblings, 0 replies; 10+ messages in thread
From: Richard Henderson @ 1998-08-08 20:31 UTC (permalink / raw)
To: axp-list
On Wed, Aug 05, 1998 at 01:46:33PM -0400, Stephen Weiss wrote:
> When I try to load a raw image (I copied vmlinux.nh to
> -, and booted that), it boots fine (after some time (at least 30
> seconds) ), and promptly halts CPU 0 with the following messages:
>
> halted CPU 0
>
> halt code = 5
> HALT instruction executed
> PC = fffffc0000310000
> boot failure
>
> What I'm thinking is, the kernel is panicing when it can't find a
> console.
Nope. What this means is that your raw image did not boot fine.
The indicated PC is the entry point of the kernel -- so the first
instruction it executed was halt, which happens to have opcode 0.
r~
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re:Running 2.1 kernels with aboot
@ 1998-08-05 19:26 Calvin Coghlan
1998-08-05 19:41 ` Running " Michal Jaegermann
1998-08-05 22:15 ` Tim Rowley
0 siblings, 2 replies; 10+ messages in thread
From: Calvin Coghlan @ 1998-08-05 19:26 UTC (permalink / raw)
To: axp-list
Stephen Weiss,
Two problems. One: aboot has a problem booting 2.1.xxx kernels.
There is a work around by Maciej Rozycki which patches aboot. See
copy of his email and attached file. Two: Use of menuconfig and
xconfig are very suspect on the alpha platform. In general are
considered broken. It is recommended that people only use make config.
There are some people running menuconfig and then either manually
fixing the config file or running make oldconfig, but YMMV. The ZLXp-E2
TGA video card does work primarly due to Tim Rowley.
Calvin.
>>> "Maciej W. Rozycki" <macro@ds2.pg.gda.pl> 08/04/98 01:10am >>>
Hi,
I created a patch which allows current 2.1 kernels built with binutils
2.9.x to be booted from aboot. With the patch applied, aboot correctly
boots both compressed and plain ELF images. I have currently no way
to
test ECOFF images, but hopefully they work right, too.
I created a RPM package which contains this patch as well as another
one
which is needed to compile the program in glibc2 environment. The
source
package is available at:
ftp://ftp.amg.gda.pl/pub/OS/Linux/people/macro/SRPMS.glibc21/aboot-0.5-5.src.rpm
The binary package may be recreated using the --rebuild option of rpm.
There is also the binary package available at:
ftp://ftp.amg.gda.pl/pub/OS/Linux/people/macro/RPMS.glibc21/alpha/aboot-0.5-5.alpha.rpm
but this one requires glibc 2.1 to be installed (I've already get rid of
glibc 2.0) and as such it may prove not to be very useful at the moment.
Brave testers, comments, etc. are welcomed.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Running 2.1 kernels with aboot
1998-08-05 19:26 Calvin Coghlan
@ 1998-08-05 19:41 ` Michal Jaegermann
1998-08-05 22:15 ` Tim Rowley
1 sibling, 0 replies; 10+ messages in thread
From: Michal Jaegermann @ 1998-08-05 19:41 UTC (permalink / raw)
To: axp-list
Calvin Coghlan wrote:
> Two: Use of menuconfig and
> xconfig are very suspect on the alpha platform. In general are
> considered broken. It is recommended that people only use make config.
> There are some people running ....
> .... running make oldconfig, but YMMV.
The fastest safe method to modify your kernel configuration is to
**delete** all options you want to change from your .config file and
to run 'make oldconfig'. This is equivalent to running 'make config'
with that twist that all known options are left "as-is" and scrolled
through without asking any questions and for unknown you will be asked.
This includes all that stuff you just deleted and maybe some new things
if you changed your kernel version.
For one reason or another "use SRM?" option is never known. :-)
'make menuconfig' is suspect on every platform but sometimes it works.
'make xconfig' usually fares somewhat better but you should be careful.
There are advanced plans to redesign the whole mess but this will
not happen before 2.3.... series.
Michal
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Running 2.1 kernels with aboot
1998-08-05 19:26 Calvin Coghlan
1998-08-05 19:41 ` Running " Michal Jaegermann
@ 1998-08-05 22:15 ` Tim Rowley
1998-08-05 22:38 ` Geert Uytterhoeven
1998-08-06 16:34 ` Jay.Estabrook
1 sibling, 2 replies; 10+ messages in thread
From: Tim Rowley @ 1998-08-05 22:15 UTC (permalink / raw)
To: axp-list
Calvin Coghlan wrote:
> Two: Use of menuconfig and xconfig are very suspect on the
> alpha platform.
If you don't have the patch mentioned below and want to run on
the -E2, you'll have to enable advanced fbcon options and turn on
CONFIG_FBCON_CFB32.
> The ZLXp-E2 TGA video card does work primarly due to Tim Rowley.
Actually the 2.1.xxx fbcon TGA driver worked fine on the -E2 as
written to Geert. I submitted a small patch that fixed some
quirks (available in the list archive) that has been added to the
vger tree. I don't believe they've been merged with official
tree yet.
-tor
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Running 2.1 kernels with aboot
1998-08-05 22:15 ` Tim Rowley
@ 1998-08-05 22:38 ` Geert Uytterhoeven
1998-08-06 16:34 ` Jay.Estabrook
1 sibling, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 1998-08-05 22:38 UTC (permalink / raw)
To: axp-list
On Wed, 5 Aug 1998, Tim Rowley wrote:
> Calvin Coghlan wrote:
> > Two: Use of menuconfig and xconfig are very suspect on the
> > alpha platform.
>
> If you don't have the patch mentioned below and want to run on
> the -E2, you'll have to enable advanced fbcon options and turn on
> CONFIG_FBCON_CFB32.
>
> > The ZLXp-E2 TGA video card does work primarly due to Tim Rowley.
>
> Actually the 2.1.xxx fbcon TGA driver worked fine on the -E2 as
> written to Geert. I submitted a small patch that fixed some
> quirks (available in the list archive) that has been added to the
> vger tree. I don't believe they've been merged with official
> tree yet.
Yes indeed, it works. And it's much faster than 2.0.34 :-)
Greetings,
Geert
P.S. Since Friday I have a UDB, so I can start hacking on Alpha, too. Just
compiled my first Alpha kernel (vger).
--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Running 2.1 kernels with aboot
1998-08-05 22:15 ` Tim Rowley
1998-08-05 22:38 ` Geert Uytterhoeven
@ 1998-08-06 16:34 ` Jay.Estabrook
1998-08-06 16:49 ` Tim Rowley
1 sibling, 1 reply; 10+ messages in thread
From: Jay.Estabrook @ 1998-08-06 16:34 UTC (permalink / raw)
To: axp-list
>>> Tim Rowley said:
>
> If you don't have the patch mentioned below and want to run on
> the -E2, you'll have to enable advanced fbcon options and turn on
> CONFIG_FBCON_CFB32.
Yes, that works for now, but...
IMHO, I think it better that selecting TGA support either:
1. includes 24-plane as well as 8-plane by default, or
2. asks specifically which you want (and allows both).
Either of these require changes only to drivers/video/Config.in.
I'm currently leaning toward #1; any discussion?
> Actually the 2.1.xxx fbcon TGA driver worked fine on the -E2 as
> written to Geert. I submitted a small patch that fixed some
> quirks (available in the list archive) that has been added to the
> vger tree. I don't believe they've been merged with official
> tree yet.
Uh, do those patches make TUX show up in color on the 24-plane? :-) :-)
Simply change the "visual" type of the 24-plane to DIRECTCOLOR instead
of TRUECOLOR in drivers/video/tgafb.c (the code works, but the terminology
may not be correct).
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Digital Equipment Corp. (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Running 2.1 kernels with aboot
1998-08-06 16:34 ` Jay.Estabrook
@ 1998-08-06 16:49 ` Tim Rowley
1998-08-06 17:07 ` Geert Uytterhoeven
0 siblings, 1 reply; 10+ messages in thread
From: Tim Rowley @ 1998-08-06 16:49 UTC (permalink / raw)
To: axp-list
Jay.Estabrook@digital.com wrote:
> IMHO, I think it better that selecting TGA support either:
>
> 1. includes 24-plane as well as 8-plane by default, or
> 2. asks specifically which you want (and allows both).
>
> I'm currently leaning toward #1; any discussion?
My patch did #1 -- additional code is quite small, so I think
the default should be to include it.
> > Actually the 2.1.xxx fbcon TGA driver worked fine on the -E2 as
> > written to Geert. I submitted a small patch that fixed some
> > quirks (available in the list archive) that has been added to the
> > vger tree. I don't believe they've been merged with official
> > tree yet.
>
> Uh, do those patches make TUX show up in color on the 24-plane? :-) :-)
Never had a chance to really look at the logo, as it quickly gets
whipped off the screen by boot messages. I vaguely remember it
being a strange looking black&white picture.
> Simply change the "visual" type of the 24-plane to DIRECTCOLOR instead
> of TRUECOLOR in drivers/video/tgafb.c (the code works, but the terminology
> may not be correct).
Sounds like a patch for Geert. Hmm... if we use the 24-plane TGA
code just a DIRECTCOLOR device the palette setup code could be
thrown away. Do any programs actually use the palette routines
of the console?
-tor
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Running 2.1 kernels with aboot
1998-08-06 16:49 ` Tim Rowley
@ 1998-08-06 17:07 ` Geert Uytterhoeven
1998-08-06 17:31 ` Jay.Estabrook
0 siblings, 1 reply; 10+ messages in thread
From: Geert Uytterhoeven @ 1998-08-06 17:07 UTC (permalink / raw)
To: axp-list
On Thu, 6 Aug 1998, Tim Rowley wrote:
> Jay.Estabrook@digital.com wrote:
> > IMHO, I think it better that selecting TGA support either:
> >
> > 1. includes 24-plane as well as 8-plane by default, or
> > 2. asks specifically which you want (and allows both).
> >
> > I'm currently leaning toward #1; any discussion?
>
> My patch did #1 -- additional code is quite small, so I think
> the default should be to include it.
In the vger tree, the default is to include both FBCON_CFB{8,32}.
Or are you talking about the TGA specific parts? These could easily depend on
FBCON_HAS_CFB{8,32}, too.
> > > Actually the 2.1.xxx fbcon TGA driver worked fine on the -E2 as
> > > written to Geert. I submitted a small patch that fixed some
> > > quirks (available in the list archive) that has been added to the
> > > vger tree. I don't believe they've been merged with official
> > > tree yet.
> >
> > Uh, do those patches make TUX show up in color on the 24-plane? :-) :-)
>
> Never had a chance to really look at the logo, as it quickly gets
> whipped off the screen by boot messages. I vaguely remember it
> being a strange looking black&white picture.
In 8 bpp, it looks fine (without beer :-(.
> > Simply change the "visual" type of the 24-plane to DIRECTCOLOR instead
> > of TRUECOLOR in drivers/video/tgafb.c (the code works, but the terminology
> > may not be correct).
>
> Sounds like a patch for Geert. Hmm... if we use the 24-plane TGA
> code just a DIRECTCOLOR device the palette setup code could be
> thrown away. Do any programs actually use the palette routines
> of the console?
It's the other way around: DIRECTCOLOR uses a palette, TRUECOLOR doesn't
(xc/doc/specs/Xserver/ddx.tbl.ms).
Yes, the original frame buffer code was wrong w.r.t. this.
Greetings,
Geert
--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Running 2.1 kernels with aboot
1998-08-06 17:07 ` Geert Uytterhoeven
@ 1998-08-06 17:31 ` Jay.Estabrook
1998-08-06 19:35 ` Geert Uytterhoeven
0 siblings, 1 reply; 10+ messages in thread
From: Jay.Estabrook @ 1998-08-06 17:31 UTC (permalink / raw)
To: axp-list
>>> Geert Uytterhoeven said:
>
> In the vger tree, the default is to include both FBCON_CFB{8,32}.
Yes, that's all my patch to 2.1.113 did as well...
> Or are you talking about the TGA specific parts? These could easily depend
> on FBCON_HAS_CFB{8,32}, too.
The TGA code already does, somewhat; do you mean modifying the code so that
more gets left out if you only select 8-plane support? I'm not sure it would
be worth it... ???
> > > Uh, do those patches make TUX show up in color on the 24-plane? :-) :-)
> >
> > Never had a chance to really look at the logo, as it quickly gets
> > whipped off the screen by boot messages. I vaguely remember it
> > being a strange looking black&white picture.
Hmm; that would be on the 24-plane; the 8-plane showed up nicely in full
with the original visual settings.
> In 8 bpp, it looks fine (without beer :-(.
Huh? I saw beer in both 8 and 32 bpp renderings; it made me thirsty... ;-}
> > Sounds like a patch for Geert. Hmm... if we use the 24-plane TGA
> > code just a DIRECTCOLOR device the palette setup code could be
> > thrown away. Do any programs actually use the palette routines
> > of the console?
>
> It's the other way around: DIRECTCOLOR uses a palette, TRUECOLOR doesn't
> (xc/doc/specs/Xserver/ddx.tbl.ms).
That's what I thought, too, but the code had it backwards, and I took the
easy way out, setting what would get the correct rendering... ;-}
> Yes, the original frame buffer code was wrong w.r.t. this.
Are you going to submit patches that change this in the fbcon code, then?
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Digital Equipment Corp. (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Running 2.1 kernels with aboot
1998-08-06 17:31 ` Jay.Estabrook
@ 1998-08-06 19:35 ` Geert Uytterhoeven
0 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 1998-08-06 19:35 UTC (permalink / raw)
To: axp-list
On Thu, 6 Aug 1998 Jay.Estabrook@digital.com wrote:
> > In the vger tree, the default is to include both FBCON_CFB{8,32}.
>
> Yes, that's all my patch to 2.1.113 did as well...
>
> > Or are you talking about the TGA specific parts? These could easily depend
> > on FBCON_HAS_CFB{8,32}, too.
>
> The TGA code already does, somewhat; do you mean modifying the code so that
> more gets left out if you only select 8-plane support? I'm not sure it would
> be worth it... ???
Yes, that's what I mean. It doesn't make much sense to support e.g. 24 bit
boards if you have no support for 24 bit text consoles. Unless X is your
primary target.
> > In 8 bpp, it looks fine (without beer :-(.
>
> Huh? I saw beer in both 8 and 32 bpp renderings; it made me thirsty... ;-}
Jakub Jelinek removed it from the vger tree after the big
Penguin/beer/nazy/cannabis/gay/catholic flamewar on linux-kernel.
> > > Sounds like a patch for Geert. Hmm... if we use the 24-plane TGA
> > > code just a DIRECTCOLOR device the palette setup code could be
> > > thrown away. Do any programs actually use the palette routines
> > > of the console?
> >
> > It's the other way around: DIRECTCOLOR uses a palette, TRUECOLOR doesn't
> > (xc/doc/specs/Xserver/ddx.tbl.ms).
>
> That's what I thought, too, but the code had it backwards, and I took the
> easy way out, setting what would get the correct rendering... ;-}
>
> > Yes, the original frame buffer code was wrong w.r.t. this.
>
> Are you going to submit patches that change this in the fbcon code, then?
It's already in the vger tree.
But Linus just doesn't want to see any more patches for drivers/video unless at
the very last moment before 2.2 :-( David Miller is trying to change his mind
because he urgently wants the sparc frame buffer devices integrated.
Greetings,
Geert
--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~1998-08-08 20:31 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-05 17:46 Running 2.1 kernels with aboot Stephen Weiss
1998-08-08 20:31 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1998-08-05 19:26 Calvin Coghlan
1998-08-05 19:41 ` Running " Michal Jaegermann
1998-08-05 22:15 ` Tim Rowley
1998-08-05 22:38 ` Geert Uytterhoeven
1998-08-06 16:34 ` Jay.Estabrook
1998-08-06 16:49 ` Tim Rowley
1998-08-06 17:07 ` Geert Uytterhoeven
1998-08-06 17:31 ` Jay.Estabrook
1998-08-06 19:35 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox