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 Fri 28 Nov 2014, 14:17
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
[SOLVED]Increase size personal file (xxsave.sfs): add error?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Mon 30 Jul 2012, 22:52    Post subject:  [SOLVED]Increase size personal file (xxsave.sfs): add error?
Subject description: 64+64+128+256=512Mb, right? Well, Puppy reports 562Mb.
 

I run Dpup Exprimo 5.X.3.4.2.8 on a 512Mb laptop. Booting is from CD. The xxxxsave.sfs file (personal file) is on a flash disk. I do not use a swap file.

I started off with a 64Mb save file size. No problems until I started using Firefox and installed new programs. Running out of save space, I first increased it with 64Mb, then 128 Mb and lastly with 256Mb between restarts. That adds up to 512 Mb, right?. At that point, some 300Mb was still free, not used by Puppy.

However, problems arose, like slowing down and freezing. Dmesg reported problems on the flash disk and suggested to do a e2fsck.

After renaming the save file, restart of Puppy and creation of a new save file of 512Mb, all was back to normal. When I checked the file size of the old (renamed) save file, it was 562Mb in stead of 512Mb.

When I tried to unsquash the old save file, I got an error: 'Can't find a SQUASH superblock on.....'.

Now wonder I ran into troubles with the old save file....

Last edited by linuph on Wed 15 Aug 2012, 05:01; edited 1 time in total
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Tue 31 Jul 2012, 19:10    Post subject:  

Why do you want to unsquash an ext2-4.2fs file ?
Laughing
.2FS is NOT a .SFS file.
Back to top
View user's profile Send private message Visit poster's website 
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Thu 02 Aug 2012, 04:23    Post subject:  

@Karl
Ah...you're correct. I intended to unsquash the 2fs file to get some self-made scripts back. I guess that's not the way. Anyhow, I now make backups of self-made scripts.

Nevertheless, the question remains why the 2fs file is 562Mb when it should be 512Mb.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5396
Location: Charleston S.C. USA

PostPosted: Thu 02 Aug 2012, 16:50    Post subject:  

Quote:
However, problems arose, like slowing down and freezing. Dmesg reported problems on the flash disk and suggested to do a e2fsck.

Who knows what this did to the old save file. Could explain size mismatch. Asking to do a e2fsck on the file system, is usually correcting file system errors, such as size reporting.

Have you tried this on a good working save file with no reported errors or other problems?
What program are you using to report file size?

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Fri 03 Aug 2012, 10:42    Post subject:  

Normally it should be enough to click on a save.2fs file to mount it. Using the cli it would be
Code:
/usr/sbin/filemnt "/path/to/save_my_name.2fs"

where "/path/to/" would be something like /mnt/home/folder/ .

Where the additional 50MB come frome i have no idea.
Never had such happen.
Do you use a swap-file pupswap.swp or a swap-partition (ie /dev/sdb4) ?

"e2fsck /path/to/folder/pup_save_my_name.2fs"

like bigpup suggests is recommended first thing i would try to do, too.
Back to top
View user's profile Send private message Visit poster's website 
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Fri 03 Aug 2012, 23:20    Post subject:  

I think it has to do with reassignment of USB ports. Let me explain:

My laptop has two USB ports which were used as follows:

USB 0
USB flash with general data

USB 1
USB memcard reader incl. 3x USB port
--> SD card with Puppy save file
--> USB BT dongle
--> USB WiFi dongle
--> USB other

If something is plugged into "other" or a dongle removed, the memcard reader reassigns the USB ports (including the card reader port), which it is supposed to do. This somehow messes up the save file on the SD card.

I changed it into this:

USB 0
USB flash with Puppy save file

USB 1
USB memcard reader incl. 3x USB port
--> SD card with general data
--> USB BT dongle
--> USB WiFi dongle
--> USB other

Here the Puppy save file is not touched when something is plugged into "other". It's "safe". There are no problems with the SD card.

Still, in this setup, USB port reassignment has some awkward effects. When something is plugged into "other", WiFi and BT are cancelled, reassigned and restarted. Or, if the BT dongle is removed, WiFi is cancelled. Same if the other way around. But that's something I can live with.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Sun 05 Aug 2012, 23:39    Post subject:  

linuph, could you post a hyperlink for the

USB memcard reader incl. 3x USB port

?

kernel/udev tend to reassign but here it seems to me the external hardware triggers something to the kernel.
Back to top
View user's profile Send private message Visit poster's website 
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Mon 06 Aug 2012, 08:50    Post subject:  

@Karl
The memcard reader incl. 3x USB port is an unknown-made-in-China-rebranded-20-in-a-dozen-run-off-the-mill thingy, so I can't provide more info. However, I bet an awful lot of USB hubs will have the same chip, whatever it is.

I attached a sketch. In situation 1 there are problems with the Puppy save file when something is plugged in/out port A or B of USB hub 1 or USB hub 2.
In situation 2 there are no such problems with Puppy save.

Maybe the sketch helps a bit to understand.
OneTwo.jpg
Description 
jpg

 Download 
Filename  OneTwo.jpg 
Filesize  118.63 KB 
Downloaded  189 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 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.0688s ][ Queries: 12 (0.0045s) ][ GZIP on ]