fwen 发表于 2003-4-1 16:55:56

请大家参谋参谋!!!!!!!!!!

以下是我为我的软猫装驱动的过程,但还是侦测不到猫,且装完驱动声卡就没声音,请热心人给俺分析分析。是不是声卡和那个猫不能共用一个IRQ 10?俺是菜鸟。切盼!!!!

# ./configure --with-hal=sis --with-kernel-includes=
/usr/src/linux-2.4.18-14/include/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_I8XX
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux-2.4.18-14/include//linux/modversions.h usability... yes
checking /usr/src/linux-2.4.18-14/include//linux/modversions.h presence... yes
checking for /usr/src/linux-2.4.18-14/include//linux/modversions.h... yes
checking for Linux kernel version >= 2.4.0... yes
checking for Linux kernel version >= 2.4.7... yes
checking for mknod... mknod
checking for chgrp... chgrp
checking for chmod... chmod
checking for depmod... depmod
checking for rmmod... rmmod
checking for lsmod... lsmod
checking for modprobe... modprobe
checking for objdump... objdump
checking for objcopy... objcopy
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/module/Makefile
config.status: creating src/ptserial/Makefile
config.status: creating misc/Makefile
config.status: creating misc/pctel.spec
config.status: creating misc/SlackBuild
config.status: creating misc/build_rpms.sh
config.status: creating m4/Makefile
config.status: executing depfiles commands
config.status: executing default commands
# make
Making all in src
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making all in module
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
rm -f *~ \#* .*~ .\#*
rm -f ptmodule.o
rm -f ptmodule.o
rm -f ../../modules/pctel.o
gcc    -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODU
LE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_I8XX -DAUDIO_ROUTING -DSIS540 -I../../inc
lude -I/usr/src/linux-2.4.18-14/include/ -include /usr/src/linux-2.4.18-14/inclu
de//linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VER
SION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DV
ERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAV
E_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTY
PES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1   -c -o ptmodule.o ptmodule.c
ld -r -o ../../modules/pctel.o ptmodule.o ../../lib/control.a ../../lib/vuart.o
../../lib/sis/dsp.a ../../lib/sis/i810hal.a
ld -r -o tmp.o ../../lib/control.a ../../lib/vuart.o ../../lib/sis/dsp.a ../../l
ib/sis/i810hal.a
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
ld -r -o ../../modules/pctel.o ptmodule.o tmp.o
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
-=- Fixing .modinfo section -=-
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
Making all in ptserial
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
rm -f *~ \#* .*~ .\#*
rm -f ptserial.o ptserial.c
rm -f ptserial.o
rm -f ../../modules/ptserial.o
ln -s -f ptserial-2.4.7.c ../../src/ptserial/ptserial.c
make ptserial.o
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
gcc    -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODU
LE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_I8XX -DAUDIO_ROUTING -DSIS540 -DBUILD_SYS
TEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version | head -1`\"" -I..
/../include -I/usr/src/linux-2.4.18-14/include/ -include /usr/src/linux-2.4.18-1
4/include//linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACK
AGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pcte
l\" -DVERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=
1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAV
E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1   -c -o ptserial.o ptserial.c
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
ld -r -o ../../modules/ptserial.o ptserial.o
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Nothing to be done for `all-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making all in lib
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
Making all in modules
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
Making all in include
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
Making all in misc
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
Making all in m4
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make: Nothing to be done for `all-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
# su
# make install
Making install in src
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making install in module
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/module'
Making install in ptserial
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src/ptserial'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/src'
Making install in lib
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/lib'
Making install in modules
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/modules'
/bin/sh ../mkinstalldirs /lib/modules/2.4.18-14/misc
/usr/bin/install -c -o root -g root -m 644 pctel.o /lib/modules/2.4.18-14/misc/p
ctel.o
/usr/bin/install -c -o root -g root -m 644 ptserial.o /lib/modules/2.4.18-14/mis
c/ptserial.o
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/modules'
Making install in include
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/include'
make: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/include/pctel
/usr/bin/install -c -m 644 pctel.h /usr/local/include/pctel/pctel.h
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/include'
Making install in misc
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/misc'
Making install in m4
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6/m4'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make: Entering directory `/root/Desktop/Linux/pctel-0.9.6'
make: Nothing to be done for `install-exec-am'.
installing FAQ as /usr/local/share/doc/pctel/FAQ
installing README as /usr/local/share/doc/pctel/README
*** Setting device file. ***
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
make: Leaving directory `/root/Desktop/Linux/pctel-0.9.6'
# insmod pctel
Using /lib/modules/2.4.18-14/misc/pctel.o
/lib/modules/2.4.18-14/misc/pctel.o: The module you are trying to load (/lib/mod
ules/2.4.18-14/misc/pctel.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
# insmod -f pctel
Using /lib/modules/2.4.18-14/misc/pctel.o
Warning: The module you are trying to load (/lib/modules/2.4.18-14/misc/pctel.o)
is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
Warning: loading /lib/modules/2.4.18-14/misc/pctel.o will taint the kernel: non-
GPL license - GPL linked with proprietary libraries
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading /lib/modules/2.4.18-14/misc/pctel.o will taint the kernel: forced load
Module pctel loaded, with warnings
# insmod -f ptserial
Using /lib/modules/2.4.18-14/misc/ptserial.o
Warning: loading /lib/modules/2.4.18-14/misc/ptserial.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading /lib/modules/2.4.18-14/misc/ptserial.o will taint the kernel: forced load
Module ptserial loaded, with warnings
# tail /var/log/messages
Apr1 13:49:02 localhost syslogd 1.4.1: restart.
Apr1 13:51:08 localhost4月1 13:51:08 su(pam_unix): session opened for user root by root(uid=0)
Apr1 13:52:38 localhost kernel: AC97 modem device found: devnum = 80000E00, devid = 1039/7013
Apr1 13:52:38 localhost kernel: iobase_0=0xdc00, iobase_1=0xd800,irq=10
Apr1 13:52:38 localhost kernel: PCTel driver version 0.9.5 (MR) (2002-01-31) with MANY_PORTS SHARE_IRQ SERIAL_PCI AUDIO_ROUTING[                  SIS540] enabled.
Apr1 13:52:38 localhost kernel: PCTel driver built on with gcc-gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-                  7).
Apr1 13:52:38 localhost kernel: ttyS15 at 0xdc00 (irq = 10) is a PCTel
Apr1 13:52:38 localhost kernel: PCI: Found IRQ 10 for device 00:01.6
Apr1 13:52:38 localhost kernel: PCI: Sharing IRQ 10 with 00:05.0
#

llc 发表于 2003-4-1 17:35:41

Apr 1 13:52:38 localhost kernel: PCTel driver version 0.9.5 (MR) (2002-01-31) with MANY_PORTS SHARE_IRQ SERIAL_PCI AUDIO_ROUTING[ SIS540] enabled.
Apr 1 13:52:38 localhost kernel: PCTel driver built on with gcc-gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2- 7).
Apr 1 13:52:38 localhost kernel: ttyS15 at 0xdc00 (irq = 10) is a PCTel

猫已经驱动了,可能模拟链接到ttyS15那里,试试ln -sf /dev/ttyS15 /dev/modem,然后执行kppp,在设备那里,选择/dev/modem,拨号试试

至于声卡的问题,有可能是冲突
页: [1]
查看完整版本: 请大家参谋参谋!!!!!!!!!!