Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Get the eeprom dump using PCI bus address Post 302795845 by Corona688 on Thursday 18th of April 2013 01:14:48 PM
Old 04-18-2013
I don't think you can dump EEPROM from raw PCI. It wouldn't work the same way for each and every kind of network card; that's why it's the job of the network driver.

Are you on Linux? You can tell which interface is on what bus:

Code:
$ ls -l /sys/class/net/

total 0
lrwxrwxrwx 1 root root 0 Apr 17 13:00 lan -> ../../devices/pci0000:00/0000:00:0a.0/net/lan
lrwxrwxrwx 1 root root 0 Apr 18 11:14 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 Apr 18 11:14 sit0 -> ../../devices/virtual/net/sit0
lrwxrwxrwx 1 root root 0 Apr 18 11:14 tun0 -> ../../devices/virtual/net/tun0

$

You can se that lan(what I've renamed eth0 into) is on pci0000:00/0000:00:0a.0. From that you can decide which interface to feed into ethtool.
 

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
EAP(4)							   BSD Kernel Interfaces Manual 						    EAP(4)

NAME
eap -- AudioPCI audio device driver SYNOPSIS
eap* at pci? dev ? function ? audio* at audiobus? joy* at eap? midi* at eap? options EAP_USE_BOTH_DACS DESCRIPTION
The eap driver provides support for the Ensoniq AudioPCI and Creative Labs SoundBlaster PCI series of audio cards. All models based on the ES1370, ES1371, and ES1373 chips are supported. By specifying: options EAP_USE_BOTH_DACS a second audio device is attached. You can use it simply by directing audio output to it. This way it is possible for two different pro- grams to use the "same" audio device simultaneously. SEE ALSO
ac97(4), audio(4), joy(4), midi(4), pci(4) HISTORY
The eap device driver appeared in NetBSD 1.4. CAVEATS
The joystick port hardware works by emulating a legacy isa(4) joystick port, bypassing the pci(4) bus method for address allocation. This is unlikely to work on PCI busses other than the primary one. There is also a possibility for conflicts with real ISA devices because the PCI bus is probed before ISA. Use with caution. BSD
July 22, 2006 BSD
All times are GMT -4. The time now is 04:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy