From: Mittal M. <mm...@oc...> - 2003-05-22 18:20:02
|
Thanks....I did search the archives for my original problem, which was UML kernel panic on RH 9.0. The root cause was RH 9.0 kernel mods triggering a bug in UML, if I remember right. 2-4-20-um patch was a suggested Remedy for this problem, which I naturally assumed to be for the 2.4.20 kernel in RH 9.0, not the vanilla version. So here's my question : is there a clean patch to fix kernel panic (outer trampolines error) on RH 9.0 runnng 2.4.20-8 kernel that comes with the distro? Thanks, Mittal ~~~~~~~~~~~~~ Mittal Monani Member - Technical Staff (Linux Group) OctigaBay Systems Corporation Phone: 604-484-2259 Fax: 604-484-2221 WWW: http://www.octigabay.com > -----Original Message----- > From: use...@li... > [mailto:use...@li...] On > Behalf Of Nuno Silva > Sent: Thursday, May 22, 2003 11:02 AM > To: Mittal Monani > Cc: use...@li... > Subject: Re: [uml-devel] patch not applied cleanly (was > Kernel panic on UML boot up) > > > Please review the archives of this ml. UML patches apply only to > "vanilla" (as in: downloaded from kernel.org) kernels. > > Regards, > Nuno Silva > > Mittal Monani wrote: > > My kernel is 2.4.20-8 in RH 9.0 distro. > > > > Here's the rejected slab.c: > > > > *************** > > *** 1946,1955 **** > > > > name = cachep->name; > > { > > char tmp; > > if (__get_user(tmp, name)) > > name = "broken"; > > - } > > > > seq_printf(m, "%-17s %6lu %6lu %6u %4lu %4lu %4u", > > name, active_objs, num_objs, cachep->objsize, > > --- 1946,1959 ---- > > > > name = cachep->name; > > { > > + mm_segment_t fs; > > char tmp; > > + fs = get_fs(); > > + set_fs(KERNEL_DS); > > if (__get_user(tmp, name)) > > name = "broken"; > > + set_fs(fs); > > + } > > > > seq_printf(m, "%-17s %6lu %6lu %6u %4lu %4lu %4u", > > name, active_objs, num_objs, cachep->objsize, > > > > > > > > > > Thanks, > > Mittal > > > > ~~~~~~~~~~~~~ > > Mittal Monani > > Member - Technical Staff (Linux Group) > > OctigaBay Systems Corporation > > Phone: 604-484-2259 > > Fax: 604-484-2221 > > WWW: http://www.octigabay.com > > > > > > > >>-----Original Message----- > >>From: use...@li... > >>[mailto:use...@li...] On > >>Behalf Of David Coulson > >>Sent: Wednesday, May 21, 2003 6:50 PM > >>To: Mittal Monani > >>Cc: use...@li... > >>Subject: Re: [uml-devel] patch not applied cleanly (was > >>Kernel panic on UML boot up) > >> > >> > >>Mittal Monani wrote: > >> > >>>Applying 2.4.20-um4 patch to my kernel reported one error > >> > >>message. Is > >> > >>>there a cleaner patch? > >> > >>What is 'my kernel' - It applies cleanly to 2.4.20 last > time I tried. > >> > >>David > >> > >>-- > >>David Coulson email: > >>d...@vi... > >>Linux Developer / web: > > > > http://davidcoulson.net/ > > Network Engineer phone: > (216) 533-6967 > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ObjectStore. > > If flattening out C++ or Java code to make your application > fit in a > > relational database is painful, don't do it! Check out ObjectStore. > > Now part of Progress Software. > http://www.objectstore.net/sourceforge > > > _______________________________________________ > > User-mode-linux-devel mailing list > > Use...@li... > > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ObjectStore. > > If flattening out C++ or Java code to make your application > fit in a > > relational database is painful, don't do it! Check out ObjectStore. > > Now part of Progress Software. > http://www.objectstore.net/sourceforge > > > _______________________________________________ > > User-mode-linux-devel mailing list > > Use...@li... > > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application > fit in a relational database is painful, don't do it! Check > out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ User-mode-linux-devel mailing list Use...@li... https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel |