Re: Filesystem / Partition type support in kernel

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

 



Hello,

i did what you told me but as expected make outputs the following:

scripts/kconfig/conf -s arch/x86/Kconfig
.config:150:warning: symbol value 'm' invalid for ATARI_PARTITION

...but I grep'ped /proc/kallsyms and it seems that ATARI_PARTITION type is already registered. however, dmesg tells me "Unknown partition table" when I put the CF card into my reader... :( I'll have to get along with it.

Joel Fernandes schrieb:
>From fs/partitions/Makefile, it seems that atari partitions can be
compiled as a kernel module.
You also wouldn't need to recompile the kernel just for this.
Why do you think that? The Makefile says:
obj-$(CONFIG_ATARI_PARTITION) += atari.o

And all of the Partition types in fs/partitions ain't got functions like module_init .... looks like this is a problem in the kernel. If I could load it as module, I could have inserted debug messages into it, without recompiling the whole kernel... ;)

On Ubuntu,
1. apt-get source linux-image-`uname -r`
2. Extract the bziped archived to /usr/src/linux-`uname -r`
3. cp /boot/config-`uname -r` /usr/src/linux-`uname -r`/.config
4. edit .config and set CONFIG_ATARI_PARTITION to m
5. While in /usr/src/linux-`uname -r` , run make fs/partitions/atari.ko
6. Copy fs/partitions/atari.ko to /lib/modules/`uname
-r`/kernel/fs/partitions/ and run depmod.
7. modprobe atari

Hope this helps,

-Joel



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux