Arch Linux Forums

Discussion forums for Arch Linux, a simple, lightweight linux distribution.

You are not logged in.

#1176 2008-11-26 13:45:03

jensp
Member
Registered: 2008-02-12
Posts: 37

Re: Arch on Eee PC

Are you sure sda1 is the correct partition? Quite often you will get the panic because the root device isn't mounted correctly.

Offline

 

#1177 2008-11-26 13:48:25

Nightshroud
Member
From: Sardinia
Registered: 2008-09-03
Posts: 5
Website

Re: Arch on Eee PC

I have only two partition: one for Boot Booster and the root. And I've got the same problem.

Last edited by Nightshroud (2008-11-26 13:49:08)

Offline

 

#1178 2008-11-26 13:50:19

barthelemy
Member
Registered: 2008-11-26
Posts: 11

Re: Arch on Eee PC

Yes it is the right one. I'm happy I'm not alone ! But unhappy it doesn't work !
Hope you'll help me find out.

Offline

 

#1179 2008-11-26 14:54:08

barthelemy
Member
Registered: 2008-11-26
Posts: 11

Re: Arch on Eee PC

Plus, my pc seems to boot the root device quite well.. But thank you !

Offline

 

#1180 2008-11-26 17:06:19

gajo
Member
Registered: 2008-04-01
Posts: 68

Re: Arch on Eee PC

not currently on my EEE PC, but if i recall correctly, the default name of the vmlinuz is vmlinuzeee, not vmlinuz26ee as you have, if i were you, i'd double check if i have that line correct (just do ls /boot/)

Offline

 

#1181 2008-11-26 17:26:57

barthelemy
Member
Registered: 2008-11-26
Posts: 11

Re: Arch on Eee PC

Unfortunately it's just my mistake... I bad copied ! It's actually vmlinuzeee, as it should be.
Thanks !

Offline

 

#1182 2008-11-30 16:39:35

tfskelly
Member
Registered: 2008-11-30
Posts: 2

Re: Arch on Eee PC

Hello,

I've read many posts on this subject, but haven't found a resolution yet.  I have an eeePC 1000 and am brand new to ArchLinux.  I am somewhere between beginner/intermediate in general Linux knowledge.  I am having trouble getting arch to detect my network adapters - both wireless and wired.  I just want my wired ethernet to work so I can run pacman without having to copy packages to a usb drive smile

These are the outputs of some of hw commands:

Code:

hwdetect --show-net

ifconfig
 (shows the loopback adapter, no ath0 or eth0)

lspci | grep net
01:00.0 Network Controller:RaLink Unknown device 0781
04:00.0 Ethernet controller: attansic technology corp.  Unknown Device 1026 (rev b0)

rc.conf lines:

MOD_AUTOLOAD="yes"
MODULES=(atl1e snd-mixer-oss snd-pcmoss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
eth0="DHCP
INTERFACES=(eth0)

I have tried toofishe's eee kernel but when I use it the modules listed in rc.conf aren't loaded.  The error is:
FATAL: Module not found

for each of the modules listed in the rc.conf above.

Thanks!
KB

Offline

 

#1183 2008-11-30 20:56:28

Onyros
Member
Registered: 2007-10-11
Posts: 70

Re: Arch on Eee PC

Anyone managed to get the tap/sliding back on your EEEPC's after the latest Xorg update? I tried enabling every setting I had before on my xorg.conf to /etc/hal/fdi/policy/11-x11-synaptics.fdi, but it's still not working for me.

Who has the magic combination? tongue

Offline

 

#1184 2008-12-01 01:05:37

tfskelly
Member
Registered: 2008-11-30
Posts: 2

Re: Arch on Eee PC

Got my problems with the network card in my eeepc 1000 solved.  Followed the instructions at the Asus eeepc Wiki page here http://wiki.archlinux.org/index.php/Asus_Eee_PC#atl1e.  Installing unrar and unzip were a little painful but got my eth0 working!  Next challenge: wireless smile

Offline

 

#1185 2008-12-02 18:02:33

faelar
Member
From: Amiens (FR)
Registered: 2007-12-18
Posts: 191
Website

Re: Arch on Eee PC

Anyone managed to get the tap/sliding back on your EEEPC's after the latest Xorg update? I tried enabling every setting I had before on my xorg.conf to /etc/hal/fdi/policy/11-x11-synaptics.fdi, but it's still not working for me.

Who has the magic combination? tongue

Maybe you should try to make set them with synclient ?

Offline

 

#1186 2008-12-03 15:50:37

chillamba
Member
Registered: 2008-11-21
Posts: 9

Re: Arch on Eee PC

Hi all.

Problem with wlan toggle Fn+F2 with toofishes kernel 2.6.27.6-3 solved!

Problem description:
after wlan switch off by "echo 1 > /sys/devices/platform/eeepc/wlan" ath5k modules unloaded, blue led is off, but pcie-card is not unplugged really.
dmesg shows "trying to reset device-failed" or "couldn't wake up MAC chip" and something like.
These messages are shown even after turning on wlan by "echo 0 > bla-bla-bla"
As result - wlan power couldn't be controlled from arch by means of shell or Fn+F2.

How to reproduce:
It can be reproduced only from the clear arch install on eee

Problem reason:
after unloading ath5k pci-e card is not unplugged, because of PCI-E Hotplug is set to Y instead of M (in kernel konfig).
I don't know why, but kernel can't control it.... so, pciehp module is the best solution.

Solution:
just recompile the kernel with:
CONFIG_HOTPLUG_PCI_PCIE=m
and add pciehp module to /etc/rc.conf

modified ighea's wlan.sh (as someone asked):

Code:

#! /bin/sh

source /etc/acpi/eee.conf

PWR=$(cat /sys/devices/platform/eeepc/wlan)

case $1 in
    poweron)
        if [ "$PWR" = "0" ]; then
            modprobe pciehp pciehp_force=1
            sleep 1
            echo 1 > /sys/devices/platform/eeepc/wlan
            sleep 2
            ifconfig wlan0 up
            # Loop to the eternity!!! bawwaawawa, well once should be enough. >)
            if ifconfig wlan0 > /dev/null
            then
                echo "Running network up command!"
                if [ -e /tmp/eeewlanfailcounter ]; then rm /tmp/eeewlanfailcounter;fi
                (sleep 1; $NETWORK_UP_COMMAND) &
            else
                FAILC=$(</tmp/eeewlanfailcounter) || FAILC=0
                echo "Current fail count is $FAILC"
                if [ $FAILC -gt 2 ];
                then
                    logger "Could not bring up WLAN."
                    echo "Could not bring up WLAN, sorry. See dmesg for more information!"
                    exit 1
                fi
                echo $(expr $FAILC + 1) > /tmp/eeewlanfailcounter
                /etc/acpi/wlan.sh poweroff
                /etc/acpi/wlan.sh poweron
            exit 1
            fi
        fi
        ;;


    poweroff)
        if [ "$PWR" = "1" ]; then
            logger "remove wlan interface"
            echo "Removing wlan interface and unloading modules"
            ifconfig wlan0 down
            sleep 1
            echo "Turning wlan device power off"
            echo 0 > /sys/devices/platform/eeepc/wlan
            sleep 1
            rmmod pciehp
            echo "Running network down command"
            (sleep 1; $NETWORK_DOWN_COMMAND) &
         fi
        ;;
esac

Last edited by chillamba (2008-12-08 08:05:38)

Offline

 

#1187 2008-12-03 23:52:58

pooldoo
Member
Registered: 2008-06-07
Posts: 9

Re: Arch on Eee PC

Onyros wrote:

Anyone managed to get the tap/sliding back on your EEEPC's after the latest Xorg update? I tried enabling every setting I had before on my xorg.conf to /etc/hal/fdi/policy/11-x11-synaptics.fdi, but it's still not working for me.

Who has the magic combination? tongue

This worked for me.

http://bbs.archlinux.org/viewtopic.php? … 89#p456689

The only problem I'm still seeing is the cursor is moving way too slow.  Any ideas on how to speed it up?

Offline

 

#1188 2008-12-06 11:08:57

F-eeks
Member
Registered: 2007-10-09
Posts: 3

Re: Arch on Eee PC

Hello,

I'm using the toolfishes kernel on my eeepc 701.

Since the last kernel update, the WiFi doesn't work any more. I removed the old ath* modules from my DAEMONS array and added ath5k, replaced "ath0" by "wlan0" in my Wicd configuration, and I did "ifconfig wlan0 up".

I can list all the available wifi networks, with wicd, wifi-radar or manually.
But when I try a connection to any of thoses networks, Wicd doesn't go after "Reconfiguring IP address". The problem is the same with Wifi-Radar, and with manual commands.

It seems to be a DHCP problem :

Code:

$ dhclient wlan0
...
wmaster0: unknown hardware address type 801
...
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
...
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
$

And :

Code:

$ dhcpcd wlan0
wlan0: dhcpcd 4.0.4 starting
wlan0: waiting for carrier
wlan0: timed out
$

Any idea on how get it working ?

EDIT :
I can connect manually using wpa_supplicant... Of course the dhcp commands where not working : there was no connection...
I don't no why wicd or wifi-radar cannot get an IP address ...
It's time for me to try netcfg smile

Last edited by F-eeks (2008-12-06 12:47:27)

Offline

 

#1189 2008-12-07 22:25:03

Onyros
Member
Registered: 2007-10-11
Posts: 70

Re: Arch on Eee PC

F-eeks wrote:

It's time for me to try netcfg smile

It sure is, mate smile

And, just to spare you some pain with it, at least with my EEEPC I had to reboot after configuring netcfg - an error related to wpa_supplicant, probably due to the fact I was using wicd before. I removed everything related to wicd, configured my wireless connection for netcfg usage, and then fought through problems with wpa_supplicant - couldn't even connect manually with it - until I resorted to brute force. Rebooting did the trick smile

Offline

 

#1190 2008-12-07 22:51:57

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 455
Website

Re: Arch on Eee PC

New kernel out- let me know if there is breakage, I sure didn't see any.

Offline

 

#1191 2008-12-08 04:44:22

chillamba
Member
Registered: 2008-11-21
Posts: 9

Re: Arch on Eee PC

Hello, toofishes.

Could your please describe the difference with 2.6.26-3 kernel or something like changes history?

The differences from the web git: http://code.toofishes.net/gitweb.cgi?p= … 25dae24e61

As I see, ath5k is added as module, but pcie hot plug is still added in the kernel (not module).
Could you please give dmesg output right after wi-fi switching off, waiting for 3-5 minutes (ath5k is slow) and then switching it on again?

I'm not sure, but think that problem with waking up MAC chip will appear smile

Last edited by chillamba (2008-12-08 04:57:31)

Offline

 

#1192 2008-12-08 07:37:07

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 455
Website

Re: Arch on Eee PC

The differences? Look at GIT. I'm not getting paid to do this. smile

I never turn wireless off, so it probably is "broken". If you truely need to unload modules to turn things off, this sounds broken. Can anyone propose a better solution?

Offline

 

#1193 2008-12-08 08:04:03

chillamba
Member
Registered: 2008-11-21
Posts: 9

Re: Arch on Eee PC

I have posted above, that wireless can be switched by "echo 1(0) > /sys/devices/platform/eeepc/wlan".

And, as I have found on several forums, many people are using your kernel and wireless switch doesn't work.

ath5k is not full ready now, according to http://linuxwireless.org/en/users/Drivers/ath5k and is really working in B mode only and I think the first reason of not-working wireless switch is that ath5k is very slow (in case of working with hardware)

Wi-Fi toggle is 100% working when pciehp module is used, istead of PCI-Express Hotplug functionality from the kernel... I don't know how to describe it in more details...

So, could you please compile your kernels with CONFIG_HOTPLUG_PCI_PCIE=m, instead of CONFIG_HOTPLUG_PCI_PCIE=y?
It will be easy for many users to switch on/off the wi-fi without kernel re-compilation, and just one thing you should do for yourself - to add pciehp to /etc/rc.conf

I'm using this way right now on your 2.6.26-3 kernel (recompiled), and nothing is broken during wireless switch, and, of course, after "rmmod pciehp" smile

In addition, many users are not really acquanted with kernel recompilation, and they want to have all working "from the box", even it is not Arch way smile

Last edited by chillamba (2008-12-08 15:07:55)

Offline

 

#1194 2008-12-08 08:30:24

chillamba
Member
Registered: 2008-11-21
Posts: 9

Re: Arch on Eee PC

F-eeks

To get the wicd working choose WEXT driver instead of madwifi and autochoose for DHCP smile

This works for me

Last edited by chillamba (2008-12-08 08:32:58)

Offline

 

#1195 2008-12-08 08:58:42

zodmaner
Member
Registered: 2007-07-11
Posts: 570
Website

Re: Arch on Eee PC

Thanks for the update toofishes, will try out the new kernel as soon as I can. wink

Regarding the wireless issue. After some experimenting, it seems that wireless could be turn off with just

Code:

echo 0 > /sys/devices/platform/eeepc/wlan

(as root, of course), without having to unload any modules.

Turn on wireless using

Code:

echo 1 > /sys/devices/platform/eeepc/wlan

also works, but I'm having problem trying to brings up wlan0 interface again.

Running ifconfig wlan0 up after turning on wireless produces this error mesage in it.

Code:

SIOCSIFFLAGS: Input/output error

Also, the kernel.log have these messages:

Code:

ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: unable to reset hardware: -5
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: unable to reset hardware: -5
.
.
.

Any ideas guys?

Last edited by zodmaner (2008-12-08 09:00:47)


Arch 64 bit user | Owner of ASUS Eee PC since 11/3/2007 | First member of Eee PC drop test club (joined 11/9/2007)
Want to make Arch Linux better? Contribute to the wiki!
Checkout my Github and my Bitbucket repositories.

Offline

 

#1196 2008-12-08 10:05:23

chillamba
Member
Registered: 2008-11-21
Posts: 9

Re: Arch on Eee PC

zodmaner

Pleas look at my posts #1193 and #1186

toofishes
As you see, problem appears.
Could you please try my solution and recompile your kernel (or compile new kernels) with CONFIG_HOTPLUG_PCI_PCIE=m?
It is just to prevent this problem

Update: I mean that it is not neccessary, your have already done a good job, thanks a lot smile
Other way is to add my solution at the wiki page.

Problem appears because hardware is not deleted from system after it is turned off and is not back added after turning on smile.

Last edited by chillamba (2008-12-08 14:25:57)

Offline

 

#1197 2008-12-08 10:32:39

zodmaner
Member
Registered: 2007-07-11
Posts: 570
Website

Re: Arch on Eee PC

chillamba wrote:

zodmaner

Pleas look at my posts #1193 and #1186

toofishes
As you see, problem appears.
Could you please try my solution and recompile your kernel (or compile new kernels) with CONFIG_HOTPLUG_PCI_PCIE=m?
It is just to prevent this problem


Problem appears because hardware is not deleted from system after it is turned off and is not back added after turning on smile.

Ah, I see now. Sorry for not reading your previous posts carefully enough. tongue

I will try out your wlan.sh tonight (along with recompiling the kernel). Thanks for taking your time to look into this issue, chillamba. wink


Arch 64 bit user | Owner of ASUS Eee PC since 11/3/2007 | First member of Eee PC drop test club (joined 11/9/2007)
Want to make Arch Linux better? Contribute to the wiki!
Checkout my Github and my Bitbucket repositories.

Offline

 

#1198 2008-12-09 03:50:25

saten
Member
From: milano
Registered: 2007-12-24
Posts: 39
Website

Re: Arch on Eee PC

@chillamba:
i followed your instructions, here's my report

Code:

fn+f2
pciehp: PCI Express Hot Plug Controller Driver version: 0.4 unloaded

fn+f2 again
pciehp: HPC vendor_id 8086 device_id 2660 ss_vid 0 ss_did 0
hpdriver 0000:00:1c.0:pcie02: service driver hpdriver loaded
pciehp: HPC vendor_id 8086 device_id 2664 ss_vid 0 ss_did 0
hpdriver 0000:00:1c.2:pcie02: service driver hpdriver loaded
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
pciehp: Card present on Slot(3)
pciehp: Device 0000:01:00.0 already exists at 1:0, cannot hot-add
pciehp: Cannot add device 0x1:0
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
wlan0: deauthenticating by local choice (reason=3)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)

a couple of minutes

fn+f2
pciehp: Card not present on Slot(3)
ath5k_pci 0000:01:00.0: PCI INT A disabled
hpdriver 0000:00:1c.2:pcie02: unloading service driver hpdriver
hpdriver 0000:00:1c.0:pcie02: unloading service driver hpdriver
pciehp: PCI Express Hot Plug Controller Driver version: 0.4 unloaded

fn+f2 again 
pciehp: HPC vendor_id 8086 device_id 2660 ss_vid 0 ss_did 0
hpdriver 0000:00:1c.0:pcie02: service driver hpdriver loaded
pciehp: HPC vendor_id 8086 device_id 2664 ss_vid 0 ss_did 0
hpdriver 0000:00:1c.2:pcie02: service driver hpdriver loaded
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
pciehp: Card present on Slot(3)
PCI: 0000:01:00.0 reg 10 64bit mmio: [0, ffff]
program_fw_provided_values: Could not get hotplug parameters
ath5k_pci 0000:01:00.0: enabling device (0000 -> 0002)
ath5k_pci 0000:01:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
ath5k_pci 0000:01:00.0: setting latency timer to 64
ath5k_pci 0000:01:00.0: registered as 'phy1'
phy1: Selected rate control algorithm 'pid'
ath5k phy1: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

should I have modules autoloading ON for this to work at the first shot?

By the way, thanks for this solution big_smile This issue was quite annoying!

Offline

 

#1199 2008-12-09 04:56:18

chillamba
Member
Registered: 2008-11-21
Posts: 9

Re: Arch on Eee PC

saten,

As I have understood - all is working for you?
I repeat, that ath5k is too slow now, so you should wait 2-3 minutes after turning off wireless and only after this couple of minutes turn it on again.

no, there is no need to autoload modules.
just add pciehp to the modules section of /etc/rc.conf

Offline

 

#1200 2008-12-09 05:22:38

saten
Member
From: milano
Registered: 2007-12-24
Posts: 39
Website

Re: Arch on Eee PC

@chillamba: seems that it actually works, apart from that issue with reloading fast big_smile

Offline

 

Board footer

Powered by FluxBB