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

dtchenpgraner: pong, around until this horrible 'net connection dies (again)00:42
pgranerdtchen: no worries, fixed the issue (sound as usual....)03:23
TheMuso8/c05:22
TheMusoc07:31
* hyperair scratches his head and wonders why his usb thumbdrive isn't detected08:46
mdzapw, did you and robbiew talk about his intel graphics issue with .31?09:57
mdzapw, I've upgraded but haven't booted into .31 yet, wondering if it's wise09:58
lesshastehi all10:08
levonshehello all,  I have ubuntu kernel source v2-6.27.7  , and I tried to build kernel like kernels frem kernel.org,  (make xconfig, make) , but I got an compilation error  ubuntu/misc/wireless/p80211/p80211netdev.c:968: error: ‘netdevice_t’ has no member named ‘wireless_handlers’11:20
levonshesorry for a long line - is it correct to buill ubuntu kernel the same way as vanilla kernels?11:21
hyperairrather, you should be using make-kpkg11:22
levonshebut I do not need package, I need ti for other system where I can copy only vmlinux, initrd and /lib/modules11:23
hyperairthen i don't know =\11:27
hyperairrather, i think that if you're going to do something like that, you might as well compile from one of the kernels in kernel.org11:28
hyperairthe linux-source-* packages have ubuntu-specific changes included11:28
levonsheLet us return to the compilation error - I do not have wireless defined in .config, why it got active ?11:31
levonsheCorrection - wireless was defined as ubuntu includes11:35
hyperairso disable it11:41
* hyperair stares at kernel compilation incredulously -- it's taking 3GB D=11:41
smbhyperair, We have some help at https://wiki.ubuntu.com/KernelTeam/KernelMaintenance11:47
hyperairhmm?11:47
smbBut in general, you do not do it as with a vanilla kernel but like debian packages11:47
* hyperair clicks11:47
smbfakeroot debian/rules binary-generic11:48
hyperairah11:48
smbfor a generic kernel build11:48
smbThat gives packages, but you also can find the objects in debian/build/build-generic11:48
hyperairhow do you prepare the debian/ directory?11:48
hyperairugh i'm going to run out of disk space at this rate X_X11:49
smbHm, did you not say you got the source? via apt-get source linux-image...11:49
hyperairnot me =\11:50
smbBut I would have thoght11:50
hyperairi was make-kpkg'ing a git kernel11:50
smbany way would include the debian dir11:50
hyperairusing config-2.6.31-1-generic11:50
smbexcept you did the evil mrproper11:50
hyperairevil mrproper?11:50
smbmake mrproper just dumps the debian dir into nothingness11:51
hyperairi see11:51
smbjust one of the pitfalls when coming from vanilla builds :)11:52
hyperairby the way, does make-kpkg typically result in a kernel image nearly 1G in size?11:52
smbthe vmlinux is big11:52
amitksounds like your kernel wasn't stripped11:52
hyperairgrr X_X11:52
hyperairwait, stripped?11:52
hyperairhmm it hasn't been stripped yet11:53
hyperairi ^Z'd it11:53
hyperairhad to purge my apt cache to make space for it11:53
hyperairand my pbuilder cache11:53
smbvmlinux in the build dir is always big. It won't get packaged11:53
smbBut it is part of the build11:53
hyperairi see11:54
smbDoing kernel builds == buy large disk drive from my experinece :)11:54
hyperairouch X_x11:54
hyperairit's a small partition11:54
hyperairi should have done it in my home directory, but i did it in /usr/src instead because my home directory has even less free space11:54
smbKarmic amd64 full build (with ccache) == 12G11:55
hyperairwoohoo X_X11:55
hyperairthank god i'm not doing a full build11:55
hyperairi'd trim down the config, but the last round ended up killing my usb drive support11:55
hyperairO_o11:55
hyperairfor some reason or other11:55
hyperairit just wouldn't mount11:55
hyperairas in mount hung11:56
hyperairand for another stick, the device didnt' even appear11:56
hyperairdamn weird =\11:56
hyperairdmesg showed it though11:56
smbOnce tried to unbind the ehci driver?11:57
hyperairunbind?11:57
smbecho the usb id into /module/uhci_hcd/drivers/pci:uhci_hcd/unbind ... or so11:59
smberr actually, which kernel are we talking about?11:59
hyperair.3112:01
hyperairfrom git rather12:01
hyperairfew days ago12:01
smbAh, ok. Not some older Jaunty which might have the problem with detection then12:01
smbI thought I saw some older version number above12:02
smb2.6.2712:02
hyperairthat wasn't me =p12:02
hyperairthat was levonshe12:02
smbAh, :-P all green and blurry12:03
smbWell, same advice in general for him12:03
hyperairirssi? =p12:04
hyperairget nickcolor12:04
smbxchat, which does some but I do not want to paint everyone differently. too much effort :P12:06
hyperairheheh right12:06
hyperairhmmmm12:06
hyperair1.2G    /usr/src/debian/linux/linux-2.6/debian/linux-image-2.6.31-rc1-hyper3/12:07
hyperairsomething is seriously wrong about that ._.12:07
hyperairit's not about an unstrippped vmlinux now is it?12:07
smbafter the build my build-generic is 4.9G alone12:10
hyperair._.12:12
hyperairokay, but how did i end up wtih a linux-image deb 352M big?12:12
smbThat is slightly odd. The normal config ends up being around 30M12:14
hyperair._.12:14
hyperairsee12:14
hyperairthat's what i meant T_T12:14
hyperairit's huge =(12:14
smband that is amd64, guess i384 might be a bit less12:14
hyperairthis is amd64.12:14
hyperairthe /lib/modules/`uname -r`/kernel/drivers directory is the largest12:16
hyperair773M12:16
smband you used "debian/rules editconfigs" to adapt configurations and the "fakeroot debian/rules binary-generic" to compile12:16
smb?12:16
hyperairer no12:16
hyperairi used make-kpkg clean12:16
hyperairfollowed by make-kpkg kernel_image kernel_headers =\12:16
hyperairthis is a git kernel12:17
smbWould work with a git kernel, too12:17
hyperair=\12:17
hyperairmake that the upstream git tree12:17
smbI am not sure about the make-kpkg. I know it was used once, but I never used it for anything after Hardy12:17
smbincluding hardy12:18
smbAh, ok. the vanilla git tree..12:18
smbhyperair, maybe you would be interested in that http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2009-07-02/ ?12:20
hyperairooh i never knew that existed12:20
hyperairi'd have to recompile it due to the whole acpi-cpufreq issue though12:21
smbThere are packages for all rc releases. Unfortunately broken for i386 currently. Hm, thought that was fixed...12:21
smbhttp://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31-rc1-fix1/12:21
smbmaybe that is better12:21
hyperairthe rc release is broken for me as well12:22
hyperairon amd64.12:22
hyperairit panics12:22
hyperairor otherwise blanks out my screen so i can't see the panic12:22
hyperairoopses12:22
smbAh, no. Compile broken in that case12:22
hyperair?12:22
smbThe dailys do not seem to produce i386 packages12:22
smbThere was a incorrect div which cause a build failure on a hardy chroot (which is where the builds are done)12:23
smbBut that probably does not help you. Can you investigate which of the modules is so big?12:24
hyperairthe network modules12:28
smbAny chance you compiled with or have all objects unstripped? With debugging and symbol information?12:34
smb2.8Mcfg80211.ko12:35
smb88Kcfg80211.ko.s12:35
smbThat is in the build directory (so not prepared for install) and the .s is after strip12:36
smbyou can do a "file <file>" to see whether it is stripped, too12:37
hyperairsmb: i don't appear to have any .s files12:56
hyperairsmb: and none of the modules are stripped12:56
hyperairhmm12:56
smbhyperair, the .s was me12:56
smbas a save file12:56
hyperairoh12:56
hyperairaha i see12:56
hyperairhmmm12:59
hyperairpkg-create-dbgsym at work perhaps?12:59
smbI can't say. As I said, I actively do not use make-kpkg, so I can't say what things are at work. With our build the modules are unstripped before and will get striped on preparation for the packaging13:03
smbmake modules_install I expect does the same13:04
smbINSTALL_MOD_STRIP controls that13:06
hyperairi see13:07
hyperairwiki.kubuntu.org says CONFIG_DEBUG_INFO=n works around the issue13:07
smbYeah, right. Without adding them those won't have to be stripped13:10
smbAnd the default of y is useful to only need one go to get modules and vmlinux with debugging info, which can be stripped later. Some things tend to get forgotten when you just use the usual build command. :/13:14
hyperairheh i see =\13:17
hyperairccache doesn't seem to like removing the debugging option13:17
smbsounds a bit weird. that should care the least...13:19
hyperairno i meant ccache is missing the cache completely =\13:20
smbOh that. :) Well naturally13:21
hyperair=(13:24
MacSlowGreetings everybody!13:26
MacSlowI've problems getting a ath9k-based PCMCIA wifi-nic working with kernel 2.6.30-10 under Karmic13:26
MacSlowI can't use 2.6.31 as that causes by i965-based laptop not to boot at all... probably due to currently broken KMS13:27
hyperairrc1 is broken for i965.13:28
hyperaircompiling from git helps13:28
smbI would believe apw rather sooner than later syncs up with it...13:28
hyperair?13:29
smbMacSlow, Is there anywhere more info about the problem?13:29
smbhyperair, sync from upstream git into the karmic tree13:29
MacSlowsmb, well I can provide some info (dmesg, syslog... what ever you need.)13:30
hyperairah.13:30
MacSlowsmb, the ath9k modules is loaded and shows up in dmesg without any hints to errors 13:31
MacSlowsmb, and the device is listed as wlan113:31
smbOk13:31
MacSlowsmb, but iwlist scan only says "No scan results"13:32
smbyou read minds...13:32
MacSlowsmb, I get a scan result only shortly after I plugged the ath9k PCMCIA-card in13:32
MacSlowsmb, also nm-applet/NetworkManager lists the device, but has it's entries in the nm-applet's menu greyed out13:33
smbOk, was there a karmic kernel working?13:33
MacSlowI've no clue what that actually means13:33
MacSlowsmb, briefly about 3 weeks ago when I asked asac for help13:33
smbMacSlow, and just to rule out absolutely everythign. Any killswitch to twiddle?13:34
MacSlowsmb, yes... either booting with it enabled or disabled does not change a thing13:34
MacSlowsmb, btw... just wondering... does the kill-switch apply to all wifi-devices or just built-in ones?13:35
smbIt should only to the built in...13:35
MacSlowsmb, since the built-in card is likely to be broken (that's why I use the ath9k-based PCMCIA one) I guess I can ignore the killswitch then13:36
smbOh, ok. Then I understood the "I get a scan result only shortly after I plugged the ath9k PCMCIA-card in" before wrongly13:37
smbI assumed th internal one is broken but the external works...13:37
smbBut I should read the beginning :/13:37
smbSo you get scan results for a short period of time and after that it stops...13:39
smbhm13:39
MacSlowsmb, yes13:41
MacSlowsmb, when I pull the card out and back in13:41
MacSlowI can get scan results from "iwlist scan" for about 5 seconds13:41
MacSlowsmb, by repeatedly issuing "iwlist scan"13:42
MacSlowsmb, one thing I recognize in the output of "iwlist scan" is that the time for "Extra: Last beacon: XXXXms ago"13:44
smbsound quite strange. especially without any hint of messages...13:45
smbMacSlow, It gets bigger?13:45
MacSlowsmb, continuesly grows until about 9000 ms13:46
MacSlowthen it stops13:46
MacSlowyes13:46
MacSlowif that's any hint13:46
smbA bit like something went down and it does not  receive anything, then goes into sort of sleep. And the results received at the beginning are at some point invalidated13:47
MacSlowsmb, any idea how to fix it13:48
MacSlow?13:48
MacSlowor what I could try to make it "stay up"13:48
smbHeh, no. First I would need an idea what is going on13:48
MacSlowsmb, could you guess if it's a driver-issue of a NetworkManager issue?13:49
smbJust checked whether there where recent changes in the module. Nothing from -8.9 to -10.12. Now how long is that in real time...13:50
cjwatsonis somebody looking at pulling in the commit referenced in bug 392709?13:50
ubot3Malone bug 392709 in linux "[karmic] linux-image 2.6.31-1.13 crashes on boot" [Undecided,Confirmed] https://launchpad.net/bugs/39270913:50
levonshehello all. can you comment why i get via_chrome9: disagrees about version of symbol struct_module (I have kernel build fot Ubuntu 2-6.27.7, this driver is also 2.6.27-7) ??13:50
smbcjwatson, I look in a second13:51
smblevonshe, Maybe external build pulling in the wrong headers...13:51
smbMacSlow, 2.6.30-8.9 was done Jun-1213:53
smbMacSlow, So between then and -10.12 there were at least no changes to the module itself13:53
smbcjwatson, I remember apw knowing of it and he was looking at some other things freshly commited this morning14:00
cjwatsonok, thanks14:00
cjwatsonI put it on the release meeting agenda14:00
amitkhmm.. was .31 known to be booting?14:04
tjaaltonboots but takes an eternity here14:07
amitkits oopsing all over the place14:08
smbMacSlow, maybe you could go into the /sys/class/net/<?> directory (? name of the interface) and do a grep . * there14:11
amitktjaalton: oopses on acpi_get_pci_dev for me in the find_video routine14:17
smbamitk, That is the patch that was asked for by Colin14:18
tjaaltonamitk: yep, same here14:19
mjg59Fixed upstream14:19
smb412af978 ("ACPI: video: prevent NULL deref in acpi_get_pci_dev()"14:19
amitknice14:19
* hyperair wonders if anybody would be nice enough to help me get usb-storage working in 2.6.31 =\14:21
levonshesmb, I got full linux_source.tar, so the headers are consistent with the kernel, the module In question was taken from different place (VIA AREA), but it was said it  prepared for Intrepid 14:22
smblevonshe, There would be several releases of Intrepid, the kernel version you had 2.6.27-7 is quite old the current one is 2.6.27-14 and the module might be prepared against that14:24
levonshesmb, thanks. I will try patch to 2.6.27.1414:25
levonshesmb, sorry I was wrong, the module has vermagic=2.6.27-7-generic SMP mod_unload modversions 58614:27
smblevonshe, Do you compile parts of the module or do you only get the .ko?14:29
smbYou need to have the correct target kernel running and the matching headers installed for compiling14:29
smbwhat does /proc/version_signature say?14:30
levonshesmb, no I have development machine with different ubuntu versioin and kernel version, Unortunatel VIA does not provide source for module, so I have only binary .ko14:36
smblevonshe, If the module is pre-compiled already and says 2.6.27-7-generic then it should in theory work if the machine you want to load the module is running the 2.6.27-7-generic kernel. If it is another Intrepid version you can try insmod -f, but without any guarantees14:40
smblevonshe, No, it is 586 iirc, it means config options rather tuned for desktop, as opposed to -server15:06
=== BenSee is now known as BenC
hyperairis anyone here using a .31 kernel who has a usb-storage device working? as in mounted and all?16:20
macohey guys, http://www.gossamer-threads.com/lists/engine?do=post_view_printable;post=1097001;list=linux affects 2.6.31-1 in karmic16:39
macotun interfaces dont work16:39
macoits already merged in linus's tree, so does that mean just wait for the next build?16:42
smbmaco, basically. though it might be the one after the next16:48
smbbecause the next is just prepared for the acpi_video null pointer 16:49
smbproblem16:49
macook16:51
nixternalyo yo kernel nutjobs :p17:40
nixternalseeing an issue with the 31 kernel17:40
nixternaludevadm settle - timeout of 30 seconds reached,t he event queue contains:17:40
nixternaland then it lists 2 devices under /syst/devices/pci0000:*17:41
nixternalthen I enter my encryption password17:41
nixternalthen I see device-mapper messages about "target device sda5 is misaligned"17:41
nixternalI can only get this in recovery mode after adding "nomodeset" to the kernel line, otherwise it just black screens on me17:41
macoyou're using lvm?17:43
maco(for the encryption i mean...as opposed to one of the other methods)17:43
maconixternal, ^17:43
nixternalnot on the machine with issues17:44
nixternalthis machine, which is my ubuntu machine, is LVM and doesn't have those issues17:44
macogiven the "misaligned" error on the disk, i'd guess it's something to do with whatever encryption mechanism you're using17:46
nixternalthe one you use when installing from cd :)17:47
macoi thought that was lvm *shrug*17:48
hyperairhas anyone seen something like this: http://pastebin.com/f535cca55 ?18:44
AnAntHello, I'm maintaining sl-modem package, I have a question about class_device_register, I understand that it's GPL: EXPORT_SYMBOL_GPL(class_device_register)18:49
AnAntthe code of sl-modem module has this license:MODULE_LICENSE("Dual BSD/GPL");18:50
AnAntwill that be able to register a sysfs object to create the device automatically ?18:52
lesshastehyperair: eek!19:47
lesshasteI tried to restore debconf and now something has gone wrong when trying to install the kernels?  See http://pastebin.ca/148169719:48
hyperairheh i got something similar to that once19:50
hyperairi removed nvidia-common19:50
lesshastehyperair: interesting!19:51
hyperair=p19:51
lesshasteI'll do the same19:51
lesshasteassuming that it's only needed for nvidia :)19:51
lesshasteso.. sorry this is dumb but how do I go back and get those kernels reinstalled19:52
lesshastenow that I have removed nvidia-common19:52
dtchennixternal: which kernel specifically?19:52
nixternal-1319:53
lesshastehyperair: grr http://pastebin.ca/148219419:53
dtchennixternal: -13?19:53
dtchenunless i'm severely misparsing something, i have no idea what -13 refers to19:54
* hyperair whistles19:54
lesshastehelp! :)19:54
* hyperair doesn't know anything about fglrx19:54
lesshasteis it really a fglrx problem?19:55
lesshasteI think it all came because I screwed debconf19:55
lesshasteby deleting one of its directories19:55
hyperair...you're on your own19:55
hyperair=p19:55
* hyperair is off to reboot19:55
lesshasteeek19:56
lesshasteanyone help??19:58
dtchennixternal: if you're referring to karmic's 2.6.31-1-generic, your bug is already fixed (though it hasn't been merged into ubuntu-karmic.git)20:04
dtchennixternal: see drivers/md/dm-table.c:498, where the condition is incorrect20:05
dtchennixternal: changeset ea9df47cc92573b159ef3b4fda516c32cba9c4fd in linux-2.6.git if you're tracking it20:06
nixternaldtchen: ya, I found that earlier when digging around. I saw where the guy fixed it upstream so I knew it was only a matter of time...it was found on the 25th and fixed the same day I think20:47
=== mcasadevall is now known as NCommander
lesshastecan anyone help with this ? http://pastebin.ca/148219422:25

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