FC3-kernel bug? Mount: can't find /media/floppy in /etc/fstab or /etc/mtab

taharka res00vl8 at alltel.net
Fri Sep 2 14:50:32 UTC 2005


Hello,

Bengt Lindholm wrote:

>"Patch to hal that works for me is in
>https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=163865 "
>
>How is the patching done? And has it to be done after every kernel
>update?
>
>  
>
Pretty sure some one on the list will correct me if I'm wrong ;-) The 
following post, from July 29th of this this year, should still be a 
valid explanation.

"SC" == Steve Croteau <stevecroteau at comcast.net> writes:


SC> Excellent!!  Just one question, how does one go about installing a
SC> patch if it's not done through up2date or yum?

Check the source out of Fedora CVS, hack the spec file to apply the
patch at build time, change the version and build the package.  Not
too hard if you know all of the basics, pretty difficult if you don't.

But, hey, I have a few minutes, so here's the procedure:

Make sure you have "cvs" installed.
CVSROOT=:pserver:anonymous at cvs.fedora.redhat.com:/cvs/dist
export CVSROOT 
cvs login
(when asked for a password, just hit enter)
cvs co hal
cd hal/FC-3
Grab the patch from
 https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=117249
 and save it in hal-0.4.7-floppy.patch.
Edit hal.spec:
Change the Release field; I ended up at "1.FC3.UH.2"

After the "Source0" line, add:
Patch0: hal-0.4.7-floppy.patch

After the "%setup -q" line, add:
%patch0 -p1

Save the file.
Run "make build"
It will probably complain about prerequisites; install them all.
Run "make build" again and repeat until the package builds.
Enjoy your new RPM; with luck it will fix the problem.  (It works for
me, but your milage may vary.  You should just need to install it with
"rpm -Fvh" and you'll see the floppy in /media if it works.)

 - J<


>Bengt
>
>  
>
taharka

Lexington, Kentucky U.S.A.




More information about the users mailing list