View previous topic :: View next topic |
Author |
Message |
m.b.j. Guru
Joined: 12 Sep 2003 Posts: 407 Location: Germany (Essen)
|
Posted: Sun Jun 13, 2004 3:57 pm Post subject: [Solved] How to use sound inside a 32bit chroot? |
|
|
I followed serveral guides to run unreal-tournamend out of a 32bitchroot. It's now working, but i have no sound, my system:
amd64 3200+
MSI K8T-FIS2R Mainboard
I am using the onboard soundchip: VT8233/A/8235/8237 AC97 Audio
kernel 2.6.5-gentoo-r1
I am using the kernel alsa modules,
alsa stuff:
alsa-lib-1.0.4
alsa-oss-1.0.4
alsa-tools-1.0.4
The syslog is not reporting any errors.
Current i have mounted /tmp and my /home/mbj inside my chroot.
Maybe i have to mount directories into the chroot? _________________ root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard
Last edited by m.b.j. on Sun Jun 13, 2004 9:01 pm; edited 1 time in total |
|
Back to top |
|
|
naseweis Apprentice
Joined: 04 Apr 2003 Posts: 159 Location: germany
|
Posted: Sun Jun 13, 2004 4:25 pm Post subject: |
|
|
Is proc mounted?
Do other sound-playing apps work inside chroot (mpg123, aplay)? _________________ Nothing makes a person more productive than the last minute. |
|
Back to top |
|
|
m.b.j. Guru
Joined: 12 Sep 2003 Posts: 407 Location: Germany (Essen)
|
Posted: Sun Jun 13, 2004 5:02 pm Post subject: |
|
|
there a two way to mount proc
Code: | # mount -t proc proc /opt/32bit/proc |
or
Code: | # mount -o bind /proc /opt/32bit/proc |
I have tested the first one, but it still not works, i can not test other progs (they are not installed), i now starting the emerge of aplay... _________________ root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard |
|
Back to top |
|
|
zicada n00b
Joined: 25 May 2004 Posts: 7
|
Posted: Sun Jun 13, 2004 5:32 pm Post subject: |
|
|
For this to work you must compile a kernel inside the chroot with alsa support (built in is fine), it will add its own devices wich our 32bit compatible. |
|
Back to top |
|
|
m.b.j. Guru
Joined: 12 Sep 2003 Posts: 407 Location: Germany (Essen)
|
Posted: Sun Jun 13, 2004 5:53 pm Post subject: |
|
|
Do i have to unload my 64bit alsa, and load the 32bit alsamodules?
I do not have needed (new) distfiles, and I have a limited flat-rate, so i have to wait, my new megabytes come at the 17.06, ahhhhh! _________________ root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard |
|
Back to top |
|
|
J.M.I.T. Guru
Joined: 15 Jan 2003 Posts: 481 Location: München, Germany
|
Posted: Sun Jun 13, 2004 7:48 pm Post subject: |
|
|
try to mount /dev in your chroot environment before chroot...e.g.
Code: | mount -o bind /dev /mnt/chroot/dev |
and you don't need to compile an additional kernel inside the chroot to get sound working... the chroot will use all your 64bit-devices from /dev when mounted _________________ Get a life...
Use at own risk... |
|
Back to top |
|
|
m.b.j. Guru
Joined: 12 Sep 2003 Posts: 407 Location: Germany (Essen)
|
Posted: Sun Jun 13, 2004 8:58 pm Post subject: |
|
|
ok, i had followed all of your instruktions, now i have mounted:
Code: |
/tmp -> /mnt/chroot/tmp
/home -> /mbj /mnt/chroot/home/mbj
/proc -> /mnt/chroot/proc
|
But i still I did not hear something, then i ad my chroot user to the audio group and it works, thx for all help. _________________ root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard |
|
Back to top |
|
|
|