Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-07-10, 10:03 PM   #73
primerib
Registered User
 
Join Date: Dec 2008
Posts: 128
Default Re: NVidia ION lockups in MythTV

Quote:
Originally Posted by mlord View Post
That's why I said usually a bad thing. Not always.
The point here, though, was that since I haven't yet found the source code that matches what we see here, I haven't yet been able to fix it for you.

Cheers
"Usually" is not the case either. Btw, I haven't asked that you fix anything for me so I assume that part of your comment was aimed towards some unnamed person.

If anyone's keeping track, my Zotac ION box doesn't have an Atheros chip either.
primerib is offline   Reply With Quote
Old 10-08-10, 07:49 AM   #74
mlord
Linux kernel hacker
 
Join Date: Feb 2009
Location: Ottawa, Canada
Posts: 173
Default Re: NVidia ION lockups in MythTV

I don't know what's got you in such a tiff, but let's leave it at that.

I do know a lot of kernel developers won't touch "out of tree" stuff. That's not me, though. My point about "out of tree" usually being "a bad thing", is not so much about code quality, good (nvidia) or bad (lots of others), but about ease of repair.

As in this case.

And with the rate of change in the mainline kernel, a lot of out of tree drivers rapidly fall behind and become unusable.

But here, I'm just interested in helping folks get these boxes working well, since I know that Foxconn doesn't really give a hoot. And since I might someday want one for myself.

Cheers
mlord is offline   Reply With Quote
Old 10-08-10, 11:05 AM   #75
primerib
Registered User
 
Join Date: Dec 2008
Posts: 128
Default Re: NVidia ION lockups in MythTV

AFAICS nobody is in any tiffs about anything so I guess you're confused about something.

Although I haven't asked for your help (and I'm not sure why you think otherwise), it's great that your inspired to help this community. It would be nice if more people felt the same but that's always the problem -- lack of good coders wanting or willing to get things working properly.
primerib is offline   Reply With Quote
Old 10-08-10, 12:26 PM   #76
mlord
Linux kernel hacker
 
Join Date: Feb 2009
Location: Ottawa, Canada
Posts: 173
Default Re: NVidia ION lockups in MythTV

Quote:
Originally Posted by primerib View Post
my Zotac ION box doesn't have an Atheros chip either.
Does it lock up too?
mlord is offline   Reply With Quote
Old 10-08-10, 05:16 PM   #77
primerib
Registered User
 
Join Date: Dec 2008
Posts: 128
Default Re: NVidia ION lockups in MythTV

Quote:
Originally Posted by mlord View Post
Does it lock up too?
It was but the problem has been resolved now by replacing the ram. When I originally tested the ram it passed memtest, but I tested it again at a later date and that time the ram failed miserably. My only guess is that it was right on the cusp of failing the first time. After OCZ swapped out the ram for replacement, it's been running rock solid.
primerib is offline   Reply With Quote
Old 10-11-10, 11:36 AM   #78
mattpier
Registered User
 
Join Date: May 2010
Posts: 5
Default Re: NVidia ION lockups in MythTV

If this helps trying to figure out what NIC driver(s) are in use, here is what my Foxconn nt330i is using (Fedora13). So it appears the ethernet NIC is using atl1c and the wireless is using ath9k.

lspci -v (Kernel param pci=nomsi is active)

05:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit Ethernet (rev c0)
Subsystem: Foxconn International, Inc. Device 0d52
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at feac0000 (64-bit, non-prefetchable) [size=256K]
I/O ports at ec00 [size=128]
Capabilities: [40] Power Management version 3
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [58] Express Endpoint, MSI 00
Capabilities: [6c] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [180] Device Serial Number ff-2e-4f-f7-90-fb-a6-ff
Kernel driver in use: atl1c
Kernel modules: atl1c

06:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Foxconn International, Inc. Device e023
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
Capabilities: [170] Power Budgeting <?>
Kernel driver in use: ath9k
Kernel modules: ath9k
mattpier is offline   Reply With Quote
Old 10-12-10, 09:43 PM   #79
Gribnif
Registered User
 
Join Date: Aug 2010
Posts: 6
Default Re: NVidia ION lockups in MythTV

Quote:
Originally Posted by mlord View Post
I don't see any in-kernel code for MSI with the ath9k driver.

So, either it's the other atheros driver, or you've got an out-of-tree driver in your box (usually a bad thing). What does lsmod show?
It turns out you were correct. It uses atl1c for wired and ath9k for wireless (according to lspci -vv).

I have edited my original post to correct this error.

In case you're curious, here are the outputs of modinfo:

Code:
filename:       /lib/modules/2.6.32.16-150.fc12.x86_64/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
srcversion:     2AB0267C6E4F96888107D37
alias:          pci:v0000168Cd0000002Esv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Csv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends:        mac80211,ath,cfg80211
vermagic:       2.6.32.16-150.fc12.x86_64 SMP mod_unload 
parm:           nohwcrypt:Disable hardware encryption (int)

filename:       /lib/modules/2.6.32.16-150.fc12.x86_64/kernel/drivers/net/atl1c/atl1c.ko
version:        1.0.0.1-NAPI
license:        GPL
description:    Atheros 1000M Ethernet Network Driver
author:         Jie Yang <jie.yang@atheros.com>
srcversion:     B679B4EF678AB94A69C067B
alias:          pci:v00001969d00001062sv*sd*bc*sc*i*
alias:          pci:v00001969d00001063sv*sd*bc*sc*i*
depends:        
vermagic:       2.6.32.16-150.fc12.x86_64 SMP mod_unload
Gribnif is offline   Reply With Quote
Old 10-13-10, 08:23 AM   #80
mlord
Linux kernel hacker
 
Join Date: Feb 2009
Location: Ottawa, Canada
Posts: 173
Default Re: NVidia ION lockups in MythTV

Quote:
Originally Posted by Gribnif View Post
It turns out you were correct. It uses atl1c for wired and ath9k for wireless (according to lspci -vv).
...
filename: /lib/modules/2.6.32.16-150.fc12.x86_64/kernel/drivers/net/atl1c/atl1c.ko
version: 1.0.0.1-NAPI
license: GPL
description: Atheros 1000M Ethernet Network Driver
author: Jie Yang <jie.yang@atheros.com>
Peachy. Next step (for you) is to email Jie Yang, carefully describing the problem and the workaround, and asking for his help in getting the driver fixed to not require the workaround.

If it was you that also noticed problems with it at boot time, then perhaps stick to that issue, rather than bringing Nvidia into it.

Cheers
mlord is offline   Reply With Quote

Old 11-09-10, 08:48 AM   #81
UncleBoxy
Registered User
 
Join Date: Nov 2010
Posts: 2
Default Re: NVidia ION lockups in MythTV

I know it has been almost a month since there was any activity in this thread, but I just wanted to let you know that I had the same lockup issue with my Foxconn NT-330i. When I used the pci=nomsi kernel parameter (I put mine in /etc/default/grub), it fixed my issue. Thanks for posting that fix.

I'm guessing there's no way to disable msi for just the wired ethernet card is there?
UncleBoxy is offline   Reply With Quote
Old 11-09-10, 02:19 PM   #82
mlord
Linux kernel hacker
 
Join Date: Feb 2009
Location: Ottawa, Canada
Posts: 173
Default Re: NVidia ION lockups in MythTV

Quote:
Originally Posted by UncleBoxy View Post
I'm guessing there's no way to disable msi for just the wired ethernet card is there?
There should be a driver/module option to do that, but in this case there is no option. So, no. Unless you patch the kernel module source -- easy to do it there.

Cheers
mlord is offline   Reply With Quote
Old 11-19-10, 08:13 AM   #83
mlord
Linux kernel hacker
 
Join Date: Feb 2009
Location: Ottawa, Canada
Posts: 173
Default Zotac Ion2 HD-ID11 --> works very well

Inspired by the reports of others in this thread, I picked up a Zotac HD-ID11 "Ion2" box for about $200 this week. It has a GT218 graphics core with 512MB dedicated DDR3, hanging off a PCIe x1 lane.

No issues with lockups -- they use a Realtek GigE controller instead of the buggy Atheros one, though they still do have the (non-buggy) Atheros 802.11n built-in as well.

I've installed MythTV-0.24 as a standalone combined frontend/backend machine. and it all works very well with 1080i/1080p Advanced/2X playback, while simultaneously recording O.T.A. HD (HVR-950Q usb tuner) and doing commercial flagging at the same time. Heck, I even got the analog O.T.A. half of the HVR-950Q working too (but not recording at the same time as HD, of course), with software encoding (RTJPEG) at max quality. Lots of spare horsepower still.

One note for MythTV: configure the video playback to use two (2) threads rather than the default of (1) thread. Otherwise mine here would stutter on very high bitrate 1080i playback (though it was fine for lower bitrate run-of-the-mill 1080i).

Nice job on the graphics / drivers, NVIDIA guys!

Cheers
mlord is offline   Reply With Quote
Old 12-05-10, 01:11 PM   #84
UncleBoxy
Registered User
 
Join Date: Nov 2010
Posts: 2
Default Re: NVidia ION lockups in MythTV

This is an update from my earlier post. I updated my nt-330i last night. There was a kernel update available (2.6.35 I believe), so I updated it along with everything else in the update manager. Then the damnedest thing happened.

When I rebooted the machine, X didn't start, but I knew that I needed to reinstall the NVidia Drivers to get that working (which is exactly what I did, albeit after I did everything else layed out here). What was interesting, though, is that I got an error message (before the console login prompt):

Code:
atl1c 0000:05:00.0: Unable to allocate MSI interrupt Error: -22
Anyway, I thought that just maybe the driver for the Atheros Chipset might've gotten an update to actually use MSI, so I went back into my /etc/default/grub and removed pci=nomsi from my kernel boot parameters. Then I ran
Code:
sudo update-grub
and rebooted. Well... whadyaknow! The error disappeared. I am still able to skip around during playback in MythTV, and I haven't had any hard freezing yet.

So, the posted workaround is probably no longer necessary.

Now if I could only get the audio to stop giving frame crc mismatches in MythTV, I'd be all set.
UncleBoxy is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:17 PM.


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