Fatdog64-600b1

A home for all kinds of Puppy related projects
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#21 Post by 01micko »

Swap isn't enabled by default.. is this by design or a bug?

Code: Select all

# free
             total         used         free       shared      buffers
Mem:       2049916       443212      1606704            0        30832
-/+ buffers:             412380      1637536
Swap:            0            0            0
# swapon /dev/sda5
# free
             total         used         free       shared      buffers
Mem:       2049916       444840      1605076            0        30920
-/+ buffers:             413920      1635996
Swap:      1678756            0      1678756
# 
EDIT: plus sda5 shows up on my desktop.

EDIT2:
/etc/fstab

Code: Select all

# /etc/fstab: static file system information.
#
# <file system> <mount pt>     <type>	<options>         <dump> <pass>
# /dev/root		/				ext2	rw,noauto			0		1	# mounted by /init
# proc			/proc			proc	defaults			0		0	# mounted by /init
# sysfs			/sys			sysfs	defaults			0		0	# mounted by /init
usbfs			/proc/bus/usb	usbfs	defaults			0		0
devpts			/dev/pts		devpts	defaults,gid=3,mode=620	0	0
tmpfs			/dev/shm		tmpfs	mode=0777			0		0
tmpfs			/tmp			tmpfs	defaults			0		0
/usr/lib64		/usr/lib		bind	defaults,bind		0		0
/usr/X11R7/lib64 /usr/X11R7/lib	bind	defaults,bind		0		0
/dev/fd0		/mnt/floppy		auto	noauto,rw			0		0
/usr/lib64      /usr/lib        bind    defaults,bind       0		0
hmm... forum doesn't format the code too well!
Puppy Linux Blog - contact me for access

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#22 Post by jamesbond »

01micko wrote:Swap isn't enabled by default.. is this by design or a bug?

Code: Select all

# free
             total         used         free       shared      buffers
Mem:       2049916       443212      1606704            0        30832
-/+ buffers:             412380      1637536
Swap:            0            0            0
# swapon /dev/sda5
# free
             total         used         free       shared      buffers
Mem:       2049916       444840      1605076            0        30920
-/+ buffers:             413920      1635996
Swap:      1678756            0      1678756
# 
By design. You need to add /dev/sda5 to /etc/fstab, then it will be enabled by default.
EDIT: plus sda5 shows up on my desktop.
Yes, I noticed this too ... :oops: I thought it is a feature to know where your missing drives are. You can take this one out: edit /usr/sbin/fatdog-drive-icon-udev-handler.sh; goto line 317 and add "swap" as one of the filesystem type that we want to ignore.

EDIT2:
/etc/fstab

Code: Select all

# /etc/fstab: static file system information.
#
# <file system> <mount pt>     <type>	<options>         <dump> <pass>
# /dev/root		/				ext2	rw,noauto			0		1	# mounted by /init
# proc			/proc			proc	defaults			0		0	# mounted by /init
# sysfs			/sys			sysfs	defaults			0		0	# mounted by /init
usbfs			/proc/bus/usb	usbfs	defaults			0		0
devpts			/dev/pts		devpts	defaults,gid=3,mode=620	0	0
tmpfs			/dev/shm		tmpfs	mode=0777			0		0
tmpfs			/tmp			tmpfs	defaults			0		0
/usr/lib64		/usr/lib		bind	defaults,bind		0		0
/usr/X11R7/lib64 /usr/X11R7/lib	bind	defaults,bind		0		0
/dev/fd0		/mnt/floppy		auto	noauto,rw			0		0
/usr/lib64      /usr/lib        bind    defaults,bind       0		0
hmm... forum doesn't format the code too well!
Yes, definitely not too well, I don't get what you're trying to say? :twisted:
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Fatdog64-600b1

#23 Post by Billtoo »

Alpha2 and beta1 both work great for games like Openarena,Sauerbraten,
and Nexuiz, most likely Xonotic too which I don't have on this hard disk
yet.
Other recent Puppy versions won't run these games, Wary and Slacko
used to be but not recent versions of those pups.Saluki runs some
games okay.
Anyway, Fatdog gets a thumbs up for gaming :)

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#24 Post by 01micko »

Yes, definitely not too well, I don't get what you're trying to say?
Just that swap isn't in /etc/fstab, no problem. If I feel the need I can add it manually and I see from rc.sysinit it will get mounted. 8) . I suppose most 64 bit machines have fairly large RAM and swap isn't all that necessary for day to day computing.

Cheers
Puppy Linux Blog - contact me for access

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#25 Post by rcrsn51 »

Jim1911 wrote:2. Cannot install printer -- selecting "CUPS Manage Printing" opens browser at Home CUPS 1.3.11, however clicking "Add Printer" takes you to an Administrative CUPS 1.5.2 screen which gives an error. Correct hplip pets for FD are installed. See desktop below.
Ummm... Are you using a shared browser cache with another Puppy? Because there is no way you should be seeing that.

Can you duplicate it with a fresh install?

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#26 Post by 01micko »

Ok I have a printing problem which I can work around, but I can't find a 'proper' solution.

I installed my canon-mp490 thanks to rcrsn51's instructions.
I have already added user "mick"
As user root I added the printer but could not print, permissions error on /dev/usb/lp0
I manually set the 'world' check boxes in rox and I can print as root.
I added user 'mick' in the CUPS interface. He couldn't print!
I then changed the line SystemGroup root to SystemGroup lpadmin in /etc/cups/cupsd.conf and 'mick' can print.
After every reboot though I have to reset the /dev/usb/lp0 file and tick the 'world' boxes.

Every time I made a change I restarted CUPS to be on the safe side.
Puppy Linux Blog - contact me for access

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#27 Post by jamesbond »

Jim1911 wrote:1. Heads up -- Not a problem. Installed Firefox-13.pet using package manager. Initially it would not work, even using a terminal. However, this was corrected with a reboot.
That's odd, it is supposed to work without a reboot. I will look at it.
I can't reproduce the problem. Running in RAM, install firefox from FDPM, click "web browser" - and I've got firefox running ...
Billtoo wrote:Anyway, Fatdog gets a thumbs up for gaming
Am I not glad to hear this :D I initially created 32-bit libs because I saw so many games in the PET sections, but they were only for 32-bit puppies ... :)
01micko wrote:Just that swap isn't in /etc/fstab, no problem. If I feel the need I can add it manually and I see from rc.sysinit it will get mounted. I suppose most 64 bit machines have fairly large RAM and swap isn't all that necessary for day to day computing.
There is a "Create swapfile" function from control panel to assist creating a swap file (note: swapfile not swap partition) and automatically add it to /etc/fstab. I presume that anyone who knows how to play with swap partition would know to add it to the /etc/fstab too :wink: perhaps need to add one more FAQ entry. The reason I'm not doing swap partition detection is the boot delay it incurs 8)
Ok I have a printing problem which I can work around, but I can't find a 'proper' solution.
Hmm ... The udev-rules (/etc/udev/rules.d/54-fatdog-permission.rules) is set so that printer device nodes are owned by "lp" group. Do you mind checking whether that's the case? (ie - what is the user/group for /dev/usb/lp0 when you plug the printer?). All users including root is part of the "lp" group, and therefore should be able to access the nodes. I'm surprised that even root cannot print. Perhaps I set the mode wrongly.

I'm not too sure about the SystemGroup cupsd.conf, I need to have a read here (or perhaps rcrsn51 can enlighten me ...), I'm happy to add lpadmin to the SystemGroup if needed.

EDIT: Permissions of /usr/lib64/cups/backend/* get borked. It should be 0500 - I think the iso build system may have screwed it. If you chmod them to 0500, you will be able to add/remove and print as users directly, no need to modify cupsd.conf or the device node permissions.

CUPS-PDF however only shows its prompt on the first screen, if you happen to run multiple desktops ...
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

#28 Post by Billtoo »

On the same pc it takes 4 minutes to get to the desktop if I boot the fatdog 600b1 dvd with fatdog savefile=direct:local
Could you try booting from a hard drive on that computer? If you use grub, just copy vmlinuz and initrd to a partition and add this to grub:

title Fatdog64
rootnoverify (hd0,0)
kernel /vmlinuz
initrd /initrd

The hd0,0 in the example above, the first zero refers to the first hard drive, and the second zero refers to the first partition on that harddrive. So in that example, (hd0,0) refers to sda1.

Your boot option isn't needed. Here's some examples from the FAQs if your interested:


savefile=direct:device:sda1 --- use savefile named fd64save.ext4 located in root directory of /dev/sda1, save directly to it
savefile=ram:device:sda2:/fd600/fd64save.3fs --- use savefile named fd64save.3fs located in /fd600 directory of /dev/sda2, use RAM layer
savefile=ram:usb --- use savefile named fd64save.ext4 located in root directory of the first found usb device, use RAM layer
savefile=direct:multi --- use multisession on device /dev/sr0
I installed shinobar's grub4dos 1.8 from page 1 of this thread and it booted to the desktop in 17 seconds, thanks

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#29 Post by rcrsn51 »

jamesbond wrote:EDIT: Permissions of /usr/lib64/cups/backend/* get borked. It should be 0500
With that fix, USB printers are now being detected again. I also tested printing a web page as spot, and that worked.

However, 32-bit drivers like Mick's MP490 are a nuisance. Even after you go through all the steps in the Help, there are two more:

1. When you re-install the printer, make sure that you select the "usb" choice, NOT "cnijusb". The latter uses /dev/usb/lp0 which will fail because of permissions. The former will work correctly.

2. You need the following 32-bit symlink

Code: Select all

ln -s libtiff.so.3 /lib32/libtiff.so.4
However, this link probably won't survive a reboot (I didn't check). The new 32-bit compatibility pack will need to contain it.

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#30 Post by kirk »

Grub4DosConfig 1.8 now supports Fatdog64.
Thanks Shinobar, it will be in the next release. And thanks to Billtoo for testing it.
Alpha2 and beta1 both work great for games like Openarena,Sauerbraten,
and Nexuiz, most likely Xonotic too which I don't have on this hard disk
yet.
If you play Urban Terror, which is another Quake3 based game, the game engine that comes with there last release is too old. I compiled an updated one a few months ago. It's here:

http://distro.ibiblio.org/pub/linux/dis ... ine.tar.xz
Swap isn't enabled by default.. is this by design or a bug?
Just to echo what James said. It's off by default. If you need to use swap on a regular basis you really should buy some more RAM, fortunately most 64bit PCs come with enough RAM. Also Swap causes a security issue for people running encrypted save files.

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

#31 Post by Jim1911 »

rcrsn51 wrote:
Jim1911 wrote:2. Cannot install printer -- selecting "CUPS Manage Printing" opens browser at Home CUPS 1.3.11, however clicking "Add Printer" takes you to an Administrative CUPS 1.5.2 screen which gives an error. Correct hplip pets for FD are installed. See desktop below.
Ummm... Are you using a shared browser cache with another Puppy? Because there is no way you should be seeing that.

Can you duplicate it with a fresh install?
You nailed it, I was using a shared cache. :oops: However, as you can see from the attached screens, I am still unable to install the printer (my HP 5280 does not show up), although your latest hplip pets are installed. I uninstalled them and reinstalled several times with a fresh download, didn't help. I have rebooted the computer and also shutdown and restarted the printer several times.

@jamesbond

Firefox problem apparently was caused by a bad download. New save file did not have a problem.
Attachments
image-1.jpg
(33 KiB) Downloaded 1409 times
image-3.jpg
(35.15 KiB) Downloaded 1404 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#32 Post by rcrsn51 »

Jim1911 wrote: However, as you can see from the attached screens, I am still unable to install the printer, although your latest hplip pets are installed. I uninstalled them and reinstalled several times with a fresh download, didn't help. I have rebooted the computer and also shutdown and restarted the printer several times..
Your drivers are fine. Read back a bit for jamesbond's permissions fix. You need to run

Code: Select all

chmod 0500 /usr/lib64/cups/backend/*

User avatar
irishrm
Posts: 271
Joined: Sat 14 Mar 2009, 14:09

#33 Post by irishrm »

Did a frugal usb install.

Internet connection established with ease.

Had to configure touchpad as usual.

Downloads from ppm and from the repro working well.
Installed all the apps I usually use and all working ok.

Encountered none of the problems that I had with alpha2.
Delighted with the result-great distro.

irishrm.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#34 Post by jamesbond »

rcrsn51 wrote:2. You need the following 32-bit symlink

Code: Select all

ln -s libtiff.so.3 /lib32/libtiff.so.4
However, this link probably won't survive a reboot (I didn't check). The new 32-bit compatibility pack will need to contain it.
I will try to remember this. The next 32-bit libs will probably comes from Slacko - it would (or at least should) make the entire 32-bit Slackware apps (at least those that works with Slacko) to be available for use with Fatdog.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#35 Post by jamesbond »

Note: taking down ironware-sfs, 01micko has indicated incompatibility with beta1 and he has a fix. I will upload it once I've applied the fix.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

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

#36 Post by Jim1911 »

rcrsn51 wrote:
Jim1911 wrote: However, as you can see from the attached screens, I am still unable to install the printer, although your latest hplip pets are installed. I uninstalled them and reinstalled several times with a fresh download, didn't help. I have rebooted the computer and also shutdown and restarted the printer several times..
Your drivers are fine. Read back a bit for jamesbond's permissions fix. You need to run

Code: Select all

chmod 0500 /usr/lib64/cups/backend/*
Working fine, also scanner. Thank you.

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

Problems with starting the Puppy Package manager

#37 Post by tronkel »

When starting the Puppy Package Manager I get the following error dialogue:
GTK-server Error!
ERROR: No value entered where "gtk_tree_store_append" expects one!
It happens when attempting to refresh the package lists. Anyone else seen this?
Life is too short to spend it in front of a computer

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

Re: Problems with starting the Puppy Package manager

#38 Post by jamesbond »

tronkel wrote:When starting the Puppy Package Manager I get the following error dialogue:
GTK-server Error!
ERROR: No value entered where "gtk_tree_store_append" expects one!
It happens when attempting to refresh the package lists. Anyone else seen this?
Yes, that means the package list doesn't conform to the standard package list format - some the the expected values are blank. Probably caused by foreign package (ie debs or tar.gz packages). Do you mind sending me your /root/.packages/user-installed-package and /root/.packages/Package-puppy-fd64-offical?
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#39 Post by jamesbond »

jamesbond wrote:
Shinobar wrote:Note: Failed format floppy, tested on Fatdog64 alpha2 and beta1.
I only have one machine with floppy drive and I have not formatted a floppy for years ... :) I'm not even sure whether the
drive is still working :roll: Thank you for the report though, I think devtmpfs doesn't automatically create this "special" floppy device
nodes. The floppy formatter program needs to be upgraded to create them on the fly.
Shinobar, do you mind testing this? Rename the fake .gz to floppy-format.sh, chmod +x and put it to /usr/sbin (replacing the original file) and see if you can format a floppy with it?

cheers!
Attachments
floppy-format.sh.gz
(4.17 KiB) Downloaded 828 times
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

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

#40 Post by tronkel »

jamesbond wrote:
Yes, that means the package list doesn't conform to the standard package list format - some the the expected values are blank. Probably caused by foreign package (ie debs or tar.gz packages). Do you mind sending me your /root/.packages/user-installed-package and /root/.packages/Package-puppy-fd64-offical?
On checking these files:
/root/.packages/user-installed-package is an empty file and
/root/.packages/Package-puppy-fd64-offical doesn't exist in the /root/.packages folder at all. Seems to have been deleted.

What I have locally installed is the DEBBI printer installer DEB as originally built by rcrsn51.

This may well be the cause of the problem?

This is causing the whole system to crash on shutdown as well
Life is too short to spend it in front of a computer

Post Reply