linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miles Lane <miles@megapathdsl.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: I should not be getting a "request_module[scsi_hostadapter]: Root fs not mounted" error.
Date: Thu, 08 Feb 2001 08:16:21 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-98162023523094@msgid-missing> (raw)

>> Andrew Morton wrote:
>>
>>> Miles Lane wrote:
>>>
[...]
>>> I am getting a SCSI hotplug error early in the boot cycle.
>>> 
>>>     Jan 22 02:12:47 agate kernel: request_module[scsi_hostadapter]: Root
>>> fs not mounted
>>> 
>>> I thought this was fixed?
>> 
>> Mostly.
>> 
>> Perhaps you could stick a `show_trace(0)' into request_module()
>> where this print happens, feed the dmesg output through ksymoops?

I am still able to reproduce this in 2.4.1-ac5.
This laptop has hotplug-2001_01_23-1 installed from
RPM with debugging enabled into /sbin/hotplug.


Here is the content in /var/log/kernel leading up
to the stack trace:

   SCSI subsystem driver Revision: 1.00
   Call Trace: [<c0105000>] [<c0105000>] [<c01b0c63>] [<c0107007>] [<c010744f>] 
   request_module[scsi_hostadapter]: Root fs not mounted


Here's what the stack trace looks like:

Kernel command line: BOOT_IMAGE=Serial-Debug ro root05 pci=biosirq console=ttyS0,38400 console=tty0 setup_delay\x10
Call Trace: [<c0105000>] [<c0105000>] [<c01b0c63>] [<c0107007>] [<c010744f>] 
Warning (Oops_read): Code line not seen, dumping what data is available

Trace; c0105000 <empty_bad_page+0/1000>
Trace; c0105000 <empty_bad_page+0/1000>
Trace; c01b0c63 <scsi_register_module+47/5c>
Trace; c0107007 <init+7/150>
Trace; c010744f <kernel_thread+23/30>

As you requested, I inserted show_trace(0) into
request_module() at the very start of the function
in kmod.c, like this:

-------------
int request_module(const char * module_name)
{
	pid_t pid;
	int waitpid_result;
	sigset_t tmpsig;
	int i;
	static atomic_t kmod_concurrent = ATOMIC_INIT(0);
#define MAX_KMOD_CONCURRENT 50	/* Completely arbitrary value - KAO */
	static int kmod_loop_msg;

	show_trace(0);
--------------

I hope this helps.

Thanks,
	Miles


_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

                 reply	other threads:[~2001-02-08  8:16 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=marc-linux-hotplug-98162023523094@msgid-missing \
    --to=miles@megapathdsl.net \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).