Hello all,

I had been told before that disk images up to 8GB were supported by M5
(also seemingly indicated by the linux-dist's mkblankimage.sh script,
which will build blank disk images up to 8GB in size).

However, I recently discovered that if a disk image larger than 2GB is
used, the simulator crashes while Linux boots, with the following:

panic: access out of bounds
 @ cycle 3381415871
[read:m5/dev/disk_image.cc, line 391]

For a working image, the Linux boot produces the following output
(sample from 2048 MB image)
++++++++++++++++++
hda: M5 IDE Disk, ATA DISK drive
ide0 at 0x8410-0x8417,0x8422 on irq 31
hda: max request size: 128KiB
hda: 4194288 sectors (2147 MB), CHS=4161/16/63, UDMA(33)
 hda: hda1
++++++++++++++++++
For a non-working image (in this case, 2049 MB), the boot produces
the following right before the simulator crashes:
++++++++++++++++++
hda: M5 IDE Disk, ATA DISK drive
ide0 at 0x8410-0x8417,0x8422 on irq 31
hda: max request size: 128KiB
hda: cannot use LBA48 - full capacity 4290774992 sectors (2196876 MB)
hda: 268435456 sectors (137438 MB), CHS=65535/16/63, UDMA(33)
 hda:
++++++++++++++++++
(that last line ends abruptly, without printing newline, right as sim
crashes)

I was wondering if there is a simple fix for this and/or if it will be
addressed in the coming version of M5?

Thanks!

                                -Adam


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to