Re: [arch-general] mounting a data dvd fails

2009-09-14 Thread JM
On Mon, Sep 14, 2009 at 7:17 PM, Alessandro Doro  wrote:
> And which package owns 
> /lib/modules/2.6.30-ARCH/kernel/lib/zlib_inflate/zlib_inflate.ko?
>
> $ zgrep -i ZLIB_INFLATE /proc/config.gz
> CONFIG_ZLIB_INFLATE=y
>
> shows that ZLIB_INFLATE is not a module.
> Did you left something from a previous (custom) kernel build?
> A full depmod should be able to fix the problem.
>

Indeed, there seem to be some leftovers from a previous kernel build.
However, depmod -a did not fix the issue, modprobe still reports:
FATAL: Error inserting isofs
(/lib/modules/2.6.30-ARCH/kernel/fs/isofs/isofs.ko): Invalid module
format

How should I go about reverting /lib/modules to the default state?

Thanks for your support.
JM


Re: [arch-general] mounting a data dvd fails

2009-09-14 Thread Alessandro Doro
On Mon, Sep 14, 2009 at 05:35:39PM +0200, JM wrote:
> $modprobe -v isofs
> insmod /lib/modules/2.6.30-ARCH/kernel/lib/zlib_inflate/zlib_inflate.ko
> WARNING: Error inserting zlib_inflate
> (/lib/modules/2.6.30-ARCH/kernel/lib/zlib_inflate/zlib_inflate.ko):
> Invalid module format

And which package owns 
/lib/modules/2.6.30-ARCH/kernel/lib/zlib_inflate/zlib_inflate.ko?

$ zgrep -i ZLIB_INFLATE /proc/config.gz 
CONFIG_ZLIB_INFLATE=y

shows that ZLIB_INFLATE is not a module.
Did you left something from a previous (custom) kernel build?
A full depmod should be able to fix the problem.


Re: [arch-general] mounting a data dvd fails

2009-09-14 Thread Damjan Georgievski
>> Looks like your module-init-tools is either outdated or damaged. Do the
>> modprobe and insmod binaries in your $PATH match the ones installed by
>> module-init-tools?
>
> $ which insmod modprobe
> /sbin/insmod
> /sbin/modprobe
>
> $ pacman -Q module-init-tools
> module-init-tools 3.10-1
>
> Surprisingly, inserting the module with insmod had worked!
>
> $ insmod /lib/modules/2.6.30-ARCH/kernel/fs/isofs/isofs.ko
> $
>
> And the DVD mounted just fine. Modprobe, however, still throws the
> same error. I tried to make it more verbose:
>
> $modprobe -v isofs
> insmod /lib/modules/2.6.30-ARCH/kernel/lib/zlib_inflate/zlib_inflate.ko
> WARNING: Error inserting zlib_inflate
> (/lib/modules/2.6.30-ARCH/kernel/lib/zlib_inflate/zlib_inflate.ko):
> Invalid module format
> FATAL: Error inserting isofs
> (/lib/modules/2.6.30-ARCH/kernel/fs/isofs/isofs.ko): Invalid module
> format

Check /etc/modprobe.d/ for isofs or zlib_* etc.

Also try running "depmod -ae", and the modprobe ...



-- 
damjan


Re: [arch-general] mounting a data dvd fails

2009-09-14 Thread JM
On Mon, Sep 14, 2009 at 4:59 PM, Jan de Groot  wrote:

>
> Looks like your module-init-tools is either outdated or damaged. Do the
> modprobe and insmod binaries in your $PATH match the ones installed by
> module-init-tools?

$ which insmod modprobe
/sbin/insmod
/sbin/modprobe

$ pacman -Q module-init-tools
module-init-tools 3.10-1

Surprisingly, inserting the module with insmod had worked!

$ insmod /lib/modules/2.6.30-ARCH/kernel/fs/isofs/isofs.ko
$

And the DVD mounted just fine. Modprobe, however, still throws the
same error. I tried to make it more verbose:

$modprobe -v isofs
insmod /lib/modules/2.6.30-ARCH/kernel/lib/zlib_inflate/zlib_inflate.ko
WARNING: Error inserting zlib_inflate
(/lib/modules/2.6.30-ARCH/kernel/lib/zlib_inflate/zlib_inflate.ko):
Invalid module format
FATAL: Error inserting isofs
(/lib/modules/2.6.30-ARCH/kernel/fs/isofs/isofs.ko): Invalid module
format

Regards,
JM


Re: [arch-general] mounting a data dvd fails

2009-09-14 Thread Jan de Groot
On Mon, 2009-09-14 at 16:33 +0200, JM wrote:
> The kernel installed is standard kernel26 from [core]. The system is i686.
> 
> pacman -Qi kernel26
> Name  : kernel26
> Version : 2.6.30.6-1
> 
> $ uname -a
> Linux hp510 2.6.30-ARCH #1 SMP PREEMPT Wed Sep 9 12:37:32 UTC 2009
> i686 Intel(R) Pentium(R) M processor 2.26GHz GenuineIntel GNU/Linux
> 
> I checked grub's menu.lst file, reinstalled the kernel with pacman -S
> kernel26 and rebooted, just to be sure. Still the same error message.
> 
> Thanks for suggestions.

Looks like your module-init-tools is either outdated or damaged. Do the
modprobe and insmod binaries in your $PATH match the ones installed by
module-init-tools?



Re: [arch-general] mounting a data dvd fails

2009-09-14 Thread JM
On Mon, Sep 14, 2009 at 4:33 PM, Heiko Baums  wrote:
>
> Does this happen with only one or a few DVDs or with every DVD?
>


It happens only with DVDs written as iso9660. UDF DVD mount just fine.
I have tried both mount -t auto and mount -t iso9660, it did not make
a difference.

Regards,
JM


Re: [arch-general] mounting a data dvd fails

2009-09-14 Thread JM
The kernel installed is standard kernel26 from [core]. The system is i686.

pacman -Qi kernel26
Name  : kernel26
Version : 2.6.30.6-1

$ uname -a
Linux hp510 2.6.30-ARCH #1 SMP PREEMPT Wed Sep 9 12:37:32 UTC 2009
i686 Intel(R) Pentium(R) M processor 2.26GHz GenuineIntel GNU/Linux

I checked grub's menu.lst file, reinstalled the kernel with pacman -S
kernel26 and rebooted, just to be sure. Still the same error message.

Thanks for suggestions.

JM


Re: [arch-general] mounting a data dvd fails

2009-09-14 Thread Heiko Baums
Am Mon, 14 Sep 2009 16:00:59 +0200
schrieb JM :

> Hello,
> 
> I cannot mount a data dvd.
> 
> mount /dev/dvd /media/dvd
> mount: unknown filesystem type 'iso9660'

If you mount it with "mount -t iso9660 ..." then you should probably try
it without the -t option or with "-t auto".

Does this happen with only one or a few DVDs or with every DVD?

I. too, had this problem with only one of my DVDs. Reading it and
creating a new iso with dvdisaster helped. dvdisaster could read the
DVD without an error and the new iso could also be mounted without a
problem.

Heiko


Re: [arch-general] mounting a data dvd fails

2009-09-14 Thread Jan de Groot
On Mon, 2009-09-14 at 16:00 +0200, JM wrote:
> Hello,
> 
> I cannot mount a data dvd.
> 
> mount /dev/dvd /media/dvd
> mount: unknown filesystem type 'iso9660'
> 
> I noticed that isofs module, which provides iso9660 is not loaded in
> my system. Inserting it, however, results in:
> 
> FATAL: Error inserting isofs
> (/lib/modules/2.6.30-ARCH/kernel/fs/isofs/isofs.ko): Invalid module
> format
> 
> This is an up-to-date non-testing system. Help would be appreciated.

Are you sure that the installed kernel matches the booted kernel? Also
take note that you can't load i686 modules in an amd64 kernel and the
other way around.



Re: [arch-general] mounting a data dvd fails

2009-09-14 Thread Andrea Scarpino
On 14/09/2009, JM  wrote:
> Hello,
>
> I cannot mount a data dvd.
>
> mount /dev/dvd /media/dvd
> mount: unknown filesystem type 'iso9660'
>
> I noticed that isofs module, which provides iso9660 is not loaded in
> my system. Inserting it, however, results in:
>
> FATAL: Error inserting isofs
> (/lib/modules/2.6.30-ARCH/kernel/fs/isofs/isofs.ko): Invalid module
> format
>
> This is an up-to-date non-testing system. Help would be appreciated.
>
Maybe you updated kernel26 to 2.6.31? If so, reboot is needed.

-- 
Andrea `bash` Scarpino
Arch Linux Developer


[arch-general] mounting a data dvd fails

2009-09-14 Thread JM
Hello,

I cannot mount a data dvd.

mount /dev/dvd /media/dvd
mount: unknown filesystem type 'iso9660'

I noticed that isofs module, which provides iso9660 is not loaded in
my system. Inserting it, however, results in:

FATAL: Error inserting isofs
(/lib/modules/2.6.30-ARCH/kernel/fs/isofs/isofs.ko): Invalid module
format

This is an up-to-date non-testing system. Help would be appreciated.

Regards,
JM