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

Re: Seeking Mac testers, was Re: Linux Mac68k v4.1.39 test kernel build is available



FYI netatalk users: Spent a couple of days trying to get netatalk to work on Ubuntu 16.04 with pre OS 9 macs, but it is broken, so I gave up and put 14.04 on a netbook. This was just so I could copy the kernel over without taking anything apart.

dmesg.txt is from a debian 3.1 sid rootfs. 

dmesg2.txt is from the latest aranym rootfs tar from the debian m68k page, tar -C'ed it to a SCSI drive using an Adaptec 2930 on a modern PC. 

ADB/SCSI/Ethernet seem to be working fine on Quadra 700. I will try the SE/30 soon, no idea if it will work at all.

If I reboot the Quadra from Linux into System 7.1, and then launch Linux from Penguin-19 without powering off, the ADB driver will crash and produce a backtrace requiring a reboot. I will take a photo when it happens again.

- James

On Tue, Mar 21, 2017 at 6:53 PM Finn Thain <fthain@telegraphics.com.au> wrote:

On Tue, 21 Mar 2017, Laurent Vivier wrote:

>
> Tested on my Quadra 800. ADB/SCSI/Ethernet work fine.
>
> I've also tested with Q800 implementation in QEMU and works fine too.
>

Thanks Laurent!

This looks like a very convenient way to test certain patches. Did you use
upstream QEMU or your QEMU fork at https://github.com/vivier/qemu-m68k
?

> You can find attached the both dmesg.
>

Interesting... the QEMU log says:

Slot 9:
Board resource not found!

This is a bit surprising because it seems to suggest that
nubus_probe_slot() found a meaningful bytelanes value. That logic got
changed in this patch series.

I wonder whether the vmlinux-4.1.39-mac_scsi-egret+ build on sourceforge
produces the same messages (?)

Thanks again.
--

> Laurent
>
>

[    0.000000] Linux version 4.1.39-mac_scsi-egret-etc+ (fthain@nippy) (gcc version 4.4.6 (btc) ) #2 Fri Mar 17 10:35:58 AEDT 2017
[    0.000000] Saving 402 bytes of bootinfo
[    0.000000] Detected Macintosh model: 22
[    0.000000]  Penguin bootinfo data:
[    0.000000]  Video: addr 0xf9000e00 row 0x480 depth 8 dimensions 1152 x 870
[    0.000000]  Videological 0xf0000e00 phys. 0xf9000e00, SCC at 0x50f0c020
[    0.000000]  Boottime: 0x58dab60f GMTBias: 0xfffffe20
[    0.000000]  Machine ID: 22 CPUid: 0x2 memory size: 0x44
[    0.000000] VIA1 at 50f00000 is a 6522 or clone
[    0.000000] VIA2 at 50f02000 is a 6522 or clone
[    0.000000] Apple Macintosh Quadra 700
[    0.000000] On node 0 totalpages: 17408
[    0.000000] free_area_init_node: node 0, pgdat 0038ca74, node_mem_map 003f6000
[    0.000000]   DMA zone: 153 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 17408 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 17255
[    0.000000] Kernel command line: root=/dev/sda5
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 64828K/69632K available (2872K kernel code, 239K rwdata, 644K rodata, 116K init, 139K bss, 4804K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0x0038c564 - 0x0038c964   (   1 KiB)
    kmap    : 0xd0000000 - 0xf0000000   ( 512 MiB)
    vmalloc : 0x04800000 - 0xd0000000   (3256 MiB)
    lowmem  : 0x00000000 - 0x04400000   (  68 MiB)
      .init : 0x003b0000 - 0x003cd000   ( 116 KiB)
      .text : 0x00001000 - 0x002cf134   (2873 KiB)
      .data : 0x002d2578 - 0x003af32c   ( 884 KiB)
      .bss  : 0x0038c480 - 0x003af32c   ( 140 KiB)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=8
[    0.000000] NR_IRQS:72
[    0.000000] Killing onboard sonic... Done.
[    0.000000] Console: colour dummy device 80x25
[    0.010000] console [tty0] enabled
[    0.010000] Calibrating delay loop... 16.17 BogoMIPS (lpj=80896)
[    0.140000] pid_max: default: 32768 minimum: 301
[    0.140000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.140000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.220000] devtmpfs: initialized
[    0.280000] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.280000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.320000] NET: Registered protocol family 16
[    0.550000] NuBus: Scanning NuBus slots.
[    0.570000] SCSI subsystem initialized
[    0.960000] NET: Registered protocol family 2
[    1.000000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    1.000000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    1.000000] TCP: Hash tables configured (established 1024 bind 1024)
[    1.010000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.010000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.020000] NET: Registered protocol family 1
[    1.030000] RPC: Registered named UNIX socket transport module.
[    1.030000] RPC: Registered udp transport module.
[    1.030000] RPC: Registered tcp transport module.
[    1.030000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.640000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    1.640000] io scheduler noop registered
[    1.640000] io scheduler deadline registered (default)
[    1.640000] macfb: framebuffer at 0xf9000e00, mapped to 0xd0000e00, size 978k
[    1.650000] macfb: mode is 1152x870x8, linelength=1152
[    2.050000] Console: switching to colour frame buffer device 144x54
[    2.440000] fb0: DAFB frame buffer device
[    2.450000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
[    2.460000] scc.0: ttyS0 at MMIO 0x50f0c022 (irq = 4, base_baud = 230400) is a Z85c30 ESCC - Serial port
[    2.470000] scc.1: ttyS1 at MMIO 0x50f0c020 (irq = 4, base_baud = 230400) is a Z85c30 ESCC - Serial port
[    2.600000] brd: module loaded
[    2.600000] adb: Mac II ADB Driver v1.0 for Unified ADB
[    2.620000] Uniform Multi-Platform E-IDE driver
[    2.630000] ide-gd driver 1.18
[    2.640000] adb: starting probe task...
[    2.650000] mac_esp: using PDMA for controller 0
[    2.660000] mac_esp mac_esp.0: esp0: regs[50f0f000:(null)] irq[19]
[    2.660000] mac_esp mac_esp.0: esp0: is a ESP236, 25 MHz (ccf=5), SCSI ID 7
[    5.680000] scsi host0: esp
[    5.740000] scsi 0:0:1:0: Direct-Access     SEAGATE  ST31230N         0300 PQ: 0 ANSI: 2
[    5.740000] scsi target0:0:1: Beginning Domain Validation
[    5.780000] scsi target0:0:1: FAST-5 SCSI 5.0 MB/s ST (200 ns, offset 15)
[    5.810000] scsi target0:0:1: Domain Validation skipping write tests
[    5.820000] scsi target0:0:1: Ending Domain Validation
[    5.990000] sd 0:0:1:0: Attached scsi generic sg0 type 0
[    6.000000] Checking for internal Macintosh ethernet (SONIC)... yes
[    6.010000] sonic.c:v0.92 20.9.98 tsbogend@alpha.franken.de
[    6.010000] macsonic: onboard / comm-slot SONIC at 0x50f0a000
[    6.010000] macsonic: revision 0x0004, using 32 bit DMA and register offset 2
[    6.040000] eth0: MAC 08:00:07:94:97:e3 IRQ 3
[    6.060000] sd 0:0:1:0: [sda] 2069860 512-byte logical blocks: (1.06 GB/1011 MiB)
[    6.070000] sd 0:0:1:0: [sda] Write Protect is off
[    6.080000] sd 0:0:1:0: [sda] Mode Sense: 87 00 10 08
[    6.090000] aoe: cannot create debugfs directory
[    6.100000] sd 0:0:1:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[    6.110000] aoe: AoE v85 initialised.
[    6.150000] mousedev: PS/2 mouse device common for all mice
[    6.170000] rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
[    6.200000] NET: Registered protocol family 17
[    6.270000]  sda: [mac] sda1 sda2 sda3 sda4 sda5
[    6.350000] sd 0:0:1:0: [sda] Attached SCSI disk
[    6.380000] EXT4-fs (sda5): mounting ext3 file system using the ext4 subsystem
[    6.600000] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[    6.610000] VFS: Mounted root (ext3 filesystem) readonly on device 8:5.
[    6.630000] Freeing unused kernel memory: 116K (003b0000 - 003cd000)
[    9.530000] adb devices: [2]: 2 2 [3]: 3 1 [15]: 2 2
[   11.070000] ADB keyboard at 2, handler 1
[   11.080000] Detected ADB keyboard, type ANSI.
[   11.100000] input: ADB keyboard as /devices/virtual/input/input0
[   11.410000] random: nonblocking pool is initialized
[   12.140000] ADB keyboard at 15, handler 1
[   12.150000] Detected ADB keyboard, type ANSI.
[   12.170000] input: ADB keyboard as /devices/virtual/input/input1
[   18.370000] ADB mouse at 3, handler 1
[   18.390000] input: ADB mouse as /devices/virtual/input/input2
[   18.440000] adb: finished probe task...
[   48.930000] systemd-udevd[174]: starting version 215
[  117.720000] EXT4-fs (sda5): re-mounted. Opts: (null)
[  124.810000] EXT4-fs (sda5): re-mounted. Opts: (null)
[  317.930000] NET: Registered protocol family 10
Linux version 4.1.39-mac_scsi-egret-etc+ (fthain@nippy) (gcc version 4.4.6 (btc) ) #2 Fri Mar 17 10:35:58 AEDT 2017
Saving 402 bytes of bootinfo
Detected Macintosh model: 22
 Penguin bootinfo data:
 Video: addr 0xf9000e00 row 0x480 depth 8 dimensions 1152 x 870
 Videological 0xf0000e00 phys. 0xf9000e00, SCC at 0x50f0c020
 Boottime: 0x58da91fb GMTBias: 0xfffffe20
 Machine ID: 22 CPUid: 0x2 memory size: 0x44
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f02000 is a 6522 or clone
Apple Macintosh Quadra 700
On node 0 totalpages: 17408
free_area_init_node: node 0, pgdat 0038ca74, node_mem_map 003f6000
  DMA zone: 153 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 17408 pages, LIFO batch:3
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 17255
Kernel command line: root=/dev/sda5
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Sorting __ex_table...
Memory: 64828K/69632K available (2872K kernel code, 239K rwdata, 644K rodata, 116K init, 139K bss, 4804K reserved, 0K cma-reserved)
Virtual kernel memory layout:
    vector  : 0x0038c564 - 0x0038c964   (   1 KiB)
    kmap    : 0xd0000000 - 0xf0000000   ( 512 MiB)
    vmalloc : 0x04800000 - 0xd0000000   (3256 MiB)
    lowmem  : 0x00000000 - 0x04400000   (  68 MiB)
      .init : 0x003b0000 - 0x003cd000   ( 116 KiB)
      .text : 0x00001000 - 0x002cf134   (2873 KiB)
      .data : 0x002d2578 - 0x003af32c   ( 884 KiB)
      .bss  : 0x0038c480 - 0x003af32c   ( 140 KiB)
SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=8
NR_IRQS:72
Killing onboard sonic... Done.
Console: colour dummy device 80x25
console [tty0] enabled
Calibrating delay loop... 16.17 BogoMIPS (lpj=80896)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
devtmpfs: initialized
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
NET: Registered protocol family 16
NuBus: Scanning NuBus slots.
SCSI subsystem initialized
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered (default)
macfb: framebuffer at 0xf9000e00, mapped to 0xd0000e00, size 978k
macfb: mode is 1152x870x8, linelength=1152
Console: switching to colour frame buffer device 144x54
fb0: DAFB frame buffer device
pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
scc.0: ttyS0 at MMIO 0x50f0c022 (irq = 4, base_baud = 230400) is a Z85c30 ESCC - Serial port
scc.1: ttyS1 at MMIO 0x50f0c020 (irq = 4, base_baud = 230400) is a Z85c30 ESCC - Serial port
brd: module loaded
adb: Mac II ADB Driver v1.0 for Unified ADB
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
adb: starting probe task...
mac_esp: using PDMA for controller 0
mac_esp mac_esp.0: esp0: regs[50f0f000:(null)] irq[19]
mac_esp mac_esp.0: esp0: is a ESP236, 25 MHz (ccf=5), SCSI ID 7
adb devices: [2]: 2 2 [3]: 3 1
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
ADB HID on ID 3 not yet registered
input: ADB keyboard as /devices/virtual/input/input0
scsi host0: esp
scsi 0:0:1:0: Direct-Access     SEAGATE  ST31230N         0300 PQ: 0 ANSI: 2
scsi target0:0:1: Beginning Domain Validation
scsi target0:0:1: FAST-5 SCSI 5.0 MB/s ST (200 ns, offset 15)
scsi target0:0:1: Domain Validation skipping write tests
scsi target0:0:1: Ending Domain Validation
sd 0:0:1:0: Attached scsi generic sg0 type 0
Checking for internal Macintosh ethernet (SONIC)... yes
sonic.c:v0.92 20.9.98 tsbogend@alpha.franken.de
macsonic: onboard / comm-slot SONIC at 0x50f0a000
macsonic: revision 0x0004, using 32 bit DMA and register offset 2
eth0: MAC 08:00:07:94:97:e3 IRQ 3
sd 0:0:1:0: [sda] 2069860 512-byte logical blocks: (1.06 GB/1011 MiB)
sd 0:0:1:0: [sda] Write Protect is off
sd 0:0:1:0: [sda] Mode Sense: 87 00 10 08
aoe: cannot create debugfs directory
aoe: AoE v85 initialised.
sd 0:0:1:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
mousedev: PS/2 mouse device common for all mice
rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
NET: Registered protocol family 17
 sda: [mac] sda1 sda2 sda3 sda4 sda5
sd 0:0:1:0: [sda] Attached SCSI disk
EXT4-fs (sda5): mounting ext3 file system using the ext4 subsystem
EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext3 filesystem) readonly on device 8:5.
Freeing unused kernel memory: 116K (003b0000 - 003cd000)
ADB mouse at 3, handler 1
input: ADB mouse as /devices/virtual/input/input1
adb: finished probe task...
random: nonblocking pool is initialized
EXT4-fs (sda5): re-mounted. Opts: (null)
EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
sshd (417): /proc/417/oom_adj is deprecated, please use /proc/417/oom_score_adj instead.

Reply to: