Racy Puppy 5.2.2 Final, 18 Nov. 2011

Please post any bugs you have found
Message
Author
mave
Posts: 129
Joined: Thu 02 Apr 2009, 13:42
Location: Germany

failure in puppyinstaller

#21 Post by mave »

Hi Barry,

while reporting trouble of un/mounted drives in puppyinstaller I didn't looked closer, sorry. That's not the problem, but puppyinstaller script breaks in Racy when going "CONTINUE" on my test machines:

Code: Select all

# ./puppyinstaller

** ERROR **: gtkdialog: Error in line 1, near token '(null)': syntax error

aborting...
./puppyinstaller: line 589: [: too many arguments

** ERROR **: gtkdialog: Error in line 1, near token '(null)': syntax error

aborting...
# 
Some changes....?

mave

User avatar
tronkel
Posts: 1116
Joined: Fri 30 Sep 2005, 11:27
Location: Vienna Austria
Contact:

#22 Post by tronkel »

Re radeon driver.

OK, options radeon modeset=0 in /etc/modprobe.d/radeon.conf works OK.

Just need to make sure that the setting gets persisted over a reboot by make sure that the computer is powered down in an orderly fashion by using the "poweroff" menu item in JWM menu shutdown. It the machine freezes by using Ctrl+Alt+Backspace, then this setting will get lost.

Slow framerate is still there though as is to be expected with no kernel modesetting.

This problem also turned up in an Ubuntu Maverick Beta version I think it was. A subsequent PAE kernel update seemed to fix it at that time.

Wary 5.1.99 doesn't have this problem at all. Seamonkey seems fine in both versions. Haven't experienced the Bootmanager lock-up in Racy.
Life is too short to spend it in front of a computer

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

Xorg log file

#23 Post by raffy »

Have added "radeon.modeset=0" at kernel line, and am able to connect now via ethernet, no more crash.

[Additional: I can't select text in textbox with the shift key nor with the touchpad. Creating directory in Rox gives un-highlighted "New dir" for the name. And save file can't be created because shutdown just blanks the screen.]

The Xorg log file (after radeon.modeset=0) is attached.
Attachments
nomodeset-Xorg.0.log.gz
Xorg log file from /var/log in AMD Fusion E350 Radeon HD 6310 emachines D443 laptop.
(9.11 KiB) Downloaded 673 times
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

User avatar
tronkel
Posts: 1116
Joined: Fri 30 Sep 2005, 11:27
Location: Vienna Austria
Contact:

#24 Post by tronkel »

raffy wrote:
save file can't be created because shutdown just blanks the screen.
If you tried to reboot to make a save file just after you set options modeset=0 from within Racy, your radeon.conf file will not be saved because of the system crash.

Try again to reset modeset=0 and then do a full shutdown via the JWM menu. This should preserve the radeon.conf changes. You can also boot your computer by adding:

puppy radeon.modeset=0 to the boot line when puppy boots. This will allow you to create the pup_save. Then make the required changes to radeon.conf and then close down normally. that should preserve the change to the radeon.conf so you can subsequently boot and close down as normal
Life is too short to spend it in front of a computer

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

pppd works now

#25 Post by rodin.s »

After installing libpcap-1.1.1-w5c.pet pppd works and I am online with Racy.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

blank screen at save time

#26 Post by raffy »

tronkel wrote:raffy wrote:
save file can't be created because shutdown just blanks the screen.
If you tried to reboot to make a save file just after you set options modeset=0 from within Racy, your radeon.conf file will not be saved because of the system crash.
Oh, sorry, my previous statement was wrong - I guess that if the screen blanks at first shutdown, I could blindly press ENTER repeatedly to do a full shutdown and save file. I have done that in Fatdog64-520.

And FYI, I am using "radeon.modeset=0" in syslinux.cfg.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

Wary 5.1.99 problems also Racy

#27 Post by scsijon »

Ext2? partitions

Everything was going well including the probe for intel setup (hooray and well done to fix this problem at last); until I tried to install wary 5.1.99 with PUI.

It said it did a partition sanity check before continuing and gave an error "cannot be unmounted,currently mounted rerad-write, does not have warysave.3fs file"; however at this point I haven't even chosen which partition I want to install it into.

I'm using a box with a sata drive and want to install into /sda2 a ext2 partition (as are all my puppy partitions as they share). Not sure where to go from here except hand the problem back to you.

lspci is:
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 01)

Edit: Downloaded and tried the same with racy today, same result.

However, found that if I used an existing savefile that it could use, I got further before it died, Still wouldn't install though.

Edit 2: same result on another box that wary510 works ok on, beginning to wonder why....

regards
scsijon
Last edited by scsijon on Wed 21 Sep 2011, 11:14, edited 1 time in total.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#28 Post by Jim1911 »

Manual frugal installation on an ext3 partition. Everything works fine with one exception. Cups printer wizard will not recognize my HP 5280 Photosmart All-in-one Printer/Scanner. I've installed hpijs_print-3.11.3.pet and hplip_scan-3.11.3.pet which has worked great with lucid and previous Wary.

I had the same problem with the latest Slacko which 01micko corrected with his libusb-0.1.12-w5.pet.. 01micko was curious if I was having the same problem with Racy so I installed his pet in Racy. This enabled Cups to install my printer and it appeared to be installed properly and set as default but it will not print. Then I installed the libusb-compat but the HP 5280 will still not print.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#29 Post by Flash »

Multisession DVD working fine, as always. :D

gcmartin

Reporting Tools

#30 Post by gcmartin »

Thanks @BarryK this is great.
I don't know if anyone has asked this question, but, I wonder if you would feel it appropriate to ask "which of the various tool(s) you would like us to use in reporting RACY information to you?"

In my past, I have been reporting with a combination of "Report-Video-GLX" and "hardinfo - r" from the terminal window. this has seemed to be a correct combination to provide distro owners an eyeful for their product's behavior. But, I'm not sure if this is adequate for what you would like to see..

This may be the wrong place to ask the question. If it is, please feel free to move.

Hope this helps.
Edited: . RACY has booted on a 2GB-1.8Ghz Athon, a 2.8Ghz Celeron, and a 4GB X2 without issues on bootup and/or save-session.. I look forward to your 5.1.99 beta which will include the oversight(s).

Wary did show signs of jerky behavior when running online multimedia.

alec78
Posts: 49
Joined: Thu 18 Mar 2010, 18:52

PAE

#31 Post by alec78 »

Hi all,
Downloaded Racy 5.1.99 to try on the old Samsung X05.
Did a manual update of a USB dongle, i.e. swapped over the three files, shut down and then booted from the dongle.
Racy failed to boot with a message saying something like " Not a pae enabled processor please use a different version of Puppy".
Did a little googling, which seemed to infer that the pae kernel extension was for systems with up to 64GB of memory.
The Samsung is getting on but it is still a 686 Centrino CPU.
I then downloaded Wary 5.1.99, and I am having problems with that creating a save file. So it has been a real fun day.
Cheers

User avatar
upnorth
Posts: 287
Joined: Mon 11 Jan 2010, 19:32
Location: Wisconsin UTC-6 (-5 DST)
Contact:

#32 Post by upnorth »

On a budget intel dual core platform, 1440x900x24:


Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)

Booted to desktop fine from usb syslinux stick. Sound and net - good.

Latest libflashplayer.so works better than included version, (full screen blank and sticky settings window on 10.1)
---------------------------------
VIDEO REPORT: Racy Puppy, version 5.1.99

Chip description:
oem: Intel(r)Q33/Q35/G33 Graphics Chip Accelerated VGA BIOS
product: Intel(r)Q33/Q35/G33 Graphics Controller Hardware Version 0.0

Driver used by Xorg:
intel

Video mode used by Xorg:
Resolution: Depth 24 Depth: "Display"

Volhout
Posts: 547
Joined: Sun 28 Dec 2008, 08:41

Racy 5.1.99 feedback

#33 Post by Volhout »

Racy has problems opening a wireless connection with a RT3090 wireless controller in an eee PC. See details in thread:

http://www.murga-linux.com/puppy/viewtopic.php?t=71902

Before Racy I installed Wary 5.1.99 on the same eee PC and failed to set the touchpad sensitivity due to a memory fault. Sorry I put this in the wrong section.

http://www.murga-linux.com/puppy/viewtopic.php?t=71912

I hope this feedback is of any use.

Regards,

Volhout

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#34 Post by Karl Godt »

THE RACYwary runs "as usual" on my pc :
Manufacturer: Fujitsu Siemens
Product Name: GA8IDX
Manufacturer: Giga-Byte Technology Co., LTD
Max Speed: 2400 MHz
Current Speed: 2400 MHz
Version: Intel Pentium(R) 4
Maximum Memory Module Size: 4096 MB
Maximum Total Memory Size: 12288 MB
Type: SDRAM
Installed Size: 256 MB (Single-bank Connection)
Enabled Size: 256 MB (Single-bank Connection)
Enabled Size: 128 MB (Single-bank Connection)
Enabled Size: 64 MB (Single-bank Connection)
cat /proc/cmdline
video=640x480 ROOT=/DEV/SDA4
. /etc/rc.d/PUPSTATE
# echo $PUPMODE
12

Though I booted with that kernel-line the init found the savefile .
Sound seems to be OK though setup_alsa_func is commented :
/proc/asound/card0/id
I82801BAICH2
/proc/asound/card1/id
UART

One thing to consider had been , that the loading of the sound card drivers varies : sometime snd_intel8x0 gets loaded first and snd_mpu401 second and other days viceversa . [ maybe a "|sort -d" would had helped in rc.sysinit ] .

The missing libpcap could be fixed by copying it as -V 0.8 from a luci5pup and renaming it to 1 .

/dev/sda4 on /initrd/mnt/dev_save type fuseblk (rw,noatime,user_id=0,group_id=0,default_permissions,blksize=4096)
/dev/loop1 on /initrd/pup_rw type ext3 (rw,noatime,errors=continue,barrier=0,data=ordered)

Some useabillity problems are that mtpaint freezes totally saving layer'ed pictures , and rox also for some time at the /proc directory .

I decided to compile mtpaint from git 2.34.69 and simply './configure' on lhpup 443 it is working the same difficult as the racy mtpaint in racy .

I like the Icon theme , because of maybe becoming autumn here :
Attachments
drive_mntd_boot48.png
parts done in racy and others in lhpup 443
(2.34 KiB) Downloaded 2525 times

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#35 Post by pemasu »

Rox freezing when you enter /proc was the problem at the early stage of Dpup also. I reverted to use Barrys version from ibiblio repo; roxfiler-201012git-patched.pet

That fixed the rox problem in Dpup.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#36 Post by Karl Godt »

I remastered iguleders dpup-005 kernel2.6.33.2 several times and one remaster had this freeze at /proc i can remember . Maybe I had installed a more recent rox there also , or there are problems with ".wh." files :
find /initrd/pup_rw -iname "*.wh.*"
/initrd/pup_rw/.wh..wh.aufs
/initrd/pup_rw/lib/modules/all-firmware/.wh.nozomi.tar.gz
/initrd/pup_rw/lib/modules/all-firmware/.wh.cdcacm.tar.gz
/initrd/pup_rw/lib/modules/all-firmware/.wh.ipwireless.tar.gz
/initrd/pup_rw/lib/modules/all-firmware/.wh.usbserial.tar.gz
/initrd/pup_rw/lib/modules/all-firmware/.wh.hso.tar.gz
/initrd/pup_rw/.wh..wh.orph
/initrd/pup_rw/.wh..wh.plnk
/initrd/pup_rw/dev/snd/.wh..wh..opq

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#37 Post by Karl Godt »

Nope : whiteout files seems not to be the cause .

"./configure gtk2 gtkfilesel gtkfontsel thread cflags --cpu=486 debug intl man"
for mtpaint-*.69 on racy still only saves one-layered images .

I checked /usr/bin and it appears not to be caused by missing binaries ... ; xerrs.log and dmesg give no messages about that .


Another problem :
For the xorgwizard GUI i would also like to have a note about "Please close all apps before proceeding" .

I copied a Xvesa bin from another Puppy and expected the terminal wizard ,
but it automatically links X to Xvesa and starts X .

The first time it did not work , hanging in an endless loop , while it had not been possible to login on tty2 or 3 , hanging after the right password ;
wrong passwords gave the "login incorrect" message and I was able to type "login" again .
Had to "CONTROL+ALT+DELETE" to reboot .

"dumpe2fs $PATHtoRACYSAVE.3fs | grep -i state" still showed "clean" , after reboot ,
and the Xvesa is running well , then ;
and the login on tty2 works again .

But now rox totally freezes at /proc , and had to be killed ; and restored by "rox -p /root/Choices/ROX-Filer/PuppyPin" .

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#38 Post by Karl Godt »

Today booted pfix=ram :
rox is working OK in /proc .
mtpaint still does not save layers .

For today I would suggest for xorgwizard :

Code: Select all

--- /root/xorgwizard-orig	2011-09-11 01:31:33.000000000 +0100
+++ /usr/sbin/xorgwizard	2011-09-25 13:35:55.443178122 +0100
@@ -238,7 +238,7 @@
  <vbox>
   <frame XorgWizard>
   <hbox>
-   <text><label>XorgWizard completely reconstructs the /etc/X11/xorg.conf file, and X must not be running to do this. A reboot is required, and the Wizard will run in text mode, before X is launched.</label></text>
+   <text><label>XorgWizard completely reconstructs the /etc/X11/xorg.conf file, and X must not be running to do this. Pressing this button will shutdown the current Xserver $CURRENTX and the Wizard will run in text mode, before X is launched again. Please close all applications !</label></text>
    <vbox>
     <button>
      <input file>/usr/local/lib/X11/mini-icons/wizard16.xpm</input>
@@ -246,7 +246,8 @@
     </button>
    </vbox>
   </hbox>
-  <text><label>NOTE: You can also run XorgWizard manually, without rebooting, by exiting from X to the commandline (see Shutdown menu) then run xorgwizard.</label></text>
+  <text><label>NOTE 1 : You can also run XorgWizard manually , by exiting from X to the commandline (see Shutdown menu) then run xorgwizard .</label></text>
+  <text><label>NOTE 2 : If you have the commonly used Xvesa server installed in /usr/bin/ folder , this button does not run the Wizard but automatically starts the Xvesa X-Server .</label></text>
   </frame>
 
   <frame Edit xorg.conf>
@@ -325,11 +326,17 @@
   11) #XorgWizard.
    #rm /etc/mousedevice # Dougal: any reason for this?
    mv -f /etc/X11/xorg.conf /etc/X11/xorg.conf.prev 2>/dev/null
-   [ -e /usr/bin/Xvesa ] && ln -sf Xvesa /usr/bin/X
+   
    NEXTWM="`cat /etc/windowmanager`"
    echo -n "$NEXTWM" > /etc/windowmanager #this makes change permanent.
+   if [ -e /usr/bin/Xvesa ] ; then ##&& 
+   ln -sf Xvesa /usr/bin/X
    echo -n "$NEXTWM" > /tmp/wmexitmode.txt
+   else
+   echo -n "xorgwizard" > /tmp/wmexitmode.txt
+   fi
    sync
+   sleep 2s
    exec killall X
    ;;
   12) #xorgconfig
and for xwin :

Code: Select all

--- /root/xwin-orig	2011-08-07 14:40:41.000000000 +0100
+++ /usr/bin/xwin	2011-09-25 13:24:19.503197507 +0100
@@ -582,6 +582,7 @@
  #rm -f /tmp/wmexitmode.txt ...no, removed in rc.shutdown.
  [ "$WMEXITMODE" = "poweroff" ] && exec /sbin/poweroff #see /usr/bin/wmpoweroff
  [ "$WMEXITMODE" = "reboot" ] && exec /sbin/reboot #see /usr/bin/wmreboot
+ [ "$WMEXITMODE" = "xorgwizard" ] && exec xorgwizard ##krg
  #restart window manager...
  #make a gross assumption, if wmexitmode.txt exists, haven't already exited this script, then want
  #to restart maybe with different window manager. /etc/windowmanager already has desired w.m.
I was able to type "login" again .
... I wrote 'login' , but ment 'root' ...


Another thing : The bootmanager Xdialog to add a module froze yesterday with 80% CPU usage , and it was astonishing , because i had closed all applications and just before poweroff i remembered to load the 'it87' temperature module .
Simply 'Xdialog -msgbox "HELLO" 0 0' works today ... without save-file .
I checked the savefile 'fsck -v -f' and no corruptions found .

But this it for now .

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#39 Post by Karl Godt »

The bootmanager Xdialog to add a module froze yesterday with 80% CPU usage
I recompiled Xdialog from debian lenny , because there is no Xdialog for later debians , including the patch on my machine "uname -m 'i686'" with "./configure --with-gtk2" which installs to /usr/local and the Xdialog of bootmanager is working correctly now . The size of the binary is still 'ls -s 69KB" .
The only thing is
"(Xdialog:26076): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()"
that spits out .

HTH

Another 2 things :

rc.shutdown :

I would like the idea to default to SFEXT="2fs" choosing encryption , even if the user had chosen 3fs before : The savefile gets created in ext3 but only read-only , so no save was made and no message about that .

The syntax in pupsave_func has changed since Puppy4.3 , and it would take me some time to understand it , before I could make any suggestions .


initrd/init :

Booting with only one warysave-file on the disk also went good with only " pdev1=sda4" on the kernel line , without "psubdir" parameter .
Having more than one warysave on the disk :
No real error message , but booted the partition the kernel had been compiled on :
file /mnt/home/RACY_01/vmlinuz
/mnt/home/RACY_01/vmlinuz: Linux kernel x86 boot executable bzImage, version 2.6.39.4 (root@puppypc) #1 SMP , RO-rootFS, root_dev 0x809, swap_dev 0x2, Normal VGA

which stands for first sata drive ='Major 08' ; and partition 9 ='Minor 09' .

I actually had been happy about that , because that partition is out of the boot range of my BIOS and I used it for backups , storage and kernel compiling(which I abandomed on this machine , because it took 5 to 6 hours to finish ) . Had Puppy installed full on it , too , and because i had opened the initrd.gz i was able to modprobe squashfs and after that copying the modules out of the dotsfs onto the partition . The kernel ran fine : internet could be accessed . I compiled latest e2fsprogs to try to access the crypt-warysave and really needed some headers from the 2.6.39.4 kernel to get the ext4progs compiled . Nevertheless only one feature ( 18 ) is supported more , and while the crypted savefile.3fs could be mounted , still "-o remount,rw" did not work and the new e2fsck could not access it either .

But I think this is not intended . Also reading and understanding the code would take me some days why the save file menu did not show at boot .


A yes about mtpaint : searching the forum i found the lhpup mtpaint 3.34.33here by technosaurus .
The thread is very interesting , and also ttuuxxx mtpaint-3.31 is very nice because of the icons but 3.31 is missing the dock feature .

And for the usability of mtpaint of 3.33.64 :
This thread really addresses my problem : before i had been able to drag and drop layers into mtpaint , and now there is a workaround by copying , exporting and importing to clipboard explained by forum member aarf , but the results are not the same : The color-palettes dont get imported but merged .

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#40 Post by Karl Godt »

Booting with only one warysave-file on the disk also went good with only " pdev1=sda4" on the kernel line , without "psubdir" parameter .
Having more than one warysave on the disk :
No real error message , but booted the partition the kernel had been compiled on :
I wrote this , but now i cant confirm this anymore : adding "" or "pdev1=sda4" or "pdev=sda4" or "pdev=sda5" or "psubdir=/RACY_01" or "PDEV=sd4" to "kernel /RACY_01/vmlinuz " always gave me now the three warysaves to choose from on sda4 - there is also a /wary098/warysave-098.3fs on sda7 but that did not show in the menu at boot .
I seem to have left out the initrd line then , booting it manually by grub4dos shell .

I also booted accidentially the encrypted 3.fs savefile while having a pupsaveresize.txt in the RACY folder : the encryption seems to be gone , the resizing worked and the filesystem now is without "-j" [ =ext2 ] .

It seems to be not to difficult to add the savefile name to the pupsaveresize.txt :

Code: Select all

--- /initrd/pup_ro2/usr/sbin/resizepfile.sh	2010-09-13 11:25:39.000000000 +0100
+++ /usr/sbin/resizepfile.sh	2011-09-26 19:58:25.000000000 +0100
@@ -116,7 +116,8 @@ case ${REPLYX} in
    ;;
 esac
 
-echo -n "$KILOBIG" > /initrd${PUP_HOME}/pupsaveresize.txt
+SAVEFILEONLY=`echo "$PUPSAVE" | sed 's/^[[:blank:]]*//g' | cut -f 3 -d ','`
+echo -n "$KILOBIG,$SAVEFILEONLY" > /initrd${PUP_HOME}/pupsaveresize.txt
 
 xmessage -center -bg "orange" -title "Resize personal storage file" "Okay, you have chosen to increase $NAMEPFILE by $KILOBIG Kbytes,
 however as the file is currently in use, it will happen at reboot.
and for the initrd-init :

Code: Select all

--- /mnt/home/RACY_01/INITRD/initrd.d/init.original	2011-09-23 22:48:28.000000000 +0100
+++ /root/init	2011-09-26 19:58:09.000000000 +0100
@@ -885,12 +885,15 @@ if [ "$CREATEPUPSAVE2FS" != "" ];then
     #v3.01 will take this out as a func later (similar code below)...
     #about to mount ${DISTRO_FILE_PREFIX}save.2fs, but before that check if need to resize it...
     if [ -f /mnt/dev_save/pupsaveresize.txt ];then #created by /usr/sbin/resizepfile.sh
-     KILOBIG=`cat /mnt/dev_save/pupsaveresize.txt`
+     KILOBIG=`cat /mnt/dev_save/pupsaveresize.txt | sed 's/^[[:blank:]]*//g' | cut -f 1 -d ','` ##KRG
+     SAVEFILERESIZEFILE=`cat /mnt/dev_save/pupsaveresize.txt | sed 's/^[[:blank:]]*//g' | cut -f 2 -d ','` ##KRG
+      if [ "$PUPSAVEFILE" = "$SAVEFILERESIZEFILE" ] ; then ##KRG
      rm -f /mnt/dev_save/pupsaveresize.txt
      echo > /dev/console
      echo -n "Increasing $PUPSAVEFILE by $KILOBIG Kbytes, please wait..." >/dev/console
      dd if=/dev/zero bs=1024 count=$KILOBIG >> /mnt/dev_save$PUPSAVEFILE
      sync
+      fi  ##KRG
      if [ "$CRYPTO" = "-e aes" ];then #v3.98
       echo "NOTICE: As you type your password nothing will be displayed on the" >/dev/console
       echo "screen for absolute security. Just type it in then press ENTER key..." >/dev/console
@@ -947,7 +950,9 @@ if [ "$CREATEPUPSAVE2FS" != "" ];then
   else #pupsave not encrypted.
    #about to mount ${DISTRO_FILE_PREFIX}save.2fs, but before that check if need to resize it...
    if [ -f /mnt/dev_save/pupsaveresize.txt ];then #created by /usr/sbin/resizepfile.sh
-    KILOBIG=`cat /mnt/dev_save/pupsaveresize.txt`
+    KILOBIG=`cat /mnt/dev_save/pupsaveresize.txt | sed 's/^[[:blank:]]*//g' | cut -f 1 -d ','` ##KRG ##edit : changed '-f 2' to '-f 1'
+    SAVEFILERESIZEFILE=`cat /mnt/dev_save/pupsaveresize.txt | sed 's/^[[:blank:]]*//g' | cut -f 2 -d ','` ##KRG
+     if [ "$PUPSAVEFILE" = "$SAVEFILERESIZEFILE" ] ; then  ##KRG
     rm -f /mnt/dev_save/pupsaveresize.txt
     echo > /dev/console
     echo -n "Increasing $PUPSAVEFILE by $KILOBIG Kbytes, please wait..." >/dev/console
@@ -958,6 +963,7 @@ if [ "$CREATEPUPSAVE2FS" != "" ];then
     sync
     check_status 0 #note, e2fsck gives an error even though it works. v2.21 maybe okay now.
     echo -n "...continuing with loading $PUPSAVEFILE..." > /dev/console
+     fi ##KRG
    fi
    losetup /dev/loop1 /mnt/dev_save${PUPSAVEFILE}
    SFFS='ext'`echo -n "$PUPSAVEFILE" | rev | cut -c 3`
I have not tested this , it is just a suggestion ; also if done before shutdown and not booting it for some days someone may have forgotten about that resizesavefile.txt .

For any wary packages :

mrxvt and xterm-250 are working ; but

mrxvt replaces urxvt with a link to mrxvt ; I would prefer having two console emulators - just in case .

and

xterm-250 installs to /usr/X11R7/bin so typing xterm in the console would still run the script in /usr/bin/ and there is no DOTdesktop file for it in the package .
Last edited by Karl Godt on Tue 27 Sep 2011, 10:33, edited 1 time in total.

Post Reply