From: Niels de Vos <niels.devos@wincor-nixdorf.com>
To: Christopher <kirian100@yahoo.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: Regarding PATCH for ITE887x Serial
Date: Wed, 25 Feb 2009 09:57:19 +0100 [thread overview]
Message-ID: <49A507EF.8010502@wincor-nixdorf.com> (raw)
In-Reply-To: <499F120A.8050902@yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 7948 bytes --]
Hello Christopher,
Christopher wrote:
> I have tried:
>
> Debian 5
> Fedora Live CD 11
> Ubuntu 8.10
> CentOS 5.2 custom kernel from kernel.org with almost all modules enabled
Great testing. The Fedora Live CD 11 contains a very recent kernel
and should recognize all known (at least to me) ITE-chips.
> Nothing recognizes it. All output is same on lspci.
Not only lspci is important, also the output of dmesg (grep for tty)
and the file /proc/ioports.
> I have CCed linux-serial@vger.kernel.org as well with output of lspci -vv
>
> 02:0e.0 Serial controller: PLX Technology, Inc. Unknown device 9016 (rev
> 01) (prog-if 02 [16550])
> Subsystem: Unknown device 544e:0008
> Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR+ FastB2B-
> Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
> Interrupt: pin A routed to IRQ 169
> Region 0: I/O ports at 2440 [disabled] [size=64]
> Region 1: I/O ports at 2490 [disabled] [size=16]
> Region 2: I/O ports at 2480 [disabled] [size=16]
> Region 3: Memory at f2003000 (32-bit, non-prefetchable)
> [disabled] [size=4K]
> Region 4: Memory at f2002000 (32-bit, non-prefetchable)
> [disabled] [size=4K]
> Region 5: Memory at f2001000 (32-bit, non-prefetchable)
> [disabled] [size=4K]
Compared this to one of the ITE-chips here. I'm not convinced this is
a chip by ITE. Can you tell me the exact type of it887x (x=...)?
> My main server runs Linux 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43
> EST 2008 i686 i686 i386 GNU/Linux (CentOS 5.2)
>
> I have attached the "drivers" they gave me for 2.6 kernel supposedly.
> Although i believe its for the 2.4 as the readme that it has its for 2.4
> kernel.
This rough patch was available for kernel-2.4. As nobody But ITE could
provide us (Wincor-Nixdorf) with drivers for kernel-2.6. I was assigned
to implement the serial-part of the driver in 8250_pci.c.
Hope that helps,
Niels
>
> Thanks
>
> Regards,
> Chris
>
> Niels de Vos wrote:
>> Christopher wrote:
>>
>>> Im currently compiling my own kernel use guide from
>>> http://howtoforge.com/kernel_compilation_centos
>>>
>>
>> Site is down atm... Don't refresh your browser ;)
>>
>>
>>
>>> Using the latest kernel from kernel.org and my current .config
>>>
>>> You believe this will have the drivers needed?
>>>
>>
>> Yes, that should work.
>>
>> Please send me a little update on you success (or not).
>>
>> Thanks,
>> Niels
>>
>>
>>
>>> Thanks
>>>
>>> Chris
>>>
>>> Niels de Vos wrote:
>>>
>>>> Christopher wrote:
>>>>
>>>>
>>>>> I have tried to install the kernel as you said:
>>>>>
>>>>> [root@Server ~]# rpm -ivh --nodeps
>>>>> http://kojipkgs.fedoraproject.org/packages/kernel/2.6.29/0.137.rc5.git4.fc11/i586/kernel-2.6.29-0.137.rc5.git4.fc11.i586.rpm
>>>>>
>>>>>
>>>>>
>>>>> Retrieving
>>>>> http://kojipkgs.fedoraproject.org/packages/kernel/2.6.29/0.137.rc5.git4.fc11/i586/kernel-2.6.29-0.137.rc5.git4.fc11.i586.rpm
>>>>>
>>>>>
>>>>>
>>>>> Preparing...
>>>>> ###########################################
>>>>> [100%]
>>>>> 1:kernel ###########################################
>>>>> [100%]
>>>>> WARNING: No module ehci-hcd found for kernel
>>>>> 2.6.29-0.137.rc5.git4.fc11.i586, continuing anyway
>>>>> WARNING: No module ohci-hcd found for kernel
>>>>> 2.6.29-0.137.rc5.git4.fc11.i586, continuing anyway
>>>>> WARNING: No module uhci-hcd found for kernel
>>>>> 2.6.29-0.137.rc5.git4.fc11.i586, continuing anyway
>>>>> WARNING: No module ata_piix found for kernel
>>>>> 2.6.29-0.137.rc5.git4.fc11.i586, continuing anyway
>>>>> Usage: new-kernel-pkg [-v] [--mkinitrd] [--rminitrd]
>>>>> [--initrdfile=<initrd-image>] [--depmod] [--rmmoddep]
>>>>> [--kernel-args=<args>] [--remove-args=<args>]
>>>>> [--banner=<banner>] [--multiboot=multiboot]
>>>>> [--mbargs=mbargs] [--make-default]
>>>>> <--install | --remove | --update> <kernel-version>
>>>>> (ex: new-kernel-pkg --mkinitrd --depmod --install 2.4.7-2)
>>>>> error: %posttrans(kernel-2.6.29-0.137.rc5.git4.fc11.i586) scriptlet
>>>>> failed, exit status 1
>>>>> [root@Server ~]#
>>>>>
>>>>> It fails to install the kernel.
>>>>>
>>>> Hmm, same here... Tried to create the initrd with mkinitrd but it won't
>>>> detect my AHCI-drives... Unable to boot the system completely.
>>>>
>>>> You might be able to create a working initrd manually, after installing
>>>> the kernel with 'rpm -ivh --nodeps --noscripts ...'. However, easiest
>>>> would be to update the mkinitrd-package to the required version and
>>>> install the kernel after that.
>>>>
>>>> Alternatively you might try an older version of the kernel 2.6.23+. Or
>>>> download and try with a Fedora-10-Live CD/USB.
>>>>
>>>> Hope that helps,
>>>> Niels
>>>>
>>>>
>>>>
>>>>
>>>>> Any ideas?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Niels de Vos wrote:
>>>>>
>>>>>> Hello Chris,
>>>>>>
>>>>>> Christopher wrote:
>>>>>>
>>>>>>
>>>>>>> I have bought off ebay the 8port Serial DB9 adapter with ITE8871
>>>>>>> chipset
>>>>>>> and my CentOS5.1 with Kernel 2.6.18-92.1.22.el5 does not seem to
>>>>>>> recognize it.
>>>>>>>
>>>>>> ITE887x hardware gets recognised with kernel 2.6.23 and newer.
>>>>>> RHEL has
>>>>>> not included a backport for this driver (so CentOS also didn't).
>>>>>>
>>>>>> I know some people use a Fedora kernel on CentOS. You can download
>>>>>> the
>>>>>> most recent version from here:
>>>>>> <http://koji.fedoraproject.org/koji/packageinfo?packageID=8>
>>>>>>
>>>>>> I don't know if the RPM just installs like that (probably not).
>>>>>> But for
>>>>>> some testing it should be okay to install the RPM with
>>>>>> 'rpm -ivh --nodeps kernel....rpm'.
>>>>>>
>>>>>> If the ports still don't work as expected, please re-post the
>>>>>> output of
>>>>>> 'lspci -vv' and the relevant parts from 'dmesg' to me with a CC to
>>>>>> linux-serial@vger.kernel.org.
>>>>>>
>>>>>> Good luck :)
>>>>>> Niels
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> lspci -vv shows
>>>>>>>
>>>>>>> 02:0e.0 Serial controller: PLX Technology, Inc. Unknown device 9016
>>>>>>> (rev
>>>>>>> 01) (prog-if 02 [16550])
>>>>>>> Subsystem: Unknown device 544e:0008
>>>>>>> Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr- Stepping- SERR+ FastB2B-
>>>>>>> Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
>>>>>>>
>>>>>>>> TAbort-
>>>>>>>>
>>>>>>> <TAbort- <MAbort- >SERR- <PERR-
>>>>>>> Interrupt: pin A routed to IRQ 169
>>>>>>> Region 0: I/O ports at 2440 [disabled] [size=64]
>>>>>>> Region 1: I/O ports at 2490 [disabled] [size=16]
>>>>>>> Region 2: I/O ports at 2480 [disabled] [size=16]
>>>>>>> Region 3: Memory at f2003000 (32-bit, non-prefetchable)
>>>>>>> [disabled] [size=4K]
>>>>>>> Region 4: Memory at f2002000 (32-bit, non-prefetchable)
>>>>>>> [disabled] [size=4K]
>>>>>>> Region 5: Memory at f2001000 (32-bit, non-prefetchable)
>>>>>>> [disabled] [size=4K]
>>>>>>>
>>>>>>>
>>>>>>> I saw online in a post from KernelTrap you wrote at
>>>>>>> http://kerneltrap.org/mailarchive/linux-kernel/2007/3/26/70429 that
>>>>>>> you
>>>>>>> created a patch for this.
>>>>>>>
>>>>>>> Since i have no idea from C language and how to load the driver can
>>>>>>> you
>>>>>>> please let me know what to do to properly load the driver?
>>>>>>>
>>>>>>> Thanks a lot for your time and assistance.
>>>>>>>
>>>>>>> Chris
>>>>>>>
>>>>>>
>>>>
>>
>>
>>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next parent reply other threads:[~2009-02-25 9:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <499E6C09.4090108@yahoo.com>
[not found] ` <499E6FC7.506@wincor-nixdorf.com>
[not found] ` <499E77CE.4010008@yahoo.com>
[not found] ` <499E81D3.4080107@wincor-nixdorf.com>
[not found] ` <499E84AE.7050209@yahoo.com>
[not found] ` <499E86D2.1030507@wincor-nixdorf.com>
[not found] ` <499F120A.8050902@yahoo.com>
2009-02-25 8:57 ` Niels de Vos [this message]
2009-02-25 10:25 ` Regarding PATCH for ITE887x Serial Christopher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49A507EF.8010502@wincor-nixdorf.com \
--to=niels.devos@wincor-nixdorf.com \
--cc=kirian100@yahoo.com \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox