View previous topic :: View next topic |
Author |
Message |
Tuxido n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/22606390848f040cdb2a9b.jpg)
Joined: 07 Apr 2008 Posts: 57 Location: Trondheim, Norway
|
Posted: Thu Oct 09, 2008 3:29 pm Post subject: [SOLVED]dhcpd.sh: /line: 98 4591 illegal instruct |
|
|
When starting eth0 dhcp runs and I receive this error:
/lib/rcscripts/net/dhcpd.sh: /line: 98 4591 illegal instruction
-d R N Y eth0
Google tells me nothing so I have no idea what's happening.
Any thoughts?
Edit: Solved is not 100% right since I'm not sure what I did. but I rebuilt everything, so I guess that has something to do with it, even though it failed a couple of times after that too. _________________ "Some smart quote" -Some cult guy
Last edited by Tuxido on Sat Oct 11, 2008 10:00 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9893 Location: almost Mile High in the USA
|
Posted: Thu Oct 09, 2008 8:07 pm Post subject: |
|
|
Usually illegal instruction is due to compiling with the wrong CFLAGS targeting the wrong architecture, what arch did you build your dhcpcd with? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tuxido n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/22606390848f040cdb2a9b.jpg)
Joined: 07 Apr 2008 Posts: 57 Location: Trondheim, Norway
|
Posted: Sat Oct 11, 2008 5:51 am Post subject: |
|
|
I'm on x86, a pentium 4 M
CFLAGS ="-O2 -mtune="686" -pipe"
I also had march="prescott", but I removed it and rebuilt everything.
I found a possible source to the problem, or a problem at least.
My dhcpcd.sh is outdated, I looked through it and it passes alot of arguments to dhcpcd which it no longer supports. (My dhcpcd is 4.0.2)
I guess I should try to update the dhcpcd.sh, but how do I do that? _________________ "Some smart quote" -Some cult guy |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tuxido n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/22606390848f040cdb2a9b.jpg)
Joined: 07 Apr 2008 Posts: 57 Location: Trondheim, Norway
|
Posted: Sat Oct 11, 2008 9:58 am Post subject: |
|
|
Now it works, I don't know why.
The only thing I did was trying [dhcpcd eth0] again and it worked, and suddenly it worked upon booting too. Perhaps the elves stealing my socks decided to be nice, I don't know. _________________ "Some smart quote" -Some cult guy |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|