All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andrew D. Ball" <aball@us.ibm.com>
To: xen-devel@lists.xensource.com
Subject: Re: linux-2.6-xen kernels and initrds
Date: Thu, 30 Mar 2006 18:27:02 -0500	[thread overview]
Message-ID: <442C6946.2020201@us.ibm.com> (raw)

I may be seeing the same problem.  It looks like something is messed up
with the way the kernel modules are versioned or their symbol tables,
but I don't know quite enough to finish figuring out what's wrong at the
moment.

Here's some of the error messages I saw while trying to boot:

==
Mounting sysfs
Creating /dev
Starting udev

Loading scsi_mod.ko module
scsi_mod: no version for "struct_module" found: kernel tainted.
Loading sd_mod.ko module
SCSI subsystem initialized
sd_mod: Unknown symbol scsi_print_sense_hdr
Loading libata.ko module
sd_mod: Unknown symbol scsi_mode_sense
insmod: error inserting '/lib/sd_mod.ko': -1 Unknown symbol in module
sd_mod: Unknown symbol scsi_device_get
Loading ata_piix.ko module
sd_mod: Unknown symbol scsi_get_sense_info_fld
insmod: error inserting '/lib/libata.ko': -1 Unknown symbol in module
==

If I do objdump -x on sd_mod from /lib/modules/2.6.16-xen I see several
lines like this:

00000000         *UND*  00000000 scsi_print_sense_hdr

in the symbol table dump.  This is one of the symbols that the initrd
complained about.

Any help fixing this would be appreciated.  I can post more output if
needed.

Thanks!
Andrew
==============
Andrew D. Ball <aball@us.ibm.com>


David F. Barrera wrote:
> I have a question regarding the building of the unified xen kernel 
> (linux-2.6-xen) and the use of initrd.  In the past I built both xen0 
> and xenU kernels; the xen0 default configurations had SCSI and Fusion 
> MPT support compiled into the kernel.  Now, they are built as modules. 
> The problem is that I am unable to boot the xen kernel built that way, 
> even though I am building an initrd. I have machines running both SLES 
> and FC that are exhibiting this problem. The question is, do I need to 
> do something special to build the initrds?  In SuSE, I typically just 
> used the 'mkinitrd' command; in FC4, I do it like this: "mkinitrd -v -f 
> --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.16-xen 
> 2.6.16-xen". At any rate, nothing has worked to this point.
> 
> The SCSI device support help page in 'make menuconfig' states 'do not 
> compile this as a module if your root file system (the one containing 
> the directory /) is located on a SCSI device.', which is the case in my 
> setup. But I have seen it where the distros compile it as module, and 
> the initrd takes care of it.
> 
> Any help would be appreciated.
> 

             reply	other threads:[~2006-03-30 23:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-30 23:27 Andrew D. Ball [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-30 23:47 linux-2.6-xen kernels and initrds Puthiyaparambil, Aravindh
2006-03-30 22:12 David F. Barrera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=442C6946.2020201@us.ibm.com \
    --to=aball@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.