Skip to contentSkip to conversation

initrd-dyn for 2.4.10 kernel ?

LRP Dave Cinege 1 participant 1 message Oct 2, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines · you

I understand that substantial changes were made in 2.4.10 initrd and init . Therefore the 2.4.9 initrd-dyn patch does not work on a 2.4.10 kernel. Has any one worked that out ?
Pascal

Ain't it a bitch the next kernel released breaks this patch? (Note the patch has been good since 2.4.2 and the code base supports 2.0 and 2.2 as well)

I took a look at it and I'm not sure what the problem is, but I'm pretty confident it's a bug in the Linux changes and not Initrd Dynamic.

When the initrd_dyn code calls

	infile.f_op->release(inode, &infile);

the kernel reports "Freeing initrd memory: " then panics.

This code closes the initrd memory space 'file'. This is at the END of the initrd_dyn, after all mkfs and untar has been done successfully. WTF this would cause a panic, I have no clue except that somebody has been playing around much too much with the init and intird memory handling.

Other people have been complaining of problems with invalidatebuffers which is most likely related to this problem. I'm hopeful an 'ac' or 'pre' kernel will fix this soon. (Anyone willing to try them, send me feedback.)

In any event 2.4.10 appears to be a pretty screwed up kernel, with 2.4.9 not too far behind. I recommend people stick with 2.4.8. Unfortunatly .10 has many reiserfs improvments and can handle several nice new iptables features. (Via patch o matic) : <

Dave

Signature · 1 line
The time is now 22:19 (Totalitarian)  -  http://www.ccops.org/clock.html