Hello, while trying to built my first own kernel I've got a problem. Maybe it's more simple for this mailing-list. Simple tech-stats of system: OpenSuse 10.0 with Update to 2006-01-31 After configuring kernel-plan (I need additionally to handle amiga and apple harddiscs on i386 system and added under "partition types" -> "amiga partitioning" or so) I compiled the kernel and modules. This steps created also an addtional directory /lib/modules/2.6.13amgia-15.7.default. Then I copied the kernel-file vmlinuz.bin from /usr/src/linux/arch/i386/boot/ to / boot/. Due to the entry amiga in Makefile the above mentioned modules directory resulted. After adding the kernel via yast in grub with origin initrd-file the first start with new kernel failed.Trying to create a new initrd via mkinitrd -i initrd-amigardb -k vmlinuz-2.6.13amiga-15.7-default -m "via82cxxx tmscsim processor thermal fan affs" the system replied: Root device: /dev/hda3 (mounted on / as ext2) Module list: via82cxxx tmscsim processor thermal fan affs Kernel image: /boot/vmlinuz-2.6.13amiga-15.7-default Initrd image: /boot/initrd-amigardb No modules found for kernel What does the system need? If more information needed, feel free to ask. Greetz Franz
Franziskus Meier wrote:
Hello,
while trying to built my first own kernel I've got a problem. Maybe it's more simple for this mailing-list.
Simple tech-stats of system: OpenSuse 10.0 with Update to 2006-01-31
After configuring kernel-plan (I need additionally to handle amiga and apple harddiscs on i386 system and added under "partition types" -> "amiga partitioning" or so) I compiled the kernel and modules. This steps created also an addtional directory /lib/modules/2.6.13amgia-15.7.default. Then I copied the kernel-file vmlinuz.bin from /usr/src/linux/arch/i386/boot/ to / boot/. Due to the entry amiga in Makefile the above mentioned modules directory resulted. After adding the kernel via yast in grub with origin initrd-file the first start with new kernel failed.Trying to create a new initrd via
mkinitrd -i initrd-amigardb -k vmlinuz-2.6.13amiga-15.7-default -m "via82cxxx tmscsim processor thermal fan affs"
the system replied:
Root device: /dev/hda3 (mounted on / as ext2) Module list: via82cxxx tmscsim processor thermal fan affs
Kernel image: /boot/vmlinuz-2.6.13amiga-15.7-default Initrd image: /boot/initrd-amigardb No modules found for kernel
What does the system need?
If more information needed, feel free to ask.
Hi Franz,
#make install
#make modules-install
would install kernel and modules for you.
Now you can run
#depmod
and than
#mkinitrd
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
for default is in the initrd only what is needed for boot,
i mean you haven't your root filesystem as amigafs. This module can be
later.
i compile my kernel with "make rpm" then i install the rpm, cd /boot
and create the initrd only with "mkinitrd -k vmlinuz -i initrd" then
already the rootfilesystem and the bootsplash is in initrd.
On Thu, 2 Feb
2006 16:17:57 +0100 Franziskus Meier
Hello,
while trying to built my first own kernel I've got a problem. Maybe it's more simple for this mailing-list.
Simple tech-stats of system: OpenSuse 10.0 with Update to 2006-01-31
After configuring kernel-plan (I need additionally to handle amiga and apple harddiscs on i386 system and added under "partition types" -> "amiga partitioning" or so) I compiled the kernel and modules. This steps created also an addtional directory /lib/modules/2.6.13amgia-15.7.default. Then I copied the kernel-file vmlinuz.bin from /usr/src/linux/arch/i386/boot/ to / boot/. Due to the entry amiga in Makefile the above mentioned modules directory resulted. After adding the kernel via yast in grub with origin initrd-file the first start with new kernel failed.Trying to create a new initrd via
mkinitrd -i initrd-amigardb -k vmlinuz-2.6.13amiga-15.7-default -m "via82cxxx tmscsim processor thermal fan affs"
the system replied:
Root device: /dev/hda3 (mounted on / as ext2) Module list: via82cxxx tmscsim processor thermal fan affs
Kernel image: /boot/vmlinuz-2.6.13amiga-15.7-default Initrd image: /boot/initrd-amigardb No modules found for kernel
What does the system need?
If more information needed, feel free to ask.
Greetz
Franz
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFD4rd5j/glEAdJRAMRAjgmAKCPfPeMBhxYHJhnLcK6EYwYixOIZwCgkYSl gWDfC5bc8caO068FLwfkeYc= =Vd2o -----END PGP SIGNATURE-----
On 3. Februar 2006 02:52 wrote Oliver Bengs:
Hello,
for default is in the initrd only what is needed for boot, i mean you haven't your root filesystem as amigafs. This module can be later.
Yes, i need the amiga partition only for working, but: Does the suse kernel handle amgiga partitioned disks? The option for this had been deactivated in the kernel-config in my fresh installed system.
i compile my kernel with "make rpm" then i install the rpm, cd /boot rpm? and create the initrd only with "mkinitrd -k vmlinuz -i initrd" then already the rootfilesystem and the bootsplash is in initrd.
On Thu, 2 Feb
2006 16:17:57 +0100 Franziskus Meier
wrote: Hello,
while trying to built my first own kernel I've got a problem. Maybe it's more simple for this mailing-list.
Simple tech-stats of system: OpenSuse 10.0 with Update to 2006-01-31
After configuring kernel-plan (I need additionally to handle amiga and apple harddiscs on i386 system and added under "partition types" -> "amiga partitioning" or so) I compiled the kernel and modules. This steps created also an addtional directory /lib/modules/2.6.13amgia-15.7.default. Then I copied the kernel-file vmlinuz.bin from /usr/src/linux/arch/i386/boot/ to / boot/. Due to the entry amiga in Makefile the above mentioned modules directory resulted. After adding the kernel via yast in grub with origin initrd-file the first start with new kernel failed.Trying to create a new initrd via
mkinitrd -i initrd-amigardb -k vmlinuz-2.6.13amiga-15.7-default -m "via82cxxx tmscsim processor thermal fan affs"
the system replied:
Root device: /dev/hda3 (mounted on / as ext2) Module list: via82cxxx tmscsim processor thermal fan affs
Kernel image: /boot/vmlinuz-2.6.13amiga-15.7-default Initrd image: /boot/initrd-amigardb No modules found for kernel
What does the system need?
If more information needed, feel free to ask.
Greetz
Franz
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yes you must recompile the kernel,
zcat /proc/config.gz | grep AMIGA
# CONFIG_AMIGA_PARTITION is not set
install kernel-source
cd /usr/src/linux
make menuconfig #activate the AmigaFS (Filesystems --> Miscellaneous
filesystems ---> <M> Amiga FFS file system support) M for support as
module or * to built in make rpm
rpm -i /usr/src/packages/RPM/<arch>/kernel-*.rpm
cd /boot #check the symlinks (ls -l)
create the initrd an have fun.
If you unsure uninstall the original kernel only from the rpmdb with
rpm -e --justdb kernel-default or your kernel and
change /boot/grub/menu.lst cp the original entry and append the kernel
version like:
title SUSE LINUX 10.0 (default)
kernel (hd0,7)/vmlinuz-2.6.13-15-default root=/dev/hda9 vga=791 selinux=0 splash=silent resume=/dev/hda6 video=vesa:ywrap,mtrr showopts
initrd (hd0,7)/initrd-2.6.13-15-default
If you speak German here is a HowTo to build a vanilla-kernel
http://linux-club.de/viewtopic.php?t=10810 and a HowTo for 2 Kernel
http://linux-club.de/viewtopic.php?t=21685
Oliver Bengs
On Tue, 7 Feb 2006
14:17:11 +0100 Franziskus Meier
On 3. Februar 2006 02:52 wrote Oliver Bengs:
Hello,
for default is in the initrd only what is needed for boot, i mean you haven't your root filesystem as amigafs. This module can be later.
Yes, i need the amiga partition only for working, but: Does the suse kernel handle amgiga partitioned disks? The option for this had been deactivated in the kernel-config in my fresh installed system.
i compile my kernel with "make rpm" then i install the rpm, cd /boot rpm? and create the initrd only with "mkinitrd -k vmlinuz -i initrd" then already the rootfilesystem and the bootsplash is in initrd.
On Thu, 2 Feb
2006 16:17:57 +0100 Franziskus Meier
wrote: Hello,
while trying to built my first own kernel I've got a problem. Maybe it's more simple for this mailing-list.
Simple tech-stats of system: OpenSuse 10.0 with Update to 2006-01-31
After configuring kernel-plan (I need additionally to handle amiga and apple harddiscs on i386 system and added under "partition types" -> "amiga partitioning" or so) I compiled the kernel and modules. This steps created also an addtional directory /lib/modules/2.6.13amgia-15.7.default. Then I copied the kernel-file vmlinuz.bin from /usr/src/linux/arch/i386/boot/ to / boot/. Due to the entry amiga in Makefile the above mentioned modules directory resulted. After adding the kernel via yast in grub with origin initrd-file the first start with new kernel failed.Trying to create a new initrd via
mkinitrd -i initrd-amigardb -k vmlinuz-2.6.13amiga-15.7-default -m "via82cxxx tmscsim processor thermal fan affs"
the system replied:
Root device: /dev/hda3 (mounted on / as ext2) Module list: via82cxxx tmscsim processor thermal fan affs
Kernel image: /boot/vmlinuz-2.6.13amiga-15.7-default Initrd image: /boot/initrd-amigardb No modules found for kernel
What does the system need?
If more information needed, feel free to ask.
Greetz
Franz
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFD7ScZj/glEAdJRAMRAkB6AJ0TXVWafGtZ+6FZLH7Bump6E2ED4QCfQqvI ryF98N1bA8+mYebBRlLO0aQ= =BOGB -----END PGP SIGNATURE-----
Oliver Bengs wrote:
Yes you must recompile the kernel,
zcat /proc/config.gz | grep AMIGA
Useless use of zcat :-) $> zgrep AMIGA /proc/config.gz If you need only an additional driver for AMIGA file system support and this driver can be implemented as a module, then there is no need to build an entire new kernel! Just use $> make modules SUBDIRS=fs/affs in the directory with the kernel source to build the affs.ko kernel module which can then be installed with the following command: $> make modules_install SUBDIRS=fs/affs If you need to compile the module not for the currently running kernel but for another one or if you use a build directory or <...>, you need to be a bit careful. Nevertheless, the principle should be the same. If an additional feature cannot be implemented as a module, then of course you can't use the approach described here.
[...] rpm -e --justdb kernel-default [...]
YaST online update might not like something like that... And, by the way, I think one does not really need something like an ACPI fan driver (fan) etc. etc. in an initial ramdisk :-) Cheers, Th.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 10 Feb 2006 23:49:19 +0000
Thomas Hertweck
Oliver Bengs wrote:
Yes you must recompile the kernel,
zcat /proc/config.gz | grep AMIGA
Useless use of zcat :-) $> zgrep AMIGA /proc/config.gz
If you need only an additional driver for AMIGA file system support and this driver can be implemented as a module, then there is no need to build an entire new kernel! Just use $> make modules SUBDIRS=fs/affs in the directory with the kernel source to build the affs.ko kernel module which can then be installed with the following command: $> make modules_install SUBDIRS=fs/affs If you need to compile the module not for the currently running kernel but for another one or if you use a build directory or <...>, you need to be a bit careful. Nevertheless, the principle should be the same. If an additional feature cannot be implemented as a module, then of course you can't use the approach described here.
[...] rpm -e --justdb kernel-default [...]
YaST online update might not like something like that...
And, by the way, I think one does not really need something like an ACPI fan driver (fan) etc. etc. in an initial ramdisk :-)
Cheers, Th.
Well, i will remind -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFD7Tgdj/glEAdJRAMRAoAOAJ9jviaqX5qTJPqInRq7cfg31xO2hwCdHPy1 ILcOop/EZ5p8v0QIlRaaAh8= =SsJn -----END PGP SIGNATURE-----
participants (4)
-
Franziskus Meier
-
Oliver Bengs
-
Rajko M
-
Thomas Hertweck