Skip to contentSkip to conversation

what does this mean: ioctl lock interrupted

DISCUSSION Eyal Lebedinsky 2 participants 3 messages Dec 3, 2005 – Dec 5, 2005 MD RAID

lore
Share & tools
lore
#0 lore raw

I am testing my Promise SATA-II-150-TX4.

I ran 'e2fsck -f' for a few hours and all is well. I then wanted some writing to so I changed to 'e2fsck -cc'.

I am seeing the following messages. Is this a problem? It seems to continue unharmed though.

Dec  3 18:24:09 eyal kernel: [4322441.538000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 18:35:23 eyal kernel: [4323115.688000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 18:36:42 eyal kernel: [4323194.933000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 18:36:54 eyal kernel: [4323207.259000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 18:37:59 eyal kernel: [4323271.650000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 18:38:21 eyal kernel: [4323293.902000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 19:04:03 eyal kernel: [4324835.969000] md: ioctl lock interrupted, reason -4, cmd 4705
$ uname -a
Linux e7 2.6.15-rc4 #2 PREEMPT Fri Dec 2 08:09:23 EST 2005 i686 GNU/Linux
Signature · 2 lines
Eyal Lebedinsky ([email protected]) <http://samba.org/eyal/>
	attach .zip as .dat
#1 lore raw
Quoted 8 lines · On Saturday December 3, [email protected] wrote:

I am testing my Promise SATA-II-150-TX4.

I ran 'e2fsck -f' for a few hours and all is well. I then wanted some writing to so I changed to 'e2fsck -cc'.

I am seeing the following messages. Is this a problem? It seems to continue unharmed though.

Quoted 8 lines
Dec  3 18:24:09 eyal kernel: [4322441.538000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 18:35:23 eyal kernel: [4323115.688000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 18:36:42 eyal kernel: [4323194.933000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 18:36:54 eyal kernel: [4323207.259000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 18:37:59 eyal kernel: [4323271.650000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 18:38:21 eyal kernel: [4323293.902000] md: ioctl lock interrupted, reason -4, cmd 4705
Dec  3 19:04:03 eyal kernel: [4324835.969000] md: ioctl lock interrupted, reason -4, cmd 4705

It is strange. It means that some process got signalled while trying to perform an 'ioctl' on an md device that was busy in some way that prevented any ioctl. However md devices are not 'busy' in this way for extended periods of time, so getting interrupted while waiting for the lock would be quite unusual.

The ioctl in question is number 4705, or 0x1261. This means that '0x12' group of ioctls, number 0x61.

All md ioctls are group '9', so it isn't an md ioctl.

It might help to know what command was causing it...

If you feel adventurous, you could edit drivers/md/md.c, find where it prints that message, and get it to print the string
current->comm
as well.

If not, probably don't worry about it.
I suspect it is harmless, though it is puzzling.

NeilBrown

#2 lore raw
Quoted 4 lines · Neil Brown

If you feel adventurous, you could edit drivers/md/md.c, find where it prints that message, and get it to print the string
current->comm
as well.

Seeing how I was running 'e2fsck -cc /dev/md0' this may not be a big surprise:

md: ioctl lock interrupted, reason -4, cmd 4705 current->comm='badblocks'
md: ioctl lock interrupted, reason -4, cmd 4705 current->comm='badblocks'
rtc: lost some interrupts at 1024Hz.

Signature · 2 lines
Eyal Lebedinsky ([email protected]) <http://samba.org/eyal/>
	attach .zip as .dat