Re: Configuring Two Ethernet Cards

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

 



Thanks for the info:

I succeeded to see two ethernet cards on target board, but after booting I
could not see the MAC address of second ethernet card (it is giving
00:00:00:00:00:00). Please provide some hints.

The kernel boot up message as follows

eth0
pcnet32: pcnet32_private lp=92159000 lp_dma_addr=0x92159000ber of Bytes
Received : 0
assigned IRQ 35.  Bcast:10.72.151.255
l8139_init_board,line=657
Assertion failed! inb (pio_start+Config1) == readb
(ioaddr+Config1),8139too.c,rt
l8139_init_board,line=658
Assertion failed! inb (pio_start+TxConfig) == readb
(ioaddr+TxConfig),8139too.c,
rtl8139_init_board,line=659
eth1: RealTek RTL8139 Fast Ethernet board found at 0x10000000, IRQ 35
eth1:   Chip is 'RTL-8139'
eth1:   MAC address 00:00:00:00:00:00.


Why this MAC address is all 0's, though it is able to find out chip name and
IRQ?

Thanks in advance

Ramprasad


----- Original Message -----
From: "Gilad Benjamini" <gilad@riverhead.com>
To: "'ramprasad'" <ramprasad@research.panasonic.com>;
<kernelnewbies@nl.linux.org>
Cc: "'srini'" <gurusus@research.panasonic.com>
Sent: Thursday, January 09, 2003 1:22 AM
Subject: RE: Configuring Two Ethernet Cards


> If you look at net/ipv4/ipconfig.c you will see that the ip in the command
> line
> is assigned to a single parameter, ic_myaddr.
>
> It is my understanding that this parameter was meant for providing an IP
> to a machine that needs the IP during the boot process (e.g. for nfsroot).
> The rest of the IP addresses are expected to be setup by userland
> program, i.e. "/etc/init.d/network start" does it.
>
>
> > -----Original Message-----
> > From: kernelnewbies-bounce@nl.linux.org
> > [mailto:kernelnewbies-bounce@nl.linux.org]On Behalf Of ramprasad
> > Sent: Wednesday, January 08, 2003 11:29 PM
> > To: kernelnewbies@nl.linux.org
> > Cc: srini
> > Subject: Configuring Two Ethernet Cards
> >
> >
> > Hello all,
> >
> > I have a target board running linux. The target has built in
> > Ethernet chip,
> > which I could able to configure by passing parameters through commnd
> > line(cmdline.c) and it is running fine. The target board has
> > PCI interface
> > also. Now I added PCI ethernet adapter to the same target
> > board. I added one
> > more "ip" param in the cmdline.c, but I am not able to bring
> > it up.(when I
> > do ifconfig it is not showing the new ethernet interface). I used the
> > following cmdline.c
> >
> > const char cmdline[] =
> > "mem=64M root=/dev/nfs console=ttyS0,115200
> > nfsroot=10.72.149.201:/work/nfsroot,v3
> > ip=10.72.148.7:10.72.149.201:10.72.149.201:255.255.248.0:targe
> > t01:eth0:off
> > ip=10.72.148.8:10.72.149.201:10.72.149.201:255.255.248.0:targe
> > t01:eth1:off";
> >
> > Any hints ?
> >
> > Thanks in Advance
> > Ramprasad
> >
> >
> > ----- Original Message -----
> > From: "John Levon" <levon@movementarian.org>
> > To: "Neale Banks" <neale@lowendale.com.au>
> > Cc: <kernelnewbies@nl.linux.org>
> > Sent: Wednesday, January 08, 2003 12:47 PM
> > Subject: Re: Configure.help in 2.5 ???
> >
> >
> > > On Wed, Jan 08, 2003 at 05:44:33PM +1100, Neale Banks wrote:
> > >
> > > >
> > > > Is there something I should have read and which would
> > have made this
> > > > "obvious"?
> > >
> > > Documentation/kbuild
> > >
> > > Though it may not be mentioned yet, I haven't checked
> > >
> > > john
> > > --
> > > "CUT IT OUT FACEHEAD"
> > > - jeffk
> > > --
> > > Kernelnewbies: Help each other learn about the Linux kernel.
> > > Archive:       http://mail.nl.linux.org/kernelnewbies/
> > > FAQ:           http://kernelnewbies.org/faq/
> > >
> >
> > --
> > Kernelnewbies: Help each other learn about the Linux kernel.
> > Archive:       http://mail.nl.linux.org/kernelnewbies/
> > FAQ:           http://kernelnewbies.org/faq/
> >
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux