/srv/irclogs.ubuntu.com/2009/02/27/#ubuntu-kernel.txt

d3xterhey09:48
d3xteris anyone here?09:48
apwthere are lots of people here09:48
IntuitiveNippleOf course not - this is a virtual world :)09:49
heywoodhi all10:57
heywoodtrying to strip down running kernel modules on a netbook (acer aspire one, SSD version) running intrepid, 2.6.27-7-generic. having trouble understanding relationship between sdhci_pci and sdhci.11:00
heywoodmodprobe sdhci_pci says "WARNING: Error inserting sdhci (/lib/modules/.../sdhci.ko): Invalid module format"11:01
heywoodassume sdhci_pci depends on sdhci, which modprobe tries to install first. but why would sdhci (which is unmodified from stock kernel source) give an invalid format error?11:01
alex_joniheywood: did youo check dmesg for further errors?11:18
alex_joniusually the invalid format can be generated if you compiled the module with a different compiler as the stock kernel11:19
heywoodchecking now. looks like one of my modules exports the same symbol as sdhci_pci, which may be causing that error. brb...11:23
d3xteri've got a problem with =>2.6.2711:28
d3xteri've got a bcm4401-b0 lan and bcm4328 wlan11:28
d3xterat startup the lan-adapter loads b44 and ssb driver11:29
d3xterand after that the propritaery broadcom driver cant use the wlan-chip, because ssb blocks it11:29
heywood@alex_joni: weird. i have an sdhci driver i've built myself (call it sdhci_extended) and i'm doing the following, in order, in a shell script (as root): rmmod all_relevant_modules [in order] --> modprobe mmc_core --> insmod sdhci_extended --> modprobe sdhci_pci11:29
d3xterso i have to manually unload ssb and b44 and load the wl driver frist11:30
IntuitiveNippled3xter: Have you posted a bug report?11:30
d3xterIntuitiveNipple: not yet11:30
IntuitiveNippled3xter: That would be best... generally people don't have time here to follow instant questions11:30
d3xteron launchpad?11:31
IntuitiveNippled3xter: Yes, against the "linux" package. The post the bug reference here. It'll also be announced on the kernel-bugs mailing list11:31
d3xterok thx11:32
heywooddumb question: in the output of lsmod, is the last column "depends on" or "used by"?11:33
d3xterused by11:34
heywoodthanks11:34
heywood@alex_joni: (continuing previous comment...) when i insmod my sdhci_extended, it shows up in lsmod normally, and also in the "referred to by" list for mmc_core. so far so good.11:36
heywoodnow when i do modprobe sdhci_pci, it shows up in the lsmod output by itself, and also in the "referred to by" list for my sdhci_extended. both of those are as expected. but at this point i also get the error about "error inserting sdhci: invalid module format". in dmesg i see that same message, but then a bunch more from sdhci _after_ it -- which suggests sdhci is loading after all.11:40
heywooddoes that sound like a showstopper, or more like a nuisance?11:41
heywood(point is, i need to do many many hours of data gathering, have no easy way to check if all is OK during the run, and don't want to find out only at the end that it didn't work or dropped packets or something)11:42
alex_joniheywood: try loading your module with insmod11:51
alex_jonimodprobe will do smart things and pull in dependencies, insmod won't11:51
heywoodassume i should call insmod with /lib/modules/`uname -r`/... , correct? (i have several kernels on the machine)11:52
alex_joniyup11:58
heywoodok, will give it a try. thanks!12:04
d3xterok, i've posted a bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/33539112:07
ubot3Malone bug 335391 in linux "Broadcom LAN Driver blocks Broadcom WLAN" [Undecided,New] 12:07
heywood@alex_joni: ran modprobe -v to check i wasn't missing any other dependencies. confirmed that it only tries to insmod sdhci (which fails), then sdhci_pci. so just doing insmod sdhci_pci should be safe and i won't miss anything else.12:11
heywoodthanks for your help! :)12:11
alex_joniheywood: glad I could help12:14
heywood?12:26
heywoodcan anyone help me understand what the commands in the Linplus section of "tweaks for powersaving" on https://help.ubuntu.com/community/AspireOne do?13:00
heywoodtrying to figure out if i can safely comment them out. don't care about power saving (running from AC adapter), but do care about minimizing system activity (interrupts, etc.) while my code is running.13:02
bullgard4[Ubuntu 8.04.2, 2.6.24-23-generic] I have doubled my RAM size from 512 to 1024 MB. Why does Ubuntu not increase the value 512*1024 in /sys/power/image_size accordingly?13:56
smb_tpbullgard4, See Documentation/ABI/testing/sysfs-power. It is just a default value not related to your ram size.14:04
bullgard4smb_tp: /usr/share/doc/linux-doc-2.6.22/Documentation/ABI/testing/sysfs-power/Rafael J. Wysocki says differently: "The /sys/power/image_size file controls the size of the image created by the suspend-to-disk mechanism."14:09
smb_tpAnd in the other Doc he writes, that the kernel will try to get the image within that size but will continue to hibernate if that fails.14:12
smb_tpHowever, if it turns out to be14:13
smb_tp                impossible, the kernel will try to suspend anyway using the14:13
smb_tp                smallest image possible.  In particular, if "0" is written to14:13
smb_tp                this file, the suspend image will be as small as possible.14:13
smb_tp                Reading from this file will display the current image size14:13
smb_tp                limit, which is set to 500 MB by default.14:13
=== TimStarling is now known as Tim-away
bullgard4So where will I find guidance how to make better use of available RAM size in order to resume or thaw faster?14:37
heywoodhi all, does anyone know what the most serious consequences are of turning off sysklogd and klogd for runlevel 2? is there anything to worry about beyond not having debug info available via dmesg?16:01
IntuitiveNippleheywood: If you're not worried about missing kernel reports I don't see a problem with that16:43
IntuitiveNippleapw: ping16:43
apwhi16:43
IntuitiveNippleHey. I'm working through all the bugs tags 'resume' right now. There's a fair few that have "High/Medium" but haven't been touched and may be fixed. Could you look at Bug #312411 and close it if appropriate please?16:45
ubot3Malone bug 312411 in linux "[Jaunty] Suspend/resume failure on ThinkPad T61 (pulseaudio-related?)" [High,In progress] https://launchpad.net/bugs/31241116:45
heywood@IN: ok, thanks.16:45
apwIntuitiveNipple, done16:47
IntuitiveNippleapw: many thanks. I want to get the launchpad report into some kind of sane order :)16:48
apwwhich report you looking at?16:48
IntuitiveNippleAdvanced search for all tags "resume" against "linux"16:48
apwahh i see16:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!