Summary: | app-laptop/omnibook-20090628-r1: kernel BUG while loading module | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | marbacz |
Component: | [OLD] Unspecified | Assignee: | Markos Chandras (RETIRED) <hwoarang> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | mobile+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://sourceforge.net/tracker/?func=detail&aid=3157406&group_id=174260&atid=868544 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
marbacz
2010-10-04 20:43:47 UTC
Oh, forgot to mention, I use up-to-date ~amd64. what kernel is this? Is it: http://freshmeat.net/projects/pf-patchset ? > This trace is pf-sources but gentoo-sources-2.6.35-r9 gives the same effect.
After seeing the BUG on gentoo kernel, I tried pf-sources, but no difference.
emerge --info with gentoo kernel that failed, please. Portage 2.1.9.13 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.1, glibc-2.12.1-r1, 2.6.35-gentoo-r9 x86_64) ================================================================= System uname: Linux-2.6.35-gentoo-r9-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 05 Oct 2010 17:00:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13::<unknown repository>, 2.68 sys-devel/automake: 1.8.5-r3::<unknown repository>, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2, 4.5.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -g -pipe -fno-ident" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -g -pipe -fno-ident" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/Spring /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 bash-completion branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gmp gpm hal iconv imagemagick ipv6 jpeg jpeg2k kde kpathsea laptop latex lcms libnotify lm_sensors mad mikmod mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pango pch pcre pdf perl png policykit postgres ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype unicode usb vorbis x264 xcb xcomposite xine xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Can't reproduce it root@Eternity ~ # modprobe omnibook root@Eternity ~ # dmesg [14992.614434] omnibook: Driver version 2.20070211-trunk. [14992.614458] omnibook: Unknown model. [14992.614518] PM: Adding info for platform:omnibook [14992.614538] omnibook: dmi feature has no backend table, io_op not initialized. [14992.614542] omnibook: version feature has no backend table, io_op not initialized. [14992.614545] omnibook: Enabled features: dmi version. I use the latest pf-sources Ok... I tried to bisect which kernel fails, but what I found is even with the latest kernel the omnibook module works fine if I compile it (module) with GCC 4.4 (gcc version 4.4.4 (Gentoo 4.4.4-r2 p1.2, pie-0.4.5)). Compiled with GCC 4.5 (gcc version 4.5.1 (Gentoo 4.5.1 p1.0, pie-0.4.5)), module fails. Kernel in both cases compiled with 4.5. Could you please add the following patch which seems to solve this problem into main tree http://sourceforge.net/tracker/?func=detail&aid=3157406&group_id=174260&atid=868544 ? and correct kernel version checking(in Makefile) for backlight support in 3.x kernels. I will do that. But explain your "backlight support" comment you made cause I don't understand it. If you can provide a patch that would be great In Makefile the following piece of code doesn't work properly on my pc with gentoo-sources-3.0.4 ifeq ($(OMNIBOOK_WANT_BACKLIGHT),y) ifdef CONFIG_BACKLIGHT_CLASS_DEVICE # we support backlight interface only after 2.6.16 ifeq ($(shell if [ $(SUBLEVEL) -gt 16 ] ; then echo -n 'y'; fi),y) EXTRA_CFLAGS += -DCONFIG_OMNIBOOK_BACKLIGHT else $(warning "Backlight support in only supported for kernel version newer than 2.6.16") $(warning "Disabling backlight sysfs interface") endif endif and omnibook module compiles without blacklight support. I'm not familiar with bash because I'm novice user, so maybe I don't understand something and it's my computer's specific problem, but leaving only "EXTRA_CFLAGS += -DCONFIG_OMNIBOOK_BACKLIGHT" string solves problem for me. I don't have the hardware to test this but I will sometime next week. The patch does not look safe to me ( what does he use extra dprint messages? ). I'd rather wait for upstream to react first This is now masked for removal. Bug #426542 |