mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jim Gifford" <maillist@jg555.com>
To: "Kernel" <linux-kernel@vger.kernel.org>
Subject: Building Kernel with IDE as Modules
Date: Tue, 11 May 2004 11:07:40 -0700	[thread overview]
Message-ID: <033501c43782$d9dc8300$d100a8c0@W2RZ8L4S02> (raw)

First of all, I know it shouldn't be done! But the reason I'm doing this is
because I maintain the mkinitrd script for the LFS system. This happens with
all 2.6.x up to 2.6.6. Comments and suggestions are welcome.

I noticed the following issues:

On the help for <M> ATA/ATAPI/MFM/RLL support it says the modules name is
ide, I think it no longer exists.

On the help for <M>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support is
ide-mod, I 'm assume the correct name is ide-core

My script worked perfect under 2.4.x, but trying to upgrade it to 2.6.x has
been a challenge in the IDE section

So in theory I should be able to my script load ide-core, ide-disk, then
ide-generic (or the specific chipset driver). When I do I start seeing some
interesting problems. Everything boots up find until another module is
loaded, in my case the tulip driver. I get the following dump

May 10 23:04:13 linux Unable to handle kernel paging request at virtual
address e3920e98

May 10 23:04:13 linux printing eip:

May 10 23:04:13 linux c01a2d27

May 10 23:04:13 linux *pde = 015bc067

May 10 23:04:13 linux *pte = 00000000

May 10 23:04:13 linux Oops: 0002 [#1]

May 10 23:04:13 linux PREEMPT

May 10 23:04:13 linux CPU:    0

May 10 23:04:13 linux EIP:    0060:[<c01a2d27>]    Not tainted

May 10 23:04:13 linux EFLAGS: 00010292   (2.6.6-lfs-3)

May 10 23:04:13 linux EIP is at kobject_add+0x77/0x110

May 10 23:04:13 linux eax: c02b2ee0   ebx: e38eaffc   ecx: e3920e98   edx:
e38eb018

May 10 23:04:13 linux esi: ffffffea   edi: c02b2ee8   ebp: e38eafe4   esp:
decf3f1c

May 10 23:04:13 linux ds: 007b   es: 007b   ss: 0068

May 10 23:04:13 linux Process modprobe (pid: 499, threadinfo=decf2000
task=df782090)

May 10 23:04:13 linux Stack: c02b2ee8 e38eaffc e38eaffc ffffffea 00000000
c01a2de8 e38eaffc e38eaffc

May 10 23:04:13 linux c02b2e80 e38eaffc c02b2e80 c01d333a e38eaffc e38e6eda
e38eafc0 00000000

May 10 23:04:13 linux e38eb058 c0283f9c c01d37bf e38eafe4 00000400 e38e6f71
decf3f9c e38ddf74

May 10 23:04:13 linux Call Trace:

May 10 23:04:13 linux [<c01a2de8>] kobject_register+0x28/0x70

May 10 23:04:13 linux [<c01d333a>] bus_add_driver+0x4a/0xc0

May 10 23:04:13 linux [<c01d37bf>] driver_register+0x2f/0x40

May 10 23:04:13 linux [<c01aa8ec>] pci_register_driver+0x5c/0x90

May 10 23:04:13 linux [<e3844038>] tulip_init+0x38/0x46 [tulip]

May 10 23:04:13 linux [<c012cd3f>] sys_init_module+0x11f/0x250

May 10 23:04:13 linux [<c0105ab9>] sysenter_past_esp+0x52/0x71

May 10 23:04:13 linux

May 10 23:04:13 linux Code: 89 11 89 4a 04 8b 43 28 8b 30 8d 4e 48 89 c8 ba
ff ff 00 00





----
Jim Gifford
maillist@jg555.com


                 reply	other threads:[~2004-05-11 18:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='033501c43782$d9dc8300$d100a8c0@W2RZ8L4S02' \
    --to=maillist@jg555.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®