/srv/irclogs.ubuntu.com/2005/12/20/#ubuntu-kernel.txt

=== doko_ [n=doko@dslb-084-059-078-065.pools.arcor-ip.net] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== calc [n=ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
BenCmjg59: I had a bug I wanted you to look at...trying to find it02:23
BenC2097902:24
infinityBenC : Still want that module tested?02:31
infinityBenC : Should I be suspicous about the drastic file size difference? :)02:32
BenCnah, it's all good :)02:33
BenChe reports no difference, but I find that hard to believe02:33
infinityWhat did you change?02:36
infinityOther than shrinking the module. :)02:37
infinityMess of printks all over the place with your name on them? :)02:37
infinityOh, that's funny.02:37
infinityYou know that assertion I was getting every time I ran update-initramfs?02:38
infinityDon't see that anymore... (of course, I get the spew of other erros instead)02:38
infinityAnyhow, ready to reboot.  Back in a few.02:38
=== calc [n=ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
infinityAh-ha.02:43
infinityBenC : I guess you just rolled back to an older version of ata_piix? :)02:43
infinityScary ATAPI errors gone, failed assertion back.02:44
mjg59BenC: Weird. Haven't seen that.02:46
BenCinfinity: so the errors are definitely gone02:56
BenCinfinity: can I add you to CC for this bug?03:00
infinityBenC : Sure.  I didn't add myself when I commented, but go ahead.03:02
=== AcidPils_ [n=acid@websrv.werbeagentur-aufwind.de] has joined #ubuntu-kernel
=== maks_ [n=max@baikonur.stro.at] has joined #ubuntu-kernel
=== siretart [i=siretart@ubuntu/member/siretart] has joined #ubuntu-kernel
=== maks__ [n=max@baikonur.stro.at] has joined #ubuntu-kernel
=== AcidPils [n=acid@websrv.werbeagentur-aufwind.de] has joined #ubuntu-kernel
=== maks_ [n=max@baikonur.stro.at] has joined #ubuntu-kernel
=== AcidPils [n=acid@websrv.werbeagentur-aufwind.de] has joined #ubuntu-kernel
=== AcidPils [n=acid@websrv.werbeagentur-aufwind.de] has joined #ubuntu-kernel
=== maks_ [n=max@baikonur.stro.at] has joined #ubuntu-kernel
=== calc_ [n=ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
=== calc [n=ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
fabbionemorning05:50
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
fabbionehey BenC 06:25
BenChey fabbione06:25
fabbionei am uploading the kernel right now06:25
fabbionei thought you went to sleep06:25
BenCmy turn to be up at 3am :)06:25
fabbioneyeah i know06:25
fabbionei need a smoke06:26
BenCyeah, me too06:26
infinityNew kernel again?06:27
infinityNew ABI too?06:27
BenCyep06:27
infinityOr just bugfixes?06:27
infinityFeh. :)06:27
BenCfabbione's kernel upload is sparc64 8.10 build06:27
BenCmy kernel upload is waiting on hppa abi files so I don't ftbfs :)06:27
=== BenC finds out he can get a PowerMac G5 Quad for $1650
infinity!06:29
infinitySend me one!06:29
BenCthere's a limit of one :)06:29
BenC256Mb nvidia card too, 250Gig ATA drive06:30
fabbioneBenC: ah new crack?06:30
BenC2xdual-core-2.5ghz cpu's06:30
fabbioneBenC: i know benh bought one06:30
fabbionethe kernel still doesn't really support it in full :)06:31
fabbioneand he is hacking heavily on it06:31
BenCit comes pre-installed with YDL06:31
BenCYDL and OSX06:31
BenCbut I have an offer of one machine, and I think I want to get a 17" powerbook06:31
fabbioneBenC: the powerbook i got is sweet06:32
fabbionebut it's a bit fragile06:32
fabbionekeybord is teh sux06:32
fabbionei need to get a new one already06:32
BenCdamn, that does suck06:32
fabbionekeys are falling off and some of them get stucked.. go figure06:32
BenCbut I need a laptop...the one I had at UBZ, I just took it back and got a refund06:33
BenCand powerbook 17" display is nice06:33
fabbioneoh yeah06:33
fabbionethe display is COOL06:33
BenCplus it will give me a chance to test bcm43xx with the airport2 wireless06:34
fabbioneehhehe06:34
infinityI don't know very many powerbook owners who say they'd buy one again.06:34
BenCpitti loves his :)06:34
fabbionei wanted one becuase i needed a ppc06:34
infinityWell, Apple fanatics, maybe, but not in the FLOSS world, where we're more hardware agnostic.06:35
fabbionebut yeah.. i heard that too06:35
fabbionespecially from elmo06:35
infinitypitti is an exception to many rules. :)06:35
fabbionehe had to change his PB.. dunno how many times06:35
infinityHe's also an iBook user, which makes a qorld of different.06:35
infinitydifference, too.06:35
infinityOnly because the iBooks are much cheaper, so you don't feel so ripped off. :)06:35
infinityOTOH, if you like laying out lots of cash, everyone in the company (me included) seems to be deeply in love with IBM.06:36
infinityGo figure.06:36
infinityI'd recommend the G5 desktops over the PowerBooks anyday, if you want/need a PPC machine.06:37
BenCwell, the pb will be at a reduced price too...get IBM to take %40 of the list price, and I'll go buy one :)06:37
BenCI already have a G5 and 2 G4's, so I'm not really in need of anymore ppc's, just that I like powerbook looks06:37
=== fabbione waits for katie love on kernel
fabbioneBenC: you got your bw back06:38
BenCthanks06:38
fabbioneweird is that i managed to upload up to 40K06:39
fabbionesometimes even faster06:39
BenCreally? damn, that's more like I am supposed to get06:39
BenCmaybe it's the atmosphere tonight giving me better xmit signal :)06:39
fabbionelinux-source-2.6.15_2.6.15-8.10_sparc.changes 100%   10KB  10.1KB/s   00:00    06:39
fabbionecdrom-core-modules-2.6.15-8-sparc64-di_2.6.15 100%   54KB  54.2KB/s   00:00    06:39
fabbionecrc-modules-2.6.15-8-sparc64-di_2.6.15-8.10_s 100% 2376     2.3KB/s   00:00    06:39
fabbioneext2-modules-2.6.15-8-sparc64-di_2.6.15-8.10_ 100%   39KB  38.8KB/s   00:00    06:39
fabbioneext3-modules-2.6.15-8-sparc64-di_2.6.15-8.10_ 100%  107KB 107.3KB/s   00:00    06:39
fabbionefat-modules-2.6.15-8-sparc64-di_2.6.15-8.10_s 100%   40KB  39.9KB/s   00:00    06:39
fabbioneide-modules-2.6.15-8-sparc64-di_2.6.15-8.10_s 100%  101KB 101.4KB/s   00:00    06:39
fabbioneipv6-modules-2.6.15-8-sparc64-di_2.6.15-8.10_ 100%  144KB 144.2KB/s   00:00    06:39
fabbionekernel-image-2.6.15-8-sparc64-di_2.6.15-8.10_ 100% 1512KB  40.9KB/s   00:37    06:39
fabbionelinux-headers-2.6.15-8-sparc64-smp_2.6.15-8.1 100%  719KB  51.4KB/s   00:14    06:39
fabbionelinux-headers-2.6.15-8-sparc64_2.6.15-8.10_sp 100%  718KB  47.9KB/s   00:15    06:39
fabbionelinux-headers-2.6.15-8_2.6.15-8.10_sparc.deb  100% 6379KB  36.7KB/s   02:54    06:39
fabbionelinux-image-2.6.15-8-sparc64-smp_2.6.15-8.10_ 100%   13MB  36.2KB/s   06:06    06:39
fabbionelinux-image-2.6.15-8-sparc64_2.6.15-8.10_spar 100%   13MB  36.2KB/s   06:02    06:39
fabbioneloop-modules-2.6.15-8-sparc64-di_2.6.15-8.10_ 100% 7256     7.1KB/s   00:00    06:40
fabbionemd-modules-2.6.15-8-sparc64-di_2.6.15-8.10_sp 100%  240KB 120.2KB/s   00:02    06:40
fabbionenfs-modules-2.6.15-8-sparc64-di_2.6.15-8.10_s 100%  206KB 205.9KB/s   00:00    06:40
fabbionenic-modules-2.6.15-8-sparc64-di_2.6.15-8.10_s 100% 1008KB  43.8KB/s   00:23    06:40
fabbionenic-shared-modules-2.6.15-8-sparc64-di_2.6.15 100%   10KB   9.9KB/s   00:00    06:40
fabbioneparport-modules-2.6.15-8-sparc64-di_2.6.15-8. 100%   39KB  39.3KB/s   00:00    06:40
fabbioneplip-modules-2.6.15-8-sparc64-di_2.6.15-8.10_ 100% 9364     9.1KB/s   00:00    06:40
fabbioneppp-modules-2.6.15-8-sparc64-di_2.6.15-8.10_s 100%   60KB  59.9KB/s   00:00    06:40
fabbionereiserfs-modules-2.6.15-8-sparc64-di_2.6.15-8 100%  158KB 158.3KB/s   00:00    06:40
fabbioneMEH06:40
fabbionesorry06:40
fabbionei meant to paste only the -images-06:40
fabbionethat are a bit more interesting than the small udebs06:40
fabbioneok good06:41
fabbionekatie accepted.. or better.. stalled it in NEW06:41
BenCalready copied the abi files06:57
BenChppa takes so long to NEW06:57
infinityWell, we weren't building hppa CDs, so Kamion didn't do "Oh my god, the sky is falling, NEW, NEW, NEW" mojo on it.07:01
infinityI assume elmo just did it in his usual NEW runs, which are often, but not instant.07:01
fabbioneyeah Kamion doesn't NEW SCC07:18
fabbioneBenC: do you alraedy have the new kernel ready for upload or are you still working on it?07:38
BenCstill working on it07:38
BenCshould be ready Friday07:38
fabbioneok perfect07:40
=== juliux [n=juliux@ubuntu/member/juliux] has joined #ubuntu-kernel
=== juliux [n=juliux@ubuntu/member/juliux] has joined #ubuntu-kernel
=== juliux [n=juliux@ubuntu/member/juliux] has left #ubuntu-kernel ["Verlassend"]
=== jbailey [n=jbailey@modemcable139.249-203-24.mc.videotron.ca] has joined #ubuntu-kernel
=== ispiked [n=ispiked@unaffiliated/ispiked] has joined #ubuntu-kernel
=== CataEnry [n=Enrico@host149-23.pool8250.interbusiness.it] has joined #ubuntu-kernel
CataEnryhi :)09:50
=== lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #ubuntu-kernel
=== siretart [i=siretart@ubuntu/member/siretart] has left #ubuntu-kernel []
=== JaneW [n=JaneW@dsl-146-148-187.telkomadsl.co.za] has joined #ubuntu-kernel
=== jbailey [n=jbailey@modemcable139.249-203-24.mc.videotron.ca] has joined #ubuntu-kernel
=== zul [n=chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
zulheylo02:15
zulBenC: ping pull02:16
BenCzul: pong push :)02:16
BenCalready pulled you, just haven't merged02:16
zulok...i updated the changelog though02:17
=== BenC found out how to pull to a branch so he can keep in sync, but merge at leisure
zulnifty02:18
zuli almost have  a kick ass build script going on02:23
BenCshare :)02:57
AcidPilshi02:58
AcidPilsi finally know why acx didnt work... it gets a link, not the ap but to my RTL8180L card 02:59
AcidPilshead -> table03:00
mjg59AcidPils: Ah...03:01
infinityhahaha.03:03
infinity"oops"03:03
AcidPils:p03:03
BenClol03:08
zulzul: i will when its ready03:15
zuldoh..03:17
zulim not with it tonight03:17
zultoday even03:17
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-kernel
jbaileyzul: But you clearly mean that you won't get it together in time for tongiht ;)03:20
zulshaddup :)03:20
jbaileyzul: I'm actually not on the phone at the moment. =)03:24
jbaileySince you're already clearly stoned, shall we chat? =)03:24
zulmeh...03:29
zulso whats involved with the grub stuff 03:29
jbaileyMostly it's closing bugs with "No, grub sucks, won't fix"03:31
zulthats easy enough...any other stuff03:31
jbaileyOccasionally there's real problems.03:33
jbaileyNot often, though.  In practice we haven't done much to grub since warty, and systems have been installing fine.03:34
jbaileyFuture development is happening on grub2, which I want to package and upload to universe at least.03:34
jbaileyBut that's such a low priority project compared to my other stuff, I don't actually know that I'll get around to doing it.03:34
zulyeah but grub2 only supports a few file systems doesnt it?03:34
zulill give it a go03:34
zulso ill start the grub stuff tonight sounds ok?03:35
jbaileyIt supports about a dozen now, iirc.03:35
zulbuild you joker build...ahahaha!!!!04:28
zulnoooooo...build failed04:37
=== JaneW_we [n=JaneW@dsl-146-148-187.telkomadsl.co.za] has joined #ubuntu-kernel
jbaileyHmmm.  My usb scanner doesn't make a friendly device for me.05:24
=== lamont [n=lamont@mib.fc.hp.com] has joined #ubuntu-kernel
zuldapper or breezy?05:31
jbaileydapper.05:31
jbaileyIt looks like just udev rule confusion.05:32
jbaileyIf I /dev/usb/scanner0 to /dev/bus/usb/005/006 and set the group right, sane seems happier.05:32
=== jbailey tests.
crispinI didn't think you needed devices these days for sane, I don't believe that mine has a device, and it works fine05:33
jbaileyYup, works in the gimp.05:33
jbaileycrispin: USB Scanner?  Check to see if you have a /dev/usb/scanner* or /dev/usbscan*05:33
jbaileyCertainly mine didn't work until I had actually created the device.  sane-find-scanner saw it on the usb device scan, but scanimage -L didn't see it.05:34
crispinno usb* at all, but running "scanimage -L" now doesn't appear to show the scanner either05:34
crispinI haven't tried it in dapper yet, so you are probably right05:35
jbaileyI'm not sure it worked in Breezy, but I don't know for sure.05:36
jbaileyIt's probably soething I should test on the liveCDs too.05:36
jbaileyKamion: Can you add that to a checkbox list on the livecds maybe?  Can you scan an image?05:36
=== lbm [n=lbm@x1-6-00-13-10-7a-d1-e4.k233.webspeed.dk] has joined #ubuntu-kernel
BenCjbailey: do you know what the status is for ia64/klibc/initramfs?05:47
jbaileyBenC: I've got the build deps on halley to look at it now and haven't had time.05:48
BenCwhat is the issue, I can take a look at it05:48
BenC?05:48
jbaileysegfault in klibc, apparently.  I haven't debugged it.05:49
jbaileyIf you enjoy debugging ia64 asm, you're *welcome* to take it from me.05:49
BenCis there a way to repro the segv from userspace?05:49
BenClike can I chroot to the initramfs when it's unpacked?05:49
jbaileyYou don't even need to do that, you can run them from the build tree.05:50
jbaileyYou can even add debugging symbols and all that.05:50
BenCahh, even easier05:50
jbaileyThen you need to break gdb on whatever that arch calls the starter function and use stepi to walk through the setup.05:50
jbaileyI suspect that the problem is in there.05:50
jbaileyBest to do it with upstream klibc rather than the packge.05:50
jbaileyUpstream has made more changes which will also cause segfaults.05:51
jbaileyOtherwise, I will get to it probably tomorrow.05:51
jbaileyThere are only a few places where klibc tends to fail.  Given that it works on amd64, I don't expect this ot be a place where it's a 64 bit issue.05:52
jbaileyGiven that cat segfaults, I think it's probably the startup code.05:52
jbaileyREmember not to refer to glibc when fixing the bug.05:52
jbaileyklibc isn't GPLd.05:53
BenCok05:53
jbaileydannf has been helpful when I've had questiosn before, though.05:54
BenCshould I use 2.6.15 headers?05:54
jbaileyYes, that's what I have installed in there.05:55
BenCjbailey: I just did a rebuild and "./utils/static.g/cat README" worked06:03
jbaileyThat's what someone had reported as failing. 06:04
BenCgzip works too06:04
jbaileyTry fstype06:04
jbaileyThat uses a 5 arg syscall.06:04
jbailey(llseek)06:04
BenCworks, recognizes my ext3 fs too06:05
jbaileyHmm, should be fine.  Suggest trying to boot with it.06:05
BenCok06:05
BenCI'm using the 1.1.1 in the archive, FYI06:05
BenCmaybe it just needed a gcc-4.0+linux-headers-2.6.15 rebuild :)06:06
jbaileyIt's always possible.06:06
jbaileydo you have a local ia64 to try a reboot on?06:06
BenCyeah, I have an i2k that I did the build on06:07
BenCgetting ready to test it, 15 minutes and we'll know06:07
jbaileyIs that 15 minutes to get dressed to go out to the barn? =)06:08
BenCyes, pretty much :)06:08
BenCI can reboot from here and get out to the barn before elilo starts :)06:09
BenCwonder if vga16fb+usplash will work06:09
=== jbailey [n=jbailey@modemcable139.249-203-24.mc.videotron.ca] has joined #ubuntu-kernel
BenCthe only thing I saw was "Illegal Instruction", then a modprobe usage message, and then the /dev/root failure06:23
BenCcouldn't do much else, because keyboard doesn't work when it drops to a shell06:23
BenCnot sure what causes the illegal instruction06:25
Kamionjbailey: it's in https://wiki.ubuntu.com/Testing/Long already06:26
jbaileyBenC: I think there's a debug mode in there that will sh -x it for you.06:26
jbaileyOr you can break it at the top and step it through by hand.06:26
jbaileyCan you tell me about the /dev/root failure?06:27
jbaileyThere shouldn't be one.06:27
jbaileyroot= should be passed on the kernel command line.06:27
=== jbailey checks that to make sure.
jbaileyKamion: Ah nice.  I didn't know this document.06:28
BenCit's the failure about /dev/root and /dev/.static/root or something similar06:28
jbaileyBenC: Can you do a break in there and tell me what's in /proc/cmdline ?06:28
jbaileyYou should never see /dev/root messages when using anything other than lilo.06:29
BenClike when the scsi module doesn't get loaded, and the device doesn't exist06:29
jbaileyAnd it's just too broken to try fixing.06:29
BenCthat's not from the kernel06:29
Kamionjbailey: it's new06:29
BenCit's from the initramfs, drops to busybox shell06:29
jbailey/dev/root is the node that we generate when we have to just mount the device by major:minor and don't know its name.06:29
jbaileyBenC: Right, I know.06:30
jbaileyKamion: I'll forgive my own lack of omniscience this time then ;)06:30
BenCwhat's the kernel command line option to get the initramfs to stop?06:30
jbaileyBut next time!  Out the third floor window I go.06:30
jbaileyBenC: break06:30
BenCok06:30
=== BenC thinks we need to cleanup out distro specific kernel command line namespace
BenCbreak, usplash...06:31
BenCI know for one I hate hearing about how "nousb" doesn't work on our system :)06:31
jbaileyBenC: My suggestion is that we do it by taking over the world.06:32
jbaileyBenC: What do you propose? =)06:32
BenCif they had called it redhat/nousb, then we'd have an argument06:32
BenCjbailey: world domination negates my argument :)06:32
jbaileyGiven that it's not a techincal problem, I think perhaps we shouldn't take a technical solution.  Let's try my idea first. =)06:33
crispinjbailey: fyi, my scanner problems in dapper are now bug 2106106:35
jbaileycrimsun: sane is in main, the bug should probably go in bugzilla.06:35
crispinerr, the name's crispin, and it is ....06:36
jbaileyWell, the first three letters are the same, the last is the same, they're the same length and it contains an s.06:38
jbaileyI don't even notice when I've gotten it wrong. =)06:38
crispinheh, isn't tab completion wonderful (except when it gets it wrong) :-)06:39
jbaileyTry working for mdz and working with mdy. =)06:41
maks_vorlon said that the statfs from klibc is not 64 bit ready06:41
maks_altought it works on amd64 it fails on alpha06:41
jbaileymaks_: Did he say why it is?06:41
makx10:37 <vorlon> yeah, then I wonder what their kernel people were smoking when 06:42
makx               they did their statfs implementation. :)06:42
makx10:31 <vorlon> cool.  Looks like there's more than one bug in klibc on alpha, 06:42
makx               though; fixing struct statfs gets me one step farther, but then 06:42
makx               the darn thing fails trying to clear the rootfs.06:42
makx10:32 <vorlon> (which is basically a bunch of unlink() and rmdir() calls, so 06:42
makx               you'd think this wouldn't be a problem. :P)06:42
jbaileyOoo, is he hacking on this?06:42
jbaileyBenC: Might be worht syncing up with Steve.06:42
makxyeah he said that his patch is not yet amd64 safe so didn't send in yet.06:43
makxbut seems that you are chasing the same bug06:45
BenCstupid ia64 kernel doesn't have AT keyboard built-in06:48
BenCI need to rebuild a kernel before I can do more testing06:48
jbaileyBenC: AT keyboard?  Not USB?06:49
BenCnah, I have a ps2 keyboard on it06:49
jbaileyBenC: If you can find a way of probing that in sysfs, there's no reason not to just load it in the initramfs.06:49
BenCthe installer loads it06:50
jbaileyBenC: But I prefer to have everything in modules if possible. =)06:50
jbaileyRight, I was more thinking for boottime detection if there's a port there.06:50
BenCif it's built-in in i386 and amd64, I want to just match it06:50
jbaileyRight.  Perhaps it shouldn't be built in there either, though?06:50
jbaileyI don't know how many new machines even have ps2 ports anymore.06:50
BenCia64 is the only one of hte 6 that has it modular06:51
BenCI don't know if there's a way to detect it, and the installer for ia64 just loads it regardless, and it was added to /etc/modules after the install regardless06:53
BenCthere's no test, it just does it06:53
BenCplus, if modprobe is failing in initramfs for my ia64 like I think it is, then I have to build it in06:53
BenCI'm going to try adding atkbd to /etc/mkinitramfs/modules first and see if that gets me any further06:55
BenCwill it still load modules with "break"?06:55
BenCif not, that's another good reason for it being built-in :)06:55
BenCjbailey: if statfs was failing like vorlon said, wouldn't fstype fail?06:57
jbaileyBenC: I don't think fstype actually stats the node.  It just llseeks it.06:57
BenCah, true, it reads stdin06:57
jbaileyRight.06:57
makxBenC: if you look at init you have several stages of "break=$stage"06:59
BenCmakx: ok, thanks07:00
BenCjbailey: statfs() call in run-init succeeds07:06
jbaileyBenC: And returned sane data?07:07
BenCtested it by calling manually (not on boot)07:07
BenCyes07:07
jbaileyI wonder if you can safely step through run-init in a chroot?07:07
BenCreturned 0xef53 for f_type, which is ext3, which is correct07:09
makxhow did you test BenC?07:11
BenCand f_namelen=255, which is correct (and is the last memebr of the statfs struct, so proves it's not pushing 32-bit/64-bit values in the wrong places07:11
jbaileyRight.07:11
jbaileyHmm07:11
BenC./utils/static.g/run-init /mnt /sbin/init07:12
jbaileyCan you drop strace in the initramfs and just watch the strace for stange values?07:12
BenCwhere /mnt existed, and /init was /bin/true07:12
BenCI don't think the Illegal Instruct is coming from the klibc stuff07:12
BenCI think it may be busybox07:12
BenCperhaps busybox needs to be rebuilt for ia64?07:13
jbaileyWait a sec.  07:13
makxhmm only static klibc is said to work on alpha07:13
jbaileyWe never actually demonstrated there was a problem on ia64 for run-init.07:13
BenCso maybe it's an issue of dynamic linking?07:13
jbaileyThe /dev/root messages mean that initramfs-tools is getting bad info from elilo07:14
makxhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=34118107:14
jbaileyBenC: Can you cat /proc/cmdline for me?07:14
BenCroot=/dev/sda207:16
BenCjbailey: no, the /dev/root is because the scsi module never gets loaded07:16
jbaileyAh, okay.07:17
BenCso /dev/sda neven exists07:17
jbaileyTry adding it to /etc/initramfs/modules, rebuild and see if it  works?07:17
BenCmodprobe fails just before that error07:17
BenCit spits out a usage message07:17
BenCjust after the Illegal Instruction07:17
jbaileyThe modprobe should be just the system modprobe, I think.07:18
makxcan you modprobe from shell?07:18
BenCI think the failed modprobe is it trying ot load the scsi module07:18
BenCshell doesn't work without atkbd, which is a module too :)07:18
BenCjbailey: busybox doesn't have it's own? I can't see the system one working with klibc :)07:19
jbaileyThere's glibc in the initramfs, though.07:19
jbaileyThe system one is linked against that.07:19
BenChmm, what's the point of klibc is glibc is there too?07:20
jbaileyThe idea is that eventually everything should be against klibc and it should be possible to eliminate glibc.07:20
jbaileyBut correctness over optimisation.07:20
jbaileyklibc is sufficiently small that it doesn't actually matter that both are there for now, and there's some reall convenient tools that come with it.07:20
makxwould ease dist upgrades as no glibc dependency for kernel07:21
makxi mean indirect dep07:21
BenChow can I run klibc shared progs from normal userspace?07:21
makx sudo chroot /usr/lib/klibc /bin/cat07:21
BenCsegv07:22
BenCso it is a shared lib issue07:22
BenCwonder how I can run gdb for this07:24
jbaileyOn the shared lib?  No idea.07:24
jbaileygdb won't understand their shared library style, it's not elf.07:24
makxstrace that dannf posted doesn't show anything too..07:27
jbaileymakx: It really sounds like there's nothing wrong with the static libs.07:28
jbaileyOr with the syscall mechanism.07:28
jbaileyProbably just shared library initialisation.07:28
BenCit segv's immediately following execve of /bin/cat07:28
BenCI've replaced the shared klibc-utils with static ones, let's see if that changes anything07:29
BenCif I can boot with that, we know it's shared lib issues07:29
jbaileyCool.07:29
jbaileyI've also just started a build here to look as well.07:29
jbaileyBut making lunch, too.07:29
BenC"We've secretly replaced the ia64's shared binaries with static ones...let's see if it notices"07:30
makxdannf reproduced it with a shared build by gcc-3.307:31
zulBenC: lol07:35
BenCok, that made a big difference, still not there, but a lot further along07:37
BenChere's what I noticed this time, my scsi/ide modules got loaded, and it got to the point of mounting the roofs, and then the SIGILL happened07:38
BenCI think the SIGILL isn't klibc related07:38
BenCunless there's some other tool in the initramfs that is compiled against klibc (not from klibc-utils)07:38
BenCwhat else uses klibc?07:39
jbaileyNope, just klibc itself.07:40
BenCis mount busybox and does mkinitrd use busybox too?07:40
jbaileyMmm.  mount is probably busybox.07:41
jbaileyIt's a simple syscall.07:41
jbaileyDo you mean does the mkinitramfs tool itslef use busybox?07:42
jbaileyNo, it uses posix shell #!/bin/sh07:42
BenCcalling busybox mount from userspace works07:43
jbaileyBenC: Can you break in the initramfs and step through the rest of it by hand?07:43
BenCif keyboard worked07:43
BenCwhich means I'll need to do a recompile07:44
jbaileyAdd the keyboard modules to /etc/initramfs/modules and reboot07:44
jbaileywell, regenerate the initramfs.07:44
BenCI did07:44
BenCdidn't work07:44
makxyou need to load it too07:44
makxadd an modprobe somewhere at the beginning of init07:45
BenCok07:46
jbaileyThings in the modules file do get modprobed...07:46
jbaileyYou just need to make sure you break after that point. =)07:46
makxaahh zut forget that indeed.07:46
makxbut atkb or i8042 dont get modprobed by initramfs if build modular atm.07:47
jbaileyThey should if included in the modules file.07:58
jbaileyEverything in there should get modprobed.07:58
makxsure was speaking out of the box.08:00
BenCyou know what would be super neato?08:24
BenCif I remembered you have to run elilo after updating initrd's08:25
BenCafter that it booted08:25
BenCso it's just shared vs. static in klibc that is stopping ia64 from using initramfs08:25
=== BenC considers adding an assume_initramfs kernel command line param to avoid the unzip just to check it
makxwasn't there an optimisation patch that would only unzip some bytes of the initramfs head08:27
BenCmaybe, haven't checked08:28
BenCbtw, just adding atkbd doesn't do much without some more modules08:28
BenCjust going to make it static08:28
BenCbuilt-in I mean08:28
jbaileyBenC: Hmm.  so it's not declaring dependancies correctly?08:28
BenCwell, it depends on enough to load, but not really present itself as useful08:29
BenCeither that or it wasn't really loading08:29
jbaileyHmm. Have to rerun elilo?08:29
BenCI put "modprobe atkbd" right after depmod -a in  /init, and break=top, and it didn't work08:29
jbaileydo you think that update-initramfs should have a hook for that in it?08:29
BenCcan't check if it was loaded08:29
BenCnot sure, I mentioned that to lamont08:30
BenCI think hppa will have to have the same08:30
jbaileyRight, for palo.08:30
jbaileySo does lilo FWIW.08:30
makxbtw on alpha we dont land into console too08:31
makxeven with atkb build in.08:31
makxi assumed that to be a bb bug.08:31
BenChow do shared klibc bins declare the dynamic loader?08:32
BenCI think other things need to be built-in too, like serio08:32
jbaileyBenC: I think they declare klibc.so to be the dynamic loader itself.08:33
BenCjbailey: I don't see anything about it from objdump08:34
jbaileyBenC: readelf -a will tell you.08:34
jbaileyI think objdump assumes too much.08:34
BenCif I do strings, I see it08:35
jbaileyHIghtech debugging tools. =)08:35
fabbionehey guys08:35
jbaileyI think I need to go lie down and get this headache gone.08:35
jbaileyback in a short while.08:35
makxbonne sante' jbailey08:36
BenChey fabbione08:41
zulhow did the thing go?08:45
fabbionevery well08:47
zulgood to hear08:47
zuljbailey: pinger09:11
jbaileyzul: On phone.09:13
BenCdata point, shared bins on ia64 atleast get to __libc_init09:14
jbaileyHow are you tracing it? 09:15
BenCwrite(0, "DBG-X\n", 6); in libc_init.c09:17
BenCchangeing X as I add more09:18
BenCerr, 109:18
=== doko [n=doko@dslb-084-059-078-065.pools.arcor-ip.net] has joined #ubuntu-kernel
zuljbailey: grub2 is already in universe09:26
BenCsegv occurs right when libc_init calls main()09:28
BenCwhich it does differently for shared than static09:29
BenCfor static, it just calls the main symbol directly, but for shared, it grabs the point to main from the pointer just after the env vars09:29
BenCand that pointer is correct, as far as readelf says (they match)09:29
BenCbut it's wrong when you take relocation into account09:30
jbaileyzul: Really out of date, though.09:39
BenCaha, I found the cause!09:41
BenCwell, found the symptom that actually makes it crash09:42
BenCthe correct address for main is 0x4000000000000ec009:42
BenCnote the 0x4 to start09:42
BenCit is only seeing, 0xec009:43
jbaileyInteresting.09:44
BenCnm09:44
BenCmy printf was using %x and not %lx09:44
BenCso it has the correct address, why is it crashing when jumping to it09:45
zuljbailey: okie dokie ill re-write it then ;)09:50
jbaileyzul: =)09:50
jbaileyI don't remember if the packaging was any good or not.09:51
zulits using cdbs09:51
jbaileyThere are good ways to use cdbs and ugly ways to use cdbs, my friend.09:51
zulmeh...wouldnt know..ill just do what i know09:51
fabbioneit's *CDBS*! what are the good ways?09:51
jbaileyfabbione: Come over here with a tube of vasseli... wait.  This is a public channel isn't it?09:52
fabbioneahaha09:52
zuland a family channel fuckers09:53
=== doko [n=doko@dslb-084-059-078-065.pools.arcor-ip.net] has joined #ubuntu-kernel
=== lamont giggles
fabbioneyou guys are so tempting me to goatse all of you09:55
=== paulproteus|lapt [n=paulprot@zog.acm.jhu.edu] has joined #ubuntu-kernel
paulproteus|laptIs "mem=128M" supposed to work?  It seems not to have any effect on powerpc at least with linux-2.6.15-8 .  See http://bugzilla.ubuntu.com/show_bug.cgi?id=2107309:56
BenCthink I figured it out jeff09:57
jbailey!!! =)09:57
BenCcompare klibc/arch/{x86_64,i386}/MCONFIG with the ia64 one09:57
BenCyou'll see there's no -T text section var09:58
BenCklibc.so and the binaries code space are colliding09:58
BenCdoing a recompile to see if I can guess a good location for it10:00
jbaileyAh, interesting.10:02
zulfabbione: dont you mean goatcheese?10:03
fabbioneno10:03
fabbionei mean goatse10:03
jbaileyzul: You don't want the goatse cheese.10:05
jbaileyIt's a little.. ripe.10:05
zulhehe..10:06
zulbaahh..10:06
fabbioneahah10:07
=== fabbione heads to bed
fabbionenight guys10:07
zullater10:08
zulim going to head home as well10:08
jbaileyBenC: Any luck?10:08
zullater10:09
BenCjbailey: just trying to find the right location, I'm trying glibc's libc.so location for trial10:09
BenCnot having any luck finding the right offset10:25
jbaileyBenC: Maybe ask in #parisc?10:33
BenCia64? :)10:34
jbaileyIt's all the same people.10:34
jbaileydannf hangs out in #parisc, he's the one who fixed elilo10:35
jbaileyOr lamont, lamont-away might be able to recommend a person.10:35
BenCcan't find a #parisc channel10:46
=== paulproteus|lapt waves to BenC , quietly asking him to look at http://bugzilla.ubuntu.com/show_bug.cgi?id=21073
BenCpaulproteus|lapt: mem= is arch specific, it's not supposed to work10:53
paulproteus|laptBenC: I see, that's sad.  Is there any ppc way to limit how much memory the ppc kernel uses, then?10:53
BenCthe bcm43xx thing is a non-issue for ppc10:54
paulproteus|laptBenC: "non-issue"?10:54
BenClimiting memory like that is mainly for highmem bugs on i38610:54
BenC1024megs isn't highmem on ppc10:54
BenCso that isn't your problem10:54
paulproteus|laptHmm, if you say so.  The latest Apple update for the Airport Extreme driver seemed to mention something about >1024M, so I figured it was maybe a bcm43xx problem instead of a PPC problem.10:55
paulproteus|laptOr a problem with the DMA code written by the bcm43xx people.10:55
=== paulproteus|lapt shrugs
BenCjust remove a memory stick :)10:55
paulproteus|laptBenC: After all the trouble I had with trying to put one in, I kinda don't want to do that. :)10:56
jbaileyBenC: OFTC.10:59
paulproteus|laptBenC: I marked the bug as INVALID since mem= is irrelevant for this arch.  "Thanks" ;-).11:39
makxvorlon found that is supposed to be pulling the errno from a1, which is *true* for most other calls; for unlink() the errno is apparently in v0, which is normally the return value (and glibc seems to handle this fine).12:00
makxso it stomps over the false register on alpha for run-init..12:00
makxso the shared failure seems very diff.12:00
jbaileymakx: Okay.  It's easy enough to write a little wrapper around it that grabs errno from the other register just for unlink.12:00
jbaileymakx: What channel is he hacking in?12:01
makxoftc #debian-kernel12:01

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