Bug#887668: linux-image-4.14.0-rc3-amd64: MosChip MCS9922 serial+parallel port PCI-e card no longer working

2018-01-21 Thread Daniel Reichelt
>>From [1], I tested all amd64 linux-image packages from 4.13.13-1 (last working
> one) through 4.15~rc8-1~exp1 (still broken).


Sorry I got my references wrong. This should have read:




From [3], I tested all amd64 linux-image packages from 4.13.13-1 (last
working one) through 4.15~rc8-1~exp1 (still broken).


[3] http://snapshot.debian.org/package/linux/



signature.asc
Description: OpenPGP digital signature


Bug#887668: linux-image-4.14.0-rc3-amd64: MosChip MCS9922 serial+parallel port PCI-e card no longer working

2018-01-18 Thread Daniel Reichelt
Package: linux-image-4.14.0-rc3-amd64
Version: 4.14~rc3-1~exp1
Severity: normal

Hi,

since linux-image-4.14.0-rc3-amd64 my DeLock 4xSerial/1xParallel PCI-e card is
no longer working. lspci recognizes it, but there is no kernel driver shown and
the expected ttyS* device nodes aren't created. The card contains two chips
with the lables MCS9900CV-AA and MCS9922CV-AA.

>From [1], I tested all amd64 linux-image packages from 4.13.13-1 (last working
one) through 4.15~rc8-1~exp1 (still broken).

Attached are the outputs of 'lspci -vv' and 'dmesg' from 4.13.13-1 and
4.14.7-1~bpo9+1


working-dmesg.txt:507 shows the mainboard's serial port as ttyS0, ttyS1-3 are 3
of the 4 serial ports of theDeLock card. (The error in line 511 doesn't concern
me as I only need three ports anyways.)

working-lspci.txt shows "serial" as driver in use. No kernel driver is shown
for the last MosChip device, which is the parallel port. No idea if it actually
works, never needed it, thus untested.


kaputt-dmesg.txt only shows the mainboard's ttyS0 in line 507, the DeLock
card's are missing.

kaputt-lspci.txt does show the MosChips, but no "driver in use".




I was able to get the card running again under 4.14.x with the driver [1]
listed at [2]. Contrary to the archive's readme, a simple 'make' followed by an
'insmod ./99xx.ko' was enough to get it running.

Nonetheless, it would be really nice if this chip was continued to be supported
by the packaged kernel (preventing the need for fooling around with out-of-tree
module builds...).


Thanks
Daniel



[1] 
http://www.asix.com.tw/FrootAttach/driver/MCS99xx_LINUX_Driver_v3.1.0_Source.tar.gz
[2] http://www.asix.com.tw/products.php?op=pItemdetail=122;74;110


-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'proposed-updates'), (990, 
'stable'), (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), 
(500, 'testing'), (500, 'oldstable'), (98, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
[0.00] random: get_random_bytes called from start_kernel+0x3d/0x456 
with crng_init=0
[0.00] Linux version 4.13.0-0.bpo.1-amd64 
(debian-ker...@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) 
#1 SMP Debian 4.13.13-1~bpo9+1 (2017-11-22)
[0.00] Command line: BOOT_IMAGE=vmlinuz initrd=/initrd.img 
net.ifnames=0 panic=1 vga=791 
initrd=../debian-live-mylive-router2/initrd.img-4.13.0-0.bpo.1-amd64
[0.00] x86/fpu: x87 FPU will use FXSAVE
[0.00] e820: BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x0009f7ff] usable
[0.00] BIOS-e820: [mem 0x0009f800-0x0009] reserved
[0.00] BIOS-e820: [mem 0x000f-0x000f] reserved
[0.00] BIOS-e820: [mem 0x0010-0xbfed] usable
[0.00] BIOS-e820: [mem 0xbfee-0xbfee2fff] ACPI NVS
[0.00] BIOS-e820: [mem 0xbfee3000-0xbfee] ACPI data
[0.00] BIOS-e820: [mem 0xbfef-0xbfef] reserved
[0.00] BIOS-e820: [mem 0xe000-0xe3ff] reserved
[0.00] BIOS-e820: [mem 0xfec0-0x] reserved
[0.00] BIOS-e820: [mem 0x0001-0x00023fff] usable
[0.00] NX (Execute Disable) protection: active
[0.00] random: fast init done
[0.00] SMBIOS 2.4 present.
[0.00] DMI: Gigabyte Technology Co., Ltd. EP45-DS3/EP45-DS3, BIOS F9 
09/22/2008
[0.00] tsc: Fast TSC calibration using PIT
[0.00] e820: update [mem 0x-0x0fff] usable ==> reserved
[0.00] e820: remove [mem 0x000a-0x000f] usable
[0.00] e820: last_pfn = 0x24 max_arch_pfn = 0x4
[0.00] MTRR default type: uncachable
[0.00] MTRR fixed ranges enabled:
[0.00]   0-9 write-back
[0.00]   A-B uncachable
[0.00]   C-CDFFF write-protect
[0.00]   CE000-E uncachable
[0.00]   F-F write-through
[0.00] MTRR variable ranges enabled:
[0.00]   0 base 0 mask F write-back
[0.00]   1 base 0C000 mask FC000 uncachable
[0.00]   2 base 1 mask F write-back
[0.00]   3 base 2 mask FC000 write-back
[0.00]   4 base 0BFF0 mask 0 uncachable
[0.00]   5 disabled
[0.00]   6 disabled
[0.00]   7 disabled
[0.00] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT
[0.00] e820: update [mem 0xbff0-0x] usable ==> reserved
[0.00] e820: last_pfn = 0xbfee0