[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sheeva plug usb install



Hi there,

It's a while since I've played with my sheevaplug, but I'm all too familiar with the boot sequence at the moment so hopefully I'll be able to give you something useful here...

It looks like getty isn't running. Plug the memory stick into another machine and open up the /etc/inittab and make sure there is a line like this -

T0:23:respawn:/sbin/getty -L ttyS0 115200 linux

And make sure it's uncommented. This should make the plug offer you a login prompt over the USB/Serial port it has.

( I'm sure you can read what it does, but in case not, and to the best of my knowledge -
T0 - terminal zero
23 - runlevels two and three
respawn - run it again when you exit the login shell (?)
/sin/getty - listening program for logon
-L ttyS0 115200 - serial port parameters
linux - terminal type (?) )

HTH,

Dave.



On Thu, Nov 11, 2010 at 5:11 AM, Stewart McLay <stewart.mclay@gmail.com> wrote:
Dear All,

I have installed debian on a usb memory stick using the instructions from http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html. I did a standard installation in a single partition.

When I try to boot it seems to go well getting as far as running the run level 2 start-up scripts. But after that nothing. I suspect it should provide me with a login prompt at this point but I do not know why it has stalled.

I have included the boot messages below. Can anyone offer any suggestions?

Regards,

Stewart


5684111 bytes read
## Booting image at 00800000 ...
  Image Name:   Debian kernel
  Created:      2010-11-09  20:45:41 UTC
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    1432308 Bytes =  1.4 MB
  Load Address: 00008000
  Entry Point:  00008000
  Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
  Image Name:   Debian ramdisk
  Created:      2010-11-09  20:45:42 UTC
  Image Type:   ARM Linux RAMDisk Image (gzip compressed)
  Data Size:    5684047 Bytes =  5.4 MB
  Load Address: 00000000
  Entry Point:  00000000
  Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-kirkwood (Debian 2.6.32-27) (maks@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Sun Oct 31 11:19:32 UTC 2010
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell SheevaPlug Reference Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200
[    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] Memory: 256MB 256MB = 512MB total
[    0.000000] Memory: 509568KB available (3512K code, 583K data, 124K 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.474959] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[   21.714922] Security Framework initialized
[   21.714940] SELinux:  Disabled at boot.
[   21.714965] Mount-cache hash table entries: 512
[   21.715257] Initializing cgroup subsys ns
[   21.715273] Initializing cgroup subsys cpuacct
[   21.715283] Initializing cgroup subsys devices
[   21.715292] Initializing cgroup subsys freezer
[   21.715300] Initializing cgroup subsys net_cls
[   21.715355] CPU: Testing write buffer coherency: ok
[   21.716078] devtmpfs: initialized
[   21.717784] regulator: core version 0.5
[   21.717991] NET: Registered protocol family 16
[   21.718486] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   21.718498] Feroceon L2: Enabling L2
[   21.718531] Feroceon L2: Cache support initialised.
[   21.720364] bio: create slab <bio-0> at 0
[   21.720627] vgaarb: loaded
[   21.721074] Switching to clocksource orion_clocksource
[   21.724681] NET: Registered protocol family 2
[   21.724972] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[   21.725733] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[   21.726087] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[   21.726266] TCP: Hash tables configured (established 16384 bind 16384)
[   21.726275] TCP reno registered
[   21.726423] NET: Registered protocol family 1
[   21.726591] Unpacking initramfs...
[   22.089897] Freeing initrd memory: 5548K
[   22.090006] NetWinder Floating Point Emulator V0.97 (double precision)
[   22.090247] audit: initializing netlink socket (disabled)
[   22.090281] type=2000 audit(0.600:1): initialized
[   22.096689] VFS: Disk quotas dquot_6.5.2
[   22.096952] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   22.097045] JFFS2 version 2.2. (NAND) (SUMMARY)  ゥ 2001-2006 Red Hat, Inc.
[   22.097680] msgmni has been set to 1006
[   22.099298] alg: No test for stdrng (krng)
[   22.099417] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   22.099429] io scheduler noop registered
[   22.099436] io scheduler anticipatory registered
[   22.099443] io scheduler deadline registered
[   22.099620] io scheduler cfq registered (default)
[   22.105557] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   22.106013] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   22.424973] console [ttyS0] enabled
[   22.429032] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
[   22.437730] Scanning device for bad blocks
[   22.561496] Creating 3 MTD partitions on "orion_nand":
[   22.566663] 0x000000000000-0x000000100000 : "u-boot"
[   22.572215] 0x000000100000-0x000000500000 : "uImage"
[   22.577650] 0x000000500000-0x000020000000 : "root"
[   22.583888] mice: PS/2 mouse device common for all mice
[   22.589367] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   22.595311] i2c /dev entries driver
[   22.599013] cpuidle: using governor ladder
[   22.603257] cpuidle: using governor menu
[   22.607293] Registered led device: plug:green:health
[   22.612348] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   22.618747] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   22.661135] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   22.701132] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   22.741132] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   22.781132] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   22.787791] TCP cubic registered
[   22.791033] NET: Registered protocol family 17
[   22.795834] registered taskstats version 1
[   22.800561] rtc-mv rtc-mv: setting system clock to 2010-11-10 20:59:30 UTC (1289422770)
[   22.808621] Initalizing network drop monitor service
[   22.813673] Freeing init memory: 124K
Loading, please wait...
[   22.891537] udev[44]: starting version 163
[   23.173398] MV-643xx 10/100/1000 ethernet driver version 1.4
[   23.179346] mv643xx_eth smi: probed
[   23.230520] usbcore: registered new interface driver usbfs
[   23.241472] usbcore: registered new interface driver hub
[   23.248315] net eth0: port 0 with MAC address 00:50:43:05:13:1b
[   23.254782] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[   23.267563] usbcore: registered new device driver usb
[   23.286768] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   23.293407] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   23.298708] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   23.331121] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   23.351106] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   23.359055] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   23.365909] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   23.373172] usb usb1: Product: Marvell Orion EHCI
[   23.377897] usb usb1: Manufacturer: Linux 2.6.32-5-kirkwood ehci_hcd
[   23.384288] usb usb1: SerialNumber: orion-ehci.0
[   23.389803] usb usb1: configuration #1 chosen from 1 choice
[   23.395752] hub 1-0:1.0: USB hub found
[   23.399550] hub 1-0:1.0: 1 port detected
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... [   23.721122] usb 1-1: new high speed USB device using orion-ehci and address 2
[   23.872017] usb 1-1: New USB device found, idVendor=0781, idProduct=5204
[   23.878757] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   23.885948] usb 1-1: Product: Cruzer Crossfire
[   23.890414] usb 1-1: Manufacturer: SanDisk Corporation
[   23.895593] usb 1-1: SerialNumber: 2004110202188FF06501
[   23.902123] usb 1-1: configuration #1 chosen from 1 choice
[   23.989852] SCSI subsystem initialized
[   24.016619] Initializing USB Mass Storage driver...
[   24.021792] scsi0 : SCSI emulation for USB Mass Storage devices
[   24.028433] usbcore: registered new interface driver usb-storage
[   24.035092] USB Mass Storage support registered.
[   29.032106] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Crossfire 2.0  PQ: 0 ANSI: 2
[   29.070051] sd 0:0:0:0: [sda] 4012467 512-byte logical blocks: (2.05 GB/1.91 GiB)
[   29.078035] sd 0:0:0:0: [sda] Write Protect is off
[   29.082892] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   29.091286] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   29.097416]  sda: sda1 sda2 sda3 < sda5 >
[   29.106786] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   29.112936] sd 0:0:0:0: [sda] Attached SCSI removable disk
done.
Begin: Running /scripts/local-premount ... done.
[   29.368806] EXT3-fs: INFO: recovery required on readonly filesystem.
[   29.375228] EXT3-fs: write access will be enabled during recovery.
[   32.168972] kjournald starting.  Commit interval 5 seconds
[   32.174525] EXT3-fs: recovery complete.
[   32.294670] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: udevd[   32.831275] udev[234]: starting version 163
.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap...[   33.487513] Adding 145400k swap on /dev/sda5. Priority:-1 extents:1 across:145400k
done.
Checking root file system...fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/sda2: clean, 22324/106080 files, 127711/423936 blocks
done.
[   33.625104] EXT3 FS on sda2, internal journal
[   33.811317] loop: module loaded
Loading kernel modules...done.
Cleaning up ifupdown....
Setting up networking....
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/sda1 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 19/81440 files (10.5% non-contiguous), 25275/162816 blocks
fsck died with exit status 1
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Configuring network interfaces...Setting kernel variables ...done.
done.
Starting portmap daemon....
Starting NFS common utilities: statd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting portmap daemon...Already running..
Starting NFS common utilities: statd.
Starting enhanced syslogd: rsyslogd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.
Starting MTA: exim4.
[   37.194121] NET: Registered protocol family 10
[   37.200091] lo: Disabled Privacy Extensions
[   37.227367] ADDRCONF(NETDEV_UP): eth0: link is not ready
Running scripts in rc2.d/ took 1 seconds.


--
To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CDB0A78.7080902@gmail.com" target="_blank">http://lists.debian.org/4CDB0A78.7080902@gmail.com



Reply to: