HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Faxaddmodem with Mainpine IQ Express R3.2



Samuel,

The output you show below looks incorrect. I have not seen it before and do not know exactly what went wrong. That said, my first instinct is to suspect that your patching of the kernel did not do the trick.

Due to the infinite number of things that can go wrong and our inability to support all of that, as a matter of policy Mainpine does not advise kernel patching. Instead, we advise customers to just use kernel 2.6.28 or newer. In some situations some customers refuse to (cannot?) follow this advice, and so we have provided the patches for those (hopefully rare) cases.

I fully acknowledge that not every distribution has updated to kernel 2.6.28 or newer. This may require you to change your preferred Linux distribution. This may require you to use a "development" kernel in your distribution.

We went through a lot of effort to get the Rev3 patches into the mainstream kernel. We did this because, as standard serial devices, we cannot provide a kernel module to realistically "replace" the running serial driver. And because most distributions build the serial driver into the kernel itself (and not as a module) this really means that we would have had to provide a pre-built kernel for every distribution and version out there. Instead, we chose to just get the patches into the mainstream kernel and to expect that the various distributions would update in time.

Meanwhile, in cases where the customer is unable to get to kernel 2.6.28 on their own or where we are being asked to assist the customer in patching their old kernel it is our advice to the customer to simply install Fedora 9 and then install the pre-built kernel from here: http://mail.mainpine.com/files/. As an alternative customers may choose to install Fedora 10 and use the "rawhide" or "development" kernel (which currently is 2.6.29, I think). That said, I think that the SRPM on http://mail.mainpine.com/files/ should be able to be built and used on just about any RPM-based distribution.

Again, until your distribution of choice updates to kernel 2.6.28 or later the advice is to simply install Fedora 9 (x86) and use the provided pre-built kernel RPM.

Thanks,

Lee.


Samuel Zats wrote:
Is there any additional work I need to do to configure the card? Only added the mainpine-10 prototype file and patched the 3 per the site listed before.


Updated the grub.conf to 32 ports.


For ttyS0/ttyS1/ttyS3/ttyS4: it will actually probe:
Probing for best speed to talk to modem: 38400 19200 9600 4800 2400 1200
Unable to deduce DTE-DCE speed; check that you are using the
correct device and/or that your modem is setup properly.  If
all else fails, try the -s option to lock the speed.

Otherwise, it directly fails:
Probing for best speed to talk to modem:
Unable to deduce DTE-DCE speed; check that you are using the
correct device and/or that your modem is setup properly.  If
all else fails, try the -s option to lock the speed.

Looking at the ports...

[root@localhost ~]# setserial -g /dev/ttyS*
/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS10, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS11, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS12, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS13, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS14, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS15, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS16, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS17, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS18, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS19, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS20, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS21, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS22, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS23, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS24, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS25, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS26, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS27, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS28, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS29, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
/dev/ttyS30, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS31, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS4, UART: 16550A, Port: 0xe800, IRQ: 217
/dev/ttyS5, UART: 16550A, Port: 0xe400, IRQ: 217
/dev/ttyS6, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS7, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS8, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS9, UART: unknown, Port: 0x0000, IRQ: 0
[root@localhost ~]#




On Tue, Mar 24, 2009 at 1:45 PM, Lee Howard <lee.howard@xxxxxxxxxxxx <mailto:lee.howard@xxxxxxxxxxxx>> wrote:


Samuel Zats wrote:

        This is what I initially thought, but it seems there are only
        two serial ports active. Can you suggest any reason for the
        problem?

        The system identifies the modem under hardware. So it is being
        recognized at some level.

        At terminal:
        [root@localhost ~]# setserial -g /dev/ttyS*
        /dev/ttyS0, UART: 16550A, Port: 0xe800, IRQ: 209
        /dev/ttyS1, UART: 16550A, Port: 0xe400, IRQ: 209
        /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
        /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
        [root@localhost ~]#


The Linux kernel serial driver allows you to specify the number of UARTs to auto-detect. Normally the default is four. Thus, it's stopping after it finds two on your IQ Express because it already found two others on the mainboard (ttyS0, ttyS1).

    So in your /etc/grub.conf file on the "kernel" line at the end put
    an additional parameter:  8250.nr_uarts=32

Then reboot. That should do it for you.


Thanks,


Lee.

-- *Lee Howard*
*Mainpine, Inc. Software Development Lead*
Tel: +1 866 363 6680 ext 805 | Fax: +1 360 462 8160
lee.howard@xxxxxxxxxxxx <mailto:lee.howard@xxxxxxxxxxxx> |
www.mainpine.com <http://www.mainpine.com>





--
*Lee Howard*
*Mainpine, Inc. Software Development Lead*
Tel: +1 866 363 6680 ext 805 | Fax: +1 360 462 8160
lee.howard@xxxxxxxxxxxx | www.mainpine.com


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions