* Grub support in DiskOnChip.
@ 2000-09-05 12:53 David Woodhouse
2000-09-06 18:40 ` Dvir Oren
0 siblings, 1 reply; 8+ messages in thread
From: David Woodhouse @ 2000-09-05 12:53 UTC (permalink / raw)
To: mtd; +Cc: void
Grub patches to support NFTL properly have just been contributed.
See mtd/patches/grub* and send virtual beer to void@dr.com
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Grub support in DiskOnChip.
2000-09-05 12:53 David Woodhouse
@ 2000-09-06 18:40 ` Dvir Oren
2000-09-07 7:09 ` David Woodhouse
0 siblings, 1 reply; 8+ messages in thread
From: Dvir Oren @ 2000-09-06 18:40 UTC (permalink / raw)
To: David Woodhouse; +Cc: MTD
David Woodhouse writes ("Grub support in DiskOnChip."):
> Grub patches to support NFTL properly have just been contributed.
> See mtd/patches/grub* and send virtual beer to void@dr.com
Does this mean that grub can boot DoC?
--
Dvir Oren <dviro@lucidvon.com>
Lucid VON Ltd. <http://www.lucidvon.com>
9 Saloniki St., Tel-Aviv Israel
Tel: +972 3 644 3038 Fax: +972 3 644 3039
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Grub support in DiskOnChip.
2000-09-06 18:40 ` Dvir Oren
@ 2000-09-07 7:09 ` David Woodhouse
0 siblings, 0 replies; 8+ messages in thread
From: David Woodhouse @ 2000-09-07 7:09 UTC (permalink / raw)
To: Dvir Oren; +Cc: MTD
dvir@lucidvon.com said:
> Does this mean that grub can boot DoC?
I assume so - I haven't actually tested it myself but that's the intention
:)
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Grub support in DiskOnChip.
@ 2000-09-18 22:33 Volker Sonn
2000-10-09 9:07 ` David Woodhouse
0 siblings, 1 reply; 8+ messages in thread
From: Volker Sonn @ 2000-09-18 22:33 UTC (permalink / raw)
To: mtd-list
Hi,
i cant boot my DOC2000 with grub :-(
I did: (in this order)
- patched grub with the 2 patches in mtd/grub/
- make, make install (of grub)
- copied the pre_stage2 to /mdt/grub
- mdt/grub/make
- doc_loadbios /dev/mtd0 grub_firmware
- nftl_format /dev/mdt0 81920
- fdisk /dev/nftla
- mke2fs /dev/nftla1 -m 0
- copied a kernel and /boot/grub to /nftla1
After rebooting, the grub shell comes up, but i can't access the DOC with something like
root (dc0,0) etc.
(Booting from (hd0) is possible)
Where I'm wrong ?
> Grub patches to support NFTL properly have just been contributed.
> See mtd/patches/grub* and send virtual beer to void@dr.com
> --
> dwmw2
> To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Grub support in DiskOnChip.
@ 2000-10-09 1:13 Kevin Moore
2000-10-09 9:07 ` David Woodhouse
0 siblings, 1 reply; 8+ messages in thread
From: Kevin Moore @ 2000-10-09 1:13 UTC (permalink / raw)
To: mtd
Hello,
I have an Allwell STB1030N (small form-factor solid state x86 box)
with a 16 MB DOC Millenium, and I'm having difficulties getting grub
to work. I can't get past the dreaded "DISK BOOT FAILURE..." message
after following essentially the same steps as outlined in the message
below.
I am using a 2.4.0-test9 kernel with "linux/drivers/mtd" and
"linux/include/linux/mtd" directories replaced with those from a
7 Oct, 2000 cvs checkout. Everything seems fine for mounting, reading,
and writing with /dev/nftla1, so I assume that writing "grub_firmware"
is working. I am using the grub version 0.5.95 to match the nftl patches
provided with mtd. I'm using the recommended bios settings for booting
the DOC (SCSI,C), but I've tried the others as well. Booting off
of a hard-drive or cdrom is no problem.
I tried changing the M-Systems lilo patches (major dev 62 -> 93),
loading doc-lilo, and using the mtd doc_loadbios to load the M-Sys
firmware (doc42.exb), but got the same result. I need the 2.4.x kernels,
so going completely with their method is not an option.
This must be a problem with the stage1 loader and/or bios, but I'm
at a loss for how to proceed from here. Any suggestions for what
to try next would be welcome.
Thanks,
Kevin Moore
>
> Hi,
>
> i cant boot my DOC2000 with grub :-(
>
> I did: (in this order)
> - patched grub with the 2 patches in mtd/grub/
> - make, make install (of grub)
> - copied the pre_stage2 to /mdt/grub
> - mdt/grub/make
> - doc_loadbios /dev/mtd0 grub_firmware
> - nftl_format /dev/mdt0 81920
> - fdisk /dev/nftla
> - mke2fs /dev/nftla1 -m 0
> - copied a kernel and /boot/grub to /nftla1
>
> After rebooting, the grub shell comes up, but i can't access the DOC
> with something like root (dc0,0) etc.
> (Booting from (hd0) is possible)
>
> Where I'm wrong ?
>
>
> > Grub patches to support NFTL properly have just been contributed.
>
> > See mtd/patches/grub* and send virtual beer to void@dr.com
>
> > --
> > dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Grub support in DiskOnChip.
2000-09-18 22:33 Volker Sonn
@ 2000-10-09 9:07 ` David Woodhouse
0 siblings, 0 replies; 8+ messages in thread
From: David Woodhouse @ 2000-10-09 9:07 UTC (permalink / raw)
To: Volker Sonn; +Cc: mtd
mlist@sonn-online.de said:
> After rebooting, the grub shell comes up, but i can't access the DOC
> with something like root (dc0,0) etc. (Booting from (hd0) is
> possible)
> Where I'm wrong ?
Doesn't look like you did anything wrong. What did Grub say when you told
it root=(dc0,0) ?
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Grub support in DiskOnChip.
2000-10-09 1:13 Grub support in DiskOnChip Kevin Moore
@ 2000-10-09 9:07 ` David Woodhouse
2000-10-16 15:34 ` Kevin Moore
0 siblings, 1 reply; 8+ messages in thread
From: David Woodhouse @ 2000-10-09 9:07 UTC (permalink / raw)
To: kevin; +Cc: mtd
kevin@moore-and-moore.com said:
> I have an Allwell STB1030N (small form-factor solid state x86 box)
> with a 16 MB DOC Millenium, and I'm having difficulties getting grub
> to work.
Grub doesn't yet support the DiskOnChip Millennium. It shouldn't be
difficult to fix that, it's just that I did my development on DiskOnChip
2000.
First you need to add Millennium support to Grub itself - you can boot Grub
from a floppy to test this. Once Grub can detect and read the DiskOnChip,
you also need to add Millennium support to the Grub loader found in the
grub/ directory of my CVS tree.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Grub support in DiskOnChip.
2000-10-09 9:07 ` David Woodhouse
@ 2000-10-16 15:34 ` Kevin Moore
0 siblings, 0 replies; 8+ messages in thread
From: Kevin Moore @ 2000-10-16 15:34 UTC (permalink / raw)
To: mtd
On Mon, 09 Oct 2000 02:07:54 David Woodhouse wrote:
>
> Grub doesn't yet support the DiskOnChip Millennium. It shouldn't be
> difficult to fix that, it's just that I did my development on DiskOnChip
> 2000.
>
> First you need to add Millennium support to Grub itself - you can boot Grub
> from a floppy to test this. Once Grub can detect and read the DiskOnChip,
> you also need to add Millennium support to the Grub loader found in the
> grub/ directory of my CVS tree.
>
I now have grub successfully detecting the DoC Millennium and (almost)
booting the kernel. Everything goes great until the kernel looks
for a filesystem, at which point it says:
Kernel panic: I have no root and I want to scream
This is with the same kernel that works fine for access to the DoC
when booted off the hard drive (all built-ins, no modules). The mtd
files are from a cvs checkout I made on 7 October. The grub commands
I use are:
root (dc0,0)
kernel /boot/vmlinuz-2.4.0-test9 root=/dev/nftla1
boot
The flash chips are detected fine during boot-up and 4 lines above
the kernel panic I see:
nftla: nftla1
Also, the /dev directory on the DoC is populated. If I specify the
root as "root=/dev/hda1", then I can boot using the kernel on the
DoC and the root filesystem on the hard drive. It seems like I'm
close.
Three questions:
- Does anybody have suggestions on what the problem is or how to
debug this? Could I be leaving the DoC in a bad state exiting
grub even though the kernel seems to detect it okay?
- Thinking past this, does anybody have suggestions on what needs
to be changed in the grub loader to support DoC Millennium? I've
not done much x86 assembly, but I'm willing to give it a shot.
- I've gotten this far by looking at doc2000.c, doc2001.c, and nftl.c
from the kernel driver. I saw many comments starting with "see
software requirement..." I've searched the M-systems website,
and haven't found any docs that look like this. Can somebody
point me to the proper documentation?
thanks,
Kevin
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2000-10-16 15:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-09 1:13 Grub support in DiskOnChip Kevin Moore
2000-10-09 9:07 ` David Woodhouse
2000-10-16 15:34 ` Kevin Moore
-- strict thread matches above, loose matches on Subject: below --
2000-09-18 22:33 Volker Sonn
2000-10-09 9:07 ` David Woodhouse
2000-09-05 12:53 David Woodhouse
2000-09-06 18:40 ` Dvir Oren
2000-09-07 7:09 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox