Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Goflex net upgrade went awry (2 replies)

$
0
0
Hi all,

My gfn had been running Debian Jessie for a while until last weekend. I went back here, decided to upgrade it to Stretch and downloaded Bohdi's Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2. I am sure I followed Bohdi's instructions very closely. After the upgrade, the device refuses to boot in Stretch. I get the rescue prompt instead when ssh in the box.

I don't really understand what is wrong. Please help.

Thank you. I welcome and appreciate your suggestions.

Below is the dmesg from the rescue prompt.
rescue:~# dmesg
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32.18-dockstar (root@stfu.tcbnet) (gcc version 4.3.5 (Buildroot 2010.08) ) #1 Thu Feb 17 03:09:57 EST 2011
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate Goflex Net
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat c0652758, node_mem_map c06cf000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32512 pages, LIFO batch:7
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 122836KB available (5968K code, 708K data, 128K init, 0K highmem)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000000] Console: colour dummy device 80x30
[   21.474971] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[   21.714929] Security Framework initialized
[   21.714951] SELinux:  Disabled at boot.
[   21.714981] Mount-cache hash table entries: 512
[   21.715288] Initializing cgroup subsys ns
[   21.715305] Initializing cgroup subsys cpuacct
[   21.715316] Initializing cgroup subsys devices
[   21.715325] Initializing cgroup subsys freezer
[   21.715333] Initializing cgroup subsys net_cls
[   21.715379] CPU: Testing write buffer coherency: ok
[   21.716182] devtmpfs: initialized
[   21.717929] regulator: core version 0.5
[   21.718158] NET: Registered protocol family 16
[   21.718693] Kirkwood: MV88F6281-A0, TCLK=200000000.
[   21.718706] Feroceon L2: Enabling L2
[   21.718741] Feroceon L2: Cache support initialised.
[   21.719175] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[   21.719196]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[   21.721831] bio: create slab <bio-0> at 0
[   21.722106] vgaarb: loaded
[   21.722383] SCSI subsystem initialized
[   21.722634] usbcore: registered new interface driver usbfs
[   21.722700] usbcore: registered new interface driver hub
[   21.722786] usbcore: registered new device driver usb
[   21.723226] Switching to clocksource orion_clocksource
[   21.728548] NET: Registered protocol family 2
[   21.728811] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[   21.729627] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   21.729727] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[   21.729780] TCP: Hash tables configured (established 4096 bind 4096)
[   21.729789] TCP reno registered
[   21.729951] NET: Registered protocol family 1
[   21.730240] RPC: Registered udp transport module.
[   21.730250] RPC: Registered tcp transport module.
[   21.730257] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   21.730398] NetWinder Floating Point Emulator V0.97 (double precision)
[   21.730647] audit: initializing netlink socket (disabled)
[   21.730680] type=2000 audit(0.241:1): initialized
[   21.737472] VFS: Disk quotas dquot_6.5.2
[   21.737733] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   21.740321] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   21.741926] Registering the dns_resolver key type
[   21.741978] Slow work thread pool: Starting up
[   21.742096] Slow work thread pool: Ready
[   21.742106] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   21.742873] fuse init (API version 7.13)
[   21.743365] SGI XFS with security attributes, large block/inode numbers, no debug enabled
[   21.744917] msgmni has been set to 240
[   21.747008] alg: No test for stdrng (krng)
[   21.747162] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[   21.747175] io scheduler noop registered
[   21.747183] io scheduler anticipatory registered
[   21.747191] io scheduler deadline registered
[   21.747450] io scheduler cfq registered (default)
[   21.753421] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   21.753882] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   22.138075] console [ttyS0] enabled
[   22.142158] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
[   22.150782] Scanning device for bad blocks
[   22.230809] 4 cmdlinepart partitions found on MTD device orion_nand
[   22.237124] Creating 4 MTD partitions on "orion_nand":
[   22.242293] 0x000000000000-0x000000100000 : "u-boot"
[   22.247855] 0x000000100000-0x000000500000 : "uImage"
[   22.253310] 0x000000500000-0x000002500000 : "rootfs"
[   22.258771] 0x000002500000-0x000010000000 : "data"
[   22.264478] UBI: attaching mtd2 to ubi0
[   22.268336] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[   22.274648] UBI: logical eraseblock size:    129024 bytes
[   22.280070] UBI: smallest flash I/O unit:    2048
[   22.284806] UBI: sub-page size:              512
[   22.289445] UBI: VID header offset:          512 (aligned 512)
[   22.295312] UBI: data offset:                2048
[   22.359739] UBI: attached mtd2 to ubi0
[   22.363526] UBI: MTD device name:            "rootfs"
[   22.368596] UBI: MTD device size:            32 MiB
[   22.373505] UBI: number of good PEBs:        256
[   22.378144] UBI: number of bad PEBs:         0
[   22.382608] UBI: max. allowed volumes:       128
[   22.387256] UBI: wear-leveling threshold:    4096
[   22.391981] UBI: number of internal volumes: 1
[   22.396455] UBI: number of user volumes:     1
[   22.400920] UBI: available PEBs:             0
[   22.405393] UBI: total number of reserved PEBs: 256
[   22.410295] UBI: number of PEBs reserved for bad PEB handling: 2
[   22.416337] UBI: max/mean erase counter: 1/0
[   22.420628] UBI: image sequence number: 1653365787
[   22.425458] UBI: background thread "ubi_bgt0d" started, PID 38
[   22.431492] MV-643xx 10/100/1000 ethernet driver version 1.4
[   22.437270] mv643xx_eth smi: probed
[   22.442573] net eth0: port 0 with MAC address 00:10:75:26:21:e1
[   22.448617] console [netcon0] enabled
[   22.452298] netconsole: network logging started
[   22.456866] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   22.463472] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   22.468770] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   22.503278] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   22.523264] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   22.529265] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   22.536097] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   22.543363] usb usb1: Product: Marvell Orion EHCI
[   22.548089] usb usb1: Manufacturer: Linux 2.6.32.18-dockstar ehci_hcd
[   22.554567] usb usb1: SerialNumber: orion-ehci.0
[   22.559480] usb usb1: configuration #1 chosen from 1 choice
[   22.565211] hub 1-0:1.0: USB hub found
[   22.569010] hub 1-0:1.0: 1 port detected
[   22.573174] Initializing USB Mass Storage driver...
[   22.578186] usbcore: registered new interface driver usb-storage
[   22.584242] USB Mass Storage support registered.
[   22.589090] mice: PS/2 mouse device common for all mice
[   22.594409] i2c /dev entries driver
[   22.598681] device-mapper: uevent: version 1.0.3
[   22.603734] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[   22.612308] cpuidle: using governor ladder
[   22.616576] cpuidle: using governor menu
[   22.620618] Registered led device: status:green:health
[   22.625869] Registered led device: status:orange:misc
[   22.631002] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   22.637414] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   22.683299] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   22.723296] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   22.763294] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   22.803293] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   22.809100] Netfilter messages via NETLINK v0.30.
[   22.813902] nf_conntrack version 0.5.0 (1921 buckets, 7684 max)
[   22.820325] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[   22.827774] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[   22.835734] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[   22.844257] ip_tables: (C) 2000-2006 Netfilter Core Team
[   22.849642] TCP cubic registered
[   22.852888] NET: Registered protocol family 17
[   22.857409] Gating clock of unused units
[   22.857418] before: 0x00dfc3fd
[   22.857424]  after: 0x00c7c1c9
[   22.857754] registered taskstats version 1
[   22.862561] Initalizing network drop monitor service
[   22.867652] md: Waiting for all devices to be available before autodetect
[   22.874483] md: If you don't use raid, use raid=noautodetect
[   22.880562] md: Autodetecting RAID arrays.
[   22.884700] md: Scanned 0 and added 0 devices.
[   22.889161] md: autorun ...
[   22.891960] md: ... autorun DONE.
[   22.975299] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[   22.981341] UBIFS: mounted read-only
[   22.984959] UBIFS: file system size:   30836736 bytes (30114 KiB, 29 MiB, 239 LEBs)
[   22.992653] UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
[   23.000003] UBIFS: media format:       w4/r0 (latest is w4/r0)
[   23.005871] UBIFS: default compressor: lzo
[   23.009987] UBIFS: reserved for root:  0 bytes (0 KiB)
[   23.015802] VFS: Mounted root (ubifs filesystem) readonly on device 0:16.
[   23.022663] Freeing init memory: 128K
[   25.997445] eth0: link up, 1000 Mb/s, full duplex, flow control disabled
rescue:~#


Viewing all articles
Browse latest Browse all 3247

Trending Articles