Network doesn't work after Archlinux update

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Network doesn't work after Archlinux update

Postby Guest » Mon Aug 13, 2012 10:40 am

Hi,
I've installed archlinux (this available from raspberry pi main page) on my R-Pi and configured it without any problems. My R-Pi was running very well as a web server in my local network for over a month. Unfortunately when I've updated OS by typing $this->bbcode_second_pass_code('', 'pacman -Syu') the network has stopped to working. My device is invisible via the network, doesn't answer to pings, can't connect via ssh etc. System starts with no error reporting on the screen. Locally everything seems to work well, the only difference is that the network LEDs on R-Pi board doesn't light, and on my router where it is connected LED is dark as well. When I type $this->bbcode_second_pass_code('', 'ifconfig') on my R-Pi it prints an eth0 interface with proper configuration of ip address etc. What's wrong? I tried even to replace network cable, swap port to eliminate hardware issues, but it's not about hardware, because it happened after system update.

Has anyone had the same problem? Any ideas?

Regards,
Liquee
Guest
 

Re: Network doesn't work after Archlinux update

Postby sajuuk » Mon Aug 13, 2012 11:31 am

I had the same problem with the lasted firmware.
Rolled back to the 07/26/2012 version and everything is working normally.
sajuuk
 
Posts: 14
Joined: Thu Jul 12, 2012 10:58 am

Re: Network doesn't work after Archlinux update

Postby Guest » Mon Aug 13, 2012 8:08 pm

Installing firmware I had before is an easiest and obvious way, but it doesn't really solve the problem. I don't want to install everything from scratch again. There must be some other way to bring the network back to life. I believe by changing a magical parameter hidden inside some config file?
BTW if there is some package available in pacman repository prepared for Raspberry Pi, I believe fully tested, it should work on every Raspberry Pi, cause every R-Pi is the same. The biggest problem is that without the network connection I can't do any pacman command.. Where, oh where is the problem?:(

Please, let me know about any of your ideas.
Regards,
Liquee
Guest
 

Re: Network doesn't work after Archlinux update

Postby pepedog » Mon Aug 13, 2012 8:44 pm

wget files from here, onto other media
After installing/update sync before reboot
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Network doesn't work after Archlinux update

Postby Guest » Tue Aug 14, 2012 8:26 am

Ok I'll try, but I'm really newbie to archlinux, so if U could explain me few thing:

$this->bbcode_second_pass_quote('', 'w')get files from here

From where exactly, could U send me the complete URL to repository, maybe I'm blind, but I can't find it.

$this->bbcode_second_pass_quote('', 's')ync before reboot

Don't get me wrong, but I don't get it. Sync before reboot? What for.. or sync what to what? I don't have internet access though.

And finally which packages I should download to fix my problem?
Guest
 

Re: Network doesn't work after Archlinux update

Postby pepedog » Tue Aug 14, 2012 12:25 pm

Sorry, I forgot link
http://us.mirror.archlinuxarm.org/arm/
In the core and alarm folders, look for raspberry.
wget is a http or FTP download command, or you could save to media in windows
Install with pacman -U nameoffileorfiles
When you shutdown or reboot, the system is supposed to flush cache, ie finish wring to disk. I'm not convinced so I run sync before I run reboot
To see what files you have already installed pacman -Qq
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Network doesn't work after Archlinux update

Postby Guest » Tue Aug 14, 2012 5:30 pm

I thought you mean pacman repository synchronization.
Now I get it. The truth is that I did reboot my R-Pi just after the update has completed.
Thanx pepedog for your suggestions. I'll try them out and let U know if helped.
Guest
 

Re: Network doesn't work after Archlinux update

Postby Guest » Tue Aug 14, 2012 9:23 pm

I had to install everything from scratch. But this time after upgrading all packages to latest versions I ran sync command before rebooting (It took a while). Now everything works just fine. Thanx to pepedog I looked closer to the sync command and now I'm quite sure that this was the cause. Earlier OS hasn't saved all the data to the SD card when I rebooted it.
It is important to run sync just before rebooting, especially that OS is using SD card, which is very slow comparing to HDD. When U're halting the system it takes care of running sync.

Closing discussion

Cheers Mate
Guest
 

Re: Network doesn't work after Archlinux update

Postby pepedog » Wed Aug 15, 2012 12:30 am

In my waters, I think the sync on halt is just not completing on the fat32 part.
It might be just the LARGE vodka I just had?
F'ing 'ell, you are the first to confirm
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Network doesn't work after Archlinux update

Postby Guest » Wed Aug 15, 2012 7:05 am

I agree.
Since yesterday I was exploring the topic. Shutdown command does some synchronization, but not in the same way as sync does and in some case the data can be lost. After the reboot command, restart is performed immediately. If not preceded by a sync data will be lost.

Yesterday after I ran sync command right after the system update has finished it took a while (~8 seconds I guess), which means there was a lot of data system had to write to SD card.
Earlier I ran reboot right after the system update has finished, and system restarted immediately without any delay. So there was no time to complete the synchronization. That's why my system wasn't complete, and not everything was working well (network in my case, but who knows what else).

So from now on I will encouraging people to run sync before reboot
BTW It might be a good idea to write own reboot/shutdown scripts which will run sync first

PS :)
http://goo.gl/dWPMr
Guest
 


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 22 guests