Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems using 2.4 kernels with colo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
atopo
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 85
Location: Langenzersdorf near Vienna

PostPosted: Sun Oct 09, 2005 10:12 am    Post subject: Problems using 2.4 kernels with colo Reply with quote

Hi,

I'm fine booting 2.6 Kernels. But when I try a 2.4 Kernel the boot process fails. This is what I get:

2> select "Which Kernel?" 50 vmlinux kernel-2.4.31
2> goto {menu-option}
2> var image-name kernel-2.4.31.gz
2> lcd "Loading Linux" {image-name}
2> load /{image-name}
000d6f52 880466t
2> lcd "Booting..."
2> execute root=/dev/hda3 ro console=ttyS0,115200
elf32: 00080000 - 0023f4cf (801c6040) (ffffffff.80000000)
elf32: 80080000 (80080000) 1667072t + 165072t

and then the system hangs.

Kernel is from the emerged mips-sources 2.4.31, compiled locally.

This is my Kernel-config:

Code:
CONFIG_MIPS=y
CONFIG_MIPS32=y
CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_KMOD=y
CONFIG_MIPS_COBALT=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_BOOT_ELF32=y
CONFIG_COBALT_LCD=y
CONFIG_I8259=y
CONFIG_NONCOHERENT_IO=y
CONFIG_CPU_NEVADA=y
CONFIG_PAGE_SIZE_4KB=y
CONFIG_CPU_HAS_LLSC=y
CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_NAMES=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_ELF=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_SCTP=y
CONFIG_SCTP_HMAC_MD5=y
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_PCI=y
CONFIG_UNIX98_PTYS=y
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_RTC=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_EXT2_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_DIRECTIO=y
CONFIG_LOCKD_V4=y
CONFIG_PARTITION_ADVANCED=y
CONFIG_MSDOS_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRC32=y


best regards
Alexander
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon Oct 10, 2005 12:55 pm    Post subject: Reply with quote

Is there a reason why you're using kernel 2.4? The 2.4.31 image was primarily for R4600 Indy's, which, until recently, did not run Linux 2.6 reliably. This has now been fixed in upstream CVS, and so the 2.4 ebuilds will probably disappear in the next month or so.

When emerging the sources, did it apply any Cobalt patches? Also, I don't see any serial support enabled...
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
atopo
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 85
Location: Langenzersdorf near Vienna

PostPosted: Mon Oct 10, 2005 1:42 pm    Post subject: Reply with quote

Yes, there is a reason: I have an encrypted partition that I've used with a debian 3.0, and a custom kernel with the kerneli patches. The way passphrases are hashed have been changed between 2.4 and 2.6 kernels (AFAIK), and the method described using hashalot fails for some reason.

I don't mid trying an quite old kernel just to see if I can still access the data there

br
Alexander
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Tue Oct 11, 2005 12:44 am    Post subject: Reply with quote

Okay, there are a couple of options...

How did you go about encrypting the partition? Perhaps there's a way to get Linux 2.6 to be backward compatable?

The other alternative, is to perhaps fetch new kernel sources, patch by hand, then try to build a kernel from that.

I have some snapshots of Linux/MIPS CVS. (Go easy though, that box is on my ADSL link) From there, you should be able to patch the kernel with the Cobalt patch set.

Then apply any patches you need for encrypted filesystems. I'd suggest once you gain access to the encrypted partition, you back it up and upgrade the format of the partition, so that you can access it from Kernel 2.6 -- as support for kernel 2.4 has been discontinued upstream, and will discontinue here.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum