Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80167 - 2.6.10-r6 b44 causes ifconfig/dhcpcd to crash
Summary: 2.6.10-r6 b44 causes ifconfig/dhcpcd to crash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://linux.derkeiler.com/Mailing-Li...
Whiteboard: 2.6.11
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-30 22:16 UTC by Bharath Ramesh
Modified: 2005-03-02 08:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bharath Ramesh 2005-01-30 22:16:08 UTC
When I try to connect my laptop to the interenet while running dhcp either ifconfig/dhcpcd crashes with page allocation failure. order:8 mode:0x21
This is the stack trace from kernel logs

Jan 31 00:36:58 [kernel] ifconfig: page allocation failure. order:8, mode:0x21
Jan 31 00:36:58 [kernel] dhcpcd: page allocation failure. order:8, mode:0x21
Jan 31 00:36:58 [kernel]  [<c0136193>] __alloc_pages+0x223/0x360
Jan 31 00:36:58 [kernel]  [<c01362e8>] __get_free_pages+0x18/0x40
Jan 31 00:36:58 [kernel]  [<c0108a44>] dma_alloc_coherent+0xc4/0x100
Jan 31 00:36:58 [kernel]  [<e1334c58>] b44_alloc_consistent+0x98/0x150 [b44]
Jan 31 00:36:58 [kernel]  [<e1335151>] b44_open+0x21/0xe0 [b44]
Jan 31 00:36:58 [kernel]  [<c026129d>] dev_open+0x7d/0x90
Jan 31 00:36:58 [kernel]  [<c026271f>] dev_change_flags+0x5f/0x150
Jan 31 00:36:58 [kernel]  [<c029d83b>] devinet_ioctl+0x54b/0x600
Jan 31 00:36:58 [kernel]  [<c029f9ba>] inet_ioctl+0xca/0xe0
Jan 31 00:36:58 [kernel]  [<c025868d>] sock_ioctl+0x19d/0x250

If I reboot into my 2.6.9-r9 kernel I dont have that problem. I need to reboot an whole bunch of time before it can pick up the ip through dhcp. If I reboot after that then I have the same problem again and again.

Reproducible: Always
Steps to Reproduce:
1. modprobe b44
2. bring up interface using dhcp
3.

Actual Results:  
ifconfig/dhcpcd crash

Expected Results:  
it should get the ip address and not crash

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.1,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 23 2004, 21:52:35)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mtune=pentium-m -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium-m -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-01-31 14:53:13 UTC
Could you please test development-sources-2.6.11_rc2?
Comment 2 Bharath Ramesh 2005-01-31 17:12:44 UTC
I emerged development-sources-2.6.11_rc2 and it worked perfectly, no problem at all.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-02-01 11:52:05 UTC
Can't see which patch between 2.6.10 and 2.6.11 solves this. Leaving open for now, incase someone else can contribute info.
Comment 4 Micheal Marineau (RETIRED) gentoo-dev 2005-02-18 07:28:18 UTC
I think I have seen this or a similar issue in the past with various random kenels  but I was able to resolve it by compileing dhcpcd again. What the real issue is I don't know, it's never happened to me when I had time to debug it.
Comment 5 Bharath Ramesh 2005-02-18 08:28:02 UTC
I tried recompiling not just dhcpd but also my kernel. I have compiled it 3-4 times but I still keep getting this crash. I am sticking to my wireless connection for now. It seems to be real pain not to be able to use your wired connection if there is no wireless access point. I currently reboot to the 2.6.11-rc3 kernel whenever I need to use the wired connection it hasnt given me any problem at all.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-03-02 08:51:34 UTC
gentoo-dev-sources-2.6.11 is now in portage