Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83867 - PPPoE won't work after updating kernel
Summary: PPPoE won't work after updating kernel
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 12:15 UTC by Pietari Seppänen
Modified: 2005-03-14 08:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My .config file for kernel 2.6.11 (pppoe does not work) (config-2.6.11,28.92 KB, text/plain)
2005-03-03 07:21 UTC, Pietari Seppänen
Details
My .config for kernel 2.6.7 (config-2.6.7,26.31 KB, text/plain)
2005-03-03 07:22 UTC, Pietari Seppänen
Details
My grub.conf (grub.conf,292 bytes, text/plain)
2005-03-09 07:32 UTC, Pietari Seppänen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pietari Seppänen 2005-03-02 12:15:52 UTC
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 ))
Comment 1 Pietari Seppänen 2005-03-02 12:18:37 UTC
http://forums.gentoo.org/viewtopic-p-2146916.html#2146916
Check this thread for my initial help request and more info.
Comment 2 Pietari Seppänen 2005-03-03 07:21:40 UTC
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.
Comment 3 Pietari Seppänen 2005-03-03 07:22:15 UTC
Created attachment 52547 [details]
My .config for kernel 2.6.7
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2005-03-03 07:28:45 UTC
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?
Comment 5 Pietari Seppänen 2005-03-04 02:51:50 UTC
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.
Comment 6 Pietari Seppänen 2005-03-04 02:54:51 UTC
I checked, those messages do not appear when I use the old kernel.
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2005-03-04 03:03:48 UTC
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?
Comment 8 Pietari Seppänen 2005-03-04 03:05:57 UTC
I use the via-rhine driver which has so far worked excellently, but it does look like the problem lies there.
Comment 9 Pietari Seppänen 2005-03-04 03:37:51 UTC
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?
Comment 10 Alin Năstac (RETIRED) gentoo-dev 2005-03-07 11:49:06 UTC
in /boot/grub/grub.conf or /etc/lilo.conf, depending on what bootloader do you use.
Comment 11 Pietari Seppänen 2005-03-09 00:24:03 UTC
That didn't work. This is bizzarre.
Comment 12 Alin Năstac (RETIRED) gentoo-dev 2005-03-09 00:29:45 UTC
please attach your grub.conf/lilo.conf
Comment 13 Pietari Seppänen 2005-03-09 07:32:47 UTC
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.
Comment 14 Alin Năstac (RETIRED) gentoo-dev 2005-03-09 07:38:13 UTC
try "acpi=off"
Comment 15 Pietari Seppänen 2005-03-09 10:43:01 UTC
No effect.
Comment 16 Daniel Drake (RETIRED) gentoo-dev 2005-03-12 14:21:51 UTC
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.
Comment 17 Pietari Seppänen 2005-03-13 04:45:21 UTC
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. 
Comment 18 Daniel Drake (RETIRED) gentoo-dev 2005-03-13 05:25:44 UTC
You can use ifconfig to change the media type
Comment 19 Pietari Seppänen 2005-03-14 08:11:51 UTC
It wouldn't allow me to change it, I suspect because MII doesn't work.