Skip to contentSkip to conversation

with the latest mdadm

DISCUSSION Farkas Levente 3 participants 4 messages Feb 7, 2006 MD RAID

lore
Share & tools
lore
#0 lore raw

hi,
with the latest mdadm-2.3.1 we've got the following message:
-------------------------------------
md: md4: sync done.
RAID1 conf printout:
--- wd:2 rd:2
disk 0, wo:0, o:1, dev:sda2
disk 1, wo:0, o:1, dev:sdb2
md: mdadm(pid 8003) used obsolete MD ioctl, upgrade your software to use new ictls.
-------------------------------------
this is just a warning or some kind of problem with mdadm? yours.

Signature · 1 line
  Levente                               "Si vis pacem para bellum!"
#1 lore raw
Quoted 4 lines · On Tuesday February 7, [email protected] wrote:

hi,
with the latest mdadm-2.3.1 we've got the following message:
-------------------------------------
md: md4: sync done.

Quoted 8 lines

RAID1 conf printout:
--- wd:2 rd:2
disk 0, wo:0, o:1, dev:sda2
disk 1, wo:0, o:1, dev:sdb2
md: mdadm(pid 8003) used obsolete MD ioctl, upgrade your software to use new ictls.
-------------------------------------
this is just a warning or some kind of problem with mdadm?

This is with a 2.4 kernel, isn't it.

The md driver is incorrectly interpreting an ioctl that it doesn't recognise as an obsolete ioctl. In fact it is a new ioctl that 2.4 doesn't know about (I suspect it is GET_BITMAP_FILE).

The message should probably be removed from 2.4, but as 2.4 is in deep-maintenance mode, I suspect that is unlikely....

NeilBrown

#2 lore raw
Quoted 14 lines · Neil Brown
Quoted 4 lines · On Tuesday February 7, [email protected] wrote:

hi,
with the latest mdadm-2.3.1 we've got the following message:
-------------------------------------
md: md4: sync done.

Quoted 8 lines

RAID1 conf printout:
--- wd:2 rd:2
disk 0, wo:0, o:1, dev:sda2
disk 1, wo:0, o:1, dev:sdb2
md: mdadm(pid 8003) used obsolete MD ioctl, upgrade your software to use new ictls.
-------------------------------------
this is just a warning or some kind of problem with mdadm?

Quoted 8 lines

This is with a 2.4 kernel, isn't it.

The md driver is incorrectly interpreting an ioctl that it doesn't recognise as an obsolete ioctl. In fact it is a new ioctl that 2.4 doesn't know about (I suspect it is GET_BITMAP_FILE).

The message should probably be removed from 2.4, but as 2.4 is in deep-maintenance mode, I suspect that is unlikely....

More to the point, why is mdadm trying to use an illegal ioctl instead of checking the kernel version and disabling features which won't work? Users are trusting their data to this software, and "try it and see if it works" ioctls don't give me a warm fuzzy feeling about correct operation.

Signature · 3 lines
bill davidsen <[email protected]>
  CTO TMR Associates, Inc
Doing interesting things with little computers since 1979
#3 lore raw
In reply to Neil Brown
Quoted 16 lines · Neil Brown
Quoted 4 lines · On Tuesday February 7, [email protected] wrote:

hi,
with the latest mdadm-2.3.1 we've got the following message:
-------------------------------------
md: md4: sync done.

Quoted 8 lines

RAID1 conf printout:
--- wd:2 rd:2
disk 0, wo:0, o:1, dev:sda2
disk 1, wo:0, o:1, dev:sdb2
md: mdadm(pid 8003) used obsolete MD ioctl, upgrade your software to use new ictls.
-------------------------------------
this is just a warning or some kind of problem with mdadm?

Quoted 1 line

This is with a 2.4 kernel, isn't it.

no. it's rhel latest kernel 2.6.9-22.0.2.ELsmp.

Quoted 6 lines

The md driver is incorrectly interpreting an ioctl that it doesn't recognise as an obsolete ioctl. In fact it is a new ioctl that 2.4 doesn't know about (I suspect it is GET_BITMAP_FILE).

The message should probably be removed from 2.4, but as 2.4 is in deep-maintenance mode, I suspect that is unlikely....

it's 2.6:-(

Signature · 1 line
  Levente                               "Si vis pacem para bellum!"