Unsolved

This post is more than 5 years old

10 Posts

614756

October 19th, 2006 14:00

Linux USB Problems on Dimension E521 AMD 64 X2

Hi,

Anyone else try running Linux (in my case Ubuntu 6.06) on the E521 with the AMD 64 X2 processor? I am having a problem when using xorg where my USB devices, more often my mouse, but my keyboard has had the problem as well stops working. It is almost like the interrupts start getting masked, but it isn't that. Because when the mouse stops working I am usually able to still use the keyboard.

It happens after a while, and usually in times of heavy use. I guess really instead of heavy I would say normal. But it has never happened that it will be working and then I let it lay idle for a while and then reach for it again and it be frozen.

This started happening under the amd64 version of Ubuntu but I have tried several different versions by now and the problem continues to happen.

As far as troubleshooting it has been a real pain. There is never a message in the kernel log or shown by running dmesg. Actually once or twice I have seen the irq status -71 received, but I am pretty sure that is not the cause, becuase it has only happened about twice out of maybe 40 occurances. And there is no message in the Xorg log either.

I have tried the default amd64-generic kernel the latest amd64-generic, the latest amd64-k8 kernel (I think 2.6.15-27.48) I have tried running the i386 uniprocessor kernel and the latest k7-smp kernel. All of them have the same problem.

In an effort to get to the bottom of it I have re-compiled the kernel according to the directions here: http://doc.gwos.org/index.php/Kernel_Compilation_Dapper and turned on debugfs and collected data, but there doesn't seem to be anything of interest. It seems I get hundreds of thousands of lines of -115 status (Which I believe is the controller just telling the device that yeah, I hear ya and I am going to do something EINPROGRESS) and then nothing. The mouse appears to continue to function at least the circuit which senses movement and turns the LED into bright mode. And under Windows I have had no problems at all.

The only solution that always works is to disconnect the USB cable and then reconnect it, which grabs a new device file /dev/input/event7 and probably does some other magic registers with the USB controller, and a bunch of other stuff and then the mouse starts working again.

The only other consistent problem I have noted is the IOAPIC stuff complains about a bug, and sometimes it won't boot and panics, other times it figures out a way to get by and does so. Because of this I have tried booting with noapic and other than changing the way /proc/interrupts looks there seems to be no change in the problem. Eventually under usage the mouse stops responding entirely. Even looking at cat /dev/input/mice there is nothing getting there.

I have upgraded the BIOS to 1.0.3 that had no effect. And also turned off the Cool and Quiet support in the bios.

Any thoughts, recommendations of how to proceed, or any other suggestions are appreciated.

Thank you,
Kevin

December 29th, 2006 20:00

I found another newsgroup here discussing the USB issue. Here's a short quote:
We put a monitor on the USB I/O so that we could observe and log what was going on. At the time-point of the communication problem, the PC failed to detect returned bytes (a message) from the Control Box. The failure had the appearance that the USB hub or controller in the PC had gone into a suspend/power-save mode. It was possible to immediately restore communication by moving the mouse and just clicking ‘continue’.
To try and figure out why the problem was happening, we again confirmed that all known suspend features were disabled (including the settings for each individual USB hub in the PC). We noticed that if we maintained occasional activity on the mouse or keyboard, the problem did not seem to happen. This latter also suggested some problem with management of the suspend features of the USB host controllers in the PC. [A little research revealed that earlier AMD Athlon processors had USB, suspend-management issues; but we found no indication that the problem still exists with current Athons or XP.]

The article goes into more detail on how to fix the problem by attaching a USB 2.0 active hub to the computer, and attaching the devices to it, thereby routing the traffic around the problematic USB 1.1 bus.
I'm not saying this is a cure-all, but this is the first I've read of someone doing actual hardware analysis....

December 29th, 2006 20:00


@dmoroian wrote:
Hi guys,
I bought an e521 too, and had some hard time with it. . . . It also seems that it is mandatory to use "irqpoll" as kernel (2.6.16 - standard Suse 10.1) command line parameter.
I have compiled the last kernel 2.6.18(.3) and I can activate acpi with "acpi=noirq" and "irqpoll" is no longer needed. Though I get a warning regarding the acpi modules. Later on I cannot load them, but at least I can issue "halt" and the computer shuts off. . . .

Dragos


I was able to install opensuse 10.2 with acpi=noirq as a boot option. However, plug-in cards don't function properly (intel PCI-E GigE), and irq routing between processors doesn't happen at all (/proc/interrupts shows everything being serviced by CPU0). I will try the irqpoll option; I will also try the new (2.6.19.1) kernel, as the machine at least boots on a regular basis now.
Anyone have anything positive to report recently?

10 Posts

December 29th, 2006 23:00

I do appreciate the post with the careful hardware diagnostics.

What I don't understand is why people are still trying all the heroics with kernel configs when a $25 self-powered USB hub fixes the problem! Has anyone tried a self-powered hub that hasn't eliminated the problem??? I have been happily using my C521 for weeks now...

31 Posts

December 30th, 2006 00:00



@jrminter wrote:
I do appreciate the post with the careful hardware diagnostics.

What I don't understand is why people are still trying all the heroics with kernel configs when a $25 self-powered USB hub fixes the problem! Has anyone tried a self-powered hub that hasn't eliminated the problem??? I have been happily using my C521 for weeks now...




Well, because it's just unacceptable. You buy a computer in order for it to work, and not the other way around, having to apply band-aids to it.

Mainly when the computer you buy is supposed to work with linux, as said by the vendor.

16 Posts

December 30th, 2006 01:00

"What I don't understand is why people are still trying all the heroics with kernel configs when a $25 self-powered USB hub fixes the problem!"

Ummm because you lose lots of USB ports on the system, the entire USB bus for at least usb 1.1 is busted on the nvidia MCP5 or the dell bios is messed up, and you don't understand the crazy linux mentality.

14 Posts

December 30th, 2006 17:00

I find even with a USB card I get frequent crashes in Firefox and other software on this machine :(

1 Message

December 30th, 2006 17:00

Hi Everybody:

Unfortunately, I am experiencing the same problem. I have tried every option that I can think of with my installations including using different distributions and am still having the problems that everyone here is having. I finally called Dell and they told me that this machine was manufactured to run Windows only and that Linux will not run on it. As a result, I am going to return the Dimension E521 AMD 64 X2 and look into purchasing another product. I would really be interested so see if someone comes up with a solution for this problem because I think this machine is a great machine, but if it won't run Linux, it is completely useless to me. Thank you all very much for your input and have a great day.

December 30th, 2006 21:00


MRosas wrote: Hi Everybody: Unfortunately, I am experiencing the same problem. I have tried every option that I can think of with my installations including using different distributions and am still having the problems that everyone here is having. I finally called Dell and they told me that this machine was manufactured to run Windows only and that Linux will not run on it. As a result, I am going to return the Dimension E521 AMD 64 X2 and look into purchasing another product. I would really be interested so see if someone comes up with a solution for this problem because I think this machine is a great machine, but if it won't run Linux, it is completely useless to me. Thank you all very much for your input and have a great day.
I guess tech support is tired of hearing the complaints. But I have to wonder, then, what's the difference between the E521 (which I have), and the E521n, or the "no-OS" version of the box? Personally, I bought this particular model for several reasons:
  • The high-end N-series desktops with Linux installed are much more expensive
  • The high-end N-series desktops with Linux installed do not have AMD64 processors available
  • I received a discount (Dell EPP) on the E521 that was not available on the N-series desktops
Now, I have not seen a computer manufactured in the past six years that could not, somehow, be forced to run Linux. Even Microsoft's Xbox has its own Linux distribution. I find Linux to be an indispensable tool for troubleshooting hardware problems, too. So I have to ask: if I'm finding hardware issues, how am I to be sure that Windows is running correctly on this same hardware? Are all the interrupts being handled by one CPU? Are the interrupts being handled at all, or does this "new mouse driver" everyone here is talking about modify Windows to perform IRQ polling exclusively? What aren't we being told?
If this box is, in fact, a "Windows only" box, and will really run well with an appropriate version of Windows (4GB ram, dual-core CPU), and not hobbled as I expect, then I suppose I can run VMware Server on it; at least I would be both running Linux and abiding by the warranty...

38 Posts

December 30th, 2006 22:00

Dell's silence on this issue leads on to suspect that the WinXP
solution may not be very clean. Another avenue to deal with this
problem is to bring it to the attention of nVidia engineers. I
have started a thread on the nvidia site here.
Maybe if that thread gets active it may sparc some interest from
someone who understands something about the hardware. -- Matt

1 Message

December 31st, 2006 02:00

I am yet another frustrated Linux user bitten by this bug.

Message Edited by robrenaud on 12-30-200610:58 PM

3 Posts

December 31st, 2006 06:00

For interest, I know of 2 Dell C521s (in the UK).

One was purchased at the start of December, and after installing Mandriva 2007 has the reported mouse problems (also has occurred with the keyboard). Tried installing Mandriva 2006 and this had a mouse lock up during the install. This should pretty much eliminate it as a kernel problem (except if the issue occurs in all 2.6 kernels! since 2006 uses 2.6.8 and 2007 uses 2.6.17). Not sure what version of BIOS this is using, but it is likely 1.0.3+ but not as late as 1.1.2

The other C521 was purchased about 20th December, and also now has Mandriva 2007 installed. This works without issue. It is using BIOS 1.1.4 ! (which isnt even available as a Dell download).

Conclusion : it is almost certainly a BIOS issue and is likely fixed in later BIOSes. I still need to upgrade the first machine with the latest available BIOS (1.1.2) to see if that fixes it on that machine.

The only other differences between these machines are that the first is an AMD Sempron with NVidia GeForce 6150LE, whereas the second is an AMD Athlon 64x2 with ATI X1300.

December 31st, 2006 10:00


ajsoft wrote: For interest, I know of 2 Dell C521s (in the UK). One was purchased at the start of December . . . The other C521 was purchased about 20th December, and . . . works without issue. It is using BIOS 1.1.4 ! (which isnt even available as a Dell download). Conclusion : it is almost certainly a BIOS issue and is likely fixed in later BIOSes. . . .
Okay, now this is useful! My machine was delivered with bios 1.1.2, and still exhibits the mouse symptoms. It was shipped to me 12 dec 2006. It sounds like there will be a new BIOS release fairly soon; with all of these changes in a fairly short period of time, it's pretty clear they're working on it...

It bugs me a little that Nvidia went through this same "growth curve" on their newest chipset (Asus, Abit, etc) six months ago, but Dell was somehow unable to capture that knowledge (or Nvidia was unwilling to share?). Still, the new BIOS versions being delivered right to the production line is encouraging. I don't feel so bad about waiting for a BIOS update, knowing it's in the works. Besides, as I've said before, the price was right....

38 Posts

January 1st, 2007 13:00

FYI, BIOS 1.1.4 has been released.

14 Posts

January 1st, 2007 14:00

Thanks for the heads up :)

It seems to install and boot okay on c521, so its now time to test without the USB card. Can't say i'm all that optimistic.

14 Posts

January 1st, 2007 16:00

I can't resist tempting fate here as a few others have done.

Since the BIOS upgrade, I have not had a mouse issue, when I was trying to run without the USB card before, things didn't last more than 5-10 minutes without seizing or so it seemed.
Other crashes like firefox2 have also not recurred. Though it is still way too early to be sure that this is a perfect fix for the issues.
No Events found!

Top