Re: make test fails (Kernel 2.6.12.3)
Robert Scussel <[email protected]>
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Organization | OmniTI, Inc. |
| Message-ID | <[email protected]> |
Yes, x86_64...
But on an interesting note, it runs really slow but the make test now
passes all the enbd tests (1 thru 5 ) and only seems to fail some of the
ioctl tests...
cat /proc/nbdinfo
Device a: Open
[a] State: verify, rw, enabled, validated, last error 0, lives 0, bp 0
[a] Queued: +0R/0W curr (check 0R/0W) +153R/156W max
[a] Buffersize: 262144 (sectors=512, blocks=256)
[a] Blocksize: 1024 (log=10)
[a] Size: 8192KB
[a] Blocks: 8192
[a] Sockets: 4 (+) (+) (+) (*)
[a] Requested: 6.4967K (1.61K) (1.58K) (1.59K) (1.59K) 452R/6.054KW
max 1
[a] Despatched: 6.3947K (1.61K) (1.58K) (1.59K) (1.59K) 452R/5.953KW
md5 69W (0 eq, 69 ne, 0 dn)
[a] Errored: 104 (26) (27) (26) (25) 104+0
[a] Pending: 0 (0) (0) (0) (0) 0R/0W+0R/0W
[a] B/s now: 0 (0R+0W)
[a] B/s ave: 14.0K (0R+13.0KW)
[a] B/s max: 593K (38.0KR+555KW)
[a] Spectrum: 99%1
[a] Kthreads: 0 (0 waiting/0 running/1 max)
[a] Cthreads: 4 (+) (+) (+) (+)
[a] Cpids: 4 (5067) (5068) (5069) (5070)
Device b-p: Closed
Peter T. Breuer wrote:
> "Also sprach Robert Scussel:"
>
>>/var/tmp/nbd-2.4.32/nbd/enbd-server.c: In function `newproto':
>>/var/tmp/nbd-2.4.32/nbd/enbd-server.c:1996: warning: int format,
>>different type arg (arg 6)
>
>
> That line is:
>
> PERR("net errored (header %d got %d) on req. Breaking off.\n",
> sizeof(request), err);
>
> and so the complaint is for err or sizeof(request) not being an int.
> err is declared as
>
> int err = 0;
>
> so you have a compiler that thinks that sizeof does not return an int.
>
> Sigh. That's OK, but you will have to fix such things! Anyway, I can
> work through your compiler complaints and fix them. I'd cast to int!
> I'm not prepared to use the %z format, or whatever it is.
>
>
>
>
>>/var/tmp/nbd-2.4.32/nbd/enbd-server.c:1996: warning: int format,
>>different type arg (arg 6)
>>/var/tmp/nbd-2.4.32/nbd/enbd-server.c: In function `masterpropagate':
>>/var/tmp/nbd-2.4.32/nbd/enbd-server.c:3406: warning: cast from pointer
>>to integer of different size
>
>
> Really?
>
>
> pid = (typeof(pid)) keydata;
>
> different size?!!!
>
> int pid;
> void *keydata;
>
> Uhhhhhh. Your addresses are not 32 bit or your integers aren't.
> ou MUST be on an ia64 architecture. I refuse to believe you have a
> 16bit arch.
>
> Is that the case?
>
> Peter
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912 5FCC 92D8 1EA1 BAF7 0959