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

Bug#240438: debian-installer: build_floppy_root fails on Kernel 2.6



Package: debian-installer
Severity: important

I found debian-installer fails when I choose build_floppy_root on
kernel 2.6. Error message is 'depmod: QM_MODULES: Function not implemented'.

I figured out what was problem.

Makefile is:
if [ -e $(TREE)/boot/System.map-$(VERSION) ]; then \
                        depmod -F $(TREE)/boot/System.map-$(VERSION) -q -a -b $(TREE)/ $(VERSION); \
                        mv $(TREE)/boot/System.map-$(VERSION) $(TEMP); \
                else \
                        depmod -q -a -b $(TREE)/ $(VERSION); \
                fi;)

It works good since we don't separate kernel and root file system
(TREE/boot/System.map-version exists).
But there isn't System.map in root floppy tree. 'depmod' without -F
looks current working kernel system map, and is failed by module
incompatibility.
I believe it is 'lucky' that build works on kernel 2.4 series.

I think build_floppy_root needs to provide System.map-version from
di-kernel-image during depmod process (and remove after depmod is
suceeded).

Thanks,
-- 
Kenshi Muto
kmuto@debian.org

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.2-1-686
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP



Reply to: