PogoPlug E02 won't boot after latest pacman update

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

Re: PogoPlug E02 won't boot after latest pacman update

Postby WarheadsSE » Wed Sep 17, 2014 1:04 am

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PogoPlug E02 won't boot after latest pacman update

Postby rhester72 » Wed Sep 17, 2014 1:35 am

That's good info!

Confusion on my part: Since ALARM on a PogoPlug isn't "normal" Arch, /boot/uImage seems to ship with the linux-kirkwood kernel and /boot/uInitrd doesn't exist at all - how do I go about building a replacement ramfs containing the contents of /etc/modprobe.d (necessary because the 'problem' USB drive is also my boot drive)?

Rodney
rhester72
 
Posts: 35
Joined: Tue Apr 30, 2013 4:24 pm

Re: PogoPlug E02 won't boot after latest pacman update

Postby WarheadsSE » Wed Sep 17, 2014 1:39 am

We don't use initramfs, but you should be able to add as necessary for the modprobe.d. Now, if that is your boot drive, then you may want to add these options to the extra cmdline arguments for the kernel, which should be doable via the recent uboot updates & uEnv.txt.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PogoPlug E02 won't boot after latest pacman update

Postby rhester72 » Wed Sep 17, 2014 2:13 am

Rock and a hard place problem - I've held on to my "old-school" modded uBoot with SNTP support, but it doesn't support uEnv.txt (as near as I can tell). Mainline uBoot supports uEnv.txt but not SNTP. Drat. =)

Rodney
rhester72
 
Posts: 35
Joined: Tue Apr 30, 2013 4:24 pm

Re: PogoPlug E02 won't boot after latest pacman update

Postby bodhi » Wed Sep 17, 2014 6:07 am

$this->bbcode_second_pass_quote('Palmore', 'O')k, I just tested with a USB hub I had sitting around, it was a USB 3.0 HUB but had a USB 2.0 port on it.

I connected my Seagate Expansion 5TB USB 3.0 drive to one of the USB 2.0 ports, here is my log

You can also see my USB hub connect and initialize

$this->bbcode_second_pass_code('', 'Sep 16 20:05:37 plug01 kernel: usb 2-2: new high-speed USB device number 2 using xhci_hcd
Sep 16 20:05:38 plug01 kernel: hub 2-2:1.0: USB hub found
Sep 16 20:05:38 plug01 kernel: hub 2-2:1.0: 4 ports detected
Sep 16 20:05:38 plug01 kernel: usb 3-2: new SuperSpeed USB device number 3 using xhci_hcd
Sep 16 20:05:39 plug01 kernel: hub 3-2:1.0: USB hub found
Sep 16 20:05:39 plug01 kernel: hub 3-2:1.0: 4 ports detected
Sep 16 20:05:39 plug01 kernel: usb 2-2.4: new high-speed USB device number 3 using xhci_hcd
Sep 16 20:05:39 plug01 kernel: hub 2-2.4:1.0: USB hub found
Sep 16 20:05:39 plug01 kernel: hub 2-2.4:1.0: 4 ports detected
Sep 16 20:05:54 plug01 kernel: usb 2-2.2: new high-speed USB device number 4 using xhci_hcd
Sep 16 20:05:55 plug01 kernel: scsi3 : uas
Sep 16 20:05:55 plug01 kernel: ------------[ cut here ]------------
Sep 16 20:05:55 plug01 kernel: WARNING: CPU: 0 PID: 21 at drivers/usb/storage/uas.c:625 uas_submit_urbs.constprop.23+0x560/0x59c [uas]()
Sep 16 20:05:55 plug01 kernel: Modules linked in: uas mv_cesa ipv6
Sep 16 20:05:55 plug01 kernel: CPU: 0 PID: 21 Comm: khubd Not tainted 3.16.2-1-ARCH #1
Sep 16 20:05:55 plug01 kernel: [<c000f040>] (unwind_backtrace) from [<c000c588>] (show_stack+0x10/0x14)
Sep 16 20:05:55 plug01 kernel: [<c000c588>] (show_stack) from [<c001b7bc>] (warn_slowpath_common+0x70/0x90)
Sep 16 20:05:55 plug01 kernel: [<c001b7bc>] (warn_slowpath_common) from [<c001b878>] (warn_slowpath_null+0x1c/0x24)
Sep 16 20:05:55 plug01 kernel: [<c001b878>] (warn_slowpath_null) from [<bf06d1e8>] (uas_submit_urbs.constprop.23+0x560/0x59c [uas])
Sep 16 20:05:55 plug01 kernel: [<bf06d1e8>] (uas_submit_urbs.constprop.23 [uas]) from [<bf06d390>] (uas_queuecommand+0x16c/0x22c [uas])
Sep 16 20:05:55 plug01 kernel: [<bf06d390>] (uas_queuecommand [uas]) from [<c0365eec>] (scsi_dispatch_cmd+0x98/0x230)
Sep 16 20:05:55 plug01 kernel: [<c0365eec>] (scsi_dispatch_cmd) from [<c036d0fc>] (scsi_request_fn+0x2e4/0x514)
Sep 16 20:05:55 plug01 kernel: [<c036d0fc>] (scsi_request_fn) from [<c02a6874>] (__blk_run_queue+0x34/0x44)
Sep 16 20:05:55 plug01 kernel: [<c02a6874>] (__blk_run_queue) from [<c02ae198>] (blk_execute_rq_nowait+0xa0/0x148)
Sep 16 20:05:55 plug01 kernel: [<c02ae198>] (blk_execute_rq_nowait) from [<c02ae298>] (blk_execute_rq+0x58/0xe4)
Sep 16 20:05:55 plug01 kernel: [<c02ae298>] (blk_execute_rq) from [<c036b668>] (scsi_execute+0xb8/0x138)
Sep 16 20:05:55 plug01 kernel: [<c036b668>] (scsi_execute) from [<c036b76c>] (scsi_execute_req_flags+0x84/0xf8)
Sep 16 20:05:55 plug01 kernel: [<c036b76c>] (scsi_execute_req_flags) from [<c036eb00>] (scsi_probe_and_add_lun+0x178/0x9c8)
Sep 16 20:05:55 plug01 kernel: [<c036eb00>] (scsi_probe_and_add_lun) from [<c036f734>] (__scsi_scan_target+0xdc/0x564)
Sep 16 20:05:55 plug01 kernel: [<c036f734>] (__scsi_scan_target) from [<c036fe38>] (scsi_scan_host_selected+0x108/0x1dc)
Sep 16 20:05:55 plug01 kernel: [<c036fe38>] (scsi_scan_host_selected) from [<c036ff90>] (do_scsi_scan_host+0x84/0x8c)
Sep 16 20:05:55 plug01 kernel: [<c036ff90>] (do_scsi_scan_host) from [<c0370110>] (scsi_scan_host+0x178/0x1e0)
Sep 16 20:05:55 plug01 kernel: [<c0370110>] (scsi_scan_host) from [<bf06c4a8>] (uas_probe+0x278/0x2a8 [uas])
Sep 16 20:05:55 plug01 kernel: [<bf06c4a8>] (uas_probe [uas]) from [<c03ec0d0>] (usb_probe_interface+0x16c/0x21c)
Sep 16 20:05:55 plug01 kernel: [<c03ec0d0>] (usb_probe_interface) from [<c034825c>] (driver_probe_device+0x110/0x244)
Sep 16 20:05:55 plug01 kernel: [<c034825c>] (driver_probe_device) from [<c0346934>] (bus_for_each_drv+0x5c/0x8c)
Sep 16 20:05:55 plug01 kernel: [<c0346934>] (bus_for_each_drv) from [<c0348118>] (device_attach+0x70/0x88)
Sep 16 20:05:55 plug01 kernel: [<c0348118>] (device_attach) from [<c0347800>] (bus_probe_device+0x84/0xb0)
Sep 16 20:05:55 plug01 kernel: [<c0347800>] (bus_probe_device) from [<c0345cac>] (device_add+0x420/0x51c)
Sep 16 20:05:55 plug01 kernel: [<c0345cac>] (device_add) from [<c03ea234>] (usb_set_configuration+0x540/0x774)
Sep 16 20:05:55 plug01 kernel: [<c03ea234>] (usb_set_configuration) from [<c03f36c0>] (generic_probe+0x2c/0x78)
Sep 16 20:05:55 plug01 kernel: [<c03f36c0>] (generic_probe) from [<c03ebf4c>] (usb_probe_device+0x24/0x3c)
Sep 16 20:05:55 plug01 kernel: [<c03ebf4c>] (usb_probe_device) from [<c034825c>] (driver_probe_device+0x110/0x244)
Sep 16 20:05:55 plug01 kernel: [<c034825c>] (driver_probe_device) from [<c0346934>] (bus_for_each_drv+0x5c/0x8c)
Sep 16 20:05:55 plug01 kernel: [<c0346934>] (bus_for_each_drv) from [<c0348118>] (device_attach+0x70/0x88)
Sep 16 20:05:55 plug01 kernel: [<c0348118>] (device_attach) from [<c0347800>] (bus_probe_device+0x84/0xb0)
Sep 16 20:05:55 plug01 kernel: [<c0347800>] (bus_probe_device) from [<c0345cac>] (device_add+0x420/0x51c)
Sep 16 20:05:55 plug01 kernel: [<c0345cac>] (device_add) from [<c03e143c>] (usb_new_device+0x1d0/0x354)
Sep 16 20:05:55 plug01 kernel: [<c03e143c>] (usb_new_device) from [<c03e2cd0>] (hub_thread+0xd88/0x1264)
Sep 16 20:05:55 plug01 kernel: [<c03e2cd0>] (hub_thread) from [<c0039fd4>] (kthread+0xbc/0xd8)
Sep 16 20:05:55 plug01 kernel: [<c0039fd4>] (kthread) from [<c0009590>] (ret_from_fork+0x14/0x24)
Sep 16 20:05:55 plug01 kernel: ---[ end trace 50ee2f96a1337248 ]---
Sep 16 20:05:55 plug01 kernel: ------------[ cut here ]------------
Sep 16 20:05:55 plug01 kernel: WARNING: CPU: 0 PID: 86 at drivers/usb/storage/uas.c:286 uas_try_complete.isra.13+0x10c/0x12c [uas]()
Sep 16 20:05:55 plug01 kernel: Modules linked in: uas mv_cesa ipv6
Sep 16 20:05:55 plug01 kernel: CPU: 0 PID: 86 Comm: systemd-journal Tainted: G W 3.16.2-1-ARCH #1
Sep 16 20:05:55 plug01 kernel: [<c000f040>] (unwind_backtrace) from [<c000c588>] (show_stack+0x10/0x14)
Sep 16 20:05:55 plug01 kernel: [<c000c588>] (show_stack) from [<c001b7bc>] (warn_slowpath_common+0x70/0x90)
Sep 16 20:05:55 plug01 kernel: [<c001b7bc>] (warn_slowpath_common) from [<c001b878>] (warn_slowpath_null+0x1c/0x24)
Sep 16 20:05:55 plug01 kernel: [<c001b878>] (warn_slowpath_null) from [<bf06bd34>] (uas_try_complete.isra.13+0x10c/0x12c [uas])
Sep 16 20:05:55 plug01 kernel: [<bf06bd34>] (uas_try_complete.isra.13 [uas]) from [<bf06c034>] (uas_data_cmplt+0x54/0x1b4 [uas])
Sep 16 20:05:55 plug01 kernel: [<bf06c034>] (uas_data_cmplt [uas]) from [<c03e4ba4>] (__usb_hcd_giveback_urb+0x60/0xd8)
Sep 16 20:05:55 plug01 kernel: [<c03e4ba4>] (__usb_hcd_giveback_urb) from [<c040eb0c>] (xhci_irq+0x730/0x152c)
Sep 16 20:05:55 plug01 kernel: [<c040eb0c>] (xhci_irq) from [<c03e4138>] (usb_hcd_irq+0x24/0x38)
Sep 16 20:05:55 plug01 kernel: [<c03e4138>] (usb_hcd_irq) from [<c0059440>] (handle_irq_event_percpu+0x34/0x248)
Sep 16 20:05:55 plug01 kernel: [<c0059440>] (handle_irq_event_percpu) from [<c00596a4>] (handle_irq_event+0x50/0x84)
Sep 16 20:05:55 plug01 kernel: [<c00596a4>] (handle_irq_event) from [<c005bd18>] (handle_level_irq+0x98/0x16c)
Sep 16 20:05:55 plug01 kernel: [<c005bd18>] (handle_level_irq) from [<c0058d58>] (generic_handle_irq+0x20/0x34)
Sep 16 20:05:55 plug01 kernel: [<c0058d58>] (generic_handle_irq) from [<c0009db0>] (handle_IRQ+0x44/0xb0)
Sep 16 20:05:55 plug01 kernel: [<c0009db0>] (handle_IRQ) from [<c0531074>] (__irq_svc+0x34/0x98)
Sep 16 20:05:55 plug01 kernel: [<c0531074>] (__irq_svc) from [<c00271fc>] (run_timer_softirq+0x250/0x3d8)
Sep 16 20:05:55 plug01 kernel: [<c00271fc>] (run_timer_softirq) from [<c001fd88>] (__do_softirq+0xd4/0x2f8)
Sep 16 20:05:55 plug01 kernel: [<c001fd88>] (__do_softirq) from [<c002024c>] (irq_exit+0xb0/0xf8)
Sep 16 20:05:55 plug01 kernel: [<c002024c>] (irq_exit) from [<c0009db4>] (handle_IRQ+0x48/0xb0)
Sep 16 20:05:55 plug01 kernel: [<c0009db4>] (handle_IRQ) from [<c0531258>] (__irq_usr+0x38/0xa0)
Sep 16 20:05:55 plug01 kernel: ---[ end trace 50ee2f96a1337249 ]---
Sep 16 20:05:55 plug01 kernel: scsi 3:0:0:0: Direct-Access Seagate Expansion Desk 0739 PQ: 0 ANSI: 6
Sep 16 20:05:55 plug01 kernel: sd 3:0:0:0: [sdc] Spinning up disk...
Sep 16 20:05:55 plug01 kernel: sd 3:0:0:0: Attached scsi generic sg2 type 0
Sep 16 20:06:09 plug01 kernel: .........ready
Sep 16 20:06:09 plug01 kernel: sd 3:0:0:0: [sdc] 1220942645 4096-byte logical blocks: (5.00 TB/4.54 TiB)
Sep 16 20:06:09 plug01 kernel: sd 3:0:0:0: [sdc] Write Protect is off
Sep 16 20:06:09 plug01 kernel: sd 3:0:0:0: [sdc] Mode Sense: 2b 00 10 08
Sep 16 20:06:09 plug01 kernel: sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
Sep 16 20:06:09 plug01 kernel: sd 3:0:0:0: [sdc] 1220942645 4096-byte logical blocks: (5.00 TB/4.54 TiB)
Sep 16 20:06:09 plug01 kernel: sdc: sdc1
Sep 16 20:06:09 plug01 kernel: sd 3:0:0:0: [sdc] 1220942645 4096-byte logical blocks: (5.00 TB/4.54 TiB)
Sep 16 20:06:09 plug01 kernel: sd 3:0:0:0: [sdc] Attached SCSI disk
Sep 16 20:06:09 plug01 devmon[129]: ===========================================
Sep 16 20:06:09 plug01 devmon[129]: Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
Sep 16 20:06:09 plug01 devmon[129]: ===========================================
Sep 16 20:06:09 plug01 devmon[129]: added: /org/freedesktop/UDisks/devices/sdc
Sep 16 20:06:10 plug01 devmon[129]: ===========================================
Sep 16 20:06:10 plug01 devmon[129]: added: /org/freedesktop/UDisks/devices/sdc1
Sep 16 20:06:10 plug01 devmon[129]: device: [/dev/sdc1]
Sep 16 20:06:10 plug01 devmon[129]: systeminternal: [0]
Sep 16 20:06:10 plug01 devmon[129]: usage: [filesystem]
Sep 16 20:06:10 plug01 devmon[129]: type: [ntfs]
Sep 16 20:06:10 plug01 devmon[129]: label: [5TB]
Sep 16 20:06:10 plug01 devmon[129]: ismounted: [0]
Sep 16 20:06:10 plug01 devmon[129]: nopolicy: [0]
Sep 16 20:06:10 plug01 devmon[129]: hasmedia: [1]
Sep 16 20:06:10 plug01 devmon[129]: opticaldisc: []
Sep 16 20:06:10 plug01 devmon[129]: numaudiotracks: []
Sep 16 20:06:10 plug01 devmon[129]: blank: []
Sep 16 20:06:10 plug01 devmon[129]: media: []
Sep 16 20:06:10 plug01 devmon[129]: partition: [1]
Sep 16 20:06:10 plug01 devmon[129]: devmon: /usr/sbin/udevil --mount /dev/sdc1 --mount-options "noexec,nosuid,nodev,noatime" # (5TB)
Sep 16 20:06:14 plug01 ntfs-3g[6530]: Version 2014.2.15 external FUSE 29
Sep 16 20:06:14 plug01 ntfs-3g[6530]: Mounted /dev/sdc1 (Read-Write, label "5TB", NTFS 3.1)
Sep 16 20:06:14 plug01 ntfs-3g[6530]: Cmdline options: rw,nosuid,noexec,nodev,noatime,fmask=0133,big_writes,uid=0,gid=0,utf8
Sep 16 20:06:14 plug01 ntfs-3g[6530]: Mount options: rw,nosuid,noexec,nodev,utf8,allow_other,nonempty,noatime,default_permissions,fsname=/dev/sdc1,blkdev,blksize=4096
Sep 16 20:06:14 plug01 ntfs-3g[6530]: Global ownership and permissions enforced, configuration type 7
Sep 16 20:06:15 plug01 devmon[129]: Mounted /dev/sdc1 at /media/5TB
Sep 16 20:06:15 plug01 devmon[129]: ===========================================
Sep 16 20:06:15 plug01 devmon[129]: changed: /org/freedesktop/UDisks/devices/sdc1
Sep 16 20:06:15 plug01 devmon[129]: device: [/dev/sdc1]
Sep 16 20:06:15 plug01 devmon[129]: systeminternal: [0]
Sep 16 20:06:15 plug01 devmon[129]: usage: [filesystem]
Sep 16 20:06:15 plug01 devmon[129]: type: [ntfs]
Sep 16 20:06:15 plug01 devmon[129]: label: [5TB]
Sep 16 20:06:15 plug01 devmon[129]: ismounted: [1]
Sep 16 20:06:15 plug01 devmon[129]: nopolicy: [0]
Sep 16 20:06:15 plug01 devmon[129]: hasmedia: [1]
Sep 16 20:06:15 plug01 devmon[129]: opticaldisc: []
Sep 16 20:06:15 plug01 devmon[129]: numaudiotracks: []
Sep 16 20:06:15 plug01 devmon[129]: blank: []
Sep 16 20:06:15 plug01 devmon[129]: media: []
Sep 16 20:06:15 plug01 devmon[129]: partition: [1]')

$this->bbcode_second_pass_quote('', 'E')verything worked, the drive was online and accessible.

There you go. A good workaround while waiting for the driver to be fixed.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: PogoPlug E02 won't boot after latest pacman update

Postby bodhi » Wed Sep 17, 2014 6:09 am

$this->bbcode_second_pass_quote('rhester72', 'R')ock and a hard place problem - I've held on to my "old-school" modded uBoot with SNTP support, but it doesn't support uEnv.txt (as near as I can tell).
Rodney


: ) no, it does not, at the moment.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am
Top

Re: PogoPlug E02 won't boot after latest pacman update

Postby rhester72 » Thu Sep 18, 2014 3:40 am

If using bodhi's kernel (thanks, bodhi! *waves* :), the following makes it easy-peasy.

If fw_printenv does _not_ show usb_custom_params set, do the following:

fw_setenv usb_custom_params usb-storage.quirks=0x<VENDOR>:0x<PRODUCT>:u

(e.g. fw_setenv usb_custom_params usb-storage.quirks=0x0bc2:0xab20:u)

If fw_printenv indicates usb_custom_params already has contents, simply append the above to the end of it (odds are, if you already have this variable set, you already know what you are doing and don't need hand-holding ;).

Update to latest kernel and enjoy! (It's worth noting this problem plagues _all_ Linux 3.16+ kernels in _all_ distros on _all_ CPU types...it's a very hot topic with the Red Hat kernel developers right now, for instance.)

Rodney
rhester72
 
Posts: 35
Joined: Tue Apr 30, 2013 4:24 pm

Re: PogoPlug E02 won't boot after latest pacman update

Postby bodhi » Thu Sep 18, 2014 8:29 am

Thanks rodney, usb-storage.quirks solution is a good find! better than the low tech one using USB hub : )
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: PogoPlug E02 won't boot after latest pacman update

Postby devinger » Wed Oct 22, 2014 1:53 pm

I have the exact same problem with my seagate 2tb drive an my pogoplug v4. I was wondering where can change these settings/how to input the commands.

This applies to me: fw_setenv usb_custom_params usb-storage.quirks=0x0bc2:0x3321:u

Do I need to put it in a file like other topics suggest or is there a way to put it in the system directly?
devinger
 
Posts: 13
Joined: Mon Sep 15, 2014 11:50 pm

Previous

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 39 guests