LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-20-2014, 11:15 AM   #16
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367

Regarding the livecd: If it doesn't boot with a working mouse and keyboard, what happens if you boot without either connected and then plug in? USB devices are hotpluggable, so this should load the necessary modules.
 
Old 05-20-2014, 02:27 PM   #17
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 267

Original Poster
Rep: Reputation: Disabled
I booted up with the live CD with keyboard. Wnen the first menu appeared, I pressed <return> which implemented "live CD", unplugged the keyboard, and allowed it to boot up. Note: the CD DID recognize the keyboard until AFTER I invoked "live CD".
Transcription is as follows:
Quote:
USB 7-1: device descriptor read 64/, error-32
USB 7-1: device descriptor read 64/, error-32
USB 7-1: device descriptor read 64/, error-32
device not accepting address 4, error-32
device not accepting address 5. err0r-32
hub 7-0:1.0: unable to enumerate USB device on port 1
USB 6-5: device descriptor read 64/, error-32
USB 6-5: device descriptor read 64/, error-32
USB 6-5: device descriptor read 64/, error-32
device not accepting address 4, error-32
device not accepting address 5. err0r-32
hub 6-5:1.0: unable to enumerate USB device on port 1
Quote:
Originally Posted by cynwulf View Post
Regarding the livecd: If it doesn't boot with a working mouse and keyboard, what happens if you boot without either connected and then plug in? USB devices are hotpluggable, so this should load the necessary modules.
 
Old 05-20-2014, 04:00 PM   #18
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I don't know what your problem may be but I just installed Debian using Logitec mk300 combination & had no problems with it.
 
Old 05-21-2014, 07:53 AM   #19
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 267

Original Poster
Rep: Reputation: Disabled
You don't say which flavor of Debian.
A wheezy ia64 live CD recognizes my keyboard+mouse; Lenny recognizes my keyboard+mouse; the wheezy amd64 live CD initially recognizes my keyboard until I boot up wheezy. What is different about wheezy amd64?

Quote:
Originally Posted by EDDY1 View Post
I don't know what your problem may be but I just installed Debian using Logitec mk300 combination & had no problems with it.
 
Old 05-21-2014, 01:52 PM   #20
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Wheezy amd64
 
Old 05-21-2014, 02:16 PM   #21
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by piobair View Post
A wheezy ia64 live CD recognizes my keyboard+mouse; Lenny recognizes my keyboard+mouse; the wheezy amd64 live CD initially recognizes my keyboard until I boot up wheezy. What is different about wheezy amd64?
I've not seen an ia64 livecd and not sure your hardware is ia64. You haven't specified whether Lenny was i386 or amd64...

The error messages look like the result of faulty hardware. I'm not sure why this is being exposed with a newer kernel and not with the 2.6.x kernel - maybe the earlier ehci_hcd module does not attempt to claim that device...? I would suggest disabling the USB 2.0 controller from your BIOS setup (this will leave USB 1.1 enabled) and try the wheezy amd64 livecd again - exactly as before.
 
Old 05-21-2014, 06:26 PM   #22
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 267

Original Poster
Rep: Reputation: Disabled
The BIOS will allow me to disable USB 3.0/2.0 which goes thru the PCI Express bus which goes to the AMD 970 (Northbridge?). That still allows 2.0/1.1 which goes to the AMD SB950 (Southbridge?). The only diagnostic difference that I could see was that the address number that it could not connect to changed.

Incidentally, I played with the "enable PS2 emulation" in the BIOS. Although it has no effect on AMD64 Oldstable, disabling the emulation means that the keyboard is not recognized when I start the debian-live-7.5.0-amd64. Apparently the CD gets to the keyboard via the BIOS until it boots up 7.5.0. In other words, I cannot initiate the live 7.5.0 unless the PS2 emulation is enabled.

Quote:
Originally Posted by cynwulf View Post
I've not seen an ia64 livecd and not sure your hardware is ia64. You haven't specified whether Lenny was i386 or amd64...

The error messages look like the result of faulty hardware. I'm not sure why this is being exposed with a newer kernel and not with the 2.6.x kernel - maybe the earlier ehci_hcd module does not attempt to claim that device...? I would suggest disabling the USB 2.0 controller from your BIOS setup (this will leave USB 1.1 enabled) and try the wheezy amd64 livecd again - exactly as before.
 
Old 05-22-2014, 01:16 PM   #23
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 267

Original Poster
Rep: Reputation: Disabled
I can borrow a PS2 keyboard from a friend for a few days. That will allow me to communicate w/o USB.
What diagnostics do you need: lsub, lsmod, ?
 
Old 05-22-2014, 03:24 PM   #24
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
The ps/2 thing is usually the same as the usb "legacy emulation". Disabling USB 3.0 is ok, but it probably won't help unless you can disable USB 2.0.

If you can't do that, then unfortunately I might have to suggest that you build a new kernel with USB 2.0 (and 3.0) disabled as a precaution. It's a pain in the rear, but it's what you have to do to troubleshoot stuff (unless someone else turns up with a solution). The problem with blacklisting modules is that it doesn't work well for USB as the modules you want to prevent loading can still get loaded when devices are plugged out/in or when other modules request them.

You should do all of your testing by booting without any USB devices attached. Then plug in just the keyboard/mouse and see if they start to work normally. If you still get the same errors in dmesg, then you really will have to move onto kernel building.

Before you do any of that, once you have the ps/2 keyboard, you could try the latest kernel from backports (probably 3.14, not sure) - who knows the 'problem' might have been resolved? (it's worth a try).

Last edited by cynwulf; 05-22-2014 at 03:27 PM.
 
Old 05-22-2014, 05:00 PM   #25
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 267

Original Poster
Rep: Reputation: Disabled
I anticipated kernel problems when I started this thread.
H. L. Menken: "For every difficult, complicated problem, there is a simple, elegant solution that won't work."
With a PS2 keyboard (the motherboard only has one PS2 socket; no mouse): debian-live-7.5.0-amd64
Quote:
lsmod
Bus 001 Device 001: ID 1db6:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1db6:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1db6:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1db6:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1db6:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1db6:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1db6:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1db6:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1db6:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID2109:3431
At least with a PS2 keyboard I can communicate with the OS.
When I tried to plug in a USB adapter for an SD chip, I got the same error message: "Cannot enumerate ..."
 
Old 05-23-2014, 04:24 AM   #26
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
That doesn't look like lsmod output...

If you're getting the same error from other devices then probably the kernel is the next step.

Try the latest backports kernel first.
 
Old 05-23-2014, 06:29 AM   #27
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 267

Original Poster
Rep: Reputation: Disabled
Pardon me: That was lsusb, not lsmod. Lsmod output ran off the page. I hand copied the lsusb from the live CD output.
I am a pretty good C programmer. However, I have never delved into the kernel before. Presumably, I need to start by downloading the wheezy module that generates the message, "Cannot enumerate"; compile that as a stand-alone program from command line in root. Once I have duplicated the errant behavior, compare the differences with the similar squeeze module source code, which apparently works.

I wouldn't even recognize the appropriate source code if it walked up and bit me. Could you point me in the right direction?
 
Old 05-23-2014, 08:08 AM   #28
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Trying to find the problem in the actual kernel module source would actually be very time consuming and probably not solve your problem anyway. You may be working on fixing something which someone else has already resolved in a later kernel.

You should try the backports 3.14 kernel first. Install initramfs-tools from backports first/at the same time.

If that doesn't help, get the source for the 3.14 kernel from testing/unstable source repo, completely remove USB 2.0 and 3.0 support and build and install it (don't just install a binary kernel package from testing/unstable). Make sure to build an initrd (if you build your kernel the Debian way, this should be done for you).

Last edited by cynwulf; 05-23-2014 at 08:10 AM.
 
Old 05-26-2014, 09:38 AM   #29
piobair
Member
 
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 267

Original Poster
Rep: Reputation: Disabled
I tried the backports route. I probably didn't do it correctly. I downloaded the .deb & .udeb packages, and tried to install them using dpkg. Dependency issues reached the ssh package. At that point, I bit the bullet and dist-upgrade first to wheezy and then to jessie. No joy.
The upgrade route has two advantages over loading from an iso: I can still boot up with 6.0.8, and the wheezy and jessy install packages want my NIC firmware loaded. Since the installer does not recognize my USB devices and I don't have a second CDROM drive, providing the installer with the firmware is problematic.

I now have jessie loaded; I am getting the identical error messages as previously; I have a PS2 keyboard working, but no rodent support.

Per suggestion from a friend, I installed a USB card in a PCI slot. According to the Gigabyte users manual, that connects to the Southbridge, as does the USB 2.0/1.1. Identical diagnostics. Fooey and stronger language.

Quote:
Originally Posted by cynwulf View Post
Trying to find the problem in the actual kernel module source would actually be very time consuming and probably not solve your problem anyway. You may be working on fixing something which someone else has already resolved in a later kernel.

You should try the backports 3.14 kernel first. Install initramfs-tools from backports first/at the same time.

If that doesn't help, get the source for the 3.14 kernel from testing/unstable source repo, completely remove USB 2.0 and 3.0 support and build and install it (don't just install a binary kernel package from testing/unstable). Make sure to build an initrd (if you build your kernel the Debian way, this should be done for you).
 
Old 05-26-2014, 10:57 PM   #30
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
Originally Posted by piobair View Post
I tried the backports route. I probably didn't do it correctly. I downloaded the .deb & .udeb packages, and tried to install them using dpkg.
Add backports to /etc/apt/sources.list.
Code:
 
#apt-get install -t wheezy-backports <name of package>
No need to download source packages and use dpkg.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Synaptic in Wheezy; is this a bug, or my error? Knightron Debian 8 07-19-2012 04:42 AM
[SOLVED] Can someone take a look at this link: Concerning a bug in Wheezy? barnac1e Debian 2 03-31-2012 05:18 PM
LXer: Pidgin 2.7.1 Fixes 3-Year-Old MSN File Transfer Bug LXer Syndicated Linux News 0 06-02-2010 02:20 PM
Microsoft to patch 17-year-old computer bug Jeebizz Linux - News 0 02-05-2010 03:39 PM
LXer: Developer fixes 33-year-old Unix bug LXer Syndicated Linux News 3 07-12-2008 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration