Current-Users archive

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

Strange sysctl behavior



I just noticed that on my 6.99.2 system, sysctl is misbehaving. Not only is it dumping core, but it appears to have some items not in alphabetical sequence (hw.dri.card0.vm comes before hw.dri.card0.clients for example, as well as hw.dri.card0.bufs coming after clients).

{155} sysctl hw.dri.card0
hw.dri.card0.name = radeon pci:0001:05:00.0
hw.dri.card0.vm = radeon pci:0001:05:00.0
slot offset             size       type flags address            mtrr
   0 0xffff80003f767000 0x00002000  SHM  0x20 0xffff80003f767000 no
   1 0x00000000fbfe0000 0x00010000  REG  0x02 0xffff80023d120000 no
   2 0x00000000d0000000 0x0fff0000   FB  0x10 0x0000000000000000 no
   3 0xffff80023d130000 0x00101000   SG  0x0e 0xffff80023d130000 no
   4 0xffff80023d231000 0x00001000   SG  0x0e 0xffff80023d231000 no
   5 0xffff80023d232000 0x00200000   SG  0x00 0xffff80023d232000 no
   6 0xffff80023d432000 0x01c80000   SG  0x00 0x0000000000000000 no

hw.dri.card0.clients = radeon pci:0001:05:00.0
slot offset             size       type flags address            mtrr
   0 0xffff80003f767000 0x00002000  SHM  0x20 0xffff80003f767000 no
   1 0x00000000fbfe0000 0x00010000  REG  0x02 0xffff80023d120000 no
   2 0x00000000d0000000 0x0fff0000   FB  0x10 0x0000000000000000 no
   3 0xffff80023d130000 0x00101000   SG  0x0e 0xffff80023d130000 no
   4 0xffff80023d231000 0x00001000   SG  0x0e 0xffff80023d231000 no
   5 0xffff80023d232000 0x00200000   SG  0x00 0xffff80023d232000 no
   6 0xffff80023d432000 0x01c80000   SG  0x00 0x0000000000000000 no

a dev   pid    uid      magic     ioctls
y   0   472     0          1  978110683
y   0   912  1000          2         16
y   0  1013  1000          3         16
y   0  1019  1000          4         16
y   0  6736  1000          5         16
y   0 25818  1000          6         16
y   0 21693  1000          7         16
y   0  9625  1000          8         16
y   0 26860  1000          9         16
y   0  9543  1000         10         16
y   0 23446  1000
hw.dri.card0.bufs = radeon pci:0001:05:00.0
slot offset             size       type flags address            mtrr
   0 0xffff80003f767000 0x00002000  SHM  0x20 0xffff80003f767000 no
   1 0x00000000fbfe0000 0x00010000  REG  0x02 0xffff80023d120000 no
   2 0x00000000d0000000 0x0fff0000   FB  0x10 0x0000000000000000 no
   3 0xffff80023d130000 0x00101000   SG  0x0e 0xffff80023d130000 no
   4 0xffff80023d231000 0x00001000   SG  0x0e 0xffff80023d231000 no
   5 0xffff80023d232000 0x00200000   SG  0x00 0xffff80023d232000 no
   6 0xffff80023d432000 0x01c80000   SG  0x00 0x0000000000000000 no

a dev   pid    uid      magic     ioctls
y   0   472     0          1  978110683
y   0   912  1000          2         16
y   0  1013  1000          3         16
y   0  1019  1000          4         16
y   0  6736  1000          5         16
y   0 25818  1000          6         16
y   0 21693  1000          7         16
y   0  9625  1000          8         16
y   0 26860  1000          9         16
y   0  9543  1000         10         16
y   0 23446  1000
Segmentation fault (core dumped)
{156}

-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index