DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I'm here because I've been trying to install Debian (from the DVD 1 ( debian-7.1.0-amd64-DVD-1 ), I tried at first to install with the desktop environment, but twice, neither my mouse nor my keyboard (using a laptop here) would respond once in the login manager.
I finally gave up since I would end up using an other window manager than one amongst the choice provided, so i proceeded with a minimal install (just without graphic environment), once the installation was done I tried pinging google but it wouldn't work, so ifconfig -> only the lo interface is here, ifconfig -a, same although while installing my ethernet card was detected and used to set time and download up to date packages, finally tried to load my WiFi card ( modprobe iwlwifi) but i got the this error :
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.2.45/modules.dep.bin'
Note that indeed there is no such directory, I have :
/lib/modules/3.2.0-4-amd64
I tried symlinking so kmod would find the files, but it resulted in an exec format error (architecture related ?)
uname give : Linux debian 3.2.45 #2 SMP Fri May 31 20:14:55 CDT 2013 x86_64 GNU/Linux
lsmod gives nothing
Thanks in advance for reading my post and for any help you can provide
Ps: while installing, debian offered me to choose between 2 kernels :
3.2.45
and 3.2.45-amd64 (or smth like that I didn't take note sorry)
I tried both, same issue. (and what's the difference between them, if anyone knows ?)
I'm not familiar with the 3.2.45 kernel. AFAIK the 3.2.0-4 kernel is the standard kernel in Wheezy right now. It looks to me like something went wrong in the install.
I've got a couple of questions. How do you know that iwlwifi is the correct driver for your wireless device? If it really is, did you install the corresponding firmware package? See http://wiki.debian.org/iwlwifi
Did you see any errors during the installation? Did you confirm that the DVD iso file was correctly downloaded (eg check md5sum).Is there anything else we should know?
I second that the installation of the kernel went wrong somewhere. Despite of beeing the right module for your wifi it should either get loaded or not but not throw that error about debmod. I just modprobed iwlwifi on a machine and it just got loaded. Also I don't have any wifi card inside the system. So we first should get that debmod thing straight before anything else.
As you have a working inet connection. Can you please just reinstall the kernel?
Code:
apt-get install --reinstall linux-image-3.2.0
Do a apt-cache search 'linux-image' for some valid options.
The difference between the 3.2.45 kernel and the 3.2.45-amd64 one is that the first is for i686 or even older system. Just 32bit CPU's and the one with -amd at the end stands for 64bit system. There is also a Intel or Itanium 64 bit package but thats for the itanium cpu's which reside in some server hardware from intel as far as I know. For consumer hardware with a 64bit cpu the -amd64 package is the right one.
Hello and thanks for your answers, i just md5sumed debian-7.1.0-amd64-dvd-1.iso
and the sum matches the one in the file "MD5SUMS" on the debian website, I cp debian.is /dev/sdc (which is a usb drive) (twice, once with the full dvd, it did this problem so i tried with the minimal over the net install)
About my wireless device it's a (from lspci | grep centrino) :
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
(the ethernet card is :
Ethernet controller: Marvell Technology Group Ltd. 88E8057 PCI-E Gigabit Ethernet Controller)
(the installation asked me whether i had the firmware, but i didn't, so the modprobe wouldn't have worked but i gave it a try since my ethernet card wasn't accessible)
About my working connexion it's not on debian sorry, I have no NIC on ifconfig
and concerning the hardware, it's a laptop, VPCF13 (2nd i7 gen), uh.. i don't know what other details I can give you about it sorry, and finally, the installation didn't appear to go wrong (at least from what it said)
the weirdest thing is that the network worked while installing, it downloaded packages (when i choose to select the mirror)
Tell me if you need to know anything (won't answer for 13h, going to work now)
thanks again for your help
Edit : though i'd grep the logs for klib , the result :
dpkg.log:2013-07-27 21:54:48 install libklibc:amd64 <aucun> 2.0.1-3.1
dpkg.log:2013-07-27 21:54:48 status half-installed libklibc:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:48 status unpacked libklibc:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:48 status unpacked libklibc:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:48 install klibc-utils:amd64 <aucun> 2.0.1-3.1
dpkg.log:2013-07-27 21:54:48 status half-installed klibc-utils:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:48 status unpacked klibc-utils:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:49 status unpacked klibc-utils:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:50 configure libklibc:amd64 2.0.1-3.1 <aucun>
dpkg.log:2013-07-27 21:54:50 status unpacked libklibc:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:50 status half-configured libklibc:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:50 status installed libklibc:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:50 configure klibc-utils:amd64 2.0.1-3.1 <aucun>
dpkg.log:2013-07-27 21:54:50 status unpacked klibc-utils:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:50 status half-configured klibc-utils:amd64 2.0.1-3.1
dpkg.log:2013-07-27 21:54:50 status installed klibc-utils:amd64 2.0.1-3.1
<aucun> means "none" in french
Okey now i greped for half-installed and half-configure, i'm not gonna post it because the list of both is a mile and a half long, I guess it means this install is broken, can anyone confirm ?
Last edited by fastghost93; 07-30-2013 at 12:48 AM.
As you have a working inet connection. Can you please just reinstall the kernel?
Code:
apt-get install --reinstall linux-image-3.2.0
Do a apt-cache search 'linux-image' for some valid options.
If it is was is needed, is there a way (since even the eth0 isn't here) to get the package from an other distro (say slackware) or even windows and reinstall it ?
Quote:
Originally Posted by zhjim
The difference between the 3.2.45 kernel and the 3.2.45-amd64 one is that the first is for i686 or even older system. Just 32bit CPU's and the one with -amd at the end stands for 64bit system. one.
I thought that since i had downloaded the 64bit dvd i would only be given the choice for 64b arch,I mean it's weird to me to, would someone ever install the kernel for 32b ?
If it is was is needed, is there a way (since even the eth0 isn't here) to get the package from an other distro (say slackware) or even windows and reinstall it ?
Yes, you can just download the the .deb from http://packages.debian.org/wheezy/li...-3.2.0-4-amd64 using another machine and copy it across on a usb stick. However, presumably it is already on your dvd. Is there a line for the dvd in your /etc/apt/sources.list file? If not you can add it using apt-cdrom. Eg as root
Code:
apt-cdrom add
Quote:
Originally Posted by fastghost93
I thought that since i had downloaded the 64bit dvd i would only be given the choice for 64b arch,I mean it's weird to me to, would someone ever install the kernel for 32b ?
I don't think it is a 32 bit kernel. The string "3.2.45" refers to the upstream kernel source version not the binary Debian package version (I overlooked particular fact in my earlier post).
Hello and sorry for the delay, I tried what you said (reinstall the kernel) :
Preparing to replace linux-image-3.2.0-4-amd64 3.2.46-1 (using .../linux-image-3.2.0-4-amd64_3.2.46-1_amd64.deb) ...
Unpacking replacement linux-image-3.2.0-4-amd64 ...
Setting up linux-image-3.2.0-4-amd64 (3.2.46-1) ...
It went through fine but it didn't change anything, I just don't understand why the directory for the modules is 3.2.0-4-amd64, what is it on your system ? the version of the kernel, or the name of the kernel package ?
I mean which is wrong,is libkmod searching in the wrong place, or is the directory name inappropriately ? And even if the name is wrong, why won't it run with a sym link
rfkill: version magic '3.2.0-4-amd64 SMP mod_unload modversions ' should be '3.2.45 SMP mod_unload
ok I checked https://wiki.debian.org/iwlwifi and confirmed that iwlwifi is the correct driver for your card. So, I ask again have you installed the firmware package firmware-iwlwifi? This needs to be confirmed before proceeding any further with getting the wireless to work.
Regarding your wired device, it looks like the sky2 driver is what you need. AFAIK, with that module it should just work.
Hello, and thanks for your answer I installed this package firmware-iwlwifi_0.36+wheezy.1_all.deb, which installed correctly , however the problem still remains, it says :
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.2.45/modules.dep.bin'
like I said at the beginning of the post, libkmod doesn't look in the right place
Not sure but I guess libkmod uses the name of the kernel to find the module files. So the output of uname -a should lead you to where the dep file should reside.
Just for reference this is the structure of /lib/modules on my wheezy installation
Hello again and thanks for trying to help me, I finally figured out it wasn't something wrong with debian when i tried instaling archlinux which had the same probleme, the problem was that I had misconfigured lilo which was using the kernel from slackware, I should have said I had not installed grub and that I was dualbooting, sorry !
thanks again for all those who tried to help me or just took the time to read the thread !
I'll mark it as solved hoping it'll help anyone doing stupid mistakes like me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.