Upup Raring 3.9.9.2 with non-PAE 3.9.9 kernel. 13 July 2013

A home for all kinds of Puppy related projects
Message
Author
Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#46 Post by Jim1911 »

Hi pemasu,

Your latest is still working great although when I tried to edit my menu.lst, ran into this problem:

Regards,
Jim
Attachments
image-2.jpg
(28.99 KiB) Downloaded 1079 times

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#47 Post by edoc »

Just downloaded the devx again and all is well.

I may have caught it just as you were making the update.

Thanks!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

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

#48 Post by pemasu »

Jim1911. Do you have windows os installed. If yes, then it might be that you have windows os in hibernation. Ie when you let it hibernate it shuts down the comp and you can boot Upup Raring, but it has side effects when you try to mount that ntfs partition. You need to reboot to the windows os and let it wake up from hibernation and then shutdown or reboot normally, then boot Upup Raring again.

As the error message is basically telling.

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

#49 Post by Jim1911 »

pemasu wrote:Jim1911. Do you have windows os installed. If yes, then it might be that you have windows os in hibernation. Ie when you let it hibernate it shuts down the comp and you can boot Upup Raring, but it has side effects when you try to mount that ntfs partition. You need to reboot to the windows os and let it wake up from hibernation and then shutdown or reboot normally, then boot Upup Raring again.

As the error message is basically telling.
Yes, Windows 8 is installed, however, it is shut down, otherwise I would not get a boot menu to use other OS. I booted Upup using Grub4Dos. This problem does not occur with other pups.

Regards,
Jim

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

#50 Post by pemasu »

Jim1911. I have windows 7. When I hibernate it, it shuts down. When I press powerbutton, it boots to my grub4dos menu. When I then boot Upup Raring, it informs me that my windows 7 partition is hibernated, when I try to mount it. So it mounts it as read only. The same message as you got. So....hibernating does not stop grub4dos to appear for me. I dont know anything about windows 8 os. It might be that it hibernates the sda1 also, where your menu.lst resides. For me sda1 is not rw protected though, when sda3, windows os partition, was hibernated. I have menu.lst in sda1 and I can edit it.

Anyway....I cant reproduce your problem with sda1 hibernation. Windows 8 is different animal though, maybe not even same species, lol.

In console:dmesg gathers ntfs partition mounting errors. You could check if it tells that hibernation is reason of not mounting as rw.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

new upload raring-3.9.9 by 130717

#51 Post by charlie6 »

Hi Pemasu,
here on PIV + Brookdale video chip 82845G:
using new upload raring-3.9.9 by 130717 (start using grub from puppy_raring_3.9.9.sfs + initrd.gz + vmlinuz on hdd partition...as i use to do to test new puppies):
starting without savefile
1. i got a black X desktop screen + a few icons displayed; no popup main menu not text (see attached screenshot);
it was not the case with the previous raring-3.9.9 where the X desktop displayed straight ....is it due to a new xorgwizrad version ..?
2. a few minutes wait time is needed before right clicking displays the popup menu icons; and then allows to find the X restart icons; after doing "X restart", the full X desktop is displayed; one has to do Menu/Setup/QuickSetup-first-setting to set locale settings.

The former raring-3.8.9.1 and former raring-3.9.9 versions had no such problem.

charlie
Attachments
shot1.jpg
X desktop at 1st startup and before doing X restart
(26.7 KiB) Downloaded 1040 times

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

Performance

#52 Post by tlchost »

What do I need to change to have performance set to turbo as the default value?

Thanks

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#53 Post by charlie6 »

Hi tlchost,
What do I need to change to have performance set to turbo as the default value?
You might open (with Geany) and edit /root/Startup/0acpid like this:
add a «#» in front of «/etc/acpi/performance.sh »
and below that line, add:
« /etc/acpi/turbo.sh »
as shown hereunder.
and ... save.
#!/bin/bash
killall acpid
CURRENTWM="`cat /etc/windowmanager`"
if [ "$CURRENTWM" = "enlightenment_start" ]; then
if [ -f /root/.acpid_on ] ; then
acpid && exit
fi
fi
if [ -f /root/.acpid_on ] ; then
exec acpid &
acpitool -a |grep off-line
if [[ $? == 0 ]] ; then
# /etc/acpi/performance.sh
/etc/acpi/turbo.sh
else
/etc/acpi/turbo.sh
fi
exec ppower &
fi
and restart X.
Charlie

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

mesa compiling tips

#54 Post by charlie6 »

Hi,
about compiling mesa-9.1.3 as mentionned in a previous post, here are some tips, things i managed to do in order to fix error messages encountered while compiling.
This might spare some time while searching how to fix those errors.
1. Need to create the following symlinks:
ln -s /usr/lib/llvm-3.2/lib/* /usr/lib/
ln -s /usr/lib/llvm-3.2/bin/* /usr/bin/
ln -s /usr/include/llvm-c-3.2/llvm-c /usr/iclude
ln -s /usr/include/llvm-c-3.2/llvm /usr/iclude

2. edit these files:

/usr/lib/pkgconfig/libdrm_nouveau.pc:
change Version: 0.6 to Version: 2.4.45

/usr/lib/pkgconfig/libdrm_radeon.pc
change Version: 2.4.40 to Version: 2.4.45
3. installed deps list:
dri2proto-2.8.tar.gz: 129 K to be compiled (see pet attached)

+ .debs all from debian packages repo
libdrm2_2.4.45-3_i386.deb: 459 K
libdrm-dev_2.4.40-1~deb7u2_i386.deb: 609 K
libdrm-dev_2.4.45-3_i386.deb: 636 K
libdrm-intel1_2.4.45-3_i386.deb: 496 K
libdrm-nouveau2_2.4.45-3_i386.deb: 449 K
libdrm-radeon1_2.4.45-3_i386.deb: 459 K
libegl1-mesa_9.1.4-1_i386.deb: 83 K
libegl1-mesa-drivers_9.1.4-1_i386.deb: 2178 K
libffi6_3.0.13-4_i386.deb: 18 K
libffi-dev_3.0.13-4_i386.deb: 106 K
libgl1-mesa-dev_9.1.4-1_i386.deb: 34 K
libgl1-mesa-dri_9.1.4-1_i386.deb: 5756 K
libgl1-mesa-glx_9.1.4-1_i386.deb: 130 K
libglapi-mesa_9.1.4-1_i386.deb: 49 K
libglu1-mesa_9.0.0-1_i386.deb: 217 K
libllvm3.2_3.2repack-10_i386.deb: 8239 K
libx11-6_1.6.0-1_i386.deb: 897 K
libx11-dev_1.6.0-1_i386.deb: 1010 K
libx11-xcb1_1.6.0-1_i386.deb: 150 K
libx11-xcb-dev_1.6.0-1_i386.deb: 152 K
libxcb1-dev_1.9.1-3_i386.deb: 102 K
libxcb-dri2-0_1.9.1-3_i386.deb: 13 K
libxcb-dri2-0-dev_1.9.1-3_i386.deb: 16 K
libxcb-glx0_1.9.1-3_i386.deb: 33 K
libxcb-render0_1.9.1-3_i386.deb: 20 K
libxcb-render0-dev_1.9.1-3_i386.deb: 26 K
libxcb-xfixes0_1.9.1-3_i386.deb: 15 K
libxcb-xfixes0-dev_1.9.1-3_i386.deb: 19 K
libxdmcp6_1.1.1-1_i386.deb: 27 K
libxdmcp-dev_1.1.1-1_i386.deb: 42 K
libxext-dev_1.3.2-1_i386.deb: 111 K
libxfixes3_5.0.1-1_i386.deb: 22 K
libxfixes-dev_5.0.1-1_i386.deb: 25 K
libxxf86vm1_1.1.2-1+deb7u1_i386.deb: 20 K
llvm-3.2_3.2repack-10_i386.deb: 1492 K
llvm-3.2-dev_3.2repack-10_i386.deb: 15 M
llvm-3.2-runtime_3.2repack-10_i386.deb: 40 K
mesa-common-dev_9.1.4-1_i386.deb: 292 K
x11proto-core-dev_7.0.24-1_all.deb: 761 K
x11proto-dri2-dev_2.8-2_all.deb: 18 K
x11proto-fixes-dev_5.0-2_all.deb: 19 K
x11proto-gl-dev_1.4.16-2_all.deb: 32 K
x11proto-input-dev_2.3-1_all.deb: 173 K
x11proto-xext-dev_7.2.1-1_all.deb: 268 K

Total: 40 M (45 files)
hope this helps
charlie
Attachments
dri2proto_k3.9.9-2.8.pet
(9.23 KiB) Downloaded 338 times

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#55 Post by tlchost »

charlie6 wrote:Hi tlchost,
What do I need to change to have performance set to turbo as the default value?
You might open (with Geany) and edit /root/Startup/0acpid
Hmmm, that seems to work...sort of...when Raring first boots, I see the
turbo indication in the taskbar...but then that disappears and is replaced by two performance icons.

I'm running a bootable usb if that makes any difference.

Thom

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#56 Post by anikin »

Hi Thom,
have a look at mine, it's set to always boot to powersave (turbo mode is removed - I don't need it).
Replace powersave with turbo and you'll get what you want.

Code: Select all

#!/bin/bash
killall acpid
 if [ -f /root/.acpid_on ] ; then 
 exec acpid &
 acpitool -a |grep off-line
  if [[ $? == 0 ]] ; then
  /etc/acpi/powersave.sh
  else
  /etc/acpi/performance.sh
  fi
	exec ppower &
 fi
/etc/acpi/powersave.sh

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#57 Post by charlie6 »

Hi Thorn,
tlchost wrote:
charlie6 wrote:Hi tlchost,
Hmmm, that seems to work...sort of...when Raring first boots, I see the
turbo indication in the taskbar...but then that disappears and is replaced by two performance icons.
what happens if doing Menu/Session/Restart X ? you should get only one icon then, shouldn't you?
/root/Startup/0acpid is an executable script. If you click on it, it executes. You then would get as so many icons as the number of clicks on it... :)
Restarting X does a sort of reset of the X desktop and tray bar. There should left then only one icon.
I'm running a bootable usb if that makes any difference.
Do you have a pupsave file ? If not, any change you does will be lost at poweroff.

You might also consider also anikin's script.

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#58 Post by tlchost »

anikin wrote:Hi Thom,
have a look at mine, it's set to always boot to powersave (turbo mode is removed - I don't need it).
Replace powersave with turbo and you'll get what you want.

Code: Select all

#!/bin/bash
killall acpid
 if [ -f /root/.acpid_on ] ; then 
 exec acpid &
 acpitool -a |grep off-line
  if [[ $? == 0 ]] ; then
  /etc/acpi/powersave.sh
  else
  /etc/acpi/performance.sh
  fi
	exec ppower &
 fi
/etc/acpi/powersave.sh
Hmmm.....I deleted the last line

Code: Select all

/etc/acpi/powersave.sh
It worked...should I have left that line in and changed the powersave to turbo ?

thanks

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

#59 Post by Jim1911 »

pemasu wrote:Jim1911. I have windows 7. When I hibernate it, it shuts down. When I press powerbutton, it boots to my grub4dos menu. When I then boot Upup Raring, it informs me that my windows 7 partition is hibernated, when I try to mount it. So it mounts it as read only. The same message as you got. So....hibernating does not stop grub4dos to appear for me. I dont know anything about windows 8 os. It might be that it hibernates the sda1 also, where your menu.lst resides. For me sda1 is not rw protected though, when sda3, windows os partition, was hibernated. I have menu.lst in sda1 and I can edit it.

Anyway....I cant reproduce your problem with sda1 hibernation. Windows 8 is different animal though, maybe not even same species, lol.

In console:dmesg gathers ntfs partition mounting errors. You could check if it tells that hibernation is reason of not mounting as rw.
When Windows 8 is in hibernation, pressing the power button, any key, or moving the mouse restarts it. There is no opportunity to boot any other OS. As I indicated I don't have this problem with other pups.

EDIT:
Dmesg does indicate that Windows is in hibernation so I booted into Windows and did a through check on the drive and found no errors. Also Windows 8 has a unique shutdown feature that allow a very fast restart. This feature is disabled on my system since it would interfere when using another OS. I just have to put up with the slower boot. I checked that feature and made sure that it is still disabled. For your info the fast start feature is as follows:

"When you issue a standard power-down command to Win8, it carries out a hybrid shutdown. Win8 first closes and terminates all user sessions in the expected way. Next, it copies what's still running in RAM (primarily, the live core of the operating system — the system kernel) onto the hard drive. It then turns off the system hardware.

When Win8 starts up after a hybrid shutdown, it performs a hybrid boot. As soon as the hardware's ready, the core of the OS reloads from the hard drive; Win8 then picks up right from where it left off. Thus, the OS itself is up and ready to go in a flash. You still have to reload your apps and data the normal way, from scratch."
Last edited by Jim1911 on Thu 18 Jul 2013, 18:25, edited 2 times in total.

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#60 Post by anikin »

tlchost wrote:Hmmm.....I deleted the last line

Code: Select all

/etc/acpi/powersave.sh
It worked...should I have left that line in and changed the powersave to turbo ?
From as little as I know, "fi" should be the last line in a script.
But if I delete that actual last line like you did, the system defaults to performance mode, not the desired powersave. That is why it's there ... a line that flies in the face of reason but gets the job done.

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Working great on a Thinkpad T42

#61 Post by mikeslr »

Hi pemasu,

Just wanted to thank you for another great puplet. It's working great via a USB-key install* on my Thinkpad T42 with vicmz's OpenboxPlus installed. http://murga-linux.com/puppy/viewtopic. ... 730#703730.

Except for one problem: no sound. But that's neither yours nor vicmz's fault. I attribute that to Newton's Third Law of Physics and my cat.

Reminds me of a skit.

Patient: Doctor, will I be able to play the violin after the operation?
Doctor: I don't see why not.
Patient: Well, I was never able to before.


mikesLr

* Will move it onto the hard drive now that I see it works.

linux28
Posts: 270
Joined: Sun 05 Apr 2009, 07:22

#62 Post by linux28 »

Thank you!
Last edited by linux28 on Fri 19 Jul 2013, 07:42, edited 1 time in total.

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#63 Post by tlchost »

anikin wrote:That is why it's there ... a line that flies in the face of reason but gets the job done.
As George Carlin said "It's a mystery Father, a mystery"

Thanks

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

Re: new upload raring-3.9.9 by 130717

#64 Post by charlie6 »

Hi Pemasu,
further infos to my previous post:
http://murga-linux.com/puppy/viewtopic. ... 4&start=50
falling back to the previous /usr/lib/xorg/modules/drivers/intel_drv.so offers a workaround.
I have unsquashfs'ed the former puppy_raring-3.9.9.sfs to pick up its intel_drv.so and inject it into the new puppy_raring-3.9.9.sfs (and mksquashfs'ed it ... :wink: ) ...for intel-video-chip-Brookdale-82845G purpose ...
Cheers, Charlie

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#65 Post by charlie6 »

Hi (again) Pemasu,
considering this on Dpup-wheezy-3.5.2.7:
http://www.murga-linux.com/puppy/viewtopic.php?t=80546
pemasu wrote:... Libgl1-mesa-dri is the package for graphics spesific dri drivers. I intended to include them....but woof2 template stripped them to swrast_dri.so only. I might create it as pet ...
...how to reproduce this on Upup Raring-3.9.9 ...? is it feasable ?

Charlie

Post Reply