Questions tagged [udev]

106 questions
1
vote
0 answers

udev rule for disconnection and hibernate/suspend

I have an external hard drive which contains different GPT partitions. One of them is a LVM partition. This partition is contained in a LVM volume group (called "volga"), which in turns splits into many different logical volumes, one of them is…
qdii
  • 335
  • 2
  • 8
1
vote
1 answer

MegaCli newly created disk doesn't appear under /dev/sdX

After having successfully added 2 new disks in a new RAID virtual drive (background initialization done), I would have exepected it to appear under /dev/sdh but it's not there (so, unusable). The system is running a CentOS 5.2 64 bits, HAL and udev…
1
vote
4 answers

eth0 and eth1 both assigned same IP on boot

I have a physical SLES 11 SP2 server on a Sun Fire x4140 that is giving me problems with networking upon reboot. The NICs are onboard. The networking appears successful during boot, but network services such as nfs fail hard. This is because…
Banjer
  • 3,854
  • 11
  • 40
  • 47
1
vote
0 answers

lenny to squeeze upgrade, partitions disapper

I have an RealPrivateServer on OVH provider, I have completes the upgrade, but after all packages were upgraded, the system for some reason don't generate the disk devices in /dev properly. I had the system mounted in /dev/sda1 but the swap was not…
stefcud
  • 185
  • 1
  • 10
1
vote
1 answer

how can i control where pci devices are mounted?

I have a machine with multiple capture cards in PCI express slots. For ease of trouble shooting stuff, I would like for the devices to appear on the OS in order of their physical position when I'm plugging them in or unplugging them from the…
wim
  • 165
  • 2
  • 18
1
vote
4 answers

Slow logical volume detection

I am experiencing some issues with test server lately. It was installed few days ago and worked OK until yesterday, when it did not wake up after reboot. Bootloader did not find root device. Error: Gave up waiting for root device. ALERT!…
overlord_tm
  • 133
  • 1
  • 6
1
vote
4 answers

Persistent changes to /proc/sys/sunrpc/tcp_slot_table_entries

I'm trying to make a persistent change to sunrpc.tcp_slot_table_entries on a Linux CentOS 5.5. This value has been found important for the performance of our NFS clients, and must be set before the NFS mounts are done. Simply putting the value in…
David142
  • 353
  • 1
  • 2
  • 9
1
vote
3 answers

udev makes /dev/null unwritable?

Had two Debian stable (as of 2009-05-28) servers suddenly broken, when /dev/null became unwritable. It appeared that when I restart udev it sometimes (randomly) changes /dev/null permissions sometimes making it unwritable. Server configuration is…
Kazimieras Aliulis
  • 2,324
  • 2
  • 26
  • 45
1
vote
1 answer

How to get the permissions right for /dev/raw1394

I recently upgraded one of my ubuntu machines to Karmic and I'm having trouble getting the permissions of /dev/raw1394 set to 0666. They only thing this machine is used for is recording audio from a firepod which uses /dev/raw1394 via jackd and…
boatcoder
  • 548
  • 2
  • 4
  • 19
1
vote
0 answers

Autofs and udev rules to restrict usb permissions to groups

I need some help trying to figure out how to restrict the reading and writing access of usb devices. There are two groups on my system: usbreaders: only should have rights to access and read the usb content. usbwriters: should have reading and…
DG DM
  • 25
  • 5
0
votes
0 answers

X-Org Server - Identify USB Unplug event

In our X-Org server setup, if the server is running and we unplug the USB Mouse then the server doesn't really do anything (no errors or warnings.) If we replug the device, even then the server doesn't recognize that device is there now, since it…
Beenish Khan
  • 101
  • 4
0
votes
1 answer

How to findout if haldaemon is being used or udev in RHEL server?

I am quite confused if hal is really in use or just udev. What I understood: In general, HAL is an abstraction layer that allows an operating system to interact with a hardware device. And daemon hald is different from HAL. It is a service which…
GP92
  • 599
  • 2
  • 6
  • 25
0
votes
1 answer

Right network interface autodetect and get dhcp while boot

While preparing the mini forensic system I hung on a problem: Let us imagine, we prepare a usb-flash booted linux for lot of diferent workstations. While setting up the network (ipv4 dhcp) we can find more than one LAN interfaces, and someone is…
schweik
  • 253
  • 2
  • 8
0
votes
0 answers

Run script after plugging in USB device of certain vendor ID and product ID

I have a USB device and I need to execute a "infinite" script when I plug in this device and pass the /dev/... path as an argument. The real example is: The device is RFID reader (0403:6001), which works as tty device. I need to run a script, which…
mkudlacek
  • 1,657
  • 1
  • 11
  • 15
0
votes
1 answer

Why does udevadm not provide me a disk serial number when hdparm can?

Compare: root@home:~# hdparm -I /dev/sdb | grep Serial Serial Number: WCJ025C8 Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0 root@home:~# to: root@home:~# udevadm info -a…
Brad
  • 279
  • 2
  • 10