Debian Configuration :: How To Send Make Equivalents To Make-kpkg
Mar 26, 2016
I build and use a custom kernel, and use the nvidia driver. This is on debian stretch.
By default, I build the image and headers packages with this line:
CONCURRENCY_LEVEL=8 nice -n19 ionice -c3 fakeroot make-kpkg --initrd --append-to-version=-something --revision=1 kernel_image kernel_headers
These kernel sources are usually the sources from debian, with a couple of more patches that I add. It appears that for nvidia-driver package versions higher than 352.79-1, the kernel headers/sources need to be prepared with 'make prepare' and 'make prepare scripts'. It's that simple. I concluded this after the nvidia dkms build failed on my custom kernel, but then succeeded after I pointed it to the full sources, but only after running 'make prepare' and 'make prepare scripts' on them. The problem is that this make-kpkg scheme doesn't appear to do this, or if it does, it doesn't properly include in the headers everything that it should.
View 0 Replies
ADVERTISEMENT
May 18, 2010
When I compile a custom kernel with this command: make-kpkg --initrd kernel_image kernel_headers and then install the .deb, there's no initrd in /boot and I have to create it manually. I've thought that the --initrd option should take care about this, but somehow it doesn't.
It behaves like this for about two years at least (since I've compiled my first kernel). Of course, it's no big deal to create it manually, I was just wondering whether do I do anything wrong or whether should I fill a bug report..
View 1 Replies
View Related
Apr 30, 2011
I've getting strange build errors when using make-kpkg with the latest (2.6.39-rc5) vanilla kernel.I'm using the procedure outlined here:
https:[url]....e.g.:
Code:
make oldconfig CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
I'm getting the following build errors:
Code:
Building modules, stage 2.
MODPOST 3053 modules
WARNING: modpost: Found 60 section mismatch(es).To see full details build your kernel with:'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC arch/x86/crypto/aesni-intel.mod.o[code]....
There is even much more error output but it looks like it is basically the same issue.
View 2 Replies
View Related
Oct 18, 2010
For some reason from a fresh installation on Debian (Squeeze), Apt is telling me I no longer need the 'make' package and I can remove it. I find this extremely odd & random given I just built this O.S. Why would Debian want to remove such a package and since this is a fresh installation, is there something I did wrong?
View 4 Replies
View Related
Aug 27, 2010
I configure my system in a long time and now I have a suitable system! But I install all directories in one partition and now I like install again, but I need make an image of my configuration for install from it and after install I don't spend time for again configuration.
View 2 Replies
View Related
Nov 28, 2015
It seems that my network manager may be running in root mode...
For instance in network connections, edit and delete are greyed out. if i click add, i am unable to enter any details. if i run nm-connection-editor as root i am able to make changes.
How can i set it that the normal user can make changes? [managed is set to true in the conf file]
View 6 Replies
View Related
May 19, 2011
I have a wireless router in my room and when people use their WiFi devices in the living room the signal is very weak and really slow, i have a Debian box in the living room that i would like to use as a wireless repeater. i want it to receive the wireless signal from my router and transmit an AP that resembles the one being transmitted by the router is this possible, and how can it be done
View 9 Replies
View Related
Jun 28, 2011
I've got a problem when I try to use to load modules like when I try : modprobe tun It says : FATAL: Could not load /lib/modules/2.6.32-4-pve/modules.dep: No such file or directory I've checked in my filesystem, the directory 2.6.32-4-pve doesn't exist, instead I have 2.6.39.2.110628 So how could I make modprobe look into the right directory ?
View 4 Replies
View Related
Mar 16, 2011
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.
### Partitioning.
# you can specify a disk to partition. The device name can be given in either
# devfs or traditional non-devfs format. For example, to use the first disk
[code]....
View 1 Replies
View Related
Sep 17, 2015
i'm trying to install driver for some PCI device but i have problems with it - when i run it it gives me an error
Code: Select allmake: Entering directory `/lib/modules/2.6.32-5-686/build'
make: *** No rule to make target `modules'. Stop.
make: Leaving directory `/lib/modules/2.6.32-5-686/build'
i've tried to find solution in internets but have no success usually they say that problem is that ppl forget to download kernel-headers and kernel-sources or unpack kernel-sources or make symlink usr/src/linux but i've done it all and the result is the same.i think the root of problem is that `/lib/modules/ 2.6.32-5-686/build' folder is empty but there have to be this RULE, so what i have to do to have it there? my system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686.
View 2 Replies
View Related
May 15, 2010
I have a Dell Mini 9 with a Broadcom wireless adapter. I've had it working for months on Debian Sid, but recently I updated the entire OS to get KDE 4.4 (I also went from a 2.6.30 to a 2.6.32 kernel). Something in that upgrade caused wireless to cease to work properly. The problem is similar to the one described in this thread, but no resolution is mentioned there: viewtopic.php?f=5&t=50892 I've gone through all the steps to install the STA drivers/wl module for it, and it basically appears to be working. Using wicd, I can see all the wireless networks in the area.
The problem occurs when trying to connect. When I try to connect to my WPA wireless network, it eventually fails claiming a bad password. When I turned the wireless network into an unsecured network, it eventually fails claiming it's unable to get an IP. I've also tried at the command line with wpa_supplicant and it initially appears to work but in fact it hasn't. I've also got Kubuntu 10.04 installed on this machine, and it can connect without issue (using the proprietary driver that Ubuntu's hardware driver manager allows one to use).Does anyone know what has caused this? I even tried the earlier kernel, so that's not it.
View 1 Replies
View Related
Oct 22, 2010
I use openvpn to connect otherwise isolated machines, and use samba to share filesystems across the vpn, which works just fine.But I recently discovered that copying files using rsync -e ssh is so much faster than copying from a mounted filesystem - like about 5 times faster.I've got comp-lzo enabled in both server and the client, at least I think I have, the directive is there in both the server.conf and the client.conf files, but how do I check that it's active?Does anyone know if I can make openvpn behave more like rsync, because copying is easier than rsyncing?
View 8 Replies
View Related
Apr 4, 2011
How can I make xterm to use truetype fonts by default,out setting it every time i start it?
View 1 Replies
View Related
May 23, 2011
Trying to build a driver for a TV tuner card. When I enter 'make menuconfig', I get this error:
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
/lib/modules/2.6.32-5-amd64/source/scripts/Makefile.build:44: /lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile'. Stop.
make[2]: *** [scripts_basic] Error 2
Suspect I need another package in addition to linux-headers.
Running Squeeze, amd64, KDE.
View 7 Replies
View Related
Jul 10, 2011
I am running on debian squeeze 6.0.2. I have been using it for the last id say 3 weeks and really am enjoying it.
I generally use transmission-gtk to share files over the internet. Normally I seed torrents at 110-160kb/s for hours at a time. However after messing around with firestarter my upload speed for seeding torrents rarely peaks over 70kb/s. I have purged firestarter with no success of my regular upload speed, and am very confused as to what happened. I also notice sometimes when it will get to about 70kb/s it will immediately drop down to the 20-30kb/s range.
For incoming bittorrent connections I use port 37294. I have set port 37294 to be allowed in my firewall, and forwarded in my router (since purging firestarter did not help I just reinstalled it).
I have also read allowing ports 6881-6889 is important, but I have never done that in my history of using torrents, and I have never experienced a decrease in UL speed like this.
Have I done something incorrect? I have never had this issue on other machines?
View 2 Replies
View Related
Jan 5, 2016
I want fn* keys working for all users in all DE/WM and at tty too. I want it even if nobody logged in. Is it possible? How to set it up?
I mean these keys:
toggle wifikbd backlight +/−screen backlight +/−enable/disable screentoggle screensenable/disable touchpadvolume controls
I understand that some of them may work only with Xorg (e.g. toggle screens), but screen and kbd backlight and volume may work at tty too (because I can change this from tty when xorg is down). I know how to do it all from the console, but I want to bind keys with actions.
E.g. I can change kbd backlight with dbus and attach this action to key in my wm config, but it is not what I want. I want to make it global. I don’t understand which layer may provide the functionality for all users. Now only two keys works as I expect: toggle wifi and toggle touchpad. I haven’t set it up, it works out of the box.
Asus N56VZ, Debian stretch.
Code: Select alluname -a
Linux isquabook 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
View 4 Replies
View Related
Feb 6, 2016
How to make debian desktop full screen in vmware? I am using vmware workstation ...
View 1 Replies
View Related
Apr 18, 2016
I have amd64 Debian Jessie and i386 Debian Jessie installed on my laptop. I wanted to start x86 app that is installed on my x86 OS from my amd64 OS using chroot.
My mounts inside chroot:
Code: Select all/dev/sda7 on / type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /tmp type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda5 on /etc/resolv.conf type ext4 (rw,relatime,errors=remount-ro,data=ordered)
tmpfs on /dev/shm type tmpfs (rw,relatime)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
none on /sys/fs/cgroup type tmpfs (rw,relatime,size=4k,mode=755)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
/dev/sda5 on /var/lib/dbus/machine-id type ext4 (rw,relatime,errors=remount-ro,data=ordered)
sda5 is host OS and sda7 is guest OS
when I start any x86 app I can see "failed to create secure directory (/run/user/1000/pulse) permission denied" how to make pulseaudio to work inside chroot?
also what this command exackly does?
"pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1"
View 2 Replies
View Related
Jan 5, 2010
so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot
View 2 Replies
View Related
Mar 1, 2010
I'm using Debian 5 with Exim 4 on my VPS. My purpose is to make mailboxes for each virtual host on my server. What do I have: 1. Exim is set correctly - receiving mail from [URL]... is successfull. 2. Mail for [URL]... is delivered, and the mail for [URL]... too. But [URL]... is the site written to /etc/hosts (it's localhost), and [URL]... is virtual host. But mail from both boxes writes to /var/mail/mail. Now what do I need: 1. Make mail for [URL]... store in [URL].... and mail for [URL].. store in www/Maildir. 2. Make mailboxes like [URL].... to receive mail by Thunderbird. 3. Set passwords for [URL]... and [URL]... (I don't want to enter my system user/root passwords).
View 2 Replies
View Related
Apr 4, 2010
I am planning to build a server in future. That will be a computer with GNU. It will be a router and file server. It will get the VPN-Internet and share it with all the PCs connected to LAN. There will be Samba for file sharing. And I'm thinking that if I just share some directory on that server with Samba, it will be possible to get access to that dir from VPN. So it's not very safe to do that. Is it possible to prevent access to Samba dir from VPN connection?
View 7 Replies
View Related
Aug 23, 2010
The announcement of several new make scripts in the 2.6.32 release notes is very exciting.1.8. Easy local kernel configuration.Most people uses the kernel shipped by distros - and that's good. But some people like to compile their own kernels from kernel.org, or maybe they like following the Linux development and want to try it. Configuring your own kernel, however, has become a very difficult and tedious task - there're too many options, and some times userspace software will stop working if you don't enable some key option. You can use a standard distro .config file, but it takes too many time to compile all the options it enables.
To make easier the process of configuration, a new build target has been added: make localmodconfig. It runs "lsmod" to find all the modules loaded on the current running system. It will read all the Makefiles to map which CONFIG enables a module. It will read the Kconfig files to find the dependencies and selects that may be needed to support a CONFIG. Finally, it reads the .config file and removes any module "=m" that is not needed to enable the currently loaded modules. With this tool, you can strip a distro .config of all the unuseful drivers that are not needed in our machine, and it will take much less time to build the kernel. There's an additional "make localyesconfig" target, in case you don't want to use modules and/or initrds.
View 1 Replies
View Related
Nov 16, 2010
A tiny Linux kernel patch that makes the desktop incredibly more responsive: [URL]...
View 14 Replies
View Related
Apr 8, 2011
I need to make a minor change to one of the drivers in my 2.6.38 (-sid) kernel. However, I am wondering how best to go about it. Many of the guides on the internet presume one will be using a vanilla source tree and plan on manual configuration.
I am looking for the easiest means of accomplishing a simple recompilation of what I currently have -- with the same configuration and everything else. On Gentoo I usually just do a zcat /proc/config.gz > .config
However am unsure if this is the, correct, Debian way of doing things.
View 4 Replies
View Related
Mar 3, 2010
I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.
View 3 Replies
View Related
Sep 6, 2010
I am trying something a bit tricky.Suppose there is a website URL...Now suppose when i open a file /var/www/ test.php which connects to the above website to gather some info and then allow me to further in the process, i want it to instead direct to a file say /var/www/test_done.php.How do i edit my hosts file for such a scenario? Is there any other better option than using a hosts file ?
View 1 Replies
View Related
Jul 1, 2011
I am making backups and I need to make a cron job that mounts a 2nd local hard drive.
It is not listed in my fstab file and I mount it manually in nautilus (having to type a password). It is designated as /dev/sdb1 and /media/repo when it is mounted. Can I get cron to mount it and then add the password or do I have to add it to fstab?
View 3 Replies
View Related
Jul 30, 2011
I'm trying to make a script that loads at boot and asks for user input before doing it's stuff. So I created a script in /etc/init.d/ following the example given there (skeleton file) and used update-rc.d to make it load before GDM.
But when my script requests user input, init doesn't stop, and goes on loading other services and loads GDM. I have to CTRL+F1 to get to my script. I want my script to pause the init system till it ends doing it's stuff and the the other services can go on loading.
I tried
#X-interactive: true to no avail.
View 1 Replies
View Related
Oct 7, 2010
I am getting an error as below.
How do I resolve the error: make[2]: *** No rule to make target `', needed by `mpg123'.
How can I resolve this error.
View 4 Replies
View Related
Oct 10, 2010
I've been trying for a couple of days now to get the Huawei E1750 to work but have had no luck so far. I've installed the packages usb-modeswitch-1.1.4 and usb-modeswitch-data and have edited the usb-modeswitch.conf to include the following:
DefaultVendor= 0x12d1
DefaultProduct= 0×1446
TargetVendor= 0x12d1
[code]....
View 3 Replies
View Related