Current-Users archive

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

process hangs in ATAIOCCOMMAND



Hello,

since I upgraded a 4.99.60 NetBSD/i386 system to yesterday's HEAD
(4.99.64), starting smartd(8) (from the sysutils/smartmontools package)
fails; the proces hangs in uninterruptible disk wait state:

$ ps -ax
 PID TTY   STAT    TIME COMMAND
   0 ?     DKl  0:00.52 [system]
   1 ?     Is   0:00.01 init 
[...]
 651 ttyp2 D+   0:00.02 /usr/pkg/sbin/smartd 
[...]

The last lines ktrace(1) shows before smartd hangs are:

   651      1 smartd   CALL  ioctl(3,ATAIOCCOMMAND,0xbfbfe5f0)
   651      1 smartd   GIO   fd 3 wrote 28 bytes
       "\^A\0\0\0\M-l\0\0\0\0\0\0\0\M-p\M-c\M-?\M-?\0\^B\0\0\M-h\^C\0\0\0\0\0\0"

This is what smartd logs to syslog:

   smartd version 5.38 [i386--netbsdelf] Copyright (C) 2002-8 Bruce Allen 
   Home page is http://smartmontools.sourceforge.net/  
   Opened configuration file /etc/pkg/smartd.conf 
   Configuration file /etc/pkg/smartd.conf parsed. 
   Device: /dev/wd0d, opened 

This does not happen when running a 4.99.60 kernel. Any hints?


TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~


Home | Main Index | Thread Index | Old Index