Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Inspiron 8200 crashes when display is closed/wireless-tools
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Mon May 26, 2003 8:26 pm    Post subject: Inspiron 8200 crashes when display is closed/wireless-tools Reply with quote

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
View user's profile Send private message
green sun
Guru
Guru


Joined: 04 Nov 2002
Posts: 325
Location: Wista, MA

PostPosted: Tue May 27, 2003 5:11 pm    Post subject: Re: Inspiron 8200 crashes when display is closed/wireless-to Reply with quote

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
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Tue May 27, 2003 5:35 pm    Post subject: Hm Reply with quote

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
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Tue May 27, 2003 5:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
green sun
Guru
Guru


Joined: 04 Nov 2002
Posts: 325
Location: Wista, MA

PostPosted: Wed May 28, 2003 1:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Arzie
n00b
n00b


Joined: 23 Oct 2002
Posts: 51
Location: Enschede, The Netherlands

PostPosted: Wed May 28, 2003 2:13 pm    Post subject: Reply with quote

Quote:
Maybe changing that to -march=pentium3 -mcpu=pentium4 will help.


You mean this, I think ;)
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Wed May 28, 2003 2:43 pm    Post subject: thanks Reply with quote

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
View user's profile Send private message
Arzie
n00b
n00b


Joined: 23 Oct 2002
Posts: 51
Location: Enschede, The Netherlands

PostPosted: Wed May 28, 2003 2:51 pm    Post subject: Re: thanks Reply with quote

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
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Wed May 28, 2003 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Arzie
n00b
n00b


Joined: 23 Oct 2002
Posts: 51
Location: Enschede, The Netherlands

PostPosted: Wed May 28, 2003 3:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Arzie
n00b
n00b


Joined: 23 Oct 2002
Posts: 51
Location: Enschede, The Netherlands

PostPosted: Wed May 28, 2003 3:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Wed May 28, 2003 4:13 pm    Post subject: here, Reply with quote

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
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Wed May 28, 2003 4:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Arzie
n00b
n00b


Joined: 23 Oct 2002
Posts: 51
Location: Enschede, The Netherlands

PostPosted: Wed May 28, 2003 5:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Arzie
n00b
n00b


Joined: 23 Oct 2002
Posts: 51
Location: Enschede, The Netherlands

PostPosted: Wed May 28, 2003 5:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Arzie
n00b
n00b


Joined: 23 Oct 2002
Posts: 51
Location: Enschede, The Netherlands

PostPosted: Fri May 30, 2003 4:15 am    Post subject: Reply with quote

The ebuild has been fixed:
https://bugs.gentoo.org/show_bug.cgi?id=21818

Works great here, I installed it over my manually installed version.
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Fri May 30, 2003 4:54 am    Post subject: Great Reply with quote

Here it compiles, too.

Thanks to all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum