Bug 7248 - Input devices are dead at begin of iso install (Mageia 3 Alpha 1)
Summary: Input devices are dead at begin of iso install (Mageia 3 Alpha 1)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: Mageia 3
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard: 3alpha1
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-29 22:56 CEST by Juergen Harms
Modified: 2012-09-01 07:46 CEST (History)
8 users (show)

See Also:
Source RPM: ldetect
CVE:
Status comment:


Attachments
Output of lspcidrake (Mageia 2) (2.96 KB, text/plain)
2012-08-30 00:26 CEST, Juergen Harms
Details
adapt ldetect to kernel-3.5+ (443 bytes, patch)
2012-08-30 11:36 CEST, Thierry Vignaud
Details | Diff
more changes for stage2 (4.48 KB, patch)
2012-08-30 15:17 CEST, Thierry Vignaud
Details | Diff

Description Juergen Harms 2012-08-29 22:56:30 CEST
Description of problem:

Intalling the Alpha1 iso (DVD), both my keyboard and my mouse are dead: the install comes to the first screen  ("Please choose a language to use"), but it is impossible to select a list item (keyboard arrows or mouse), nor to hit any button.

Already before the language screen comes up, all the ALT-Fx buttons are insensitive. (Dell Optiplex 990, USB 3-button mouse, USB keyboard)


Version-Release number of selected component (if applicable):

Mageia 3 Alpha 1


How reproducible:

For me 100%. Another tester reports that his keyboard worked, although the mouse did not work. But he installed on a laptop with an internal keyboard. Which would be consistent with the problem being with USB input devices

Steps to Reproduce:
1. Launch install from the iso DVD
2. Wait until the language selection screen comes up
3. Try to select a language and hit a button.
Juergen Harms 2012-08-29 23:10:44 CEST

Summary: Input devices are dead at begin of iso install => Input devices are dead at begin of iso install (Mageia 3 Alpha 1)

Comment 1 Dave Hodgins 2012-08-29 23:20:44 CEST
Most likely a missing hid module.

Anyone with this problem, in mga 2 run "lspcidrake>lspcidrake.txt",
then attach the output to this bug report, stating whether it's the
mouse, keyboard, or both, that isn't working.

CC: (none) => davidwhodgins

Comment 2 Luc Menut 2012-08-29 23:47:17 CEST
It could be related to /proc/bus/usb no longer available ?
see this thread today on mageia-dev ML: [Mageia-dev] dropping /proc/bus/usb
https://www.mageia.org/pipermail/mageia-dev/2012-August/018351.html

CC: (none) => lmenut, mageia, mageia, thierry.vignaud

Comment 3 Colin Guthrie 2012-08-30 00:00:13 CEST
Very unlikely to be related to /proc/bus/usb I think. It's be deprecated for a long time and I doubt any input device stuff relies on it... I could be wrong tho' - the installer may make some strange use of it. So not 100% sure what's up here :s
Comment 4 Alfred Kretschmer 2012-08-30 00:06:22 CEST
(In reply to comment #0)
>  Another tester reports that his keyboard worked, although the
> mouse did not work. But he installed on a laptop with an internal keyboard.
> Which would be consistent with the problem being with USB input devices
> 
correctly, that's me. I noticed that my mouse was bound to the xhci-controller instead of ehci. might that be the reason for?

CC: (none) => alfred.kretschmer

Manuel Hiebel 2012-08-30 00:10:34 CEST

Depends on: (none) => 7130
Target Milestone: --- => Mageia 3

Comment 5 Colin Guthrie 2012-08-30 00:17:52 CEST
Yeah this is likely related. I guess the boot iso doesn't include USB3 drivers properly (I'm not entirely sure how accurate this is as I know they were included on live CDs to allow booting from USB3 Flash Drives - but perhaps it does just mean something is missing for the installer in some capacity. TV will likely know better than me.
Comment 6 Juergen Harms 2012-08-30 00:26:42 CEST
Created attachment 2694 [details]
Output of lspcidrake (Mageia 2)

Both keyboard and mouse do not work when trying to install Alpha1
Comment 7 Thierry Vignaud 2012-08-30 11:22:53 CEST
Kernel-3.5 drop support for /proc/bus/usb which breaks ldetect
Can you try boot.iso directly instead?
eg from http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/install/images/
Does keyboard works with it?
If no that means as ldetect cannot see USB modules, we may not load some modules.
Thierry Vignaud 2012-08-30 11:33:47 CEST

CC: (none) => tmb

Comment 8 Thierry Vignaud 2012-08-30 11:36:04 CEST
Created attachment 2695 [details]
adapt ldetect to kernel-3.5+

This patch works on FC after running the following:
mount -t debugfs none /sys/kernel/debug

Can someone try it on Mga?
Just:
- unpack ldetect sources (from either SVN or the SRPM)
- apply the patch (patch -p0 /where/it/was/downloaded/7248.diff)
- run "make run"

This will need we patch stage1 in order to mount it.

Status: NEW => ASSIGNED
Assignee: bugsquad => thierry.vignaud

Comment 9 Juergen Harms 2012-08-30 11:55:56 CEST
> Can you try boot.iso directly instead? (Comment 7)

Burned a CD with boot.iso from the url you gave and booted from it: cannot select an item from the menu for selecting the installation method - the keyboard is dead here also
Comment 10 Yves Gaël Chény 2012-08-30 12:02:47 CEST
i'have found the same bug than you tv. I'll compile ldetect and back in few minutes

CC: (none) => yves

Comment 11 claire robinson 2012-08-30 12:30:40 CEST
The rescue system on the dvd is also affected by this
Comment 12 Yves Gaël Chény 2012-08-30 13:16:32 CEST
You can test with a netinstall, using : 
http://mageia.r0b0t.fr/people/hurdman/linux/Mageia/distrib/cauldron/x86_64

seems i ever got the error...
Comment 13 Yves Gaël Chény 2012-08-30 13:47:38 CEST
I just see the :
http://svnweb.mageia.org/soft/drakx/trunk/mdk-stage1/init.c?revision=5449&
view=markup

i retry and back
Comment 14 Yves Gaël Chény 2012-08-30 14:21:26 CEST
i have re try after recompile the init into all.rdz and after made a boot.iso.

It seems i'have got ever the same problem.

Perhaps i have made an error, or there's something else to patch ;)

http://mageia.r0b0t.fr/people/hurdman/linux/Mageia/distrib/cauldron/x86_64/install/images/bootcd.iso
Comment 15 Yves Gaël Chény 2012-08-30 14:48:25 CEST
good for me , with the last boot.iso and mirror ( from 13:29 ) test with distrib coffee
claire robinson 2012-08-30 14:57:33 CEST

Whiteboard: (none) => 3alpha1

Comment 16 Thierry Vignaud 2012-08-30 15:17:32 CEST
Created attachment 2697 [details]
more changes for stage2

I've commited this in my git tree (in smaller commits of course).
More changes were needed for stage2
I'll commit them into SVN tonight

Note that the code that tries to guess the country code from USB keyboards is still broken (anyway, from what I remember, most keyboards reports bogus country, so ....=
Comment 17 Thierry Vignaud 2012-08-31 08:47:11 CEST
The bug of ldetect vs kernel-3.5+ has been fixed

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED
Source RPM: (none) => ldetect

Thierry Vignaud 2012-08-31 13:18:13 CEST

Depends on: 7130 => (none)

Comment 18 claire robinson 2012-08-31 15:30:50 CEST
Re-opening.

This is still current in the installer of DVD's 2nd build. 
No keyboard or mouse to perform the installation.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 19 Thierry Vignaud 2012-08-31 15:52:09 CEST
Your issue is different (here it was about ldetect).
We have another issue about mouse not working during the installer. Please comment on bug #7130 instead.
And say there what kind of keyboard you use (USB, ...)

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 20 Thierry Vignaud 2012-08-31 17:04:18 CEST
We missed new hid-generic driver...
Comment 21 Juergen Harms 2012-08-31 18:11:47 CEST
Re comment 19: this bug is on input devices being dead, see the problem description.

Are we trying to solve a problem or playing chess? This said, it is not even a secondary question whether the problem is solved as bugzilla (a) or (b).
Comment 22 Thierry Vignaud 2012-08-31 18:14:16 CEST
And they were several issues as well as several bug reports.
We extensively talk about the ldetect one here so please do not mix the issues.
This makes bug report unreadable.
What's more I do not see the interest of such a troll one hour
after I found & fix (in git) the issue...
Comment 23 Thierry Vignaud 2012-08-31 23:12:19 CEST
Fix verified with virtualbox and a real physical machine that needed hid-generic.ko
Comment 24 Juergen Harms 2012-09-01 07:46:30 CEST
Sorry, I only realize now that this bug is a duplicate of bug #7130 - difficult to find by a search

Note You need to log in before you can comment on or make changes to this bug.