nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Geforce 8200 users, I need your help with finding usb hanging issue (http://www.nvnews.net/vbulletin/showthread.php?t=135022)

zbiggy 06-27-09 09:11 PM

Geforce 8200 users, I need your help with finding usb hanging issue
 
Hello,

I have problem with hanging usb 1.1 on ASRock K10N78FullHD-hSLI R3.0 mainboard.
I would like to learn if this is multicore CPU issue, bug in Geforce8200 chipset, Linux ohci driver or bios bug.
If you use Linux on Geforce 8200 mainboard please answer these questions:
1. Do you have problems with hanging usb 1.1 devices (adsl modems, older hard disks or pendrives, irda dongles).
2. Do you use more than 1 core CPU (Athlon X2, Phenom 9550 other ...)
3. What mainboard do you use (manufacturer, model, bios version)

thanks,
Zbigniew

laryllan 06-28-09 05:54 AM

Re: Geforce 8200 users, I need your help with finding usb hanging issue
 
I have this problem too, using an Asus M3N78-VM board.
Despite the fact that the 8200 chipset does have issues (especially /w VDPAU media playback), I don't believe the USB issues are Nvidia driver related. It's more likely to be a kernel USB driver thing. Not particularly a driver bug, but somthing IRQ related.

As of now, I am trying to boot the kernel with the parameter acpi=force irqpoll and it seems to work. Maybe you you want to try that.

zkmyth 06-28-09 12:15 PM

Re: Geforce 8200 users, I need your help with finding usb hanging issue
 
Check out these threads

http://www.nvnews.net/vbulletin/showthread.php?t=123583

and

http://www.nvnews.net/vbulletin/showthread.php?t=126152

quick test:

Disable all usb options in the bios, install a PCI (not PCI-E) usb card if needed and see if it is stable.

zbiggy 06-28-09 01:16 PM

Re: Geforce 8200 users, I need your help with finding usb hanging issue
 
@laryllan thank you for response. Which CPU do you use? Athlon/Phenom? How many cores do you have on your CPU?

The usb ohci hanging bug is not Nvidia GPU drive related. I'm sure. It is happening even if Nvidia GPU driver is not installed at all. This bug is in:
-usb ohci_hcd driver which comes with kernel sources or
-irq handling driver/apic which comes with kernel sources or
-mainboard bios or
-kernel configuration.
I'm also curious if it is multicore cpu problem.

That is why I'm asking other users with other mainboards, linux distros, kernel versions.

I tried acpi=force irqpoll. System works terrible slow.
Try noapic or acpi=noirq - they do not slowdown system so much.
Let me know if this fixed problem for you. It works for me.
I still try to learn what is wrong because I would like to use my Linux without noapic or acpi=noirq workarounds.

If you would like to learn more about problem I encounter here is bugzilla:
http://bugzilla.kernel.org/show_bug.cgi?id=13405

I'm curious if you have exactly the same problems.

WinXP SP3 works perfect with USB 1.1 so this must be bios or Linux software bug.

zbiggy 06-28-09 01:47 PM

Re: Geforce 8200 users, I need your help with finding usb hanging issue
 
Quote:

Originally Posted by zkmyth (Post 2037792)
Check out these threads

http://www.nvnews.net/vbulletin/showthread.php?t=123583

and

http://www.nvnews.net/vbulletin/showthread.php?t=126152

quick test:

Disable all usb options in the bios, install a PCI (not PCI-E) usb card if needed and see if it is stable.

Thanks for response. I only have problem with USB 1.1 (the ohci_hcd controller and kernel module). USB2 (ehci_hcd module) SATA, Audio, network and all other hardware works perfect out of the box without problem. So the links you found are useless for me because these people have problem with SATA which never failed for me (and I use every driver Nvidia releases).

zkmyth 06-28-09 04:07 PM

Re: Geforce 8200 users, I need your help with finding usb hanging issue
 
Since USB is your problem try and disable it in the bios.

Then see if your system is stable.

Eliminate the problems until you have stability, repeat with any device causing problems until you find stability then add things back in 1 by 1 until if crashes.

The IRQ sharing problem common in those threads can apply to other devices as well, use the ideas in the threads to solve your problem.

The 8200/8300 chipsets don't seem to like irq sharing on the PCI-E bus with current kernels/drivers.

laryllan 06-28-09 04:40 PM

Re: Geforce 8200 users, I need your help with finding usb hanging issue
 
I am using an Athlon64 X2 5050e, two cores.
For me acpi=force irqpoll works without slowing down the system.

zbiggy 06-29-09 02:12 PM

Re: Geforce 8200 users, I need your help with finding usb hanging issue
 
Quote:

Originally Posted by zkmyth (Post 2037967)
Since USB is your problem try and disable it in the bios.

Then see if your system is stable.

Eliminate the problems until you have stability, repeat with any device causing problems until you find stability then add things back in 1 by 1 until if crashes.

The IRQ sharing problem common in those threads can apply to other devices as well, use the ideas in the threads to solve your problem.

The 8200/8300 chipsets don't seem to like irq sharing on the PCI-E bus with current kernels/drivers.

USB 1.1 does not crash if it is enabled.
USB 1.1 does not crash if it is used by really slow devices like usb keyboard or usb mouse or if I use my adsl modem only for pinging hosts.
USB 1.1 crashes with big transfers: usb hdd, pendrives, IRDA, ADSL modem or if I ultrafast wave mouse like crazy on desktop to artificially create big data transfer from mouse.
noapic or acpi=noirq kernel parameters workarounds the problem and except ftp and torrent downloads everything works.

I would like to find/make a fix because:
1. I do not like workarounds
2. ftp and torrent is useful sometimes.
3. WinXP SP3 has no problem so Linux has problem :thumbdwn:
That is why I try to collect info from other users to compare my system with theirs to lear what is different, what is better, what is worse.

zbiggy 06-29-09 02:14 PM

Re: Geforce 8200 users, I need your help with finding usb hanging issue
 
Quote:

Originally Posted by laryllan (Post 2037985)
I am using an Athlon64 X2 5050e, two cores.
For me acpi=force irqpoll works without slowing down the system.

Thanks. I will try it. Have you tried noapic or acpi=noirq? How they works for you? Can you try them?

Karl234 07-01-09 08:24 AM

Re: Geforce 8200 users, I need your help with finding usb hanging issue (workaround)
 
Hi,

Finaly I found a workaround for the USB and IRQ
Problems of 8200.

This solved my problems on two different vendor GF8200
boards (Abit AN78HD and Asus M3N78).

It gets IRQ for nvidia driver not shared and the USB IRQ's
for ehci and ohci allocated right.

A MSI enabled Kernel is needed and the following drivers needs
to be modules: ahci ehci_hcd nvidia forcedeth .. (other needed modules like xfs, ext3, etc.. ) ohci_hcd.

These modules must be loaded by the initrd in following specific order:

Code:

ahci ehci_hcd nvidia forcedeth .. (other needed modules like xfs, ext3, etc.. ) ohci_hcd
This gives me the following IRQ layout:
Code:

          CPU0      CPU1
  0:        133      1034  IO-APIC-edge      timer
  1:      2854        21  IO-APIC-edge      i8042
  6:          0          5  IO-APIC-edge      floppy
  7:          1          0  IO-APIC-edge
  8:          0          1  IO-APIC-edge      rtc0
  9:        589        21  IO-APIC-fasteoi  acpi
 14:          0          0  IO-APIC-edge      pata_amd
 15:          0          0  IO-APIC-edge      pata_amd
 17:        31  30928325  IO-APIC-fasteoi  saa7146 (0)
 18:          0  26893294  IO-APIC-fasteoi  saa7146 (1)
 19:          0          3  IO-APIC-fasteoi  ohci1394
 21:          7      1848  IO-APIC-fasteoi  ehci_hcd:usb2, ohci_hcd:usb4
 22:    1398370        318  IO-APIC-fasteoi  ehci_hcd:usb1, ohci_hcd:usb3
 23:    7848667      4375  IO-APIC-fasteoi  nvidia
 28:    460503      4598  PCI-MSI-edge      ahci
 29:        944    508871  PCI-MSI-edge      HDA Intel
 30:  13069577        522  PCI-MSI-edge      eth1
NMI:          0          0  Non-maskable interrupts
LOC:  120798325  70610023  Local timer interrupts
SPU:          0          0  Spurious interrupts
RES:  21704861    2627219  Rescheduling interrupts
CAL:    309822    4202811  Function call interrupts
TLB:      27078      27340  TLB shootdowns
TRM:          0          0  Thermal event interrupts
THR:          0          0  Threshold APIC interrupts
ERR:        25
MIS:          0

Loading the modules in this order does following:

ahci grabs IRQ23 and move to MSI 28
ehci_hcd grabs IRQ22 and IRQ21
forthdeth grabs IRQ20 and moves to MSI 30
nvidia grabs now the free IRQ23
OHCI_HCD shares with ehci_hcd IRQ 22 and IRQ21
snd_hda_intel grabs IRQ20 and moves to MSI 29

The IRQ allowcation sequence is easily followable DMESG

Hopefully this workaround is of any help

Bye
Karl

zbiggy 07-02-09 06:22 PM

Re: Geforce 8200 users, I need your help with finding usb hanging issue
 
Thanks for response. None of my interrupts are shared. I'm happy you found fix for your mainboard. I'm still searching....

strange 05-25-10 04:45 PM

Re: Geforce 8200 users, I need your help with finding usb hanging issue
 
i have an ASUS M3N78-EM and im running ubuntu 10.04 my mouse dies at random intervals sometimes my keyboard as well but usually just the mouse this happens within the first 30 minutes after booting only a reboot solves this i've tried the force irqpoll but no luck here the mouse just keeps dying, i dont know how to change the order in initrd any help would be greatly appreciated.


All times are GMT -5. The time now is 12:22 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.