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 Mon 17 Dec 2018, 01:16
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
DebianDog - Wheezy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 47 of 93 [1387 Posts]   Goto page: Previous 1, 2, 3, ..., 45, 46, 47, 48, 49, ..., 91, 92, 93 Next
Author Message
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Fri 27 Feb 2015, 17:29    Post subject:  

Hi, limelime.
Yes, after some testing I see what your problem is. It has nothing to do with RemasterDog.
It is a bug in util-linux or live-boot package. I can't say which one without further testing:
http://askubuntu.com/questions/168290/why-cant-mount-read-files-in-etc-fstab-d
https://lists.debian.org/debian-live/2013/02/msg00001.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663623

I see two quick fixes for you if you like to keep live-boot-3.
1. Remove swapon from your boot code and edit /etc/fstab as you like before starting RemasterDog. The changed /etc/fstab will be available on boot in your remastered module. The problem is initrd.img is patched with refracta fixes for swapon and encrypted save and if you use swapon boot option new empty /etc/fstab (or only with swap partition mount line inside) will be created on boot.

2. Use the original (not patched) initrd.img from here:
http://smokey01.com/saintless/DebianDog/System-modules/initrd.img
Again change /etc/fstab as you like before remaster. Nothing else needed but swapon and encrypted save will not work with this official wheezy initrd.img.

I will try to find some better fix later.

BTW this bug is not fixed in jessie and SID using latest live-boot.

Edit: Note to my self for testing later:
Porteus-boot also needs editing /etc/fstab directly before remaster.
Live-boot-2 creates aufs and tmpfs line on boot but does not generate them from /etc/fstab.d files (maybe from some script inside initrd1.img).
Seems reading /etc/fstab.d files doesn't work and needs fixing. Or maybe the better fix is to keep /etc/fstab.d direct edit working as it is now.

Toni

_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Sat 28 Feb 2015, 02:20; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Fri 27 Feb 2015, 17:36    Post subject:  

Hi, Fred.

I will try to arange the repo and fixes post in the next few days and post the result.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
anikin

Joined: 10 May 2012
Posts: 1020

PostPosted: Sat 28 Feb 2015, 03:52    Post subject:  

Hi Toni, Fred, limelime et al,
saintless wrote:
......
I will try to find some better fix later.

BTW this bug is not fixed in jessie and SID using latest live-boot.

Edit: Note to my self for testing later:
Porteus-boot also needs editing /etc/fstab directly before remaster.
Live-boot-2 creates aufs and tmpfs line on boot but does not generate them from /etc/fstab.d files (maybe from some script inside initrd1.img).
Seems reading /etc/fstab.d files doesn't work and needs fixing. Or maybe the better fix is to keep /etc/fstab.d direct edit working as it is now.

Toni
I've been reading some interesting systemd related stuff lately. Well, there's more, much more to it, than meets the eye. Systemd has changed the way how fstab and mount work. For example, Arch wiki says, that initramfs has to be created with mkinitcpio. It should have a systemd hook, which acts differently depending on systemd version. An important factor is block device naming. The recommended way seems to be uuid.
https://wiki.archlinux.org/index.php/Persistent_block_device_naming
https://wiki.archlinux.org/index.php/fstab
https://wiki.archlinux.org/index.php/Swap#Swap_partition
http://www.freedesktop.org/software/systemd/man/systemd-fstab-generator.html
http://www.freedesktop.org/software/systemd/man/systemd.mount.html
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 28 Feb 2015, 04:02    Post subject:  

Thanks, Anikin.

I think I'm wrong about Jessie and SID have the same /etc/fstab.d bug.
/etc/fstab.d support is removed from live-boot v.4.0.2 and also from util-linux:
https://launchpad.net/ubuntu/+source/live-boot/+changelog
Quote:
* Dropping usage of /etc/fstab.d since util-linux removed it

I think the best way is to keep working direct edit in /etc/fstab as it is now in DD-Wheezy. The only problem is swapon for live-boot-3 must be removed from the boot code but we can use similar swapon as porteus-boot - link /opt/bin/mount-swap to $HOME/Startup (and swap partition will be mounted on boot).
I will add information about this later in fixes post and howto thread.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
anikin

Joined: 10 May 2012
Posts: 1020

PostPosted: Sat 28 Feb 2015, 05:16    Post subject:  

Hi Toni,

We are still using DD Wheezy and all is well so far. It's good DD is taking some proactive steps in preparation for
Jessie release. She's coming out soon ... we'll lift up her skirt to check to see whether she's an approachable girl Smile
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 964

PostPosted: Sat 28 Feb 2015, 05:35    Post subject:  

Nice job guys, I downloaded the 151 mb iso of Debian Dog.
Looks really good!
Only trouble is that I got no sound over usb.
No volume icon. Just wondering if the Usb audio firmware modules or whatever is in there? Tried setup audio, and there was a brief black flash, then nothing.

Also can I select it (squashfs or whatever) to load to ram from the cd?
It was quite slow, because it was having to access the cd when you clicked on things, and I just want to test it for now.

Would be great if you could do a Qtractor, Jack Package for Debian Dog if anyone's got the time lol, I could do some throughput tests, to see how it performs if you wanted.
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 28 Feb 2015, 06:02    Post subject:  

Hi, Smithy.
Smithy wrote:
Only trouble is that I got no sound over usb.
No volume icon. Just wondering if the Usb audio firmware modules or whatever is in there? Tried setup audio, and there was a brief black flash, then nothing.

Try in terminal:
Code:
apt-get update
apt-get install firmware-linux-nonfree

Also this command could help to see what firmware is needed:
Code:
lspci | grep audio


Quote:
Also can I select it (squashfs or whatever) to load to ram from the cd?
It was quite slow, because it was having to access the cd when you clicked on things, and I just want to test it for now.

Boot from CD and choose any of these to copy the main module in RAM:
DebianDog live-boot v2 in RAM live persistent
DebianDog Porteus in RAM changes=/changes.dat
DebianDog live-boot v3 in RAM live persistence

Quote:
Would be great if you could do a Qtractor, Jack Package for Debian Dog if anyone's got the time lol, I could do some throughput tests, to see how it performs if you wanted.

Does this help?
Code:
apt-get update
apt-get install qtractor


Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
anikin

Joined: 10 May 2012
Posts: 1020

PostPosted: Sat 28 Feb 2015, 06:02    Post subject:  

both are easily installable:
https://packages.debian.org/wheezy/sound/qtractor
https://packages.debian.org/wheezy/jackd
or if you mean this
https://packages.debian.org/wheezy/jack
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 964

PostPosted: Sat 28 Feb 2015, 06:25    Post subject:  

Cheers for quick replies!
Yes I pressed the wrong boot method, (help could do with a back button maybe to go back to boot screen)
Running fine in ram.

As regards the USB audio, the stuff is in there, and it seems like the old problem in Puppy when the audio disappears etc, I think it has largely been fixed in Puppy, i.e my sound always comes up without having to type code in.

I tried replacing etc/modprobe alsabase.conf with this one and restarted xserver but no joy.

Code:
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=0


Will have to try your code Saintless.
But it would create a better impression if audio just comes up Wink

Anikin, thanks for links, not even net connected through Debian Dog yet, but will get onto that after the sound is sorted.
I suppose though that it will probably offer the humungous QT, when I know Qtractor and Jack only need a "special" portion Rolling Eyes which is why I was asking for a Debian Dog "Special" Wink
Looking good anyways. @cept for audio.

EDIT: Tried
Code:
lspci | grep audio
in the terminal, but nothing happens.
Giving up for now.
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 28 Feb 2015, 07:00    Post subject:  

Smithy wrote:
Code:
options  index=0

Maybe worth trying changes from 0 to 1 also reading similar problems here:
http://www.linuxquestions.org/questions/linux-hardware-18/usb-audio-under-debian-squeeze-818951/
http://forums.debian.net/viewtopic.php?f=6&t=61007
My example about lspci will not work. Better use:
Code:
lsusb |grep -i audio

I don't know how is this fixed in Puppy but in Squeeze default snd-usb-audio was 0 and the problem with usb audio is there. In Wheezy it is -2 and again the problem appears. I'm not sure changing -2 to 0 or 1 as default will be safe for pci audio cards. If we get more test reports about this we can think about changing the default option.

Quote:
I suppose though that it will probably offer the humungous QT, when I know Qtractor and Jack only need a "special" portion Rolling Eyes which is why I was asking for a Debian Dog "Special" Wink

It could be around 12 to 15Mb sfs module created with apt2sfs I think. I don't know how small is the package for Puppy with all dependencies added.
Code:
root@debian:~# apt-get install qtractor jack
Reading package lists... Done
Building dependency tree       
Reading state information... Done
................................................
The following NEW packages will be installed:
  cdparanoia jack jackd jackd2 libfftw3-3 libgomp1 libjack-jackd2-0
  liblilv-0-0 liblo7 libqt4-xml libqtcore4 libqtgui4 librubberband2
  libserd-0-0 libsndfile1 libsord-0-0 libsqlite3-0 libsratom-0-0 libsuil-0-0
  libvorbis0a libvorbisenc2 libvorbisfile3 python python-cddb python-dbus
  python-dbus-dev python-eyed3 python-minimal python-ogg python-pyvorbis
  python-support python2.7 python2.7-minimal qtractor
0 upgraded, 34 newly installed, 0 to remove and 26 not upgraded.
Need to get 16.8 MB of archives.
After this operation, 55.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y


Toni
Back to top
View user's profile Send private message MSN Messenger 
fredx181


Joined: 11 Dec 2013
Posts: 3595
Location: holland

PostPosted: Sat 28 Feb 2015, 12:43    Post subject:  

Quote:
lsusb |grep -i audio


Command 'lsusb' is not found, that's because package "usbutils" is not installed, so install it first:
Code:
apt-get update
apt-get install usbutils


Fred
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 28 Feb 2015, 17:19    Post subject:  

Thanks, Fred.
I use DD-Squeeze most of the time while posting here and usbutils is included there. I forget sometimes Wheezy does not have exactly the same packages installed.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 01 Mar 2015, 15:42    Post subject:  

Hi, Fred.

Repository updated with latest gsu in Updated section and only smaller mpv available for installing with apt-get. Fixes post information changed:
http://murga-linux.com/puppy/viewtopic.php?p=776368#776368
If you like something to be changed in the information or in repository structure or inside sections I will do it.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
fredx181


Joined: 11 Dec 2013
Posts: 3595
Location: holland

PostPosted: Mon 02 Mar 2015, 07:07    Post subject:  

Quote:
Repository updated with latest gsu in Updated section and only smaller mpv available for installing with apt-get. Fixes post information changed:
http://murga-linux.com/puppy/viewtopic.php?p=776368#776368
If you like something to be changed in the information or in repository structure or inside sections I will do it.


Thanks, looks good, Toni.

Fred
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3595
Location: holland

PostPosted: Mon 02 Mar 2015, 08:19    Post subject:  

Hi All,

See for YouTube-Get (A simple YouTube downloader application I made), in the 'Utility' thread:
http://www.murga-linux.com/puppy/viewtopic.php?p=831586#831586

Toni, please test when you have time.
I also added script "m-play" + menu item "Play with MPlayer" for playing a video from a file or a YouTube url with mplayer or mpv.
But maybe it fits better in another package, like gnome-mplayer-1.0.7 or/and mpv.
Also there's "youtube-get-xterm" script in /usr/local/bin which displays the progress in an xterm window.


Fred
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 47 of 93 [1387 Posts]   Goto page: Previous 1, 2, 3, ..., 45, 46, 47, 48, 49, ..., 91, 92, 93 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1055s ][ Queries: 13 (0.0351s) ][ GZIP on ]