From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Peter Smith" Subject: Re: Mount memory allocation error Date: Thu, 3 Jul 2008 13:57:51 +0200 Message-ID: <474dca090807030457m2124a200hf57306256f21ed4a@mail.gmail.com> References: <474dca090807030319w7ff440b0w1315c60fb7d56756@mail.gmail.com> <20080703.203027.100419265.ryusuke@osrg.net> Reply-To: NILFS Users mailing list Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0843812912==" Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org Errors-To: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org To: NILFS Users mailing list --===============0843812912== Content-Type: multipart/alternative; boundary="----=_Part_8983_9385667.1215086271792" ------=_Part_8983_9385667.1215086271792 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline SUCCESS I used the Suse rpm and everything worked perfectly. I can only assume a mistake on my part. Thank you very much for such a prompt and helpful response Peter On Thu, Jul 3, 2008 at 1:46 PM, Seiji Kihara wrote: > Hello Peter, > > At Thu, 03 Jul 2008 20:30:27 +0900 (JST), > Ryusuke Konishi wrote: > > Hi Peter, > > > > On Thu, 3 Jul 2008 12:19:53 +0200, "Peter Smith" wrote: > > > Hi, > > > I recently upgraded my memory from 2G to 4G and this made it necessary > to > > > change my kernel > > > from > > > 2.6.22.5-31-default > > > to > > > 2.6.22.5-31-bigsmp > > > > > > Now I cannot mount nilfs2 partitions. > > > I get the error message: mount.nilf2: ... ... Cannot allocate memory > > > > > > My environment is > > > OpenSuse 10.3 > > > nilfs 2.02 > > > nilfs-utils 2.04 > > > > > > Yes, I did recompile/install nilfs and nilfs-utils while using the > bigsmp > > > kernel. > > > When I switch back to the default kernel mount.nilfs2 works normally, > > > as does everything else.(but of course I don't have access to the full > 4G > > > memory) > > > > > > Your help would be greatly appreciated > > > Peter > > > > Thank you for reporting this. > > We are now trying to catch the problem. > > > > BTW, did you try our binary package for OpenSuse? > > It is available on http://www.nilfs.org/pub/opensuse/. > > > > Does it incur the same problem? > > I had tested with our environment and no error occured. > Could you please try our binary packages, and more information > of your environment if error occurs? > > my log: > > % uname -r > 2.6.22.5-31-bigsmp > % rpm -q nilfs-kmp-bigsmp nilfs-utils > nilfs-kmp-bigsmp-2.0.2_2.6.22.5_31-1 > nilfs-utils-2.0.4-1 > % head /proc/meminfo > MemTotal: 4150384 kB > MemFree: 3811844 kB > Buffers: 16608 kB > Cached: 254852 kB > SwapCached: 0 kB > Active: 119736 kB > Inactive: 180004 kB > HighTotal: 3276528 kB > HighFree: 2982592 kB > LowTotal: 873856 kB > % head /proc/cpuinfo > processor : 0 > vendor_id : GenuineIntel > cpu family : 6 > model : 15 > model name : Intel(R) Xeon(R) CPU 5130 @ 2.00GHz > stepping : 6 > cpu MHz : 2000.251 > cache size : 4096 KB > physical id : 0 > siblings : 2 > % dd if=/dev/zero of=nilfs2.vol bs=1048576 seek=1024 count=0 > 0+0 records in > 0+0 records out > 0 bytes (0 B) copied, 1.4095e-05 s, 0.0 kB/s > % mkfs -t nilfs2 nilfs2.vol > mkfs.nilfs2 ver 2.0 > Start writing file system initial data to the device > Blocksize:4096 Device:nilfs2.vol Device Size:1073741824 > File system initialization succeeded !! > % sudo mount -t nilfs2 -o loop nilfs2.vol /a > % df /a > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/loop0 1048572 16380 966656 2% /a > > Regards, > > Seiji Kihara > NILFS Team, NTT Labs. > _______________________________________________ > users mailing list > users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org > https://www.nilfs.org/mailman/listinfo/users > -- This is Linux land. On quiet nights you can hear the Windows machines rebooting. ------=_Part_8983_9385667.1215086271792 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline SUCCESS
I used the Suse rpm and everything worked perfectly.
I can only assume a mistake on my part.
Thank you very much for such a prompt and helpful response
Peter

On Thu, Jul 3, 2008 at 1:46 PM, Seiji Kihara <kihara-sG5X7nlA6pw@public.gmane.org> wrote:
Hello Peter,

At Thu, 03 Jul 2008 20:30:27 +0900 (JST),
Ryusuke Konishi wrote:
> Hi Peter,
>
> On Thu, 3 Jul 2008 12:19:53 +0200, "Peter Smith" wrote:
> > Hi,
> > I recently upgraded my memory from 2G to 4G and this made it necessary to
> > change my kernel
> > from
> > 2.6.22.5-31-default
> > to
> > 2.6.22.5-31-bigsmp
> >
> > Now I cannot mount nilfs2 partitions.
> > I get the error message:  mount.nilf2: ... ... Cannot allocate memory
> >
> > My environment is
> > OpenSuse 10.3
> > nilfs 2.02
> > nilfs-utils 2.04
> >
> > Yes, I did recompile/install nilfs and nilfs-utils while using the bigsmp
> > kernel.
> > When I switch back to the default kernel mount.nilfs2 works normally,
> > as does everything else.(but of course I don't have access to the full 4G
> > memory)
> >
> > Your help would be greatly appreciated
> > Peter
>
> Thank you for reporting this.
> We are now trying to catch the problem.
>
> BTW, did you try our binary package for OpenSuse?
> It is available on http://www.nilfs.org/pub/opensuse/.
>
> Does it incur the same problem?

I had tested with our environment and no error occured.
Could you please try our binary packages, and more information
of your environment if error occurs?

my log:

% uname -r
2.6.22.5-31-bigsmp
% rpm -q nilfs-kmp-bigsmp nilfs-utils
nilfs-kmp-bigsmp-2.0.2_2.6.22.5_31-1
nilfs-utils-2.0.4-1
% head /proc/meminfo
MemTotal:      4150384 kB
MemFree:       3811844 kB
Buffers:         16608 kB
Cached:         254852 kB
SwapCached:          0 kB
Active:         119736 kB
Inactive:       180004 kB
HighTotal:     3276528 kB
HighFree:      2982592 kB
LowTotal:       873856 kB
% head /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Xeon(R) CPU            5130  @ 2.00GHz
stepping        : 6
cpu MHz         : 2000.251
cache size      : 4096 KB
physical id     : 0
siblings        : 2
% dd if=/dev/zero of=nilfs2.vol bs=1048576 seek=1024 count=0
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1.4095e-05 s, 0.0 kB/s
% mkfs -t nilfs2 nilfs2.vol
mkfs.nilfs2 ver 2.0
Start writing file system initial data to the device
      Blocksize:4096  Device:nilfs2.vol  Device Size:1073741824
File system initialization succeeded !!
% sudo mount -t nilfs2 -o loop nilfs2.vol /a
% df /a
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/loop0             1048572     16380    966656   2% /a

Regards,

Seiji Kihara
NILFS Team, NTT Labs.
_______________________________________________
users mailing list
users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
https://www.nilfs.org/mailman/listinfo/users



--
This is Linux land. On quiet nights you can hear the Windows machines rebooting. ------=_Part_8983_9385667.1215086271792-- --===============0843812912== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ users mailing list users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org https://www.nilfs.org/mailman/listinfo/users --===============0843812912==--