View previous topic :: View next topic |
Author |
Message |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Mon May 26, 2003 8:26 pm Post subject: Inspiron 8200 crashes when display is closed/wireless-tools |
|
|
Hello,
I've got two problems which I can't handle on my own. The first is a problem
with the wireless-tool. When I want to emerge and compile it, it fails with
the following error:
Code: |
root@inspiron include # emerge wireless-tools
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/wireless-tools-26_pre8 to /
>>> md5 src_uri ;-) wireless_tools.26.pre8.tar.gz
>>> Unpacking source...
>>> Unpacking wireless_tools.26.pre8.tar.gz to
/var/tmp/portage/wireless-tools-26_pre8/work
>>> Source unpacked.
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer -I
/usr/src/linux/include -c iwlib.c
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer -I
/usr/src/linux/include -fPIC -c -o iwlib.so iwlib.c
gcc: No such file or directory
gcc: No such file or directory
gcc: no input files
gcc: no input files
/bin/sh: line 1: 01m: command not found
/bin/sh: line 1: 01m: command not found
make: *** [iwlib.o] Error 127
make: *** Waiting for unfinished jobs....
make: *** [iwlib.so] Error 127
!!! ERROR: net-wireless/wireless-tools-26_pre8 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
|
I tried it with different versions of wireless-tools, but this has no effect
on the error.
The second problem is:
When I close the display of my Notebook (Dell Inspiron 8200) and open it
again, the display doesn't turn on again. It stays black. Commands aren't
recognized, too. The only thing I can do is to power off the notebook, and
that often results in errors in the file system.
Before I compiled a new kernel this problem occured only several times, but
now it happens always... When I compiled a new kernel I didn't touch the
APM-options (APM is enabled).
So, what can I do?
Infos of my System:
gentoo-sources-2.4.20-r5
Dell Inspiron 8200
Thanks,
Tassilo Horn |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
green sun Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/404567313dc676168338d.jpg)
Joined: 04 Nov 2002 Posts: 325 Location: Wista, MA
|
Posted: Tue May 27, 2003 5:11 pm Post subject: Re: Inspiron 8200 crashes when display is closed/wireless-to |
|
|
tassilo80 wrote: | Hello,
I've got two problems which I can't handle on my own.
The second problem is:
When I close the display of my Notebook (Dell Inspiron 8200) and open it
again, the display doesn't turn on again. It stays black. Commands aren't
recognized, too. The only thing I can do is to power off the notebook, and
that often results in errors in the file system.
Before I compiled a new kernel this problem occured only several times, but
now it happens always... When I compiled a new kernel I didn't touch the
APM-options (APM is enabled).
So, what can I do?
Infos of my System:
gentoo-sources-2.4.20-r5
Dell Inspiron 8200
Thanks,
Tassilo Horn |
I'll try to tackle the second. I have an Insp. 8100 & I disabled *all* the power management stuff in the kernel and I did so in the bios (F2 @ startup). Try disabling it in the BIOS first & see if that helps. If not, then remove it from the kernel as well. I dont have the laptop here, so I cant check the kernel options, but I know I turned it all off in the BIOS, because I was having exactly this problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Tue May 27, 2003 5:35 pm Post subject: Hm |
|
|
Hello,
I tried disabling Power Managment in the BIOS when I had BIOS A08. This didn't have an effect on the problem. Now i have BIOS A10, and I'll try it again.
I'll post if it works then.
Greets,
Tassilo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jimbow Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/895921573e6778c568bfb.gif)
Joined: 18 Feb 2003 Posts: 597 Location: Silver City, NM
|
Posted: Tue May 27, 2003 5:38 pm Post subject: |
|
|
I am able to emerge wireless-tools on my i8200 with no problems. I am using: Code: | CFLAGS="-march=pentium3 -mcpu=pentium4 -Os -fomit-frame-pointer -pipe" |
I noticed that you are using march=pentium4 which has been known to cause problems. Maybe changing that to -march=pentium4 -mcpu=pentium4 will help. _________________ After Perl everything else is just assembly language. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
green sun Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/404567313dc676168338d.jpg)
Joined: 04 Nov 2002 Posts: 325 Location: Wista, MA
|
Posted: Wed May 28, 2003 1:17 pm Post subject: |
|
|
In the bios of my Insp. 8100 I have all Power Management disabled but have Display Close Active for both Battery & AC. Everything else on that BIOS page is disabled. I also have PM disabled in the BIOS (my lap top is usually plugged in & I have an extra battery). Hope that helps. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Arzie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Oct 2002 Posts: 51 Location: Enschede, The Netherlands
|
Posted: Wed May 28, 2003 2:13 pm Post subject: |
|
|
Quote: | Maybe changing that to -march=pentium3 -mcpu=pentium4 will help. |
You mean this, I think ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Wed May 28, 2003 2:43 pm Post subject: thanks |
|
|
Disabling APM in the BIOS works fine. Now I can close the display without killing the system.
I'll try to compile wireless-tools without P4-opt.
What does -Os mean in your CFLAGS? I use -O3 now.
Greetings,
Tassilo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Arzie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Oct 2002 Posts: 51 Location: Enschede, The Netherlands
|
Posted: Wed May 28, 2003 2:51 pm Post subject: Re: thanks |
|
|
tassilo80 wrote: | I'll try to compile wireless-tools without P4-opt. |
Doesn't work for me. I use march=p3 mcpu=p4, but it gives me the same error for all the versions of the package.
The problem rises in the compile-part of the emerge-process.
tassilo80 wrote: |
What does -Os mean in your CFLAGS? I use -O3 now.
|
Optimize for size. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Wed May 28, 2003 3:10 pm Post subject: |
|
|
Quote: |
Doesn't work for me. I use march=p3 mcpu=p4, but it gives me the same error for all the versions of the package.
The problem rises in the compile-part of the emerge-process.
|
The same with me. It fails the same way I quoted in my first message. There we have:
Code: |
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer -I
/usr/src/linux/include -c iwlib.c
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer -I
/usr/src/linux/include -fPIC -c -o iwlib.so iwlib.c
gcc: No such file or directory
gcc: No such file or directory
gcc: no input files
gcc: no input files
/bin/sh: line 1: 01m: command not found
/bin/sh: line 1: 01m: command not found
make: *** [iwlib.o] Error 127
make: *** Waiting for unfinished jobs....
make: *** [iwlib.so] Error 127
|
Does it fail, because there are no iwlib.c and iwlib.so? I searched all above /usr/src/ but there are no such files... I use the vanilla-sources, but tried it with gentoo-sources, too.
Greets,
Tassilo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Arzie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Oct 2002 Posts: 51 Location: Enschede, The Netherlands
|
Posted: Wed May 28, 2003 3:53 pm Post subject: |
|
|
Code: |
gcc -march=pentium3 -O3 -pipe -mcpu=pentium4 -I /usr/src/linux/include -c iw
lib.c
gcc -march=pentium3 -O3 -pipe -mcpu=pentium4 -I /usr/src/linux/include -fPIC
-c -o iwlib.so iwlib.c
gcc: o such file or directory
gcc: no input files
/bin/sh: line 1: 01m: command not found
make: *** [iwlib.o] Error 127
gcc: o such file or directory
gcc: no input files
make: *** Waiting for unfinished jobs....
/bin/sh: line 1: 01m: command not found
make: *** [iwlib.so] Error 127
!!! ERROR: net-wireless/wireless-tools-26_pre9 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
|
It's a bit different from your outputs. Mine switches to yellow text after the first 'mcpu=pentium4'. I suppose that has something to do with the '01m: command not found', because that could be part of an ANSI-command.
Also, mine has only 1 'not found'-error.
Code: |
# gcc " "
gcc: : No such file or directory
gcc: no input files
|
This is different from our 'no such file'-message, because we see a ':' before the message, where the other one doesn't show one. So I think there is some corruption in the commands somewhere, but the ebuild looks clean to me... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Arzie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Oct 2002 Posts: 51 Location: Enschede, The Netherlands
|
Posted: Wed May 28, 2003 3:59 pm Post subject: |
|
|
Code: | gcc: o such file or directory |
Another strange effect, in the output, it says 'No such', so there is a backspace-character or something somewhere.. Very weird!
By the way: a normal 'make' in the temporary directory works fine, so a manual install is possible until this problem is resolved.
Last edited by Arzie on Wed May 28, 2003 4:13 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Wed May 28, 2003 4:13 pm Post subject: here, |
|
|
the
Code: |
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer
|
is white, and all what comes after is yellow, starting with
Code: |
-I /usr/src/linux/include -c iwlib.c
|
and so on. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dirtboy Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/598368791405629adde9ae.jpg)
Joined: 12 Dec 2002 Posts: 263 Location: Pascagoula, MS
|
Posted: Wed May 28, 2003 4:16 pm Post subject: |
|
|
I'm having trouble too, but the source of the problem is that I am missing iwlib.c and have no idea how to get it. I have searched my HD and it just isn't there. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Arzie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Oct 2002 Posts: 51 Location: Enschede, The Netherlands
|
Posted: Wed May 28, 2003 5:11 pm Post subject: |
|
|
dirtboy wrote: | I'm having trouble too, but the source of the problem is that I am missing iwlib.c and have no idea how to get it. I have searched my HD and it just isn't there. |
Hmm, it is in the wireless-tools archive in /usr/portage/distfiles. Should be extracted to /var/tmp/portage/wireless-tools-blah/work/wireless.26 or something. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Arzie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Oct 2002 Posts: 51 Location: Enschede, The Netherlands
|
Posted: Wed May 28, 2003 5:53 pm Post subject: |
|
|
For your info: I just did a manual install by issuing a 'make' in the portage tempdir. Then an 'emerge --inject' and I was able to emerge kismet. I don't have a WLAN yet, but it seems so work fine. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Arzie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Oct 2002 Posts: 51 Location: Enschede, The Netherlands
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tassilo80 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17222305741d30fe03c674.jpg)
Joined: 26 Mar 2003 Posts: 346 Location: Koblenz, Germany
|
Posted: Fri May 30, 2003 4:54 am Post subject: Great |
|
|
Here it compiles, too.
Thanks to all. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|