[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling a kernel



Chris wrote:
> 
> Hi again,
> 
> Thanks to Ralph for his instructions (below).  However, after packaging
> the kernel, then installing I still get the following message when I run
> lsof:
> 
> mort:~# lsof
> lsof: kernel symbol address mismatch: el3_probe
>       get_kernel_syms() value is 0x2825004; /boot/System.map-2.0.33 value
> is 0x1a444c.
>       There was 1 additional mismatch.
>       /boot/System.map-2.0.33 and the booted kernel may not be a matched
> set.
> 
> Any ideas what is causing this?
> 
> My lilo config is the following:
> 
> boot=/dev/hda2
> root=/dev/hda2
> compact
> install=/boot/boot.b
> map=/boot/map
> vga=normal
> delay=0
> image=/vmlinuz
> label=Linux
> read-only
> 
> /vmlinuz is a symlink to /vmlinuz-2.0.33.  This kernel and the file
> /boot/System.map were installed by the kernel package.

/vmlinuz should be a link to boot/vmlinuz-2.0.33

if you, as root:

ls -l /vmlinuz /boot

you should see /vmlinuz, /boot/System.map-2.0.33, /boot/vmlinuz-2.0.33,
should all have the same create time.  If not, I'd rm all of those,
and dpkg --install /usr/src/kernel-image<whatever>.deb and check
again.  If they still don't match, ask Manoj ;-)
> 
> Thanks for any help,
> 
> Chris
> 
> On Sat, 6 Jun 1998, Ralph Winslow wrote:
> 
> > When Chris wrote, I replied:
> >
> > This is what I last did:
> >
> > I already had loaded the make-kpkg package, if you havn't, get it
> > using dselect.
> >
> > Use dselect to download the kernel I wanted.  (Since this was the same
> > as my previous, bo, version, I did "cd /usr/src/kernel; rf -rf *"
> > first).
> >
> > cd /usr/src/kernel; make config # you may prefer xconfig
> >
> > make-kpkg --bzimage kernel-image
> >
> > cd ..; dpkg --install <the_package_I_just_made>.deb
> >
> > It was just that simple for me, YMMV - if it does, post to this list and
> > I'm sure the help you need will be forth coming.  The make config (or
> > xconfig, if you prefer) step is more complicated than it looks as you
> > must
> > answer detailed questions about your hardware and desired software
> > options
> > and these answers aren't always obvious.  Write down the question, guess
> > an answer, and when you're done, don't go on to the next step until you
> > seek advice (this list is a terrific place to get that) and, if
> > necessary,
> > re-run make config if you find that there are better answers than those
> > you first gave.
> 
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
-----------------------------------------
Ralph Winslow		      rjw@nac.net
<Insert sardonic phrase here>


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: