Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 17:53
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
resize2fs "F" parameter causes error
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 01 Nov 2005, 14:19    Post subject:  resize2fs "F" parameter causes error  

# 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.php?p=20931#20931
Other posts with "resize" as keyword
--

Mark
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Tue 01 Nov 2005, 18:46    Post subject:  

Okay, I'll check it out.
Back to top
View user's profile Send private message Visit poster's website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Tue 01 Nov 2005, 22:10    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 14 Nov 2005, 05:22    Post subject:  

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

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

Mark
Back to top
View user's profile Send private message Visit poster's website 
RMW

Joined: 12 Sep 2005
Posts: 85

PostPosted: Wed 16 Nov 2005, 16:35    Post subject:  

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 Smile
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 16 Nov 2005, 19:08    Post subject:  

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

Try to download again.

Mark
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 16 Nov 2005, 19:39    Post subject:  

sorry, the file had wrong permissions, now it works Embarassed
Back to top
View user's profile Send private message Visit poster's website 
Guest
Guest


PostPosted: Wed 16 Nov 2005, 19:42    Post subject:  

Also can not download "Fixed" image.gz file.
Somebody please help
Back to top
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 16 Nov 2005, 19:49    Post subject:  

http://dotpups.de/puppy-releases/1.0.6/basefiles/106-resize-bugfix/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
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 16 Nov 2005, 22:18    Post subject:  

Quote:
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)
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Thu 17 Nov 2005, 11:01    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0531s ][ Queries: 12 (0.0044s) ][ GZIP on ]