[root@localhost ltmodem-8.31a7]# ./checkout This checkout utility currently checks for expected components of a Lucent DSP winmodem installation provides a minor tutorial if modem driver insertion is successfull runs a wvdialconf test unloads excess drivers if module loading fails Does not as yet have signficant problem solving action except for referrals to Documentation. Can readily be adapted to work with other winmodem installations. The current Working folder is: /root/ltmodem-8.31a7. To continue: Enter ==================================================================== Now acquiring distribution data: The Linux distribution is: redhat End of distribution check. Diagnostic information is progressively being written to /root/ltmodem-8.31a7/checkout.txt . Often, contents of this record can aid in solving problems. ls: /usr/share/doc/ltmodem*: No such file or directory To continue: Enter ==================================================================== You will be requested to participate by prompts to Enter a pre-written command such as: ls NoFile Enter with the resulting output appearing between the dotted lines. -------------------- ls: NoFile: No such file or directory -------------------- And with -------------------- -------------------- meaning no output was generated. ================================================================= Proceeding to access PCI modem hardware information Enter ls: /usr/share/doc/ltmodem-*/utils/scanmodem: No such file or directory Found utils/scanmodem UPDATE=2004 July 7 Providing detail for device at PCI_bus 02:0a.0 with vendor-ID:device-ID ----:---- Class 0780: 11c1:048c Communication controller: Lucent Microelectronics V.92 56K WinModem (rev 02) SubSystem 11c1:044c Lucent Microelectronics: Unknown device 044c Flags: bus master, medium devsel, latency 32, IRQ 11 Memory at de000000 (32-bit, non-prefetchable) I/O ports at c000 [size=8] Proceeding to verify the presence of the modem drivers, please Enter ]versions=/lib/modules/2.6.5-1.358/ltmodem/lt_modem.ko The active System kernel is 2.6.5-1.358 For kernels 6.nn the modem drivers should have been installed within: /lib/modules/2.6.5-1.358/ltmodem Changing directory: cd /lib/modules/2.6.5-1.358/ltmodem The output to the next output should at least include: ------------------- -rw-r--r-- 1 root root SIZE DATE_install lt_modem.ko or -rw-r--r-- 1 root root SIZE DATE_install lt_serial.ko ------------------- wherein the driver with proprietary DSP=Digital Signal Processor code is: lt_modem.ko" and the driver with Open Source code is: lt_serial.ko" To display the resident drivers: Enter ------------------- -rw-r--r-- 1 root root 560395 Jul 17 17:10 lt_modem.ko -rw-r--r-- 1 root root 560395 Jul 17 17:04 lt_modem.ko~ -rw-r--r-- 1 root root 21256 Jul 17 17:10 lt_serial.ko -rw-r--r-- 1 root root 21256 Jul 17 17:04 lt_serial.ko~ ------------------- Found driver: lt_modem.ko Found driver: lt_serial.ko ./checkout: line 316: tmp/tmpfile.drivers: No such file or directory Modem drivers check completed. Changing back to the original Working folder: cd /root/ltmodem-8.31a7 ========================================================= There is a functional dependence between many kernel modules. During boot up and module installations, these dependencies are written during a: depmod -a to FileNames: /lib/modules/2.6.5-1.358/modules.* Enter --------------------- /lib/modules/2.6.5-1.358/modules.alias /lib/modules/2.6.5-1.358/modules.isapnpmap /lib/modules/2.6.5-1.358/modules.ccwmap /lib/modules/2.6.5-1.358/modules.pcimap /lib/modules/2.6.5-1.358/modules.dep /lib/modules/2.6.5-1.358/modules.symbols /lib/modules/2.6.5-1.358/modules.ieee1394map /lib/modules/2.6.5-1.358/modules.usbmap /lib/modules/2.6.5-1.358/modules.inputmap ---------------------- The lt_ modules lines within them/ can be selectively displayed with: grep lt_ /lib/modules/2.6.5-1.358/modules.* Enter ---------------------- /lib/modules/2.6.5-1.358/modules.dep:/lib/modules/2.6.5-1.358/ltmodem/lt_modem.ko: /lib/modules/2.6.5-1.358/modules.dep:/lib/modules/2.6.5-1.358/ltmodem/lt_serial.ko: /lib/modules/2.6.5-1.358/ltmodem/lt_modem.ko /lib/modules/2.6.5-1.358/modules.symbols:alias symbol:default_mtd_writev mtdcore /lib/modules/2.6.5-1.358/modules.symbols:alias symbol:GetLtModemInterface lt_modem /lib/modules/2.6.5-1.358/modules.symbols:alias symbol:default_mtd_readv mtdcore /lib/modules/2.6.5-1.358/modules.symbols:alias symbol:SetLtModemInterface lt_modem /lib/modules/2.6.5-1.358/modules.symbols:alias symbol:ltmodemDependency lt_modem ---------------------- For simplicity, some trimming of the PATHs can be done: ---------------------- modules.dep: modules.dep: modules.symbols:alias symbol:default_mtd_writev mtdcore modules.symbols:alias symbol:GetLtModemInterface lt_modem modules.symbols:alias symbol:default_mtd_readv mtdcore modules.symbols:alias symbol:SetLtModemInterface lt_modem modules.symbols:alias symbol:ltmodemDependency lt_modem ---------------------- The first line including only lt_modem.ko shows that its loading has no prior dependencies. The line with lt_serial.ko followed by lt_modem.ko means lt_serial.ko loading requires prior loading of lt_modem.ko Driver loading is dependent upon the existence of a device node: /dev/ttyLT0 through which the drivers communicate with the modem hardware. Checking for the modem device node: ls -l /dev/ttyLT0 Enter --------------- crw-rw---- 1 root uucp 62, 64 Jul 17 17:10 /dev/ttyLT0 --------------- The required /dev/ttyLT0 exists, with access by members of Group: Jul 17 17:10 /dev/ttyLT0. Current Group settings are easily displayed by using a GREP filtration: grep Jul 17 17:10 /dev/ttyLT0 /etc/group Enter ------------------- grep: 17: No such file or directory grep: 17:10: No such file or directory grep: /dev/ttyLT0: No such device or address ------------------- for further information: man group The expected symbolic link is: /dev/modem to /dev/ttyLT0 ls -l /dev/modem Enter ---------------------- lrwxrwxrwx 1 root root 11 Jul 17 17:10 /dev/modem -> /dev/ttyLT0 ---------------------- Passed symbolic link test. Proceed to the driver loading test. First check which drivers are loaded already with: lsmod Enter ---------------------- Module Size Used by ppp_generic 20500 0 slhc 5632 1 ppp_generic 8139too 17792 0 mii 3584 1 8139too sg 27552 0 scsi_mod 91344 1 sg uhci_hcd 23708 0 nls_utf8 1536 2 nls_cp437 5376 1 vfat 10496 1 fat 33472 1 vfat snd_mixer_oss 13824 2 snd_intel8x0 26280 3 snd_ac97_codec 50436 1 snd_intel8x0 snd_pcm 68872 1 snd_intel8x0 snd_timer 17156 1 snd_pcm snd_page_alloc 7940 2 snd_intel8x0,snd_pcm gameport 3328 1 snd_intel8x0 snd_mpu401_uart 4864 1 snd_intel8x0 snd_rawmidi 17184 1 snd_mpu401_uart snd_seq_device 6152 1 snd_rawmidi snd 38372 10 snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 6112 3 snd parport_pc 19392 0 parport 29640 1 parport_pc sunrpc 101064 1 ipt_REJECT 4736 1 ipt_state 1536 7 ip_conntrack 24968 1 ipt_state iptable_filter 2048 1 ip_tables 13440 3 ipt_REJECT,ipt_state,iptable_filter floppy 47440 1 button 4504 0 ipv6 184288 8 ext3 102376 1 jbd 40216 1 ext3 ---------------------- Looking through such long lists is a nuisance. So hereafter in this checkout, the information display will be commonly simplified through use of the filtering expression: grep lt_ which will Only Pass lines containing: lt_ lsmod | grep lt_ Enter ---------------------- ---------------------- Thus the modem drivers are not now loaded. The drivers can be loaded sequentially by: insmod lt_modem insmod lt_serial or through use of the a Smart command which reads the dependency files, and then loads all the pre-dependents in the proper order. Using -v to additionally specify Verbose Reporting, the command is: modprobe -v lt_serial Enter ----------------- insmod /lib/modules/2.6.5-1.358/ltmodem/lt_modem.ko WARNING: Error inserting lt_modem (/lib/modules/2.6.5-1.358/ltmodem/lt_modem.ko): Invalid module format insmod /lib/modules/2.6.5-1.358/ltmodem/lt_serial.ko FATAL: Error inserting lt_serial (/lib/modules/2.6.5-1.358/ltmodem/lt_serial.ko): Invalid module format ------------------- Checking for inserted modem drivers with: lsmod | grep lt_ Enter --------------------- --------------------- Since the lt_driver loading did not succeed, trouble shooting must be pursued. A less demanding test is loading only of lt_modem.ko by: modprobe -v lt_modem Enter ------------------------ insmod /lib/modules/2.6.5-1.358/ltmodem/lt_modem.ko FATAL: Error inserting lt_modem (/lib/modules/2.6.5-1.358/ltmodem/lt_modem.ko): Invalid module format ------------------------ Proceed to check for loading with: lsmod | grep lt_ Enter --------------------- --------------------- Module loading section finished. To continue: Enter ============================================= ================================================================= The next check is for lines supporting autoloading of modem drivers on demand. These lines should have been written to: /etc/modules.conf --------------------------------- # lt_drivers: autoloading and insertion parameter usage alias char-major-62 lt_serial alias /dev/modem lt_serial alias /dev/tts/LT0 lt_serial # options lt_modem vendor_id=0x115d device_id=0x0420 Forced=3,0x130,0x2f8 # section for lt_drivers ends --------------------------------- of which the third alias line is only relevant to Systems using the device file system. These lines provide for loading of the modem drivers, whenever there is a query to /dev/ttyLT0 , either directly or through its symbolic links. To selectively display related lines on your System: grep lt_ /etc/modules.conf Enter ---------------------------------- grep: /etc/modules.conf: No such file or directory ---------------------------------- grep: /etc/modules.conf: No such file or directory These lines should be complemented in ppp related alias lines, also in /etc/modules.conf: ----------------------------------------- alias /dev/ppp ppp_generic alias char-major-108 ppp_generic alias tty-ldisc-3 ppp_async alias tty-ldisc-14 ppp_synctty alias ppp-compress-21 bsd_comp alias ppp-compress-24 ppp_deflate alias ppp-compress-26 ppp_deflatecho ------------------------------------------ Display those on your system with command: grep ppp /etc/modules.conf Enter ---------------------------------- grep: /etc/modules.conf: No such file or directory ---------------------------------- grep: /etc/modules.conf: No such file or directory The checkout of installed components and their configuration lines is completed: The lt_drivers lt_modem.ko and lt_serial.ko . The device nodes /dev/ttyLT0 and its symbolic link /dev/modem The driver autoloading support lines in /etc/modules.conf . the failures in driver loading must be alleviated. to continue: Enter ======================================================== Resource conflicts can block modem access. For example, conflicts have been reported with drivers supporting Infrared communications and Sound on some laptops. See DOCs/Ltmodem.html for URLs to these reports. Hence this next preparatory step, during which functions non-essential for ppp functionality will be shutdown. These include support for Ethernet and Pcmcia and unloading of Non-essential modules. If there are programs running using any of these functions, please terminate them before proceeding further. Otherwise there supporting modules will Not be unloaded Should you wish to avoid these actions, abort now with: Ctrl-C or to continue: Enter ======================================================== Ethernet not detected. The initial modules list is: ppp_generic slhc 8139too mii sg scsi_mod uhci_hcd nls_utf8 nls_cp437 vfat fat snd_mixer_oss snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore parport_pc parport sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables floppy button ipv6 ext3 jbd Now attempting removals sequentially with: modprobe -r ModuleName FATAL: Module nls_utf8 is in use. FATAL: Module nls_cp437 is in use. FATAL: Module vfat is in use. FATAL: Module fat is in use. FATAL: Module snd_mixer_oss is in use. FATAL: Module snd_intel8x0 is in use. FATAL: Error running remove command for snd_intel8x0 FATAL: Module snd_ac97_codec is in use. FATAL: Module snd_pcm is in use. FATAL: Module snd_timer is in use. FATAL: Module snd_page_alloc is in use. FATAL: Module gameport is in use. FATAL: Module snd_mpu401_uart is in use. FATAL: Module snd_rawmidi is in use. FATAL: Module snd_seq_device is in use. FATAL: Module snd is in use. FATAL: Module soundcore is in use. FATAL: Module sunrpc is in use. FATAL: Error running remove command for sunrpc FATAL: Module ipt_REJECT is in use. FATAL: Module ipt_state is in use. FATAL: Module ip_conntrack is in use. FATAL: Module iptable_filter is in use. FATAL: Module ip_tables is in use. FATAL: Module floppy is in use. FATAL: Error removing button (/lib/modules/2.6.5-1.358/kernel/drivers/acpi/button.ko): Device or resource busy FATAL: Module ipv6 is in use. FATAL: Module ext3 is in use. FATAL: Module jbd is in use. PCMCIA support modules not resident. After removals there remain: nls_utf8 nls_cp437 vfat fat snd_mixer_oss snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables floppy button ipv6 ext3 jbd With the potential resource conflicts now reduced, please again run checkout [root@localhost ltmodem-8.31a7]#