linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: I should not be getting a "request_module[scsi_hostadapter]: Root fs not mounted" error.
@ 2001-02-08  8:16 Miles Lane
  0 siblings, 0 replies; only message in thread
From: Miles Lane @ 2001-02-08  8:16 UTC (permalink / raw)
  To: linux-hotplug

>> 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-08  8:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-08  8:16 I should not be getting a "request_module[scsi_hostadapter]: Root fs not mounted" error Miles Lane

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).