LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-21-2011, 06:42 AM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 632

Rep: Reputation: 36
how can i blacklist a module from using a specific pci device


Hello everyone,
I have a pci card that the parport_pc module identifies as a parallel pci card.
I want to prevent the driver from identifying this card, BUT i don't want to blacklist the driver in /etc/modproble.d/ as there is another pci card that is using the specific driver.

reading throught modprobe.d manpage didn't yield any results, think it says I can do it using blacklist command but I'm not sure how.

Thank you for your help!
nass

Last edited by nass; 08-21-2011 at 07:38 AM.
 
Old 08-21-2011, 07:47 AM   #2
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 218

Rep: Reputation: 52
If you want to use the driver, then you have to load it. There is however a question, why is it a problem, if your driver identifies a piece of hardware, that you are not interested? If you desired hardware workd, then it doesn't matter what hw the driver detects...
 
Old 08-21-2011, 07:58 AM   #3
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 632

Original Poster
Rep: Reputation: 36
hello there, lspci -k relevant dump is


Quote:
06:00.0 Parallel controller: Aladdin Knowledge Systems AladdinCARD
Subsystem: Device 6265:7274
Kernel driver in use: parport_pc
Kernel modules: parport_pc
06:01.0 Communication controller: NetMos Technology PCI 1 port parallel adapter (rev 01)
Subsystem: LSI Logic / Symbios Logic Device 0010
Kernel driver in use: parport_pc
Kernel modules: parport_pc
06:00.0 is a pci card - hardware key that is used as a license in an windows application. I am trying to get rid of the old pc that this card resides in and set up a virtualbox guest with access to this pci card.
I have read that it is possible with virtualbox 4.1.0 onwards ("pci passthrough").
However, virtualbox whine's when i startup the guest vm
Quote:
Error: failed to start machine. Error message: Cannot assign non-shared host interrupt handler: VERR_RESOURCE_BUSY (VERR_RESOURCE_BUSY)
and I want to try and 'release' the card from the host OS entirely. I'm not sure If that would help though, since I wouldn't be able to match the card's address on the host to one in the guest...

However, is it possible to disable selectively some utilisations of the same module?
 
Old 08-21-2011, 08:40 AM   #4
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 218

Rep: Reputation: 52
If you do not load the parport_pc at all, can VirtualBox access the Aladdin card?
 
Old 08-21-2011, 08:43 AM   #5
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 632

Original Poster
Rep: Reputation: 36
I was afraid of that.
well I am going to dump this thread altogether
the real problem is here
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Blacklist kernel module (stop autoloading) ? Vilius Debian 4 08-30-2010 01:31 AM
Can a PCI device communicate with another device attached to the bus system? bhagatindia Linux - Kernel 3 10-16-2008 01:44 AM
how to Blacklist specific email in postfix nhansense Linux - Server 19 08-22-2008 04:00 PM
Printk won't "print" from probe() ::::A hello world module-pci device knockout_artist Linux - Kernel 1 08-14-2008 04:41 AM
how to blacklist a usb-storage module jvmagic Linux - Desktop 1 05-08-2008 03:20 PM


All times are GMT -5. The time now is 04:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration