martes, 11 de noviembre de 2014

Installing Fedora 20 on hp pavilion dm 1

I put here my experiences with fedora 20

1. It can be installed over the disk that has already windows installed, really I'm not sure if that was the reason, but after to format the drive I will be able to install the OS, be awere to backup your precious data. I beg you ... or you wife or other beloved person could be impacted.

2. Open mp4 videos give h 164 errors
I run this
yum -y install x264
and works !
credits are for this site.

3. Installing my network card driver

Seeing which network card I have:
#lspci -v
03:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
        Subsystem: Hewlett-Packard Company Device 1795
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at 90200000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [58] Vendor Specific Information: Len=78
        Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [d0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-3d-ff-ff-9e-e4-d5
        Capabilities: [16c] Power Budgeting
        Kernel driver in use: wl
        Kernel modules: bcma

Getting drivers from the page of the manufacturer.

Installing according to the file readme.txt, following issues was appearing, 2 in total, and the resolution of them.

First error appeared:
/tmp/nwcarddriver/src/wl/sys/wl_linux.c:1310:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
/tmp/nwcarddriver/src/wl/sys/wl_linux.c:1310:8: error: ‘alloc_netdev’ undeclared (first use in this function)
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
Solution was finded in this page, which said to just add a NET_NAME_UNKNOWN

dev = alloc_netdev(sizeof(priv_link_t), intf_name,NET_NAME_UNKNOWN, ether_setup);

The second error was:
/tmp/nwcarddriver/src/wl/sys/wl_cfg80211_hybrid.c:2074:4: error: too few arguments to function ‘cfg80211_ibss_joined’
    cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);

Solution was finded in this page, which provide a portion of code to evaluate the version of the kernel, I pasted as I found it.

    cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, &wl->conf->channel, GFP_KERNEL);
        cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
In my case the module of my wireless device is not loaded at boot time, correct me if module is not the correct name. Let me show you how to add the commands at boot time.

First we need to initiate the rc-local service as this man said us
how to add a runtime:
If not exists the file rc.local create it using
# touch /etc/rc.d/rc.local
If the file rc.local is new add the header inside the file, content of the file is highlighted in green
# vi rc.local
  echo "hello"

start the service using
#systemctl start rc-local
check the status of the service
#systemctl status rc-local
the result of previous command in my machine is
rc-local.service - /etc/rc.d/rc.local Compatibility
   Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static)
   Active: active (exited) since Mon 2014-12-01 11:04:53 EST; 4s ago
  Process: 4502 ExecStart=/etc/rc.d/rc.local start (code=exited, status=0/SUCCESS)

After started the service add to the file rc.local the commands that you want to run at the boot time, in my case I've added these lines using vi, you can see other approach with echo by this guy:
# modprobe lib80211
# modprobe cfg80211
# insmod /custominstall/wl.ko

JIC i leave my rc.config file here.

4. Install the Video Card Drivers (Ati Radeon Series 6xxx)
The reason why I decided to install this driver was because this page remember me that card drivers open source provided by the community no always works well in the case of NVIDIA.

This page shows gives a hint how to install it in fedora.

If this error "fglrx installation requires that the system have kernel headers for 3.7 release" is raised to you make the following:
#yum list kernel*
#uname -r

Check that the versions of kernel-header, kernel-devel and uname -r are the same if that is not so, executes a 
#yum -y update 
In my case that solve my problem out.

Due that some pre-requisite to install the ATI driver is don't have GNOME this page shows how to uninstall it.
$ sudo yum shell
> remove @gnome-desktop
> ts list #check what packages are removed
> install @kde
> ts list #check that system packages aren't removed now
> run
 Because when you try something new you learn also something, for example now I'm in the process of learning to configure correctly my ATI Radeon Card.
This guy give some clues to solve it out my problem, which is in summary the my machine is hang at any time :(
 Finally card driver has been installed using the patch provide by this generous guy.

No hay comentarios:

Publicar un comentario