Bug#404904: Bug#404834: linux-image-2.6.18-3-sparc64: Kernel unaligned access kills at least sshfs (and may make USB unreliable)

2006-12-30 Thread Sebastian Fontius
Hello Miklos, hello Jurij, Also, sprach Miklos Szeredi am Samstag, den 30. Dezember 2006 um 01:02: I don't know what else could it be. Can you compile fuse with debugging enabled (DEB_BUILD_OPTS=nostrip,noopt) and repeat the experiment? The backtrace should then give a more detailed

Bug#404904: Bug#404834: linux-image-2.6.18-3-sparc64: Kernel unaligned access kills at least sshfs (and may make USB unreliable)

2006-12-30 Thread Miklos Szeredi
Thanks. I believe I undestand now: the buffer reserved for the cmsg is itself unaligned because it's a char array. It should be an array of size_t, which will have the required alignment. When you have time, can you please try out this patch? The old patch shouldn't be needed. If it still

Bug#404904: Bug#404834: linux-image-2.6.18-3-sparc64: Kernel unaligned access kills at least sshfs (and may make USB unreliable)

2006-12-30 Thread Sebastian Fontius
Hello everyone. Good news! Also, sprach Miklos Szeredi am Samstag, den 30. Dezember 2006 um 14:56: Thanks. I believe I undestand now: the buffer reserved for the cmsg is itself unaligned because it's a char array. It should be an array of size_t, which will have the required alignment.

Bug#404904: Bug#404834: linux-image-2.6.18-3-sparc64: Kernel unaligned access kills at least sshfs (and may make USB unreliable)

2006-12-29 Thread Sebastian Fontius
Also, sprach Jurij Smakov am Donnerstag, den 28. Dezember 2006 um 18:14: $ sshfs [EMAIL PROTECTED]:/home/smc phobos/ Kernel unaligned access at TPC[5d3770] scm_detach_fds_compat+0x74/0x16c Kernel unaligned access at TPC[5d37dc] scm_detach_fds_compat+0xe0/0x16c Kernel unaligned

Bug#404904: Bug#404834: linux-image-2.6.18-3-sparc64: Kernel unaligned access kills at least sshfs (and may make USB unreliable)

2006-12-29 Thread Miklos Szeredi
Program received signal SIGBUS, Bus error. [Switching to Thread 16384 (LWP 7778)] 0xf7ecf0c8 in fuse_mount_compat22 () from /usr/lib/libfuse.so.2 (gdb) backtrace #0 0xf7ecf0c8 in fuse_mount_compat22 () from /usr/lib/libfuse.so.2 #1 0xf7ecf34c in fuse_mount () from

Bug#404904: Bug#404834: linux-image-2.6.18-3-sparc64: Kernel unaligned access kills at least sshfs (and may make USB unreliable)

2006-12-29 Thread Sebastian Fontius
Hello, Also, sprach Miklos Szeredi am Freitag, den 29. Dezember 2006 um 15:11: OK, that implicates fuse, rather than sshfs. The following patch removes an unalinged access in that part of the code. Can you please try compiling fuse with this patch? I applied the patch to the fuse source

Bug#404904: Bug#404834: linux-image-2.6.18-3-sparc64: Kernel unaligned access kills at least sshfs (and may make USB unreliable)

2006-12-29 Thread Miklos Szeredi
Also, sprach Miklos Szeredi am Freitag, den 29. Dezember 2006 um 15:11: OK, that implicates fuse, rather than sshfs. The following patch removes an unalinged access in that part of the code. Can you please try compiling fuse with this patch? I applied the patch to the fuse source