Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156106 - kernel (2.6.16-suspend2-r8) Oops when killing br2684ctl
Summary: kernel (2.6.16-suspend2-r8) Oops when killing br2684ctl
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Alon Bar-Lev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-24 03:04 UTC by sphakka
Modified: 2006-12-16 13:55 UTC (History)
1 user (show)

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 sphakka 2006-11-24 03:04:53 UTC
Hi there,

I'm trying kernel 2.6.16-suspend2-r8 with pppoe support for a USB, cxacru-based adsl modem. In order to correctly resume the network connection I need to shut it down and unload some kernel modules before hibernating, this means doing something like

  pppoe-stop
  sleep 2
  killall br2684ctl    # don't know a better way to do this :-(
  sleep 2
  modprobe -r br2684

In particular killing br2684ctl works fine with kernel 2.6.18-gentoo-r2, whereas 
it throws sometimes an Oops with 2.6.16-suspend2-r8:

  Oops: 0000 [#3]
  PREEMPT
  Modules linked in: xt_tcpudp iptable_filter ip_tables x_tables pppoe pppox   ppp_async crc_ccitt ppp_generic slhc savage drm snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_usb_audio snd_usb_lib snd_hwdep ohci_hcd ehci_hcd snd_via82xx_modem snd_via82xx snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd cxacru firmware_class usbatm atm uhci_hcd 8139too ohci1394 ieee1394 yenta_socket rsrc_nonstatic pcmcia_core rtc usbcore binfmt_misc savagefb i2c_algo_bit i2c_core sg thermal processor fan button battery ac
  CPU:    0
  EIP:    0060:[<df08d366>]    Not tainted VLI
  EFLAGS: 00010202   (2.6.16-suspend2-r8 #1)
  EIP is at 0xdf08d366
  eax: 00000000   ebx: d370de64   ecx: d28a1ebc   edx: 00000000
  esi: d34c62e0   edi: d370de60   ebp: d370dc00   esp: d28a1ed0
  ds: 007b   es: 007b   ss: 0068
  Process br2684ctl (pid: 8788, threadinfo=d28a0000 task=d3fd7a70)
  Stack: <0>d370dc00 00000018 dc481000 dc481000 d3427800 dad2d3fc dee75117   dc481000
       00000000 dc481000 d3427800 dee751e9 dc481000 dee7a900 d7ef3240 c0254d6f
       d3427800 d3427824 d7ef3240 d3427824 c025575f d3427800 00000008 c014d9dd
  Call Trace:
   [<dee75117>] vcc_destroy_socket+0x40/0xf6 [atm]
   [<dee751e9>] vcc_release+0x1c/0x3a [atm]
   [<c0254d6f>] sock_release+0x15/0xa0
   [<c025575f>] sock_close+0x2e/0x33
   [<c014d9dd>] __fput+0x83/0x142
   [<c014c65c>] filp_close+0x4c/0x55
   [<c01137a5>] close_files+0x4b/0x5b
   [<c01137f6>] put_files_struct+0x13/0x3b
   [<c011411e>] do_exit+0x1a8/0x36b
   [<c0114396>] sys_exit_group+0x0/0x11
   [<c010251b>] sysenter_past_esp+0x54/0x75
  Code:  Bad EIP value.
   <1>Fixing recursive fault but reboot is needed!


My emerge --info is


Gentoo Base System version 1.12.6
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.70GHz
Last Sync: Sat, 18 Nov 2006 21:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://cdn.mirror.garr.it/mirrors/gentoo  http://193.206.139.34/mirrors/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 atm berkdb bitmap-fonts cli cracklib crypt cups dlloader dri dvd eds elibc_glibc emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk2 iconv imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jpeg kde kernel_linux ldap libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcltk tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_fbdev video_cards_savage video_cards_vesa video_cards_vga vorbis wifi xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

Cheers,

^m'e
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-24 03:44:21 UTC
suspend2-sources is not a supported kernel and have their own bugzilla, report it there... 

http://bugzilla.suspend2.net/index.cgi
Comment 2 sphakka 2006-11-24 05:35:29 UTC
Reported to suspend2 folks:

http://bugzilla.suspend2.net/show_bug.cgi?id=262

^m'e
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2006-12-16 13:55:06 UTC
Not in Gentoo domain to fix...
When upstream fix this it will be available to us too...
But.... I am not sure it is suspend2 fault at all... Most issues are driver side related...