From: Kay Sievers <kay.sievers@vrfy.org>
To: Jin Dongming <jin.dongming@np.css.fujitsu.com>
Cc: Jiri Kosina <jkosina@suse.cz>, gregkh <gregkh@suse.de>,
LKLM <linux-kernel@vger.kernel.org>,
Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>,
Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Subject: Re: [GIT BISECT -next] mem.c: could not login on console of fedora 10
Date: Mon, 14 Sep 2009 13:49:41 +0200 [thread overview]
Message-ID: <ac3eb2510909140449v6428a2e0jf3d3cc5200973b4c@mail.gmail.com> (raw)
In-Reply-To: <4AADEA82.8000500@np.css.fujitsu.com>
2009/9/14 Jin Dongming <jin.dongming@np.css.fujitsu.com>:
> When I build and boot -next on fedora 10, I can not login anymore.
> When I input the user name and password, the system does not output
> any message and requires user to input the user name and password
> again and again.
>
> I find the patch which caused this problem with "GIT BISECT" command.
> And the patch is
> commit 7c4b7daa1878972ed0137c95f23569124bd6e2b1
> "mem_class: use minor as index instead of searching the array".
>
> Though I don't know the real reason why user could not login, I
> confirmed the patch I made as following could resolve the problem on
> fedora 10.
>
> Signed-off-by: Jin Dongming <jin.dongming@np.css.fujitsu.com>
> ---
> drivers/char/mem.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/char/mem.c b/drivers/char/mem.c
> index bed3503..0491cdf 100644
> --- a/drivers/char/mem.c
> +++ b/drivers/char/mem.c
> @@ -878,8 +878,8 @@ static const struct memdev {
> [ 4] = { "port", &port_fops, NULL },
> #endif
> [ 5] = { "zero", &zero_fops, &zero_bdi },
> - [ 6] = { "full", &full_fops, NULL },
> - [ 7] = { "random", &random_fops, NULL },
> + [ 7] = { "full", &full_fops, NULL },
> + [ 8] = { "random", &random_fops, NULL },
> [ 9] = { "urandom", &urandom_fops, NULL },
> [11] = { "kmsg", &kmsg_fops, NULL },
> #ifdef CONFIG_CRASH_DUMP
Yeah, that looks messed up and it seems like the right fix.
Greg, care to merge that into the patch in your tree?
Thanks for the fix and sorry,
Kay
prev parent reply other threads:[~2009-09-14 11:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 7:02 Jin Dongming
2009-09-14 9:07 ` Jiri Kosina
2009-09-14 11:49 ` Kay Sievers [this message]
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=ac3eb2510909140449v6428a2e0jf3d3cc5200973b4c@mail.gmail.com \
--to=kay.sievers@vrfy.org \
--cc=gregkh@suse.de \
--cc=jin.dongming@np.css.fujitsu.com \
--cc=jkosina@suse.cz \
--cc=kaneshige.kenji@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=seto.hidetoshi@jp.fujitsu.com \
/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®