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

=== JanC_ is now known as JanC
cesarbI just noticed that the builds from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.31-rc5/ do not have CONFIG_MEDIA_SUPPORT set, which makes it harder to test anything webcam-related.01:44
cesarbShould I report it somewhere?01:45
=== mdz_ is now known as mdz
Q-FUNKhowdy!10:16
Q-FUNKI'm wondering what is the correct syntax for declaring the framebuffer size on grub cmdline, these days?  vga=794 no longer works, it seems.10:17
Q-FUNKhave we reverted to hex values again?10:18
apwKeybuk, hey ... floppies ... do you think its reasonable to automatically scan those for partitions?  or more specificially do you think its unreasonable to not scan them?11:15
Keybukerr, floppies can't have partitions11:17
apwQ-FUNK, i've alway seen hex used, i have also seen vga=ask which lists them and lets you select11:17
apwthey really can11:17
Keybukno they can't11:17
apwthey have an mbr, therefore they can have a partition table, as far as i know11:17
apwbut i am happy to hear scanning them is stupid in your opinion :)11:17
Keybukactually that's not correct ;)11:18
Keybukfloppy disks have a volume boot sector11:18
apwplease educate me, it not being possible is very handy11:18
Keybuknot an mbr11:18
Q-FUNKapw: found the solution.  it just seems that fbdev used to be compiled-in on ubuntu kernels. not anymore.  plus, it's blacklisted in some modprobe.d config.11:18
Q-FUNKΓΆΓΆ.. vesafb11:19
Keybukapw: just to confirm11:19
Keybukwe're talking about the legacy floppy controller here11:19
Keybuknot IDE or SCSI "floppy" drives, right?11:19
apwyes, the legacy isa one, not scsi etc11:19
Keybukyou don't mean ISA do you?11:19
Keybukhard-wired one?11:19
apwi mean the crappy old one most of us don't have :)11:19
Keybukright11:19
apwso i think thats the cause of the boot delays, devkit-disk is running on the floppy11:20
Keybukreally?11:20
apwand trying to find the partition table, even when there is no media, and its takign 48 seconds11:20
Keybukthat's probably11:20
apwi had someone time it, 48s to run devkit-disks on it11:20
Keybukthat devkit-disks rules is causing a *lot* of problems11:20
apw(this is the case when you dont have a floppy drive)11:21
apwcool.  then i think i can simply justify skipping those checks on a floppy11:21
Keybukyeah11:21
Keybuktalk to upstream though11:21
Keybukdon't patch the rules locally11:21
apwupstream being debian i assume11:22
Keybukno11:22
Keybukupstream being devkit-disks upstream11:22
Keybukwe have a strong policy of not shipping modified udev rules for any of the plumbing layer11:22
apwoh are the rules coming from there... hrm11:22
apwok ...11:22
Keybukhttps://bugzilla.redhat.com/show_bug.cgi?id=48908311:23
ubot3bugzilla.redhat.com bug 489083 in DeviceKit-disks "devkit-disk tortures my good old floppy drive" [Medium,Closed: errata] 11:23
Keybuklooks from that like davidz is quite happy with the "ignore legacy floppy" approach11:24
Keybukand this is just an omission11:24
Keybukinterestingly11:25
Keybukin 60-persistent-storage.rules:11:25
KeybukKERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*", GOTO="persistent_storage_end"11:25
Keybukbut in 95-devkit-disks.rules:11:25
KeybukKERNEL=="mtd*|nbd*|gnbd*|btibm*", GOTO="probe_parttable_end"11:25
Keybukso they don't quite match11:25
KeybukI'll chat to David when he wakes up11:25
apwKeybuk, thanks11:26
apwyeah my proposal was to add fd* to the latter one11:26
Keybukright11:27
Keybukthat would be the fix11:27
Keybuklet me get it fixed upstream though ;)11:27
apwfair enough for me11:27
apwless work :)11:27
apwi should mark the bug for devkit-disks i guess ... will do that11:27
Keybukyup11:28
apwKeybuk, done11:43
mhatchTwo quick questions:  1.  Why is the AHCI and ATA drivers compiled directly into the kernel in 9.04 Server, and 2.  Is there a way to change the order in which these drivers are loaded?  I could do this with modules in the past but I have yet to determine if it's possible when the drivers were compiled directly into the kernel.13:24
amitkwho is our squashfs expert?13:33
amitkI've got a problem with the fsl live image: http://pastebin.ubuntu.com/252472/13:33
rtgamitk, apw did the port13:33
amitksquashfs had to be ported?13:34
rtgwell, integrated I guess13:34
* apw looks up... huh?13:34
apwthat pastebin think looks like there is no filesystem?13:35
amitkapw: squashfs, bug, http://pastebin.ubuntu.com/252472/, clue?13:36
apwSQUASHFS error: squashfs_read_data failed to read block 0x013:36
apwit panicing after a read error might be reasonable13:36
apwwhere is the squashfs stored?13:36
ogravfat partition13:36
ograon mmc13:37
apwrtg squashfs went upstream didn't it?13:38
apwit was compcache i ported13:38
rtgapw, uh, right. I was confusing it with AUFS13:38
apwamitk, ogra that error is nearly useless it can mean one of at least 5 different failures13:45
apwprobabally a decompression failure13:45
apwhow do we build these squashfs things?13:46
ograa simple mksquashfs13:46
apwdo we have a userspace tool to check its integrity like we do with initrds?13:46
ograapt-get source livecd-rootfs ... see the bottom of the livefs.sh script13:46
ogra    mksquashfs ${ROOT} livecd.${FSS}.squashfs -sort livecd.${FSS}.sort13:47
ogra    chmod 644 livecd.${FSS}.squashfs13:47
apwogra, i guess the first test is to pull the MMC and see if you can successffuly run unsquashfs on it13:49
* ogra does so13:49
apwthere is no real error before to say it failed to load anything13:51
ograhmm, trying to unsuqsh on i386 doesnt work so far13:54
ograhttp://paste.ubuntu.com/252484/13:55
* ogra copies the file over to an arm board13:55
ogratakes a moment ...13:56
amitksquashfs data shouldn't really be arch-specific, should it?13:57
ograno13:57
krgnhi13:57
ograamitk, but to be sure i'll try it anyway, the squashfs was built on armel13:58
ograthough it will take another 10min to copy 13:58
krgnif I need to build a kernel from vanilla for some reason, how to initialise the source tree so I have all the build scripts in debian/ etc?13:58
amitkkrgn: you could just use the pre-built vanilla kernels if you don't need extra patches13:59
krgnamitk: I do need extra patches though14:00
krgnamitk: is there a script that creates debian/ ?14:00
rtgkrgn, start here: https://wiki.ubuntu.com/KernelTeam/KernelMaintenance14:01
krgnamitk: thanks for the link14:03
amitkkrgn: you could also look at https://wiki.ubuntu.com/KernelTeam/MainlineBuilds?action=show&redirect=KernelMainlineBuilds and just download the source .deb of the last mainline build14:07
ograamitk, though i shouldnt get an oops (i dont get one on i386) even with a corrupted fs14:09
ograi can properly reproduce the oops with mount -o loop -t squashfs filesystem.squashfs /cdrom ... in the initramfs14:10
amitkogra: that bug should go upstream through kerneloops/apport14:11
ogracomplicated :P 14:11
ograwe dont have kerneloops in initramfs 14:12
amitkI can see the same issue trying to mount the squashfs on my laptop14:12
amitkand it triggers kerneloops ;)14:12
amitkit would be interesting to see how the armel liveimage squashfs differs from the i38614:15
amitkogra: ^14:16
ograOH !14:16
ograogra@dove:~/temp$ file filesystem.squashfs 14:16
ografilesystem.squashfs: Squashfs filesystem, little endian, version 4.0, 179630923519 bytes, 113897 inodes, blocksize: 41 bytes, created: Sun Jan 15 06:02:56 196714:16
ograthats pre-epoch14:16
amitkheh14:17
ograi wonder if that has any influence14:17
ograit definately shouldnt but you never know14:17
amitkI guess I should refuse to work on things that were created before I was born ;)14:17
ograheh14:18
amitkogra: BTW squashfs isn't oopsing. It is a warning.14:21
ogracant they make their warnings look like warnings ? 14:21
ograits confusing to have a stacktrace in a warning14:22
amitkthey do, WARNING: at /build/buildd/linux-fsl-imx51-2.6.31/fs/inode.c:699 unlock_new_inode+0x40/0x4c()14:22
ograyeah, but attach a stacktrace below14:22
rtgapw, I'm having a brain fade. How do you get the SHA1 of HEAD for the branch you are on?14:32
apwgit show has it14:32
apwto get just the raw one there is a command14:32
apwgit show-ref HEAD14:33
apwhmm not sure that does what you might hope14:34
rtgapw, ah, thats it.14:34
apwhmmm no thats not getting the right head14:34
rtgapw, 'tis for me14:35
apwwhats the second word tho.14:35
apwon mine its a remote ref14:35
apw73aa74e5a55563ac54c161f307f8fc282a8f4e47 refs/remotes/origin/HEAD14:35
rtgyou're right, but its OK in my case.14:36
rtgI guess you could always 'git log |head -n1 ...'14:36
apwapw@penfold:~/git2/ubuntu-karmic$ git log --pretty=format:%H HEAD^..HEAD14:37
apw3844ea1e7161a8883a1a52b7b176d5f6c29be46314:37
apwlooks to me one way14:37
ckingamitk, ogra, so is this really a squashfs kernel error or not?15:21
ogracking, i start to suspect its userspace induced15:21
ograi cant loop mount the squashfs anywhere nor can i unsquash15:22
ckingit's not some weird endianess issue?15:22
ograwe didnt have endianess issues in jaunty15:22
ograit was the very same script we used to build images15:23
ograjust with squashfs-tools 3.0 15:23
ograor 3.3 or whatever15:23
ograwhile we use 4.0 now15:23
ckingARM specific or a generic issue?15:24
ograworks on the ubuntu livecds and i guess also on UNR vfat images15:24
apwogra, hrm, so unsquashfs failed too?  at least the kernel isn't going mad15:32
ograright, mount fails as well as unsquashfs15:32
ograi'm just rebuilding the image on the build servers to see if it was a temporary hiccup or something15:33
ograi'll also rebuild one locally15:33
apwogra, sensible but a bit scarey15:33
ckingapw, I'm getting audio clicks after ~10 seconds of not using audio on karmic on my HP mini - you referred to this a while ago - do you know what the workaround is?15:39
apwthats the amps going off, there is new code to do that, power them down to save power15:40
apwbug #380892 is where it was turned on and lists how to supress it15:42
ubot3Malone bug 380892 in alsa-driver "[9.10 regression] HDA power_save=10"" [Undecided,New] https://launchpad.net/bugs/38089215:42
rtgcking, thats the patch I showed you while in Dublin15:42
ckingrtg, of course, that's the one - I'm kind of fuzzy headed at the moment - I'm pain killer'd out and had a tooth worked on earlier today ;-)15:43
rtgcking, dude - you should be napping :)15:44
ckingmaybe in a couple of hours :-)15:45
ckinganyhow, the pain in the mouth has gone so that's a result!15:45
apwcking, heh ... its funny how good one feels when a pain you had is gone15:48
apwof course in your case the pop is thought to be a known issue with your specific lappy, so we don't want to fix it generally15:49
ckingI think there could be a work around by tweaking the EAPD pin and waiting 250ms.. hrmm..15:50
rtgogra, new crack in the Karmic Dove branch, rebased against -rc515:53
ogracool15:54
ograi'll update my local stuff soon then15:54
apwcking, ? i thought we always did that (the turn offy wait thing)16:11
ckingapw, not sure for karmic.16:15
* cking goes and has a peep16:15
apwi think i've missunderstood, i though the EAPD thing was a std and supported ... clearly not16:15
* cking does some vague handywavy statement : possibly, it depends.16:16
* apw adds cking to ubuntu-audio, *whistles*16:16
ckingno - taint me not16:16
apwtoooooo late16:17
ckinghumbug16:17
ckingapw, we probably should add the clicky audio pop power check to those manjo tests16:20
apwyeah how would one test that i wonder16:21
ckingmake a sound, wait 20 seconds, "do you hear a pop?"16:21
apwheh yeah i guess so16:22
* apw notes that firefox has become a crashy pos today, and i didn't even update it16:22
ckingMust be the flash-tastic sites you're looking at16:23
apwfreshly started no flash16:23
ckingHrm. I'm now on 3.5.2 - it's been as solid as the previous 3.0.x version16:24
apw3.0.13, and its new behaviour today.  and as far as i know i've not installed any fixes16:25
ckingif only one had "apt-unget  yesterday" 16:26
=== JanC__ is now known as JanC
manjocarefully applying all the audio patches that dtchen suggested did not fix sound on xps130016:56
manjo133016:56
ograprobably be less careful ?16:57
* manjo plugs ogra's babbage 2.5 board into the network and watches it die17:03
ogra:P17:04
ckingapw, what's the story behind the broadcom b43 driver on Karmic - where can I peek at the driver?17:28
apwcking, hrm which one is that.  there are so many broadcom ones17:29
apwis that the one which drives BCM43xx devices?17:29
apwthe one on the mini for instance?17:29
ckingThat's what I'm confused about. I've just installed karmic in a HP mini 1000 and it's grumbling at me.17:30
apwand not working?17:30
apwthere seem to be three options17:30
cking..yep - no workies. 17:30
apwthere is b43 and b43legacy in the kernel17:30
cking3 options(!)17:30
apwplus there is bcmwl-kernel-source which is a dkms thingy which carries some binary blob17:31
apwthat is the one which works on my mini1017:31
apw03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)17:31
ckinghow does one get the bcmwl-kernel-source installed?17:32
apwi installed it by hand using apt-get i think17:33
ckingbit tricky w/o a network connecton17:33
apwi think that was sufficient, reboot required i think17:33
apwi used an ethernet cable to install it17:33
ckingthat don't work either. This is a tad regression bound at the mo17:33
apwa usb stick for someone at sprint17:33
apwi just got the .deb from the pool and shoved it on17:34
ckingOK. That's a cunning plan17:34
* apw looks up cunning ... hmmm17:34
* cking wonders how the average punter is gonna handle this 17:38
zul_has anyone seen this before?17:42
zul_/usr/bin/ld.real: kernel image bigger than KERNEL_IMAGE_SIZE17:42
apwzul_, not seen that no17:44
apwcking, they arn't17:44
apwthats why oem ship their own installs17:45
apwcking, so any idea what an ssb id is ?17:45
ckingwhat's the context?17:45
apwthe b43 driver is using ssb ids for matching not pci vendory things as normal17:46
apwlooks to be some kind of bridgey thing17:46
ckingyeah "b43: probe of ssb0:0 failed with error -95"...17:47
apwis that from the default kernel modules?17:47
ckingyep. use the source luke17:47
apwnow i am lost as i don't have an lsssb -nnvv to get them17:47
* apw is using the source and getting moany :)17:50
apwcking, i wonder if lbm would help here, as it has wireless more up to date in it17:50
ckingmaybe17:51
apwthat might be worth a go17:51
ckingurgh.. running out of time..17:51
* apw looks at the lbm to see what it has in it17:51
krgnhey all19:19
krgnI have the following scenario: I have a vanilla source tree but use the debian/ dir from karmic git19:20
krgnactually I get this error too with jaunty19:20
krgnbut when I execute debian/rules binary-generic or binary-arch it just tells me that binary-generic isn't defined19:21
krgnmake: *** No rule to make target `binary-generic', needed by `binary-debs'.  Stop.19:21

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