Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
109 user(s) are online (72 user(s) are browsing Forums)

Members: 1
Guests: 108

joerg, more...

Support us!

Headlines

 
  Register To Post  

« 1 2 3 (4)
Re: Virtio SCSI driver for AmigaOS4.1FE on QEMU
Quite a regular
Quite a regular


See User information
@derfs
Quote:
Can I get some more information please?

No problem – here’s the description

I tested this on Qemu-10 peg2 U3 with bboot and VirtualSCSIDevice v53.8
Just to be sure, I’ve now also checked Qemu-9 A1 U3 with -bios u-boot-amigaone.bin (not bboot)
The system disk is not located on VirtualSCSIDevice.
Test 1:
Create qemu-img create test.img 100M.
Attach it to -device virtio-scsi-pci.
After the system has booted, open the ‘Media Toolbox’
VirtualSCSIDevice 1.8 - works correctly.
VirtualSCSIDevice 53.8 - does not work
dubmp:
54.57 (29.7.2023AmigaOne release
Machine model
(AmigaOne)
Dump of context at 0xEFFEDBA0
Trap type
DSI exception
Machine State 
(raw): 0x0000D030
Machine State 
(verbose): [ExtInt on] [User] [IAT on] [DAT on
Instruction pointerin module Kickstart/dos.library.kmod+0x00001D34 (0x0153BBF4)
Crashed processramlib.support (0x6FDD8AB0)
DSI verbose error descriptionAccess not found in hash or BAT (page fault)
Access was a store operation
 0
000000FE 6C9D0BC0 6FD34000 6A96E770 EEF6E780 6A8AEB80 00000000 EEF6E780
 8
: 08AA5530 6A96E770 01DD68E2 00000000 FFFFFFFF 00000000 01C56200 6AD464F0
16
80001967 80001968 01550C44 00000000 53465300 6A8AEB80 00000074 00000001
24
00000001 0000003F 00000000 00000012 FFFFFFFF 00000000 6FFAB180 6C792180
CR
24022824   XER00000000  CTR: 014348AC  LR0153BEC4
DSISR
42000000  DAREEF6E780

Kernel command line
debuglevel=7 serial

Registers pointing to code
:
r10native kernel module Kickstart/kernel+0x009d68e2
r14
native kernel module Kickstart/ramlib.kmod+0x00458cc0
r18
native kernel module Kickstart/dos.library.kmod+0x00016d84

Test 2:
Use the pre-configured test.img (initialised with ‘Install...’, must contain a partition, does not need to be formatted)
VirtualSCSIDevice 1.8 – works correctly.
VirtualSCSIDevice 53.8 – works correctly.

I do not have the VirtualSCSIDevice version (virtioscsi.device.debug) – it is not included in the lha package.

Go to top
Re: Virtio SCSI driver for AmigaOS4.1FE on QEMU
Home away from home
Home away from home


See User information
As a side note, but is this confusing 53.8 naming are good thing for our 3d party stuff ? Isn't 1.8 ,etc are better ? I mean, why we need this 53.x there , like its component of the OS ?:)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Virtio SCSI driver for AmigaOS4.1FE on QEMU
Not too shy to talk
Not too shy to talk


See User information
@smarkusg

Thanks

It looks like there is a partition RDB entry for SFS on the test.img file, or at least thats what this bit of the log says.

Was this a new image file or was it previously setup as SFS in media toolbox?
- If it was setup in media toolbox, what blocksize did you use? was the partition the complete image file?
What version of SFS are you using?
Is it crashing as soon as Media Toolbox loads, or can you select any options (virtioscsi.device, 'Install', ...) ?

I cant currently replicate the crash, so this extra information will help lots.

I have also added a debug version to the latest lha file in https://github.com/derfsss/VirtualSCSI ... 3.8/VirtualSCSIDevice.lha

Go to top
Re: Virtio SCSI driver for AmigaOS4.1FE on QEMU
Not too shy to talk
Not too shy to talk


See User information
@kas1e

No real reason other than I was under a false impression that this needed to be a certain version number to work with mounter, so thats why only this driver has a v53 version number.

Go to top
Re: Virtio SCSI driver for AmigaOS4.1FE on QEMU
Quite a regular
Quite a regular


See User information
@derfs
Qemu-9 A1 U3 – this is a clean system. Nothing from ES was installed on it. I haven’t installed anything on this system apart from Virtio9PFS-beta, VirtualSCSIDevice 53.8 and system updates to U3. The network isn’t even configured.
The system disk HD.img, which I use with bus=ide.0, has an SFS file system
Command line:
qemu-system-ppc -machine amigaone -bios u-boot-amigaone.bin -device ati-vga,model=rv100,romfile=VGABIOS-lgpl-latest.banshee.bin -serial stdio  -vga none  -device sm501 -drive format=raw,if=noneid=rdb,file=HD.img -device ide-hd,drive=rdb,bus=ide.0 -device virtio-scsi-pci,id=scsi0 -drive file=test.img, if=none,id=vd0,format=raw -device scsi-hd,drive=vd0,bus=scsi0.0,channel=0,scsi-id=0,lun=-virtfs local,path=/home/markus/Music,mount_tag=SHARED,security_model=none,id=share0

I’ll show you this visually – it’ll be easier to see if you don’t have access right now and can’t check it properly.
Here’s the full TEST1 run, as you might be interested in one more error
I create an image: qemu-img create test.img 100M
I run QEMU from my command line as specified.
After the system boots, I launch ‘Media Toolbox’ – the first crash occurs
screen - > https://ibb.co/8nDxBzrz
I select in ‘Media Toolbox’ -> ‘virtioscsi.device’ – the second crash occurs. The ‘Media Toolbox’ programme stops responding.
screen -> https://ibb.co/qY2tTH9P

The problem also occurs if I remove the entry in SYS:Kickstart/diskboot.config ‘virtioscsi.device 8 3’

Go to top
Re: Virtio SCSI driver for AmigaOS4.1FE on QEMU
Just can't stay away
Just can't stay away


See User information
@derfs
Replying post #60 in previous page.
In QEMU the MV64361 and Articia are both emulated and don't emulate any of the floating buffer or transparency mentioned in the explanation so if that comes from an AI it's BS. It looks more likely something else is wrong. Maybe it just does not look for memory BARs at the right address as the PCI memory windows might be at different addresses on the two machines but if it found the config registers and the IO BAR it should also be able to look up the memory BAR. Maybe AmigaOS does not map these by default and BBoot or the A1 firmware did not do that either so maybe something needs to do that? Can you compare "info pci" and "info mtree" output on the two machines to see if the BAR needed is mapped and where? I think I've asked those outputs before but did not see an answer.

Go to top

  Register To Post
« 1 2 3 (4)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
8 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project