Displaying 14 results from an estimated 14 matches for "block_number".
2011 Aug 29
0
BCMXCP UPS driver 0.24 (2.6.1) Hangs
...0 f0
00 00 f0 00 00 41
7.047542 00 00 41 00 00 f0 00 00 00 00 00 00 f0 00 00 1b c0 01 00
82 04 00 80 0b 00
7.047649 00 00 00 57 ab 01 1f 82 00 00 00 40 00 00 00 00 00 05 00
80 02 08 00 50 00
7.047733 00 00 00 00 00 03 00 1b 1a 00 0e 00 10 00 3e
7.047789 get_answer: block_number = 1
7.047819 get_answer: data length = 115
7.047873 get_answer: sequence number (1) is ok
7.047911 get_answer: checksum is ok
7.048005 get_answer: block_number = 1
7.048048 get_answer: data length = 31
7.048088 get_answer: sequence number (2) is ok
7.048...
2012 Jul 13
4
bcmxcp_usb can not communicate with Eaton Powerware 5110
...S Tools - BCMXCP UPS driver 0.23 (2.4.3)
USB communication subdriver 0.18
0.000000 debug level is '2'
0.008810 device 004 opened successfully
0.011517 entering get_answer(31)
0.013401 get_answer: (8 bytes) => ab 01 79 01 02 50 00 50
0.014623 get_answer: block_number = 1
0.015972 get_answer: need to read 118 more data
0.017549 get_answer: (16 bytes) => ab 01 79 01 02 50 00 50 01 00
0e 00 01 00 10 50
0.018769 get_answer: block_number = 1
0.019927 get_answer: need to read 110 more data
0.030671 get_answer: (24 bytes) => a...
2010 Mar 05
5
Getting 'Data stale' error with bcmxcp_usb for a PowerWare 5115 on OSX
...0 00
1.084729 f0 00 00 f0 00 00 f0 00 00 41 00 00 41 00 00 f0 00
00 00 00 00 00 f0 00 00
1.084755 1b c0 01 00 8a ab 01 28 82 82 04 00 80 0b 00 00 00
00 00 00 00 40 00 00 00
1.084780 00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00
1b 18 00 00 00 11 00 2f
1.084794 get_answer: block_number = 1
1.084807 get_answer: sequence number (1) is ok
1.084821 get_answer: checksum is ok
1.084846 get_answer: block_number = 1
1.084861 get_answer: sequence number (2) is ok
1.084874 get_answer: checksum is ok
1.084888 get_answer: all data received
1.085396 Length of meter...
2010 Mar 05
5
Getting 'Data stale' error with bcmxcp_usb for a PowerWare 5115 on OSX
...0 00
1.084729 f0 00 00 f0 00 00 f0 00 00 41 00 00 41 00 00 f0 00
00 00 00 00 00 f0 00 00
1.084755 1b c0 01 00 8a ab 01 28 82 82 04 00 80 0b 00 00 00
00 00 00 00 40 00 00 00
1.084780 00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00
1b 18 00 00 00 11 00 2f
1.084794 get_answer: block_number = 1
1.084807 get_answer: sequence number (1) is ok
1.084821 get_answer: checksum is ok
1.084846 get_answer: block_number = 1
1.084861 get_answer: sequence number (2) is ok
1.084874 get_answer: checksum is ok
1.084888 get_answer: all data received
1.085396 Length of meter...
2014 Feb 02
2
Powerware (Eaton) Prestige 9 UPS
...and the authors of the initial code took far too sever an
error handling path.
So, if anyone is still trying, this should get you going . . .
- Tim
-- /* if (command <= 0x43) { */
if (command << 0x43) {
if ((command - 0x30) != block_number){
ser_comm_fail("Receive error (Request
command):
%x!!!\n", block_number);
return -1;
}
}
/* Dawson - Powerware Prestige is an odd reply to topology_init . . .
but works!
Fo...
2016 Aug 25
2
Re: [PATCH 0/3] New API: find_inode
...; in a dedicated set of patches.
>
> The general idea looks ok, but I'd rather see the duplication dealt
> with sooner than later.
>
In the previous submissions, non related changes were rejected therefore I
thought that was the custom.
Moreover I'll add another API find_block (block_number --> tsk_dirents
referring to it) and I think is easier to refactor the code once all the
use cases are in place as the picture gets more clear.
> Thanks,
> --
> Pino Toscano
> _______________________________________________
> Libguestfs mailing list
> Libguestfs@redhat.com
&g...
2013 Mar 07
1
Power ware 5110 "not the right sequence received"
...00 00
51 51 00 00 00 00 51
2.523986 00 00 00 00 00 00 00 f0 00 f0 00 00 00 f0 00 00 00 00
00 00 00 00 f0 00 00
2.524015 00 00 00 00 00 00 51 00 00 51 00 00 00 00 00 00 00 00
00 f0 00 00 00 00 00
2.524039 00 00 00 00 00 00 00 f0 18 2b ab 01
2.524060 get_answer: block_number = 1
2.524080 get_answer: data length = 121
2.524102 get_answer: sequence number (1) is ok
2.524122 get_answer: checksum is ok
2.524144 get_answer: block_number = 1
2.524165 get_answer: data length = 0
2.524187 Communications with UPS lost: get_answer:...
2010 Jan 10
1
Eaton PW5110 + nut-2.4.1 + OpenBSD
...tering get_answer(31)
USB error: error reading from interrupt endpoint /dev/ugen0.01: Resource
temporarily unavailable
usb_control_msg: 0 7 772 0 0xcfbcacd0 4 1000
0.032365 entering get_answer(31)
0.032736 get_answer: (8 bytes) => ab 01 79 01 02 50 00 10
0.033027 get_answer: block_number = 1
0.033341 get_answer: data length = 121
0.033680 get_answer: need to read 118 more data
USB error: error reading from interrupt endpoint /dev/ugen0.01: Resource
temporarily unavailable
usb_control_msg: 0 7 772 0 0xcfbcacd0 4 1000
0.038364 entering get_answer(31)
USB error: e...
2016 Aug 25
0
Re: [PATCH 0/3] New API: find_inode
...ch as formatting fixes. I remember to have said
that it's a no-go as *single* patch, but they can be sent (and
integrated) as different commits.
In this case, refactoring and de-duplication of code should be done in
different commits as well.
> Moreover I'll add another API find_block (block_number --> tsk_dirents
> referring to it) and I think is easier to refactor the code once all the
> use cases are in place as the picture gets more clear.
More reasons to refactor *before*: since you already planned more APIs,
it's easier to just refactor one in advance with all the common c...
2013 Apr 23
2
Metaflac UTF-8 fixes
..., j;
/*@@@ yuck, should do this with a varargs function or something: */
-#define PPR if(filename)flac_printf("%s:",filename);
+#define PPR if(filename) if(raw) printf("%s:",filename); else flac_printf("%s:",filename);
PPR; printf("METADATA block #%u\n", block_number);
PPR; printf(" type: %u (%s)\n", (unsigned)block->type, block->type < FLAC__METADATA_TYPE_UNDEFINED? FLAC__MetadataTypeString[block->type] : "UNKNOWN");
PPR; printf(" is last: %s\n", block->is_last? "true":"false");
diff --git...
2016 Aug 24
6
[PATCH 0/3] New API: find_inode
The find_inode API allows the User to search all the entries referring
to a given inode and returns a tsk_dirent structure for each of them.
As I didn't want to change unrelated code, there is a little bit
of code duplication at the moment. Plan is to refactor the logic
in a dedicated set of patches.
Matteo Cafasso (3):
New API: internal_find_inode
New API: find_inode
find_inode: added
2013 Nov 27
0
[PATCH 07/25] block: Convert bio_for_each_segment() to bvec_iter
...ddress(bv->bv_page) + bv->bv_offset;
- for (off = 0; off < bv->bv_len; off += blksize) {
+ dst = page_address(bv.bv_page) + bv.bv_offset;
+ for (off = 0; off < bv.bv_len; off += blksize) {
memset(dbio, 0, sizeof (struct dasd_diag_bio));
dbio->type = rw_cmd;
dbio->block_number = recid + 1;
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c
index cee7e27..70d1770 100644
--- a/drivers/s390/block/dasd_eckd.c
+++ b/drivers/s390/block/dasd_eckd.c
@@ -2551,7 +2551,7 @@ static struct dasd_ccw_req *dasd_eckd_build_cp_cmd_single(
struct dasd_ccw_req *c...
2013 Nov 27
0
[PATCH 07/25] block: Convert bio_for_each_segment() to bvec_iter
...ddress(bv->bv_page) + bv->bv_offset;
- for (off = 0; off < bv->bv_len; off += blksize) {
+ dst = page_address(bv.bv_page) + bv.bv_offset;
+ for (off = 0; off < bv.bv_len; off += blksize) {
memset(dbio, 0, sizeof (struct dasd_diag_bio));
dbio->type = rw_cmd;
dbio->block_number = recid + 1;
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c
index cee7e27..70d1770 100644
--- a/drivers/s390/block/dasd_eckd.c
+++ b/drivers/s390/block/dasd_eckd.c
@@ -2551,7 +2551,7 @@ static struct dasd_ccw_req *dasd_eckd_build_cp_cmd_single(
struct dasd_ccw_req *c...
2013 Nov 27
0
[PATCH 07/25] block: Convert bio_for_each_segment() to bvec_iter
...ddress(bv->bv_page) + bv->bv_offset;
- for (off = 0; off < bv->bv_len; off += blksize) {
+ dst = page_address(bv.bv_page) + bv.bv_offset;
+ for (off = 0; off < bv.bv_len; off += blksize) {
memset(dbio, 0, sizeof (struct dasd_diag_bio));
dbio->type = rw_cmd;
dbio->block_number = recid + 1;
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c
index cee7e27..70d1770 100644
--- a/drivers/s390/block/dasd_eckd.c
+++ b/drivers/s390/block/dasd_eckd.c
@@ -2551,7 +2551,7 @@ static struct dasd_ccw_req *dasd_eckd_build_cp_cmd_single(
struct dasd_ccw_req *c...