Re: Fwd: Fail to boot Fujitsu M10-4

2019-06-04 Thread Gregor Riepl
> It's a rather generic error message. You are also getting this when building
> GRUB with "-fpie" in CASFLAGS.

Doesn't this also happen when an invalid instruction due to a broken boot
loader binary (wrong executable format, invalid offset, etc.) is encountered?



Re: Fwd: Fail to boot Fujitsu M10-4

2019-06-04 Thread John Paul Adrian Glaubitz
On 6/4/19 12:27 PM, Anatoly Pugachev wrote:
>> vitual-device not found.
>>
>> ERROR: Last Trap: Fast Data Access MMU Miss
> 
> 
> JFYI
> 
> Last time i've seen this error on 220R  (like 10 years ago) , the only
> way to boot linux on it was to hard power reset

It's a rather generic error message. You are also getting this when building
GRUB with "-fpie" in CASFLAGS.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Fwd: Fail to boot Fujitsu M10-4

2019-06-04 Thread Kevin Stabel
Hi,

When i get fast data mmu miss, it is usually related to device scanning and
such on scsi controllers.
Check that your nvramrc doesn't have things in it like scsi-probe-all and
such.

I've also had this problem once trying to load a kernel and initrd that was
too big.

HTH

-Kevin

On Tue, Jun 4, 2019 at 12:28 PM Anatoly Pugachev  wrote:

> On Tue, Jun 4, 2019 at 12:42 PM Sonnie Hook  wrote:
> >
> > I inserted a USB disk on M10-4 and partitioned it with grub bios in
> rescue mode. The installer automatically installed GRUB to /dev/sda. I
> chroot to /target and executed
> >
> > # grub-install --force-extra-removable "/dev/sdb"
> >
> > Installing for sparc64-ieee1275 platform.
> >
> > Installation finished. No error reported.
> >
> >
> > Then something different happened:
> >
> > {0} ok boot /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/disk@0,0:a
> >
> > Boot device: /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/disk@0,0:a  File
> and args:
> >
> > GRUB Loading kernel.
> >
> > vitual-device not found.
> >
> > ERROR: Last Trap: Fast Data Access MMU Miss
>
>
> JFYI
>
> Last time i've seen this error on 220R  (like 10 years ago) , the only
> way to boot linux on it was to hard power reset
>
>


Re: Fwd: Fail to boot Fujitsu M10-4

2019-06-04 Thread Anatoly Pugachev
On Tue, Jun 4, 2019 at 12:42 PM Sonnie Hook  wrote:
>
> I inserted a USB disk on M10-4 and partitioned it with grub bios in rescue 
> mode. The installer automatically installed GRUB to /dev/sda. I chroot to 
> /target and executed
>
> # grub-install --force-extra-removable "/dev/sdb"
>
> Installing for sparc64-ieee1275 platform.
>
> Installation finished. No error reported.
>
>
> Then something different happened:
>
> {0} ok boot /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/disk@0,0:a
>
> Boot device: /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/disk@0,0:a  File and 
> args:
>
> GRUB Loading kernel.
>
> vitual-device not found.
>
> ERROR: Last Trap: Fast Data Access MMU Miss


JFYI

Last time i've seen this error on 220R  (like 10 years ago) , the only
way to boot linux on it was to hard power reset



Re: Fwd: Fail to boot Fujitsu M10-4

2019-06-04 Thread John Paul Adrian Glaubitz
On 6/4/19 11:41 AM, Sonnie Hook wrote:
> Then something different happened:
> 
> {0} ok boot /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/disk@0,0:a
> 
> Boot device: /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/disk@0,0:a  File and 
> args: 
> 
> GRUB Loading kernel.
> 
> vitual-device not found.
> 
> ERROR: Last Trap: Fast Data Access MMU Miss
Where does this version of GRUB come from? Are you using the latest 
installation image?

I just verified today that this image installs fine inside a SPARC T5 LDOM:

> https://cdimage.debian.org/cdimage/ports/2019-05-24/debian-10.0-sparc64-NETINST-1.iso

If you are using this image and it still crashes, this needs to be reported to 
grub-devel.

FWIW, would it be possible for me to get access to this machine remotely?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Fwd: Fail to boot Fujitsu M10-4

2019-06-04 Thread Sonnie Hook
I inserted a USB disk on M10-4 and partitioned it with grub bios in rescue
mode. The installer automatically installed GRUB to /dev/sda. I chroot to
/target and executed

# grub-install --force-extra-removable "/dev/sdb"

Installing for sparc64-ieee1275 platform.

Installation finished. No error reported.


Then something different happened:

{0} ok boot /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/disk@0,0:a

Boot device: /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/disk@0,0:a  File and
args:

GRUB Loading kernel.

vitual-device not found.

ERROR: Last Trap: Fast Data Access MMU Miss

TL:   1



%TL:1 %TT:68 %TPC:127a0 %TnPC:127a4

%TSTATE:1602  %CWP:2

   %PSTATE:16 AG:0 IE:1 PRIV:1 AM:0 PEF:1 RED:0 MM:0 TLE:0 CLE:0 MG:0 IG:0

   %ASI:0  %CCR:0  XCC:nzvc   ICC:nzvc



%TL:2 %TT:183 %TPC:f0249ccc %TnPC:f0200d00

%TSTATE:1001402  %CWP:2

   %PSTATE:14 AG:0 IE:0 PRIV:1 AM:0 PEF:1 RED:0 MM:0 TLE:0 CLE:0 MG:0 IG:0

   %ASI:0  %CCR:0  XCC:nzvc   ICC:nzvc



INs LOCALs  OUTs

0: 254c0 2d3c280825360

1: 0 6db08fa40

2: 257c200

3: 255e003

4: 2c200 ffb06cb025620

5: 0 fefc57f825520

6: 6b2b1 f0285e546b201

7:  53d8 f022a2fc11e10



Normal  GL=1

0: 00

1: 02

2: 0 7c000fffc000

3: 0 7c400740

4: 19000 7c000fffc000

5:2f 7c000ff53a90

6: 0 7c000ff53d60

7: 0 f0249c04

%PC  127a0 %nPC 127a4

%TBA f020 %CCR 16 XCC:nzvC   ICC:nZVc

alive-check-started-number = 8



Instruction Fault Address:25e000

Instruction Fault Context: 0

Data Fault Address:0

Data Fault Context:0



Instruction code: d80a4001





255e0

0

19028

2c1a0

2a180

 fee58c380004

  63c

   1c

0

25820

3

{0} ok



John Paul Adrian Glaubitz  于2019年6月3日周一
下午5:46写道:

> On 6/3/19 11:41 AM, Sonnie Hook wrote:
> > Jun  3 09:38:08 grub-installer: info: Installing grub on '/dev/sda'
> > Jun  3 09:38:08 grub-installer: info: grub-install does not support
> --no-floppy
> > Jun  3 09:38:08 grub-installer: info: Running chroot /target
> grub-install  --force "/dev/sda"
> > Jun  3 09:38:08 grub-installer: Installing for sparc64-ieee1275 platform.
> > Jun  3 09:38:16 grub-installer: Installation finished. No error reported.
> > Jun  3 09:38:16 grub-installer: info: grub-install ran successfully
> Hmm, that looks correct though for GPT-based systems [1]. It *should* work
> if
> the OF path is also correct. I guess we should really post this to
> grub-devel
> and ask Eric Snowberg who has the most experience with GRUB on SPARC.
>
> Adrian
>
> > [1] https://github.com/esnowberg/grub2-sparc/wiki
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaub...@debian.org
> `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
>   `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>