Displaying 10 results from an estimated 10 matches for "modctl".
2009 Feb 11
0
failmode= continue prevents zpool processes from hanging and being unkillable?
...0 0
> c1t1d7 ONLINE 0 0 0
>
> errors: No known data errors
> If I truss "zpool import test2-app" the last lines are:
> open("/dev/dsk/c1t1d7s0", O_RDONLY) = 6
> fstat(6, 0xFFBFB404) = 0
> modctl(MODSIZEOF_DEVID, 0x01D80038, 0xFFBFB48C, 0x0008CC24,
> 0xFF21B480) = 0
> modctl(MODGETDEVID, 0x01D80038, 0x0000001C, 0x000E9F90, 0xFF21B480) = 0
> fstat(6, 0xFFBFB404) = 0
> modctl(MODSIZEOF_MINORNAME, 0x01D80038, 0x00006000, 0xFFBFB48C,
> 0xFF21B480) = 0...
2006 Oct 31
0
4988141 modunload(1M) can race with di_ioctl(DINFOLODRV)
Author: cth
Repository: /hg/zfs-crypto/gate
Revision: fbe522b794de2e79f3275980ba899d96a35e1f2e
Log message:
4988141 modunload(1M) can race with di_ioctl(DINFOLODRV)
Files:
update: usr/src/uts/common/os/modctl.c
update: usr/src/uts/common/sys/modctl.h
2005 Sep 30
0
dtrace on a kernel module _init()
...r a kernel module but hitting some roadblocks.
This doesn''t work:
::xxx:_init
{
self->follow=1;
}
:::_fini
{
self->follow=0;
}
Because there''s no "xxx" when dtrace runs. The best way I can see is to use fbt:modinstall:entry, tell dtrace about the modctl struct and match by the name of the module.
Can we have a new dtrace provider in modctl.c and friends to make this task a bit simpler? Or am I missing something else that''s obvious?
Whilst this would appear to fall under the anonymous tracing paradigm, I don''t see why I should...
2006 Jun 19
0
snv_42 zfs/zpool dump core and kernel/fs/zfs won''t load.
...i86pc
ardbeg# digest -a sha1 /kernel/fs/amd64/zfs
22b5a1a76d04238c5156b9edb9696c691c77927d
ardbeg# elfsign verify -e /kernel/fs/amd64/zfs
elfsign: verification of /kernel/fs/amd64/zfs passed.
ardbeg# modload /kernel/fs/amd64/zfs
can''t load module: No such device or address
ardbeg# truss -t modctl modload /kernel/fs/amd64/zfs
modctl(MODLOAD, 0x00000000, 0xFFFFFD7FFFDFF980, 0xFFFFFD7FFFDFFD8C,
0xFFFFFF0000000000) Err#6 ENXIO
can''t load module: No such device or address
ardbeg#
--
Darren J Moffat
2008 May 14
3
tcptop_snv connp->conn_tcp != connp->conn_proto_priv.cp_tcp
Tried to start up tcptop_snv on snv87 x86 and got
<i>dtrace: failed to compile script /dev/fd/11: line 168: conn_tcp is not a member of struct conn_s</i>
Line 288 has this line:
<i>this->tcpp = (tcp_t *)this->connp->conn_tcp;</i>
which, after looking at line 168 of <a
2008 May 20
4
Ways to speed up ''zpool import''?
...32 iSCSI LUNs (and 132 pools, one
per LUN, because I wanted to test with extremes) on an up to date S10U4
machine. A truss of a ''zpool import'' suggests that it spends most of
its time opening various disk devices and reading things from them and
most of the rest of the time doing modctl() calls and ZFS ioctls().
(Also, using ''zpool import -d'' with a prepared directory that has only
symlinks to the particular /dev/dsk device entries for a pool''s LUN
speeds things up dramatically.)
So, are there any tricks to speeding up ZFS pool import here (short of
t...
2006 Oct 31
0
4970475 There should be a stackdepth equivalent for userland
...: usr/src/lib/libdtrace/common/dt_map.c
update: usr/src/lib/libdtrace/common/dt_open.c
update: usr/src/lib/libdtrace/common/dt_options.c
update: usr/src/uts/common/dtrace/dtrace.c
update: usr/src/uts/common/dtrace/sdt_subr.c
update: usr/src/uts/common/io/avintr.c
update: usr/src/uts/common/os/modctl.c
update: usr/src/uts/common/sys/dtrace.h
update: usr/src/uts/common/sys/dtrace_impl.h
update: usr/src/uts/i86pc/ml/locore.s
update: usr/src/uts/intel/dtrace/dtrace_isa.c
update: usr/src/uts/sparc/dtrace/dtrace_asm.s
update: usr/src/uts/sparc/dtrace/dtrace_isa.c
2006 Oct 31
0
4994268 device configuration failure can corrupt parent''s devinfo reference count
Author: cth
Repository: /hg/zfs-crypto/gate
Revision: aa8a0144b9e633c0b75e73f05f38c116e2cb69b9
Log message:
4994268 device configuration failure can corrupt parent''s devinfo reference count
Files:
update: usr/src/uts/common/os/modctl.c
2005 Aug 22
3
dtrace''ing at module unload time
Hi,
I am trying to trace some functions that are executed at detach time, and it seems that just
having dtrace around to instrument the module is causing a short circuit, whereas modunload will
return (device busy). I understand that this makes sense, but how can I get around this if I
want to trace stuff at detach time?
Thanks,
--S
2009 Feb 24
44
Motherboard for home zfs/solaris file server
Hello,
I am building a home file server and am looking for an ATX mother board
that will be supported well with OpenSolaris (onboard SATA controller,
network, graphics if any, audio, etc). I decided to go for Intel based
boards (socket LGA 775) since it seems like power management is better
supported with Intel processors and power efficiency is an important
factor. After reading several