Re: Can you try this coredrv.c ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Ryan,

Your case does NOT look desperate at all. efax looks to be very
correctly responding.

However should I suggest you to download my latest modifications from
http://vouters.dyndns.org:8080/Intel/intel-536-537_2009_06_22.tar.bz2

The very same as Tapan Chugh in India, the 537 driver does conflict on
your system with the 8250_pci kernel driver which cannot be  unloaded.
This 8250_pci driver allocates the serial ports for its own use early in
the Linux boot process. The problem with this 8250_pci driver is that it
knows nothing from an Intel 537 modem.

And the most difficult thing I have to solve is how to correctly to get
rid of this conflicting driver without being compelled to rebuild the
Linux kernel without 8250_PCI support.

Providing you download the latest above driver source code, you would,
from your user account, type in the following commands:

$ tar -jxvf intel-536-537_2009_06_22.tar.bz2
$ make clean
$ make 537
The above command ought to give only one warning.
$ sudo make uninstall
$ sudo make install
You should then check whether the driver correctly installed with:
$ dmesg | tail -f
You can check whether the 8250_pci driver correctly got unregistered by
the Intel 537 driver with:
sudo /sbin/lspci -vvv
and perhaps with:
$ grep serial /var/log/messages | tail -f
If everything goes as expected you shouldn't read "serial" any longer
with $ lspci -vvv as the kernel driver for your 537 modem board.

Providing you see everything goes well as supposed it should, you may
retry the efax command. You may further recheck with
$ dmesg | tail -f
Yours sincerely,
-- 
http://www.linkedin.com/pub/philippe-vouters/a/456/a87
Philippe Vouters (Fontainebleau/France)
> Ok.
> 
> First of all, sorry I've been away for so long, I was away for the most of 
> the weekend and only really got back here to find that you guys had left me 
> a load of emails. Ok, thanks for all your help, and heres what I've got. 
> It's clearly not worked and if I've missed anything then please do tell me.
> 
> Ok, when I run "./efax -vewinchmart" I get the following:
> 
> ./efax: Mon Jun 22 18:41:06 2009 efax v 0.9a-001114 Copyright 1999 Ed Casas
> ./efax: Mon Jun 22 18:41:06 2009 efax v 0.9a-001114 Copyright 1999 Ed Casas
> efax: 41:06 compiled Jun 19 2009 11:00:46
> efax: 41:06 argv[0]=./efax
> efax: 41:06 argv[1]=-vewinchmart
> efax: 41:06 using built-in 128x0 font
> efax: 41:08 opened /dev/modem
> efax: 41:08 command  "Q0V1"
> efax: 41:08 waiting 2.0 s
> efax: 41:09 .167 [ATQ0V1<CR><CR><LF>]
> efax: 41:09 .227 [OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 command  "E0"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .243 [ATE0<CR><CR><LF>]
> efax: 41:09 .307 [OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 command  "I3"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .355 [<CR><LF>537EP <CR><LF>]
> efax: 41:09 .379 [<CR><LF>OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 command  "+FCLASS=?"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .427 [<CR><LF>0,1,2,2.0,8<CR><LF>]
> efax: 41:09 .443 [<CR><LF>OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 command  "+FCLASS=2.0"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .515 [<CR><LF>OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 command  "+FMI?"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .563 [<CR><LF>Intel Corporation<CR><LF>]
> efax: 41:09 .587 [<CR><LF>OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 command  "+FMM?"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .635 [<CR><LF>Intel(R) 537<CR><LF>]
> efax: 41:09 .635 [<CR><LF>H.324 video-ready rev. 1.0<CR><LF>]
> efax: 41:09 .659 [<CR><LF>OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 command  "+FMR?"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .707 [<CR><LF>RSA REV 4.04 <CR><LF>]
> efax: 41:09 .723 [<CR><LF>OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 using 537EP Intel Corporation Intel(R) 537 RSA REV 4.04 in class 
> 2.0
> efax: 41:09 command  "+FIP"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .787 [<CR><LF>ERROR<CR><LF>]
> efax: 41:09 response "ERROR"
> efax: 41:09 Warning: wrong response after command:  +FIP
> efax: 41:09 command  "+FNR=1,1,1,0"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .859 [<CR><LF>OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 command  "+FLO=1"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .923 [<CR><LF>OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 command  "+FBO=0"
> efax: 41:09 waiting 5.0 s
> efax: 41:09 .995 [<CR><LF>OK<CR><LF>]
> efax: 41:09 response "OK"
> efax: 41:09 command  "+FCR=1"
> efax: 41:09 waiting 5.0 s
> efax: 41:10 .067 [<CR><LF>OK<CR><LF>]
> efax: 41:10 response "OK"
> efax: 41:10 command  "+FIS?"
> efax: 41:10 waiting 5.0 s
> efax: 41:10 .227 [<CR><LF>1,5,0,2,0,0,0,0<CR><LF>]
> efax: 41:10 .243 [<CR><LF>OK<CR><LF>]
> efax: 41:10 response "OK"
> efax: 41:10 command  "+FLI="                    ""
> efax: 41:10 waiting 5.0 s
> efax: 41:10 .419 [<CR><LF>OK<CR><LF>]
> efax: 41:10 response "OK"
> efax: 41:10 command  "A"
> efax: 41:10 waiting 120.0 s
> efax: 41:54 .307 [<CR><LF>OK<CR><LF>]
> efax: 41:54 response "OK"
> efax: 41:54 fax call answered
> efax: 41:54 command  "+FDR"
> efax: 41:54 waiting 60.0 s
> efax: 41:54 .467 [<CR><LF>ERROR<CR><LF>]
> efax: 41:54 response "ERROR"
> efax: 41:54 Error: receive (+FDR) command failed
> efax: 41:54 command  "+FKS"
> efax: 41:54 waiting 5.0 s
> efax: 41:54 .539 [<CR><LF>OK<CR><LF>]
> efax: 41:54 response "OK"
> efax: 41:54 command  "Q0V1"
> efax: 41:54 waiting 2.0 s
> efax: 41:54 .619 [<CR><LF>OK<CR><LF>]
> efax: 41:54 response "OK"
> efax: 41:54 command  "H"
> efax: 41:54 waiting 5.0 s
> efax: 41:55 .723 [<CR><LF>OK<CR><LF>]
> efax: 41:55 response "OK"
> efax: 41:55 done, returning 3 (invalid modem response)
> 
> 
> The you wrote:
> "Concerning grub.conf, check with the following:
> $ sudo ls /boot
> $ sudo ls /boot/grub
> $ sudo /boot/grub/grub.conf
> And you give the result of the commands."
> 
> 
> This is what mine looks like...
> 
> ryan@Ryan:~$ sudo ls /boot
> abi-2.6.28-11-generic       memtest86+.bin
> config-2.6.28-11-generic      System.map-2.6.28-11-generic
> grub         vmcoreinfo-2.6.28-11-generic
> initrd.img-2.6.28-11-generic  vmlinuz-2.6.28-11-generic
> ryan@Ryan:~$ sudo ls /boot/grub
> default        fat_stage1_5   menu.lst      stage1
> device.map     installed-version  minix_stage1_5     stage2
> e2fs_stage1_5  jfs_stage1_5   reiserfs_stage1_5  xfs_stage1_5
> ryan@Ryan:~$ sudo /boot/grub/grub.conf
> sudo: /boot/grub/grub.conf: command not found
> 
> 
> 
> I copied the file to the specified directory and ran the commands you asked, 
> heres what came up:
> 
> ryan@Ryan:~$ cd /home/ryan/intel-537EP_secure-2.60.80.0
> ryan@Ryan:~/intel-537EP_secure-2.60.80.0$ make clean
> cd coredrv; make clean
> make[1]: Entering directory 
> `/home/ryan/intel-537EP_secure-2.60.80.0/coredrv'
> rm -f *.ko *.o .*.o.cmd *.mod.c *~ core .*.ko.cmd Module.* modules.*
> rm -rf .tmp_versions
> make[1]: Leaving directory `/home/ryan/intel-537EP_secure-2.60.80.0/coredrv'
> rm -f *.o *.ko
> ryan@Ryan:~/intel-537EP_secure-2.60.80.0$ make 537
>    Module precompile check
>    Current running kernel is: 2.6.28-11-generic
>    /lib/modules...   autoconf.h exists
> diff: /boot/vmlinuz.autoconf.h: No such file or directory
>    autoconf.h matches running kernel
> diff: /boot/vmlinuz.version.h: No such file or directory
>    version.h matches running kernel
> /bin/sh: [[: not found
> /bin/sh: [[: not found
> /bin/sh: [[: not found
> /bin/sh: [[: not found
> /bin/sh: /lspci: not found
> Modem type not determined.
> $ export MODEM_TYPE=<type>
> with type=537 or 537EP or 537SP or 537EA or 537AA
> ryan@Ryan:~/intel-537EP_secure-2.60.80.0$ sudo set def 
> /home/ryan/intel-537EP_secure-2.60.80.0/
> sudo: set: command not found
> ryan@Ryan:~/intel-537EP_secure-2.60.80.0$ sudo make uninstall
> Uninstalling on system V boot like only.
> killall usrsound || echo
> usrsound: no process killed
> 
> killall hamregistry || echo
> hamregistry: no process killed
> 
> rm -f /etc/rc.d/init.d/537_boot
> rm -f /etc/hamregistry.bin
> rm -f /usr/sbin/usrsound
> rm -f /usr/sbin/hamregistry
> rmmod Intel537
> ERROR: Module Intel537 does not exist in /proc/modules
> make: *** [uninstall] Error 1
> ryan@Ryan:~/intel-537EP_secure-2.60.80.0$ sudo make install
> rm -f /usr/sbin/hamregistry.bin
> bash 537_inst
> running kernel 2.6.28-11-generic
> installing hamregistry, used for persistant storage
> installing usrsound, a soft buzzer
> installing 537 module
> install: cannot stat `Intel537.ko': No such file or directory
> make: *** [install] Error 1
> ryan@Ryan:~/intel-537EP_secure-2.60.80.0$
> 
> 
> 
> You also asked for the output of "$ lspci -nn -vvv -Q". Here it is:
> 
> 00:00.0 Class [0600]: Device [8086:2570] (rev 02)
>  Subsystem: Device [1028:019d]
>  Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR+ FastB2B- DisINTx-
>  Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
> <MAbort+ >SERR- <PERR- INTx-
>  Latency: 0
>  Region 0: Memory at f8000000 (32-bit, prefetchable) [size=32M]
>  Capabilities: <access denied>
>  Kernel driver in use: agpgart-intel
>  Kernel modules: intel-agp
> 
> 00:02.0 Class [0300]: Device [8086:2572] (rev 02)
>  Subsystem: Device [1028:019d]
>  Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B- DisINTx-
>  Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Interrupt: pin A routed to IRQ 11
>  Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
>  Region 1: Memory at feb80000 (32-bit, non-prefetchable) [size=512K]
>  Region 2: I/O ports at ed98 [size=8]
>  Capabilities: <access denied>
>  Kernel modules: intelfb
> 
> 00:1d.0 Class [0c03]: Device [8086:24d2] (rev 02)
>  Subsystem: Device [1028:019d]
>  Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B- DisINTx-
>  Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Latency: 0
>  Interrupt: pin A routed to IRQ 16
>  Region 4: I/O ports at ff80 [size=32]
>  Kernel driver in use: uhci_hcd
> 
> 00:1d.1 Class [0c03]: Device [8086:24d4] (rev 02)
>  Subsystem: Device [1028:019d]
>  Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B- DisINTx-
>  Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Latency: 0
>  Interrupt: pin B routed to IRQ 19
>  Region 4: I/O ports at ff60 [size=32]
>  Kernel driver in use: uhci_hcd
> 
> 00:1d.3 Class [0c03]: Device [8086:24de] (rev 02)
>  Subsystem: Device [1028:019d]
>  Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B- DisINTx-
>  Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Latency: 0
>  Interrupt: pin A routed to IRQ 16
>  Region 4: I/O ports at ff20 [size=32]
>  Kernel driver in use: uhci_hcd
> 
> 00:1d.7 Class [0c03]: Device [8086:24dd] (rev 02) (prog-if 20)
>  Subsystem: Device [1028:019d]
>  Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR+ FastB2B- DisINTx-
>  Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Latency: 0
>  Interrupt: pin D routed to IRQ 23
>  Region 0: Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
>  Capabilities: <access denied>
>  Kernel driver in use: ehci_hcd
> 
> 00:1e.0 Class [0604]: Device [8086:244e] (rev c2)
>  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR+ FastB2B- DisINTx-
>  Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Latency: 0
>  Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
>  I/O behind bridge: 0000d000-0000dfff
>  Memory behind bridge: fea00000-feafffff
>  Prefetchable memory behind bridge: fff00000-000fffff
>  Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- <SERR- <PERR-
>  BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
>   PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
>  Kernel modules: shpchp
> 
> 00:1f.0 Class [0601]: Device [8086:24d0] (rev 02)
>  Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- 
> Stepping- SERR+ FastB2B- DisINTx-
>  Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Latency: 0
>  Kernel modules: iTCO_wdt, intel-rng
> 
> 00:1f.1 Class [0101]: Device [8086:24db] (rev 02) (prog-if 8a [Master SecP 
> PriP])
>  Subsystem: Device [1028:019d]
>  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B- DisINTx-
>  Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Latency: 0
>  Interrupt: pin A routed to IRQ 18
>  Region 0: I/O ports at 01f0 [size=8]
>  Region 1: I/O ports at 03f4 [size=1]
>  Region 2: I/O ports at 0170 [size=8]
>  Region 3: I/O ports at 0374 [size=1]
>  Region 4: I/O ports at ffa0 [size=16]
>  Region 5: Memory at feb7fc00 (32-bit, non-prefetchable) [size=1K]
>  Kernel driver in use: ata_piix
> 
> 00:1f.3 Class [0c05]: Device [8086:24d3] (rev 02)
>  Subsystem: Device [1028:019d]
>  Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B- DisINTx-
>  Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Interrupt: pin B routed to IRQ 3
>  Region 4: I/O ports at eda0 [size=32]
>  Kernel modules: i2c-i801
> 
> 00:1f.5 Class [0401]: Device [8086:24d5] (rev 02)
>  Subsystem: Device [1028:019d]
>  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B- DisINTx-
>  Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Latency: 0
>  Interrupt: pin B routed to IRQ 17
>  Region 0: I/O ports at ee00 [size=256]
>  Region 1: I/O ports at edc0 [size=64]
>  Region 2: Memory at feb7fa00 (32-bit, non-prefetchable) [size=512]
>  Region 3: Memory at feb7f900 (32-bit, non-prefetchable) [size=256]
>  Capabilities: <access denied>
>  Kernel driver in use: Intel ICH
>  Kernel modules: snd-intel8x0
> 
> 01:01.0 Class [0703]: Device [8086:1080] (rev 04)
>  Subsystem: Device [1028:1000]
>  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
> Stepping+ SERR+ FastB2B- DisINTx-
>  Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Latency: 64 (250ns min, 15500ns max), Cache Line Size: 64 bytes
>  Interrupt: pin A routed to IRQ 22
>  Region 0: Memory at feafe000 (32-bit, non-prefetchable) [size=4K]
>  Region 1: I/O ports at de00 [size=256]
>  Capabilities: <access denied>
>  Kernel driver in use: serial
> 
> 01:08.0 Class [0200]: Device [8086:1050] (rev 02)
>  Subsystem: Device [1028:019d]
>  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
> Stepping- SERR+ FastB2B- DisINTx-
>  Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
> <MAbort- >SERR- <PERR- INTx-
>  Latency: 64 (2000ns min, 14000ns max), Cache Line Size: 64 bytes
>  Interrupt: pin A routed to IRQ 20
>  Region 0: Memory at feaff000 (32-bit, non-prefetchable) [size=4K]
>  Region 1: I/O ports at ddc0 [size=64]
>  Capabilities: <access denied>
>  Kernel driver in use: e100
>  Kernel modules: e100, eepro100
> 
> 
> Can you help me any further?
> Maybe I have made a mistake somewhere along the lines.
> Can you explain to me specifically where you want me to go from here?
> 
> Ryan 
> 
> 



[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux