All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: insmod uhci causes computer to reset
Date: Sun, 07 Jun 2009 15:10:53 -0400	[thread overview]
Message-ID: <1244401853.27559.25.camel@mj> (raw)
In-Reply-To: <6d6c12960906071203r6e4a5dfek9a9da7522feaab4e@mail.gmail.com>

On Sun, 2009-06-07 at 20:03 +0100, Oliver Henshaw wrote:
> Even with the fixes described previously, grub fails with an UHCI
> controller (VIA uhci
> chipset on the motherboard). When no devices are attached, module
> loading completes
> successfully. When a mouse is attached, module loading completes but
> listing the device with
> 'usb' causes the machine to reset. If I try without 'set debug=uhci'
> then 'insmod uhci' causes
> the computer to hang.

Maybe the crash is in usb_keyboard?

I know that term/usb_keyboard.c assumes that there is exactly one USB
keyboard.  It there is no USB keyboard, the code would crash because
usbdev is NULL.  Also, the matching of the keyboard is incorrect.  It
checks the device descriptor (even that code is a hack), but not the
interface descriptor.

-- 
Regards,
Pavel Roskin



  reply	other threads:[~2009-06-07 19:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-07 19:03 insmod uhci causes computer to reset Oliver Henshaw
2009-06-07 19:10 ` Pavel Roskin [this message]
2009-06-07 20:22   ` Oliver Henshaw
2009-06-08  0:47     ` Pavel Roskin

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=1244401853.27559.25.camel@mj \
    --to=proski@gnu.org \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.