LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 10-21-2014, 07:25 AM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Rep: Reputation: 28
BBB - logins lost after Ubuntu update


I've just flashed my BBB with
Code:
BBB-eMMC-flasher-ubuntu-14.04-console-armhf-2014-07-06-2gb.img
I was able to login using both ssh and the debug port (but not at the same time).
Then
Code:
apt-get update
apt-get upgrade
The update ended with
Code:
 Device driver support needs thus be built-in linux image!
depmod: ERROR: could not open directory /lib/modules/3.15.3-armv7-lpae-x5: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_g9Zcr8/lib/modules/3.15.3-armv7-lpae-x5/modules.order: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_g9Zcr8/lib/modules/3.15.3-armv7-lpae-x5/modules.builtin: No such file or directory
root@arm:/mnt# reboot
After updating I no longer could login. ssh was rejected, and the debug port did not display a login prompt.

I flashed again and things worked.
Code:
apt-get update
apt-get install nfs-common nfs-kernel-server
Access was lost again. Where do I look? By the time I have access again, the evidence is lost.

I find working with headless devices rather frustrating. The next step will probably be to find a micro-hdmi cable that works.
 
Old 10-21-2014, 12:28 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I would connect serially through J1, perform the installs you wish to do using the main console. I also don't get why you'd flash 14.04 and then perform an apt upgrade. Update yes, but not upgrade.

What version of BBB hardware do you have? Because the MMC was half the size in older boards. I actually run from microSD on those. If the media goes bad, you can change it. Not too easy to change the MMC.
 
Old 10-22-2014, 01:49 AM   #3
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Original Poster
Rep: Reputation: 28
Why not upgrade? I find that between the time an image is made by the maintainers and the time I download it there are new versions for a number of packages.
Code:
ubuntu@arm:/proc$ cat partitions
major minor  #blocks  name

 179        0    1875968 mmcblk0
 179        1      98304 mmcblk0p1
 179        2    1776640 mmcblk0p2
 179       16       1024 mmcblk0boot1
 179        8       1024 mmcblk0boot0
ubuntu@arm:/proc$ df
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/mmcblk0p2   1715936 397636   1229468  25% /
none                   4      0         4   0% /sys/fs/cgroup
udev              252512      4    252508   1% /dev
tmpfs              50852    232     50620   1% /run
none                5120      0      5120   0% /run/lock
none              254248      0    254248   0% /run/shm
none              102400      0    102400   0% /run/user
ubuntu@arm:/proc$
It appears that I have the 2GB model, of which only 1/4 is used so I would think memory is not an issue.
 
Old 10-22-2014, 07:48 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Upgrade isn't working for you right now, that's a very good reason to not upgrade.

They release interim versions versus upgrades. And ARM architectures may not be 100% supported for all drivers immediately. One never knows. Either case, you can install 14.04 and it works, but you get it from some place where they've build Ubuntu specifically for the BBB right? Because 14.04.1 is released, as is 14.10, but you're not starting with 14.10 probably because it is a testing version; however that is available if you want cutting edge.

I'm actually a defender of Ubunutu desktop; and there's a thread entitled "Why does everyone hate Ubuntu?" in the forums which has been very active for months, because people want to have their say about it. I don't use Ubuntu on hobby or embedded boards, I use Angstrom or Debian. And they just started supporting Ubuntu on the BBB.

Last edited by rtmistler; 10-22-2014 at 07:54 AM.
 
Old 10-22-2014, 08:57 AM   #5
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Original Poster
Rep: Reputation: 28
Thanks. I'll try Angstrom again. But note that in my original post I tried twice. The second time did not upgrade. just update.
 
Old 10-22-2014, 09:00 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Yeah, but you did try to install nfs-common and nfs-kernel-server.

Sounds like you're trying to configure a Beagle to be a server. Not my first choice, it's an embedded hobby board and honestly you're going to run into flash file system problems if you write and re-write the MMC with tons of files, that's a very bad idea IMHO.
 
Old 10-22-2014, 09:12 AM   #7
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Original Poster
Rep: Reputation: 28
As noted in the original post, I did install nfs-common and nfs-kernel-server, after which login was lost.

The plan was for a USB connected hard drive to store WORM data.
 
Old 10-22-2014, 09:16 AM   #8
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by CollieJim View Post
As noted in the original post, I did install nfs-common and nfs-kernel-server, after which login was lost.

The plan was for a USB connected hard drive to store WORM data.
Strongly suggest you get a USB hard drive which does not require power via the USB.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Arduino Like GPIO & Analog interface for BBB C/C++ sallu.salmankhalid Linux - Embedded & Single-board computer 0 04-20-2014 05:45 PM
[SOLVED] Lost Internet after recent ubuntu 12.04 update CSA60 Linux - Newbie 1 01-19-2013 02:27 PM
Lost sound, printer, scanner, Skype, Google Talk update Ubuntu 11.10 Gnome Classic diazbeat Linux - Newbie 2 07-16-2012 09:45 AM
firefox 11.0 in Ubuntu 11.10 lost capability to display videos during update manager Bill Burkett Linux - Software 9 04-18-2012 12:05 AM
Console and ssh logins lost--Red Hat 9.0 dgermann Red Hat 1 03-05-2006 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration