DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-02-12 21:51:44

lovgren
Member
Registered: 2007-05-05
Posts: 11

mdadm used obsolete MD ioctl, upgrade your software to use new ictls

Has anyone seen this message in dmesg?
I am using firmware 1.04.

Offline

 

#2 2008-02-13 00:11:01

skydreamer
Member
From: At the Atlantic Coast
Registered: 2007-01-06
Posts: 232

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

Offline

 

#3 2008-02-14 11:31:34

jayas
Member
Registered: 2008-01-24
Posts: 151

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

Hello,

I apologise beforehand if I had not read the other thread fully, but nobody seems to have explained how to get rid of this obsolete MD ioctl reported by dmesg.  I am running latest 1.04 firmware from DLINK ftp site and disks are configured as RAID1.

Jaya


H/W=B1 F/W=1.04; RAID1: SAMSUNG HD501LJ T166 (500GB, SATA 3.0Gb/s 16MB)

Offline

 

#4 2008-02-15 07:44:03

orbitaudio
Member
From: Brisbane, Australia
Registered: 2008-01-23
Posts: 25

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

http://dns323.kood.org/forum/t1659-Powe … aybe..html

It seems that there are different kernel versions used in 1.04, but it would be good if other people on both 1.04 or otherwise could post the output of 'uname -a' to verify this is the case.

Offline

 

#5 2008-02-15 09:28:30

jayas
Member
Registered: 2008-01-24
Posts: 151

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

orbitaudio wrote:

It seems that there are different kernel versions used in 1.04, but it would be good if other people on both 1.04 or otherwise could post the output of 'uname -a' to verify this is the case.

Result of my uname -a is 2.6.12.6-arm1 #29 Thu Dec 27 09:59:48 CST 2007 armv5tejl unknown and this was obtained from DLINK ftp site, also same as b84 from German DLINK site.

Jaya


H/W=B1 F/W=1.04; RAID1: SAMSUNG HD501LJ T166 (500GB, SATA 3.0Gb/s 16MB)

Offline

 

#6 2008-02-15 10:30:13

orbitaudio
Member
From: Brisbane, Australia
Registered: 2008-01-23
Posts: 25

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

hmmm, i don't think its kernel related, or even DNS-323 specific...

http://www.google.com.au/search?hl=en&a … &meta=

Offline

 

#7 2008-02-15 11:14:01

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

orbitaudio wrote:

hmmm, i don't think its kernel related, or even DNS-323 specific...

http://www.google.com.au/search?hl=en&a … &meta=

it's ioctl, not ictl. ioctls provide an interface to kernel functions and parameters.
what's the version of the mdadm program and when was it released?

Offline

 

#8 2008-02-15 12:57:26

jayas
Member
Registered: 2008-01-24
Posts: 151

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

fonz wrote:

what's the version of the mdadm program and when was it released?

~ # mdadm --version
mdadm - v2.5.6 - 9 November 2006

Jaya


H/W=B1 F/W=1.04; RAID1: SAMSUNG HD501LJ T166 (500GB, SATA 3.0Gb/s 16MB)

Offline

 

#9 2008-02-15 14:55:34

orbitaudio
Member
From: Brisbane, Australia
Registered: 2008-01-23
Posts: 25

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

fonz wrote:

it's ioctl, not ictl.

I know, but that's not what the message says is it...

i don't have mdadm installed for reference (since i have a debian install)

Last edited by orbitaudio (2008-02-15 15:13:40)

Offline

 

#10 2008-02-15 15:12:10

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

jayas wrote:

mdadm - v2.5.6 - 9 November 2006

FW 1.04b30: mdadm - v2.6.2 - 21st May 2007

Offline

 

#11 2008-02-15 15:54:17

jayas
Member
Registered: 2008-01-24
Posts: 151

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

My firmware info says Current Firmware Version: 1.04; Firmware Date: 01/10/2008.  It is same binary as 1.04b82.  This must mean they decided to backtrack? I wonder why.

Jaya

Edit: if you check ftp://ftp.dlink.com/GPL/DNS-323, mdadm version is listed as 2.5.6 -- strange!

Last edited by jayas (2008-02-15 16:02:04)


H/W=B1 F/W=1.04; RAID1: SAMSUNG HD501LJ T166 (500GB, SATA 3.0Gb/s 16MB)

Offline

 

#12 2008-02-19 04:13:23

Gand
Member
Registered: 2008-02-17
Posts: 8

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

I am also seeing "kernel: md: mdadm(pid xxx) used obsolete MD ioctl, upgrade your software to use new ictls." in dmesg and kern.log after upgrading to 1.04.  This isn't a huge problem for me except that 1) I hate unexplained errors and 2) it's preventing the drives from going to sleep because it's writing the error every 5 minutes.

I can work around #2 by sending md.* to /dev/null on syslogd.conf, but I'd still like to know what's causing it and how to prevent it.

Offline

 

#13 2008-02-19 15:50:40

jayas
Member
Registered: 2008-01-24
Posts: 151

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

Gand wrote:

I hate unexplained errors and 2) it's preventing the drives from going to sleep because it's writing the error every 5 minutes.

This does not sound right to me.  I have messages "HD1/2 standby now!" amidst mdadm messages.  So I suspect mdadm messages cannot be preventing your disk from spinning down.

Jaya


H/W=B1 F/W=1.04; RAID1: SAMSUNG HD501LJ T166 (500GB, SATA 3.0Gb/s 16MB)

Offline

 

#14 2008-04-02 07:06:18

andrey
Member
Registered: 2008-03-22
Posts: 34

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

I also do get quite a lot of mdadm messages and my drives do go to sleep. Wonder what's the cause for those messages though...

Offline

 

#15 2008-04-02 10:05:05

jayas
Member
Registered: 2008-01-24
Posts: 151

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

Hello,

jayas wrote:

My firmware info says Current Firmware Version: 1.04; Firmware Date: 01/10/2008.  It is same binary as 1.04b82.  This must mean they decided to backtrack? I wonder why.

Jaya

Edit: if you check ftp://ftp.dlink.com/GPL/DNS-323, mdadm version is listed as 2.5.6 -- strange!

Since I posted the URL, it seems the FTP site is no longer accessible to the public.  Has anyone got any idea if D-LINK is working on next version of firmware?  I hope they are as there are still heaps of outstanding problems.

Jaya

Last edited by jayas (2008-04-02 10:05:32)


H/W=B1 F/W=1.04; RAID1: SAMSUNG HD501LJ T166 (500GB, SATA 3.0Gb/s 16MB)

Offline

 

#16 2008-04-02 10:07:31

andrey
Member
Registered: 2008-03-22
Posts: 34

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

D-Link is planning on releasing 1.05 pretty soon. One of the imrovements that I'm aware of is the addition of BitTorrent to scheduled downloads part of UI. Not sure when 1.05 will be released, but they promised that it would take less time when it did for 1.04...

-- Andrey

Offline

 

#17 2008-04-02 16:41:32

jayas
Member
Registered: 2008-01-24
Posts: 151

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

Hi Andrey

andrey wrote:

D-Link is planning on releasing 1.05 pretty soon. One of the imrovements that I'm aware of is the addition of BitTorrent to scheduled downloads part of UI. Not sure when 1.05 will be released, but they promised that it would take less time when it did for 1.04...

Wonder if any beta's are available for checking out yet.

Jaya


H/W=B1 F/W=1.04; RAID1: SAMSUNG HD501LJ T166 (500GB, SATA 3.0Gb/s 16MB)

Offline

 

#18 2008-04-02 19:06:00

sjmac
Member
Registered: 2008-01-21
Posts: 222

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

jayas wrote:

Edit: if you check ftp://ftp.dlink.com/GPL/DNS-323, mdadm version is listed as 2.5.6 -- strange!
Since I posted the URL, it seems the FTP site is no longer accessible to the public.  Has anyone got any idea if D-LINK is working on next version of firmware?  I hope they are as there are still heaps of outstanding problems.

I think the URL is just broken (or got broken by the forum software - , has got tagged on the end),
ftp://ftp.dlink.com/GPL/DNS-323/ works OK for me ...

The file dates are all 01/02/2008 - has anything changed recently??

Offline

 

#19 2008-04-04 09:31:27

IN70043
Member
Registered: 2007-08-29
Posts: 6

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

Hi to everyone.

I had the same problem. After applying the lastest firmware available 1.04 in spain DLINK website 1.04b84, this kind of messages started. Obviously my RAID1 unit was degraded? I don't know why but after the reconstruction, I detected that Hard disk 0 never goes to sleep, hard disk 1 does.

I reverted to a previous beta firwmare NAS202B_DLINKEu_DNS323.1.04b21(1.04.0608.2007), that I used to test BT downloading and this kind of messages are dissapeared and both dirvers goes to sleep in the scheduled time.

The version of mdadm is v2.2 - 5 December 2005???? So I don't think that this could be the problem. So if you want to eliminate this messages and drives spin down stay at version 1.03.

I think this problem is related to RAID 1 configurations, anyone can confirm this?

For information only I've found in a german forum that the CH3SNAS from conceptronic has released a new firmware that solves an issue with the spinning down of one drive in RAID 1. Maybe Dlink is working on and the 1.05 firmware can resolve this.

http://www.dl-support.de/forum/viewtopi … 2f020b7a02

and the text mentioned:

Fixed: HDD1 unable to sleep in Raid1 mode

Best regards

Offline

 

#20 2008-04-04 11:44:12

jayas
Member
Registered: 2008-01-24
Posts: 151

Re: mdadm used obsolete MD ioctl, upgrade your software to use new ictls

Hello,

IN70043 wrote:

I had the same problem. After applying the lastest firmware available 1.04 in spain DLINK website 1.04b84, this kind of messages started. Obviously my RAID1 unit was degraded? I don't know why but after the reconstruction, I detected that Hard disk 0 never goes to sleep, hard disk 1 does.

I have been trying to nail this problem down too but with limited success.

Firstly, in my case, there have been few instances when I noticed the switch light illuminated.  Each time I noticed this, I logon using TELNET, and notice that one of the disks (that actually has entered standby mode) spinning up.

Then I logoff immediately.  Within 10 minutes (my sleep time), the switch light goes off.  I check using TELNET and see both disks have entered standby mode.

Now this problem of the light not going off appears to occur only after I play a movie from the DNS-323.  I use VLC.  So it seems that when a large file (mp4) is accessed for extended periods (for more than an hour), the disk spin down process gets confused and spins down one disk but not the other, and forgets to turn off the blue light.

Comments anyone?

Jaya


H/W=B1 F/W=1.04; RAID1: SAMSUNG HD501LJ T166 (500GB, SATA 3.0Gb/s 16MB)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB