[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] nbd-server segfault on x86_64



On Sat, Feb 11, 2006 at 07:27:51PM +0100, JaniD++ wrote:
> Hello, list,
> 
> 
> I found this:
> 
> nbd-server[8737]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007fffffa02820 error 6
> nbd-server[8771]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007fffffb06270 error 6
> nbd-server[8796]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[8798]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[8804]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[8811]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[8815]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[8818]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[8877]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[8885]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd: registered device at major 43
> nbd-server[8983]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[8990]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[8993]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[9032]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[9041]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[9058]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> nbd-server[9062]: segfault at 0000000000000000 rip 000000000040322e rsp
> 00007ffffffe85e0 error 6
> 
> This happened when some client try to connect this server.
> The server-thread process dies, every time.
> 
> The system:
> P4 Cual core(64 bit), Fedora Core 4 X86_64, Kernel 2.6.16-rc1-git4, nbd
> 2.8.2, compiled on this system.

I believe these problems have been fixed in 2.8.3, though I'm not
entirely sure.  Could you try with 2.8.3? If that does not work, we'll
need to debug a bit more.

I can't check myself, since I don't have sufficient access to an
AMD64/EM64T system myself.

> And another one issue:
> 
> My client machine is i386 system, and i get this, when i try to connect to
> 3.3TB blockdev:
> "Exported device is too big for me. Get 64-bit machine :-("
> 
> This is really need 64 bit machine?
> This problem is cannot be solve with bit-shifting?

Maybe, but that would require changes to the kernel driver.

> This needs the >4GB memory access?

No, it needs a useful unsigned long data type to be able to store
offsets.

I'm not 100% sure this check is still required, though. I'll try to find
out.

-- 
Fun will now commence
  -- Seven Of Nine, "Ashes to Ashes", stardate 53679.4



Reply to: