Date: Mon, 12 May 2008 09:19:29 GMT From: Christian Krämer <bug@crasu.de> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/123606: Executing files on encrypted usb stick fails with g_vfs_done() error = 22 Message-ID: <200805120919.m4C9JT3u083043@www.freebsd.org> Resent-Message-ID: <200805120930.m4C9U1be027214@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 123606 >Category: kern >Synopsis: Executing files on encrypted usb stick fails with g_vfs_done() error = 22 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 12 09:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Christian Krämer >Release: Release 6.2 >Organization: >Environment: FreeBSD humbert 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Sun Apr 20 07:40:27 CEST 2008 root@humbert:/usr/src/sys/i386/compile/MYKERNEL i386 >Description: I tried to create an encrypted memory stick using geli. When I try to execute files the following error message shows up in dmesg: May 6 22:17:33 kernel: g_vfs_done():da0s1b.eli[READ(offset=3748950016, l ength=8192)]error = 22 May 6 22:17:33 kernel: vnode_pager_getpages: I/O read error - The file itself is readable and correctly copied MD5 (/bin/ls) = d8360b60978850cb2821b1e742ea4723 MD5 (/mnt/usb/ls) = d8360b60978850cb2821b1e742ea4723 - I am using via epia padlock for encryption, but this happens too when software crypto is enabled. - After reading the file into memory for examples by md5 summing it file execution works. - This might be the same problem as pr-id: 98742 - I tried ufs block sizes of 4096 and 16384 bytes - I tried various geli sector sizes (-s) - sometimes the system reboots after trying to execute a file >How-To-Repeat: - create an encypted memory stick using geli - create a ufs filesystem - copy an executable file - execute it >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805120919.m4C9JT3u083043>