• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Modprobe errors with Debian 2.6.32.9  (Read 1236 times)
jhalpin
Newbie
*

Karma: 0
Posts: 4


View Profile
« on: April 18, 2010, 11:28:50 AM »

I installed Debian squeeze with the installer a couple days ago which seemed to go fine. I noticed a problem when trying to setup cups however. I was getting the following error when starting it up.

"modprobe: FATAL: Could not load /lib/modules/2.6.32.9/modules.dep: No such file or directory"

After checking /var/log/messages, it turns out that modprobe was failing a lot, probably every time it was run.

As it turns out there really is no such directory, only /lib/modules/2.6.32-3-kirkwood. After googling around a bit it looks like the kirkwood kernel is basically a 2.6.32.9 kernel with mods (?).  I hope that's right anyway because I think I fixed it by creating a symlink to the existing directory in /lib/modules named 2.6.32.9. I'm not seeing any more errors in /var/log/messages.
Logged

tbm
Full Member
***

Karma: 7
Posts: 121



View Profile WWW
« Reply #1 on: April 18, 2010, 03:32:05 PM »

Sounds like you installed a kernel from somewhere else without its modules.  Or maybe you're still loading the kernel from flash and booting Debian from disk?

What does
Code:
uname -a
say?
Logged

jhalpin
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #2 on: April 18, 2010, 06:02:06 PM »

Sounds like you installed a kernel from somewhere else without its modules.  Or maybe you're still loading the kernel from flash and booting Debian from disk?

What does
Code:
uname -a
say?


Linux plug8g 2.6.32.9 #3 PREEMPT Fri Feb 26 13:11:43 MST 2010 armv5tel GNU/Linux

I installed this on a blank SD card, but I'm not sure where I got this installer from (I tried a few different times). Looked like the installer pulled down a kernel for it, would I have been using the wrong installer maybe?

I don't think I'm using anything from flash (I'm new to this kind of system though). The output of mount is

/dev/mmcblk0p2 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mmcblk0p1 on /boot type ext2 (rw)

Thanks

Joe
Linux plug8g 2.6.32.9 #3 PREEMPT Fri Feb 26 13:11:43 MST 2010 armv5tel GNU/Linux

I installed this on a blank SD card, but I'm not sure where I got this installer from (I tried a few different times). Looked like the installer pulled down a kernel for it, would I have been using the wrong installer maybe?

Thanks

Joe
« Last Edit: April 18, 2010, 06:08:09 PM by jhalpin » Logged

tbm
Full Member
***

Karma: 7
Posts: 121



View Profile WWW
« Reply #3 on: April 18, 2010, 09:48:22 PM »

2.6.32.9 is not a kernel from the Debian archive.  A Debian kernel has a number like 2.6.32-X-kirkwood.  Given that the modules for 2.6.32-3-kirkwood are installed, it sounds like you used the Debian installer to install but you're not running the kernel from Debian.

Run "printenv" in uboot to see what the boot commands are.
Logged

jhalpin
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #4 on: April 19, 2010, 07:21:45 AM »

2.6.32.9 is not a kernel from the Debian archive.  A Debian kernel has a number like 2.6.32-X-kirkwood.  Given that the modules for 2.6.32-3-kirkwood are installed, it sounds like you used the Debian installer to install but you're not running the kernel from Debian.

Run "printenv" in uboot to see what the boot commands are.


Ok, I guess I don't know what I'm doing here. I assumed the installer would pull down the right kernel.

Here's the entire output, thanks for your help.

loads_echo=0
rootpath=/mnt/ARM_FS/
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
ethaddr=00:50:43:01:6D:FA
run_diag=no
filesize=2b1288
fileaddr=2000000
netmask=255.255.255.0
ipaddr=192.168.1.3
serverip=192.168.1.75
arcNumber=2097
bootargs=console=ttyS0,115200=mtdparts=nand_mtd:0xa0000@0x0(u-boot),0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) root=/dev/mmcblk0p2 rootwait rw
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
Logged

tbm
Full Member
***

Karma: 7
Posts: 121



View Profile WWW
« Reply #5 on: April 19, 2010, 12:59:22 PM »

The installer installs the right kernel but you didn't configure u-boot correctly.  Please take a look at http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html again and search for "bootcmd" (or the paragraph starting with "When the installation is done, you have to configure u-boot).
Logged

jhalpin
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #6 on: April 19, 2010, 03:02:44 PM »

The installer installs the right kernel but you didn't configure u-boot correctly.  Please take a look at http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html again and search for "bootcmd" (or the paragraph starting with "When the installation is done, you have to configure u-boot).


Rats, I couldn've sworn I did that. I probably undid it fiddling with something else. Sorry, but thanks for the help, it's ok now.

Logged

Pages: [1]
Print
Jump to: