GPIO problems with latest kernel on NSA325

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

GPIO problems with latest kernel on NSA325

Postby raumzeit » Mon Sep 02, 2013 7:18 am

Hi,

after last pacman -Syu a new kernel was installed that somehow does not init my NSA325 right. After booting in the new kernel, dmesg shows me a lot of gpio related errors, e.g.

$this->bbcode_second_pass_code('', '
leds-gpio: probe of leds-gpio failed with error -16
...
gpio-keys gpio-keys: failed to request GPIO 37, error -16
...
')

The outcome is that i2c does not work, i.e.:

$this->bbcode_second_pass_code('', '
modprobe i2c_mv64xxx
')

does not register any new devices. Furthermore, the LEDs are missing in
$this->bbcode_second_pass_code('', '
/sys/class/leds/
')

Anyone else who experiences the same problem? What can I do to reactive the GPIO's?

P.S.: Here is my complete dmesg output:
$this->bbcode_second_pass_code('', '
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.1.10-24-ARCH (nobody@) (gcc version 4.7.2 (GCC) ) #1 PREEMPT Thu Aug 29 09:28:15 CDT 2013
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: ZyXEL NSA320 2-Bay Power Media Server
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c059ce20, node_mem_map c066e000
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130048 pages, LIFO batch:31
[ 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: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/sda2 rw rootwait loglevel=8
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] allocated 2097152 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 511124k/511124k available, 13164k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xe0800000 - 0xfe800000 ( 480 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0539254 (5317 kB)
[ 0.000000] .init : 0xc053a000 - 0xc0565000 ( 172 kB)
[ 0.000000] .data : 0xc0566000 - 0xc059f610 ( 230 kB)
[ 0.000000] .bss : 0xc059f634 - 0xc066d1ec ( 823 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[ 0.000000] Console: colour dummy device 80x30
[ 12.850942] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[ 12.890864] pid_max: default: 32768 minimum: 301
[ 12.890961] Security Framework initialized
[ 12.890980] AppArmor: AppArmor disabled by boot time parameter
[ 12.891033] Mount-cache hash table entries: 512
[ 12.891344] Initializing cgroup subsys cpuacct
[ 12.891363] Initializing cgroup subsys memory
[ 12.891391] Initializing cgroup subsys devices
[ 12.891400] Initializing cgroup subsys freezer
[ 12.891407] Initializing cgroup subsys net_cls
[ 12.891414] Initializing cgroup subsys blkio
[ 12.891431] Initializing cgroup subsys perf_event
[ 12.891445] Initializing cgroup subsys bfqio
[ 12.891514] CPU: Testing write buffer coherency: ok
[ 12.892498] devtmpfs: initialized
[ 12.893901] NET: Registered protocol family 16
[ 12.894393] Kirkwood: MV88F6282-Rev-Unsupported, TCLK=200000000.
[ 12.894405] Feroceon L2: Enabling L2
[ 12.894430] Feroceon L2: Cache support initialised.
[ 12.894808] initial MPP regs: 21111111 01103311 00051100 00000000 00000000 00000000 00000000
[ 12.894833] final MPP regs: 01111111 00003311 00001100 00000000 00000000 00000000 00000000
[ 12.898599] bio: create slab <bio-0> at 0
[ 12.898856] vgaarb: loaded
[ 12.899055] SCSI subsystem initialized
[ 12.899165] libata version 3.00 loaded.
[ 12.899319] usbcore: registered new interface driver usbfs
[ 12.899384] usbcore: registered new interface driver hub
[ 12.899456] usbcore: registered new device driver usb
[ 12.899862] Switching to clocksource orion_clocksource
[ 12.900870] Switched to NOHz mode on CPU #0
[ 12.906565] FS-Cache: Loaded
[ 12.913600] NET: Registered protocol family 2
[ 12.913784] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 12.914319] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 12.914679] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 12.914861] TCP: Hash tables configured (established 16384 bind 16384)
[ 12.914869] TCP reno registered
[ 12.914876] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 12.914896] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 12.915069] NET: Registered protocol family 1
[ 12.915094] PCI: CLS 0 bytes, default 32
[ 12.915385] BUBBA3: driver ver 0.1 (build Aug 29 2013 08:56:48) loaded
[ 12.915660] audit: initializing netlink socket (disabled)
[ 12.915685] type=2000 audit(0.040:1): initialized
[ 12.979047] VFS: Disk quotas dquot_6.5.2
[ 12.979250] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 12.980883] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 12.981822] aufs 3.1-20111107
[ 12.981838] msgmni has been set to 998
[ 12.982803] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 12.982815] io scheduler noop registered
[ 12.982821] io scheduler deadline registered
[ 12.982878] io scheduler cfq registered
[ 12.982928] io scheduler bfq registered (default)
[ 12.982976] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 12.983000] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 13.019918] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 13.059917] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 13.099914] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 13.139913] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 13.143502] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 13.163973] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 13.719051] console [ttyS0] enabled
[ 13.726954] brd: module loaded
[ 13.732205] loop: module loaded
[ 13.735599] sata_mv sata_mv.0: version 1.28
[ 13.739923] sata_mv sata_mv.0: slots 32 ports 2
[ 13.745682] scsi0 : sata_mv
[ 13.748767] scsi1 : sata_mv
[ 13.751758] ata1: SATA max UDMA/133 irq 21
[ 13.755869] ata2: SATA max UDMA/133 irq 21
[ 13.760699] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
[ 13.769356] Scanning device for bad blocks
[ 13.786577] Bad eraseblock 116 at 0x000000e80000
[ 13.891953] Creating 9 MTD partitions on "orion_nand":
[ 13.897120] 0x000000000000-0x000000100000 : "uboot"
[ 13.902305] 0x000000100000-0x000000180000 : "uboot_env"
[ 13.907799] 0x000000180000-0x000000200000 : "key_store"
[ 13.913261] 0x000000200000-0x000000280000 : "info"
[ 13.918257] 0x000000280000-0x000000c80000 : "etc"
[ 13.923197] 0x000000c80000-0x000001680000 : "kernel_1"
[ 13.928555] 0x000001680000-0x000004640000 : "rootfs1"
[ 13.933881] 0x000004640000-0x000005040000 : "kernel_2"
[ 13.939242] 0x000005040000-0x000008000000 : "rootfs2"
[ 13.945109] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 13.952020] mv643xx_eth smi: probed
[ 13.958535] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address fc:f5:28:31:e6:49
[ 13.967501] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 13.974111] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 13.979416] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 14.009900] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 14.029888] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 14.036250] hub 1-0:1.0: USB hub found
[ 14.040049] hub 1-0:1.0: 1 port detected
[ 14.044360] Initializing USB Mass Storage driver...
[ 14.049311] usbcore: registered new interface driver usb-storage
[ 14.055356] USB Mass Storage support registered.
[ 14.060078] usbcore: registered new interface driver libusual
[ 14.066087] mousedev: PS/2 mouse device common for all mice
[ 14.279903] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 14.319930] ata1.00: ATA-8: WDC WD20EARX-00MMMB0, 80.00A80, max UDMA/133
[ 14.326664] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 14.359896] usb 1-1: new high speed USB device number 2 using orion-ehci
[ 14.369930] ata1.00: configured for UDMA/133
[ 14.390132] scsi 0:0:0:0: Direct-Access ATA WDC WD20EARX-00M 80.0 PQ: 0 ANSI: 5
[ 14.398642] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[ 14.406665] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 14.412015] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 14.417683] sd 0:0:0:0: [sda] Write Protect is off
[ 14.422541] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 14.427682] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 14.446882] sda: sda1 sda2 sda3
[ 14.451081] sd 0:0:0:0: [sda] Attached SCSI disk
[ 14.511836] hub 1-1:1.0: USB hub found
[ 14.515865] hub 1-1:1.0: 4 ports detected
[ 14.759899] ata2: SATA link down (SStatus 0 SControl F300)
[ 15.079889] rtc-mv rtc-mv: internal RTC not ticking
[ 15.084906] sdhci: Secure Digital Host Controller Interface driver
[ 15.091181] sdhci: Copyright(c) Pierre Ossman
[ 15.095604] sdhci-pltfm: SDHCI platform and OF driver helper
[ 15.101391] Registered led device: nsa320:green:hdd2
[ 15.106438] Registered led device: nsa320:red:hdd2
[ 15.111322] Registered led device: nsa320:green:usb
[ 15.116287] Registered led device: nsa320:green:sys
[ 15.121259] Registered led device: nsa320:orange:sys
[ 15.126300] Registered led device: nsa320:green:copy
[ 15.131522] leds-gpio: probe of leds-gpio failed with error -16
[ 15.137601] usbcore: registered new interface driver r8712u
[ 15.143867] GRE over IPv4 demultiplexor driver
[ 15.148252] TCP cubic registered
[ 15.151699] NET: Registered protocol family 17
[ 15.156214] lib80211: common routines for IEEE802.11 drivers
[ 15.161913] lib80211_crypt: registered algorithm 'NULL'
[ 15.167156] Registering the dns_resolver key type
[ 15.171909] Gating clock of unused units
[ 15.175850] before: 0x0087c1dd
[ 15.178916] after: 0x00c3c1c9
[ 15.182344] registered taskstats version 1
[ 15.186909] console [netcon0] enabled
[ 15.190662] netconsole: network logging started
[ 15.195324] gpio-keys gpio-keys: failed to request GPIO 37, error -16
[ 15.201889] gpio-keys: probe of gpio-keys failed with error -16
[ 15.207863] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 15.223759] EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities
[ 15.250079] EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities
[ 15.294736] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[ 15.302471] VFS: Mounted root (ext4 filesystem) on device 8:2.
[ 15.342392] devtmpfs: mounted
[ 15.345912] Freeing init memory: 172K
[ 15.930014] systemd[1]: systemd 204 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[ 16.067412] systemd[1]: Inserted module 'autofs4'
[ 16.113911] NET: Registered protocol family 10
[ 16.121087] systemd[1]: Inserted module 'ipv6'
[ 16.139353] systemd[1]: Set hostname to <vulcan>.
[ 16.692022] systemd[1]: Cannot add dependency job for unit openntpd.service, ignoring: Unit openntpd.service failed to load: No such file or directory. See system logs and 'systemctl status openntpd.service' for details.
[ 16.712013] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
[ 16.734415] systemd[1]: Expecting device dev-ttyS0.device...
[ 16.759994] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 16.767926] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 16.775629] systemd[1]: Starting Remote File Systems.
[ 16.799955] systemd[1]: Reached target Remote File Systems.
[ 16.805609] systemd[1]: Starting Syslog Socket.
[ 16.829954] systemd[1]: Listening on Syslog Socket.
[ 16.834918] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 16.859951] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 16.866994] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 16.890008] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 16.896613] systemd[1]: Starting Delayed Shutdown Socket.
[ 16.919978] systemd[1]: Listening on Delayed Shutdown Socket.
[ 16.925804] systemd[1]: Starting LVM2 metadata daemon socket.
[ 16.949954] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 16.956132] systemd[1]: Starting Encrypted Volumes.
[ 16.979949] systemd[1]: Reached target Encrypted Volumes.
[ 16.985439] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 16.993666] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 17.001682] systemd[1]: Starting Paths.
[ 17.019949] systemd[1]: Reached target Paths.
[ 17.024473] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 17.059962] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 17.069694] systemd[1]: Starting udev Kernel Socket.
[ 17.089959] systemd[1]: Listening on udev Kernel Socket.
[ 17.095551] systemd[1]: Starting udev Control Socket.
[ 17.119958] systemd[1]: Listening on udev Control Socket.
[ 17.125460] systemd[1]: Starting Journal Socket.
[ 17.149954] systemd[1]: Listening on Journal Socket.
[ 17.160936] systemd[1]: Started Set Up Additional Binary Formats.
[ 17.167149] systemd[1]: Mounted Huge Pages File System.
[ 17.172476] systemd[1]: Starting Setup Virtual Console...
[ 17.243332] systemd[1]: Starting Create static device nodes in /dev...
[ 17.310604] systemd[1]: Starting udev Coldplug all Devices...
[ 17.420480] systemd[1]: Starting Apply Kernel Variables...
[ 17.480440] systemd[1]: Mounting Debug File System...
[ 17.540525] systemd[1]: Mounting POSIX Message Queue File System...
[ 17.610206] systemd[1]: Starting Journal Service...
[ 17.690051] systemd[1]: Started Journal Service.
[ 17.742361] systemd[1]: Starting Load Kernel Modules...
[ 17.810440] systemd[1]: Starting Swap.
[ 17.830005] systemd[1]: Reached target Swap.
[ 17.834397] systemd[1]: Mounting Temporary Directory...
[ 18.050199] systemd[1]: Started File System Check on Root Device.
[ 18.060350] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 18.140385] systemd[1]: Expecting device dev-disk-by\x2dlabel-oberon.device...
[ 18.170549] systemd[1]: Expecting device dev-disk-by\x2dlabel-ariel.device...
[ 18.200109] RPC: Registered named UNIX socket transport module.
[ 18.206061] RPC: Registered udp transport module.
[ 18.210948] systemd[1]: Expecting device dev-disk-by\x2dlabel-R2D2.device...
[ 18.218826] RPC: Registered tcp transport module.
[ 18.226712] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 18.250036] systemd[1]: Expecting device dev-disk-by\x2dlabel-miranda.device...
[ 18.280043] systemd[1]: Expecting device dev-disk-by\x2dlabel-boot.device...
[ 18.370075] systemd[1]: Started Create static device nodes in /dev.
[ 18.408774] FS-Cache: Netfs 'nfs' registered for caching
[ 18.470081] systemd[1]: Started Setup Virtual Console.
[ 18.529969] systemd[1]: Started Apply Kernel Variables.
[ 18.550004] systemd[1]: Mounted Debug File System.
[ 18.570006] systemd[1]: Mounted POSIX Message Queue File System.
[ 18.629967] systemd[1]: Started Load Kernel Modules.
[ 18.650005] systemd[1]: Mounted Temporary Directory.
[ 18.709966] systemd[1]: Started Remount Root and Kernel File Systems.
[ 18.769968] systemd[1]: Started udev Coldplug all Devices.
[ 18.775618] systemd[1]: Starting Load Random Seed...
[ 18.841294] systemd[1]: Mounted FUSE Control File System.
[ 18.846807] systemd[1]: Mounted Configuration File System.
[ 18.855226] systemd[1]: Starting udev Kernel Device Manager...
[ 18.942906] systemd-udevd[78]: starting version 204
[ 18.980019] systemd[1]: Started Load Random Seed.
[ 19.010026] systemd[1]: Started udev Kernel Device Manager.
[ 19.016624] systemd[1]: Starting Local File Systems (Pre).
[ 19.040006] systemd[1]: Reached target Local File Systems (Pre).
[ 19.048696] systemd[1]: Mounting RPC pipe filesystem...
[ 19.230064] systemd[1]: Mounted RPC pipe filesystem.
[ 19.340083] systemd[1]: Found device /dev/ttyS0.
[ 19.679997] systemd[1]: Found device WDC_WD20EARX-00MMMB0.
[ 19.685690] systemd[1]: Mounting /boot...
[ 19.812138] systemd[1]: boot.mount: Directory /boot to mount over is not empty, mounting anyway.
[ 19.900062] systemd[1]: Found device WDC_WD20EARX-00MMMB0.
[ 19.910124] systemd[1]: Starting File System Check on /dev/disk/by-label/ariel...
[ 19.930215] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[ 19.963404] EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[ 19.980494] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[ 20.044660] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[ 20.050900] systemd[1]: Mounted /boot.
[ 20.054869] systemd[1]: Starting Local File Systems.
[ 20.090133] systemd[1]: Reached target Local File Systems.
[ 20.095884] systemd[1]: Starting Recreate Volatile Files and Directories...
[ 20.106855] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[ 20.140496] systemd[1]: Starting Trigger Flushing of Journal to Persistent Storage...
[ 20.330185] systemd[1]: Started Trigger Flushing of Journal to Persistent Storage.
[ 20.380150] systemd[1]: Started Recreate Volatile Files and Directories.
[ 20.400118] systemd[1]: Starting Update UTMP about System Reboot/Shutdown...
[ 20.540118] systemd[1]: Started Update UTMP about System Reboot/Shutdown.
[ 20.548832] systemd[1]: Starting System Initialization.
[ 20.555028] systemd[1]: Reached target System Initialization.
[ 20.565479] systemd[1]: Starting D-Bus System Message Bus Socket.
[ 20.572811] systemd[1]: Listening on D-Bus System Message Bus Socket.
[ 20.580342] systemd[1]: Starting Sockets.
[ 20.585786] systemd[1]: Reached target Sockets.
[ 20.591826] systemd[1]: Starting Daily Cleanup of Temporary Directories.
[ 20.599835] systemd[1]: Started Daily Cleanup of Temporary Directories.
[ 20.607877] systemd[1]: Starting Timers.
[ 20.613534] systemd[1]: Reached target Timers.
[ 20.619044] systemd[1]: Starting Basic System.
[ 20.624947] systemd[1]: Reached target Basic System.
[ 20.631309] systemd[1]: Starting System Logger Daemon...
[ 20.690075] systemd[1]: Started System Logger Daemon.
[ 20.695333] systemd[1]: Starting Periodic Command Scheduler...
[ 20.790035] systemd[1]: Started Periodic Command Scheduler.
[ 21.030374] systemd[1]: Started SSH Key Generation.
[ 21.035506] systemd[1]: Starting OpenSSH Daemon...
[ 21.120046] systemd[1]: Started OpenSSH Daemon.
[ 21.124760] systemd[1]: Starting Complete the boot process for NSA3xxx...
[ 21.190736] systemd[1]: Starting Netcfg multi-profile daemon...
[ 21.260411] systemd[1]: Starting Packet Filtering Framework...
[ 21.330393] systemd[1]: Starting Login Service...
[ 21.400365] systemd[1]: Starting D-Bus System Message Bus...
[ 21.490175] systemd[1]: Started D-Bus System Message Bus.
[ 21.500703] systemd[1]: Starting Permit User Sessions...
[ 21.630032] systemd[1]: Started File System Check on /dev/disk/by-label/ariel.
[ 21.637335] ata2: exception Emask 0x10 SAct 0x0 SErr 0x4010000 action 0xe frozen
[ 21.646478] ata2: edma_err_cause=00000010 pp_flags=00000000, dev connect
[ 21.654512] systemd[1]: Mounting /media/ariel...
[ 21.659354] ata2: SError: { PHYRdyChg DevExch }
[ 21.664807] ata2: hard resetting link
[ 21.776221] systemd[1]: complete-boot.service: main process exited, code=exited, status=1/FAILURE
[ 21.870002] systemd[1]: Failed to start Complete the boot process for NSA3xxx.
[ 21.878401] systemd[1]: Unit complete-boot.service entered failed state.
[ 21.940013] systemd[1]: Started Permit User Sessions.
[ 21.945259] systemd[1]: Starting Getty on tty1...
[ 22.031846] systemd[1]: Started Getty on tty1.
[ 22.036447] systemd[1]: Starting Serial Getty on ttyS0...
[ 22.130058] systemd[1]: Started Serial Getty on ttyS0.
[ 22.135396] systemd[1]: Starting Login Prompts.
[ 22.144204] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 22.170037] systemd[1]: Reached target Login Prompts.
[ 22.200088] systemd[1]: Started Login Service.
[ 22.539954] nf_conntrack version 0.5.0 (7989 buckets, 31956 max)
[ 22.860040] systemd[1]: Started Packet Filtering Framework.
[ 23.182484] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 23.369087] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[ 23.400055] systemd[1]: Mounted /media/ariel.
[ 26.590698] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 26.600797] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 27.619894] ata2: link is slow to respond, please be patient (ready=0)
[ 31.699890] ata2: SRST failed (errno=-16)
[ 31.703918] ata2: hard resetting link
[ 33.465287] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 33.603486] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 33.652051] NFSD: starting 90-second grace period
[ 34.589984] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 34.651074] ata2.00: ATA-8: WDC WD20EARS-07MVWB0, 51.0AB51, max UDMA/133
[ 34.657809] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 34.709979] ata2.00: configured for UDMA/133
[ 34.714283] ata2: EH complete
[ 35.900160] scsi 1:0:0:0: Direct-Access ATA WDC WD20EARS-07M 51.0 PQ: 0 ANSI: 5
[ 35.920365] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[ 35.928457] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 35.933829] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[ 35.945639] sd 1:0:0:0: [sdb] Write Protect is off
[ 35.955320] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 35.965899] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 36.008685] sdb: sdb1
[ 36.013873] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 36.827380] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[ 36.989902] eth0: no IPv6 routers present

')
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT

Re: GPIO problems with latest kernel on NSA325

Postby raumzeit » Mon Sep 02, 2013 7:34 am

Another hint maybe:

After downgrading to linux-3.1.10-22-arm everthing works fine again. The problem with the GPIOs start with the transition to linux-3.1.10-23-arm
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT

Re: GPIO problems with latest kernel on NSA325

Postby moonman » Mon Sep 02, 2013 9:09 am

Looks like it is related to bubba3 support addition. Unfortunately i wont have time to look at this until tuesday.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: GPIO problems with latest kernel on NSA325

Postby raumzeit » Mon Sep 02, 2013 9:18 am

Thanks for looking into this! I also just found this bubba3 issue on archlinuxarm github...

Until a fix is available I just stay with the old working kernel.

Btw. I can't quote any messages in the forum. I always get
$this->bbcode_second_pass_quote('', ''')This topic is too old to reply, so, it's locked now. Thanks.'
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT

Re: GPIO problems with latest kernel on NSA325

Postby pedroren » Mon Sep 02, 2013 6:58 pm

I have the NSA320 with linux-3.1.10-24-arm and I don't have any files in /sys/class/leds either.
pedroren
 
Posts: 13
Joined: Thu Apr 26, 2012 1:32 am

Re: GPIO problems with latest kernel on NSA325

Postby moonman » Tue Sep 03, 2013 5:16 am

bubba3 gpio driver gets loaded with all the other devices for some reason :\ while it fails on my pogoplug and goflex it apparently succeeds on the nsa320
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: GPIO problems with latest kernel on NSA325

Postby moonman » Fri Sep 06, 2013 11:43 pm

This is fixed now.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: GPIO problems with latest kernel on NSA325

Postby pedroren » Sat Sep 07, 2013 1:04 am

My LEDS files are back! thank you!

Though the HDD led doesn't blink...
pedroren
 
Posts: 13
Joined: Thu Apr 26, 2012 1:32 am

Re: GPIO problems with latest kernel on NSA325

Postby moonman » Sat Sep 07, 2013 1:46 am

Did it work before? My goflex doesn't blink either with 3.1 kernel, but it does with 3.10. Install linux-kirkwood package
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: GPIO problems with latest kernel on NSA325

Postby pedroren » Sat Sep 07, 2013 1:59 am

Sorry, didn't notice it it worked before, I just have a week with my device.

But I installer linux-kirkwood just right now and they're working.

I enabled the hd2 trigger, but now I have both hdd leds blinking together :P

Thanks!
pedroren
 
Posts: 13
Joined: Thu Apr 26, 2012 1:32 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 2 guests