Bug#762566: nvidia-kernel-dkms: Error shown during dkms installation: sed: -e expression #1, char 6: unknown command: `m'

2014-09-24 Thread Vincent Cheng
reassign 762566 dkms
forcemerge 758485 762566
thanks

On Tue, Sep 23, 2014 at 2:01 AM, Diederik de Haas didi.deb...@cknow.org wrote:
 On Tuesday 23 September 2014 10:54:23 Ralf Jung wrote:
 sed: -e expression #1, char 6: unknown command: `m'

 I get that error too with each dkms invocation, which leads me to believe it's
 a dkms problem instead of nvidia-kernel-dkms

Agreed. Reassigning bug to dkms and merging with #758485.

Regards,
Vincent


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762566: nvidia-kernel-dkms: Error shown during dkms installation: sed: -e expression #1, char 6: unknown command: `m'

2014-09-23 Thread Ralf Jung
Package: nvidia-kernel-dkms
Version: 340.32-1
Severity: normal

Dear Maintainer,

when building the NVidia dkms module, a sed error is shown.

I can reproduce the problem by first uninstalling the module using dkms 
remove,
and then running the autoinstaller:

 QUOTE BEGIN 
$ sudo dkms remove -m nvidia-current -v 340.32 -k 3.16.3 -a x86_64
[...]
$ sudo /usr/lib/dkms/dkms_autoinstaller start 3.16.3
[] dkms: running auto installation service for kernel 3.16.3:
Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area
env CCACHE_DISABLE=1 make -C . SYSSRC=/lib/modules/3.16.3/build; env 
CCACHE_DISABLE=1 make -C uvm SYSSRC=/lib/modules/3.16.3/build
cleaning build area

DKMS: build completed.

nvidia-current.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.3/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.3/updates/dkms/

sed: -e expression #1, char 6: unknown command: `m'
depmod

DKMS: install completed.
 QUOTE END 

When I do the same with bbswitch, there's no error.

Kind regards
Ralf

-- Package-specific info:
uname -a:
Linux r-schnelltop 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86_64 
GNU/Linux

/proc/version:
Linux version 3.16-2-amd64 (debian-ker...@lists.debian.org) (gcc version 4.8.3 
(Debian 4.8.3-11) ) #1 SMP Debian 3.16.3-2 (2014-09-20)

lspci 'VGA compatible controller [0300]':
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 
00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:212e]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 48
Region 0: Memory at dc40 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at b000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at e000 [size=64]
Expansion ROM at unassigned [disabled]
Capabilities: access denied
Kernel driver in use: i915

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 
630M] [10de:0de9] (rev ff) (prog-if ff)
!!! Unknown header type 7f

dmesg:
[0.00] AGP: No AGP bridge found
[0.00] AGP: Checking aperture...
[0.00] AGP: No AGP bridge found
[0.00] Console: colour VGA+ 80x25
[0.514337] vgaarb: device added: 
PCI::00:02.0,decodes=io+mem,owns=io+mem,locks=none
[0.514341] vgaarb: device added: 
PCI::01:00.0,decodes=io+mem,owns=none,locks=none
[0.514342] vgaarb: loaded
[0.514343] vgaarb: bridge control possible :01:00.0
[0.514344] vgaarb: no bridge control possible :00:02.0
[1.133176] Linux agpgart interface v0.103
[1.321981] [drm] Replacing VGA console driver
[1.384683] vgaarb: device changed decodes: 
PCI::00:02.0,olddecodes=io+mem,decodes=none:owns=none
[2.376311] usb 1-1.2: Product: USB 2.0 UVC VGA WebCam
[9.038816] uvcvideo: Found UVC 1.00 device USB 2.0 UVC VGA WebCam 
(13d3:5710)
[9.046859] input: USB 2.0 UVC VGA WebCam as 
/devices/pci:00/:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input22
[   11.063766] bbswitch: Found integrated VGA device :00:02.0: 
\_SB_.PCI0.GFX0
[   11.063770] bbswitch: Found discrete VGA device :01:00.0: 
\_SB_.PCI0.PEGR.GFX0

OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root   22 Sep  2  2013 /etc/alternatives/glx - 
/usr/lib/mesa-diverted
lrwxrwxrwx 1 root root   48 Jul 11  2013 
/etc/alternatives/glx--libGL.so-x86_64-linux-gnu - 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root   48 Jul 11  2013 
/etc/alternatives/glx--libGL.so-x86_64-linux-gnu - 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root   48 Sep  2  2013 
/etc/alternatives/glx--libGL.so.1-i386-linux-gnu - 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root   48 Sep  2  2013 
/etc/alternatives/glx--libGL.so.1-i386-linux-gnu - 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root   50 Sep  2  2013 
/etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu - 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root   50 Sep  2  2013 
/etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu - 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root   22 Jul 11  2013 /etc/alternatives/libGL.so-master 
- /usr/lib/mesa-diverted
lrwxrwxrwx 1 root root   23 Aug 23 16:16 /etc/alternatives/nvidia - 
/usr/lib/nvidia/current

Bug#762566: nvidia-kernel-dkms: Error shown during dkms installation: sed: -e expression #1, char 6: unknown command: `m'

2014-09-23 Thread Diederik de Haas
On Tuesday 23 September 2014 10:54:23 Ralf Jung wrote:
 sed: -e expression #1, char 6: unknown command: `m'

I get that error too with each dkms invocation, which leads me to believe it's 
a dkms problem instead of nvidia-kernel-dkms
-- 
GPG: 0x138E41915C7EFED6

signature.asc
Description: This is a digitally signed message part.