public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* How to Clean bad Grubfirmware off  DOC?
@ 2002-06-27  9:43 g_friend
  2002-06-28 16:40 ` Peter Keel
  0 siblings, 1 reply; 8+ messages in thread
From: g_friend @ 2002-06-27  9:43 UTC (permalink / raw)
  To: linux-mtd

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]

I have put a grub_firmware on my doc2000. It can drop me grub console mode but it cannot find any filesystem ,even filesystem on my harddisk. I have tried to use root(dc0,0) ,root(hd0,0),root(hd0,1)etc ,but it had no effect.It find nothing yet.

Then I face a serious situation.----How can I save my DOC ?
How can I clean the bad grub off my doc?
Before I put grub_firmware onto my DOC, I can boot from my harddisk ,floppy with DOC in place.However, after that , with DOC in place ,I even cannot boot from my floppy . It always give me grub boot .
If I  pull out it from my board , the system boot from my hard disk or floppy as usually.

Is there any way to clean the bad grubfirmware ? 
Does it mean it is waste now for me ? 
Help is urgently needed ! please give your hand  .
thanks in advance.
 







-----------------------------------------
ÂòÐéÄâÖ÷»úË͹ú¼ÊÓòÃû¼°ÓÊÏä
http://www.999k.net
ÒÚÌÆÉú»îÆ·ÅÆµÚÒ»Ö÷´ò
http://bag.etang.com/payment_1.htm
ÒÚÌÆ¶ÌÐÅ£¬ÄúÌùÉíµÄʱÉйËÎÊ
http://sms.etang.com
ÃÀ¹ú´óѧ֮ÃÅΪÄã¶ø¿ª °Ù·Ö°ÙÄý±Ñ§½ð
http://campus.etang.com/html/academic/usa/scho/scho017.htm                                    

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to Clean bad Grubfirmware off  DOC?
@ 2002-06-27 13:00 Mark Meade
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Meade @ 2002-06-27 13:00 UTC (permalink / raw)
  To: linux-mtd

g_friend@etang.com wrote:
> How can I clean the bad grub off my doc?

Since you cannot boot with the doc2000 installed, I'd recommend trying the 
following, **very carefully**:

  1. Turn off system
  2. Remove DoC from board (I assume it's an ISA/PCI board with DoC socketed?)
  3. Install *empty* DoC board
  4. Boot into DOS
  5. Install latest M-Sys DOS utilities (if not already done)
  6. *** CAREFULLY *** install DoC into socket
  7. Run DFORMAT utility to replace grub firmware

*Disclaimer:  This procedure has worked for me, but it could do *bad things* 
to your DoC.  Use it only as a last resort.

If your machine supports "Network" boot, you may want to try configuring GRUB 
with the "--enable-diskonchip-biosnetboot" option.  This will allow you to 
selectively boot from the DoC, returning to booting from a hard drive or 
floppy when needed.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* How to Clean bad Grubfirmware off DOC? 
@ 2002-06-27 14:36 g_friend
  2002-06-28 18:47 ` Peter Keel
  0 siblings, 1 reply; 8+ messages in thread
From: g_friend @ 2002-06-27 14:36 UTC (permalink / raw)
  To: linux-mtd

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

>Since you cannot boot with the doc2000 installed, I'd recommend trying the 
>following, **very carefully**:
>  1. Turn off system
>  2. Remove DoC from board (I assume it's an ISA/PCI board with DoC socketed?)
>  3. Install *empty* DoC board
>  4. Boot into DOS
>  5. Install latest M-Sys DOS utilities (if not already done)
>  6. *** CAREFULLY *** install DoC into socket
>  7. Run DFORMAT utility to replace grub firmware
>*Disclaimer:  This procedure has worked for me, but it could do *bad things* 
>to your DoC.  Use it only as a last resort.

By saying above ,do you mean "hot plug" ?

>If your machine supports "Network" boot, you may want to try configuring GRUB 
>with the "--enable-diskonchip-biosnetboot" option.  This will allow you to 
>selectively boot from the DoC, returning to booting from a hard drive or 
>floppy when needed.
Sorry I am not familiar with GRUB .I just do something after the readme . 
So, I cannot understand what's the meanig completely .
Do you mean that I can install a grub on my harddisk with "network " option ,then install DOC ,then I can boot from harddisk with DOC in my board ? 









-----------------------------------------
ÂòÐéÄâÖ÷»úË͹ú¼ÊÓòÃû¼°ÓÊÏä
http://www.999k.net
ÒÚÌÆÉú»îÆ·ÅÆµÚÒ»Ö÷´ò
http://bag.etang.com/payment_1.htm
ÒÚÌÆ¶ÌÐÅ£¬ÄúÌùÉíµÄʱÉйËÎÊ
http://sms.etang.com
ÃÀ¹ú´óѧ֮ÃÅΪÄã¶ø¿ª °Ù·Ö°ÙÄý±Ñ§½ð
http://campus.etang.com/html/academic/usa/scho/scho017.htm                                    

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to Clean bad Grubfirmware off DOC?
@ 2002-06-27 14:59 Mark Meade
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Meade @ 2002-06-27 14:59 UTC (permalink / raw)
  To: linux-mtd

g_friend@etang.com wrote:
> By saying above ,do you mean "hot plug" ?

Yes.

> Do you mean that I can install a grub on my harddisk with "network " option
> then install DOC ,then I can boot from harddisk with DOC in my board ? 

No.  The "--enable-diskonchip-biosnetboot" applies only to the DoC GRUB.  If 
you have a BIOS that supports "NETWORK" boot, then you *can* boot from a 
harddisk with a GRUB-bootable DoC installed.

See item #8, "Change Boot Sequence" at: 
http://lists.infradead.org/pipermail/linux-mtd/2002-June/005240.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to Clean bad Grubfirmware off  DOC?
  2002-06-27  9:43 g_friend
@ 2002-06-28 16:40 ` Peter Keel
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Keel @ 2002-06-28 16:40 UTC (permalink / raw)
  To: g_friend; +Cc: linux-mtd

How funny. I did the same and now have the same problem. 

* on the Thu, Jun 27, 2002 at 05:43:57PM +0800, g_friend@etang.com wrote:
> I have put a grub_firmware on my doc2000. It can drop me grub console 
> mode but it cannot find any filesystem ,even filesystem on my harddisk.
> I have tried to use root(dc0,0) ,root(hd0,0),root(hd0,1)etc ,but it 
> had no effect. It find nothing yet.

I even tried to load a kernel by giving grub the blocks to boot it
from, but no success so far. It can read the partition-table, but
not the filesystem. 

> Then I face a serious situation.----How can I save my DOC ?
> How can I clean the bad grub off my doc?
> Before I put grub_firmware onto my DOC, I can boot from my harddisk ,
> floppy with DOC in place.However, after that , with DOC in place ,I 
> even cannot boot from my floppy . It always give me grub boot.

Ok. I havent tried booting from floppy so far, but this tells me
I don't even have to try. 

> If I  pull out it from my board , the system boot from my hard disk 
> or floppy as usually.

Nice to know.

Peter
-- 
Those who give up essential liberties for temporary safety deserve 
neither liberty nor safety. -- Benjamin Franklin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to Clean bad Grubfirmware off DOC?
  2002-06-27 14:36 g_friend
@ 2002-06-28 18:47 ` Peter Keel
  2002-06-28 21:58   ` Mark Meade
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Keel @ 2002-06-28 18:47 UTC (permalink / raw)
  To: linux-mtd

* on the Thu, Jun 27, 2002 at 10:36:34PM +0800, g_friend@etang.com wrote:
> >Since you cannot boot with the doc2000 installed, I'd recommend trying the 
> >following, **very carefully**:
> >  1. Turn off system
> >  2. Remove DoC from board (I assume it's an ISA/PCI board with DoC socketed?)
> >  3. Install *empty* DoC board
> >  4. Boot into DOS
> >  5. Install latest M-Sys DOS utilities (if not already done)
> >  6. *** CAREFULLY *** install DoC into socket
> >  7. Run DFORMAT utility to replace grub firmware
> >*Disclaimer:  This procedure has worked for me, but it could do *bad things* 
> >to your DoC.  Use it only as a last resort.
> 
> By saying above ,do you mean "hot plug" ?

And do you mean you have to have 
- DOS (why shouldn't I use Linux?)
- An Empty DOC 
?? 

> >If your machine supports "Network" boot, you may want to try configuring GRUB 
> >with the "--enable-diskonchip-biosnetboot" option.  This will allow you to 
> >selectively boot from the DoC, returning to booting from a hard drive or 
> >floppy when needed.

IF your board does support that. Mine does not. That's why the whole
fun started. That, and the inability of grub to access my filesystem.

Peter
-- 
Those who give up essential liberties for temporary safety deserve 
neither liberty nor safety. -- Benjamin Franklin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to Clean bad Grubfirmware off DOC?
  2002-06-28 18:47 ` Peter Keel
@ 2002-06-28 21:58   ` Mark Meade
  2002-06-28 23:06     ` Peter Keel
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Meade @ 2002-06-28 21:58 UTC (permalink / raw)
  To: linux-mtd

Peter Keel wrote:
> > By saying above ,do you mean "hot plug" ?
> And do you mean you have to have
> - DOS (why shouldn't I use Linux?)

You don't *have* to use DOS, it just might be slightly easier to run DFORMAT 
to erase GRUB and return the DoC to its "virgin" state.  

If you used Linux, you would need to have all of the proper MTD stuff 
compiled as modules, and do your "insmod" or "modprobe" *after* hot-plugging 
the DoC.  You would also need to use "eraseall" to wipe out GRUB, and I 
didn't recommend that option because of the possibility of wiping out the bad 
block table.

> - An Empty DOC
> ??

To clarify, "an empty DoC board" simply means inserting the ISA or PCI eval 
board, without installing the DoC.  Obviously, this would allow you to boot 
without the DoC GRUB taking over, and then you could "hot-plug" the DoC to 
erase it.

Keep in mind that these instructions assume a PC and a M-Sys eval-board.  If 
your system is different, please post the specifics.

For what it's worth, my development PC has an ISA eval-board, and the ability 
to "network" boot.  My target system has a *socketed* DoC, with no monitor or 
keyboard.  I make sure the DoC is bootable (from (dc0,0) with root file 
system on /dev/nftla1) prior to installing it on my target.

What version of GRUB did you use, prior to applying the patch?  I'm still 
curious as to why it doesn't recognize your root filesystem.  Are you running 
GRUB on your hard drive?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to Clean bad Grubfirmware off DOC?
  2002-06-28 21:58   ` Mark Meade
@ 2002-06-28 23:06     ` Peter Keel
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Keel @ 2002-06-28 23:06 UTC (permalink / raw)
  To: Mark Meade; +Cc: linux-mtd

* on the Fri, Jun 28, 2002 at 05:58:29PM -0400, Mark Meade wrote:
> > - An Empty DOC
> > ??
> 
> To clarify, "an empty DoC board" simply means inserting the ISA or PCI eval 
> board, without installing the DoC.  Obviously, this would allow you to boot 
> without the DoC GRUB taking over, and then you could "hot-plug" the DoC to 
> erase it.
> 
> Keep in mind that these instructions assume a PC and a M-Sys eval-board.  If 
> your system is different, please post the specifics.

Ah, ok. I understand. My DoC is on the mainboard. I'm not even sure
if its socketed or soldered in, haven't checked. The machine is an
IGEL-Terminal, 233Mhz, 32MB Ram, 16MB DoC 2000, Cyrix Media GX. 
An older one. I think Its an IGEL-C. From http://www.igel.de
Originally came with linux 2.0.36, libc5 and M-Systems binary-only
driver, no ssh. So I had to fix that ;)) As it turned out, 2.4.18
was the first kernel able to handle the nasty DMA-bug of the 
Media GX chipset.. 

> What version of GRUB did you use, prior to applying the patch?  I'm still 
> curious as to why it doesn't recognize your root filesystem.  Are you running 
> GRUB on your hard drive?

No. On the Harddisk is lilo. Grub was 0.93 or something. the newest 
from cvs plus the newest MTD-patches, plus the Debian-diff, all 
neatly patched in, with the rejects ironed out. Compiled with all
the debian-options plus the docchip-2000 option. 

Cheers
Peter
-- 
Those who give up essential liberties for temporary safety deserve 
neither liberty nor safety. -- Benjamin Franklin

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-06-28 23:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-27 13:00 How to Clean bad Grubfirmware off DOC? Mark Meade
  -- strict thread matches above, loose matches on Subject: below --
2002-06-27 14:59 Mark Meade
2002-06-27 14:36 g_friend
2002-06-28 18:47 ` Peter Keel
2002-06-28 21:58   ` Mark Meade
2002-06-28 23:06     ` Peter Keel
2002-06-27  9:43 g_friend
2002-06-28 16:40 ` Peter Keel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox