New IT forum
29 June 2022, 06:36:26 am *
Welcome, %1$s. Please login or register.

: MiraBox now in stock.
 
Pages: [1]

Author Topic: Cannot login to Dreamplug as root  (Read 7599 times)

richardcrossley

  • Newbie
  • *
  • Posts: 3
Cannot login to Dreamplug as root
« on: 24 April 2015, 03:11:47 pm »

Hi,

I have just downloaded and copied to an SD Card Debian Wheezy:

http://downloadsnewit.co.uk/SD-images/Dreamplug/NewIT-Dreamplug-Debian-Wheezy/NewIT-Dreamplug-Debian-Wheezy-2Gb-31Aug11.img.gz

I am unable to login as root using the password nosoup4u, is there a different password that I have failed to Google?

Code: [Select]

(stuff deleted)

Starting OpenBSD Secure Shell server: sshdNET: Registered protocol family 10
ADDRCONF(NETDEV_UP): uap0: link is not ready
.
BSS started!

Debian GNU/Linux wheezy/sid debian ttyS0

debian login: root
Password:

Login incorrect
debian login:



The dreamplug is configured to boot off the SD Card:

Code: [Select]
Marvell>> printenv
bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;
bootdelay=3
baudrate=115200
x_bootcmd_ethernet=ping 192.168.2.1
x_bootcmd_usb=usb start
x_bootargs=console=ttyS0,115200
ethaddr=F0:AD:4E:00:83:A3
eth1addr=F0:AD:4E:00:83:A4
x_bootargs_root=root=/dev/sdb2 rootdelay=10
xbootcmd_kernel=fatload usb 1 0x6400000 uImage
filesize=283F68
bootargs=console=ttyS0,115200 root=/dev/sdb2 rootdelay=10
x_bootcmd_kernel=fatload usb 1 0x6400000 uImage
stdin=serial
stdout=serial
stderr=serial
ethact=egiga0

Environment size: 645/4092 bytes


and it boots successfully:

Code: [Select]

U-Boot 2011.06-02334-g8f495d9-dirty (Mar 28 2011 - 05:21:06)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MiB
SF: Detected MX25L1606 with page size 256, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0
No link on egiga0
No link on egiga1
ping failed; host 192.168.2.1 is not alive
No link on egiga1
No link on egiga0
ping failed; host 192.168.2.1 is not alive
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 4 USB Device(s) found
       scanning bus for storage devices... Device NOT ready
   Request Sense returned 03 30 00
2 Storage Device(s) found
reading uImage

2637672 bytes read
## Booting kernel from Legacy Image at 06400000 ...
   Image Name:   Linux-3.0.4
   Created:      2011-08-31   1:56:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2637608 Bytes = 2.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 3.0.4 ([email protected]) (gcc version 4.5.3 (PlugComputer G++ 20110530) ) #1 PREEMPT Tue Aug 30 19:56:02 MDT 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell GuruPlug Reference Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/sdb2 rootdelay=10
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 513604k/513604k available, 10684k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xe0800000 - 0xfe800000   ( 480 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc002f000   ( 156 kB)
      .text : 0xc002f000 - 0xc05021e8   (4941 kB)
      .data : 0xc0504000 - 0xc0536140   ( 201 kB)
       .bss : 0xc0536164 - 0xc0601608   ( 814 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:114
sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
Console: colour dummy device 80x30
Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
Kirkwood: MV88F6281-A1, TCLK=200000000.
Feroceon L2: Cache support initialised.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
Switched to NOHz mode on CPU #0
FS-Cache: Loaded
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
FS-Cache: Netfs 'nfs' registered for caching
JFS: nTxBlock = 4012, nTxLock = 32100
msgmni has been set to 1003
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address f0:ad:4e:00:83:a3
mv643xx_eth_port mv643xx_eth_port.1: eth1: port 0 with MAC address f0:ad:4e:00:83:a4
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mousedev: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: hardware counters not available
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
registered taskstats version 1
rtc-mv rtc-mv: setting system clock to 2077-04-01 00:01:56 UTC (3384460916)
Waiting 10sec before mounting root device...
mmc0: new high speed SDIO card at address 0001
usb 1-1: new high speed USB device number 2 using orion-ehci
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.1: new high speed USB device number 3 using orion-ehci
scsi0 : usb-storage 1-1.1:1.0
usb 1-1.4: new full speed USB device number 4 using orion-ehci
input: C-Media USB Headphone Set   as /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.3/input/input0
generic-usb 0003:0D8C:000C.0001: input: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-orion-ehci.0-1.4/input3
scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 0:0:0:1: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
sd 0:0:0:0: [sda] 62688 512-byte logical blocks: (32.0 MB/30.6 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:1: Attached scsi generic sg1 type 0
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:1: [sdb] 8011776 512-byte logical blocks: (4.10 GB/3.82 GiB)
sd 0:0:0:1: [sdb] Write Protect is off
sd 0:0:0:1: [sdb] No Caching mode page present
sd 0:0:0:1: [sdb] Assuming drive cache: write through
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: unknown partition table
sd 0:0:0:1: [sdb] No Caching mode page present
sd 0:0:0:1: [sdb] Assuming drive cache: write through
 sdb: sdb1 sdb2
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:1: [sdb] No Caching mode page present
sd 0:0:0:1: [sdb] Assuming drive cache: write through
sd 0:0:0:1: [sdb] Attached SCSI removable disk
EXT3-fs: barriers not enabled
EXT3-fs (sdb2): warning: checktime reached, running e2fsck is recommended
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sdb2): using internal journal
EXT3-fs (sdb2): recovery complete
EXT3-fs (sdb2): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 8:18.
devtmpfs: mounted
Freeing init memory: 156K
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: udevdudevd[649]: starting version 172
.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...uap_probe: vendor=0x02DF device=0x9104 class=0 function=1
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 1
sbi_interrupt: sbi_interrupt(df064000) card or priv is NULL, card=  (null)
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
ata1: SATA link down (SStatus 0 SControl F300)
usbcore: registered new interface driver snd-usb-audio
UAP FW is active
Bluetooth: vendor=0x2df, device=0x9105, class=255, fn=2
done.
Activating swap...done.
Cleaning up ifupdown....
Setting up networking....
Loading kernel modules...done.
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux 2.19.1
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Configuring network interfaces...done.
Cleaning up temporary files....
Setting kernel variables ...done.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting enhanced syslogd: rsyslogd.
Starting periodic command scheduler: cron.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshdNET: Registered protocol family 10
ADDRCONF(NETDEV_UP): uap0: link is not ready
.
BSS started!

Debian GNU/Linux wheezy/sid debian ttyS0

debian login:


Logged

Ralph Houston

  • New IT customer
  • Full Member
  • *
  • Posts: 136
Re: Cannot login to Dreamplug as root
« Reply #1 on: 26 April 2015, 07:43:28 am »

It's always the same in my experience. Hate to say it, but caps lock?
Logged

richardcrossley

  • Newbie
  • *
  • Posts: 3
Re: Cannot login to Dreamplug as root
« Reply #2 on: 28 April 2015, 12:43:37 pm »

I didn't think so at the time, but not a caps lock problem.


Code: [Select]

Debian GNU/Linux wheezy/sid debian ttyS0

debian login: root
Password:

Login incorrect
debian login:
Login timed out after 60 seconds.

Debian GNU/Linux wheezy/sid debian ttyS0

debian login:



I didn't press caps lock between the login and password.

Just in case, I did a second attempt, with caps lock on, no change :-(

Logged

richardcrossley

  • Newbie
  • *
  • Posts: 3
[Solved] Re: Cannot login to Dreamplug as root
« Reply #3 on: 28 April 2015, 02:03:55 pm »

A little more digging showed the SD card was not being written to correctly.

Using gparted, I wiped the partitions from the SD and ran the command:

Code: [Select]
gzip -cdv NewIT-Dreamplug-Debian-Wheezy-2Gb-31Aug11.img.gz | dd of=/dev/mmcblk0 bs=1M

/dev/mmcblk0: is the device name of the SD card slot in the laptop

The result was an empty card. Previously, although the partitions looked like the those required for the DreamPlug, it seems they were old and possibly had a forgotten password

After checking the write lock, I unzipped the compressed image before writing it to the SD card


Code: [Select]
# cp ../NewIT-Dreamplug-Debian-Wheezy-2Gb-31Aug11.img.gz .
# gunzip NewIT-Dreamplug-Debian-Wheezy-2Gb-31Aug11.img.gz
# dd if=NewIT-Dreamplug-Debian-Wheezy-2Gb-31Aug11.img of=/dev/mmcblk0 bs=1M
1876+0 records in
1876+0 records out
1967128576 bytes (2.0 GB) copied, 103.809 s, 18.9 MB/s


Result, I can login now:


Code: [Select]
debian login: root
Password:
Linux debian 3.0.4 #1 PREEMPT Tue Aug 30 19:56:02 MDT 2011 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
[email protected]:~#
Logged

Ralph Houston

  • New IT customer
  • Full Member
  • *
  • Posts: 136
Re: Cannot login to Dreamplug as root
« Reply #4 on: 14 May 2015, 08:16:48 am »

Well done!
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!