Debian Configuration :: Assign Devices To Pci-stub

Apr 24, 2016

I'm trying to assign pci devices to pci-stub at boot before any of the kernel drivers can access it. I've successfully managed to do this on a Ubuntu system but I cannot get it to work on Debian. I've set pci-stub to load as a module in /etc/modules. I've then tried both these methods:

Add pci_stub ids=8086:100f to /etc/initramfs-tools/modulesSet GRUB_CMDLINE_LINUX_DEFAULT="pci_stub.ids=8086:100f" in /etc/default/grub.

Both give the same result after updating grub/initramfs and a reboot: when I check "dmesg | grep pci-stub" I get:

Code: Select all[ 1.522487] pci-stub: add 8086:100F sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000

The actual device id's are not claimed by stub. Same for lspci -v which shows that the devices are still using the kernel drivers.Again, this configuration works on Ubuntu. Also issuing the following commands successfully assigns one of the devices to pci-stub but I need it to work on boot before the kernel drivers load:

Code: Select allecho "8086 100f" > /sys/bus/pci/drivers/pci-stub/new_id
echo 0000:02:02.0 > /sys/bus/pci/devices/0000:02:02.0/driver/unbind
echo 0000:02:02.0 > /sys/bus/pci/drivers/pci-stub/bind

View 1 Replies


ADVERTISEMENT

Debian Hardware :: Failed To Assign Any Connected Display Devices

Jun 8, 2015

Had this strange issue ....

Steps
a. Working Gnome desktop with NVidia proprietary drivers in Jessie.
b. Something happened (see below)
c. Still working Gnome desktop with NVidia proprietary drivers in Jessie.
d. Reboot
e. Boot up in low res -can see the terminal messages but no X/ Gnome Desktop
f. CtrlAlt-F1 takes to terminal login
g. Log in, looked at dmesg, syslog shows no errors but looking at Xorg.[0-5].log shows:

Code: Select all[     7.942] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[     7.943] (II) NVIDIA(0): NVIDIA GPU GeForce GT 240 (GT215) at PCI:1:0:0 (GPU-0)
[     7.943] (--) NVIDIA(0): Memory: 1048576 kBytes
[     7.943] (--) NVIDIA(0): VideoBIOS: 70.15.27.00.00
[     7.943] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     7.945] (--) NVIDIA(0): Valid display device(s) on GeForce GT 240 at PCI:1:0:0

[Code] ...

After looking at this post [URL] .... poked around at the back of the monitor and found the DVI cable loose. Plugged it in tight and rebooted and Gnome desktop came up as good as ever.

Step b. , as it turns out, was someone had adjusted the monitor height resulting in the DVI cable coming loose but not getting pulled out entirely.

View 0 Replies View Related

Debian Configuration :: Multipath Configuration On 5.0 64 Bit - Doesn't Create The Relative Devices

Jul 20, 2011

i have a HP MSA 2312fc SAN with 2 LUNs configured. The first LUN (LUN ID 1) is correctly connected to the system, but when i connect the second LUN (LUN ID 30), i find in the syslog this message: multipathd: 8:64: size 6835937472, expected 5267578112. Discard

Here is the multipath.conf

[Code]....

So I correctly see the two luns, but multipath doesn't create the relative devices. Under /dev/mapper I see: control mpath0 mpath0-part1 mpath0-part1 is the first lun, the one I mounted in a directory under filesystem. I can't find the device for the second lun

View 1 Replies View Related

Debian Configuration :: How To Assign Specific Local IPs In Home LAN Using DHCP?

Apr 29, 2011

I have some beginner questions about DHCP, Avahi, and configuring a small home LAN.Suppose I have a dynamic IP address assigned by my ISP, which requires DHCP be enabled in my dsl modem/router/"firewall" [sic]. Suppose for simplicity I have just one PC behind the dsl modem.I think "enabling DHCP" in the modem/router means that a DHCP client runs on the router, which communicates with a DHCP server run by my ISP when I boot up a PC on my LAN. Is that guess correct? Can I get DHCP to assign a particular local IP, say 192.168.1.10 (which is not the one taken by the router--- for this discussion, let's say that is 192.168.1.0) to my PC each time I boot it up?

Now suppose I want to build a stand-alone firewall, so that my LAN will have the firewall and the first PC behind the modem, with the first PC virtually behind the firewall. By default, I think these will both have DHCP clients running which I need to configure properly. The firewall should also have a DHCP server which should control how local IP addresses are assigned, correct? I should try to arrange that the LAN has only DHCP server, only one NTP timeserver, only one DNS nameserver, correct?My first PC seems to have installed an autorun client called Avahi, which performs DNS multicast services and incorporates something called zeroconf which seems to have something to do with remote desktops, which I don't need and which is a potential security hazard. But it seems that Avahi is an intrinsic part of the KDE desktop and cannot be removed. Just want to be sure that Avahi can coexist comfortably with dhcp3-client, which is also installed on that PC. They perform different tasks, correct?If I can get the stand-alone firewall to work, I know I need to turn off the commercial firewall in the dslmodem/router/firewall device. Should I purchase a bridge and try to turn off the routing function also?

View 8 Replies View Related

Debian Configuration :: Deconfiguring Network Devices Is Slow

Jan 26, 2010

I've been keeping my feet wet learning Debian. So far only in a virtual machine but I have had that machine running every day. I'm running a Lenny/Squeeze mix.The system is running well, yet every time I reboot or halt the system there is a long pause at the "Deconfiguring network devices" message. I traced the message to S35networking. With this virtual machine, which is a model for my eventual physical machine installation, I have only a single wired eth0 NIC (pcnet32).

I'll take a wild guess the script might be trying to find additional cards to halt, or perhaps a wireless card that does not exist, but that is just a guess. I'm stil learning my way around with how the init.d scripts and various /etc config files interact.I'm using a static IP address. DHCP is disabled, as far as I can tell. I did not notice anything in the logs.

View 3 Replies View Related

Debian Configuration :: Built In Bluetooth Adapter Doesn't Find Devices

Oct 12, 2015

I've followed the guide at URL.... but my computer is unable to find any Bluetooth devices. Whether I'm using the command line or gnome-bluetooth, I don't get any results. If I plug in a cheap USB adapter, I'm able to connect and use the devices.My computer is a HP ProBook 4330s running Debian Jessie. And as far as I can tell the Bluetooth adapter is a Ralink rt3592 combination Wi-Fi and Bluetooth PCI card. The Wi-Fi works fine, but when i try to connect to a Bluetooth device, I get no search results.

View 9 Replies View Related

Debian Configuration :: WiFi Router Doesn't Give Internet To Other Devices Connected

Oct 21, 2015

When I connect my Debian PC to my WiFi router my PC doesn't get internet if other devices are connected to it .

When i disconnect those devices and connect my Debian PC only then my PC connects to internet but other devices connected to it later do not get inernet connection.

When I connect my Debian PC using LAN Cable to the same router all devices work fine.

View 11 Replies View Related

Slackware :: Command To Know The Stub Domain Ip Address In Ip4 Format?

Apr 10, 2010

What's the command to know the stub domain(LAN) ip address in ip4 format?

View 7 Replies View Related

Fedora Servers :: Use Dhcpd To Assign Vpn Clients Their IP And Configuration?

Jan 24, 2009

Is there a way to use dhcpd to assign vpn clients their IP and configuration?

I'd like to have dhcpd listen on br0 (already set as 10.0.0.1) so that devices conecting through eth1 and tap0 (should I be using tun?) will get the same address pool.

View 7 Replies View Related

Fedora :: Configuration Of Event.d Serial Devices - Inittab Don't Work

Jul 30, 2009

I was using V9 and upgrade to V10 and now my logins in my inittab do not work. I realize that is file structure is outdated so I made individual run files for each of my serial devices under event.d ( such as TX0000 - rc....etc) - all this works but i need to manual type initctl start TX000o to get logon for my serial devices. I would so much like them to automatically start on bootup.

View 3 Replies View Related

Ubuntu :: Wireless Router Configuration Page Not Showing All Devices On LAN

Feb 1, 2010

I went to see if the iPhone was connected and it wasn't listed--and she was now on my wireless network, on the Internet. For the past month, I have experienced slow Internet (the Qwest people came over three times to fix the problem, to no avail.) And, when my laptop and desktop are turned off, the modem still shows activity, as if someone was downloading large files. Qwest insists that my network is secure and no one is using my network (and my house was built in 1997, so the wiring is fairly new and I have had NO issues with Internet/phone and had Qwest service longer than I can remember).

To make a long story short, I am concerned that my router has been hacked. I live in a rural area, so there's no teenagers or weird-o's around that I know of that would do that (unlike city/suburban areas)--and my Linksys router is "lying" to me, as my nephew was ON MY NETWORK and the SSID, MAC address and IP number was not listed on the LAN device list--only my laptop/desktop are listed, and she was happily checking emails on my network. I have changed my WPA2 password three times just in case, no fix.

View 9 Replies View Related

Debian :: Assign An Admin Account To FTP?

May 1, 2010

I just installed ProFTPD. So I want to create a user namely ftpadmin. He belongs to the new usergroup ftpuser that I just created.

sudo groupadd ftpuser
sudo useradd -s /bin/false -g ftpuser -d /var/www ftpadmin
sudo passwd ftpadmin
.....
chmod -R g+w /var/www

and when I followed the tutorial

chown -R ftpadmin /var/www/*, chgrp -R users /var/www/*

it returned an error "invalid mode: ftpadmin " why?I want my users to login my server via FTP

View 1 Replies View Related

Debian :: Assign 775 To All The Files Using One Command?

Sep 22, 2010

is there anyother way of creating an user without the support of graphical or command base. one more question is what is the syntax to assign using chmod to a directory consisting of n number of files at atime in one single syntax suppose i want to assign 775 to all the files using one command

View 2 Replies View Related

Debian :: Assign MTU Value For Network Interface?

May 18, 2011

I have dsl broadband shared through a Modem Bridge Mode forwarded to wireless router which is configured for dhcp lease to the clients(1 Desktop, 1 Laptop).

So, in My Debian Testing Desktop, I have following lines in /etc/network/interfaces :

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback

[Code]....

View 1 Replies View Related

Debian :: Assign The 2.6.32-3-686 Kernel To Be The Default In Grub?

Jun 7, 2010

I recently installed Squeeze. I noticed there are 2 main kernels installed. One first one at the top is 2.6.32-trunk-686 and the other is 2.6.32-3-686. At the time, I did not know or think much about it. Now when I try to get linux headers to compile drivers, I am not finding them. I also read some problems with trunk kernels.

How can I assign the 2.6.32-3-686 kernel to be the default in grub? Is it OK to use it as the main kernel?

Do I need to upgrade the trunk kernel to rid of trunk or just don't use it?

View 9 Replies View Related

Debian :: Assign Unallocated Space To Existing Partition

Sep 15, 2009

I have a problem that Google didn't give me a workable solution so I'm posting my question here, hoping that someone has an idea.On a virtual server (VMWare) running Debian 5 I have a disk of 15Gb.

Can anyone tell me if this is possible? I've been playing around with GParted but unsuccessfully. The other option is to 'move' the whole server to a new (to create) virtual server that uses LVM. Any ideas?

View 5 Replies View Related

General :: Assign Debian Running On Virtual Box A Static Ip?

Jan 11, 2010

I would like to assign a static IP to Debian running on my virtual box. How should I do it? What needs to be written in /etc/network/interfaces.

View 5 Replies View Related

Debian Multimedia :: Assign One Virtual Desktop To One And Another Adjacent Second Monitor

Mar 24, 2010

I'm using kde 3.5.10 on a Debian Lenny with xorg from backports and nvidia proprietary driver (195.36.15) on my laptop. Nowadays I have received a 2nd monitor, end my purpose is to attach it to my laptop. TwinView or separate X screen work fine but clone or extended view modes for my mind are not so usefull. I think there is the possibility to assign one virtual desktop to one monitor and another adjacent virtual desktop to the second monitor. how to obtain this kind configuration.

View 2 Replies View Related

Debian Programming :: Assign Variable In Bash When Stdout Is Updated

Jan 17, 2014

I am writing a script that calls a program which writes a lot of lines to stdout continuosly. If the last line in stdout has some regex, THEN, certain variables are updated. My problem is that I don't know how to do that.

A simplified example would be (it's not my exact case, but it I write it here to clarify): suppose I issue a ping command (which writes output to stdout continuously). Every time that the response time is t=0.025 ms, THEN, VARIABLE1=(column1 of that line) and VARIABLE2=(column2 of that line).

I think the following code would work in awk (however, I want the variables in bash and I don't know how to export them)

Code: Select allping localhost |awk '{ if ( $8 == "time=0.025" ) var1=$1 var2=$2}'

In the previous code, awk analyzes each line of the output of the ping command as soon as it is created, so the variables $var1, $var2, ... are updated at the appropriate time. But I need the "real-time" updated values of $var1, $var2 in bash, for later use in the script.

View 7 Replies View Related

Debian :: Automount Inserted Devices?

Jun 5, 2010

I don't have an opportunity to check it out now... Does Debian 6 testing mount inserted CDs/Flash-drives automatically like Ubuntu does? Or the only way to mount them after inserting is to use mount command?

View 7 Replies View Related

Debian :: Automatic Mount Of Removable Devices

Oct 27, 2015

I use Debian 8.2 without DE. I can mount removable devices (USB sticks, external HDDs) manually using mount/umount to specific folders under /mnt or /media. But I want them mount automatically when plugged-in as /media/disk-label. Also I want to be able safely remove already mounted devices without data loss.As I understand, I need to create custom UDEV rule and associate it with mount/umount scripts. E.g. mount script

Code: Select all#!/bin/sh

mount_point=$ID_FS_LABEL
if [ -z $mount_point ]; then
    mount_point=${DEVNAME##*/}
fi
# retrieve gid of the plugdev group and set it as owner of mountpoint
plugdev_gid="$(grep plugdev /etc/group|cut -f3 -d:)"
if [ -z $plugdev_gid ]; then
   
[code]....

Is this safe and correct approach or it is better to use something else?

View 3 Replies View Related

Debian Installation :: One Or More Block Devices Are Holding

May 28, 2013

I'm using a Dell SC440 server for this effort. I started with Debian 6.0.7 32 bit i386 version in mid April and everything seemed to go smoothly until the first boot finished, I wanted to look at the hard drive just to see what storage space was left to work with. The drive was not recognized and I could not mount it. The error message was "One or More Block Devices are Holding /dev/dm-0".

I could not find anything on the debian forums that seemed to relate to the error message so Google led me to the same problem on Fedora, Ubuntu and one other distro. I flattened the machine and restarted from scratch. This time using Debian 6.0.7 AMD64 version. The install went well but I had the same problem with the same results. So I started over several more times before the new Debian 7.0 AMD64 version was released. Under Debian 7.0 I not only get the same error message but I also get a message that my video card is not supported under this new version of gnome and sudo does not work.

View 2 Replies View Related

Debian :: Mount Devices In A Chroot Jail?

Apr 16, 2010

I would like to create a logon script, for specific user, under ssh connection, to backup several directories in a USB device; this backup will run when the device was plugged in and the user logs in server. My knowledge of linux isn't very deeply now, and some questions are in my head. I would like to make this in a chroot jail, and the user log in through ssh connection doesn't have to make nothing, the logon script will mount the USB device and make the backup (using rsync or whatever), and exit the ssh connection when it finish.

But the questions are:

- is possible to a user in a chroot jail mount a USB device?

- from this jail, the directories outside of the jail could be available or need to be bind or something for this task?

- it will be better to "jail" all the directories to backup, inside de chroot path (almost would be samba sharing for Windows clients)?

View 1 Replies View Related

Debian Multimedia :: Sometimes Phonon Is Listing So Many Devices

Aug 2, 2015

I've encountered this problem twice. Sometimes Phonon is listing so many devices like this: [URL] ....

Usually there are just two devices like this: [URL] ....

When there are so many devices listed the volume control by using volume keys is different. It's usually up or down by 5%, but if the condition is like that the volume not up or down by 5%.

I've never encountered this kind of problem in other KDE distros. I'm using Jessie.

View 0 Replies View Related

Debian Multimedia :: Audio Devices Not Enabled?

Sep 18, 2010

On a fresh install of squeeze (with the exception of some installed video firmware and the latest updates from the repos) from the kde cd.

System is running an ASUS Sk8V motherboard with onboard sound, also a SB Audigy 2 ZS sound card. Speakers are plugged into the sound card.

Sound worked fine before in Lenny except I had to create /etc/modprobe.d/sound with the following to get the system to prioritize the SB card over the onboard audio

options snd-emu10k1 index=0
options snd-via82xx index=1

I've done the same with the new install, and still no audio.

I followed the troubleshooting steps from the FAQ forum, but am stuck on the end, which suggests doing the following:

The following string needs to be added to the /etc/modprobe.d/alsa-base.conf file
options snd-hda-intel model=YOUR_MODEL

View 2 Replies View Related

Debian Hardware :: USB Connection - No Raw Devices Found

Sep 3, 2015

I use gMTP for transferring files between tablet/ phone and my PC. Since like a week ago when I try to connect, I get "Detect: No raw devices found" error.

lsusb -v -d 2970:2008 returned
Code: Select allBus 003 Device 009: ID 2970:2008 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00

[Code] .....

View 2 Replies View Related

Debian :: Disable Automount Of Usb Devices Under Xfce?

Mar 8, 2011

I have squeeze with xfce4 installed. How to disable automount of usb devices under xfce?

View 2 Replies View Related

Debian :: List Hardware Devices And Their Drivers?

Sep 28, 2010

I would like to display hardware devices and their drivers in Debian. Sth similar to windows 'Device Manager' not necessarily must be in gui version. What kind of cmds I should use to be able to display hardware detected by HAL and their drivers ?

View 3 Replies View Related

Debian :: Use The Find Command To Search For Devices Files?

Mar 23, 2010

I've got 2 problems:1. How can I use the find command to search for devices files?2. I need to find all files thaare 6 months (or more) old and that have a size of 2 Mo or more. What would the code look like?Oh and also, how can I use the cat command to insert text in a file?

View 2 Replies View Related

Debian Multimedia :: Banshee 1.6 - Android Devices Not Mounted

Dec 28, 2010

I have a sony x10mini and it is correctly seen in nautilus and shotwell. But nor in banshee 1.6 (testing and sid) nor in 1.9 (experimental) is mounted. Fact is that I know it works for sure in fedora and debian so I wonder if it a problem of some dependency missing, configuration or permissions. I use the testing distro by the way...

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved