Re: [expert] Re: Sound configuration on Dell Inspiron 3200?

2003-11-19 Thread Rob Blomquist
On Tuesday 18 November 2003 6:31 am, Jack Coates wrote:

  Well, I found that the problem is not with the sound card, thanks to you
  guys. Bjorn gave me a tip in the options cs4232 line with the mpuirq=10,
  and I got it up and running, but only in console. Yep, in tty1, I was
  able to play an mp3 with mp3blaster.
 
  But when I get over to the graphical side, running XMMS completely locks
  up the system. The mouse is dead, the keyboard is dead, the whole
  freakin' thing. It doesn't crash until a sound is made. Attempting to
  play an mp3 kills it, and generating a tone with the tone generator
  plugin kills the system. So then I wondered if it was something about the
  sound system, and I installed Kaboodle, and attempted to play an mp3.
  Same deal. DOA.
 
  I am wondering if its and IRQ problem, but it doesn't seem so. Now, I
  appear to be using IRQ9 for mpu and IRQ 5 for sound. IRQ 9 does not show
  up in /proc/interrupts, however IRQ 5 is shown to be used by Crystal
  Audio Controller.
 
  Where do I go from here?
 
  Rob

 you're a KDE user, aren't you?

 in the DM you're using (e.g. mdkkdm, kdm, gdm, xdm) make sure that X is
 not being niced:
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg129204.html

 kcontrol, stop artsd from running with real time priority.

 xmms, make sure it's using arts output plugin (may need to install
 xmms-arts), don't allow it to run with realtime either.

 log out, then CTRL-ALT-BACKSPACE to make the DM changes take effect,
 then log back in and you should be fine.

OK, I altered the X stuff (not that I can see how this would effect the crash) 
then I dropped out of KDE and entered Gnome.

Trying XMMS I had the same problem. Start to play the tune (this time an ogg 
file) and the keyboard and touch pad are doa, without any kernel messages.

And I started XMMS for Console, and there were no messages there. And just for 
yucks, I tried mp3blaster in a console window. You guessed it, dead as a 
doorknob.

What the heck could it be? How the heck could I detect it?

Rob
-- 

Linux: For the people, by the people.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Re: Sound configuration on Dell Inspiron 3200?

2003-11-19 Thread James Sparenberg
On Tue, 2003-11-18 at 23:36, Rob Blomquist wrote:
 On Tuesday 18 November 2003 6:31 am, Jack Coates wrote:
 
   Well, I found that the problem is not with the sound card, thanks to you
   guys. Bjorn gave me a tip in the options cs4232 line with the mpuirq=10,
   and I got it up and running, but only in console. Yep, in tty1, I was
   able to play an mp3 with mp3blaster.
  
   But when I get over to the graphical side, running XMMS completely locks
   up the system. The mouse is dead, the keyboard is dead, the whole
   freakin' thing. It doesn't crash until a sound is made. Attempting to
   play an mp3 kills it, and generating a tone with the tone generator
   plugin kills the system. So then I wondered if it was something about the
   sound system, and I installed Kaboodle, and attempted to play an mp3.
   Same deal. DOA.
  
   I am wondering if its and IRQ problem, but it doesn't seem so. Now, I
   appear to be using IRQ9 for mpu and IRQ 5 for sound. IRQ 9 does not show
   up in /proc/interrupts, however IRQ 5 is shown to be used by Crystal
   Audio Controller.
  
   Where do I go from here?
  
   Rob
 
  you're a KDE user, aren't you?
 
  in the DM you're using (e.g. mdkkdm, kdm, gdm, xdm) make sure that X is
  not being niced:
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg129204.html
 
  kcontrol, stop artsd from running with real time priority.
 
  xmms, make sure it's using arts output plugin (may need to install
  xmms-arts), don't allow it to run with realtime either.
 
  log out, then CTRL-ALT-BACKSPACE to make the DM changes take effect,
  then log back in and you should be fine.
 
 OK, I altered the X stuff (not that I can see how this would effect the crash) 
 then I dropped out of KDE and entered Gnome.
 
 Trying XMMS I had the same problem. Start to play the tune (this time an ogg 
 file) and the keyboard and touch pad are doa, without any kernel messages.
 
 And I started XMMS for Console, and there were no messages there. And just for 
 yucks, I tried mp3blaster in a console window. You guessed it, dead as a 
 doorknob.
 
 What the heck could it be? How the heck could I detect it?
 
 Rob

Ok to divide the world in half.  If you are at runlevel 3 (no dm or WM)
and run mpg123 does it look up there as well?  If you run gpm you can
test the mouse as well.  If it does lock up then we know it's not just a
conflict between the WM and the sound system.  If it doesn't that
changes the avenue of attack.  

James



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Re: Sound configuration on Dell Inspiron 3200?

2003-11-19 Thread James Sparenberg
On Wed, 2003-11-19 at 00:22, James Sparenberg wrote:
 On Tue, 2003-11-18 at 23:36, Rob Blomquist wrote:
  On Tuesday 18 November 2003 6:31 am, Jack Coates wrote:
  
Well, I found that the problem is not with the sound card, thanks to you
guys. Bjorn gave me a tip in the options cs4232 line with the mpuirq=10,
and I got it up and running, but only in console. Yep, in tty1, I was
able to play an mp3 with mp3blaster.
   
But when I get over to the graphical side, running XMMS completely locks
up the system. The mouse is dead, the keyboard is dead, the whole
freakin' thing. It doesn't crash until a sound is made. Attempting to
play an mp3 kills it, and generating a tone with the tone generator
plugin kills the system. So then I wondered if it was something about the
sound system, and I installed Kaboodle, and attempted to play an mp3.
Same deal. DOA.
   
I am wondering if its and IRQ problem, but it doesn't seem so. Now, I
appear to be using IRQ9 for mpu and IRQ 5 for sound. IRQ 9 does not show
up in /proc/interrupts, however IRQ 5 is shown to be used by Crystal
Audio Controller.
   
Where do I go from here?
   
Rob
  
   you're a KDE user, aren't you?
  
   in the DM you're using (e.g. mdkkdm, kdm, gdm, xdm) make sure that X is
   not being niced:
   http://www.mail-archive.com/[EMAIL PROTECTED]/msg129204.html
  
   kcontrol, stop artsd from running with real time priority.
  
   xmms, make sure it's using arts output plugin (may need to install
   xmms-arts), don't allow it to run with realtime either.
  
   log out, then CTRL-ALT-BACKSPACE to make the DM changes take effect,
   then log back in and you should be fine.
  
  OK, I altered the X stuff (not that I can see how this would effect the crash) 
  then I dropped out of KDE and entered Gnome.
  
  Trying XMMS I had the same problem. Start to play the tune (this time an ogg 
  file) and the keyboard and touch pad are doa, without any kernel messages.
  
  And I started XMMS for Console, and there were no messages there. And just for 
  yucks, I tried mp3blaster in a console window. You guessed it, dead as a 
  doorknob.
  
  What the heck could it be? How the heck could I detect it?
  
  Rob
 
 Ok to divide the world in half.  If you are at runlevel 3 (no dm or WM)
 and run mpg123 does it look up there as well?  If you run gpm you can
 test the mouse as well.  If it does lock up then we know it's not just a
 conflict between the WM and the sound system.  If it doesn't that
 changes the avenue of attack.  
 
 James


K may be barking up the wrong tree here.  But a thread on pclinuxonline
and in the errata for 9.2 yeilds this.

quote
Error scenario: When enabling ACPI in the kernel (by removing acpi=ht
from the kernel boot options), the system freezes very early
Why: There seems to be a bad interaction with Local APIC, which is
enabled by default in the kernel. This can be seen by adding vga=0 to
try to see the last kernel message before it locks solid (a message like
Looking for DSDT in initrd... not found). This seems to happen with
certain HP laptops. Other reports also indicate that if you remove AC
power from a laptop (ie. Dell latitude C640; possibly others) it will
freeze requiring a power off. (re: Bugzilla #5821) 
Solution: Add nolapic to the kernel boot options to resolve both
issues.
/quote

the pclinuxonline thread is here.

http://pclinuxonline.com/modules.php?name=Forumsfile=viewtopictopic=2382forum=19

James



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Re: Sound configuration on Dell Inspiron 3200?

2003-11-19 Thread Jack Coates
On Tue, 2003-11-18 at 23:36, Rob Blomquist wrote:
 On Tuesday 18 November 2003 6:31 am, Jack Coates wrote:
 
   Well, I found that the problem is not with the sound card, thanks to you
   guys. Bjorn gave me a tip in the options cs4232 line with the mpuirq=10,
   and I got it up and running, but only in console. Yep, in tty1, I was
   able to play an mp3 with mp3blaster.
 ...

so the issue is only when you're running X and KDE...

  you're a KDE user, aren't you?
 
  in the DM you're using (e.g. mdkkdm, kdm, gdm, xdm) make sure that X is
  not being niced:
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg129204.html
 
  kcontrol, stop artsd from running with real time priority.
 
  xmms, make sure it's using arts output plugin (may need to install
  xmms-arts), don't allow it to run with realtime either.
 
  log out, then CTRL-ALT-BACKSPACE to make the DM changes take effect,
  then log back in and you should be fine.
 
 OK, I altered the X stuff (not that I can see how this would effect the crash) 
 then I dropped out of KDE and entered Gnome.

Reniced X and realtime artsd has caused several crashes for me --
basically it's manual monkeying with a sensitive automated process
management system. Because you're seeing crashes, you have something
drastically wrong. This is a relatively new laptop, right? You've
probably got to mess with ACPI and APIC combinations. I know that my
laptop won't work at all with ACPI turned off.

 
 Trying XMMS I had the same problem. Start to play the tune (this time an ogg 
 file) and the keyboard and touch pad are doa, without any kernel messages.
 
 And I started XMMS for Console, and there were no messages there. And just for 
 yucks, I tried mp3blaster in a console window. You guessed it, dead as a 
 doorknob.

and you didn't get any error messages? You should be seeing eror
messages because you've launched XMMS with the artsd output plugin while
artsd shouldn't be present...

 
 What the heck could it be? How the heck could I detect it?
 
 Rob

telinit 3

pidof esd
pidof artsd

service alsa stop
service sound stop
if either ends with failed, you have a problem -- pkill the process
that's holding things open.
service sound start
service alsa start

play /usr/share/sounds/KDE_Beep_Yo.wav
alsaplay /usr/share/sounds/KDE_Beep_Yo.wav

if either one hangs, we go back to suspecting hardware. If they don't
make noise but successfully finish, we look at mixer settings. If one
works and the other doesn't, well, Linux sound kinda sucks, just be
happy something works :-)

--
Jack at Monkeynoodle Dot Org: It's A Scientific Venture...

Through counterintelligence it should be possible to pinpoint potential
troublemakers and neutralize them...
-- Wake Up by Rage Against The Machine




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Re: Sound configuration on Dell Inspiron 3200?

2003-11-18 Thread Jack Coates
On Mon, 2003-11-17 at 21:41, Rob Blomquist wrote:
 On Monday 17 November 2003 9:22 am, Björn Lundin wrote:
  James Sparenberg wrote:
  
   Rob draksound AFAIK is only effective on PCI type cards.  Since your is
   ISA, using the old standby of sndconfig (just urpmi sndconfig)  This
   should bring you online no sweat.  One note.  You have to run it from a
   regular tty not a konsole or xterm window for it to work right.  I've
   used this chipset in the past and it works well, sndconfig has it in
   it's database and can get you up.
 
  I have a 4236-card which sndconfig can get sound from, but it have not,
  (since mdk8.1) been able to save its settings. Every time i install a new
  mdk since then I've had to resort to run pnpdump + isapnp, and comment out
  when given multiple choise. I also put
 
  alias sound-slot-0 cs4232
  options sound dmabuf=1
  alias synth0 opl3
  options opl3 io=0x388
  options cs4232 io=0x530 irq=5 dma=0 dma2=0 mpuio=0x330 mpuirq=10
 
 Well, I found that the problem is not with the sound card, thanks to you guys. 
 Bjorn gave me a tip in the options cs4232 line with the mpuirq=10, and I got 
 it up and running, but only in console. Yep, in tty1, I was able to play an 
 mp3 with mp3blaster.
 
 But when I get over to the graphical side, running XMMS completely locks up 
 the system. The mouse is dead, the keyboard is dead, the whole freakin' 
 thing. It doesn't crash until a sound is made. Attempting to play an mp3 
 kills it, and generating a tone with the tone generator plugin kills the 
 system. So then I wondered if it was something about the sound system, and I 
 installed Kaboodle, and attempted to play an mp3. Same deal. DOA.
 
 I am wondering if its and IRQ problem, but it doesn't seem so. Now, I appear 
 to be using IRQ9 for mpu and IRQ 5 for sound. IRQ 9 does not show up in 
 /proc/interrupts, however IRQ 5 is shown to be used by Crystal Audio 
 Controller.
 
 Where do I go from here?
 
 Rob

you're a KDE user, aren't you?

in the DM you're using (e.g. mdkkdm, kdm, gdm, xdm) make sure that X is
not being niced:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg129204.html

kcontrol, stop artsd from running with real time priority.

xmms, make sure it's using arts output plugin (may need to install
xmms-arts), don't allow it to run with realtime either.

log out, then CTRL-ALT-BACKSPACE to make the DM changes take effect,
then log back in and you should be fine.
--
Jack at Monkeynoodle Dot Org: It's A Scientific Venture...

We knocked another couple back, The dead soldiers lined up on the table
still prepared for an attack, they didn't know they'd been disabled.
Baby Britain from XO by Elliott Smith


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Re: Sound configuration on Dell Inspiron 3200?

2003-11-17 Thread Rob Blomquist
On Monday 17 November 2003 9:22 am, Björn Lundin wrote:
 James Sparenberg wrote:
 
  Rob draksound AFAIK is only effective on PCI type cards.  Since your is
  ISA, using the old standby of sndconfig (just urpmi sndconfig)  This
  should bring you online no sweat.  One note.  You have to run it from a
  regular tty not a konsole or xterm window for it to work right.  I've
  used this chipset in the past and it works well, sndconfig has it in
  it's database and can get you up.

 I have a 4236-card which sndconfig can get sound from, but it have not,
 (since mdk8.1) been able to save its settings. Every time i install a new
 mdk since then I've had to resort to run pnpdump + isapnp, and comment out
 when given multiple choise. I also put

 alias sound-slot-0 cs4232
 options sound dmabuf=1
 alias synth0 opl3
 options opl3 io=0x388
 options cs4232 io=0x530 irq=5 dma=0 dma2=0 mpuio=0x330 mpuirq=10

Well, I found that the problem is not with the sound card, thanks to you guys. 
Bjorn gave me a tip in the options cs4232 line with the mpuirq=10, and I got 
it up and running, but only in console. Yep, in tty1, I was able to play an 
mp3 with mp3blaster.

But when I get over to the graphical side, running XMMS completely locks up 
the system. The mouse is dead, the keyboard is dead, the whole freakin' 
thing. It doesn't crash until a sound is made. Attempting to play an mp3 
kills it, and generating a tone with the tone generator plugin kills the 
system. So then I wondered if it was something about the sound system, and I 
installed Kaboodle, and attempted to play an mp3. Same deal. DOA.

I am wondering if its and IRQ problem, but it doesn't seem so. Now, I appear 
to be using IRQ9 for mpu and IRQ 5 for sound. IRQ 9 does not show up in 
/proc/interrupts, however IRQ 5 is shown to be used by Crystal Audio 
Controller.

Where do I go from here?

Rob
-- 

Linux: For the people, by the people.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com