On Tuesday, 13. Sep 2016, 08:08:39 -0400, Michael Orlitzky wrote:
> On 09/13/2016 04:23 AM, Bertram Scharpf wrote:
> > after suspend, my wlan is dead and it cannot be restarted....
> 
> I had this same problem with the ath5k driver (still do, I bet)
> on my Thinkpad x61s. What happens if you run "sudo rfkill list"
> after you resume from suspend? Does it show that the wireless is
> "hard blocked"?

First of all:

The rfkill install interferes with Git!

Error log:


>>> Compiling source in 
>>> /usr/portage/tmp/portage/net-wireless/rfkill-0.5/work/rfkill-0.5 ...
make -j2 V=1 
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -W
error-implicit-function-declaration -c -o rfkill.o rfkill.c
./version.sh version.c
 * ACCESS DENIED:  open_wr:      /usr/portage/.git/index.lock
rfkill.c: In function ‘get_name’:
rfkill.c:83:2: warning: ignoring return value of ‘read’, declared with 
attribute warn_unused_result [-Wunused-result]
  read(fd, name, sizeof(name) - 1);
  ^
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -W
error-implicit-function-declaration -c -o version.o version.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed rfkill.o version.o  -o rfkill
>>> Source compiled.
 * --------------------------- ACCESS VIOLATION SUMMARY 
---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-10986.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/portage/.git/index.lock
A: /usr/portage/.git/index.lock
R: /usr/portage/.git/index.lock
C: git update-index --refresh --unmerged 
 * 
--------------------------------------------------------------------------------

>>> Failed to emerge net-wireless/rfkill-0.5, Log file:

>>>  '/usr/portage/tmp/portage/net-wireless/rfkill-0.5/temp/build.log'

I helped myself by renaming the .git directory, but that's
only a workaround.

How can I fix this? Should I report this?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de

Reply via email to