search for: read_block

Displaying 20 results from an estimated 35 matches for "read_block".

2007 Jun 21
0
Profiles Binary - Error...
....so.1". (gdb) set args -c S-1-5-21-596271630-1476544438-1821 -n S-1-5-21-596271630-14765 44438-2175 ntuser.dat (gdb) r Starting program: /root/profiles -c S-1-5-21-596271630-1476544438-1821 -n S-1-5- 21-596271630-1476544438-2175 ntuser.dat Failed to read a valid object file image from memory. read_block: invalid block header! hbin_prs_key: Failed to find HBIN block containing offset [0x0] read_block: invalid block header! hbin_prs_key: Failed to find HBIN block containing offset [0x0] Program received signal SIGSEGV, Segmentation fault. 0x08080f08 in _talloc_free () (gdb) bt full #0 0x08080f08 i...
2010 Apr 07
1
Problem with `profiles`
...ata_size(4096) ndr_pull_security_descriptor failed: NDR_ERR_BUFSIZE prs_grow: Buffer overflow - unable to expand buffer by 36 bytes. ~~ App. 400 lines cut ~~ ->data_size(36864) ndr_pull_security_descriptor failed: NDR_ERR_BUFSIZE prs_grow: Buffer overflow - unable to expand buffer by 36 bytes. read_block: invalid block header! regfio_rootkey: corrupt registry file ? No root key record located Could not get rootkey This happens on every NTUSER.DAT that I try, on every machine. Googling and trying to fix for 2 days, at a loss. Any direction much appreciated! Thanks, Wes
2008 Oct 15
1
[PATCH] ocfs2: Wrap inode block reads in a dedicated function.
...; - mlog_exit(status); > - return status; > + mlog_exit_void(); > } > > static int ocfs2_read_locked_inode(struct inode *inode, > @@ -460,11 +448,15 @@ static int ocfs2_read_locked_inode(struct inode *inode, > } > } > > - if (can_lock) > - status = ocfs2_read_blocks(inode, args->fi_blkno, 1, &bh, > - OCFS2_BH_IGNORE_CACHE); > - else > + if (can_lock) { > + status = ocfs2_read_inode_block_full(inode, args->fi_blkno, > + &bh, > + OCFS2_BH_IGNORE_CACHE); > + } else { > status = ocfs2_read_block...
2006 Dec 22
1
xapian + win XP + 2GB
hi, I have problem with Xapian on Win XP. I compile Xapian with VC 7.0 using win32.mak from Lemurconsulting. I want to use files 2GB+ but unfortunetly this not work. I know that configure in Linux version change something to allow using large files. Could anyone help me. regards, Grzegorz ---------------------------------------------------- Dwie kobiety i ten sam problem -
2011 Jul 13
1
Feature request: Determining source index of xapian-compact DatabaseError exception
...would be very useful to always emit the index path currently being processed in any error thrown, thus allowing for easy identification of problems in data. I've hacked the source a bit in a few areas (by using std::string name from chert_table.h) to emit *something* useful, eg in ChertTable::read_block(): string message = "Error reading block " + str(n) + ": "; message += strerror(errno); + message += " (current_path: " + name + ")"; throw Xapian::DatabaseError(message); } else if (bytes_read == 0) { string message = &...
2011 Jun 29
33
Re: Mis-Design of Btrfs?
On 06/27/2011 07:46 AM, NeilBrown wrote: > On Thu, 23 Jun 2011 12:53:37 +0200 Nico Schottelius > <nico-lkml-20110623@schottelius.org> wrote: > >> Good morning devs, >> >> I''m wondering whether the raid- and volume-management-builtin of btrfs is >> actually a sane idea or not. >> Currently we do have md/device-mapper support for raid >>
2017 Nov 16
0
Re: [Qemu-devel] [qemu-img] support for XVA
...0A{=0A = my $h =3D shift;=0A close ($h->{fh});=0A}=0A=0Asub get_size=0A{=0A my= $h =3D shift;=0A my $i =3D $estimated_size;=0A # Allow user to overr= ide the estimate by setting size=3D parameter.=0A $i =3D $config{size} i= f exists $config{size};=0A return $i;=0A}=0A=0Asub read_block=0A{=0A = my $h =3D shift;=0A my $bnum =3D shift;=0A my $offset =3D $block{$bnu= m}{offset};=0A my $size =3D $block{$bnum}{size};=0A seek ($h->{fh}, $= offset, 0);=0A my $ret =3D "";=0A my $i =3D 0;=0A while ($size > 0= ) {=0A my $n =3D read ($h->{fh...
2004 May 11
2
"Error reading block xxx: got end of file"
Xapian (0.7.5) is spitting out this error on a regular basis: org.xapian.errors.DatabaseError: Error reading block 136618: got end of=20= file =A0=A0=A0=A0=A0=A0=A0 at=20 org.xapian.XapianJNI.writabledatabase_repalce_document(Native Method) =A0=A0=A0=A0=A0=A0=A0 at=20 org.xapian.WritableDatabase.replaceDocument(WritableDatabase.java:67) I don't have a gdb backtrace, only the Java
2012 Jul 27
1
kernel BUG at fs/buffer.c:2886! Linux 3.5.0
...e541 ffff88007b8fb368 ffff8800574c7c10 Jul 27 23:41:41 jupiter2 kernel: [ 351.170003] 0000000000000000 0000000100000000 ffff8800589236f0 ffff88005bac4000 Jul 27 23:41:41 jupiter2 kernel: [ 351.170003] Call Trace: Jul 27 23:41:41 jupiter2 kernel: [ 351.170003] [<ffffffff81327546>] ? ocfs2_read_blocks+0x176/0x6c0 Jul 27 23:41:41 jupiter2 kernel: [ 351.170003] [<ffffffff8114e541>] ? T.1552+0x91/0x2b0 Jul 27 23:41:41 jupiter2 kernel: [ 351.170003] [<ffffffff81346ad0>] ? ocfs2_find_actor+0x120/0x120 Jul 27 23:41:41 jupiter2 kernel: [ 351.170003] [<ffffffff813464f7>] ? ocfs2...
2017 Nov 15
10
Re: [Qemu-devel] [qemu-img] support for XVA
2017-11-15 21:29 GMT+01:00 Richard W.M. Jones <rjones@redhat.com>: > Gandalf, is there an XVA file publically available (pref. not > too big) that we can look at? I can try to provide one, but it's simple: # tar tvf 20160630_124823_aa72_.xva.gz | head -n 50 ---------- 0/0 42353 1970-01-01 01:00 ova.xml ---------- 0/0 1048576 1970-01-01 01:00 Ref:175/00000000
2020 Aug 23
2
MultiDatabase shard count limitations
...cript/public-i libxapian.so.30.8.0 [.] Xapian::BM25Weight::get_maxpart 1.55% script/public-i libxapian.so.30.8.0 [.] Glass::compare<Glass::LeafItem, Glass::LeafItem> 1.44% script/public-i libc-2.28.so [.] malloc 1.32% script/public-i libxapian.so.30.8.0 [.] io_read_block 1.24% script/public-i libxapian.so.30.8.0 [.] GlassTable::read_block 1.14% perl perl [.] Perl_yyparse 1.09% script/public-i libxapian.so.30.8.0 [.] GlassTable::find 0.95% /mnt/btr/public libc-2.28.so [.] _int_malloc 0.90% script...
2020 Aug 21
2
MultiDatabase shard count limitations
Going back to the "prioritizing aggregated DBs" thread from February 2020, I've got 390 Xapian shards for 130 public inboxes I want to search against(*). There's more on the horizon (we're expecting tens of thousands of public inboxes). After bumping RLIMIT_NOFILE and running ->add_database a bunch, the actual queries seem to be taking ~30s (not good :x). Now I'm
2019 Nov 22
0
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...ned long flags; diff --git a/drivers/net/ethernet/realtek/atp.c b/drivers/net/ethernet/realtek/atp.c index 58e0ca9093d3..f5c50926d10c 100644 --- a/drivers/net/ethernet/realtek/atp.c +++ b/drivers/net/ethernet/realtek/atp.c @@ -204,7 +204,7 @@ static void net_rx(struct net_device *dev); static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode); static int net_close(struct net_device *dev); static void set_rx_mode(struct net_device *dev); -static void tx_timeout(struct net_device *dev); +static void tx_timeout(struct net_device *dev, int txqueue); /* A list of all insta...
2019 Nov 23
1
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...t a/drivers/net/ethernet/realtek/atp.c b/drivers/net/ethernet/realtek/atp.c > index 58e0ca9093d3..f5c50926d10c 100644 > --- a/drivers/net/ethernet/realtek/atp.c > +++ b/drivers/net/ethernet/realtek/atp.c > @@ -204,7 +204,7 @@ static void net_rx(struct net_device *dev); > static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode); > static int net_close(struct net_device *dev); > static void set_rx_mode(struct net_device *dev); > -static void tx_timeout(struct net_device *dev); > +static void tx_timeout(struct net_device *dev, int txqueue); > &g...
2019 Nov 22
4
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
Hi Michael, Em sex., 22 de nov. de 2019 ?s 07:31, Michael S. Tsirkin <mst at redhat.com> escreveu: > > On Thu, Nov 21, 2019 at 10:36:36PM -0300, Julio Faracco wrote: > > Driver virtio_net is not handling error events for TX provided by > > dev_watchdog. This event is reached when transmission queue is having > > problems to transmit packets. This could happen for any
2019 Nov 22
4
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
Hi Michael, Em sex., 22 de nov. de 2019 ?s 07:31, Michael S. Tsirkin <mst at redhat.com> escreveu: > > On Thu, Nov 21, 2019 at 10:36:36PM -0300, Julio Faracco wrote: > > Driver virtio_net is not handling error events for TX provided by > > dev_watchdog. This event is reached when transmission queue is having > > problems to transmit packets. This could happen for any
2019 Nov 24
0
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...ev_priv(dev); diff --git a/drivers/net/ethernet/realtek/atp.c b/drivers/net/ethernet/realtek/atp.c index 58e0ca9093d3..f5c50926d10c 100644 --- a/drivers/net/ethernet/realtek/atp.c +++ b/drivers/net/ethernet/realtek/atp.c @@ -204,7 +204,7 @@ static void net_rx(struct net_device *dev); static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode); static int net_close(struct net_device *dev); static void set_rx_mode(struct net_device *dev); -static void tx_timeout(struct net_device *dev); +static void tx_timeout(struct net_device *dev, int txqueue); /* A list of all insta...
2019 Nov 24
3
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...ev_priv(dev); diff --git a/drivers/net/ethernet/realtek/atp.c b/drivers/net/ethernet/realtek/atp.c index 58e0ca9093d3..f5c50926d10c 100644 --- a/drivers/net/ethernet/realtek/atp.c +++ b/drivers/net/ethernet/realtek/atp.c @@ -204,7 +204,7 @@ static void net_rx(struct net_device *dev); static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode); static int net_close(struct net_device *dev); static void set_rx_mode(struct net_device *dev); -static void tx_timeout(struct net_device *dev); +static void tx_timeout(struct net_device *dev, int txqueue); /* A list of all insta...
2019 Nov 24
3
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...ev_priv(dev); diff --git a/drivers/net/ethernet/realtek/atp.c b/drivers/net/ethernet/realtek/atp.c index 58e0ca9093d3..f5c50926d10c 100644 --- a/drivers/net/ethernet/realtek/atp.c +++ b/drivers/net/ethernet/realtek/atp.c @@ -204,7 +204,7 @@ static void net_rx(struct net_device *dev); static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode); static int net_close(struct net_device *dev); static void set_rx_mode(struct net_device *dev); -static void tx_timeout(struct net_device *dev); +static void tx_timeout(struct net_device *dev, int txqueue); /* A list of all insta...
2019 Nov 24
0
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...ev_priv(dev); diff --git a/drivers/net/ethernet/realtek/atp.c b/drivers/net/ethernet/realtek/atp.c index 58e0ca9093d3..f5c50926d10c 100644 --- a/drivers/net/ethernet/realtek/atp.c +++ b/drivers/net/ethernet/realtek/atp.c @@ -204,7 +204,7 @@ static void net_rx(struct net_device *dev); static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode); static int net_close(struct net_device *dev); static void set_rx_mode(struct net_device *dev); -static void tx_timeout(struct net_device *dev); +static void tx_timeout(struct net_device *dev, unsigned int txqueue); /* A list of...