Mergemaster Fails

Thomas D. Dean tomdean at speakeasy.org
Thu Jun 7 17:05:31 UTC 2012


On 06/06/12 21:20, Chris Nehren wrote:

> Have you tried ctrl-t? This will send SIGINFO to the process which

No response to any key except ^z

> Additionally, the output of ps ax -d (show process trees) would be
> helpful. This should also show what mergemaster is waiting on.
>

Viewing the output of the script with vi
...
  ^M
@@ -4165,7 +4173,7 @@^M
         match "bus" "uhub[0-9]+";^M
         match "mode" "host";^M
         match "vendor" "0x9710";^M
-       match "product" "0x7830";^M
+       match "product" "(0x7830|0x7832)";^M
         action "kldload -n if_mos";^M
  };^M
  ^M
@@ -4336,5 +4344,5 @@^M
         action "kldload -n umass";^M
  };^M
  ^M
-# 1652 USB entries processed^M
+# 1654 USB entries processed^M
  ^M
^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^M^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^M^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^M^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^M^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^M^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^M^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^M^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^M^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^G^M^[[K^[[7m(END)^[[27m^[[K^M^[[K^[[?1l^[>^M
Suspended^M
...

There are a large number of control characters, then (END) then, no 
response to any key except ^z.

from ps -ax -d:

PID PPID STAT     TIME COMMAND
    0    0 DLs   0:00.02 [kernel]
    1    0 ILs   0:00.02 - /sbin/init --
  103    1 Is    0:00.00 |-- adjkerntz -i
  753    1 Ss    0:00.02 |-- /usr/sbin/moused -p /dev/ums0 -t auto -I 
/var/run/m
  773    1 Is    0:00.00 |-- /sbin/devd
  893    1 Is    0:00.00 |-- dhclient: em0 [priv] (dhclient)
  931    1 Is    0:00.00 |-- dhclient: em0 (dhclient)
  972    1 Ss    0:00.00 |-- /usr/sbin/syslogd -s
  986    1 Ss    0:00.00 |-- /usr/sbin/rpcbind
1019    1 Is    0:00.00 |-- /usr/sbin/mountd -r
1025    1 Is    0:00.01 |-- nfsd: master (nfsd)
1026 1025 S     0:00.00 | `-- nfsd: server (nfsd)
1040    1 Is    0:00.01 |-- /usr/local/sbin/cupsd -C 
/usr/local/etc/cups/cupsd.
1056    1 Ss    0:00.00 |-- /usr/local/sbin/nmbd -D -s 
/usr/local/etc/smb.conf
1059    1 Ss    0:00.01 |-- /usr/local/sbin/smbd -D -s 
/usr/local/etc/smb.conf
1107 1059 I     0:00.00 | `-- /usr/local/sbin/smbd -D -s 
/usr/local/etc/smb.con
1090    1 Ss    0:00.00 |-- /usr/sbin/ntpd -c /etc/ntp.conf -p 
/var/run/ntpd.pi
1112    1 Ss    0:00.05 |-- /usr/local/bin/postgres -D /usr/local/pgsql/data
1114 1112 Ss    0:00.00 | |-- postgres: writer process    (postgres)
1115 1112 Ss    0:00.00 | |-- postgres: wal writer process    (postgres)
1116 1112 Ss    0:00.00 | |-- postgres: autovacuum launcher process 
(postgre
1117 1112 Ss    0:00.00 | `-- postgres: stats collector process 
(postgres)
1126    1 Is    0:00.00 |-- /usr/local/bin/dbus-daemon --system
1139    1 Ss    0:00.00 |-- sendmail: accepting connections (sendmail)
1147    1 Is    0:00.00 |-- sendmail: Queue runner at 00:30:00 for 
/var/spool/clie
1177    1 Is    0:00.00 |-- /usr/sbin/sshd
1181    1 Is    0:00.00 |-- /usr/sbin/cron -s
1205    1 Is    0:00.00 |-- /usr/sbin/inetd -wW -C 60
1237    1 Is    0:00.13 |-- /usr/local/sbin/hald
1240 1237 I     0:00.01 | `-- hald-runner
1262 1240 I     0:00.00 |   |-- hald-addon-mouse-sysmouse: /dev/ums0 
(hald-addo
1304 1240 S     0:00.01 |   `-- hald-addon-storage: /dev/cd0 
(hald-addon-storag
1225    1 Is    0:00.00 |-- login [pam] (login)
1308 1225 I+    0:00.01 | `-- -tcsh (tcsh)
1320 1308 I     0:00.00 |   `-- /bin/sh /usr/local/bin/startx
1338 1320 I     0:00.00 |     `-- xinit /home/tomdean/.xinitrc -- 
/usr/local/bi
1339 1338 R     0:06.58 |       |-- /usr/local/bin/X :0 -auth 
/home/tomdean/.se
1341 1338 I     0:00.01 |       `-- /usr/local/bin/xterm -j -sk -sb -sl 
1000 -f
1342 1341 I     0:00.01 |         |-- twm
1343 1341 S     0:00.07 |         |-- xclock -digital -update 1 
-geometry 230x3
1344 1341 I     0:00.01 |         |-- /usr/local/bin/xterm -j -sk -sb 
-sl 1000
1354 1344 Is+   0:00.02 |         | `-- tcsh
1363 1354 I     0:00.01 |         |   `-- /usr/local/bin/xterm -bd red 
-cr red
1365 1363 Is    0:00.01 |         |     `-- su
1366 1365 I     0:00.01 |         |       `-- _su (csh)
1368 1366 I+    0:00.00 |         |         `-- script /tmp/mergemaster
1369 1368 Is    0:00.01 |         |           `-- /bin/csh -i
1371 1369 I+    0:00.05 |         |             `-- /bin/sh 
/usr/sbin/mergemast
2423 1371 I+    0:00.00 |         |               `-- less
1345 1341 S     0:00.02 |         |-- /usr/local/bin/xterm -j -sk -sb 
-sl 1000
1352 1345 Ss    0:00.02 |         | `-- tcsh
2429 1352 R+    0:00.00 |         |   `-- /bin/ps -o 
pid,ppid,stat,time,command
1346 1341 I     0:00.01 |         |-- /usr/local/bin/xterm -j -sk -sb 
-sl 1000
1353 1346 Is+   0:00.01 |         | `-- tcsh
1351 1341 Is+   0:00.01 |         `-- tcsh
1226    1 Is    0:00.00 |-- login [pam] (login)
1314 1226 I+    0:00.01 | `-- -csh (csh)
1227    1 Is+   0:00.00 |-- /usr/libexec/getty Pc ttyv2
1228    1 Is+   0:00.00 |-- /usr/libexec/getty Pc ttyv3
1229    1 Is+   0:00.00 |-- /usr/libexec/getty Pc ttyv4
1230    1 Is+   0:00.00 |-- /usr/libexec/getty Pc ttyv5
1231    1 Is+   0:00.00 |-- /usr/libexec/getty Pc ttyv6
1232    1 Is+   0:00.00 `-- /usr/libexec/getty Pc ttyv7
    2    0 DL    0:00.00 - [ctl_thrd]
    3    0 DL    0:00.00 - [sctp_iterator]
    4    0 DL    0:00.00 - [xpt_thrd]
    5    0 DL    0:00.00 - [pagedaemon]
    6    0 DL    0:00.00 - [vmdaemon]
    7    0 DL    0:00.00 - [pagezero]
    8    0 DL    0:00.00 - [bufdaemon]
    9    0 DL    0:00.00 - [vnlru]
   10    0 DL    0:00.00 - [audit]
   11    0 RL   48:17.00 - [idle]
   12    0 WL    0:03.22 - [intr]
   13    0 DL    0:00.05 - [geom]
   14    0 DL    0:00.00 - [yarrow]
   15    0 DL    0:01.49 - [usb]
   16    0 DL    0:00.00 - [syncer]
   17    0 DL    0:00.01 - [softdepflush]
  771    0 DL    0:00.00 - [ng_queue]

I have a wireless keyboard and mouse.

dmesg | grep -i mouse
ukbd0: <Chicony HP 2.4Ghz Wireless Keyboard and Mouse, class 0/0, rev 
2.00/1.11, addr 4> on usbus3
ums0: <Chicony HP 2.4Ghz Wireless Keyboard and Mouse, class 0/0, rev 
2.00/1.11, addr 4> on usbus3

Tom Dean


More information about the freebsd-stable mailing list