I am running a dual processor system with Redhat 7.2 and the Redhat version of the 2.4.9-13 kernel. I have two sound cards, a AudioPCI (ens1371) and a Audiophile 2496. I have installed many versions of ALSA, the latest attempt with 0.9.0beta10 and I get similar results, namely that the AudioPCI card works fine, while the 2496 not only doesn't work, but completely freezes the machine. I'm hardly an expert, but there is nothing that seems out of the ordinary with the compile, modules.conf, lsmod, sndstat, or any other info that I've read about on alsa-users. I've focused on one simple command that will freeze the system: "alsactl store 1". I've used gdb to track down where the freeze occurs and it is at line 148 in control_hw.c in the library. (See below). Any help at all would be appreciated. It is very frustrating to be constantly using the power switch when trying to debug.
-- * Dan Zaharevitz * Camp Springs, MD * [EMAIL PROTECTED] Breakpoint 1, get_control (handle=0x805b0f0, id=0xbffff560, top=0x8050080) at alsactl.c:170 170 err = snd_ctl_elem_read(handle, ctl); (gdb) print *handle $1 = {name = 0x8050050 "hw:1", type = SND_CTL_TYPE_HW, ops = 0x400978e0, private_data = 0x8050040, nonblock = 0, poll_fd = 4, async_handlers = {next = 0x805b108, prev = 0x805b108}} (gdb) print *ctl $1 = <incomplete type> (gdb) step snd_ctl_elem_read (ctl=0x805b0f0, control=0xbffff110) at control.c:248 248 assert(ctl && control && (control->id.name[0] || control->id.numid)); (gdb) step 247 { (gdb) step 248 assert(ctl && control && (control->id.name[0] || control->id.numid)); (gdb) step 249 return ctl->ops->element_read(ctl, control); (gdb) step snd_ctl_hw_elem_read (handle=0x805b0f0, control=0xbffff110) at control_hw.c:147 147 snd_ctl_hw_t *hw = handle->private_data; (gdb) step 148 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_READ, control) < 0) (gdb) print control $1 = (snd_ctl_elem_value_t *) 0xbffff110 (gdb) print *control $2 = {id = {numid = 1, iface = SNDRV_CTL_ELEM_IFACE_PCM, device = 0, subdevice = 0, name = "IEC958 CS8427 Input Status", '\000' <repeats 17 times>, index = 0}, indirect = 0, value = { integer = {value = {0 <repeats 128 times>}, value_ptr = 0x0}, enumerated = {item = { 0 <repeats 128 times>}, item_ptr = 0x0}, bytes = {data = '\000' <repeats 511 times>, data_ptr = 0x0}, iec958 = {status = '\000' <repeats 23 times>, subcode = '\000' <repeats 146 times>, pad = 0 '\000', dig_subframe = "\000\000\000"}}, reserved = '\000' <repeats 127 times>} Issuing a step command at this point freezes the machine. _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user