ESPRESSObin non more booting SATA after update Kernel 5.0.11

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

ESPRESSObin non more booting SATA after update Kernel 5.0.11

Postby naumovitch » Wed Jun 19, 2019 7:25 pm

On ESPRESSObin non more booting SATA after update Kernel 5.0.11 :(

For all news linux-espressobin I use Old dtbs from Kernel 5.0.11 armada-3720-espressobin.dtb

With new linux-espressobin 5.1.1-1 - 5.1.11-1 dtbs/marvell/armada-3720-espressobin.dtb wont working on SATA HDD !!!

[ 4.709055] Key type big_key registered
[ 4.730202] Key type encrypted registered
[ 4.736620] d0012000.serial: ttyMV0 at MMIO 0xd0012000 (irq = 0, base_baud = 1562500) is a mvebu-uart
[ 4.746116] printk: console [ttyMV0] enabled
[ 4.746116] printk: console [ttyMV0] enabled
[ 4.754863] printk: bootconsole [ar3700_uart0] disabled
[ 4.754863] printk: bootconsole [ar3700_uart0] disabled
[ 4.766853] xenon-sdhci d00d0000.sdhci: Got CD GPIO
[ 4.800241] mmc0: SDHCI controller on d00d0000.sdhci [d00d0000.sdhci] using ADMA
[ 4.805190] hctosys: unable to open r[ 4.811852] Freeing unused kernel memory: 512K
[ 4.850039] Run /init as init process
[ 4.873171] mmc0: new ultra high speed SDR104 SDHC card at address 59b4
:: running early hook [udev]
[ 4.888695] mmcblk0: mmc0:59b4 USDU1 14.9 GiB
[ 4.902354] mmcblk0: p1
Starting version 242.29-1-arch
:: running hook [udev]
:: Triggering uevents...
Waiting 10 seconds for device /dev/sda1 ...
ERROR: device '/dev/sda1' not found. Skipping fsck.
:: mounting '/dev/sda1' on real root
mount: /new_root: special device /dev/sda1 does not exist.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]#

non more sda in /dev/sda !!!! :) FIX THIS PLZ !!!

[rootfs dev]# llss

autofs tty13 tty47
block tty14 tty48
bus tty15 tty49
char tty16 tty5
console tty17 tty50
core tty18 tty51
cpu_dma_latency tty19 tty52
disk tty2 tty53
fd tty20 tty54
full tty21 tty55
gpiochip0 tty22 tty56
gpiochip1 tty23 tty57
kmsg tty24 tty58
kvm tty25 tty59
mapper tty26 tty6
mem tty27 tty60
memory_bandwidth tty28 tty61
mmcblk0 tty29 tty62
mmcblk0p1 tty3 tty63
mtd0 tty30 tty7
mtd0ro tty31 tty8
network_latency tty32 tty9
network_throughput tty33 ttyMV0
null tty34 ttyS0
port tty35 ttyS1
ptmx tty36 ttyS2
random tty37 ttyS3
snapshot tty38 urandom
stderr tty39 vcs
stdin tty4 vcs1
stdout tty40 vcsa
tty tty41 vcsa1
tty0 tty42 vcsu
tty1 tty43 vcsu1
tty10 tty44 zero
tty11 tty45
tty12 tty46
[rootfs dev]#
naumovitch
 
Posts: 11
Joined: Wed Jun 19, 2019 7:12 pm

Re: ESPRESSObin non more booting SATA after update Kernel 5.

Postby NanoExplorer » Sat Jun 22, 2019 10:48 pm

Hi Naumovitch,
USB3 isn't working either at the moment. Looks like some people are trying to fix it on the packages subforum: viewtopic.php?f=15&t=13675

I hope the pull request that Kurik submitted over there fixes these issues!
NanoExplorer
 
Posts: 3
Joined: Thu Jun 06, 2019 4:57 am

Re: ESPRESSObin non more booting SATA after update Kernel 5.

Postby naumovitch » Tue Jun 25, 2019 6:52 pm

updated to Kernel 5.14.1
But It's not working again :(


working Kernel 5.14.1 with dtbs from 5.0.11-1
naumovitch
 
Posts: 11
Joined: Wed Jun 19, 2019 7:12 pm

Re: ESPRESSObin non more booting SATA after update Kernel 5.

Postby mauiwowie42 » Sat Aug 03, 2019 6:54 pm

Any updates to this? I have the same issue....


[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.1.16-1-ARCH (builduser@leming) (gcc version 8.3.0 (GCC)) #1 SMP PREEMPT Wed Jul 3 20:23:49 MDT 2019
[ 0.000000] Machine model: Globalscale Marvell ESPRESSOBin Board
[ 0.000000] earlycon: ar3700_uart0 at MMIO 0x00000000d0012000 (options '')
[ 0.000000] printk: bootconsole [ar3700_uart0] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 64 MiB at 0x000000003b000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] random: get_random_bytes called from start_kernel+0xa4/0x488 with crng_init=0
[ 0.000000] percpu: Embedded 23 pages/cpu s54616 r8192 d31400 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257536
[ 0.000000] Kernel command line: console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 root=/dev/sda1 rw rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Memory: 941676K/1046528K available (7484K kernel code, 660K rwdata, 2960K rodata, 512K init, 253K bss, 39316K reserved, 65536K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: no VLPI support, no direct LPI support
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000d1d40000
[ 0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[ 0.000004] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
[ 0.008486] Console: colour dummy device 80x25
[ 0.013010] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[ 0.023647] pid_max: default: 32768 minimum: 301
[ 0.028495] LSM: Security Framework initializing
[ 0.033245] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.040081] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.047935] *** VALIDATE proc ***
[ 0.051509] *** VALIDATE cgroup1 ***
[ 0.055104] *** VALIDATE cgroup2 ***
[ 0.111386] ASID allocator initialised with 32768 entries
[ 0.116950] rcu: Hierarchical SRCU implementation.
[ 0.142958] EFI services will not be available.
[ 0.171888] smp: Bringing up secondary CPUs ...
[ 0.232037] Detected VIPT I-cache on CPU1
[ 0.232070] GICv3: CPU1: found redistributor 1 region 0:0x00000000d1d60000
[ 0.232108] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.232216] smp: Brought up 1 node, 2 CPUs
[ 0.254293] SMP: Total of 2 processors activated.
[ 0.259109] CPU features: detected: 32-bit EL0 Support
[ 0.264405] CPU features: detected: CRC32 instructions
[ 0.270126] CPU: All CPU(s) started at EL2
[ 0.274278] alternatives: patching kernel code
[ 0.279836] devtmpfs: initialized
[ 0.285933] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.296029] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.304730] pinctrl core: initialized pinctrl subsystem
[ 0.310617] DMI not present or invalid.
[ 0.314828] NET: Registered protocol family 16
[ 0.319713] audit: initializing netlink subsys (disabled)
[ 0.325419] audit: type=2000 audit(0.290:1): state=initialized audit_enabled=0 res=1
[ 0.333340] cpuidle: using governor ladder
[ 0.337576] cpuidle: using governor menu
[ 0.341712] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[ 0.349261] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.364344] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.370728] Serial: AMBA PL011 UART driver
[ 0.385271] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.392099] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.399013] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.405895] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.413177] cryptd: max_cpu_qlen set to 1000
[ 0.418797] SCSI subsystem initialized
[ 0.422878] usbcore: registered new interface driver usbfs
[ 0.428473] usbcore: registered new interface driver hub
[ 0.434003] usbcore: registered new device driver usb
[ 0.440297] NetLabel: Initializing
[ 0.443715] NetLabel: domain hash size = 128
[ 0.448248] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.454074] NetLabel: unlabeled traffic allowed by default
[ 0.460200] clocksource: Switched to clocksource arch_sys_counter
[ 0.466684] VFS: Disk quotas dquot_6.6.0
[ 0.470723] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.477812] *** VALIDATE hugetlbfs ***
[ 0.487972] NET: Registered protocol family 2
[ 0.493037] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes)
[ 0.500916] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.508168] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.514958] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.521592] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.527629] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.534343] NET: Registered protocol family 1
[ 0.539361] RPC: Registered named UNIX socket transport module.
[ 0.545400] RPC: Registered udp transport module.
[ 0.550225] RPC: Registered tcp transport module.
[ 0.555056] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.561892] Unpacking initramfs...
[ 0.900859] Freeing initrd memory: 7124K
[ 0.905397] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.913566] kvm [1]: IPA Size Limit: 40bits
[ 0.918159] kvm [1]: vgic-v2@d1da0000
[ 0.921877] kvm [1]: GIC system register CPU interface enabled
[ 0.927897] kvm [1]: vgic interrupt IRQ1
[ 0.931976] kvm [1]: Hyp mode initialized successfully
[ 0.938435] Initialise system trusted keyrings
[ 0.943250] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 0.953628] zbud: loaded
[ 0.957995] NFS: Registering the id_resolver key type
[ 0.963191] Key type id_resolver registered
[ 0.967417] Key type id_legacy registered
[ 0.971558] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.597014] alg: No test for lzo-rle (lzo-rle-generic)
[ 2.607864] alg: No test for lzo-rle (lzo-rle-scomp)
[ 2.793204] Key type asymmetric registered
[ 2.797345] Asymmetric key parser 'x509' registered
[ 2.802484] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 2.810280] io scheduler mq-deadline registered
[ 2.814861] io scheduler kyber registered
[ 2.819220] io scheduler bfq registered
[ 2.827524] advk-pcie d0070000.pcie: host bridge /soc/pcie@d0070000 ranges:
[ 2.834702] advk-pcie d0070000.pcie: MEM 0xe8000000..0xe8ffffff -> 0xe8000000
[ 2.842322] advk-pcie d0070000.pcie: IO 0xe9000000..0xe900ffff -> 0xe9000000
[ 2.949816] advk-pcie d0070000.pcie: link up
[ 2.954319] advk-pcie d0070000.pcie: PCI host bridge to bus 0000:00
[ 2.960707] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.966337] pci_bus 0000:00: root bus resource [mem 0xe8000000-0xe8ffffff]
[ 2.973426] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus address [0xe9000000-0xe900ffff])
[ 2.984163] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.992705] pci 0000:01:00.0: Upstream bridge's Max Payload Size set to 128 (was 16384, max 512)
[ 3.001698] pci 0000:01:00.0: Max Payload Size set to 128 (was 128, max 128)
[ 3.034191] pci 0000:00:00.0: BAR 14: assigned [mem 0xe8000000-0xe80fffff]
[ 3.041205] pci 0000:00:00.0: BAR 13: assigned [io 0x1000-0x1fff]
[ 3.047555] pci 0000:00:00.0: BAR 6: assigned [mem 0xe8100000-0xe81007ff pref]
[ 3.055008] pci 0000:01:00.0: BAR 2: assigned [mem 0xe8000000-0xe8003fff 64bit]
[ 3.062553] pci 0000:01:00.0: BAR 0: assigned [io 0x1000-0x10ff]
[ 3.068796] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 3.073906] pci 0000:00:00.0: bridge window [io 0x1000-0x1fff]
[ 3.080169] pci 0000:00:00.0: bridge window [mem 0xe8000000-0xe80fffff]
[ 3.087320] pcieport 0000:00:00.0: enabling device (0000 -> 0003)
[ 3.093654] pcieport 0000:00:00.0: Signaling PME with IRQ 40
[ 3.101118] mv_xor d0060900.xor: Marvell shared XOR driver
[ 3.161135] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[ 3.231083] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[ 3.239264] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 3.247052] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 3.253908] phy phy-d0018300.phy.2: phy poweron failed --> -1
[ 3.259781] ahci-mvebu: probe of d00e0000.sata failed with error -1
[ 3.267226] m25p80 spi0.0: found mx25u3235f, expected w25q32dw
[ 3.273444] m25p80 spi0.0: mx25u3235f (4096 Kbytes)
[ 3.290314] libphy: Fixed MDIO Bus: probed
[ 3.294681] libphy: orion_mdio_bus: probed
[ 3.300393] mvneta d0030000.ethernet eth0: Using device tree mac address f0:ad:4e:09:6a:ff
[ 3.308949] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.315648] ehci-pci: EHCI PCI platform driver
[ 3.320233] ehci-platform: EHCI generic platform driver
[ 3.325660] ehci-orion: EHCI orion driver
[ 3.329909] orion-ehci d005e000.usb: EHCI Host Controller
[ 3.335418] orion-ehci d005e000.usb: new USB bus registered, assigned bus number 1
[ 3.343913] orion-ehci d005e000.usb: irq 13, io mem 0xd005e000
[ 3.370213] orion-ehci d005e000.usb: USB 2.0 started, EHCI 1.00
[ 3.376474] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01
[ 3.384937] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.392355] usb usb1: Product: EHCI Host Controller
[ 3.397361] usb usb1: Manufacturer: Linux 5.1.16-1-ARCH ehci_hcd
[ 3.403552] usb usb1: SerialNumber: d005e000.usb
[ 3.408798] hub 1-0:1.0: USB hub found
[ 3.412620] hub 1-0:1.0: 1 port detected
[ 3.417428] phy phy-d0018300.phy.0: phy poweron failed --> -1
[ 3.423333] xhci-hcd: probe of d0058000.usb failed with error -1
[ 3.429575] usbcore: registered new interface driver uas
[ 3.435024] usbcore: registered new interface driver usb-storage
[ 3.441173] usbcore: registered new interface driver ums-cypress
[ 3.447353] usbcore: registered new interface driver ums_eneub6250
[ 3.453717] usbcore: registered new interface driver ums-freecom
[ 3.459888] usbcore: registered new interface driver ums-isd200
[ 3.465991] usbcore: registered new interface driver ums-usbat
[ 3.472674] device-mapper: uevent: version 1.0.3
[ 3.477679] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[ 3.486632] sdhci: Secure Digital Host Controller Interface driver
[ 3.492923] sdhci: Copyright(c) Pierre Ossman
[ 3.497392] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.503582] xenon-sdhci d00d0000.sdhci: Got CD GPIO
[ 3.508900] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.515230] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.521860] usbcore: registered new interface driver usbhid
[ 3.527513] usbhid: USB HID core driver
[ 3.532230] Initializing XFRM netlink socket
[ 3.536555] NET: Registered protocol family 17
[ 3.541395] Key type dns_resolver registered
[ 3.546382] registered taskstats version 1
[ 3.550558] Loading compiled-in X.509 certificates
[ 3.555533] zswap: loaded using pool lzo/zbud
[ 3.580014] Key type big_key registered
[ 3.601619] Key type encrypted registered
[ 3.608109] d0012000.serial: ttyMV0 at MMIO 0xd0012000 (irq = 0, base_baud = 1562500) is a mvebu-uart
[ 3.617629] printk: console [ttyMV0] enabled
[ 3.617629] printk: console [ttyMV0] enabled
[ 3.626416] printk: bootconsole [ar3700_uart0] disabled
[ 3.626416] printk: bootconsole [ar3700_uart0] disabled
[ 3.638333] xenon-sdhci d00d0000.sdhci: Got CD GPIO
[ 3.670472] mmc0: SDHCI controller on d00d0000.sdhci [d00d0000.sdhci] using ADMA
[ 3.675403] hctosys: unable to open rt[ 3.682158] Freeing unused kernel memory: 512K
[ 3.720234] Run /init as init process
:: running early hook [udev]
Starting version 242.32-2-arch
:: running hook [udev]
:: Triggering uevents...
Waiting 10 seconds for device /dev/sda1 ...
ERROR: device '/dev/sda1' not found. Skipping fsck.
:: mounting '/dev/sda1' on real root
mount: /new_root: special device /dev/sda1 does not exist.
You are now being dropped into an emergency shell.
mauiwowie42
 
Posts: 8
Joined: Sat Jul 27, 2019 4:17 am

Re: ESPRESSObin non more booting SATA after update Kernel 5.

Postby NanoExplorer » Sun Aug 04, 2019 2:32 am

I've just added $this->bbcode_second_pass_code('', 'IgnorePkg = linux-espressobin') to my $this->bbcode_second_pass_code('', '/etc/pacman.conf') after downgrading to a version where it worked. Over here https://archlinuxarm.org/forum/viewtopic.php?f=15&t=13675 they have listed a link to a working version of that package, you might try it.

There doesn't seem to be a permanent solution yet, sadly.
NanoExplorer
 
Posts: 3
Joined: Thu Jun 06, 2019 4:57 am

Re: ESPRESSObin non more booting SATA after update Kernel 5.

Postby mauiwowie42 » Sun Aug 04, 2019 9:23 am

[ 4.632412] ahci-mvebu d00e0000.sata: couldn't get PHY in node sata: -517

I cross referenced the above error in my log and found the file and function responsible for throwing the error:

https://github.com/torvalds/linux/blob/ ... platform.c (Line 315)

Looks like its switching the error returned by hpriv->phys[port] = devm_of_phy_get(dev, node, NULL); and didn't account for why it was thrown so it wasn't caught. Maybe it's being passed an invalid argument or false kernel address by uBoot.txt? I know struct device_node *node is good because it gets printed to the console ("sata") so it's smart enough to know we want a sata device, just not pointed to the right area maybe?
$this->bbcode_second_pass_code('', '
static int ahci_platform_get_phy(struct ahci_host_priv *hpriv, u32 port,
struct device *dev, struct device_node *node)
{
int rc;

hpriv->phys[port] = devm_of_phy_get(dev, node, NULL);

if (!IS_ERR(hpriv->phys[port]))
return 0;

rc = PTR_ERR(hpriv->phys[port]);
switch (rc) {
case -ENOSYS:
/* No PHY support. Check if PHY is required. */
if (of_find_property(node, "phys", NULL)) {
dev_err(dev,
"couldn't get PHY in node %pOFn: ENOSYS\n",
node);
break;
}
/* fall through */
case -ENODEV:
/* continue normally */
hpriv->phys[port] = NULL;
rc = 0;
break;
case -EPROBE_DEFER:
/* Do not complain yet */
break;
default:
dev_err(dev,
"couldn't get PHY in node %pOFn: %d\n",
node, rc);

break;
}

return rc;
}
')
This is the struct that acts as a getter for the device

https://github.com/torvalds/linux/blob/ ... phy-core.c (Line 754)
$this->bbcode_second_pass_code('', '
struct phy *devm_of_phy_get(struct device *dev, struct device_node *np,
const char *con_id)
{
struct phy **ptr, *phy;

ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL);
if (!ptr)
return ERR_PTR(-ENOMEM);

phy = of_phy_get(np, con_id);
if (!IS_ERR(phy)) {
*ptr = phy;
devres_add(dev, ptr);
} else {
devres_free(ptr);
}

return phy;
}
')
mauiwowie42
 
Posts: 8
Joined: Sat Jul 27, 2019 4:17 am

Re: ESPRESSObin non more booting SATA after update Kernel 5.

Postby mauiwowie42 » Mon Aug 05, 2019 1:24 am

It also looks like there were specific changes made to the config file for linux-espressobin PKGBUILD regarding scsi mvsas in the latest commit:

https://github.com/archlinuxarm/PKGBUIL ... 2078fccd35

$this->bbcode_second_pass_code('', '
- # CONFIG_SCSI_MVSAS is not set
+ CONFIG_SCSI_MVSAS=m
+ CONFIG_SCSI_MVSAS_DEBUG=y
+ # CONFIG_SCSI_MVSAS_TASKLET is not set
')
mauiwowie42
 
Posts: 8
Joined: Sat Jul 27, 2019 4:17 am

Re: ESPRESSObin non more booting SATA after update Kernel 5.

Postby mauiwowie42 » Mon Aug 05, 2019 1:33 am

According to this page:

https://cateee.net/lkddb/web-lkddb/SCSI_MVSAS.html

SCSI_MVSAS is responsible for both the Mini-PCIE interface and the Sata 6Gbps/3Gbps interface. According to the comment in:

https://github.com/torvalds/linux/blob/ ... platform.c (Line 35-45)

/**
* ahci_platform_enable_phys - Enable PHYs
* @hpriv: host private area to store config values
*
* This function enables all the PHYs found in hpriv->phys, if any.
* If a PHY fails to be enabled, it disables all the PHYs already
* enabled in reverse order and returns an error.
*
* RETURNS:
* 0 on success otherwise a negative error code
*/

The function ahci_platform_enable_phys will disable all phys if anyone fails meaning this could possibly be a problem with Arch and MiniPCIE instead of Sata. Though this seems to be called after hpriv->phys has already run which in this case is actually the source of the error
mauiwowie42
 
Posts: 8
Joined: Sat Jul 27, 2019 4:17 am

Re: ESPRESSObin non more booting SATA after update Kernel 5.

Postby mauiwowie42 » Mon Aug 05, 2019 1:40 am

It's also interesting to note that Kernel 5.0.11-1-ARCH does NOT include the SCSI_MVSAS driver and instead inclues libsosd:

http://modules.libres.ch/browse/linux/v ... um/libosd/
mauiwowie42
 
Posts: 8
Joined: Sat Jul 27, 2019 4:17 am

Re: ESPRESSObin non more booting SATA after update Kernel 5.

Postby mauiwowie42 » Mon Aug 05, 2019 1:48 am

Problem is it has to be something with Sata and NOT Pcie because the SD card image mounts and runs just fine and can run Wifi Mini Pcie cards. This is something I have tested myself
mauiwowie42
 
Posts: 8
Joined: Sat Jul 27, 2019 4:17 am

Next

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 13 guests