From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kay Sievers" Date: Sat, 20 Sep 2008 04:08:40 +0000 Subject: Re: ntfs.c failure in udev128 Message-Id: <3ae72650809192108j1f99bfdekd88f60b30fb60fa9@mail.gmail.com> List-Id: References: <48D1B043.9070302@smbc.com.au> In-Reply-To: <48D1B043.9070302@smbc.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Sep 19, 2008 at 02:52, Sergey Vlasov wrote: > On Thu, 18 Sep 2008 11:34:59 +1000 Scott Tester wrote: > >> I am having problems with udev recognizing an ntfs filesystem under udev128. >> Strangly, another ntfs partition is being recognized. (One formatted >> using mkfs.ntfs.) > [...] >> Sep 18 10:24:06 coota hald-probe-volume: 4728: 10:24:06.793: util.c:405 >> lseek(5, 0xc0000c00, 0) >> Sep 18 10:24:06 coota hald-probe-volume: 4728: 10:24:06.793: util.c:407 >> lseek failed (Invalid argument) > > EINVAL from lseek() might mean that the code was compiled without > large file support (-D_FILE_OFFSET_BITSd). AC_SYS_LARGEFILE is used > in configure.ac - it should add this option, but maybe this is not > working for some reason, which could be found by analyzing the build > output and maybe config.log. > > udev <= 127 did not use autotools, and the -D_FILE_OFFSET_BITSd > option was hardcoded in the toplevel Makefile. Oh, we might need to include config.h? Is there something set in your config.h regarding LARGE_FILE, FILE_OFFSET? Kay