Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2004 12:49:27 -0500 (EST)
From:      Sam <sah@softcardsystems.com>
To:        freebsd-current@freebsd.org
Subject:   AoE disk, stray ioctl?
Message-ID:  <Pine.LNX.4.60.0410261225440.4856@athena>

next in thread | raw e-mail | index | archive | help
Hello,

Thanks to the taskqueue suggestion I have the AoE driver running
properly now.  I'm testing the device IO and found something curious.

First let me say that I have an ioctl that fakes out the IOCATA
ioctl to handle smart commands issued from smartmontools's smartctl.

I'm dd'ing from/to a set of devices on my network:

sixzero# dd if=/dev/aoed40953 bs=1024k count=10 > /dev/null
10+0 records in
10+0 records out
10485760 bytes transferred in 2.115033 secs (4957729 bytes/sec)
sixzero# dd if=/dev/zero bs=1024k count=10 > /dev/aoed40953
10+0 records in
10+0 records out
10485760 bytes transferred in 2.291957 secs (4575025 bytes/sec)

When I do the write, I see two attempted ioctl calls with a
a command of 1076655123 (402C7413h).  I return ENOTTY and
everything works fine, but I'm curious what this is about.
Is there something I should be handling that I'm not?

Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.60.0410261225440.4856>