I should not be getting a "request_module[scsi_hostadapter]: Root fs not mounted" error.
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines · Andrew Morton
Miles Lane wrote:
[...]
Quoted 11 lines
Quoted 11 lines
Quoted 6 lines
I am getting a SCSI hotplug error early in the boot cycle.
Jan 22 02:12:47 agate kernel: request_module[scsi_hostadapter]: Rootfs 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
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
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel