After I updated my kernel from gentoo-dev-sources 2.6.7 to development-sources 2.6.10 (to get swsusp2 patch working), my PPPoE connection stopped working. I have all the same related choices made in the kernel's config. adsl-start either times out or connects, but the connection is very slow, from 100kb/s to 4kb/s if I'm lucky. Updating to an even newer kernel didn't help. Updating RP-PPPoE didn't help either. Reproducible: Always Steps to Reproduce: 1. Update to a new kernel. 2. adsl-setup 3. adsl-start Actual Results: .......... CONNECTED (( lousy speed if any )) Expected Results: . CONNECTED (( good speed ))
http://forums.gentoo.org/viewtopic-p-2146916.html#2146916 Check this thread for my initial help request and more info.
Created attachment 52546 [details] My .config file for kernel 2.6.11 (pppoe does not work) I'm uploading my .config files for the kernels, in case the problem lies there. I don't think so, though, but maybe you know something I don't.
Created attachment 52547 [details] My .config for kernel 2.6.7
Did you try other kernels? that what I have in lsmod for rp-pppoe: af_packet 7752 8 ppp_synctty 4768 0 ppp_async 5952 1 crc_ccitt 864 1 ppp_async ppp_generic 14612 6 ppp_synctty,ppp_async slhc 4672 1 ppp_generic Imo its strange that pppoe is not there .. What version of rp-pppoe do you use? What do you have in /var/log/mesages when connecting?
I've tried 2.6.10 and 2.6.11, they behaved similarly. pppoe 11008 0 pppox 2856 1 pppoe ppp_synctty 8032 0 ppp_async 9280 1 ppp_generic 22804 8 pppoe,pppox,ppp_synctty,ppp_async slhc 6336 1 ppp_generic I have pppoe (and pppox) because I use kernel mode PPPoE. The module is not needed for regular PPPoE. RP-PPPoE is version 3.5-r7. I had an older version at first but I updated to see if it would fix the problem (it didn't). I found loads of this in my /var/log/messages, otherwise seems pretty okay as far as I can see. This looks pretty suspicious... Mar 4 12:40:12 palikka kernel: eth0: Oversized Ethernet frame spanned multiple buffers, entry 0xb length 0 status 00000400! Mar 4 12:40:12 palikka kernel: eth0: Oversized Ethernet frame c698b0b0 vs c698b0b0. Mar 4 12:40:13 palikka kernel: eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x1 length 0 status 00000600! Mar 4 12:40:13 palikka kernel: eth0: Oversized Ethernet frame c698b010 vs c698b010. Mar 4 12:40:13 palikka kernel: eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x2 length 0 status 00000400! Mar 4 12:40:13 palikka kernel: eth0: Oversized Ethernet frame c698b020 vs c698b020.
I checked, those messages do not appear when I use the old kernel.
rp-pppoe has been checked personally by me on x86 with 2.6.10-r6 kernel. I've tested both client/server apps. I think you have problems with your eth card. What eth driver do you use?
I use the via-rhine driver which has so far worked excellently, but it does look like the problem lies there.
Here's some more stuff I found at /var/log/messages: During the boot of 2.6.7: Mar 4 12:55:29 palikka kernel: via-rhine.c:v1.10-LK1.1.20-2.6 May-23-2004 Written by Donald Becker Mar 4 12:55:29 palikka kernel: PCI: Found IRQ 5 for device 0000:00:0a.0 Mar 4 12:55:29 palikka kernel: eth0: VIA VT6102 Rhine-II at 0xec00, 00:e0:98:9e:16:6e, IRQ 5. Mar 4 12:55:29 palikka kernel: eth0: MII PHY found at address 2, status 0x0845 advertising 0021 Link 0000. During the boot of 2.6.11: Mar 4 12:24:37 palikka kernel: PCI: Using ACPI for IRQ routing Mar 4 12:24:37 palikka kernel: ** PCI interrupts are no longer routed automatically. If this Mar 4 12:24:37 palikka kernel: ** causes a device to stop working, it is probably because the Mar 4 12:24:37 palikka kernel: ** driver failed to call pci_enable_device(). As a temporary Mar 4 12:24:37 palikka kernel: ** workaround, the "pci=routeirq" argument restores the old Mar 4 12:24:37 palikka kernel: ** behavior. If this argument makes the device work again, Mar 4 12:24:37 palikka kernel: ** please email the output of "lspci" to bjorn.helgaas@hp.com Mar 4 12:24:37 palikka kernel: ** so I can fix the driver. Mar 4 12:24:37 palikka kernel: via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker Mar 4 12:24:37 palikka kernel: ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5 Mar 4 12:24:37 palikka kernel: PCI: setting IRQ 5 as level-triggered Mar 4 12:24:37 palikka kernel: ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 5 (level, low) -> IRQ 5 I don't know what the MII PHY is, but it doesn't appear on the new kernel. Where would I put "pci=routeirq" to try if that works?
in /boot/grub/grub.conf or /etc/lilo.conf, depending on what bootloader do you use.
That didn't work. This is bizzarre.
please attach your grub.conf/lilo.conf
Created attachment 53016 [details] My grub.conf Here's the grub.conf. If my last message was unclear, I meant that adding 'pci=routeirq' didn't fix the problem.
try "acpi=off"
No effect.
The Oversized Ethernet frame messages look wrong. Please file a bug for this at http://bugzilla.kernel.org and attach dmesg output from both 2.6.11 and 2.6.7 to the report. Please post the bug URL to here so that we can keep track of it.
I think I know what the problem is now. Because MII doesn't work (for some reason - it has been compiled), eth0 is 100mb full-duplex instead of 10mb half-duplex like it should be. I'd like to try if this can be changed and if it'll help before sending another bug report anywhere.
You can use ifconfig to change the media type
It wouldn't allow me to change it, I suspect because MII doesn't work.