LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-11-2011, 07:53 PM   #31
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Original Poster
Rep: Reputation: 20

I think the module is already associated to the device.
modindo nvidia gives
Code:
filename:       /lib/modules/2.6.33.4/kernel/drivers/video/nvidia.ko
alias:          char-major-195-*
supported:      external
license:        NVIDIA
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        agpgart,i2c-core
vermagic:       2.6.33.4 SMP mod_unload 
parm:           NVreg_EnableVia4x:int
parm:           NVreg_EnableALiAGP:int
parm:           NVreg_ReqAGPRate:int
parm:           NVreg_EnableAGPSBA:int
parm:           NVreg_EnableAGPFW:int
parm:           NVreg_Mobile:int
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_RemapLimit:int
parm:           NVreg_UpdateMemoryTypes:int
parm:           NVreg_UseVBios:int
parm:           NVreg_RMEdgeIntrCheck:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_MapRegistersEarly:int
parm:           NVreg_RegisterForACPIEvents:int
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_NvAGP:int
This information is partially taken from /lib/module/`uname -r`/modules.alias
But modprobe nvidia gives me a "No such device" error, dmesg the following
Code:
NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR0 is 0M @ 0x0 (PCI:0000:01:00.0)
NVRM: The system BIOS may have misconfigured your GPU.
nvidia: probe of 0000:01:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: None of the NVIDIA graphics adapters were initialized!
Thank you.
 
Old 07-20-2011, 12:27 AM   #32
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Original Poster
Rep: Reputation: 20
Question

I've just realized that I can "remove" (actually switch off) the device and put it back
To remove it, I do
Code:
echo 1 > /sys/bus/pci/devices/0000\:01\:00.0/remove
and
echo 1 > /sys/bus/pci/devices/0000\:01\:00.1/remove
and it does not appear in lspci output anymore.

Then I switch it off.
After that, I start it again.
If I do lspci, it (obviously) does not appear in the list.
I do
Code:
echo 1 > /sys/bus/pci/rescan
And here it is!!
It works 100% of time (of my tests).

When the device gets detected, demesg shows
Code:
pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00ffffff]
pci 0000:01:00.0: reg 14: [mem 0xf0000000-0xf7ffffff 64bit pref]
pci 0000:01:00.0: reg 1c: [mem 0xf8000000-0xf9ffffff 64bit pref]
pci 0000:01:00.0: reg 24: [io  0x1000-0x107f]
pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0007ffff pref]
pci 0000:01:00.1: reg 10: [mem 0xfe500000-0xfe503fff]
i915 0000:00:02.0: BAR 6: [??? 0 flags 0x2] has bogus alignment
pci 0000:01:00.0: BAR 1: assigned [mem 0xf0000000-0xf7ffffff 64bit pref]
pci 0000:01:00.0: BAR 1: set to [mem 0xf0000000-0xf7ffffff 64bit pref] (PCI address [0xf0000000-0xf7ffffff]
pci 0000:01:00.0: BAR 3: assigned [mem 0xf8000000-0xf9ffffff 64bit pref]
pci 0000:01:00.0: BAR 3: set to [mem 0xf8000000-0xf9ffffff 64bit pref] (PCI address [0xf8000000-0xf9ffffff]
pci 0000:01:00.0: BAR 0: can't assign mem (size 0x1000000)
pci 0000:01:00.0: BAR 6: assigned [mem 0xfa000000-0xfa07ffff pref]
pci 0000:01:00.1: BAR 0: assigned [mem 0xfe500000-0xfe503fff]
pci 0000:01:00.1: BAR 0: set to [mem 0xfe500000-0xfe503fff] (PCI address [0xfe500000-0xfe503fff]
pci 0000:01:00.0: BAR 5: assigned [io  0x1000-0x107f]
pci 0000:01:00.0: BAR 5: set to [io  0x1000-0x107f] (PCI address [0x1000-0x107f]
vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=none,locks=none
nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
That would be awesome if someone can explain to me the meaning of this and if there is a way solve this issue.
Thank you,

Éric.

Last edited by aihaike; 07-20-2011 at 12:31 AM.
 
  


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
usb external HD issue: reset high speed USB device using ehci_hcd gstath Slackware 4 08-18-2010 01:35 AM
Installing device driver issue kopper27 Linux - Newbie 1 06-01-2010 02:28 PM
GPU Fan issue when using nVidia drivers tAgC Linux - Laptop and Netbook 0 02-19-2007 05:28 AM
Security issue when booting from external device. Haloony Linux - Newbie 4 12-05-2006 09:57 PM
Installing Linux on external USB 2.0 device k_wjss Linux - Newbie 9 09-30-2004 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:09 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