You are not logged in.

#351 2008-09-27 10:40:09

despairblue
Member
From: Germany
Registered: 2008-01-14
Posts: 19

Re: Acer Aspire One

I think I might have a problem.
neither eth0 is working (with r8169 loaded) nor ath0 (with installed madwifi-hal)

eht0

dmesg output:

r8169: eth0: link up

I also tried booting with the lan cable atached, but that didn't work either. DHCP timeouts and manually connection won't work as well. The orange LED lights up when attaching a cable but no packets get sent.

ath0

Well, no scanning results, association won't work and ad-hoc does not work as well.


I would be gratefull for every piece of information that could lead to a working network connection.

Offline

#352 2008-09-27 11:49:08

sessy
Member
Registered: 2006-01-20
Posts: 104

Re: Acer Aspire One

Are you using the latest kernel, >= 2.6.26? The latest .iso provides only 2.6.25 IMO.

despairblue wrote:

I think I might have a problem.
neither eth0 is working (with r8169 loaded) nor ath0 (with installed madwifi-hal)

eht0

dmesg output:

r8169: eth0: link up

I also tried booting with the lan cable atached, but that didn't work either. DHCP timeouts and manually connection won't work as well. The orange LED lights up when attaching a cable but no packets get sent.

ath0

Well, no scanning results, association won't work and ad-hoc does not work as well.


I would be gratefull for every piece of information that could lead to a working network connection.

Offline

#353 2008-09-27 12:05:26

despairblue
Member
From: Germany
Registered: 2008-01-14
Posts: 19

Re: Acer Aspire One

I use 2.6.26.5-1

sessy wrote:

Are you using the latest kernel, >= 2.6.26? The latest .iso provides only 2.6.25 IMO.

despairblue wrote:

I think I might have a problem.
neither eth0 is working (with r8169 loaded) nor ath0 (with installed madwifi-hal)

eht0

dmesg output:

r8169: eth0: link up

I also tried booting with the lan cable atached, but that didn't work either. DHCP timeouts and manually connection won't work as well. The orange LED lights up when attaching a cable but no packets get sent.

ath0

Well, no scanning results, association won't work and ad-hoc does not work as well.


I would be gratefull for every piece of information that could lead to a working network connection.

Offline

#354 2008-09-27 20:24:56

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: Acer Aspire One

despairblue wrote:

I think I might have a problem.
neither eth0 is working (with r8169 loaded) nor ath0 (with installed madwifi-hal).

did you blacklist ath5k and is ath_pci loaded? did you physically switch of wlan?

is ifconfig eth0 showing 100% dropped packets? when i had that issue a switch to the r8101 module solved it.. available from the realtek site, the link is on the previous page.

Offline

#355 2008-09-27 22:17:46

Megaton
Member
Registered: 2008-09-18
Posts: 7

Re: Acer Aspire One

I downloaded and compiled the latest testing driver against gothicknight's kernel from snapshots.madwifi.org
Hopefully that will help with the wireless disconnection issues.

Offline

#356 2008-09-28 20:04:41

blah
Member
Registered: 2008-09-28
Posts: 8

Re: Acer Aspire One

Hi everyone!


I've got myself an AA1 (150X) and searched for a slim and sexy Linux distro to install on it (since BSD is yet somewhat behind when it comes to supporting the two used networking-chipsets)... and found I've found Archlinux.

Actually I don't really need any a webcam, sound, microphone or xorg-stuff... I just need a couple of vc's, lan and wifi. But - well... I wouldn't be whining here if there wouldn't be problems for me with AA1.


my problem:

I'm experiencing the same "eth0"-driver problem as some of you guys... this means "sometimes" I can only ping localhost and my own `hostname` BUT not even my nearest/closest router... and sometimes - without even changing the config - I can. (The boring part is that this happens approximately every 3 out of 4 system reboots.)


my setup:

(*) kernel 2.6.26.5-1 (from core - no custom stuff)
(*) no iptables installed
    (it's not the routing-flaw)
(*) route (to routers subnetwork) + defaultgw (to the router itself) are set
    (it's not a routing-flaw)
(*) no modules loaded except r8169
    (cause I'd love to have a stable eth0 before proceeding with my setup)


the cause(?):

At a first glance it does seem like a routing-problem (cause lsmod says - the module is loaded; ifconfig eth0 says - the iface is up and running (fixed ip); route says - everything's ok; the hostnames are well known (/etc/resolv.conf); but no routing through eth0 is done.)

Whenever I'm having this 'everything seems in place - but no eth0 connection can be established' - problem I've seen r8169 `lspci -x` output is full of 0xff. (You can see it as a quick indication within r8169's revision within `lspci` too.)

So I guess somewhere within the kernel's handling for r8169.ko (or the driver itself) seems to be some ugly flaw.


idea - r8169 from realtek:

Now I've even tried to install realtek's driver
(http://www.realtek.com.tw/downloads/dow … ds=true#92) as pointed out on gentoo's AA1 wiki (http://gentoo-wiki.com/Acer_Aspire_One_A110L) cause the symptoms seemed similar.

Even though I could successfully build and install drivers they don't seem to work for me. (`modprobe -v r8169` seems to load the new installed driver - but (due to `ifconfig eth0`) no eth0 is available afterwards.)


idea - try AndyRTR's custom kernel:

This was my last step - but `pacman -U *` and updating grub's menu.lst didn't do the trick for me. (I guess I've missed something in grub's config ;-) as far as I've seen you've put a lot of modules into the kernel - but isn't some initrd with a a *one.img necessary too?

---[menu.lst/snip]---
title blah
root (hd0,0)
kernel /vmlinuz-one root=/dev/sda1 vga=789
------

Anyway - what I'm getting with this kernel is...

"Kernel panic - not syncing: No init found. Try passing init= option to kernel."



Any more ideas anybody? What is this '0xff' filled up driver configuration space anyway?
Thanks in advance - I'd really love to stick with Archlinux on my little baby (AA1 ;-))

ps: Sorry for this looong posting - it kind of like grew while I was testing this stuff ;-)

Offline

#357 2008-09-28 20:23:43

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: Acer Aspire One

blah wrote:

Hi everyone!

[snip]

ps: Sorry for this looong posting - it kind of like grew while I was testing this stuff ;-)

Try compiling the r8101 module from the realtek site. lspci should show your eth0 as RTL8101E. The link to the source is somewhere a few posts up.

Offline

#358 2008-09-28 20:27:44

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: Acer Aspire One

One more issue I'd like to be done with. I work on my Aspire One. And let's face it, the screen is too small for 8 hour workdays. However, I haven't managed to get the VGA out working at a higher resolution than 1024x768, not even using xrandr.

Now, I KNOW this works, since I had 1600x1200 up and running without a problem back when I had Xubuntu on my Aspire One. I tried installing Xubuntu again to see what the differences in setup were, but somehow I haven't managed to get a bootable USB Xubuntu install working again hmm

Has somebody figured this out? Getting this working is very important to me.

Offline

#359 2008-09-28 20:30:57

Neverth
Member
From: Finland - Land of taxes
Registered: 2006-05-16
Posts: 45
Website

Re: Acer Aspire One

150 version here, current record on stripping currents down is 606mAh (from /proc/acpi/battery/BAT1/state wlan on, but not connected, screen at min, hdd spindown and custom kernel). Running arch from SD card. Doesnt work too well, becouse if I do something, mmcqd hogs cpu and uses power.

For blah: andys kernel is compiled without initrd, so its not needed, just remove the initrd line.
As for kernel line, add ro to the end (look other grub entries).


Flying is Trying is Dying

Offline

#360 2008-09-28 21:05:32

qylvaran
Member
Registered: 2006-07-27
Posts: 46

Re: Acer Aspire One

blah wrote:

kernel /vmlinuz-one root=/dev/sda1 vga=789

As Neverth mentioned, add 'ro' to the kernel line, and also note that the kernel binary is at /boot/vmlinuz-one, not just /vmlinuz-one.

As for I, my One is still not coming out of suspend consistently under 2.6.27, and no amount of poking at /etc/rc.conf is changing that.  It's also not muting the internal speakers when I plug in headphones.  I'm flying coast-to-coast next Friday and want to watch a movie on the plane, but I won't be able to if I can't shut off the speakers.  If I can't figure it out in software, I'm gonna have to open the thing up and unplug them, which is something I hope to avoid.

Offline

#361 2008-09-28 22:22:07

blah
Member
Registered: 2008-09-28
Posts: 8

Re: Acer Aspire One

thanks for the quick replies everybody!

@schuay - realtek's own driver:

Yes - as I've allready written in my long posting before - I've allready done/tries this. (installation is rather straightforward: 'make clean modules' then 'make install' afterwards 'depmod -a' and 'insmod' or 'modprobe'.) The new r8169.ko is copied to '/lib/modules/2.6.26-ARCH/kernel/drivers/net/r8169.ko' (cause I was still using the core-kernel when trying this)... the module could be loaded - but with the effect of no more available eth0 when doing 'ifconfig -a' (or eth0).
(Loading the module at startup-time didn't succeed either.)

@Neverth - no initrd within 'menu.lst':

Thanks - I've allready guessed so just because of the immense speed at boot-time (compared to the relative slow module-loading default-kernels).

@qylvaran - 'menu.lst':

Thanks - I've added 'ro' to it (I thought that ro would mean readonly... and so couldn't think of a reason why I needed that ;-)

As for the '/vmlinuz-one' path... this should be allright - since '/dev/sda1' ( which should be equal to '(hd0,0)' ) is mounted to '/boot' - and relative to there is 'vmlinuz-one' (in it's root-dir). The only difference to my other bootable kernels is the name and the fact, that I'm not addressing the harddisc with it's uuid (I've read somewhere that this feature was not linked to AndyRTR's kernel). My new menu.lst now looks - thanks to you guys - like this...

------
title blah
root (hd0,0)
kernel /vmlinuz-one root=/dev/sda1 ro vga=789
------

But the kernel still hangs here with the error: "Kernel panic - not syncing: No init found. Try passing init= option to kernel."

Offline

#362 2008-09-28 23:57:21

qylvaran
Member
Registered: 2006-07-27
Posts: 46

Re: Acer Aspire One

I think you still need to put /boot/vmlinuz-one, since I have a separate partition for /boot on my desktop (running Gentoo), and that line in menu.lst contains the full path.  Also, you don't seem to have your actual root partition specified.  If you've got /boot on sda1 and / on sda3, it should look like this:

title=Bamf
root (hd0,0)
kernel /boot/vmlinuz-one root=/dev/sda3 ro vga=789

Last edited by qylvaran (2008-09-29 00:00:29)

Offline

#363 2008-09-29 02:19:36

bremac
Member
Registered: 2008-09-13
Posts: 13

Re: Acer Aspire One

blah wrote:

------
title blah
root (hd0,0)
kernel /vmlinuz-one root=/dev/sda1 ro vga=789
------

But the kernel still hangs here with the error: "Kernel panic - not syncing: No init found. Try passing init= option to kernel."

If /dev/sda1 is your /boot partition, then logically it can't also be your root partition - and there certainly won't be a /bin/init for the kernel to load. Are you sure you didn't mean to pass 'root=/dev/sda2' or some such thing to the kernel, in order to point to your actual root partition?

Offline

#364 2008-09-29 06:34:14

jazz.arch
Member
From: Austria
Registered: 2008-09-20
Posts: 29

Re: Acer Aspire One

blah wrote:

But the kernel still hangs here with the error: "Kernel panic - not syncing: No init found. Try passing init= option to kernel."

See if you probably have set root on /dev/sda1 instead of /dev/sda3 (or something else, depends on your partition table) as mentioned by bremac.
Also, check if your kernel path is /boot/vmlinuz-one or /vmlinuz-one, as mentioned by qylvaran.

I'm just repeating what they wrote because those two things solved the "No init found"-problem for me when I installed gothicknight's kernel. smile

Offline

#365 2008-09-29 08:08:24

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: Acer Aspire One

blah wrote:

@schuay - realtek's own driver:

Yes - as I've allready written in my long posting before - I've allready done/tries this. (installation is rather straightforward: 'make clean modules' then 'make install' afterwards 'depmod -a' and 'insmod' or 'modprobe'.) The new r8169.ko is copied to '/lib/modules/2.6.26-ARCH/kernel/drivers/net/r8169.ko' (cause I was still using the core-kernel when trying this)... the module could be loaded - but with the effect of no more available eth0 when doing 'ifconfig -a' (or eth0).
(Loading the module at startup-time didn't succeed either.)

are we speaking about the same driver? i'm using r8101.ko, not r8169.ko

Offline

#366 2008-09-29 10:13:38

thomasd
Member
Registered: 2008-08-11
Posts: 114

Re: Acer Aspire One

schuay wrote:

One more issue I'd like to be done with. I work on my Aspire One. And let's face it, the screen is too small for 8 hour workdays. However, I haven't managed to get the VGA out working at a higher resolution than 1024x768, not even using xrandr.

Now, I KNOW this works, since I had 1600x1200 up and running without a problem back when I had Xubuntu on my Aspire One. I tried installing Xubuntu again to see what the differences in setup were, but somehow I haven't managed to get a bootable USB Xubuntu install working again hmm

Has somebody figured this out? Getting this working is very important to me.

You have to increase the Virtual line in your xorg.conf. I have set it to 2560 2048, which should be more than you would ever want to use. Then remember to add the Option "DPMS" for your external screen. The usable resolutions can then be found automatically.
With these settings I use "xrandr --output VGA --auto" to automatically select the highest possible resolution.

Offline

#367 2008-09-29 13:02:47

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: Acer Aspire One

could you please post an example xorg.conf? are you using xf86-video-intel?

with

Section "Device"
    Identifier  "Videocard0"
    Driver      "intel"
    Option        "Clone" "true"
    Option    "MonitorLayout"    "LVDS,VGA"
    BusID    "PCI:0:2:0"
    Option    "NoDDC"
    Option  "DPMS"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Virtual    1600 1200
    EndSubSection
EndSection

xrandr shows only

Screen 0: minimum 320 x 200, current 1024 x 600, maximum 1600 x 1200
VGA connected (normal left inverted right x axis y axis)
   1280x800       60.0  
   1280x768       60.0  
   1024x768       60.0  
   1024x600       60.0  
   800x600        60.3  
   640x480        59.9

on a monitor capable of 1600x1200.. and this is the same monitor where i had 1600x1200 running in xubuntu.

i only have one monitor and one screen section configured in xorg.conf, is that the problem?

thing is, i only had to add the "Virtual" line to xorg.conf to enable high resolution VGA output, and that doesn't help on the Aspire One..

Last edited by schuay (2008-09-29 13:13:01)

Offline

#368 2008-09-29 16:26:32

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: Acer Aspire One

Well it's not related to Arch on a AAO but it is about an AAO so sorry if I'm going off-topic.
I'm thinking about getting an AAO but can't decide what colour.
Any advice? What do you guys have?

Offline

#369 2008-09-29 20:40:54

blah
Member
Registered: 2008-09-28
Posts: 8

Re: Acer Aspire One

@schuay - 'r8101.ko'

omfg... you're absolutely right (rtl8101E is the correct device)... dunno why I was thinking I've seen 'rtl8169' as the recognized eth-controller... and so - of course - I've installed the wrong driver.   <-- THANKS!

Offline

#370 2008-09-30 07:18:01

thomasd
Member
Registered: 2008-08-11
Posts: 114

Re: Acer Aspire One

schuay wrote:

could you please post an example xorg.conf? are you using xf86-video-intel?

These should be the relevant parts of the xorg.conf. I was wrong about DPMS, I do not need it. Also note that I reduced the virtual from 2560x2048 to 1920x1800 as this gave some errors/warnings from the X server.

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Synaptics Mouse" "AlwaysCore"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        Modeline  "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622 -HSync +VSync
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "intel"
        Option      "Clone" "true"
        Option      "MonitorLayout"     "LVDS,VGA"
        BusID       "PCI:0:2:0"
        Option      "MigrationHeuristic" "greedy"
        Option      "AccelMethod" "EXA"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor     "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x600" "800x600" "640x480"
                Virtual 1920 1800
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Btw, at this very moment I use a xinerama-like layout with my external 1680x1050 screen above my Aspire One, which works fine with "xrandr --output VGA --auto --above LVDS". Really cool.

Offline

#371 2008-09-30 09:17:56

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: Acer Aspire One

thomas,

thanks so much, it works now.
I think my problem was either

Section "Monitor"
...
    DisplaySize 195 113
EndSection

or/and

Section "Device"
        Identifier  "Videocard0"
...
        Option "NoDDC"
EndSection

Seems like I will have to use another method to set the correct DPI.

Offline

#372 2008-09-30 09:26:46

thomasd
Member
Registered: 2008-08-11
Posts: 114

Re: Acer Aspire One

I use ~/.xserverrc to set the dpi as described in the wiki and also earlier in this thread.

Offline

#373 2008-10-01 14:03:09

jazz.arch
Member
From: Austria
Registered: 2008-09-20
Posts: 29

Re: Acer Aspire One

Hello!

Recently, I wanted to use vpn and had the following problem:

vpnc: can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun): No such device
vpnc: can't initialise tunnel interface: No such device

I use gothicknight's kernel.

I already deleted the /dev/net/tun file and recreated it with mknod /dev/net/tun c 10 200, but the problems still occur.

I guess I missed installing or loading something. What should I do?

Thanks in advance!

Offline

#374 2008-10-01 14:18:55

gothicknight
Member
From: Portugal
Registered: 2006-04-08
Posts: 219

Re: Acer Aspire One

Is it possible to be some module missing?

Offline

#375 2008-10-01 14:50:16

jazz.arch
Member
From: Austria
Registered: 2008-09-20
Posts: 29

Re: Acer Aspire One

gothicknight wrote:

Is it possible to be some module missing?

I think so.
I tried modprobe tun for TUN/TAP support, but got a Module tun not found error.

With some research I found that the kernel.config should have the following line set:

CONFIG_TUN=y

Offline

Board footer

Powered by FluxBB