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 Wed 22 Oct 2014, 02:40
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
This Save-session file problem exist with ALL modern PUPs
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7832
Location: qld

PostPosted: Sun 30 Dec 2012, 07:15    Post_subject:  

jamesbond wrote:
Check the version of ntfs-3g used inside initrd (that is, part of woof)
It's old:
Code:
 ./ntfs-3g --help

ntfs-3g 2010.1.16 integrated FUSE 27 - Third Generation NTFS Driver
      XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2009 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information:  http://ntfs-3g.org

It's a static compile by Barry. I have no idea how to update it. Little help?

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 30 Dec 2012, 07:24    Post_subject:  

Barry`s post how he did it.
http://bkhome.org/blog/?viewDetailed=01316
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7832
Location: qld

PostPosted: Sun 30 Dec 2012, 07:34    Post_subject:  

Ha, was just about to search that, downloading the uClibc filesystem now, but it's old! (2005). We'll see if it works, I'll grab the latest ntfs-3g sources. (edit, found an image from 2008, had to expand it to make room for the compile resize2fs root_fs_i386.ext2 150M then mount it, copy the ntfs-3g source, chroot, compile)

- Later...


ok, I got it compiled, the binary is 420k stripped, Barry's is 391k, so that's not too bad considering there would be natural bloat from bugfixes, extra features etc. I didn't test it as I don't have any compressed ntfs drives.

To test, unpack and add the binary to your PATH (suggest /root/my-applicatins/bin or /usr/local/bin) and move (or rename) the original (usually /bin/ntfs-3g) then try to mount an compressed ntfs partition
Code:
mkdir -p /mnt/ntfs-test
mount -t ntfs-3g /dev/sda2  /mnt/ntfs-test
replacing sda2 with whatever your target partition is. That should mount it rw. (That's the code on the ntfs-3g site).

Don't forget to unmount when you've finished testing.. umount /mnt/ntfs-test

If it works you can just click on your initrd.gz in a frugal and it should unpack in /root. Replace the ntfs-3g file in /bin then repack the initrd.gz. Remaster. See what happens!

NO WARRANTY

EDIT: if it works, there is no need to recompile in your distro as it's completely static. Wouldn't matter what distro you built it in.. (x86 32 bit of course)

Cheers
ntfs-3g-2012-1-15-static.tar.bz2
Description  see instructions above
bz2

 Download 
Filename  ntfs-3g-2012-1-15-static.tar.bz2 
Filesize  196.33 KB 
Downloaded  298 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
L18L

Joined: 19 Jun 2010
Posts: 2525
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sun 30 Dec 2012, 09:40    Post_subject: This Save-session file problem exist with ALL modern PUPs
Sub_title: woof build :?: :?: :?:
 

gcmartin wrote:
Here's more info from tests done with Carolina, for it seems to help hint at where to look for the save-session problems in Woof build PUPs. ...


about pupsaveconfig BarryK wrote:
Excellent work, but I never put that into Woof, as I wanted to do it a bit differently.

see http://bkhome.org/blog/?viewDetailed=02489

So please forget the term "ALL modern PUPs" Laughing

(I prefer the official ones Very Happy )
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9200
Location: Stratford, Ontario

PostPosted: Sun 30 Dec 2012, 10:27    Post_subject: Re: More evidence of problem happening at save-session Shutdown  

gcmartin wrote:
Hope this gives clear, repeatable evidence ..

Not really. You haven't stated whether you are still dealing with COMPRESSED NTFS partitions.

As a test, I booted Carolina 005 off its Live CD.

I applied the rc.shutdown patch as described in the Slacko 5.4 thread.

I made a save file on an UNcompressed NTFS flash drive.

I rebooted. The save file was detected. Everything worked correctly.
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2227
Location: The Blue Marble

PostPosted: Sun 30 Dec 2012, 19:43    Post_subject:  

01micko wrote:
Code:
 ./ntfs-3g --help

ntfs-3g 2010.1.16 integrated FUSE 27 - Third Generation NTFS Driver


No wonder it's not working. See http://www.tuxera.com/community/ntfs-3g-advanced/data-compression/ - it says compressed NTFS is only fully supported after 2010.8.8.

Quote:
It's a static compile by Barry. I have no idea how to update it. Little help?

Well I can see you don't need that already Laughing

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7832
Location: qld

PostPosted: Sun 30 Dec 2012, 19:55    Post_subject:  

jamesbond wrote:

Well I can see you don't need that already Laughing

Yeah, was surprisingly easy. Smile . Yet to hear a report if it works though, but no reason it shouldn't.

BTW: works just fine to mount a normal ntfs partition using my above instructions, except I called with full path to binary, that way you don't need to whack it in PATH or move your existing ntfs-3g binary, creating unnecessary whiteout files.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
gcmartin

Joined: 14 Oct 2005
Posts: 4355
Location: Earth

PostPosted: Mon 31 Dec 2012, 07:19    Post_subject: Test with01Micko's new module  

Thanks for the newer module. Here what I did and found

On the NTFs partition, I have a folder where I've put boot directories for Slacko, Pemasu's Precise, Barry's Precise. and Carolina. GRUB4DOS was set up as a Boot Manager with entries to boot each distro.

Using Pemasu's Precise,
  1. I downloaded 01Micko's NTFS fix
  2. double-clicked each directory's "initrd.gz" file which opened to allow /bin/ntfs-3g file to be replaced with 01Micko's entry of ntfs-3g
Next,
  • I booted each distro - no problem
  • made FirstRUN changes in each distro - no problems
  • Started a "reboot plus save-session" for each distro
Here what I found
  • Carolina, no problem in reboot. Carolina found and used the save-session that was there
  • Pemasu's Precise, no problem in reboot. Pemasu's Precise found and used the save-session that was there
  • Barry's Precise ran into boot-time issues with Messages "uncompression error" and "System halted"
  • Slacko, indicated I/O errors in shutdown processing. On reboot, it failed as soon as it touched the save-session file.
Here to help

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


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

PostPosted: Tue 29 Jan 2013, 10:14    Post_subject:  

gcmartin,
Just to eliminate them, could you test these, make sure that they are correctly identifying your (compressed) ntfs partition...

For example, say it is /dev/sda1:

# guess_fstype /dev/sda1
# blkid /dev/sda1
# disktype /dev/sda1
# fdisk -l /dev/sda1

This is assuming that you are using the recent ntfs-3g that supports compressed ntfs.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send_private_message Visit_website 
gcmartin

Joined: 14 Oct 2005
Posts: 4355
Location: Earth

PostPosted: Tue 29 Jan 2013, 13:46    Post_subject:  

BarryK wrote:
gcmartin,
Just to eliminate them, could you test these, make sure that they are correctly identifying your (compressed) ntfs partition...

For example, say it is /dev/sda1:

# guess_fstype /dev/sda1
# blkid /dev/sda1
# disktype /dev/sda1
# fdisk -l /dev/sda1

This is assuming that you are using the recent ntfs-3g that supports compressed ntfs.
I wouldn't have any problem doing this. But, I would like someone to recommend a distro which either has the latest in its REPO or built-into the base distro. (I would prefer providing feedback from any distro with this in the base).

Thanks in advance for any recommendation(s).

Edited: .Both of Pemasu's latest Upup versions have ntfs-3g updated version through woof.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send_private_message 
gcmartin

Joined: 14 Oct 2005
Posts: 4355
Location: Earth

PostPosted: Wed 30 Jan 2013, 13:14    Post_subject: NTFS resolution FOUND. Works both compressed & non-compress  

Resolved
Pemasu's uPUP 54X7 with the NTFS fix works fine. No errs at Shutdown, as system acknowledges save-session. System, on reboot, starts; finding and using the save-session file as expected. At desktop, the customization from last session exist as expected.

The results asked for
Code:
# guess_fstype /dev/sda5
ntfs

# blkid /dev/sda5
/dev/sda5: LABEL="Compressed" UUID="E2B45070B4504965" TYPE="ntfs"

# disktype /dev/sda5

--- /dev/sda5
Block device, size 18.95 GiB (20345406464 bytes)
Windows NTLDR boot loader
NTFS file system
  Volume size 18.95 GiB (20345405952 bytes, 39737121 sectors)

# fdisk -l /dev/sda

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders, total 117210240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x41ab2316

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      112454       56196   de  Dell Utility
/dev/sda2          112455    61552639    30720092+   7  HPFS/NTFS
/dev/sda3        61552640   109883391    24165376    5  Extended
/dev/sda4       109884600   117210239     3662820   1c  Hidden W95 FAT32 (LBA)
/dev/sda5        61552703   101289824    19868561    7  HPFS/NTFS
/dev/sda6       101292032   109883391     4295680   82  Linux swap / Solaris
Here to help
capture29757.png
 Description   Gparted view
 Filesize   78.12 KB
 Viewed   408 Time(s)

capture29757.png


_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0898s ][ Queries: 13 (0.0056s) ][ GZIP on ]