DragonFly BSD
DragonFly bugs List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: iostat does not show drives which are handled by KLDs


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Tue, 5 Oct 2004 14:53:18 +0900

On Tue, Oct 05, 2004 at 01:18:02AM +0900, YONETANI Tomokazu wrote:
> Hi.
> On Mon, Oct 04, 2004 at 05:31:28PM +0200, Tomaž Borštnar wrote:
> > I load ServeRAID driver via ips_load in loader.conf which works fine, but 
> > screws up iostat output:
> > 
> > host# iostat 1
> >       tty            acd0              cd0            pass0             cpu
> >  tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
> >    0    0  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0  0  0  0  0
> >    0    0  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0  0  0  0  0
> >    0    0  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0  0  0  0  0
> >    0    0  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0  0  0  0  0
> 
> It's not screwed up. IIRC in 4.x or DragonFly, disks won't appear in iostat
> or systat unless the driver installs devstat(9) entry, and ips(4) doesn't
> do so yet.
> 
> > These info are good to have.
> 
> Yeah, I'll work on this may be tomorrow if you haven't started yet.
 
Ok, please try the attached patch.
$ cd /sys/dev/raid/ips
$ zcat ips-devstat.diff.gz | patch
$ make
$ su
# cp /modules/ips.ko /modules/ips.ko.bak
# make install
# shutdown -r now

I'm going through a full buildworld, which will take about two hours,
with patched ips driver, to see if there's a problem.

Attachment: ips-devstat.diff.gz
Description: application/gunzip



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]