Questions tagged [ioctl]

ioctl (input/output control) is a system call for device-specific input/output operations and other operations which cannot be expressed by regular file semantics

9 questions
18
votes
3 answers

Use clipboard through WSL?

I'm trying to get WSL to utilize my clipboard so I can update files from the output via xsel -b > my-umatrix-rules.txt. However, I'm getting the following error: xsel: Can't open display: (null) : Inappropriate ioctl for device I assume this has…
3
votes
7 answers

IOCTL call error when trying to format an SD card

Found an SD card (1GB) lying around. Thought I might pop that into my card reader and see if anything is on it. Nothing. There isn't even a file system on it. I right-click and go "format" but nothing happens. So I try in command. > format…
masfenix
  • 307
1
vote
0 answers

Upon reboot, Linux software raid fails to include one device of a RAID1 array

One of my four Linux software raid arrays drops one of its two devices when I reboot my system. The other three arrays work fine. I am running RAID1 on kernel version 2.6.32-5-amd64 (Debian Squeeze). Every time I reboot, /dev/md2 comes up with only…
user1389890
  • 111
  • 2
1
vote
0 answers

hdparm "Get/set IDE 32-bit IO setting" returns "IO_support =-2130557184 (???)" error

I'm trying to debug my Macbook Air SSD but am getting IO_support errors. hdparm -c /dev/sda /dev/sda: IO_support =-2130557184 (???) hdparm -c0 /dev/sda /dev/sda: setting 32-bit IO_support flag to 0 IO_support =-2130557184 (???) hdparm…
jonny
  • 41
1
vote
0 answers

lvconvert creating cached LV - results in device-mapper: reload ioctl on (254:0) failed: Invalid argument

On Sles15, after successfully creating the Meta and Cache LVs and combining them with lvconvert, I then go to associate the Cachepool with the slow LV and get the following error: lvconvert --type cache --cachepool vgVMs9/VMs9Cache vgVMs9/VMs9 Do…
0
votes
3 answers

Have to eject DVD after every write with growisofs

I am writing files to a DVD with growisofs once a day. Each time I append to the DVD, I have to eject the DVD and then re-load the DVD in order to see the file I just wrote. I am using RHEL 5.0 and to initialize a blank DVD, I use the…
Kevin S.
  • 725
0
votes
0 answers

How do I disable the "SECURITY FREEZE LOCK" on my SATA hard disk?

I am sending ATA commands to SATA HDD using IOCTL_ATA_PASS_THROUGH in windows. IDENTIFY DEVICE (ECh) ATA commands returns 256 words of data. Word 128, Bit 3 is set in the returned data, and according to ATA specs the bit denotes Device is in…
user2185864
0
votes
1 answer

e2label: sending ioctl 127c to a partition! in /var/messages

I'm currently trying to setup a debain (2.6.32-5-amd64/Debian 2.6.32-41squeeze2) webserver on a virtual host machine. Taking a look at my log messages I found the following message in /var/messages (4 messages every 5 minutes): (...) e2label:…
jus
  • 3
-1
votes
1 answer

ioctl LOOP_SET_FD failed: Device or resource busy

I'm trying to get Backtrack to run on my Droid DNA. I've been tweaking the script little by little but I still come up with the following. I changed the loop on it, and another program always seems to jump in front, or I still get the ioctl error,…
Joseph
  • 657