From: Eugene Surovegin <ebs@ebshome.net>
To: Aubrey Lee <aubrey1127@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: About Zebra Error
Date: Thu, 13 Jan 2005 01:12:35 -0800 [thread overview]
Message-ID: <20050113091235.GA2816@gate.ebshome.net> (raw)
In-Reply-To: <7f834d4e0501130050666b757a@mail.gmail.com>
On Thu, Jan 13, 2005 at 04:50:27PM +0800, Aubrey Lee wrote:
> hi, In the PC(i686) system, I build and run zebra successfully. And now
> I'm porting it to the powerpc system. Cross-compiling finished without error.
> But when I run the zebra from my target board, it gives me a big headache:
> --------------------------------------------------------------------------
> bash-2.05b# /opt/zebra/sbin/zebra
> sock: Address family not supported by protocol
> ----------------------------------------------------------------------------
> And Up to now I cann't find the message in the souce
> code files.
> The two ethx and their driver of my board is OK.
> What shall I do?
Most probably zebra needs some some socket family (e.g. PF_PACKET)
which wasn't enabled in your PPC kernel.
Compare .config files for x86 and PPC kernels, especially networking
configuration parts.
The reason you cannot find "Address family not supported by protocol"
message in the zebra sources is because this message comes from libc,
e.g. by using perror(3) or sys_errlist directly.
--
Eugene
next prev parent reply other threads:[~2005-01-13 9:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-13 8:50 About Zebra Error Aubrey Lee
2005-01-13 9:12 ` Eugene Surovegin [this message]
2005-01-13 9:18 ` Mark Powell
2005-01-13 17:07 ` Tolunay Orkun
-- strict thread matches above, loose matches on Subject: below --
2005-01-13 10:00 About zebra Error Aubrey Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050113091235.GA2816@gate.ebshome.net \
--to=ebs@ebshome.net \
--cc=aubrey1127@gmail.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).