side note on sndconfig, if I run it ( since both machines the install doesn't pick up the cards and configure out of box ) it completely kills all sounds in kde and gnome. and no cd sound also, if I don't they work just fine. one card is sb16 with 8 mb ram the other is a crystal audio that is sbpro compatible.
Felix Miata wrote: >I checked the CD that came with the sound card. There is no DOS software >to be found on it. > >Guy.Bormann on Wed, 25 Sep 2002 03:24:15 +0200 (CEST) wrote: > >>Felix Miata wrote: >> > > >>>Still haven't learned how yet, so you get .zip attachment instead >>>(shrunk only about 50%, total 4545 bytes). >>> > >>The mouse device is active as per the /proc/interrupts info. All cards >>seem to be detected and initialized alright (from dmesg). (I would try >>to get the NIC on IRQ 9, the sound card on IRQ 5(despite it apparently >>refusing to work there) and keep USB on 3 but that's just my obsession. :-) >> > >I used to try to keep NIC on 9, but these ISA sound cards in OS/2 just >won't work on 5. > >> This does not exclude interference at a later stage. From the low >>interrupt activity I infer that you did the "measurement" right after >>boot. What does /proc/interrupts and dmesg output (not file!) give right >>after the mouse blocks (don't need the rest of the info)? (Only move it >>within a terminal window to keep keyboard focus and full exposure.) >> > >I see the numbers, but they really have no meaning to me. > >> I should check the kernel change log to find out if something >>changed recently with regard to PS/2 but I doubt it. So either the mouse >>(port) hardware is flaky or the XF86 4.2 mouse packet driver is buggy (but >>why only for you????). What does /var/log/XFree86.0.log show? >> > >Looks OK to me, but sound has been disabled by removing it from >/etc/modules.conf. Mouse always seemed to work fine before running >sndconfig. > >> To rule out other SW problems, you should strace -p <PID of X server> >>the X server to find out if it blocks and if so, if it is on the mouse >>device file. If it does, it really is the mouse. Of course, this is >>without taking devfs into the equation of which I haven't heard until >>recently on this list. >> > >I don't see anything in this output that tells me anything. I'm not a >programmer. > >> It is hard to judge from your messages what you did right before or >>after sndconfig to determine that this really is the root cause... >> > >Most times, I ran sndconfig right after booting, let it make its test to >prove sound works, then restarted the whole PC to see if the mouse still >worked, which, of course, it never would. > >I have a rather similar system that had RedHat 6.1. Yesterday I >installed Redhat 7.3 on it. The installer ran sndconfig automatically, >and successfully, during the install. > >The RH7.3 machine also has Mdk 8.2 on it, but I never yet tried running >sndconfig. During install ISTR that I told the installer that there was >an ISA sound card. It has only one sound card line in /etc/modules.conf: >'alias sound-slot-0 sb'. I took a break here and booted the box to 8.2 >to run sndconfig. It found the card, & played the voice sample OK, but >produced errors attempting to play a MIDI sample, and failed to write a >new /etc/modules.conf. I put in the sound lines from the RH7.3 manually. >That produced working CD player and KMedia, but non-working volume >control in KMixer and CD player. I changed to the sound lines from RC3, >but that produced no changes. Back to RC3 sound/psaux diagnosis. > >The whole of RH7.3 /etc/modules.conf is: >alias parport_lowlevel parport_pc >alias scsi_hostadapter sym53c8xx >alias eth0 8139too >alias usb-controller usb-uhci >alias sound-slot-0 cs4232 >post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L>/dev/null 2>&1 || : >pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S>/dev/null 2>&1 || : >options sound dmabuf=1 >alias synth0 opl3 >options opl3 io=0x388 >options cs4232 isapnp=1 > >In strong contrast, /etc/modules.conf from RC3 contains: >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=9 > >cat /proc/interrupts from RH7.3: > CPU0 > 0: 55504 XT-PIC timer > 1: 190 XT-PIC keyboard > 2: 0 XT-PIC cascade > 3: 30 XT-PIC eth0 > 5: 3151 XT-PIC Crystal audio controller > 8: 1 XT-PIC rtc > 10: 12091 XT-PIC sym53c8xx > 11: 0 XT-PIC usb-uhci > 12: 488 XT-PIC PS/2 Mouse > 14: 43 XT-PIC ide0 >NMI: 0 >ERR: 0 > >cat /proc/interrupts from RC3, without sound in /etc/modules: > CPU0 > 0: 160950 XT-PIC timer > 1: 5089 XT-PIC keyboard > 2: 0 XT-PIC cascade > 3: 123 XT-PIC usb-uhci, eth0 > 8: 1 XT-PIC rtc > 10: 76 XT-PIC sym53c8xx > 12: 55704 XT-PIC PS/2 Mouse > 14: 20298 XT-PIC ide0 >NMI: 0 >LOC: 0 >ERR: 0 >MIS: 0 > >Note working mouse, but absent sound, and free IRQ 11, while >IRQ 3 shared by eth0 and usb. > >Differences between machines: > RC3 RH7.3 >Motherboard Tyan AOpen >Award BIOS 99/09 98/07 >CPU K6/2 550 500 >Chipset MVP3 TX >Video slot 3 4 ># of SCSI HD's 1 2 >Boot hda sdb >RAM 256 128 >USB IRQ 3 11 >ACPI IRQ 3 NA > >That's all the differences. Same include: ET6100, sym53c875 PCI slot 1, >single IDE HD, CS4235 ISA slot 1, ALN-325 (Realtek 8139) PCI slot 2, >SCSI CD & CD-RW. > >I tried changing BIOS settings to stop the usb/eth0 sharing on IRQ 3, >but nothing worked. IRQ 11 stays unused. > >Next I tried using the different sound options from from the RH7.3 >modules.conf in rc3. That produced another no-mouse result and the >following cat /proc/interrupts: > CPU0 > 0: 18646 XT-PIC timer > 1: 127 XT-PIC keyboard > 2: 0 XT-PIC cascade > 3: 36 XT-PIC eth0 > 5: 0 XT-PIC usb-uhci > 8: 1 XT-PIC rtc > 10: 68 XT-PIC sym53c8xx > 12: 0 XT-PIC Crystal audio controller > 14: 11053 XT-PIC ide0 >NMI: 0 >LOC: 0 >ERR: 0 >MIS: 0 > >(Note sound on IRQ 12, and missing PS/2.) > >and the following dmesg (from which I've stripped out most of what >I believe is irrelevant): >Linux version 2.4.19-13mdk ([EMAIL PROTECTED]) (gcc version 3.2 (Mandrake >Linux 9.0 3.2-1mdk)) #1 Wed Sep 18 04:19:10 CEST 2002 >Kernel command line: root=/dev/hda7 5 devfs=mount vga=788 >No local APIC present or hardware disabled >mtrr: detected mtrr type: AMD K6 >PCI: PCI BIOS revision 2.10 entry at 0xfb480, last bus=1 >PCI: Using configuration type 1 >PCI: Probing PCI hardware >Unknown bridge resource 0: assuming transparent >Unknown bridge resource 1: assuming transparent >Unknown bridge resource 2: assuming transparent >PCI: Using IRQ router VIA [1106/0586] at 00:07.0 >Activating ISA DMA hang workarounds. >isapnp: Scanning for PnP cards... >isapnp: Card 'Crystal Codec' >isapnp: 1 Plug & Play card detected total >Initializing RT netlink socket >apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16) >devfs: v1.12a (20020514) Richard Gooch ([EMAIL PROTECTED]) >Console: switching to colour frame buffer device 100x37 >Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ >SERIAL_PCI ISAPNP enabled >ttyS00 at 0x03f8 (irq = 4) is a 16550A >VP_IDE: VIA vt82c586b (rev 47) IDE UDMA33 controller on pci00:07.1 > ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio > ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio >ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 >Mounted devfs on /dev >SCSI subsystem driver Revision: 1.00 >PCI: Found IRQ 11 for device 00:08.0 >IRQ routing conflict for 00:08.0, have irq 10, want irq 11 >Mounted devfs on /dev >Freeing unused kernel memory: 136k freed >Real Time Clock Driver v1.10e >usb.c: registered new driver usbdevfs >usb.c: registered new driver hub >usb-uhci.c: $Revision: 1.275 $ time 04:46:50 Sep 18 2002 >usb-uhci.c: High bandwidth mode enabled >usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5 >usb-uhci.c: Detected 2 ports >usb.c: new USB bus registered, assigned bus number 1 >hub.c: USB hub found >hub.c: 2 ports detected >usb-uhci.c: v1.275:USB Universal Host Controller Interface driver >usbdevfs: remount parameter error >ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996 >ad1848: WSS/SB detected >ad1848: ISAPnP reports 'WSS/SB' at i/o 0x534, irq 12, dma 1, 3 >cs4232: set synthio and synthirq to use the wavefront facilities. >8139too Fast Ethernet driver 0.9.25 >PCI: Found IRQ 3 for device 00:09.0 >eth0: RealTek RTL8139 Fast Ethernet at 0xd0ce4000, 00:00:21:f0:1f:32, IRQ 3 >parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP] >parport0: irq 7 detected > >Since changing from sound resource specifics (RC3) to resource PNP (RH7.3), >didn't improve anything, I switched back to specifics and tried changing >the DMA entries from 0,0 to 1,3 & 0,2, but neither helped. Then I tried >some BIOS changes, as well as moving the video card from slot 3 to slot 4. >Nothing helped until I changed BIOS PCI INT 5 to Legacy ISA, leaving all >others at PCI/ISA PNP. That produced the following cat /proc/interrupts: > CPU0 > 0: 21747 XT-PIC timer > 1: 370 XT-PIC keyboard > 2: 0 XT-PIC cascade > 3: 38 XT-PIC usb-uhci, eth0 > 5: 0 XT-PIC Crystal audio controller > 8: 1 XT-PIC rtc > 10: 67 XT-PIC sym53c8xx > 12: 176 XT-PIC PS/2 Mouse > 14: 11157 XT-PIC ide0 >NMI: 0 >LOC: 0 >ERR: 0 >MIS: 0 > >and the following dmesg (as abbreviated): >Linux version 2.4.19-13mdk ([EMAIL PROTECTED]) (gcc version 3.2 (Mandrake >Linux 9.0 3.2-1mdk)) #1 Wed Sep 18 04:19:10 CEST 2002 >Kernel command line: root=/dev/hda7 5 devfs=mount vga=788 >No local APIC present or hardware disabled >Activating ISA DMA hang workarounds. >isapnp: Scanning for PnP cards... >isapnp: Card 'Crystal Codec' >isapnp: 1 Plug & Play card detected total >devfs: v1.12a (20020514) Richard Gooch ([EMAIL PROTECTED]) >devfs: boot_options: 0x1 >fb0: VESA VGA frame buffer device >Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ >SERIAL_PCI ISAPNP enabled >ttyS00 at 0x03f8 (irq = 4) is a 16550A >ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 >hda: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=10011/255/63, UDMA(33) >Partition check: > /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 >p15 p16 > >Mounted devfs on /dev >PCI: Found IRQ 11 for device 00:08.0 >IRQ routing conflict for 00:08.0, have irq 10, want irq 11 >usb.c: registered new driver usbdevfs >usb.c: registered new driver hub >usb-uhci.c: $Revision: 1.275 $ time 04:46:50 Sep 18 2002 >usb-uhci.c: High bandwidth mode enabled >usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 3 >usb-uhci.c: Detected 2 ports >usb.c: new USB bus registered, assigned bus number 1 >hub.c: USB hub found >hub.c: 2 ports detected >usb-uhci.c: v1.275:USB Universal Host Controller Interface driver >usbdevfs: remount parameter error >ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996 >ad1848: WSS/SB detected >ad1848: ISAPnP reports 'WSS/SB' at i/o 0x534, irq 5, dma 1, 3 >cs4232: set synthio and synthirq to use the wavefront facilities. >8139too Fast Ethernet driver 0.9.25 >PCI: Found IRQ 3 for device 00:09.0 >eth0: RealTek RTL8139 Fast Ethernet at 0xd0ce4000, 00:00:21:f0:1f:32, IRQ 3 >parport0: irq 7 detected >lp0: using parport0 (polling). > >This produced working sound, but only briefly. I set KMedia player on a >long MP3, raised the sound level with KMixer, then opened Konqueror. So >far OK. Then I tried to open Mozilla. That produced a hard lockup. After >restart and fscking, I opened Mozilla first, then KMixer, then KMedia. As >soon as I clicked OK on the MP3 file to open, hard lockup. > >Next I did more fiddling. I removed the BIOS VGA IRQ, which moved USB >from sharing IRQ 3 with eth0, to all by itself on IRQ 11. I tested >various specifics on the /etc/modules.conf line for the cs4235, eventually >winding up with: >options cs4232 io=0x534 irq=5 dma=1 dma2=3 mpuio=0x330 mpuirq=9 > >That worked OK for system sounds and playing CD's, but still allowed hard >locks trying to play MP3's off a HD. Smells like a DMA conflict. > >Not knowing anything else to try, I created another partition and installed >RedHat 7.3. That gobbled a bunch of time, and produced essentially the >same result, hard lock playing MP3's off the HD, but otherwise OK, using the >following sound configuration: >alias sound-slot-0 cs4232 >post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || : >pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || : >options sound dmabuf=1 >alias synth0 opl3 >options opl3 io=0x388 >options cs4232 isapnp=1 >alias sound-slot-2 ad1848 >post-install sound-slot-2 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || : >pre-remove sound-slot-2 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || : > >What a nightmare. I guess the sndconfig package in RedHat isn't different >enough to do me any good with this machine. Besides a PCI video card or >forgetting about configuring sound at all, anyone have any ideas to >suggest? Is this possibly a resolvable DMA problem? After all, OS/2 plays >MP3's on this box without locking up. >
