OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity Critical
  • Priority Very Low
  • Reported Version lede-17.01
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Diego Ercolani - 20.04.2018

FS#1508 - kernel x86 generic/geode/legacy missing via_ata

In Openwrt/LEDE 17.01.x fo x86 architecture

I have a industrial box with a VIA c3 processor and via chipset runnning at 400Mhz

The kernel provided doesn’t support VIA PATA chipset:

[ 1.591773] sched_clock: Marking stable (1591687906, 0)→(2395073718, -803385812)
[ 1.617278] rtc_cmos rtc_cmos: setting system clock to 2003-01-01 00:01:07 UTC (1041379267)
[ 1.671629] Waiting for root device PARTUUID=076b2e55-02...
[ 1.882538] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x5c76999487, max_idle_ns: 440795213641 ns
[ 1.912531] clocksource: Switched to clocksource tsc

[ 131.182653] random: crng init done

the boot is stuck waiting for root mountpoint

Diego Ercolani commented on 20.04.2018 09:45

[ 0.350043] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.360032] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[ 0.370029] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.390725] pci 0000:00:07.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 0.400000] pci 0000:00:07.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.400000] pci 0000:00:07.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 0.400000] pci 0000:00:07.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.400000] pci 0000:00:07.4: quirk: [io 0x6000-0x607f] claimed by vt82c686 HW-mon
[ 0.400000] pci 0000:00:07.4: quirk: [io 0x5000-0x500f] claimed by vt82c686 SMB
[ 0.400000] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.400000] pci 0000:00:07.0: VIA IRQ router [1106:0686]
[ 0.400000] amd_nb: Cannot enumerate AMD northbridges
[ 0.400000] clocksource: Switched to clocksource pit
[ 0.400000] pnp: PnP ACPI: disabled
[ 0.400000] pci 0000:00:01.0: BAR 9: assigned [mem 0x10000000-0x100fffff pref]
[ 0.400000] pci 0000:01:00.0: BAR 6: assigned [mem 0x10000000-0x1000ffff pref]
[ 0.400000] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.400000] pci 0000:00:01.0: bridge window [mem 0xec000000-0xed7fffff]
[ 0.400000] pci 0000:00:01.0: bridge window [mem 0x10000000-0x100fffff pref]

Diego Ercolani commented on 25.04.2018 08:41

Hello. Now It work, after recompiling the VIA PATA support and recompiling all the openwrt/lede from github
./script/feeds update -a
make V=s menuconfig ← selecting geode and ATA support
make V=s defconfig
make V=s kernel_menuconfig ← selecting via c3 and via_pata

I add the openwrt .config file and the kernel .config file and the console dump for reference

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing