Re: Regarding PATCH for ITE887x Serial

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

 



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@xxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxx
>>>>>>
>>>>>> 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: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux