|
Компьютерный форум OSzone.net » Linux и FreeBSD » Железо в Linux » CMI9739 (ac97). Треск есть, звука - 0... |
|
CMI9739 (ac97). Треск есть, звука - 0...
|
Guest |
Качнул дрова от ц-медии. Они матерились на CONFIG_X86_L1_CACHE.
Родной snd-intel8x0 не пашет -- алса запускается, при изменении громкости есть треск, но звука ни в ХММС/КДЕ/и т.д и т.п нет ((. Мандряк 9.2. Заранее санькся |
|
Отправлено: 20:57, 01-11-2003 |
info man howto Сообщения: 6958
|
Профиль | Сайт | Отправить PM | Цитировать Цитата:
|
|
------- Отправлено: 10:57, 02-11-2003 | #2 |
Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети. Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля. |
Guest |
А конкретно:
[root@localhost cmaudio]# make cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -c -o main.o main.c cc1: warning: -malign-functions is obsolete, use -falign-functions In file included from /usr/include/linux/prefetch.h:13, from /usr/include/linux/list.h:6, from /usr/include/linux/module.h:11, from cmaudio.h:1, from main.c:1: /usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared h ere (not in a function) /usr/include/asm/processor.h:55: error: requested alignment is not a constant In file included from /usr/include/linux/module.h:297, from cmaudio.h:1, from main.c:1: /usr/include/linux/version.h:2:2: #error "=======================================================" /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5:2: #error "" /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9:2: #error "currently running kernel. They shouldonly be" /usr/include/linux/version.h:10:2: #error "included via other system header files - user space" /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well." /usr/include/linux/version.h:13:2: #error "" /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15:2: #error "" /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17:2: #error "" /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20:2: #error " the matching kernel source directory" /usr/include/linux/version.h:21:2: #error "" /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/version.h:24:2: #error "" /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27:2: #error "" /usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:29:2: #error "" /usr/include/linux/version.h:30:2: #error " instead of" /usr/include/linux/version.h:31:2: #error "" /usr/include/linux/version.h:32:2: #error " -I/usr/include/linux" /usr/include/linux/version.h:33:2: #error "" /usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi ngly." /usr/include/linux/version.h:35:2: #error "=======================================================" In file included from cmaudio.h:1, from main.c:1: /usr/include/linux/module.h:299: error: syntax error before "UTS_RELEASE" In file included from cmaudio.h:2, from main.c:1: /usr/include/linux/version.h:2:2: #error "=======================================================" /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4:2: #error "files directly for the compilation ofkernel modules." /usr/include/linux/version.h:5:2: #error "" /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10:2: #error "included via other system header files - user space" /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well." /usr/include/linux/version.h:13:2: #error "" /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15:2: #error "" /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17:2: #error "" /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20:2: #error " the matching kernel source directory" /usr/include/linux/version.h:21:2: #error "" /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/version.h:24:2: #error "" /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27:2: #error "" /usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:29:2: #error "" /usr/include/linux/version.h:30:2: #error " instead of" /usr/include/linux/version.h:31:2: #error "" /usr/include/linux/version.h:32:2: #error " -I/usr/include/linux" /usr/include/linux/version.h:33:2: #error "" /usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly." /usr/include/linux/version.h:35:2: #error "=======================================================" In file included from /usr/include/linux/mm.h:12, from /usr/include/linux/slab.h:14, from cmaudio.h:9, from main.c:1: /usr/include/linux/mmzone.h:44: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/mmzone.h:44: error: requested alignment is not a constant In file included from /usr/include/asm/hardirq.h:6, from cmaudio.h:21, from main.c:1: /usr/include/linux/irq.h:65: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/irq.h:65: error: requested alignment is not a constant In file included from cmaudio.h:21, from main.c:1: /usr/include/asm/hardirq.h:16: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/hardirq.h:16: error: requested alignment is not a constant make: *** [main.o] Ошибка 1 Хотя завтра просто поставится обратно старая CMI8738... Ядро не компилируется |
Отправлено: 20:48, 03-11-2003 | #3 |
info man howto Сообщения: 6958
|
Профиль | Сайт | Отправить PM | Цитировать 1 CONFIG_X86_L1_CACHE_SHIFT - неопределённая переменная.
2 Что выдаёт uname -r ? 3 Есть-ли директорий /lib/modules/Ваша_версия_ядра Цитата:
Добавлено: Такоё чувство, как будто дрова под ядро 2.4.x, а стоит 2.2.x. Или не находится правильно файл version.h |
|
------- Отправлено: 02:05, 04-11-2003 | #4 |
Guest |
Я так понял придется мне алсу пересобирать+ядро.
/lib/modules/... всё есть. |
|
Отправлено: 19:48, 05-11-2003 | #5 |
Guest |
Скомпилировал альсу, но толку никакого, хотя чип уже опознает
|
Отправлено: 21:56, 08-11-2003 | #6 |
info man howto Сообщения: 6958
|
Профиль | Сайт | Отправить PM | Цитировать А модуль (драйвер) загружается ?
PS Что значит никакого - нет звука , или опять треск ? |
------- Отправлено: 10:53, 09-11-2003 | #7 |
Guest |
А вот теперь к делу
Звук есть, но громкость пока не регулируется. Ядро 2.5.59. При попытке загрузки модуля (modprobe/insmod -- все одно и то же говорит), пишет QM_Modules: Functions not implemented иль что-то в этом духе. |
Отправлено: 21:52, 17-11-2003 | #8 |
Участник сейчас на форуме | Участник вне форума | Автор темы | Сообщение прикреплено |
| |||||
Название темы | Автор | Информация о форуме | Ответов | Последнее сообщение | |
Драйвер - Проблема с драйвером звука Realtek AC97 | maximass | Microsoft Windows 2000/XP | 0 | 02-10-2009 17:51 | |
Треск звука при перемещении мыши | Dr. MefistO | Непонятные проблемы с Железом | 9 | 07-12-2008 14:26 | |
Медиа - Проблема с воспроизведением звука - треск и помехи. | Un70n3 | Microsoft Windows Vista | 3 | 24-07-2008 01:00 | |
Треск проца.. | Maxim 17 | Процесcоры | 22 | 22-02-2006 19:57 | |
Треск и шум при проигрывании звука. | Alex Vrag | Microsoft Windows 2000/XP | 10 | 03-06-2004 19:27 |
|