[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6fcc0a0901171547o26a2cd1l86dc09fcb28a667@mail.gmail.com>
Date: Sun, 18 Jan 2009 02:47:53 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: David Wagner <daw@...berkeley.edu>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Checking module parameters
On Sun, Jan 18, 2009 at 1:26 AM, David Wagner <daw@...berkeley.edu> wrote:
> Is there a way to tell what options have been applied to a currently
> loaded kernel module?
/sys/module/[module name]/parameters/ (if i remember correctly)
> I'm trying to force libata to use 1.5Gbps rather than 3Gbps, so I created
> a file /etc/modprobe.d/local containing:
> options libata force=1.5Gbps
> However my SATA drive gets loaded at 3Gbps. I'm trying to figure out how
> to debug this so that I can tell whether the option got correctly applied
> to the libata module, and if not, how to force the SATA link to 1.5Gbps.
> Any suggestions or ideas?
>
> (I can't set libata.force=1.5Gbps as a kernel argument because on my
> Fedora kernel, libata is loaded as a module rather than built into the
> kernel. I can't run "modprobe libata force=1.5Gbps" by hand because
> I've got SATA drives, so the libata module is automatically loaded before
> I get shell access.)
This may not work if libata module is loaded from initrd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists