A little trouble for MVME2400 boot from HD
Hi,
I would like to boot linux on a MVME2400 from a SCSI HD; I set a primary partition (it was /dev/sda3, about 3Mb) as 0x041 and made it bootable; then and I copied a zImage file on it using dd.
The ioi results for the controller are
PPC4-Bug>ioi
I/O Inquiry
Status:
CLUN DLUN CNTRL-TYPE DADDR DTYPE RM
Inquiry-Data
1 0 PC8477 0 $00 Y
<None>
10 50 NCR53C825 5 $00 N SEAGATE ST39140W
1487
But when I gave:
PPC4-Bug>pboot 10 50
3
the result was:
Booting from: NCR53C825, Controller 10, Drive
50
Device Name :
/pci@80000000/pci1000,3@10,0/harddisk@5,0
Loading: Operating
System
IPL Size Exceeds Free-Available
Memory:
IPL Size =AC444000
(&-1404813312)
Free-Available Memory =01F74000
(&32980992)
I'm missing something on the kernel image preparation? Or I have to use another command?
Thank you in advance.
Signature · 8 lines
Simone Piccardi Microsoft is NOT the answer. Microsoft is the Question. The answer is: "NO!" [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]] [[ and http://www.linuxppc.org/ for useful information before posting. ]]
Quoted 3 lines · Simone Piccardi
I would like to boot linux on a MVME2400 from a SCSI HD; I set a primary partition (it was
/dev/sda3, about 3Mb) as0x041and made it bootable; then and I copied a zImage file on it using dd.
<snip>
Quoted 9 lines
Loading: Operating
SystemIPL Size Exceeds Free-Available
Memory:
IPL Size =AC444000
(&-1404813312)
Free-Available Memory =01F74000
(&32980992)
Wow, that IPL Size is huge...no wonder BUG is upset. The only time I've seen this is when I've hacked up the PReP header info to make bootable CD's. If the sector offset is pointing to the wrong area to get the image then the load image length field would be wrong and result in BUG trying to read an immense amount of information in. See the PPCBUG user's manual for details on what PBOOT looks for in a boot image...it is on
http://www.mcg.mot.com. Look at your zImage and see if the sector offset in the PReP header partition table points at the 2nd 512 byte block and that the 2nd block has a valid entry offset point and load image length for your image.
Quoted 2 lines
I'm missing something on the kernel image preparation? Or I have to use another command?
You are building a zImage with "make zImage" and not applying any post image processing, right? MVME2400 have no known problems loading kernels, in that case.
--
Matt Porter
[email protected]
This is Linux Country. On a quiet night, you can hear Windows reboot.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
Hi.
Return for :
Matt Porter <[email protected]>
@ " Re: A little trouble for MVME2400 boot from HD "
date: Tue, 13 Jul 1999 09:59:46 -0700 (MST) >>>
Quoted 5 lines · Simone Piccardi
Wow, that IPL Size is huge...no wonder BUG is upset. The only time I've seen this is when I've hacked up the PReP header info to make bootable CD's.
Is there some useful tools that makes ISOimages bootable? Or some pathces for "mkisofs" is?
Best regards.
----------------------
Kaz Aoshima = PReP station
Material deveropment, Faculty of engineering,
Tohoku University, Japan
E-mail:[email protected]
#I am appreciate if you could tell me suggestions
for my bad English expressions.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
Quoted 6 lines · Kazunori Aoshima
Quoted 3 lines
Wow, that IPL Size is huge...no wonder BUG is upset. The only time I've seen this is when I've hacked up the PReP header info to make bootable CD's.
Is there some useful tools that makes ISOimages bootable? Or some pathces for "mkisofs" is?
How about a patch to mkhybrid? I was just writing a script to automate this when somebody passed me Troy B.'s patch to mkhybrid (which is the correct place to put this support). It supports multiple boot images (up to four) with no problem. Note: do not give it a symlink to your boot image! It screws the absolute offset calculation which cost me many hours before I realized what was happening. Also, there is a bug which causes fwrite to fail on certain sized smaller isofs's (haven't found the exact pattern yet).
I've attach the patch to this message.
[ deleted because it's too big; ask Matt to put it on an ftp site if you want it -- dw ]
--
Matt Porter
[email protected]
This is Linux Country. On a quiet night, you can hear Windows reboot.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]