Re: Problem with kmod 4 and 'modprobe squashfs'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On venerdì 20 gennaio 2012 15:48:51 Lucas De Marchi wrote:
> On Fri, Jan 20, 2012 at 12:25 PM, Lucas De Marchi
> 
> <lucas.demarchi@xxxxxxxxxxxxxx> wrote:
> > On Fri, Jan 20, 2012 at 10:26 AM, Silvan Calarco
> > 
> > <silvan.calarco@xxxxxxxxxxxx> wrote:
> >> On giovedì 19 gennaio 2012 19:47:23 Lucas De Marchi wrote:
> >>> On Thu, Jan 19, 2012 at 4:16 PM, Silvan Calarco
> >>> 
> >>> <silvan.calarco@xxxxxxxxxxxx> wrote:
> >>> > On giovedì 19 gennaio 2012 18:27:47 Lucas De Marchi wrote:
> >>> >> Hi, Silvan
> >>> >> 
> >>> >> [ CC'ing linux-modules@xxxxxxxxxxxxxxx that is kmod's mailing list ]
> >>> >> 
> >>> >> On Thu, Jan 19, 2012 at 2:52 PM, Silvan Calarco
> >>> >> 
> >>> >> <silvan.calarco@xxxxxxxxxxxx> wrote:
> >>> >> > Hello,
> >>> >> > I'm trying to migrate our openmamba live media from using
> >>> >> > module-init-tools to kmod (version 4) but I'm currently seeing a
> >>> >> > strange problem which I can't understand.
> >>> >> > In short kmod's modprobe only when used from the initramfs (dracut
> >>> >> > 14) won't load the squashfs module with 'modprobe squashfs' but
> >>> >> > it does with 'modprobe squashfs.ko'. The strange thing is that
> >>> >> > with random other modules the behaviour is as expected, e.g.
> >>> >> > 'modprobe reiserfs' works. I could not find any difference in
> >>> >> > depmod files configuration for squashfs and reiserfs, neither
> >>> >> > anything particular is set in /etc/modprobe.* files.
> >>> >> > 
> >>> >> > Here are the results of some tests that might be useful:
> >>> >> > 
> >>> >> > #modprobe -v reiserfs
> >>> >> > insmod /lib/modules/3.0mamba/kernel/fs/reiserfs/reiserfs.ko
> >>> >> > #modprobe -v squashfs
> >>> >> > insmod //squashfs
> >>> >> > #modprobe -v squashfs.ko
> >>> >> > insmod /lib/modules/3.0mamba/kernel/fs/squashfs/squashfs.ko
> >>> >> 
> >>> >> How did you generate it (with module-init-tools or with kmod)?
> >>> > 
> >>> > With kmod.
> >>> > 
> >>> >> Could
> >>> >> you attach your /lib/modules/3.0mamba/modules.dep ?
> >>> > 
> >>> > Here it is.
> >>> 
> >>> You attached the file from your system, not from the iniramfs, right?
> >> 
> >> Yes, altough apparently there is no difference at least for the
> >> squashfs.ko line.
> >> 
> >>> If it's not too big, please attach the whole initramfs or put it
> >>> somewhere else.
> >> 
> >> You can download it from here: http://www.mambasoft.it/temp/initrd.gz.
> >> This initrd is taken from the nightly ISO snapshot which can be
> >> downloaded from here:
> >> http://www.openmamba.org/distribution/media/livecd-gnome.html
> >> 
> >> On the page there is also a video preview of the ISO boot process.
> > 
> > Did you compile with --enable-debug?
> 
> Ahn, sorry. I forgot modprobe sets the logging level itself. Could you
> run instead the following command (yeah, there are 8 "v")?
> 
> modprobe -vvvvvvvv squashfs

Ok, new screenshot attached. There is a extra "use mmapped index" line in the 
failing case which maybe helps to find the clue.
Sorry, I didn't have a lot of time today, but now I'm going to join the irc 
channel.

Thanks,
Silvan

-- 
mambaSoft di Calarco Silvan
Web: http://www.mambasoft.it
 
mambaSoft Store @ http://www.mambastore.it
openmamba GNU/Linux development @ http://www.openmamba.org

Attachment: kmod-debug-2.png
Description: PNG image


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux