Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Compiled kernel ,no harware support?
@ 2003-11-07 22:36 Conny
  2003-11-08  1:20 ` Robert M. Riches Jr
  0 siblings, 1 reply; 12+ messages in thread
From: Conny @ 2003-11-07 22:36 UTC (permalink / raw)


I have an Alpha Station 400 4/233 with: DEC eth-card, Microsoft Soundsystem
soundcard and a Tekram 395 scsi card.

I just compiled my first kernel ( 2.4.18 )
I did it this way:

make menuconfig       ( checked all my hardware support )
make dep                  ( no problems )
make modules           ( no problems )
make modules_install ( no problems )
make all                     ( no problems )
make boot                 ( no problems )

The I copy the kernel to /boot/ and booted it from aboot without problems.
But none of my hardware was working, no network, no sound and the Tekram 395
was not found.

The old kernel (2.2.20) has a working eth-card

Is there something I been missing here?

Conny





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

* Re: Compiled kernel ,no harware support?
  2003-11-07 22:36 Compiled kernel ,no harware support? Conny
@ 2003-11-08  1:20 ` Robert M. Riches Jr
  2003-11-08 12:41   ` Conny
  2003-11-08 18:32   ` Michal Jaegermann
  0 siblings, 2 replies; 12+ messages in thread
From: Robert M. Riches Jr @ 2003-11-08  1:20 UTC (permalink / raw)


In article <l7Vqb.32844$mU6.97868@newsb.telia.net>, Conny wrote:
> I have an Alpha Station 400 4/233 with: DEC eth-card, Microsoft Soundsystem
> soundcard and a Tekram 395 scsi card.
> 
> I just compiled my first kernel ( 2.4.18 )
> I did it this way:
> 
> make menuconfig       ( checked all my hardware support )
> make dep                  ( no problems )
> make modules           ( no problems )
> make modules_install ( no problems )
> make all                     ( no problems )
> make boot                 ( no problems )
> 
> The I copy the kernel to /boot/ and booted it from aboot without problems.
> But none of my hardware was working, no network, no sound and the Tekram 395
> was not found.
> 
> The old kernel (2.2.20) has a working eth-card
> 
> Is there something I been missing here?

A long shot until somebody who really knows responds:

Did you copy the initrd to /boot?  IIRC, you can do 'make
install' to copy everything to /boot for you, _including_
some files you might have missed.  Another possible solution
might be to run a utility to create a new initrd based on
your hardware, mkinitrd, IIRC.

Good luck.

Robert Riches
spamtrap42@verizon.net
(Yes, that is one of my email addresses.)


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

* Re: Compiled kernel ,no harware support?
  2003-11-08  1:20 ` Robert M. Riches Jr
@ 2003-11-08 12:41   ` Conny
  2003-11-08 22:49     ` Robert M. Riches Jr
  2003-11-08 18:32   ` Michal Jaegermann
  1 sibling, 1 reply; 12+ messages in thread
From: Conny @ 2003-11-08 12:41 UTC (permalink / raw)



"Robert M. Riches Jr" <spamtrap42@verizon.net> skrev i meddelandet
news:slrnbqoh6k.q2q.rob@one.localnet...
> In article <l7Vqb.32844$mU6.97868@newsb.telia.net>, Conny wrote:
> > I have an Alpha Station 400 4/233 with: DEC eth-card, Microsoft
Soundsystem
> > soundcard and a Tekram 395 scsi card.
> >
> > I just compiled my first kernel ( 2.4.18 )
> > I did it this way:
> >
> > make menuconfig       ( checked all my hardware support )
> > make dep                  ( no problems )
> > make modules           ( no problems )
> > make modules_install ( no problems )
> > make all                     ( no problems )
> > make boot                 ( no problems )
> >
> > The I copy the kernel to /boot/ and booted it from aboot without
problems.
> > But none of my hardware was working, no network, no sound and the Tekram
395
> > was not found.
> >
> > The old kernel (2.2.20) has a working eth-card
> >
> > Is there something I been missing here?
>
> A long shot until somebody who really knows responds:
>
> Did you copy the initrd to /boot?  IIRC, you can do 'make
> install' to copy everything to /boot for you, _including_
> some files you might have missed.  Another possible solution
> might be to run a utility to create a new initrd based on
> your hardware, mkinitrd, IIRC.
>

Is the initrd also created when the kernel is compiled?
If so the initrd must laying around in the same directory as the new kernel?

I looked at the kernel.log and noticed these messages when it booted:

Nov 7 23:12:54 debian kernel:  Cannot find map file
Nov 7 23:12:54 debian kernel:  Error seeking in /dev/kmem
Nov 7 23:12:54 debian kernel:  Error adding kernel module table entry

Conny




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

* Re: Compiled kernel ,no harware support?
  2003-11-08  1:20 ` Robert M. Riches Jr
  2003-11-08 12:41   ` Conny
@ 2003-11-08 18:32   ` Michal Jaegermann
  2003-11-08 21:04     ` Conny
                       ` (2 more replies)
  1 sibling, 3 replies; 12+ messages in thread
From: Michal Jaegermann @ 2003-11-08 18:32 UTC (permalink / raw)


Robert M. Riches Jr <spamtrap42@verizon.net> wrote:
> In article <l7Vqb.32844$mU6.97868@newsb.telia.net>, Conny wrote:
>> 
>> The I copy the kernel to /boot/ and booted it from aboot without problems.
> 
> Did you copy the initrd to /boot?

Well, he boots "without problems" and if this is really the case then
initrd is not doing anything useful or is required for anything
(assuming that "without problems" means also that all mount types are
correct).  OTOH we do not even know if various hardware support was
configured and, if this was attempted in form of modules, if these
modules are in place and even if a support for module loading was
turned on in this kernel.

For a known fixed configuration one can have most of anything as
built-in (some things are available only as modules - various
netfilter features, for example).

   Michal


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

* Re: Compiled kernel ,no harware support?
  2003-11-08 18:32   ` Michal Jaegermann
@ 2003-11-08 21:04     ` Conny
  2003-11-08 21:06     ` Conny
  2003-11-09  1:53     ` Conny
  2 siblings, 0 replies; 12+ messages in thread
From: Conny @ 2003-11-08 21:04 UTC (permalink / raw)



"Michal Jaegermann" <michal@gortel.phys.ualberta.ca> skrev i meddelandet
news:bojcs8$nrs$1@tabloid.srv.ualberta.ca...
> Robert M. Riches Jr <spamtrap42@verizon.net> wrote:
> > In article <l7Vqb.32844$mU6.97868@newsb.telia.net>, Conny wrote:
> >>
> >> The I copy the kernel to /boot/ and booted it from aboot without
problems.
> >
> > Did you copy the initrd to /boot?
>
> Well, he boots "without problems" and if this is really the case then
> initrd is not doing anything useful or is required for anything
> (assuming that "without problems" means also that all mount types are
> correct).  OTOH we do not even know if various hardware support was
> configured and, if this was attempted in form of modules, if these
> modules are in place and even if a support for module loading was
> turned on in this kernel.
>
> For a known fixed configuration one can have most of anything as
> built-in (some things are available only as modules - various
> netfilter features, for example).
>
>    Michal




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

* Re: Compiled kernel ,no harware support?
  2003-11-08 18:32   ` Michal Jaegermann
  2003-11-08 21:04     ` Conny
@ 2003-11-08 21:06     ` Conny
  2003-11-09 19:00       ` Michal Jaegermann
  2003-11-09  1:53     ` Conny
  2 siblings, 1 reply; 12+ messages in thread
From: Conny @ 2003-11-08 21:06 UTC (permalink / raw)



"Michal Jaegermann" <michal@gortel.phys.ualberta.ca> skrev i meddelandet
news:bojcs8$nrs$1@tabloid.srv.ualberta.ca...
> Robert M. Riches Jr <spamtrap42@verizon.net> wrote:
> > In article <l7Vqb.32844$mU6.97868@newsb.telia.net>, Conny wrote:
> >>
> >> The I copy the kernel to /boot/ and booted it from aboot without
problems.
> >
> > Did you copy the initrd to /boot?
>
> Well, he boots "without problems" and if this is really the case then
> initrd is not doing anything useful or is required for anything
> (assuming that "without problems" means also that all mount types are
> correct).  OTOH we do not even know if various hardware support was
> configured and, if this was attempted in form of modules, if these
> modules are in place and even if a support for module loading was
> turned on in this kernel.
>
> For a known fixed configuration one can have most of anything as
> built-in (some things are available only as modules - various
> netfilter features, for example).
>
>    Michal

I configured everything as' compiled in kernel modules' not ' Can be loaded
anytime you want'

I tried 2 times and I cant get the scsi card and the sound or ethernet to
work..
I think I must learn some more in this compile thing.

Conny




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

* Re: Compiled kernel ,no harware support?
  2003-11-08 12:41   ` Conny
@ 2003-11-08 22:49     ` Robert M. Riches Jr
  2003-11-08 23:17       ` Conny
  0 siblings, 1 reply; 12+ messages in thread
From: Robert M. Riches Jr @ 2003-11-08 22:49 UTC (permalink / raw)


In article <Ev5rb.32885$mU6.98351@newsb.telia.net>, Conny wrote:
> 
> 
> Is the initrd also created when the kernel is compiled?
> If so the initrd must laying around in the same directory as the new kernel?
> 
> I looked at the kernel.log and noticed these messages when it booted:
> 
> Nov 7 23:12:54 debian kernel:  Cannot find map file
> Nov 7 23:12:54 debian kernel:  Error seeking in /dev/kmem
> Nov 7 23:12:54 debian kernel:  Error adding kernel module table entry

Did you copy over "System.Map" (or whatever combination of
uppercase and lowercase its letters are in) and/or its
variants with kernel version numbers tacked on?

Again, IIRC, "make install" copies over all the files you
need to boot from.  It makes it easier to avoid omitting
something important.

Good luck.

Robert Riches
spamtrap42@verizon.net
(Yes, that is one of my email addresses.)


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

* Re: Compiled kernel ,no harware support?
  2003-11-08 22:49     ` Robert M. Riches Jr
@ 2003-11-08 23:17       ` Conny
  0 siblings, 0 replies; 12+ messages in thread
From: Conny @ 2003-11-08 23:17 UTC (permalink / raw)



"Robert M. Riches Jr" <spamtrap42@verizon.net> skrev i meddelandet
news:slrnbqqsnk.97r.rob@one.localnet...
> In article <Ev5rb.32885$mU6.98351@newsb.telia.net>, Conny wrote:
> >
> >
> > Is the initrd also created when the kernel is compiled?
> > If so the initrd must laying around in the same directory as the new
kernel?
> >
> > I looked at the kernel.log and noticed these messages when it booted:
> >
> > Nov 7 23:12:54 debian kernel:  Cannot find map file
> > Nov 7 23:12:54 debian kernel:  Error seeking in /dev/kmem
> > Nov 7 23:12:54 debian kernel:  Error adding kernel module table entry
>
> Did you copy over "System.Map" (or whatever combination of
> uppercase and lowercase its letters are in) and/or its
> variants with kernel version numbers tacked on?
>
> Again, IIRC, "make install" copies over all the files you
> need to boot from.  It makes it easier to avoid omitting
> something important.
>
> Good luck.

Yes I copied the System.map to /boot/, everything boot correctly right now.
But I can't get the sound to work and not the eth-card.

I just got the kernel-source-2.4.22 and I will try again.

Conny




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

* Re: Compiled kernel ,no harware support?
  2003-11-08 18:32   ` Michal Jaegermann
  2003-11-08 21:04     ` Conny
  2003-11-08 21:06     ` Conny
@ 2003-11-09  1:53     ` Conny
  2003-11-09  3:05       ` Robert M. Riches Jr
  2 siblings, 1 reply; 12+ messages in thread
From: Conny @ 2003-11-09  1:53 UTC (permalink / raw)



"Michal Jaegermann" <michal@gortel.phys.ualberta.ca> skrev i meddelandet
news:bojcs8$nrs$1@tabloid.srv.ualberta.ca...
> Robert M. Riches Jr <spamtrap42@verizon.net> wrote:
> > In article <l7Vqb.32844$mU6.97868@newsb.telia.net>, Conny wrote:
> >>
> >> The I copy the kernel to /boot/ and booted it from aboot without
problems.
> >
> > Did you copy the initrd to /boot?
>
> Well, he boots "without problems" and if this is really the case then
> initrd is not doing anything useful or is required for anything
> (assuming that "without problems" means also that all mount types are
> correct).  OTOH we do not even know if various hardware support was
> configured and, if this was attempted in form of modules, if these
> modules are in place and even if a support for module loading was
> turned on in this kernel.
>
> For a known fixed configuration one can have most of anything as
> built-in (some things are available only as modules - various
> netfilter features, for example).
>
>    Michal

What is the problem when I can't run 'make bzImage'? I get the message:
*** No rule to make 'bzImage Stop ****
I must skit it and run 'make modules' and make modules_install'
then 'make all' to get a bootable kernel.


Conny




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

* Re: Compiled kernel ,no harware support?
  2003-11-09  1:53     ` Conny
@ 2003-11-09  3:05       ` Robert M. Riches Jr
  2003-11-09 12:58         ` Conny
  0 siblings, 1 reply; 12+ messages in thread
From: Robert M. Riches Jr @ 2003-11-09  3:05 UTC (permalink / raw)


In article <V6hrb.32946$mU6.99425@newsb.telia.net>, Conny wrote:
> 
> What is the problem when I can't run 'make bzImage'? I get the message:
> *** No rule to make 'bzImage Stop ****
> I must skit it and run 'make modules' and make modules_install'
> then 'make all' to get a bootable kernel.

I know that answer.  :-)  :-)  (... mainly because I have
been lurking in this group for quite a while.)

The 'bzImage' make target is a kludge usable only by x86,
from what I have read.  Use 'make boot' for all the superior
architectures (like Alpha).

Good luck.

Robert Riches
spamtrap42@verizon.net
(Yes, that is one of my email addresses.)


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

* Re: Compiled kernel ,no harware support?
  2003-11-09  3:05       ` Robert M. Riches Jr
@ 2003-11-09 12:58         ` Conny
  0 siblings, 0 replies; 12+ messages in thread
From: Conny @ 2003-11-09 12:58 UTC (permalink / raw)



"Robert M. Riches Jr" <spamtrap42@verizon.net> skrev i meddelandet
news:slrnbqrbnp.f22.rob@one.localnet...
> In article <V6hrb.32946$mU6.99425@newsb.telia.net>, Conny wrote:
> >
> > What is the problem when I can't run 'make bzImage'? I get the message:
> > *** No rule to make 'bzImage Stop ****
> > I must skit it and run 'make modules' and make modules_install'
> > then 'make all' to get a bootable kernel.
>
> I know that answer.  :-)  :-)  (... mainly because I have
> been lurking in this group for quite a while.)
>
> The 'bzImage' make target is a kludge usable only by x86,
> from what I have read.  Use 'make boot' for all the superior
> architectures (like Alpha).
>
> Good luck.
>

Ok thanks, yes I been googling around and found the problem solution.
Seems like make boot will work.

Conny




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

* Re: Compiled kernel ,no harware support?
  2003-11-08 21:06     ` Conny
@ 2003-11-09 19:00       ` Michal Jaegermann
  0 siblings, 0 replies; 12+ messages in thread
From: Michal Jaegermann @ 2003-11-09 19:00 UTC (permalink / raw)


Conny <NOSPAMuncurbed@swipnet.se> wrote:
> 
> 
> I configured everything as' compiled in kernel modules' not ' Can be loaded
> anytime you want'

So what will be really a difference?  Forgetting for the time beeing
about some corner cases and taking into account that you cannot unload
modules which are "in use".

> I tried 2 times and I cant get the scsi card and the sound or ethernet to
> work..

Do you have modules compiled?  Can they be loaded?  Explicitly with
'insmod' on the first try?  Configuration of autoloading can be left for
later.  Explaining what you really mean by "I cant get it to work" is
always a good idea if you ask for help.

Are you booting from a disk attached to that scsi controller in
question?  Because if you are then obviously your scsi support is
working or you would not boot at all.

> I think I must learn some more in this compile thing.

After you configured your kernel type 'make dep; make boot modules' in a
top directory of your kernel sources and that is about everything to
learn.

  Michal


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

end of thread, other threads:[~2003-11-09 19:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-07 22:36 Compiled kernel ,no harware support? Conny
2003-11-08  1:20 ` Robert M. Riches Jr
2003-11-08 12:41   ` Conny
2003-11-08 22:49     ` Robert M. Riches Jr
2003-11-08 23:17       ` Conny
2003-11-08 18:32   ` Michal Jaegermann
2003-11-08 21:04     ` Conny
2003-11-08 21:06     ` Conny
2003-11-09 19:00       ` Michal Jaegermann
2003-11-09  1:53     ` Conny
2003-11-09  3:05       ` Robert M. Riches Jr
2003-11-09 12:58         ` Conny

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