--Apple-Mail-4-12511796
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
Hey,
I had just finished updating to a very recent kernel (yesterday, HEAD),
and ran make upgrade. After this I couldn't use top(1) any more. It
reported access problems with /dev/mem (or /dev/kmem? dunno, doesn't
matter really).
so this came up (after a fresh make upgrade!)
21:36:44 corecode@sweatshorts:/dev % ll kmem
crw------- 1 root kmem 2, 1 Nov 17 21:36 kmem
21:36:46 corecode@sweatshorts:/dev % sudo chmod 640 kmem
21:37:15 corecode@sweatshorts:/dev % ll kmem
crw-r----- 1 root kmem 2, 1 Nov 17 21:36 kmem
21:37:28 corecode@sweatshorts:/dev % sudo sh -x MAKEDEV std
+ [ -n ]
+ PATH=/sbin:/bin
+ umask 77
+ mknod=/sbin/mknod
[...]
+ mknod kmem c 2 1 root:kmem
+ rm -f kmem
+ /sbin/mknod kmem c 2 1 root:kmem
+ chmod 640 kmem
+ mknod mem c 2 0 root:kmem
[...]
21:37:34 corecode@sweatshorts:/dev % ll kmem
crw-r----- 1 root kmem 2, 1 Nov 17 21:37 kmem
21:37:36 corecode@sweatshorts:/dev % sudo rm kmem
21:37:43 corecode@sweatshorts:/dev % sudo sh -x MAKEDEV std
+ [ -n ]
+ PATH=/sbin:/bin
+ umask 77
+ mknod=/sbin/mknod
[...]
+ mknod kmem c 2 1 root:kmem
+ rm -f kmem
+ /sbin/mknod kmem c 2 1 root:kmem
+ chmod 640 kmem
[...]
21:37:49 corecode@sweatshorts:/dev % ll kmem
crw------- 1 root kmem 2, 1 Nov 17 21:37 kmem
something was changing the mode, but I didn't run any weird program, so
I suspect the kernel. Unfortunately I'm no longer able to reproduce it,
still I could do so several times in a row.
cheers
simon
--
/"\
\ /
\ ASCII Ribbon Campaign
/ \ Against HTML Mail and News
--Apple-Mail-4-12511796
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFBm8ANr5S+dk6z85oRAgzrAJ90Kx5FQS+CDhxjSIlKsAPzo255RACeKDHB
4stbQ1yMtbvIZwNgdgX6zmA=
=3sub
-----END PGP SIGNATURE-----
--Apple-Mail-4-12511796--