Show Posts
|
|
Pages: [1]
|
|
2
|
General Category / General Discussion / Re: I Can't Do This
|
on: December 18, 2009, 08:27:53 AM
|
@emstester, I'll be happy to walk you through the installation process. before we begin the installation I like to know the current state of your plug. 1. Which do you use linux/windows/mac as the host to connect to plug? 2. Do you have previous experience using network booting process? 3. post the path to where you install your sheevaplug-installer, so it is easier in conversation to understand each other. Good luck  I'm guessing you mean me...? 1. I have been using a desktop with windows 7, but have a netbook with ubuntu 9.04 on it, but would really rather not install php on it. 2. I think? I connect the usb from the plug to the desktop and use Putty to connect over the com port. I'm pretty comfortable with that. 3. C:\Users\Shane\Desktop\sheeva\ is the main dir that includes /installer/ , /src/ , runme.exe and so on Thank you.
|
|
|
|
|
4
|
General Category / General Discussion / I Can't Do This
|
on: December 17, 2009, 07:18:36 PM
|
I've been attempting to... I guess... Update my U-Boot so that I can boot from a usb -> cd drive so that I can install a fresh copy of ubuntu server, but I can't comprehend the building uboot stuff, pushing over the connection, etc etc. I also tried "sheevaplug installer", but didn't get past step 3 "Edit the ~/work/sheevaplug-installer/installer/uboot-custom.txt file to burn the correct MAC address according to the MAC address on the back of the Plug (change the ethaddr value)" But that file doesn't exist in that path. And the readme was included in the same zip  I'm down to the point where I want to just sell it or trash it, but I thought of something. I'll pay someone to (a) help me get a fresh install of ubuntu on mine, (b) let me ship you mine and do it for me, or (c) create a tutorial, that is very clear to the noobies like me when it comes to this stuff, on how to do this. I've tried following the articles on the wiki, the readmes, its just too technical. I know linux basics, i'm a programmer, etc etc, but its still pretty crazy. If anybody would like to give me a hand, please contact me. thanks!
|
|
|
|
|
6
|
Hardware and U-Boot firmware / Hardware / Cannot Boot from USB, or download Alpha-6
|
on: November 28, 2009, 11:13:46 PM
|
Well, I borked my linux install a bit ago so I plugged in a usb cd drive with the ubuntu server cd in it and i did the whole usb reset usbboot crap, but i couldnt get it to boot from either a cd drive, or a flash drive with ubuntu on it. So I looked up on here to see if the usb drives sometimes come broken, but I found that i should update to alpha-6. I went to the wiki and went to download alpha-6, but i get an error when trying to download. I have spent hours and hours just trying to figure all of this stuff out. I am really regretting getting the plug in the first place  All I want is a simple lamp server 
|
|
|
|
|
7
|
Linux Stuff / General Linux questions / Re: Lost Root Pass
|
on: November 25, 2009, 10:25:35 PM
|
strange installation you have there. You could try again with init=/bin/bash but should be the same.
ahh thank you! That worked... but now im in and having the same issues as before :p "passwd: Authentication token manipulation error" every time i try to change the root pass, or the pass of any account. I even tried making a fresh acc. I deleted /etc/shadow but don't understand the whole pwconvert thing edit, i tried deleting /etc/shadow, then running passwd and changing my pass, with no luck, and i tried doing pwconv and then sync. blah! any tips?
|
|
|
|
|
8
|
Linux Stuff / General Linux questions / Re: Lost Root Pass
|
on: November 24, 2009, 02:17:09 PM
|
and now you hit enter and will get a nice root@(none):/# commandprompt.
I tried hitting enter many times, each time i would get to that. it would just go to a new line and show nothign. i even tried simple commands like ls and cd / and nothing would happen.
|
|
|
|
|
9
|
Linux Stuff / General Linux questions / Re: Lost Root Pass
|
on: November 24, 2009, 10:00:23 AM
|
there has to be a blank not a comma before the init=/bin/sh
hmm thanks, now when i boot it just goes through like this and stops at t end Starting kernel ...
Uncompressing Linux............................................................. ....................................................................... done, bo oting the kernel. Linux version 2.6.22.18 (dhaval@devbox) (gcc version 4.2.1) #1 Thu Mar 19 14:46: 22 IST 2009 CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177 Machine: Feroceon-KW Using UBoot passing parameters structure Memory policy: ECC disabled, Data cache writeback CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets Built 1 zonelists. Total pages: 130048 Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uI mage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50 .5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none init=/bin/sh PID hash table entries: 2048 (order: 11, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 256MB 256MB 0MB 0MB = 512MB total Memory: 515456KB available (3864K code, 257K data, 104K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16
CPU Interface ------------- SDRAM_CS0 ....base 00000000, size 256MB SDRAM_CS1 ....base 10000000, size 256MB SDRAM_CS2 ....disable SDRAM_CS3 ....disable PEX0_MEM ....base e8000000, size 128MB PEX0_IO ....base f2000000, size 1MB INTER_REGS ....base f1000000, size 1MB NFLASH_CS ....base fa000000, size 2MB SPI_CS ....base f4000000, size 16MB BOOT_ROM_CS ....no such DEV_BOOTCS ....no such CRYPT_ENG ....base f0000000, size 2MB
Marvell Development Board (LSP Version KW_LSP_4.2.7_patch2)-- SHEEVA PLUG Soc : 88F6281 A0 LE
Detected Tclk 200000000 and SysClk 400000000 MV Buttons Device Load Marvell USB EHCI Host controller #0: c08b8600 PEX0 interface detected no Link. PCI: bus0: Fast back to back transfers enabled SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 Time: kw_clocksource clocksource has been installed. IP route cache hash table entries: 16384 (order: 4, 65536 bytes) TCP established hash table entries: 65536 (order: 7, 524288 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 65536 bind 65536) TCP reno registered RTC registered Use the XOR engines (acceleration) for enhancing the following functions: o RAID 5 Xor calculation o kernel memcpy o kenrel memzero Number of XOR engines to use: 4 cesadev_init(c000c894) mvCesaInit: sessions=640, queue=64, pSram=f0000000 Warning: TS unit is powered off. MV Buttons Driver Load NTFS driver 2.1.28 [Flags: R/O]. JFFS2 version 2.2. (NAND) é 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler anticipatory registered (default) Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A Loading Marvell Ethernet Driver: o Cached descriptors in DRAM o DRAM SW cache-coherency o Single RX Queue support - ETH_DEF_RXQ=0 o Single TX Queue support - ETH_DEF_TXQ=0 o TCP segmentation offload enabled o Receive checksum offload enabled o Transmit checksum offload enabled o Network Fast Processing (Routing) supported o Driver ERROR statistics enabled o Driver INFO statistics enabled o Proc tool API enabled o Rx descripors: q0=128 o Tx descripors: q0=532 o Loading network interface(s): o eth0, ifindex = 1, GbE port = 0 o eth1, ifindex = 2, GbE port = 1
mvFpRuleDb (dfd00000): 16384 entries, 65536 bytes Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI Copyright (c) 1999-2006 Intel Corporation. e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI e100: Copyright(c) 1999-2006 Intel Corporation
Warning Sata is Powered Off NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $ NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit) Scanning device for bad blocks 2 cmdlinepart partitions found on MTD device nand_mtd Using command line partition definition Creating 2 MTD partitions on "nand_mtd": 0x00100000-0x00500000 : "uImage" 0x00500000-0x20000000 : "rootfs" ehci_marvell ehci_marvell.70059: Marvell Orion EHCI ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1 ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100 ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected USB Universal Host Controller Interface driver v3.0 usb 1-1: new high speed USB device using ehci_marvell and address 2 usb 1-1: configuration #1 chosen from 1 choice usbcore: registered new interface driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver Initializing USB Mass Storage driver... scsi0 : SCSI emulation for USB Mass Storage devices usbcore: registered new interface driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice i2c /dev entries driver Linux telephony interface: v1.00 Marvell Telephony Driver: mvBoardVoiceAssembleModeGet: TDM not supported(boardId=0x9) assembly=-1,irq=-1 mp_check_config: Error, invalid voice assembley mode md: linear personality registered for level -1 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 raid6: int32x1 97 MB/s raid6: int32x2 114 MB/s raid6: int32x4 122 MB/s raid6: int32x8 111 MB/s raid6: using algorithm int32x4 (122 MB/s) md: raid6 personality registered for level 6 md: raid5 personality registered for level 5 md: raid4 personality registered for level 4 raid5: measuring checksumming speed arm4regs : 1084.000 MB/sec 8regs : 754.800 MB/sec 32regs : 899.600 MB/sec raid5: using function: arm4regs (1084.000 MB/sec) device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com dm_crypt using the OCF package. sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman mvsdmmc: irq =28 start f1090000 mvsdmmc: no IRQ detect usbcore: registered new interface driver usbhid drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 200 7 UTC). mvCLAudioCodecRegGet: Error while reading register! mvCLAudioCodecInit: Error - Invalid Cirrus Logic chip/rev ID! Error - Cannot initialize audio decoder.at address =0xff<6>ALSA device list: #0: Marvell mv88fx_snd ALSA driver TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 eth0: started IP-Config: Complete: device=eth0, addr=10.4.50.4, mask=255.255.255.0, gw=10.4.50.5, host=DB88FXX81, domain=, nis-domain=(none), bootserver=10.4.50.5, rootserver=10.4.50.5, rootpath= md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. Empty flash at 0x0bba0b90 ends at 0x0bba1000 Empty flash at 0x0cd194b8 ends at 0x0cd19800 Empty flash at 0x1c194e04 ends at 0x1c195000 VFS: Mounted root (jffs2 filesystem). Freeing init memory: 104K scsi 0:0:0:0: CD-ROM JLMS XJ-HD166S DS18 PQ: 0 ANSI: 0 CCS scsi 0:0:0:0: Attached scsi generic sg0 type 5 JFFS2 notice: (263) check_node_data: wrong data CRC in data node at 0x0cd19000: read 0x8ef8e4e7, calculated 0x2185cf86. JFFS2 notice: (263) check_node_data: wrong data CRC in data node at 0x0bba0800: read 0x7fa9eb48, calculated 0xc32b9635. JFFS2 notice: (263) check_node_data: wrong data CRC in data node at 0x1c194000: read 0x84afef2a, calculated 0x81ac1afc.
|
|
|
|
|
11
|
Linux Stuff / General Linux questions / Re: Lost Root Pass
|
on: November 21, 2009, 10:02:00 AM
|
Well I had everything set up fine, and I created a second user account (so I could use it instead of root) and it kept bugging on me when I would set the password (authentication token manipulation error) and then It seemed I had it down, so I logged out, and tried logging into it, didnt work, so i logged back in root then tried to change the pass from the default, to something else (was curious if any password changing worked) so I did. I even wrote it down on paper, and double checked to make sure I typed it exactly right. Now, none of the passwords work, for either account.
So, I wanted to do recovery mode, but I have no idea how to get into grub recovery mode, beacause I never see the screen.
I am using putty over the usb cable to connect to it.
Any suggestions? Thanks!
edit: i tried loading a linux live cd in via the usb port and an external dvd drive, but it kept saying no boot device whenever i tried "usbboot" from the marvell menu. ahh!
oddd.. i just lost control of my plug too. it always says incorrect username/password. however... i'm pretty sure i'm using the right password. actually the only way i can see it getting messed up is from someone else changing the password? i don't think this is very likely. anyways, i also lost my root password somehow. i had it changed to something else a while ago, and it stopped working a week or two ago. ill try fixing it this way or maybe will just reformat everythign... we will see. I was gong to attempt to put a fresh install of ubuntu server on it, but didnt think it would fit, also, it looked like it was very hard todo 
|
|
|
|
|
12
|
Linux Stuff / General Linux questions / Re: Lost Root Pass
|
on: November 20, 2009, 09:46:57 AM
|
no grub on the plug  connect with the serial console. start plug. stop at marvel boot prompt. check current content of bootargs (printenv). modify them to contain a init=/bin/sh (setenv bootargs ...). do _not_ save this environment. continue booting (bootm if i remember correctly). modify password. reboot. If you have trouble, post the content of the u-boot environment. Thanks! I tried that, but every time i try, it just finishes loading the kernal then nothing happens. Here is my printenv Marvell>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 console=console=ttyS0,115200 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 serverip=10.10.0.2 ipaddr=10.10.0.1 cesvcid=ULULULULULULPPULULULULULDA bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 yuk_ethaddr=00:00:00:EE:51:81 netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethaddr=00:50:43:01:67:0C run_diag=no bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000 stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes
and I tried appending your modification to the end and updating it with this setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none,init=/bin/sh is that what you mean by u-boot env? also, when i do bootm, it says "bad magic number"  edit: finally got it to boot after doing that sentenv, but it just boots like normal (asks for sheeva login)
|
|
|
|
|
13
|
Linux Stuff / General Linux questions / Lost Root Pass
|
on: November 19, 2009, 11:58:28 PM
|
|
Well I had everything set up fine, and I created a second user account (so I could use it instead of root) and it kept bugging on me when I would set the password (authentication token manipulation error) and then It seemed I had it down, so I logged out, and tried logging into it, didnt work, so i logged back in root then tried to change the pass from the default, to something else (was curious if any password changing worked) so I did. I even wrote it down on paper, and double checked to make sure I typed it exactly right. Now, none of the passwords work, for either account.
So, I wanted to do recovery mode, but I have no idea how to get into grub recovery mode, beacause I never see the screen.
I am using putty over the usb cable to connect to it.
Any suggestions? Thanks!
edit: i tried loading a linux live cd in via the usb port and an external dvd drive, but it kept saying no boot device whenever i tried "usbboot" from the marvell menu. ahh!
|
|
|
|
|