public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Fwd: wrong VENDOR_ID 10ac
       [not found]   ` <CAPZBsTi6a1necbvEANP4Sx=Ovo-ntPLyiFfus3dDiKBrSvkc7w@mail.gmail.com>
@ 2011-10-02  5:31     ` Christian Vasquez Perales
  2011-10-02 15:14       ` Ben Hutchings
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Vasquez Perales @ 2011-10-02  5:31 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 1844 bytes --]

Hello,

May be you can help me, I have bought 2 identical trendnet TEG-PCITXR
gigabit cards, and my centos has detected automatically just 1 of the
2 cards and this card is working fine with the driver r8169, but the
other is not recognized,

As per my investigation, the VENDOR_ID in the wrong card is 10ac, and
it must to be 10ec (according the PCI database), please see the
attached with the output from lspci and setpci,

Could you give me some ideas? or do you know how to change the
Vendor_ID in a network card?

Thanks in advance by your attention,

Kind regards, Christian Vasquez.

---------- Forwarded message ----------
From: Christian Vasquez Perales <christian.vasquez.perales@gmail.com>
Date: 1 October 2011 11:02
Subject: Re: wrong VENDOR_ID 10ac
To: nicfae@realtek.com


Hi,
Here you have the output from the linux standard tools,

Honestly, I don't understand how 2 identical cards have diferent
vendor_id in the ROM memory, I have checked in the Realtek website and
nothing is there,

Please. let me know as soon as possible,

Regards, Christian.

On 1 October 2011 02:02, Christian Vasquez Perales
<christian.vasquez.perales@gmail.com> wrote:
>
> Hi,
>
> I have bough 2 Trendnet TEG-PCITXR PCI Gigabit card (RTL8169SC), however the first card has VENDOR_ID:DEVICE_ID 10ec:8169 and the second card has 10ac:8169,
>
> I have checked in the PCI database (http://pci-ids.ucw.cz/read/PC/10ec/8169/10ec8169) and the 10ec is detected inmediately and is working fine, however the 10ac is being detected as Honeywell card (due to the wrong VENDOR_ID),
>
> How can I fix it?
>
> As testing cases: I have inserted the 10ac card and the result is exactly the same,
>
> Please, I will really appreciate a quick reply,
>
> --
> Christian.
>



--
Christian Vasquez Perales




--
Christian Vasquez Perales




--
Christian Vasquez Perales

[-- Attachment #2: lspci_output --]
[-- Type: application/octet-stream, Size: 2316 bytes --]

]# lspci

00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 12)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 12)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio Controller (rev 12)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
02:08.0 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
02:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
02:0e.0 Ethernet controller: Honeywell IAC Device 8169 (rev 10)

]# lspci -n

00:00.0 0600: 8086:1a30 (rev 03)
00:01.0 0604: 8086:1a31 (rev 03)
00:1e.0 0604: 8086:244e (rev 12)
00:1f.0 0601: 8086:2440 (rev 12)
00:1f.1 0101: 8086:244b (rev 12)
00:1f.2 0c03: 8086:2442 (rev 12)
00:1f.3 0c05: 8086:2443 (rev 12)
00:1f.4 0c03: 8086:2444 (rev 12)
00:1f.5 0401: 8086:2445 (rev 12)
01:00.0 0300: 1002:5159
02:08.0 0200: 8086:2449 (rev 03)
02:0c.0 0200: 10ec:8169 (rev 10)
02:0e.0 0200: 10ac:8169 (rev 10)

lspci -vvv -d 10ac:8169
02:0e.0 Ethernet controller: Honeywell IAC Device 8169 (rev 10)
	Subsystem: Realtek Semiconductor Co., Ltd. Device 8169
	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: 32 (8000ns min, 16000ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 5
	Region 0: I/O ports at 3400 [size=256]
	Region 1: Memory at e8101400 (32-bit, non-prefetchable) [size=256]
	[virtual] Expansion ROM at 30020000 [disabled] [size=128K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-


[-- Attachment #3: setpci_output --]
[-- Type: application/octet-stream, Size: 395 bytes --]

setpci -s 02:0c.0 VENDOR_ID
10ec

setpci -s 02:0e.0 VENDOR_ID
10ac

]# setpci -v -s 02:0e.0 VENDOR_ID=10ec
0000:02:0e.0 @00 10ec

]# setpci -v -s 02:0e.0 VENDOR_ID
0000:02:0e.0 @00 10ac

]# setpci -v -s 02:0e.0 VENDOR_ID=0x10ec
0000:02:0e.0 @00 10ec

]# setpci -v -s 02:0e.0 VENDOR_ID.w=10ec
0000:02:0e.0 @00 10ec

setpci -s 02:0e.0 VENDOR_ID SUBSYSTEM_VENDOR_ID SUBSYSTEM_ID
10ac
816910ec
8169

[-- Attachment #4: lsmod_output --]
[-- Type: application/octet-stream, Size: 2195 bytes --]

lsmod

Module                  Size  Used by
vfat                    8677  1 
fat                    47151  1 vfat
usb_storage            39114  1 
ipt_REJECT              1905  2 
nf_conntrack_ipv4       7700  2 
nf_defrag_ipv4          1013  1 nf_conntrack_ipv4
iptable_filter          2147  1 
ip_tables               9541  1 iptable_filter
ip6t_REJECT             3961  2 
nf_conntrack_ipv6      16198  2 
xt_state                1006  4 
nf_conntrack           66010  3 nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
ip6table_filter         2219  1 
ip6_tables             10809  1 ip6table_filter
ipv6                  264890  14 ip6t_REJECT,nf_conntrack_ipv6
ppdev                   7335  0 
parport_pc             19348  0 
parport                31019  2 ppdev,parport_pc
r8169                  34125  0 
e100                   27825  0 
mii                     4289  2 r8169,e100
snd_intel8x0           24319  0 
snd_ac97_codec         95678  1 snd_intel8x0
ac97_bus                 942  1 snd_ac97_codec
snd_seq                46091  0 
snd_seq_device          5354  1 snd_seq
snd_pcm                67225  2 snd_intel8x0,snd_ac97_codec
snd_timer              18308  2 snd_seq,snd_pcm
snd                    52754  6 snd_intel8x0,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore               6460  1 snd
snd_page_alloc          7080  2 snd_intel8x0,snd_pcm
i2c_i801                9222  0 
sg                     24778  0 
iTCO_wdt                9324  0 
iTCO_vendor_support     2382  1 iTCO_wdt
ext4                  322671  2 
mbcache                 5918  1 ext4
jbd2                   73876  1 ext4
sd_mod                 33344  6 
crc_t10dif              1191  1 sd_mod
sr_mod                 14187  0 
cdrom                  34036  1 sr_mod
pata_acpi               2487  0 
ata_generic             2555  0 
ata_piix               19016  3 
radeon                746459  1 
ttm                    38136  1 radeon
drm_kms_helper         29029  1 radeon
drm                   163291  3 radeon,ttm,drm_kms_helper
i2c_algo_bit            4600  1 radeon
i2c_core               25799  5 i2c_i801,radeon,drm_kms_helper,drm,i2c_algo_bit
dm_mod                 63827  0 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fwd: wrong VENDOR_ID 10ac
  2011-10-02  5:31     ` Fwd: wrong VENDOR_ID 10ac Christian Vasquez Perales
@ 2011-10-02 15:14       ` Ben Hutchings
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Hutchings @ 2011-10-02 15:14 UTC (permalink / raw)
  To: Christian Vasquez Perales; +Cc: netdev

On Sun, 2011-10-02 at 06:31 +0100, Christian Vasquez Perales wrote:
> Hello,
> 
> May be you can help me, I have bought 2 identical trendnet TEG-PCITXR
> gigabit cards, and my centos has detected automatically just 1 of the
> 2 cards and this card is working fine with the driver r8169, but the
> other is not recognized,
> 
> As per my investigation, the VENDOR_ID in the wrong card is 10ac, and
> it must to be 10ec (according the PCI database), please see the
> attached with the output from lspci and setpci,
> 
> Could you give me some ideas? or do you know how to change the
> Vendor_ID in a network card?
[...]

There's no generic way to do this.  I suggest you return the faulty card
for a refund/replacement; there is quite possibly more wrong with it
than this one-bit error.

Ben.

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-02 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAPZBsThhGxpvioOKuCffOiJXKiZs47RQ2bT-ZSaVSM5Eigxkog@mail.gmail.com>
     [not found] ` <CAPZBsTgtfeZFoLENX7K9Hii7-SFpCQas80ka9cokx=0UPQEfhw@mail.gmail.com>
     [not found]   ` <CAPZBsTi6a1necbvEANP4Sx=Ovo-ntPLyiFfus3dDiKBrSvkc7w@mail.gmail.com>
2011-10-02  5:31     ` Fwd: wrong VENDOR_ID 10ac Christian Vasquez Perales
2011-10-02 15:14       ` Ben Hutchings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox