View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Nov 16, 2013 7:19 pm 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 580
I am attempting to install R8 to a M5A78L-M LX3 motherboard and perform an upgrade from my R7.4 system to it. Unfortunately, when I install from R8 disk (dated 11-09-13) and it tries to setup the network, there are no cards listed. I found that the driver for the card was not included with earlier versions of Arch and there is a workaround:

https://wiki.archlinux.org/index.php/Ne ... ros_AR8161

Unfortunately many of the requirements to install the driver are not included in LinHES installation (like make) and in trying to install them manually, I eventually botched the system. I do not have any PCI network cards and I do have a USB linksys wireless card that is probably 10+ years old, which is detected, but I cannot seem to get to connect. So I am kind of in a catch 22 looking for advice on how to get the proper driver installed so that I can download anything else using Pacman. I am also using an HDHR prime, so I will be unable to record anything without a network connection!

Any help/guidance is appreciated. I will probably be plugging away at this for a while...


Last edited by knappster on Thu Nov 28, 2013 6:41 am, edited 1 time in total.


Top
 Profile  
 
PostPosted: Sat Nov 16, 2013 9:39 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
I'm no expert on the Atheros 8161. I think it's combo ethernet + bluetooth controller. It is suported by alx driver

R8
uname -r
3.6.7-1-Arch

Seems like Kernel 3.8 works fine


Top
 Profile  
 
PostPosted: Sat Nov 16, 2013 10:00 pm 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 580
Well, I think I have made some solid progress. I found the packages I needed offline in the /data/storage/disk0/pacman/pkg folder, copied the source onto a flash drive for the ethernet driver and built it and installed. Then it was just trying to get the ip address switched off of DHCP since the backend was wigging out and I also had to update the nvidia driver after switching audio to HDMI and delete my HDHomerun tuners and re-add them. Plenty of work yet to do getting my other files across, but I can close the book on this one now.


Top
 Profile  
 
PostPosted: Thu Nov 28, 2013 6:40 am 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 580
Just to close the book on this in the event that anybody else runs into this issue, the sequence of events I followed were to:
1) Install LinHES R8 - my only choice was to install with no network connection, because none was detected.

2) Use a separate PC to download the file in the directions on the following link and copy to the LinHES box with a USB flash drive:
https://wiki.archlinux.org/index.php/Ne ... ros_AR8161

Which are:
Quote:
$ wget https://www.kernel.org/pub/linux/kernel ... -u.tar.bz2
$ tar xjf compat*
$ cd compat*
$ ./scripts/driver-select alx
$ make
$ sudo make install
$ sudo modprobe alx


3) Make was not already installed, and I could not install it from the repos (no network connectivity). So I found that the packages were already copied to the hard drive in this folder:
/data/storage/disk0/pacman/pkg
and could be installed as follows:
Code:
sudo pacman -U /data/storage/disk0/pacman/pkg/make
There are some additional packages that are required, but they should all be there. Once the alx driver is made and installed, I still had to reboot. Upon rebooting, I think it either had a random static, or dynamic IP address. Since I was upgrading, my database was looking for a backend IP address of 192.168.1.202. So to change my IP address (temporarily) to that so that I could start the backend, I had to use
Code:
ip addr add 192.168.1.202/24
and then start mythbackend, open mythfrontend and change the Network configuration under LinHES settings to save the IP address permanently.

So far in a week and a half I have not had any Ethernet issues and I use a HDHomerun prime for my tuner so I rely on the networking pretty heavily. Hopefully somebody else will find this brief guide useful in the event of a motherboard with similar hardware.


Top
 Profile  
 
PostPosted: Thu Nov 28, 2013 7:03 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Hmm... any chance you can create a PKGBUILD for this driver so other users can build their own? Also, does R8 not come with base-devel installed?

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
PostPosted: Wed Dec 04, 2013 12:00 am 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 580
graysky wrote:
Hmm... any chance you can create a PKGBUILD for this driver so other users can build their own? Also, does R8 not come with base-devel installed?


I have been struggling tonight to create the PKGBUILD file. Whenever I attempted a makepkg, it would ultimately end with an error. I was just using the PKGBUILD.proto file and I thought that it would be straightforward, but I don't think I've ever had to create a PKGBUILD file before. Here are the contents of my current file, which is erroring:
Quote:
==> Making package: compat-drivers 2013.03.28.5-1 (Wed Dec 4 00:00:16 CST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found compat-drivers-2013.03.28.5.tar.gz
==> Validating source files with md5sums...
compat-drivers-2013.03.28.5.tar.gz ... Passed
==> Extracting sources...
-> Extracting compat-drivers-2013.03.28.5.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
Processing new driver-select request...
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
Backup exists: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
make -C /lib/modules/3.6.7-1-ARCH/build M=/tmp/compat-drivers/src/compat-drivers-2013.03.28.5 modules
make[1]: Entering directory `/usr/src/linux-3.6.7-1-ARCH'
Building modules, stage 2.
MODPOST 8 modules
make[1]: Leaving directory `/usr/src/linux-3.6.7-1-ARCH'
==> Entering fakeroot environment...
==> Starting package()...
rm: cannot remove â/lib/modules/3.6.7-1-ARCH/updates/compat/compat.koâ: Permission denied
make: *** [uninstall] Error 1
==> ERROR: A failure occurred in package().
Aborting...

Code:
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Your Name <youremail@domain.com>
pkgname=compat-drivers
pkgver=2013.03.28.5
pkgrel=1
epoch=
pkgdesc="Driver for Atheros 8161"
arch=('x86_64')
url=""
license=('GPL')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=($pkgname-$pkgver.tar.gz)
noextract=()
md5sums=(5b70f87caa489fd81116f4f772a6dfa1) #generate with 'makepkg -g'

build() {
        cd "$srcdir/$pkgname-$pkgver"
#       ./configure --prefix=/usr
        ./scripts/driver-select alx
        make
}

#check() {
#       cd "$srcdir/$pkgname-$pkgver"
#       make -k check
#       make check
#}

package() {
        cd "$srcdir/$pkgname-$pkgver"
        make DESTDIR="$pkgdir/" install
}


And yes, it looks like base-devel was already installed out of the box.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu