resize2fs "F" parameter causes error

Please post any bugs you have found
Post Reply
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

resize2fs "F" parameter causes error

#1 Post by MU »

# resize2fs -pf /mnt/home/pup001ok 690624
resize2fs 1.34 (25-Jul-2003)
Resizing the filesystem on /mnt/home/pup001ok to 690624 (1k) blocks.
Begin pass 1 (max = 2)
Extending the inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
*** glibc detected *** double free or corruption (!prev): 0x0805ae78 ***
Aborted

# resize2fs -pf /mnt/home/pup001ok 690624
resize2fs 1.34 (25-Jul-2003)
The filesystem is already 690624 blocks long. Nothing to do!

# resize2fs -pfF /mnt/home/pup001ok 690624
resize2fs 1.34 (25-Jul-2003)
resize2fs: Invalid argument while trying to flush /mnt/home/pup001ok

------------
This corresponds to what several people reported.
The first error (glibc) disappears, if resize2fs is run again.

But the "F"-Parameter causes a nasty error.
On my system this leads to a 60 Second-break at every startup (even if I resize pup001ok from within Mandrake-Linux).

So I would suggest not to use the "F"-Parameter in the startup-scripts.

I resized other pup001 -files without any problems, so i have no idea, why "F" causes this error with this file here.
(the file is on a ntfs-partition, to resize it in Mandrake 9.2, I copied it to an ext3-partition)
--
references:
http://www.murga.org/%7Epuppy/viewtopic ... 0931#20931
Other posts with "resize" as keyword
--

Mark

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

Okay, I'll check it out.

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#3 Post by rarsa »

Sorry for not re-reporting it, I sent the bug report and fix a long time ago and it completely slipped my mind:
http://www.murga.org/~puppy/viewtopic.php?p=6764#6764

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

Here is a bugfixed image.gz from puppy 1.0.6:
http://noforum.de/dotpups/puppy-image.g ... x/image.gz

I removed "F" in the resize2fs -arguments in /etc/rc.d/rc.sysinit

Mark

RMW
Posts: 85
Joined: Mon 12 Sep 2005, 15:58

#5 Post by RMW »

That "fixed" image.gz is only 1k in size, as opposed to the original which is over 6k?

Definately need a bug fix for this problem... did I miss it somehow?

I've tried editing the sysinit file, but the changes won't save due to the bug that is making the changes necessary in the first place :)

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

No, the file is 6-7 MB:
http://noforum.de/dotpups/puppy-image.gz-resize-bugfix/

Try to download again.

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

sorry, the file had wrong permissions, now it works :oops:

Guest

#8 Post by Guest »

Also can not download "Fixed" image.gz file.
Somebody please help

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

http://dotpups.de/puppy-releases/1.0.6/ ... x/image.gz

Here you must RIGHT-click -> save link-target as

I have not found out yet, how to set up Apache there for my needs.

Mark

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#10 Post by GuestToo »

Here you must RIGHT-click -> save link-target as
I have not found out yet, how to set up Apache there for my needs
this is the reason i chose zip for dotpup files rather than tar.gz ... a package could be downloaded from any server, and many servers (and webhosts) are often not configured properly for gz files (more often, they work ok for zip files)

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#11 Post by MU »

Yes, that was a good choice, G2.
At least at dotpups.de it should work now.

I cannot access httpd.conf there, as it is a virtual server and no rootserver.

But I could add

AddType application/x-gzip gz
AddType application/wxbasic wxb
AddType application/puppybasic pb

to .htaccess, what will do it.
The .pb -entry will allow you to run PuppyBasic -applications from the web, if you choose "open with /usr/bin/puppybasic". Test (displays a simple xmessage): http://dotpups.de/tests/test.pb

Mark

Post Reply