Re: Seeking Mac testers, was Re: Linux Mac68k v4.1.39 test kernel build is available
Le 20/03/2017 à 01:52, Finn Thain a écrit :
> On Fri, 17 Mar 2017, I wrote:
>
>> I've just uploaded a new kernel build to the Linux Mac68k sourceforge
>> project: https://sourceforge.net/projects/linux-mac68k/files/
>>
>> This build has some patches for the mac_scsi and egret drivers that were
>> backported from mainline v4.11-rc1. For machines that need those drivers
>> (LC III etc.) this build should work better than previous releases.
>> Please let me know if you encounter any regressions.
>>
>> AFAIK, no Macs should need v2.x unless they need the SMC9194 Nubus
>> network card driver. For some reason that driver only appeared in the
>> v2.2 branch in the mac68k CVS and never in mainline Linux. It isn't
>> likely to get a modern rewrite any time soon so I recommend replacing
>> those cards and running v4.x on any 68k Mac.
>>
>
> I've uploaded a second test kernel build. This one includes my patch queue
> https://github.com/fthain/linux/commits/mac68k-queue
>
> Apart from these 28 patches this build is exactly the same as the build on
> sourceforge described above. It can be downloaded here,
>
> https://www.telegraphics.com.au/~fthain/mac68k-queue/vmlinux-4.1.39-mac_scsi-egret-etc+
> https://www.telegraphics.com.au/~fthain/mac68k-queue/linux-m68k-image-4.1.39-mac_scsi-egret-etc+.tar.gz
>
> SHA1
>
> 12881647716ed02f1c9d862a588b7fc89a3d5c64 vmlinux-4.1.39-mac_scsi-egret-etc+
> d7eb947eee6be997d5b0079fd15d98673d5f6a12 linux-m68k-image-4.1.39-mac_scsi-egret-etc+.tar.gz
>
> These patches cover a wide range of Mac 68k hardware which makes it
> difficult for me to test, So I'm (ab)using the Debian list to try to find
> users willing to help improve test coverage prior to patch submission.
Tested on my Quadra 800. ADB/SCSI/Ethernet work fine.
I've also tested with Q800 implementation in QEMU and works fine too.
You can find attached the both dmesg.
Laurent
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 186 bytes of bootinfo
m68k_parse_bootinfo: unknown tag 0x800c ignored
Detected Macintosh model: 35
Penguin bootinfo data:
Video: addr 0xf9001000 row 0x400 depth 8 dimensions 640 x 480
Videological 0xf0001000 phys. 0xf9001000, SCC at 0x50f0c020
Boottime: 0x83e07df5 GMTBias: 0x0
Machine ID: 35 CPUid: 0x2 memory size: 0x28
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f02000 is a 6522 or clone
Apple Macintosh Quadra 800
On node 0 totalpages: 10240
free_area_init_node: node 0, pgdat 0038ca74, node_mem_map 003ef000
DMA zone: 90 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 10240 pages, LIFO batch:1
initrd: 00000000 - 013fb868
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 10150
Kernel command line: root=/dev/sda5 ro
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Sorting __ex_table...
Memory: 20408K/40960K available (2872K kernel code, 239K rwdata, 644K rodata, 116K init, 139K bss, 20552K reserved, 0K cma-reserved)
Virtual kernel memory layout:
vector : 0x0038c564 - 0x0038c964 ( 1 KiB)
kmap : 0xd0000000 - 0xf0000000 ( 512 MiB)
vmalloc : 0x03000000 - 0xd0000000 (3280 MiB)
lowmem : 0x00000000 - 0x02800000 ( 40 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.
WARNING: Persistent clock returned invalid value!
Check your CMOS/BIOS settings.
Console: colour dummy device 80x25
console [tty0] enabled
Calibrating delay loop... 28.05 BogoMIPS (lpj=140288)
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 0xf9001000, mapped to 0xd0001000, size 480k
macfb: mode is 640x480x8, linelength=1024
Console: switching to colour frame buffer device 80x30
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[50f10000:(null)] irq[19]
mac_esp mac_esp.0: esp0: is a ESP236, 16 MHz (ccf=4), SCSI ID 7
adb devices: [2]: 2 1 [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:0:0: Direct-Access IBM DNES-309170Y SA30 PQ: 0 ANSI: 3
scsi target0:0:0: Beginning Domain Validation
scsi target0:0:0: FAST-5 SCSI 3.3 MB/s ST (304 ns, offset 15)
scsi target0:0:0: Domain Validation skipping write tests
scsi target0:0:0: Ending Domain Validation
scsi 0:0:3:0: CD-ROM MATSHITA CD-ROM CR-8005A 4.0i PQ: 0 ANSI: 2
scsi target0:0:3: Beginning Domain Validation
scsi target0:0:3: FAST-5 SCSI 2.9 MB/s ST (348 ns, offset 15)
scsi target0:0:3: Domain Validation skipping write tests
scsi target0:0:3: Ending Domain Validation
sd 0:0:0:0: [sda] 17916240 512-byte logical blocks: (9.17 GB/8.54 GiB)
sr 0:0:3:0: [sr0] scsi-1 drive
cdrom: Uniform CD-ROM driver Revision: 3.20
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: c3 00 00 08
sr 0:0:3:0: Attached scsi CD-ROM sr0
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 0:0:3:0: Attached scsi generic sg1 type 5
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:f4:85:b4 IRQ 3
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
aoe: cannot create debugfs directory
aoe: AoE v85 initialised.
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 sda6
sd 0:0:0: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
Adding 262136k swap on /dev/sda4. Priority:-1 extents:1 across:262136k
EXT4-fs (sda5): re-mounted. Opts:
EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
capability: warning: `ntpd' uses 32-bit capabilities (legacy support in use)
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 158 bytes of bootinfo
Detected Macintosh model: 35
Penguin bootinfo data:
Video: addr 0xf9001000 row 0x640 depth 10 dimensions 800 x 600
Videological 0x0 phys. 0x0, SCC at 0x50f0c020
Boottime: 0x0 GMTBias: 0x0
Machine ID: 35 CPUid: 0x2 memory size: 0x3e8
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f02000 is a 6522 or clone
Apple Macintosh Quadra 800
On node 0 totalpages: 256000
free_area_init_node: node 0, pgdat 0038ca74, node_mem_map 004ea000
DMA zone: 2250 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 256000 pages, LIFO batch:31
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 253750
Kernel command line: root=/dev/sda2 rw console=ttyS0 console=tty
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Sorting __ex_table...
Memory: 1009164K/1024000K available (2872K kernel code, 239K rwdata, 644K rodata, 116K init, 139K bss, 14836K reserved, 0K cma-reserved)
Virtual kernel memory layout:
vector : 0x0038c564 - 0x0038c964 ( 1 KiB)
kmap : 0xd0000000 - 0xf0000000 ( 512 MiB)
vmalloc : 0x3f000000 - 0xd0000000 (2320 MiB)
lowmem : 0x00000000 - 0x3e800000 (1000 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
console [ttyS0] enabled
Calibrating delay loop... 950.27 BogoMIPS (lpj=4751360)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 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.
Slot 9:
Board resource not found!
SCSI subsystem initialized
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 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 0xf9001000, mapped to 0xd0001000, size 937k
macfb: mode is 800x600x16, linelength=1600
Console: switching to colour frame buffer device 100x37
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...
adb devices: [2]: 2 1 [3]: 3 1
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
input: ADB keyboard as /devices/virtual/input/input0
ADB mouse at 3, handler 1
input: ADB mouse as /devices/virtual/input/input1
adb: finished probe task...
mac_esp: using PDMA for controller 0
mac_esp mac_esp.0: esp0: regs[50f10000:(null)] irq[19]
mac_esp mac_esp.0: esp0: is a ESP236, 16 MHz (ccf=4), SCSI ID 7
scsi host0: esp
scsi 0:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5
scsi target0:0:0: Beginning Domain Validation
scsi target0:0:0: Domain Validation skipping write tests
scsi target0:0:0: Ending Domain Validation
scsi 0:0:2:0: CD-ROM QEMU QEMU CD-ROM 2.5+ PQ: 0 ANSI: 5
scsi target0:0:2: Beginning Domain Validation
scsi target0:0:2: Domain Validation skipping write tests
scsi target0:0:2: Ending Domain Validation
sr 0:0:2:0: [sr0] scsi3-mmc drive: 16x/50x cd/rw xa/form2 cdda tray
cdrom: Uniform CD-ROM driver Revision: 3.20
sd 0:0:0:0: [sda] 33554432 512-byte logical blocks: (17.2 GB/16.0 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 63 00 00 08
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: [mac] sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk
sr 0:0:2:0: Attached scsi CD-ROM sr0
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 0:0:2:0: Attached scsi generic sg1 type 5
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 0x0000, using 32 bit DMA and register offset 2
eth0: MAC 08:00:07:12:34:56 IRQ 3
aoe: cannot create debugfs directory
aoe: AoE v85 initialised.
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
EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
EXT4-fs (sda2): recovery complete
EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext3 filesystem) on device 8:2.
Freeing unused kernel memory: 116K (003b0000 - 003cd000)
EXT4-fs (sda2): re-mounted. Opts:
EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
random: nonblocking pool is initialized
Reply to: