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

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



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 smc@phobos:/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 access at TPC[5d37f8] scm_detach_fds_compat+0xfc/0x16c
> >   Kernel unaligned access at TPC[5d3810] scm_detach_fds_compat+0x114/0x16c
> >   Bus-Zugriffsfehler
> >   $ ls phobos
> >   ls: phobos: Transport endpoint is not connected
> 
> There are two things here: first, the unaligned accesses in kernel. 
> Those, as Steve pointed out, are harmless, and should not have any 
> noticeable effect except for slight performance impact (I'll have a 
> look at them). However, after that sshfs actually dies with bus error, 
> which is an indication of alignment problems in sshfs itself. I'm 
> cloning this bug report and reassigning a copy to sshfs. Please 
> download and install the sshfs package with debugging symbols included 
> from
> 
> http://www.wooyd.org/debian/sshfs
> 
> and run it under gdb as follows:
> 
> $ gdb sshfs
> (gdb) set args smc@phobos:/home/smc phobos/
> (gdb) run
> 
> After program terminates with bus error, type 'backtrace' at the gdb 
> prompt and send the output to the sshfs bug report.

I have done so and will send the output to 404904@bugs.debian.org as
soon as I am done with this mail.  Thanks for your fast responses!  It
makes me having this warm and fuzzy feeling inside to know that the
people responsible do actually care :).

Greetings,

-- 
: Sebastian Fontius : www.fsfe.org : www.fsfe.org/en/fellows/smc
`--------+----------+--------------+-----------------------------------.
    []   | "They that can give up essential liberty to obtain a little |
  [][][] |  temporary safety deserve neither liberty nor safety."      |
    ||   :                                     Benjamin Franklin, 1759 :

Attachment: signature.asc
Description: Digital signature


Reply to: