Bug#666947: aranym: emulation bug prevents use with Linux/m68k guest
Package: aranym
Version: 0.9.13-1
Severity: grave
Justification: renders package unusable
Hi,
sorry for this, but apparently, not all regressions in the new
emulation have been fixed.
tg@zigo:~/Aranym $ ./runheadless
ARAnyM 0.9.13
Using config file: 'aranym.headless'
>>> Missing value in Config file aranym.headless on line 8 !!!
Could not open joystick 0
ARAnyM RTC Timer: /dev/rtc: No such file or directory
ARAnyM LILO: Error loading ramdisk 'root.bin'
Blitter tried to read byte from register ff8a00 at 007232
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-2-atari (Debian 3.2.13-1) (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-1+m68k.3) ) #1 Fri Mar 30 07:54:45 UTC 2012
[ 0.000000] Atari hardware found: VIDEL STDMA-SCSI ST_MFP YM2149 PCM CODEC DSP56K SCC ANALOG_JOY BLITTER IDE TT_CLK FDC_SPEED
[ 0.000000] NatFeats found (ARAnyM, 1.0)
[ 0.000000] Built 2 zonelists in Zone order, mobility grouping on. Total pages: 198432
[ 0.000000] Kernel command line: root=/dev/nfhd8p1 console=nfcon devtmpfs.mount=1 BOOT_IMAGE=vmlinux
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 787060k/787060k available (2748k kernel code, 10872k data, 112k init)
[ 0.000000] NR_IRQS:72
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] Calibrating delay loop... 140.69 BogoMIPS (lpj=703488)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Security Framework initialized
[ 0.060000] AppArmor: AppArmor disabled by boot time parameter
[ 0.070000] Mount-cache hash table entries: 512
[ 0.070000] Initializing cgroup subsys cpuacct
[ 0.070000] Initializing cgroup subsys memory
[ 0.070000] Initializing cgroup subsys devices
[ 0.070000] Initializing cgroup subsys freezer
[ 0.070000] Initializing cgroup subsys blkio
[ 0.070000] devtmpfs: initialized
[ 0.080000] print_constraints: dummy:
[ 0.080000] NET: Registered protocol family 16
[ 0.110000] bio: create slab <bio-0> at 0
[ 0.110000] SCSI subsystem initialized
[ 0.150000] NET: Registered protocol family 2
[ 0.150000] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.160000] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.190000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.200000] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.200000] TCP reno registered
[ 0.200000] UDP hash table entries: 512 (order: 1, 8192 bytes)
[ 0.200000] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[ 0.200000] NET: Registered protocol family 1
[ 0.200000] nfhd8: found device with 20971440 blocks (512 bytes)
[ 0.200000] nfhd8: AHDI p1 p2
[ 0.210000] console [nfcon0] enabled
[ 0.210000] nfeth: API 5
[ 0.210000] eth0: nfeth addr:192.168.0.1 (192.168.0.2) HWaddr:52:54:00:22:81:00
[ 0.210000] audit: initializing netlink socket (disabled)
[ 0.210000] type=2000 audit(1330716374.210:1): initialized
[ 0.220000] VFS: Disk quotas dquot_6.5.2
[ 0.220000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.220000] msgmni has been set to 1537
[ 0.230000] alg: No test for stdrng (krng)
[ 0.230000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.230000] io scheduler noop registered
[ 0.230000] io scheduler deadline registered
[ 0.230000] io scheduler cfq registered (default)
[ 0.230000] atafb_init: start
[ 0.230000] atafb_init: initializing Falcon hw
[ 0.230000] atafb: screen_base 00b9b000 real_screen_base 00b9b000 screen_len 311296
[ 0.230000] Determined 640x480, depth 4
[ 0.230000] virtual 640x972
[ 0.240000] Console: switching to colour frame buffer device 80x30
[ 0.240000] fb0: frame buffer device, using 304K of video memory
[ 0.250000] Non-volatile memory driver v1.3
[ 0.250000] Atari floppy driver: max. HD, track buffering
[ 0.250000] Probing floppy drive(s):
[ 0.250000] fd0
[ 0.250000] Uniform Multi-Platform E-IDE driver
[ 0.250000] ide: Falcon IDE controller
[ 0.570000] hda: Master, ATA DISK drive
[ 1.650000] ide0 at 0xfff00000 on irq 15 (serialized)
[ 1.650000] ide-gd driver 1.18
[ 1.650000] hda: max request size: 128KiB
[ 1.650000] hda: 20971440 sectors (10737 MB) w/256KiB Cache, CHS=20805/16/63
[ 1.670000] hda: AHDI hda1 hda2
[ 1.670000] ide-cd driver 5.00
[ 1.670000] scsi0: options CAN_QUEUE=8 CMD_PER_LUN=1 SCAT-GAT=0 TAGGED-QUEUING=no HOSTID=7 generic options AUTOSENSE REAL DMA SCSI-2 TAGGED QUEUING generic release=7
[ 1.670000] scsi0 : Atari native SCSI
[ 1.680000] blk_queue_max_segments: set to minimum 1
[ 1.930000] blk_queue_max_segments: set to minimum 1
[ 1.930000] mousedev: PS/2 mouse device common for all mice
[ 2.180000] input: Atari Keyboard as /devices/virtual/input/input0
[ 2.180000] input: Atari mouse as /devices/virtual/input/input1
[ 2.430000] blk_queue_max_segments: set to minimum 1
[ 2.680000] blk_queue_max_segments: set to minimum 1
[ 2.930000] blk_queue_max_segments: set to minimum 1
[ 2.930000] rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
[ 2.930000] TCP cubic registered
[ 2.930000] NET: Registered protocol family 17
[ 2.930000] NET: Registered protocol family 15
[ 2.930000] registered taskstats version 1
[ 2.930000] scsi: waiting for bus probes to complete ...
[ 3.190000] blk_queue_max_segments: set to minimum 1
[ 3.440000] blk_queue_max_segments: set to minimum 1
[ 3.740000] rtc-generic rtc-generic: setting system clock to 2012-04-02 19:26:18 UTC (1333394778)
[ 3.740000] EXT4-fs (nfhd8p1): mounting ext3 file system using the ext4 subsystem
[ 3.750000] EXT4-fs (nfhd8p1): mounted filesystem with ordered data mode. Opts: (null)
[ 3.750000] VFS: Mounted root (ext3 filesystem) readonly on device 254:129.
[ 3.760000] devtmpfs: mounted
INIT: version 2.88 booting
Setting hostname to 'ara5.mirbsd.org'...done.
Setting the system clock.
System Clock set to: Mon Apr 2 19:26:24 UTC 2012.
Activating swap:swapon on /dev/nfhd8p2
swapon: /dev/nfhd8p2: found swap signature: version 1, page-size 4, same byte order
swapon: /dev/nfhd8p2: pagesize=4096, swapsize=2037374976, devsize=2037377024
[ 10.080000] Adding 1989620k swap on /dev/nfhd8p2. Priority:-1 extents:1 across:1989620k
..
[ 10.420000] EXT4-fs (nfhd8p1): re-mounted. Opts: (null)
Will now check root file system:fsck from util-linux 2.20.1
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/nfhd8p1
e2fsck 1.42.2 (27-Mar-2012)
/dev/nfhd8p1: clean, 47037/1062880 files, 357737/2124023 blocks
..
[ 11.190000] EXT4-fs (nfhd8p1): re-mounted. Opts: errors=remount-ro
readlink: memory exhausted
Cannot initialize /proc/mounts. ... failed!
Setting the system clock.
System Clock set to: Mon Apr 2 19:26:27 UTC 2012.
Cleaning up ifupdown....
Will now activate lvm and md swap:done.
Will now check all file systems.
fsck from util-linux 2.20.1
Checking all file systems.
Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
Setting kernel variables ... /etc/sysctl.conf...done.
Will now mount local filesystems:.
Will now activate swapfile swap:done.
Cleaning up temporary files...find: cannot search .': Invalid argument
..
Checking minimum space in /tmp...done.
Setting up networking....
Configuring network interfaces...Restarting openntpd: ntpd.
done.
[ 23.710000] ------------[ cut here ]------------
[ 23.710000] WARNING: at /tmp/buildd/linux-2.6-3.2.13/debian/build/source_m68k_none/kernel/irq/handle.c:130 handle_irq_event_percpu+0x130/0x13e()
[ 23.710000] irq 3 handler nfeth_interrupt+0x0/0x190 enabled interrupts
[ 23.710000] Modules linked in:
[ 23.710000] Call Trace: [<0003047a>] warn_slowpath_common+0x48/0x6a
[ 23.710000] [<00030488>] warn_slowpath_common+0x56/0x6a
[ 23.710000] [<00030514>] warn_slowpath_fmt+0x2a/0x32
[ 23.710000] [<000666b2>] handle_irq_event_percpu+0x130/0x13e
[ 23.710000] [<002aa81a>] printk+0x0/0x18
[ 23.710000] [<000666b2>] handle_irq_event_percpu+0x130/0x13e
[ 23.710000] [<0000a338>] nfeth_interrupt+0x0/0x190
[ 23.710000] [<000666e0>] handle_irq_event+0x20/0x2c
[ 23.710000] [<00065ee8>] generic_handle_irq+0x2c/0x3a
[ 23.710000] [<00002940>] do_IRQ+0x20/0x32
[ 23.710000] [<00002766>] auto_irqhandler_fixup+0x4/0x6
[ 23.710000]
[ 23.710000] ---[ end trace 1fe842dea00bb0de ]---
Cleaning up temporary files...find: cannot search .': Invalid argument
..
Initializing random number generator...[ 25.090000] NET: Registered protocol family 10
done.
find: cannot search /var/run/screen': Invalid argument
INIT: Entering runlevel: 2
Starting system log daemon....
Starting kernel log daemon....
Starting OpenBSD Secure Shell server: sshd.
Synchronising with 3.mirbsd.pool.ntp.org first.
rdate: Could not set time of day: Invalid argument
Starting openntpd: Starting mail-transfer-agent: nullmailer.
SSL tunnels disabled, see /etc/default/stunnel4
mv: memory exhausted
mv: memory exhausted
mv: memory exhausted
mv: memory exhausted
mv: memory exhausted
find: cannot search /var/lib/sudo'
Starting periodic command scheduler: cron.
Running local boot scripts (/etc/rc.local)It may take up to one minute to decide whether rngd works.
Get statistics into syslog with: sudo pkill -USR1 rngd
Initialisation sequence complete.
..
Updating the system logo...done.
So this does not work (“memory exhausted” messages).
tg@zigo:~/Aranym $ cat runheadless
#!/bin/sh
cd "$(dirname "$0")"
SDL_AUDIODRIVER=dummy; export SDL_AUDIODRIVER
SDL_VIDEODRIVER=dummy; export SDL_VIDEODRIVER
unset DISPLAY
exec aranym-mmu -l -c aranym.headless
tg@zigo:~/Aranym $ cat aranym.headless
[GLOBAL]
FastRAM = 768
#Floppy = /dev/fd0
Floppy =
TOS =
EmuTOS =
Bootstrap =
BootstrapArgs =
BootDrive =
GMTime = Yes
AutoGrabMouse = No
[STARTUP]
GrabMouse = No
Debugger = No
[VIDEO]
FullScreen = No
BootColorDepth = -1
VidelRefresh = 1
[ETH0]
Type = bridge
Tunnel = tap0
MAC = 52:54:00:22:81:00
[LILO]
Kernel = vmlinuz
# these Args are for normal X operation
#Args = root=/dev/nfhd8p1 console=tty debug=par devtmpfs.mount=1 video=atafb:vga16
# these Args are for headless operation
Args = root=/dev/nfhd8p1 console=nfcon devtmpfs.mount=1
#Ramdisk = mirnitrd
[IDE0]
Present = Yes
IsCDROM = No
ByteSwap = No
ReadOnly = No
Path = disk.img
Cylinders = 20805
Heads = 16
SectorsPerTrack = 63
ModelName = Master
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh
Versions of packages aranym depends on:
ii libc6 2.13-27
ii libgcc1 1:4.7.0-1
ii libgmp10 2:5.0.4+dfsg-1
ii libmpfr4 3.1.0-4
ii libsdl-image1.2 1.2.12-1
ii libsdl1.2debian 1.2.15-2
ii libstdc++6 4.7.0-1
ii libusb-1.0-0 2:1.0.9~rc3-3
ii libx11-6 2:1.4.4-4
ii zlib1g 1:1.2.6.dfsg-2
Versions of packages aranym recommends:
ii bridge-utils 1.5-2
ii uml-utilities 20070815-1.3
aranym suggests no packages.
-- no debconf information
Reply to: