Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Get the eeprom dump using PCI bus address Post 302795551 by h0ujun on Thursday 18th of April 2013 02:51:35 AM
Old 04-18-2013
Quote:
Originally Posted by RudiC
Did you try lspci in verbosest mode?

hmmm
Code:
ethtool -e eth0

returns this kind of log:

Code:
Offset		Values
------		------
0x0000		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0010		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0020		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0030		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0040		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0050		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0060		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0070		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0080		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0090		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x00a0		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x00b0		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x00c0		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x00d0		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x00e0		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x00f0		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0100		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0110		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0120		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0130		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0140		ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

can lspci show this kind of log?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies

2. Red Hat

can not reboot : PCI: Unable to handle 64-bit address space for

Hello, every one, I tried to install redhat linux enterprise server version 4 (ES4) on the my system with the following configuration Pentium core 2 duo 2.66 E 6750 Intel DG33FB motherboard 160Gb Segate hard disk (SATA) 1024 mb (1GB) DDR2 TRAN RAM Lg DVD/Cd WR BUT AM GETTING... (0 Replies)
Discussion started by: moinkhan31
0 Replies

3. Shell Programming and Scripting

How to read EEPROM Locations

Dear Sir, I am Shidlingayya India, i am new to unix script..my problem is present-> I have to read the eeprom locations from 0 to 255 locations in separate file..i wrote the code for this as follows @eep_save_all ;<filename> store eeprom data to intel hex file kr 0,,02/n wf %1,... (0 Replies)
Discussion started by: shidlingayya
0 Replies

4. UNIX for Advanced & Expert Users

Does admintool write to eeprom?

Hi: I was setting up a modem on an Ultra5 running 2.6. (yes I know, how quaint) There are 15 systems that are interlinked but not accessible to the outside world. This will end soon with new updated sun systems but until then the system needs to be accessed by the outside world. Hence the... (1 Reply)
Discussion started by: mndavies
1 Replies

5. UNIX for Advanced & Expert Users

EEPROM password

hello i have sun machine and i need to reset EEPROM password where evrytime machine boot i should put password to start in booting any one can help me how i can remove this password Thanks (1 Reply)
Discussion started by: asafwat
1 Replies

6. Solaris

doubt reg EEPROM

Hi , Am new to solaris can anyone tell me what is the use of setting the eeprom variable to true or false ... (5 Replies)
Discussion started by: rogerben
5 Replies

7. UNIX for Dummies Questions & Answers

EEPROM CKSUM - Is there such thing?

Hi all, So I have a binary file and I need to generate an expected EEPROM checksum for it. Ideally, I would like to input the file (with the path) and output a computed checksum. Ive been using (cksum file1) with no avail and I was just curious as to whether there is such thing as EEPROM... (1 Reply)
Discussion started by: TeamUSA
1 Replies

8. Shell Programming and Scripting

EEPROM CKSUM? what is this?

Hi all, So I have a binary file and I need to generate an expected EEPROM checksum for it. Ideally, I would like to input the file (with the path) and output a computed checksum. Ive been using (cksum file1) with no avail and I was just curious as to whether there is such thing as EEPROM cksum,... (1 Reply)
Discussion started by: TeamUSA
1 Replies

9. Shell Programming and Scripting

Unable to catch the output after core dump and bus error

I have a weird situation in which the binary dumps core and gives bus error. But before dumping the core and throwing the buss error, it gives some output. unfortunately I can't grep the output before core dump db2bfd -b test.bnd maxSect 15 Bus Error (core dumped) But if I do ... (4 Replies)
Discussion started by: rakeshou
4 Replies

10. UNIX for Advanced & Expert Users

Transferring Eeprom to Virtual machine

Hello all, I am currently trying to find a solution to replacing some 10 year old Solaris boxes because it is obvious that they are going to fail soon. The problem is that they are license servers, and I need the eeprom serial to transfer to a new computer. Now, I could request that we get new... (1 Reply)
Discussion started by: DeanCarlo
1 Replies
PCITWEAK(1)						      General Commands Manual						       PCITWEAK(1)

NAME
pcitweak - read/write PCI config space SYNOPSIS
pcitweak -l pcitweak -r PCI-ID [-b|-h] offset pcitweak -w PCI-ID [-b|-h] offset value DESCRIPTION
Pcitweak is a utility that can be used to examine or change registers in the PCI configuration space. On most platforms pcitweak can only be run by the root user. OPTIONS
-l Probe the PCI buses and print a line for each detected device. Each line contains the bus location (bus:device:function), chip vendor/device, card (subsystem) vendor/card, revision, class and header type. All values printed are in hexadecimal. -r PCI-ID Read the PCI configuration space register at offset for the PCI device at bus location PCI-ID. PCI-ID should be given in the form bus:device:function, with each value in hexadecimal. By default, a 32-bit register is read. -w PCI-ID Write value to the PCI configuration space register at offset for the PCI device at bus location PCI-ID. PCI-ID should be given in the form bus:device:function, with each value in hexadecimal. By default, a 32-bit register is written. -b Read or write an 8-bit value (byte). -h Read or write a 16-bit value (halfword). SEE ALSO
scanpci(1) AUTHORS
David Dawes (dawes@xfree86.org). XFree86 Version 4.7.0 PCITWEAK(1)
All times are GMT -4. The time now is 09:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy