* RE: Lost DOC2000 after trying to load grub
@ 2002-03-07 15:56 Vadim Khmelnitsky
2002-03-07 16:01 ` David Woodhouse
0 siblings, 1 reply; 6+ messages in thread
From: Vadim Khmelnitsky @ 2002-03-07 15:56 UTC (permalink / raw)
To: 'Herman Theron', strtok, linux-mtd
If i understand eraseall utility correctly it erases the whole diskonchip
completely . After that bad block table is lost and it's unsafe to use such
diskonchip afterwards .
Vadim
-----Original Message-----
From: Herman Theron [mailto:HEtheron@csir.co.za]
Sent: Wed, March 06, 2002 10:47 PM
To: strtok@hotmail.com; linux-mtd@lists.infradead.org
Subject: Re: Lost DOC2000 after trying to load grub
Hi Chris!
When I tried Grub, I followed the same route you did..... Use the
"eraseall" utility to clean the flash. Then you can use dformat again.
Have you tried the latest stock lilo? It supports DOC devices.
Cheers
Herman
****************************************
Herman Theron
Hermanus Magnetic Observatory
CSIR
PO Box 32
Hermanus
7200
South Africa
E-mail: hetheron@csir.co.za
Phone: +27 28 3121196
Fax: +27 28 3122039
Cel: +27 833 206 311
>>> Chris Fowler <strtok@hotmail.com> 03/06/02 05:19PM >>>
Help. I decided to replace my doc-lilo with grub. I did the
following:
[root@cas8]# ./doc_loadbios /dev/mtd0 grub_firmware
Performing Flash Erase of length 16384 at offset 0
Performing Flash Erase of length 16384 at offset 16384
Performing Flash Erase of length 16384 at offset 32768
Performing Flash Erase of length 16384 at offset 49152
Performing Flash Erase of length 16384 at offset 65536
Performing Flash Erase of length 16384 at offset 81920
Writing the firmware of length 94528 at 0... Done.
[root@cas8]# restart
Now when it boots I get a grub propmt. I'm not sure what to do to make
the doc-lilo boot now. So I do not know what to type at grub>
But that is not the main problem. I decided to replace my orignal
software. Between major changes I've been using getimage and putimage.
I did a putimage <image name> and get
Error: Too much bad sector
So I do a dformat /win:D000 /s:DOC504.exb /FIRST /NOFORMAT /Y and I get
the following error:
Error writing EXB
Status code 26 (flUnknownMedia) received from flPlaceExbByBuffer.
Format Failed.
I know this has something to do with:
[root@cas8]# ./doc_loadbios /dev/mtd0 grub_firmware
How do I revocer without replaceing the chip?
Thanks,
Chris Fowler
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Lost DOC2000 after trying to load grub
2002-03-07 15:56 Lost DOC2000 after trying to load grub Vadim Khmelnitsky
@ 2002-03-07 16:01 ` David Woodhouse
0 siblings, 0 replies; 6+ messages in thread
From: David Woodhouse @ 2002-03-07 16:01 UTC (permalink / raw)
To: Vadim Khmelnitsky; +Cc: 'Herman Theron', strtok, linux-mtd
VadimK@m-sys.com said:
> If i understand eraseall utility correctly it erases the whole
> diskonchip completely . After that bad block table is lost and it's
> unsafe to use such diskonchip afterwards .
You are correct. Neither nftl_format or eraseall functions are safe.
How feasible would it be to port the M-Systems DFORMAT utility to work
under Linux through the MTD driver?
--
dwmw2
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Lost DOC2000 after trying to load grub
@ 2002-03-08 1:01 Vadim Khmelnitsky
0 siblings, 0 replies; 6+ messages in thread
From: Vadim Khmelnitsky @ 2002-03-08 1:01 UTC (permalink / raw)
To: 'David Woodhouse'; +Cc: 'Herman Theron', strtok, linux-mtd
How feasible would it be to port the M-Systems DFORMAT utility to work
under Linux through the MTD driver?
[Vadim]
If you guys have a hooks for physical access operations like read physical
page, write physical page and erase unit it should not be a problem .
Vadim
-----Original Message-----
From: David Woodhouse [mailto:dwmw2@infradead.org]
Sent: Thu, March 07, 2002 8:01 AM
To: Vadim Khmelnitsky
Cc: 'Herman Theron'; strtok@hotmail.com; linux-mtd@lists.infradead.org
Subject: Re: Lost DOC2000 after trying to load grub
VadimK@m-sys.com said:
> If i understand eraseall utility correctly it erases the whole
> diskonchip completely . After that bad block table is lost and it's
> unsafe to use such diskonchip afterwards .
You are correct. Neither nftl_format or eraseall functions are safe.
How feasible would it be to port the M-Systems DFORMAT utility to work
under Linux through the MTD driver?
--
dwmw2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Lost DOC2000 after trying to load grub
@ 2002-03-07 6:46 Herman Theron
0 siblings, 0 replies; 6+ messages in thread
From: Herman Theron @ 2002-03-07 6:46 UTC (permalink / raw)
To: strtok, linux-mtd
Hi Chris!
When I tried Grub, I followed the same route you did..... Use the
"eraseall" utility to clean the flash. Then you can use dformat again.
Have you tried the latest stock lilo? It supports DOC devices.
Cheers
Herman
****************************************
Herman Theron
Hermanus Magnetic Observatory
CSIR
PO Box 32
Hermanus
7200
South Africa
E-mail: hetheron@csir.co.za
Phone: +27 28 3121196
Fax: +27 28 3122039
Cel: +27 833 206 311
>>> Chris Fowler <strtok@hotmail.com> 03/06/02 05:19PM >>>
Help. I decided to replace my doc-lilo with grub. I did the
following:
[root@cas8]# ./doc_loadbios /dev/mtd0 grub_firmware
Performing Flash Erase of length 16384 at offset 0
Performing Flash Erase of length 16384 at offset 16384
Performing Flash Erase of length 16384 at offset 32768
Performing Flash Erase of length 16384 at offset 49152
Performing Flash Erase of length 16384 at offset 65536
Performing Flash Erase of length 16384 at offset 81920
Writing the firmware of length 94528 at 0... Done.
[root@cas8]# restart
Now when it boots I get a grub propmt. I'm not sure what to do to make
the doc-lilo boot now. So I do not know what to type at grub>
But that is not the main problem. I decided to replace my orignal
software. Between major changes I've been using getimage and putimage.
I did a putimage <image name> and get
Error: Too much bad sector
So I do a dformat /win:D000 /s:DOC504.exb /FIRST /NOFORMAT /Y and I get
the following error:
Error writing EXB
Status code 26 (flUnknownMedia) received from flPlaceExbByBuffer.
Format Failed.
I know this has something to do with:
[root@cas8]# ./doc_loadbios /dev/mtd0 grub_firmware
How do I revocer without replaceing the chip?
Thanks,
Chris Fowler
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Lost DOC2000 after trying to load grub
@ 2002-03-06 15:19 Chris Fowler
2002-03-06 15:24 ` David Woodhouse
0 siblings, 1 reply; 6+ messages in thread
From: Chris Fowler @ 2002-03-06 15:19 UTC (permalink / raw)
To: linux-mtd; +Cc: strtok
Help. I decided to replace my doc-lilo with grub. I did the following:
[root@cas8]# ./doc_loadbios /dev/mtd0 grub_firmware
Performing Flash Erase of length 16384 at offset 0
Performing Flash Erase of length 16384 at offset 16384
Performing Flash Erase of length 16384 at offset 32768
Performing Flash Erase of length 16384 at offset 49152
Performing Flash Erase of length 16384 at offset 65536
Performing Flash Erase of length 16384 at offset 81920
Writing the firmware of length 94528 at 0... Done.
[root@cas8]# restart
Now when it boots I get a grub propmt. I'm not sure what to do to make the doc-lilo boot now. So I do not know what to type at grub>
But that is not the main problem. I decided to replace my orignal software. Between major changes I've been using getimage and putimage. I did a putimage <image name> and get
Error: Too much bad sector
So I do a dformat /win:D000 /s:DOC504.exb /FIRST /NOFORMAT /Y and I get the following error:
Error writing EXB
Status code 26 (flUnknownMedia) received from flPlaceExbByBuffer.
Format Failed.
I know this has something to do with:
[root@cas8]# ./doc_loadbios /dev/mtd0 grub_firmware
How do I revocer without replaceing the chip?
Thanks,
Chris Fowler
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Lost DOC2000 after trying to load grub
2002-03-06 15:19 Chris Fowler
@ 2002-03-06 15:24 ` David Woodhouse
0 siblings, 0 replies; 6+ messages in thread
From: David Woodhouse @ 2002-03-06 15:24 UTC (permalink / raw)
To: strtok; +Cc: linux-mtd
strtok@hotmail.com said:
> Now when it boots I get a grub propmt. I'm not sure what to do to
> make the doc-lilo boot now. So I do not know what to type at grub>
root=(dc0,0)
kernel=/boot/...
> How do I revocer without replaceing the chip?
Use nftl_format if DFORMAT won't work.
--
dwmw2
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-03-08 0:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-07 15:56 Lost DOC2000 after trying to load grub Vadim Khmelnitsky
2002-03-07 16:01 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2002-03-08 1:01 Vadim Khmelnitsky
2002-03-07 6:46 Herman Theron
2002-03-06 15:19 Chris Fowler
2002-03-06 15:24 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox