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#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: A patch is included in http://lkml.org/lkml/2006/9/23/184: This patch looks ok, I'll push it in. Coolio! $ sshfs [EMAIL PROTECTED]:/home/smc phobos/ Kernel unaligned access at TPC[5d3770]

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

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

2006-12-28 Thread Steve Langasek
severity 404834 important thanks On Thu, Dec 28, 2006 at 02:50:45PM +0100, Sebastian Fontius wrote: Package: linux-image-2.6.18-3-sparc64 Version: 2.6.18-8 Severity: critical Tags: patch Justification: breaks unrelated software at first: if the severity may seem inflated feel free to

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

2006-12-28 Thread Jurij Smakov
clone 404834 -1 retitle -1 sshfs dies with bus error on sparc reassign -1 sshfs thanks On Thu, Dec 28, 2006 at 02:50:45PM +0100, Sebastian Fontius wrote: The mouse works but at boot I get this: Kernel unaligned access at TPC[1000c9e4] ehci_hub_control+0x54c/0x68c [ehci_hcd] Kernel

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

2006-12-28 Thread Sebastian Fontius
Package: linux-image-2.6.18-3-sparc64 Version: 2.6.18-8 Severity: critical Tags: patch Justification: breaks unrelated software Hi, at first: if the severity may seem inflated feel free to adjust it. Well start with the easy things: my hardware is an old Sun Ultra 5. I added an USB 2.0