Re: 64-bit userspace root file system for hppa64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/9/23 13:58, Helge Deller wrote:
On 12/9/23 19:56, Mark Cave-Ayland wrote:
The command line I used for testing hppa is below:

./qemu-system-hppa \
     -kernel vmlinux-parisc \
     -no-reboot \
     -snapshot \
     -device am53c974,id=scsi \
     -device scsi-hd,bus=scsi.0,drive=d0 \
     -drive file=rootfs.ext2-parisc,format=raw,if=none,id=d0 \
     -append "panic=-1 slub_debug=FZPUA root=/dev/sda console=ttyS0,115200" \
     -nographic -monitor null

...
If I limit the disc transfer size of am53c974 to just 4K per transaction
(like the patch below against Linux kernel 6.6.4), then qemu-hppa
boots up nicely with qemu git head (and Günther's patches applied).

Nice detective work :)

If you're using the esp-rework-testing branch then the only patch you should need is the patch to esp-pci.c: otherwise if you also apply Günther's esp.c patch then you break the reset of the ESP_RSTAT flags when reading ESP_RINTR. Can you confirm that this is the case in your tests?

No ext4 crc errors in this case.
Mark, your git tree then still gives IRQ issues and other problems.

Presumably this is just the "Spurious irq, sreg=%02x." errors, or are you seeing something else?

Mostly spurious irq:

[   41.561399] scsi host1: Spurious irq, sreg=10.
[   41.562700] scsi host1: Spurious irq, sreg=13.

But later too:

[    **] (1 of 5) Job dev-disk-by\x2duuid-ac…ice/start running (50s / 1min 30s)
[   72.700842] scsi host1: Aborting command [0000000016534e32:2a]
[   72.700842] scsi host1: Current command [00000000320ffcdd:2a]
[   72.700842] scsi host1: Queued command [0000000016534e32:2a]
[   72.700842] scsi host1:  Active command [00000000320ffcdd:2a]
[   72.700842] scsi host1: Dumping command log
[   72.700842] scsi host1: ent[13] CMD val[01] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[01]
[   72.700842] scsi host1: ent[14] CMD val[10] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[01]
[   72.700842] scsi host1: ent[15] EVENT val[02] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[01]
[   72.700842] scsi host1: ent[16] EVENT val[0d] sreg[90] seqreg[01] sreg2[00] ireg[10] ss[00] event[02]
[   72.700842] scsi host1: ent[17] EVENT val[04] sreg[90] seqreg[01] sreg2[00] ireg[10] ss[00] event[0d]
[   72.700842] scsi host1: ent[18] CMD val[90] sreg[90] seqreg[01] sreg2[00] ireg[10] ss[00] event[04]
[   72.700842] scsi host1: ent[19] EVENT val[05] sreg[90] seqreg[01] sreg2[00] ireg[10] ss[00] event[04]
[   72.700842] scsi host1: ent[20] CMD val[01] sreg[93] seqreg[01] sreg2[00] ireg[10] ss[00] event[05]
[   72.700842] scsi host1: ent[21] EVENT val[0d] sreg[93] seqreg[01] sreg2[00] ireg[10] ss[00] event[05]
[   72.700842] scsi host1: ent[22] CMD val[01] sreg[93] seqreg[01] sreg2[00] ireg[10] ss[00] event[0d]
[   72.700842] scsi host1: ent[23] CMD val[11] sreg[93] seqreg[01] sreg2[00] ireg[10] ss[00] event[0d]
[   72.700842] scsi host1: ent[24] EVENT val[0b] sreg[93] seqreg[01] sreg2[00] ireg[10] ss[00] event[0d]
[   72.700842] scsi host1: ent[25] CMD val[12] sreg[97] seqreg[01] sreg2[00] ireg[08] ss[00] event[0b]
[   72.700842] scsi host1: ent[26] EVENT val[0c] sreg[97] seqreg[01] sreg2[00] ireg[08] ss[00] event[0b]
[   72.700842] scsi host1: ent[27] CMD val[44] sreg[97] seqreg[00] sreg2[00] ireg[20] ss[00] event[0c]
[   72.700842] scsi host1: ent[28] CMD val[01] sreg[97] seqreg[00] sreg2[00] ireg[20] ss[02] event[0c]
[   72.700842] scsi host1: ent[29] CMD val[43] sreg[97] seqreg[00] sreg2[00] ireg[20] ss[02] event[0c]
[   72.700842] scsi host1: ent[30] EVENT val[0d] sreg[96] seqreg[01] sreg2[00] ireg[18] ss[00] event[0c]
[   72.700842] scsi host1: ent[31] EVENT val[09] sreg[96] seqreg[01] sreg2[00] ireg[18] ss[00] event[0d]
[   72.700842] scsi host1: ent[0] CMD val[01] sreg[96] seqreg[01] sreg2[00] ireg[18] ss[00] event[09]
[   72.700842] scsi host1: ent[1] CMD val[10] sreg[96] seqreg[01] sreg2[00] ireg[18] ss[00] event[09]
[   72.700842] scsi host1: ent[2] EVENT val[0a] sreg[96] seqreg[01] sreg2[00] ireg[18] ss[00] event[09]
[   72.700842] scsi host1: ent[3] CMD val[00] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[0a]
[   72.700842] scsi host1: ent[4] EVENT val[0d] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[0a]
[   72.700842] scsi host1: ent[5] EVENT val[01] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[0d]
[   72.700842] scsi host1: ent[6] CMD val[01] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[01]
[   72.700842] scsi host1: ent[7] CMD val[10] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[01]
[   72.700842] scsi host1: ent[8] EVENT val[02] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[01]
[   72.700842] scsi host1: ent[9] EVENT val[0d] sreg[90] seqreg[01] sreg2[00] ireg[10] ss[00] event[02]
[   72.700842] scsi host1: ent[10] EVENT val[04] sreg[90] seqreg[01] sreg2[00] ireg[10] ss[00] event[0d]
[   72.700842] scsi host1: ent[11] CMD val[90] sreg[90] seqreg[01] sreg2[00] ireg[10] ss[00] event[04]
[   72.700842] scsi host1: ent[12] EVENT val[05] sreg[90] seqreg[01] sreg2[00] ireg[10] ss[00] event[04]
[   72.759532] scsi host1: Aborting command [00000000320ffcdd:2a]
[   72.760847] scsi host1: Current command [00000000320ffcdd:2a]
[   72.760847] scsi host1:  Active command [00000000320ffcdd:2a]
[   72.760847] scsi host1: Dumping command log
[   72.760847] scsi host1: ent[13] CMD val[01] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[01]
[   72.760847] scsi host1: ent[14] CMD val[10] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[01]
[   72.760847] scsi host1: ent[15] EVENT val[02] sreg[92] seqreg[01] sreg2[00] ireg[10] ss[00] event[01]
...


Yes, I see that as well.

Guenter





[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux