English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.FS-UAE (https://eab.abime.net/forumdisplay.php?f=122)
-   -   Debian Linux under FS-UAE (https://eab.abime.net/showthread.php?t=82583)

Jagger 05 May 2016 03:16

Debian Linux under FS-UAE
 
Hi,

I prepared Debian 8 image for FS-UAE. It's available here:

https://drive.google.com/folderview?...GM&usp=sharing

Please read the Info doc for details.

Enjoy!

sairuk 05 May 2016 07:23

Thanks will give it a go

FrodeSolheim 05 May 2016 11:37

Somewhat unsettling to see Linux in an emulated Amiga in FS-UAE use a newer kernel than I use on my main computer :D

alkis 05 May 2016 19:28

Nice one! Thanks

In Info you say...
Quote:

Q: Is networking working

A: Yes, with qemuuae plugin.
But in https://fs-uae.net/download#plugins it says that qemu-uae is Plugin for PPC emulation. Something doesn't add up? :)

How did you make that? Cross-compiled from linux or something?

FrodeSolheim 05 May 2016 20:27

Quote:

Originally Posted by alkis (Post 1087623)
But in https://fs-uae.net/download#plugins it says that qemu-uae is Plugin for PPC emulation. Something doesn't add up? :)

The documentation isn't completely accurate. It is also used for slirp network support. I'll update the information on the download page.

jbl007 05 May 2016 20:28

2 Attachment(s)
Hm, for some reason it doesn't work here: The kernel can't find the root partition. :sad
Using Linux, fs-uae-devel from git and Linux-A1200.fs-uae config
Code:

sha1sum TEST.hdf*
37a8299e5fff8a07a3237ebfb92ee014d9643496  TEST.hdf
6f6af4f5e3d480333993dc40e0808704ce949565  TEST.hdf.xz

Edit: Boots fine with fs-uae 2.6.2 after changing amiga_model to A1200/020 and WinUAE 3.1.0. Fails to boot (same error) with WinUAE 3.3.0 Public Beta 10 and 3.2.2.
So perhaps a (Win)UAE bug or wrong config (but I used the same one...).

Jagger 06 May 2016 00:15

Quote:

Originally Posted by jbl007 (Post 1087629)
Hm, for some reason it doesn't work here: The kernel can't find the root partition. :sad
Using Linux, fs-uae-devel from git and Linux-A1200.fs-uae config
Code:

sha1sum TEST.hdf*
37a8299e5fff8a07a3237ebfb92ee014d9643496  TEST.hdf
6f6af4f5e3d480333993dc40e0808704ce949565  TEST.hdf.xz

Edit: Boots fine with fs-uae 2.6.2 after changing amiga_model to A1200/020 and WinUAE 3.1.0. Fails to boot (same error) with WinUAE 3.3.0 Public Beta 10 and 3.2.2.
So perhaps a (Win)UAE bug or wrong config (but I used the same one...).

Most likely a qemu or Linux kernel bug where support for IDE controller in Amiga is broken. If you pause the booting process of the kernel you should see something along

"ide0: Unknown number of cylinders. ide0 ignored"

I fixed it some time ago by using Amiga3000 with SCSI, which seems to work better. Here's the config

[fs-uae]
amiga_model = A3000
accelerator = cyberstorm-ppc
accelerator_memory = 131072
accelerator_rom = /home/jagger/Documents/FS-UAE/Kickstarts/cyberstormppc.rom
cpu = 68060
accuracy = 0
video_sync = off
uae_cpu_speed = max
fpu_strict = true
bsdsocket_emu = false
floppy_drive_count = 0
chipset_compatible = A3000
hard_drive_0 = DEBIAN.hdf
hard_drive_0_controller = scsi0
hard_drive_0_label = DEBIAN
kickstart_file = /home/jagger/Documents/FS-UAE/Kickstarts/a3000.rom
chip_memory = 2048
uae_z3mem_size = 1024
uae_z3mem_start = 0x80000000
uae_sana2 = true
uae_a2065 = slirp
uae_slirp_implementation = qemu
floppy_drive_count = 0

but for it to work, you need to make 2 changes

a). change <amiga_affs_partition>/s/startup-sequence hda2 -> sda2
b). change <linux_partition>/etc/fstab hda2 -> sda2

It's possible to do it on local Linux, but you need to do some magic with losetup and mount.

losetup -P /dev/loop0 TEST.hdf
mount -t affs /dev/loop0p1 /mnt/affs
mount -t ext4 /dev/loop0p2 /mnt/ext4


after modification perform the following:
umount /mnt/affs
umount /mnt/ext4
losetup -d /dev/loop0

Also, you'd need A3000 rom, because the one delivered with FS-USE doesn't seem to support boot-from-scsi, and Cyberstorm ROM, w/o which it doesn't boot well.

Jagger 06 May 2016 00:25

Quote:

Originally Posted by alkis (Post 1087623)
How did you make that? Cross-compiled from linux or something?

Kernel is cross-compiled. The root image is debootstrap'd with different architecture under chroot. Well.. it's actually a bit more complicated (debootstrap doesn't set-up all packages correctly, so I re-installed individual packages after boot).

sairuk 06 May 2016 08:55

No joy on FS-UAE 2.4.1 either as A1200 or A1200/20

Upgraded to FS-UAE 2.6.2 and i'm up and running as A1200/20.

jbl007 06 May 2016 19:29

Quote:

Originally Posted by Jagger (Post 1087664)
Most likely a qemu or Linux kernel bug where support for IDE controller in Amiga is broken.

I think, it's a little strange that it works with earlier Win-/FS-UAE versions and with more recent ones it doesn't.

Anyway... It works with A3000+cs-ppc+scsi. Loop-mounting the .hdf wasn't possible with my kernel because it has no support for Amiga partition type. Most distros disable it, because nobody needs it nowadays (except us of course :)). I used Amiga Workbench to change the startup-sequence and the emergency shell for fstab.

It's really nice to see a recent kernel running on m68k with all the modern stuff like systemd. I wonder how it would perform on real hardware...

TenLeftFingers 11 January 2017 21:57

Wierd, I'm using FS-UAE 2.6.2 and the 1200/020 combo gives me a guru every time. Is this config missing anything (I tried both 020 options)?

[fs-uae]
amiga_model = A1200
chip_memory = 2048
cpu = 68EC020
fast_memory = 8192
hard_drive_0 = /home/TLF/Downloads/linux on amiga/TEST.hdf
kickstart_file = Amiga kick31.rom
slow_memory = 1024

FrodeSolheim 11 January 2017 23:45

Don't you need an MMU for Linux? Try amiga_model = A4000 with cpu = 68040 or cpu = 68060.

TenLeftFingers 12 January 2017 11:45

I get "Kernel Panic - not syncing" "out of memory and no killable processes" with these settings:

[fs-uae]
amiga_model = A4000
chip_memory = 2048
cpu = 68040
fast_memory = 8192
hard_drive_0 = /home/jarlath/Downloads/linux on amiga/TEST.hdf
kickstart_file = Amiga kick31.rom
motherboard_ram = 65536
slow_memory = 1024
zorro_iii_memory = 1048576

But as Jagger says above, it could be a linux kernel 4.6.0 bug?


All times are GMT +2. The time now is 12:38.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04552 seconds with 11 queries