want to copy the debian way in slack-jack

classic Classic list List threaded Threaded
6 messages Options
'2+
Reply | Threaded
Open this post in threaded view
|

want to copy the debian way in slack-jack

'2+
was having a lot of trouble with this snapper sound thing on iBookG4
but at last found out that
jackd  -R -doss -r48000 -p1024 -n2
a least make one aplication make sound
on debian oriented distros = stable, unstable, ubuntu7.04
but my self-compiled jack on slackintosh doesn't work properly
with the same option in jackd

so am on my way to manually shift my slack-jack to debian oriented settings
but if i look into debian's /etc/fstab:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda5       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda3       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0

nothing named tmpfs seems to be there
but the df -H is

Filesystem             Size   Used  Avail Use% Mounted on
/dev/hda5              3.2G   871M   2.2G  29% /
tmpfs                  330M      0   330M   0% /lib/init/rw
udev                    11M   111k    11M   2% /dev
tmpfs                  330M      0   330M   0% /dev/shm

as was pointed out on this ml
df -H in of my slackintosh

Filesystem             Size   Used  Avail Use% Mounted on
/dev/hda7              5.3G   1.8G   3.3G  36% /
none                   329M      0   329M   0% /tmp

seems to be too much old-style(?)
since /dev itself is a tmpfs in 2.6.x kernels
(was tought about this in slackintosh-ml)

well then got confused
what i should fix to re-compile jack for slackintosh

other aspects -----

on slack used to put this in /etc/modprobe.d/alsa manually
to make alsa(?) work:

alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-powermac
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1

but debian has this kind of thing in /etc/modprobe.d/alsa-base:

-----8<-----
install snd-powermac /sbin/modprobe --ignore-install snd-powermac
$CMDLINE_OPTS && /lib/alsa/modprob
e-post-install snd-powermac
-----8<-----

"alsa" being the default in /etc/libao.conf

and had to put "snd-powermac" in /etc/modules manually
to acutually make the machine bring sound
(because alsaconf didn't do it for me)

--
2g
http://micro.ispretty.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: want to copy the debian way in slack-jack

Eric Dantan Rzewnicki-2
On Mon, Jul 30, 2007 at 09:58:18AM +0900, 2g wrote:

> so am on my way to manually shift my slack-jack to debian oriented settings
> but if i look into debian's /etc/fstab:
>
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> /dev/hda5       /               ext3    defaults,errors=remount-ro 0       1
> /dev/hda3       none            swap    sw              0       0
> /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
>
> nothing named tmpfs seems to be there
> but the df -H is
>
> Filesystem             Size   Used  Avail Use% Mounted on
> /dev/hda5              3.2G   871M   2.2G  29% /
> tmpfs                  330M      0   330M   0% /lib/init/rw
> udev                    11M   111k    11M   2% /dev
> tmpfs                  330M      0   330M   0% /dev/shm

No time to look at it in depth, but at least you need tmpfs supported in
your kernel, CONFIG_TMPFS=y, and then I think udev creates /dev/shm and
/etc/init.d/mountdevsubfs.sh mounts it as a tmpfs. Or something like
that ... I only did some quick grepping in /etc/ and the kernel config.

for recompiling jack, i think you just need to build it with
--default-tmpdir=/dev/shm once you have a /dev/shm.

Sorry if all that is completely wrong and misleading ... hopefully it
helps more than it hurts.

-Eric Rz.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: want to copy the debian way in slack-jack

David Causse
In reply to this post by '2+
Hi,

- Why do you use the oss driver with jackd instead of alsa (-dalsa)?
- You use the -R option but did you checked that you have rights to use
realtime and change process priority? Check "ulimit -r", you should have
at least 80 (default priority value for realtime)
- For the tmpfs stuff check that your kernel supports tmpfs : "grep
tmpfs /proc/filesystems".
- slack is a DIY distribution.

Good luck.

David.

2g a écrit :

> was having a lot of trouble with this snapper sound thing on iBookG4
> but at last found out that
> jackd  -R -doss -r48000 -p1024 -n2
> a least make one aplication make sound
> on debian oriented distros = stable, unstable, ubuntu7.04
> but my self-compiled jack on slackintosh doesn't work properly
> with the same option in jackd
>
> so am on my way to manually shift my slack-jack to debian oriented settings
> but if i look into debian's /etc/fstab:
>
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> /dev/hda5       /               ext3    defaults,errors=remount-ro 0       1
> /dev/hda3       none            swap    sw              0       0
> /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
>
> nothing named tmpfs seems to be there
> but the df -H is
>
> Filesystem             Size   Used  Avail Use% Mounted on
> /dev/hda5              3.2G   871M   2.2G  29% /
> tmpfs                  330M      0   330M   0% /lib/init/rw
> udev                    11M   111k    11M   2% /dev
> tmpfs                  330M      0   330M   0% /dev/shm
>
> as was pointed out on this ml
> df -H in of my slackintosh
>
> Filesystem             Size   Used  Avail Use% Mounted on
> /dev/hda7              5.3G   1.8G   3.3G  36% /
> none                   329M      0   329M   0% /tmp
>
> seems to be too much old-style(?)
> since /dev itself is a tmpfs in 2.6.x kernels
> (was tought about this in slackintosh-ml)
>
> well then got confused
> what i should fix to re-compile jack for slackintosh
>
> other aspects -----
>
> on slack used to put this in /etc/modprobe.d/alsa manually
> to make alsa(?) work:
>
> alias char-major-116 snd
> alias char-major-14 soundcore
> alias snd-card-0 snd-powermac
> alias sound-slot-0 snd-card-0
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
> alias /dev/mixer snd-mixer-oss
> alias /dev/dsp snd-pcm-oss
> alias /dev/midi snd-seq-oss
> options snd cards_limit=1
>
> but debian has this kind of thing in /etc/modprobe.d/alsa-base:
>
> -----8<-----
> install snd-powermac /sbin/modprobe --ignore-install snd-powermac
> $CMDLINE_OPTS && /lib/alsa/modprob
> e-post-install snd-powermac
> -----8<-----
>
> "alsa" being the default in /etc/libao.conf
>
> and had to put "snd-powermac" in /etc/modules manually
> to acutually make the machine bring sound
> (because alsaconf didn't do it for me)
>
>  




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: want to copy the debian way in slack-jack

David Causse
In reply to this post by '2+
2g a écrit :
> as was pointed out on this ml
> df -H in of my slackintosh
>
> Filesystem             Size   Used  Avail Use% Mounted on
> /dev/hda7              5.3G   1.8G   3.3G  36% /
> none                   329M      0   329M   0% /tmp
>  
Hi,

Your tmpfs is working, just replace "none" by "tmpfs" in your /etc/fstab
to see tmpfs, it's just typo and it won't fix your jackd problem.

David.




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
'2+
Reply | Threaded
Open this post in threaded view
|

Re: want to copy the debian way in slack-jack

'2+
In reply to this post by Eric Dantan Rzewnicki-2
mmm maybe am stupid but
ls /dev/sh*
gave me nothing on slackintosh
maybe they are not handling things in that /dev/shm way ...?

i also found so many things differ from debain
slack didn't have
/lib/alsa (and thing that should have been over there such as
modprobe-post-install)
nor /etc/alsa
they didn't have /etc/modules nor /etc/libao.conf

maybe this is too hard for me to go through with what i know right now
so put back what it was to make sound on slack(just some lines for
/etc/modprobe.d/alsa)
as was

now i have /tmp to be used by jack (that's how i compiled jack last time)
and just renamed it as tmpfs instead of "none" in /etc/fstab
maybe i don't habe to compile again and learn slowly from here?

On 7/31/07, Eric Dantan Rzewnicki <[hidden email]> wrote:

> On Mon, Jul 30, 2007 at 09:58:18AM +0900, 2g wrote:
> > so am on my way to manually shift my slack-jack to debian oriented settings
> > but if i look into debian's /etc/fstab:
> >
> > # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> > proc            /proc           proc    defaults        0       0
> > /dev/hda5       /               ext3    defaults,errors=remount-ro 0       1
> > /dev/hda3       none            swap    sw              0       0
> > /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
> >
> > nothing named tmpfs seems to be there
> > but the df -H is
> >
> > Filesystem             Size   Used  Avail Use% Mounted on
> > /dev/hda5              3.2G   871M   2.2G  29% /
> > tmpfs                  330M      0   330M   0% /lib/init/rw
> > udev                    11M   111k    11M   2% /dev
> > tmpfs                  330M      0   330M   0% /dev/shm
>
> No time to look at it in depth, but at least you need tmpfs supported in
> your kernel, CONFIG_TMPFS=y, and then I think udev creates /dev/shm and
> /etc/init.d/mountdevsubfs.sh mounts it as a tmpfs. Or something like
> that ... I only did some quick grepping in /etc/ and the kernel config.
>
> for recompiling jack, i think you just need to build it with
> --default-tmpdir=/dev/shm once you have a /dev/shm.
>
> Sorry if all that is completely wrong and misleading ... hopefully it
> helps more than it hurts.
>
> -Eric Rz.
>


--
2g
http://micro.ispretty.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
'2+
Reply | Threaded
Open this post in threaded view
|

Re: want to copy the debian way in slack-jack

'2+
In reply to this post by David Causse
on slackintoh12.0 ulimit didn't even have a -r option available
on debian(stable&unstable) and ubuntu7.04 it was 99 when non-root
so debian oriented has RT kernels as default for their distro?

in all distro
grep tmpfs /proc/filesystems
was
nodev tmpfs

found out that
jack -R -dalsa -S
works fine in 16bit mode at debian stable only
and chuck something.ck makes sound
but this isn't okay for unstable&ubuntu
(it has to be -doss)

this last aspect is confusing
long and winding road to slack-jack setups
-dalsa falls into
"doesn't support any of the hardware sample format...."
-doss itself pretends to be okay
but chuck something.ck becomes a
segmentation fault


On 7/31/07, David Causse <[hidden email]> wrote:

> Hi,
>
> - Why do you use the oss driver with jackd instead of alsa (-dalsa)?
> - You use the -R option but did you checked that you have rights to use
> realtime and change process priority? Check "ulimit -r", you should have
> at least 80 (default priority value for realtime)
> - For the tmpfs stuff check that your kernel supports tmpfs : "grep
> tmpfs /proc/filesystems".
> - slack is a DIY distribution.
>
> Good luck.
>
> David.
>
> 2g a écrit :
> > was having a lot of trouble with this snapper sound thing on iBookG4
> > but at last found out that
> > jackd  -R -doss -r48000 -p1024 -n2
> > a least make one aplication make sound
> > on debian oriented distros = stable, unstable, ubuntu7.04
> > but my self-compiled jack on slackintosh doesn't work properly
> > with the same option in jackd
> >
> > so am on my way to manually shift my slack-jack to debian oriented settings
> > but if i look into debian's /etc/fstab:
> >
> > # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> > proc            /proc           proc    defaults        0       0
> > /dev/hda5       /               ext3    defaults,errors=remount-ro 0       1
> > /dev/hda3       none            swap    sw              0       0
> > /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
> >
> > nothing named tmpfs seems to be there
> > but the df -H is
> >
> > Filesystem             Size   Used  Avail Use% Mounted on
> > /dev/hda5              3.2G   871M   2.2G  29% /
> > tmpfs                  330M      0   330M   0% /lib/init/rw
> > udev                    11M   111k    11M   2% /dev
> > tmpfs                  330M      0   330M   0% /dev/shm
> >
> > as was pointed out on this ml
> > df -H in of my slackintosh
> >
> > Filesystem             Size   Used  Avail Use% Mounted on
> > /dev/hda7              5.3G   1.8G   3.3G  36% /
> > none                   329M      0   329M   0% /tmp
> >
> > seems to be too much old-style(?)
> > since /dev itself is a tmpfs in 2.6.x kernels
> > (was tought about this in slackintosh-ml)
> >
> > well then got confused
> > what i should fix to re-compile jack for slackintosh
> >
> > other aspects -----
> >
> > on slack used to put this in /etc/modprobe.d/alsa manually
> > to make alsa(?) work:
> >
> > alias char-major-116 snd
> > alias char-major-14 soundcore
> > alias snd-card-0 snd-powermac
> > alias sound-slot-0 snd-card-0
> > alias sound-service-0-0 snd-mixer-oss
> > alias sound-service-0-1 snd-seq-oss
> > alias sound-service-0-3 snd-pcm-oss
> > alias sound-service-0-8 snd-seq-oss
> > alias sound-service-0-12 snd-pcm-oss
> > alias /dev/mixer snd-mixer-oss
> > alias /dev/dsp snd-pcm-oss
> > alias /dev/midi snd-seq-oss
> > options snd cards_limit=1
> >
> > but debian has this kind of thing in /etc/modprobe.d/alsa-base:
> >
> > -----8<-----
> > install snd-powermac /sbin/modprobe --ignore-install snd-powermac
> > $CMDLINE_OPTS && /lib/alsa/modprob
> > e-post-install snd-powermac
> > -----8<-----
> >
> > "alsa" being the default in /etc/libao.conf
> >
> > and had to put "snd-powermac" in /etc/modules manually
> > to acutually make the machine bring sound
> > (because alsaconf didn't do it for me)
> >
> >
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Jackit-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jackit-devel
>


--
2g
http://micro.ispretty.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel