* grub-doc patch problem [not found] <20030207090602.24812.16377.Mailman@localhost.localdomain> @ 2003-02-07 9:11 ` tony Tong 2003-02-07 13:47 ` Mark Meade 2003-02-08 13:49 ` How can I save my DoC ? tony Tong 1 sibling, 1 reply; 5+ messages in thread From: tony Tong @ 2003-02-07 9:11 UTC (permalink / raw) To: linux-mtd sorry , because the previous two letters is unreadable ,I have to change a emailaddress to resend it. I want to use grub to boot from my DOC2000 (32M). According to " GRUB on DoC Millennium/2000 - Instructions (Revised) " http://lists.infradead.org/pipermail/linux-mtd/2002-October/006166.html , I use grub-0.92 and the patch file is grub-2002-10-08-doc.patch but everytime I use"patch -p0 -i grub-2002-10-08-doc.patch" ,I will get the following " patching file ./AUTHORS Hunk #1 FAILED at 42. 1 out of 1 hunk FAILED -- saving rejects to file ./AUTHORS.rej patching file ./ChangeLog Hunk #1 FAILED at 1. Hunk #2 FAILED at 88. 2 out of 2 hunks FAILED -- saving rejects to file ./ChangeLog.rej patching file ./README_DiskOnChip patching file ./configure.in Hunk #1 succeeded at 228 (offset -13 lines). patching file ./stage1/Makefile.am patching file ./stage1/doc_stage1.S patching file ./stage1/doc_stage1.h patching file ./stage1/makecsum.c patching file ./stage2/Makefile.am Hunk #1 FAILED at 83. 1 out of 1 hunk FAILED -- saving rejects to file ./stage2/Makefile.am.rej " The AUTHORS and CHANGLOG problems has been pointed in the instrution ,but the last one hasnot been. why this happened? If I ignore this error , continue "aclocal && automake --add-missing && autoconf" I will get two warnings: configure.in:17: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst configure.in:681: warning: do not use m4_regexp: use regexp or m4_bregexp Then "./configure --enable-diskonchip-2000 -enable-diskonchip-ctrlbypass -enable-ext2fs " and "make" , it will stop ,and dump the following error infomation: " stage2.c: In function `cmain': stage2.c:1019: `current_term' undeclared (first use in this function) stage2.c:1019: (Each undeclared identifier is reported only once stage2.c:1019: for each function it appears in.) stage2.c:1019: `TERM_DUMB' undeclared (first use in this function) make[2]: *** [pre_stage2_exec-stage2.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 " what is wrong with my steps? Anything I missed? Hope some kind guys could give me a hand and thanks in advandce BTW: I have tried grub-2003-01-08-doc.patch ,but I got the same result My linux is redhat7.1 , kernel is 2.4.2 , I have used rpm package to update automake to 1.5 and autoconf to 2.53 __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* grub-doc patch problem 2003-02-07 9:11 ` grub-doc patch problem tony Tong @ 2003-02-07 13:47 ` Mark Meade 0 siblings, 0 replies; 5+ messages in thread From: Mark Meade @ 2003-02-07 13:47 UTC (permalink / raw) To: linux-mtd On Friday 07 February 2003 04:11 am, tony Tong wrote: > I use grub-0.92 and the patch file is > grub-2002-10-08-doc.patch > but everytime I use"patch -p0 -i > grub-2002-10-08-doc.patch" ,I will get the following The 10-08 patch was intended to be used with Grub from CVS (not 0.92). You may want to try again with the CVS version. ^ permalink raw reply [flat|nested] 5+ messages in thread
* How can I save my DoC ? [not found] <20030207090602.24812.16377.Mailman@localhost.localdomain> 2003-02-07 9:11 ` grub-doc patch problem tony Tong @ 2003-02-08 13:49 ` tony Tong 2003-02-08 14:19 ` Henrik Nordstrom 1 sibling, 1 reply; 5+ messages in thread From: tony Tong @ 2003-02-08 13:49 UTC (permalink / raw) To: linux-mtd After many failures ,I select to turn to old patch of grub-doc because about half year ,I have managed our DOC2000 successfully according to http://lists.infradead.org/pipermail/linux-mtd/2001-October/003475.html. It is very old ,but it does work then. But this time , I dont konw why I failed . I use grub-0.90 and the grub-0.90-patch ,mtd is 0501snapshot This time I just get grub shell ,but it cannot recognize DoC. so I enter hard image ,redo this process. but this time, worse of all,my DOC was corrupted . When I use "./eraseall /dev/mtd0",I get many errors . Then in the following "./nftl_format /dev/mtd0 98034" ,I get info which tells bad block table corrupted Then How can I save my DoC? Help urgently needed! Can you experienced guys give me a advice ? __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* How can I save my DoC ? 2003-02-08 13:49 ` How can I save my DoC ? tony Tong @ 2003-02-08 14:19 ` Henrik Nordstrom 2003-02-08 14:34 ` tony Tong 0 siblings, 1 reply; 5+ messages in thread From: Henrik Nordstrom @ 2003-02-08 14:19 UTC (permalink / raw) To: linux-mtd Try formatting it with the MSystems DFORMAT tool from DOS. Regards Henrik On Sat, 8 Feb 2003, tony Tong wrote: > After many failures ,I select to turn to old patch of > grub-doc > because about half year ,I have managed our DOC2000 > successfully according to > http://lists.infradead.org/pipermail/linux-mtd/2001-October/003475.html. > It is very old ,but it does work then. > > But this time , I dont konw why I failed . > I use grub-0.90 and the grub-0.90-patch ,mtd is > 0501snapshot > This time I just get grub shell ,but it cannot > recognize DoC. > so I enter hard image ,redo this process. > but this time, worse of all,my DOC was corrupted . > When I use "./eraseall /dev/mtd0",I get many errors . > Then in the following "./nftl_format /dev/mtd0 98034" > ,I get info which tells bad block table corrupted > Then How can I save my DoC? > Help urgently needed! > Can you experienced guys give me a advice ? > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ > ^ permalink raw reply [flat|nested] 5+ messages in thread
* How can I save my DoC ? 2003-02-08 14:19 ` Henrik Nordstrom @ 2003-02-08 14:34 ` tony Tong 0 siblings, 0 replies; 5+ messages in thread From: tony Tong @ 2003-02-08 14:34 UTC (permalink / raw) To: linux-mtd After I use dformat tools , now I can find doc again. but when I use "./nftl-format " I will get RWE testfailed error. It seems bad block table has lost . does it matter ? Can I ignore this error report ? --- Henrik Nordstrom <hno@marasystems.com> wrote: > Try formatting it with the MSystems DFORMAT tool > from DOS. > > Regards > Henrik > > On Sat, 8 Feb 2003, tony Tong wrote: > > > After many failures ,I select to turn to old patch > of > > grub-doc > > because about half year ,I have managed our > DOC2000 > > successfully according to > > > http://lists.infradead.org/pipermail/linux-mtd/2001-October/003475.html. > > It is very old ,but it does work then. > > > > But this time , I dont konw why I failed . > > I use grub-0.90 and the grub-0.90-patch ,mtd is > > 0501snapshot > > This time I just get grub shell ,but it cannot > > recognize DoC. > > so I enter hard image ,redo this process. > > but this time, worse of all,my DOC was corrupted . > > When I use "./eraseall /dev/mtd0",I get many > errors . > > Then in the following "./nftl_format /dev/mtd0 > 98034" > > ,I get info which tells bad block table corrupted > > Then How can I save my DoC? > > Help urgently needed! > > Can you experienced guys give me a advice ? > > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > > http://mailplus.yahoo.com > > > > > ______________________________________________________ > > Linux MTD discussion mailing list > > > http://lists.infradead.org/mailman/listinfo/linux-mtd/ > > > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-02-08 14:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20030207090602.24812.16377.Mailman@localhost.localdomain>
2003-02-07 9:11 ` grub-doc patch problem tony Tong
2003-02-07 13:47 ` Mark Meade
2003-02-08 13:49 ` How can I save my DoC ? tony Tong
2003-02-08 14:19 ` Henrik Nordstrom
2003-02-08 14:34 ` tony Tong
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox