search for: dsize

Displaying 20 results from an estimated 49 matches for "dsize".

Did you mean: size
2016 Jun 09
0
dfree is broken on this system
...gt;>> >>> [2016/06/01 11:22:04.402945, 0] ../source3/smbd/dfree.c:139(sys_disk_free) >>> WARNING: dfree is broken on this system >>> >>> What could be the cause of this? >> >> The code that creates this is: >> >> if ((*dsize)<1) { >> if (!dfree_broken) { >> DEBUG(0,("WARNING: dfree is broken on this system\n")); >> dfree_broken=true; >> } >> >> >> Where dsize is calculated as: >&gt...
2016 Jun 08
0
dfree is broken on this system
...he following on both systems. > > > > [2016/06/01 11:22:04.402945, 0] ../source3/smbd/dfree.c:139(sys_disk_free) > > WARNING: dfree is broken on this system > > > > What could be the cause of this? > > The code that creates this is: > > if ((*dsize)<1) { > if (!dfree_broken) { > DEBUG(0,("WARNING: dfree is broken on this system\n")); > dfree_broken=true; > } > > > Where dsize is calculated as: > > if (disk_quotas(...
2007 Jan 17
1
smbstatus -B segmentation fault
...(non-ASCII characters replaced with 'X'): #0 0x0017fa2c in memcpy () from /lib/tls/libc.so.6 #1 0x0029b19f in tdb_write (tdb=0x89b8608, off=3083693360, buf=0x89b8608, len=144) at tdb/tdb.c:404 #2 0x0029d578 in tdb_store (tdb=0x89b7078, key= {dptr = 0x89b8128 "\005X", dsize = 16}, dbuf= {dptr = 0x89b8608 "XX\002", dsize = 144}, flag=1) at tdb/tdb.c:1101 #3 0x002611a2 in traverse_fn (ttdb=0x89b7078, kbuf= {dptr = 0x89b8128 "\005X", dsize = 16}, dbuf= {dptr = 0x89b8608 "XX\002", dsize = 612}, state=0x25b622) at lockin...
2016 Jun 07
1
dfree is broken on this system
Running Samba 4.3.4 on a Solaris 10 i386 box and Samba 4.4.3 on a Solaris 10 sparc box. I have not looked at the logs for awhile. Just checking now and I see many of the following on both systems. [2016/06/01 11:22:04.402945, 0] ../source3/smbd/dfree.c:139(sys_disk_free) WARNING: dfree is broken on this system What could be the cause of this? Tom Schulz Applied Dynamics Intl. schulz at
2016 Jul 28
0
[PATCH] drm/nouveau/fbcon: fix font width not divisible by 8
...me bitmap for each character is stored in memory by lines from top to bottom. Each line is padded to a full byte. For example, for 22x11 font, each line is padded to 16 bits, so each character is consuming 44 bytes total, that is 11 32-bit words. The patch f045f459d925 changed the logic to "dsize = ALIGN(image->width * image->height, 32) >> 5", that is just 8 words - this is incorrect and it causes display corruption. This patch adds the necesary padding of lines to 8 bytes. This patch should be backported to stable kernels where f045f459d925 was backported. Signed-of...
2015 Oct 10
3
[PATCH] Extend Multiboot1 with support for ELF64 file format
...ntry falls within the p_vaddr range of this PHDR, then + * adjust it to match the p_paddr range... this is how Grub + * behaves, so it's by definition correct (it doesn't have to + * make sense...) + */ + addr_t addr = ph64->p_paddr; + addr_t msize = ph64->p_memsz; + addr_t dsize = min(msize, ph64->p_filesz); + + if (eh64->e_entry >= ph64->p_vaddr + && eh64->e_entry < ph64->p_vaddr + msize) + regs.eip = eh64->e_entry + (ph64->p_paddr - ph64->p_vaddr); + + dprintf("Segment at 0x%08x data 0x%08x len 0x%08x\n", + ad...
2009 Jul 01
0
Unix Extensions + ext3 quotas + df
...ak; case SMB_QUERY_POSIX_FS_INFO: { int rc; vfs_statvfs_struct svfs; if (!lp_unix_extensions()) { return ERROR_NT(NT_STATUS_INVALID_LEVEL); } rc = SMB_VFS_STATVFS(conn, ".", &svfs); if (!rc) { + + { + SMB_BIG_UINT dfree,dsize,bsize,block_size,sectors_per_unit,bytes_per_sector; + + if (get_dfree_info(conn,".",False,&bsize,&dfree,&dsize) != (SMB_BIG_UINT)-1) { + block_size = lp_block_size(snum); + if (bsize < block_size) { + SMB_BIG_UINT factor = block_size/bsize; +...
2013 Nov 28
1
Samba4 git pull (11/28/2013) won't compile on FreeBSD 9.2
...void *private_data) { struct brl_get_locks_readonly_state *state = (struct brl_get_locks_readonly_state *)private_data; struct byte_range_lock *br_lock; br_lock = talloc_pooled_object( state->mem_ctx, struct byte_range_lock, 1, data.dsize); if (br_lock == NULL) { *state->br_lock = NULL; return; } br_lock->lock_data = (struct lock_struct *)talloc_memdup( br_lock, data.dptr, data.dsize); br_lock->num_locks = data.dsize / sizeof(struct lock_struct)...
2009 Dec 15
7
ZFS Dedupe reporting incorrect savings
Hi, Created a zpool with 64k recordsize and enabled dedupe on it. zpool create -O recordsize=64k TestPool device1 zfs set dedup=on TestPool I copied files onto this pool over nfs from a windows client. Here is the output of zpool list Prompt:~# zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT TestPool...
2016 Jun 10
1
dfree is broken on this system
I think that I know what is going on. At first I was getting bad numbers from the DEBUG statement. It turns out that %u does not work with an unsigned 64 bit integer. So instead of passing (*dsize) I had to pass (unsigned int)*dsize. Now I am getting good numbers. The problem only occures with Windows XP machines. We have our users automounted on /home/users. We have /home/users shared as share users. If a user maps a network drive as \\machine\user then all is good. On Windows XP, if a use...
1999 Jun 24
0
2.0.4b - Bug in dfree > 2GB reporting for 16-bit clients
...9 *************** *** 48,55 **** /* * Force max to fit in 16 bit fields. */ ! if (*bsize > (WORDMAX*512)) { ! *bsize = (WORDMAX*512); if (*dsize > WORDMAX) *dsize = WORDMAX; if (*dfree > WORDMAX) --- 48,55 ---- /* * Force max to fit in 16 bit fields. */ ! if (*bsize &g...
2011 Oct 19
1
smbd PANIC at privileges
...er, restarted the services, and everything seems to be working. However, I get a TON of the following messages: Oct 19 15:05:23 hal smbd[5216]: [2011/10/19 15:05:23.518393, 0] lib/privileges.c:67(get_privileges) Oct 19 15:05:23 hal smbd[5216]: PANIC: assert failed at lib/privileges.c(67): data.dsize == sizeof( SE_PRIV ) Oct 19 15:05:41 hal smbd[5223]: [2011/10/19 15:05:41.347537, 0] lib/privileges.c:67(get_privileges) Oct 19 15:05:41 hal smbd[5223]: PANIC: assert failed at lib/privileges.c(67): data.dsize == sizeof( SE_PRIV ) Any ideas? I googled and couldn't really find anything that...
2006 Oct 10
1
How to assign a rank to a range of values..
>From the following: basin.map <- readAsciiGrid("c:/temp/area.asc", colname="area") I have a SpatialGridDataFrame which has the x and y cordinate of a cell, and the drainage area of that cell. There are many cells with a low drainage area (in my case, 33000 with an area of 37.16) and one cell with the highest drainage area (again, in my case, a drainage area of of
2010 Sep 17
3
ZFS Dataset lost structure
...ng device of a Xen VM, but i cannot access the directory structure of this dataset. However i can send a snapshot of this dataset to another system, but the same behavior occurs. If i do zdb -dddd dataset at the end of the output i can se the references to my file: Object lvl iblk dblk dsize lsize %full type 7 5 16K 128K 149G 256G 58.26 ZFS plain file 264 bonus ZFS znode dnode flags: USED_BYTES USERUSED_ACCOUNTED dnode maxblkid: 2097152 path /vdisk.raw uid 777 gid...
2002 Nov 28
0
problem with smbc_init in libsmbclient
...t)*128)) < 0) { fprintf(stderr, "Problems getting directory entries: %s\n", strerror(errno)); exit(1); } */ /* Now, process the list of names ... */ /* fprintf(stdout, "Directory listing, size = %u\n", dirc); while (dirc > 0) { dsize = ((struct smbc_dirent *)dirp)->dirlen; fprintf(stdout, "Dir Ent, Type: %u, Name: %s, Comment: %s\n", ((struct smbc_dirent *)dirp)->smbc_type, ((struct smbc_dirent *)dirp)->name, ((struct smbc_dirent *)dirp)->comment); dirp += dsize; (...
2004 Feb 04
1
Signal 11 in smbd 3.0.2rc2 on printer operation!
...1}\034_duB\227P??.\232:?\0\0\0\0\0\0\0\0D???,???Q0\026\b\004\0\0\0D???\024\0\0\0\0\0\0\0\001\0\0\0\0\0\0\0\004\0\0\0\0\0\0\0\002\0\0\08U=\bL???\0361\026\b\220\026=\bD???x???\004\0\0\0\0\0\0\0\001\0\0\0|????\214!\b\001\0\0\0D???x???,L\023\b\0\0\0\0\224???\214???K?\017\b"... data = {dptr = 0x0, dsize = 264} key = {dptr = 0xbffff3ac "STATUS/hpljet8100n", dsize = 18} printername = 0x82f6c40 "hpljet8100n" pdb = (struct tdb_print_db *) 0x83d4ac8 count = 0 #8 0x0813d5b1 in _spoolss_enumjobs (p=0x83d1690, q_u=0xbffff644, r_u=0xbffff634) at rpc_server/srv_spoolss_nt.c:651...
2009 Dec 27
1
[PATCH] drm/nouveau: create function for "dealing" with gpu lockup
..., "GPU lockup - switching to software fbcon\n"); - info->flags |= FBINFO_HWACCEL_DISABLED; + NV_GPU_LOCKUP(info); } if (info->flags & FBINFO_HWACCEL_DISABLED) { @@ -144,8 +141,7 @@ nv04_fbcon_imageblit(struct fb_info *info, const struct fb_image *image) int iter_len = dsize > 128 ? 128 : dsize; if (RING_SPACE(chan, iter_len + 1)) { - NV_ERROR(dev, "GPU lockup - switching to software fbcon\n"); - info->flags |= FBINFO_HWACCEL_DISABLED; + NV_GPU_LOCKUP(info); cfb_imageblit(info, image); return; } @@ -242,8 +238,7 @@ nv04_fbcon_accel...
2010 Feb 24
3
How to know the recordsize of a file
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I would like to know the blocksize of a particular file. I know the blocksize for a particular file is decided at creation time, in fuction of the write size done and the recordsize property of the dataset. How can I access that information?. Some zdb magic?. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea at jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/...
2009 Aug 17
8
drm bo accessors etc. v2
Revised patch set v2. [PATCH 1/8] drm/nouveau: bo read/write wrappers for nv04_crtc.c [PATCH 2/8] drm/nouveau: use bo accessors for push buffers [PATCH 3/8] drm/nouveau: OUT_RINGp - optimize OUT_RING loops [PATCH 4/8] drm/nv50: proper notifier_bo access in nv50_display_vblank_crtc_handler() [PATCH 5/8] drm/nouveau: access fbcon notifier via bo accessors [PATCH 6/8] drm/nouveau: screen_base and
2005 Aug 24
1
Testing libtheora-1.0alpha5
...d stuff). Consider the following clip: http://lives.reimeika.ca/cvs/swath.ogg As you can see there are a lot of obvious artifacts. I generate this movie using a series on PNG images and the following command sequence: mkfifo -m 0600 stream.yuv mplayer mf://*.png -mf type=png:fps=29.97002997 -vf dsize=16:9,hqdn3d -vo yuv4mpeg -ao null -nosound & encoder_example -s 8 -S 7 -f 30000 -F 1001 -v 10 -a 10 -o swath.ogg stream.yuv Any suggestions on how to improve this? In order to test I'm making available the LiVES video file (which is essentially a .tgz of the PNG images): http://lives.reim...