/srv/irclogs.ubuntu.com/2009/08/12/#ubuntu-kernel.txt

praveen_looking for the defination of dlsym02:05
praveen_anh pointers ?02:05
praveen_probably its libc code 02:07
praveen_I think I can find it02:07
aaron__hi i'm trying to follow this doc: https://help.ubuntu.com/community/Kernel/Compile02:27
aaron__but I can't find the 'debian/config' directory it keeps referringto02:27
aaron__oh, sorry this looks like a dev channel02:27
jjohansenaaron__: did you check out the ubuntu git tree?  debian/config doesn't exist in mainline trees02:30
aaron__jjohansen: no i'm just following that doc. does it mean that's a directory within the source package?02:31
aaron__i'm d/ling that at the moment02:32
aaron__(apg-get source linux-image-$(uname -r))02:32
jjohansenaaron__: yes it is a directory in the kernel directory02:32
aaron__ok, then i should be able to find my way around... where does that land, /usr/share somewhere?02:33
jjohansenaaron__: /usr/src/linux-2.6.XXXX02:35
aaron__cool, thanks02:35
jjohansenaaron__: or that would be my guess, standard kernel location.  I have never actually used the deb source package02:36
aaron__hmm02:39
aaron__huh, interesting, it puts it right in /02:45
jjohansenaaron__: interesting02:57
=== nightwis- is now known as nightwish
jjohansenaaron__: just a warning about the scripts, they stick the .debs etc in the dir above the kernel dir02:57
aaron__ok03:01
aaron__if i want to customize a standard ubuntu flavor i think i have to take the standard config, copy to .config, run make xconfig, and then copy it back and then gothrough the standard ubuntu build03:01
aaron__fakeroot debian/rules etc.03:02
aaron__or maybe i can point xconfig at a certain config file03:02
aaron__hmm doesn't look like make xconfig loaded the standard config optiosn03:09
spOdo any of you know how to compile fglrx/ati drivers for a custom ubuntu kernel (after you uinstall karmic package)?03:33
aaron__omg i forgot how many freakin options there were03:45
Yingyinganyone know the kernel version of Ubuntu 8.04.3 LTS?03:51
maswanikepanhc: give me a prod if you want me to take a new netboot kernel for a spin for testing things out08:36
hyperairaren't all kernels nebootable?09:10
hyperairnet*09:10
maswanhyperair: Oh, context that was only clearly available in my head: Bug 360966, bnx2x missing or broken09:13
ubot3Malone bug 360966 in linux "bnx2x missing in initrd for install media" [Medium,In progress] https://launchpad.net/bugs/36096609:13
hyperairah09:13
maswansorry for the confusion09:13
hyperairnp09:13
apwmaswan, didn't see the context, but i though that was resolved at least for karmic?09:48
maswanapw: yes, except for bnx2x not loading due to missing crc32c dependancy09:50
apwi thought there was a dep on something crc related added09:50
apw+libcrc32c09:52
apwyeah there was a deliberate attempt to get that resolved in the patch09:52
apwi see ikepanhc is looking at it09:54
apwmaswan, are you able to boot these blades from a usb stick?10:09
maswanapw: Not currently, no. That's something else I'm trying to debug, the blade virtual media applet just gives me a grey square, and no virtual media.10:26
maswanBut I doubt that's the kernel at fault. :)10:27
apwhow annoying10:27
maswanyup, and the bladecenter is 1200 km away so I have to arrange with someone else that then has to go onsite, etc, etc, if I want to try and plug something in. But is is a bit annoying to have all this new and shiny hardware without being able to use it right now. :)10:34
apwdoes any netboot work for any release?10:35
apwhardy for instance?10:35
maswanhardy doesn't have bnx2x support at all, jaunty almost has it, and karmic is closest so far with module existing but failing to load.10:36
apwi assume you are gettitng to a busy box?10:37
maswanapw: yeah, the installer starts even and I can chose language etc, then it doesn't get very far without any network connectivity [sorry for the slow reply, collegues pulled me away from lunch]11:19
apwmaswan, so that implies you have access to the emergency holographic shell on VT-2 or wherever it is11:29
apwso you should be able to open that and try the modprobe yourself to see what errors it reports11:29
apwand to find out if the modules are in there11:29
apwand indeed if the firmware is actually there11:29
maswanthe module fails to load due to missing symbols that look like they should come from the crc32-thingie somewhere11:30
apwand is that modules on there?11:30
apwlibcrc32c that is11:30
apwmaswan, also if its there does loading it directly work, and if so does modprobe bnx2x work?11:36
maswanWorking on it, I did try most of this last night, but getting a console on another server now to try it "properly".11:38
maswanapw: unknown sumbol in module11:53
maswanmight libcrc32c possibly depend on crc32c, which isn't there..11:55
maswanI should probably add that to the bug.11:58
apwcrc32 should be there already in another one11:59
apwdoes it not tell you the dep you need when you try and load it?11:59
maswanfind . -name '*crc* in /lib/modules only finds libcrc32c.ko, crc-itu-t.ko and crc-ccitt.ko11:59
maswanNope, just "Unknown symbol in module, or unknown parameter (see dmesg)", and it seems like dmesg is having issues, I haven't gotten any updates since timestamp 125.9.12:01
maswanno, that's not dmesg issue, just that the libcrc32c modprobe doesn't put anything there12:02
apwdebian/d-i/modules/crypto-modules:crc32c12:10
apwdebian/d-i/modules/nic-shared-modules:libcrc32c12:10
apwwe are meant to be supplying crc32c at least in theory in crypto modules12:10
maswanonlything in kernel/crypto is arc4.ko12:11
apwbibble ... so sounds like installer failure ...12:11
maswanof course, this is before I have a chance to load any udebs12:11
apwcould you report all that in the bug.  that the crc32c seems to be missing too, and not in crypto12:12
maswanack12:12
apwrtg those packaging changes seem to be holding up so far.  the build i have in progress seems to at least have produced sane packages for lpia14:02
rtgapw, thanks for the note. now I have to write up how complex I'm making the stable maintenance job. Perhaps you could review the rebase scripts in each of the topic branches. I forgot to look at them.14:03
maswanAnd with a rebuilt initrd with copies of the modules in crypto-modules-2.6.31-5-generic-di_2.6.31-5.24_amd64.udeb the network interfaces are indeed discovered (after a manual modprobe crc32c)14:04
apwmaswan, you had to manually probe the crc32c?  without the probe of the network would not work?14:05
rtgmaswan, are you doing a network boot?14:05
maswanapw: I'll retry it once more, it might just have needed to wait very long14:07
maswanrtg: yes, with bnx2x nic14:07
apwi would not expect a pause, but if you can confirm the load does not occur unless you manually load the crc32c then it implies there is a missing dep from libcrc32c to it, and that would likely explain why its missing14:08
rtgmaswan, indeed, you are probably correct.14:08
rtgmaswan, can you start a bug report on that? Please make sure to list the module dependencies in the report.14:09
* apw notes that empathy sucks... 14:10
maswanrtg: it's currently a followup in bug 360966, I'll add some more info there (or open a new bug if you'd prefer) once I verify that it won't load unless I manually load crc32c14:11
ubot3Malone bug 360966 in linux "bnx2x missing in initrd for install media" [Medium,In progress] https://launchpad.net/bugs/36096614:11
maswanAnyway, need to spend some "quality time" with hardware in a local machine room, so I'll let it try load bnx2x without manual interference for a while14:12
rtgmaswan, its odd. debian/d-i/modules/nic-shared-modules:libcrc32c which implies that it should be getting loaded, though the network boot stuff may be different wrt initramfs.14:12
maswanrtg: AIUI, libcrc32c is a small wrapper aroudn crc32c as of 2.6.2914:12
maswanrtg: and the missing part being crc32c which makes libcrc32c/bnx2x not load14:13
maswanBut I'm no expert in these matters14:13
apwrtg libcrc32c is being loaded, but crc32c is not... even though it is listed in our .udeb lists14:13
rtgmaswan, right. I think, as you've discovered, that the crc32 stuff needs to be in the initramfs when loaded by PXE. Right?14:14
maswanrtg: Yes, I've gotten that far. Now there is a second potential issue, and that is bnx2x not pulling crc32c in automatically but needing a manual modprobe as well.14:14
maswanI have a custom initrd with the modules from crypto-modules that I'm working off right now. Of course, that might lack some dependancy info, I guess.14:15
maswananyway, I'll let it stand at "detecting network hardware" for a while and see how it goes if I'm patient (aka doing other stuff)14:16
rtgmaswan, can you add the output of 'lsmod|grep bnx' to the report? That should fully describe the dependencies.14:17
ikepanhcmaswan: hi, you mean we still need crc32c.ko for bnx2x?14:24
maswanikepanhc: Yes, that's what it looks like from here. After I added that module to the initrd bnx2x works.14:40
maswaninit takes a really long time, but it did eventually complete14:41
ikepanhcmaswan: you mean after you add the crc32c.ko into initrd, it takes a long time, but it works?14:42
maswanikepanhc: yes14:42
ikepanhcI remember I have tested, the libcrc32c.ko works fine without crc32c.ko. Its seems I need to double check it14:44
maswanikepanhc: while googling around, I found this: http://lkml.indiana.edu/hypermail/linux/kernel/0811.0/02433.html14:45
maswanand it seems like that went in as of 2.6.29.something14:45
maswanThat's funny, lsmod doesn't claim crc32c to be used by any other module14:51
ikepanhcmaswan: I saw that too, so I trust what modules.dep tells me14:53
ikepanhcmaswan: but looking into the code, looks like libcrc32c.ko shall depends on crc32c.ko14:54
maswanbut before crc32c is loaded, bnx2x timesout on init of libcrc32c with some other message about missing symbol crc32c (sorry, it has scrolled off now)14:54
rtgikepanhc, the driver could be doing a dynamic module load instead of a direct symbol reference.14:57
ikepanhcrtg: you mean he just register and leave?14:58
rtgikepanhc, no, probably something like load_module()14:58
* ikepanhc digs in14:59
rtgikepanhc, its in lib/libcrc32c.c. it loads the crc32c module dynamically.15:04
rtgit eventually boils down to crypto_alloc_tfm()15:05
ikepanhcrtg: ya, looks like my fault, I shall make one initrd.img for testing, not only test with insmod15:08
* ikepanhc changes the bug status15:09
=== jMyles_ is now known as jMyles
maswanikepanhc: please let me know if there is anything you want me to test15:25
ikepanhcmaswan: thanks a lot.15:26
maswanikepanhc: I'm trying it again now (fiddled around with the external networking so I can get further), and it isn't that bad a slowness, but still, 2-4 minutes of waiting for "detecting network hardware" might be a bit on the long side16:40
=== zul_ is now known as zul
maswanthen it's 50 second timeouts to see if the nics have link, x8 for all the interfaces16:42
maswanhm. which gets repeated several times over all interfaces, which is why it takes so long16:46
maswanbut that might be an installer issue or driver issue, rather than kernel/initrd inclusion issue16:46
spOis this about custom kernels?20:36
hyperairspO: is what about custom kernels?20:50
=== JanC_ is now known as JanC

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