Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Can't get a working kernel !
@ 1998-03-12 22:29 Philippe GIROLAMI
  1998-03-12 22:43 ` Christopher Curtis
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe GIROLAMI @ 1998-03-12 22:29 UTC (permalink / raw)
  To: axp-list

Hello to all,

I've just started getting RH5 running smoothly on an alphastation200 
4/100.  I've updates all rpms in the update directory and also netools.

I've been trying to tailor the kernel to suit my needs but I've run into
serveral problems.  I am using the SRPMS directory and rpm to get
kernel-alpha-2.0.30-2.  I applied the alpha-patches distributed by
linking the "old" and "new" directory to the "linux-2.0.30" directory.

i)make mrproper and make config always works fine.
ii)make dep froze the alpha yesterday
iii)make boot crashed once or twice.  It also issues a vast amount of
warnings when compiling the network files such as

tcp.c: In function `do_tcp_sendmsg':
tcp.c:1138: warning: `seglen' might be used uninitialized in this function

ip_output.c: In function `ip_build_xmit':
ip_output.c:560: warning: `fraglen' might be used uninitialized in this 
function

etc etc.  Also when I try to compile with all SCSI drivers it 
systematically crashes when compiling those.

I am making with only the 53c810 SCSI driver since that is what MILO 
recognizes as my SCSI adapter.  I have tried various settings 
pertaining to that driver but none make any difference. Also I am 
requesting that all console messages be sent to COM1.  That's about all
there is special to my config.

Once the kernel is created, I copy it to /vmlinux2.gz, go back to milo
and reboot on that kernel.  It always hangs the alpha after it has loaded
the kernel and displayed various things.  It stops when it has displayed
the current date and time.

I really don't know what's wrong !! Any clues?

Philippe Girolami
Ecole Centrale de Lille


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

* Re: Can't get a working kernel !
  1998-03-12 22:29 Philippe GIROLAMI
@ 1998-03-12 22:43 ` Christopher Curtis
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Curtis @ 1998-03-12 22:43 UTC (permalink / raw)
  To: axp-list

On Thu, 12 Mar 1998, Philippe GIROLAMI wrote:

> I've been trying to tailor the kernel to suit my needs but I've run into
> serveral problems.  I am using the SRPMS directory and rpm to get
> kernel-alpha-2.0.30-2.  I applied the alpha-patches distributed by
> linking the "old" and "new" directory to the "linux-2.0.30" directory.

This you don't want to do.  Go get kernel 2.0.33 and get the alpha patches
for 2.0.32 (unless there are some for 2.0.33) off of gatekeeper.dec.com. 
Don't worry about symlinking or anything of that nature, just untar the
kernel source from /usr/src, then cd to /usr/src/linux and do "zcat
../alpha-patches* | patch -p1" (or wherever you happened to put them). 

> i)make mrproper and make config always works fine.

Hmm - I've never done a 'mrproper'.  make config is all you need.  It
seems you can even do a 'make xconfig' _if_it's_the_first_time.  After
that, xconfig doesn't work.

> iii)make boot crashed once or twice.  It also issues a vast amount of
> warnings when compiling the network files such as

These are probably redhat-isms conflicting with the patches.

> etc etc.  Also when I try to compile with all SCSI drivers it 
> systematically crashes when compiling those.

I have a problem doing the same.  Just compile the driver(s) you need and
things should be okay.

> pertaining to that driver but none make any difference. Also I am 
> requesting that all console messages be sent to COM1.  That's about all
> there is special to my config.

I've never touched that, either...

See if that takes you any further!

--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/


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

* RE: Can't get a working kernel !
@ 1998-03-13  7:26 Philippe GIROLAMI
  1998-03-14  3:32 ` Chris  Saundo  Saunderson
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe GIROLAMI @ 1998-03-13  7:26 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

[-- Attachment #1: Type: text/plain, Size: 598 bytes --]

Ok, I did what Christopher Curtis said and I now have a bootable kernel.
Unfortunatly it does 3
"Kernel: unaligned trap at ..."
every 10 seconds on the console.

What might help you tell me what the problem is, is that this still goes on after 
I do a "shutdown -h now" and the "System Halted" message appears on the console

Once again I'm stumped.  The only thing I could think of is that I've prepared a DOS
partition for linload and that I haven't formated it yet so I get an error everytime I mount
it (it's done automagically at startup).
Any ideas?

Philippe Girolami
Ecole Centrale de Lille

[-- Attachment #2: Type: application/ms-tnef, Size: 1576 bytes --]

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

* Re: Can't get a working kernel !
  1998-03-13  7:26 Can't get a working kernel ! Philippe GIROLAMI
@ 1998-03-14  3:32 ` Chris  Saundo  Saunderson
  0 siblings, 0 replies; 4+ messages in thread
From: Chris  Saundo  Saunderson @ 1998-03-14  3:32 UTC (permalink / raw)
  To: axp-list

In message <01BD4E59.CA3D1AE0@lf325.rez.ec-lille.fr>, you wrote :


> Ok, I did what Christopher Curtis said and I now have a bootable kernel.
> Unfortunatly it does 3 "Kernel: unaligned trap at ..." every 10 seconds on
> the console.
> 
> What might help you tell me what the problem is, is that this still goes on
> after  I do a "shutdown -h now" and the "System Halted" message appears on
> the console


Simple. It's an informational message, not a error message. You can either
drop back to 2.0.30, update your glibc, or do what I did - comment out
the error message from the kernel source :-) (traps.c)


> Once again I'm stumped.  The only thing I could think of is that I've
> prepared a DOS partition for linload and that I haven't formated it yet so I
> get an error everytime I mount it (it's done automagically at startup).
> Any ideas?

Dunno about this. Unaligned traps are kernel based and relate to memory. 
Nothing at all to do with disk.


> Content-Type: application/ms-tnef
> Content-Transfer-Encoding: base64

Can you turn this stuff off please?

--
Chris "Saundo" Saunderson       Chris.Saunderson@adelaide.maptek.com.au
Technical Support Engineer      Telephone: (08) 8379 7333
Maptek Pty Ltd                  Fax:       (08) 8379 7377
                                Powered by Linux, Jolt and the Orb.


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

end of thread, other threads:[~1998-03-14  4:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-13  7:26 Can't get a working kernel ! Philippe GIROLAMI
1998-03-14  3:32 ` Chris  Saundo  Saunderson
  -- strict thread matches above, loose matches on Subject: below --
1998-03-12 22:29 Philippe GIROLAMI
1998-03-12 22:43 ` Christopher Curtis

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