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

=== BenC__ is now known as BenC
ppisatimoin06:39
smbmorning07:21
=== tjaalton_ is now known as tjaalton
=== jussio1 is now known as jussi
* ppisati notices that if you don't read lkml on a daily basis, the associated folder tends to explode...08:04
apwmorning ...09:02
cooloneyapw: morning, i'm trying to add 'ln -s' workaround in lxc-start-ephemeral09:57
cooloneyapw: i don't fully understand where shall i add this 'ln -s', upper or lower. i think it should be lower directory 09:59
apwcooloney, well if it is in the lower then its a one off thing09:59
apwcooloney, though as its a bodge, in the upper seems fine09:59
cooloneyapw: cd ${upper}; ln -s rootfs / ?10:03
apwln -s . rootfs10:04
apwi'd guess, as we want /rootfs to mean /10:04
cooloneyapw: oh, i tried that. actually it doesn't work,10:14
apwand why does it not work ?10:14
cooloneyapw: rootfs will be an endless loop point10:14
apw?10:14
apwif you ln -s . rootfs it cannot be an endless loop10:14
apwi assume we end up with /rootfs in the names because somewhere you have a rootfs directory (a real directory) which is used to build the fake namespace10:17
apwinside that directory we need to add the link, not replace it10:17
apwas a test i would try and run "ln -s . rootfs; ls -ld /etc /rootfs/etc" as the command payload for an ephemeral lxc start thing10:18
apwcooloney, ^^10:18
apwand see what that produces10:19
cooloneyso in upper there is rootfs -> .10:19
apwok that sounds right10:19
apwso what does ls -ld /etc /rootfs/etc do in that10:19
cooloneyit looks like overwrite the real directory in lower, 10:19
cooloneyoh, the lxc hangs in the middle10:20
apwwhats in rootfs in lower ?10:20
cooloney$ ls /var/lib/lxc/p110:20
cooloneyconfig  fstab  rootfs10:20
cooloneythis is lower10:20
cooloneyrootfs is a directory containing everything for lxc container10:21
apwok get rid of the symlink in upper10:21
apwand ln -s . /var/lib/lx/p1/rootfs/rootfs10:21
apwand try that10:21
cooloneyafter i added a link in upper named rootfs, it probably overwrite this real one10:21
apwyeah i don't want the top rootfs replaced i want to add rootfs/rootfs effectivly as a link10:22
apwso remove the upper one for now, and add the lower one and tell me waht that does10:22
apwnote the double rootfs at the end10:22
apwcooloney, ^^10:24
cooloneycd ${upper} sudo ln -s . ${lower}/rootfs/rootfs cd -10:25
apw?10:25
cooloneyapw: i added this 10:25
apwno that is in upper10:25
cooloneyoh, sorry10:25
apwactually that might be in lower, as its absolute10:26
apwso you don't need the cd10:26
apwln -s . ${lower}/rootfs/rootfs10:26
apwlooks right10:26
apwcooloney, and ?  does it work /10:27
apw?10:27
cooloneyapw: oh, no, i got the same error with /rootfs10:28
apwok10:28
apwactually which error10:28
apwthis directory /var/lib/lx/p1/rootfs, is it persistant?  always there?10:29
cooloneyhttp://pastebin.ubuntu.com/1144614/10:29
cooloneyapw: yeah, always there10:29
cooloneysince lower is a real directory10:29
apwok rathan than putting it in the ephermal scripts like you are10:30
cooloneyit might be ln -s rootfs ${lower}/rootfs/rootfs10:30
apwremove that change, and run: ln -s . /var/lib/lx/p1/rootfs/rootfs in the real filesystem10:30
apwoutside of the container10:30
apwthen paste me the ls -l /var/lib/lx/p1/rootfs10:31
=== yofel_ is now known as yofel
cooloneyroc@roc-desktop:~$ sudo ln -s . /var/lib/lxc/p1/rootfs/rootfs10:34
cooloneyroc@roc-desktop:~$ sudo ls -l /var/lib/lxc/p1/rootfs/10:34
cooloneytotal 8010:34
cooloneydrwxr-xr-x  2 root root 4096 Aug  2 11:52 bin10:34
cooloneydrwxr-xr-x  2 root root 4096 Jul  4 02:01 boot10:34
cooloneydrwxr-xr-x  3 root root 4096 Aug  2 11:51 dev10:34
cooloneydrwxr-xr-x 63 root root 4096 Aug  2 11:54 etc10:34
cooloneydrwxr-xr-x  3 root root 4096 Aug  2 11:54 home10:34
cooloneydrwxr-xr-x 12 root root 4096 Aug  2 11:52 lib10:34
cooloneydrwxr-xr-x  2 root root 4096 Aug  2 11:49 lib6410:34
cooloneydrwxr-xr-x  2 root root 4096 Aug  2 11:48 media10:34
cooloneydrwxr-xr-x  2 root root 4096 Jul  4 02:01 mnt10:34
cooloneydrwxr-xr-x  2 root root 4096 Aug  2 11:48 opt10:34
cooloneydrwxr-xr-x  2 root root 4096 Jul  4 02:01 proc10:34
cooloneydrwx------  2 root root 4096 Aug  2 11:48 root10:35
cooloneylrwxrwxrwx  1 root root    1 Aug 13 18:33 rootfs -> .10:35
cooloneydrwxr-xr-x  6 root root 4096 Aug  2 11:52 run10:35
cooloneydrwxr-xr-x  2 root root 4096 Aug  2 11:53 sbin10:35
cooloneydrwxr-xr-x  2 root root 4096 Jun 12 02:36 selinux10:35
cooloneydrwxr-xr-x  2 root root 4096 Aug  2 11:48 srv10:35
cooloneydrwxr-xr-x  2 root root 4096 Jul 21 10:42 sys10:35
cooloneydrwxrwxrwt  2 root root 4096 Aug  2 11:53 tmp10:35
cooloneydrwxr-xr-x 10 root root 4096 Aug  2 11:48 usr10:35
cooloneydrwxr-xr-x 11 root root 4096 Aug  2 11:48 var10:35
cooloneyapw: ^^^10:35
cooloneylooks like it is right.10:37
* ppisati hates debian packaging...10:37
cooloneyapw: but the output still has /rootfs/ prefix10:38
apwcooloney, the output matters not, as long as the path whatever it is points to the right place10:45
apwso as long as ls -l /proc/$$/fds10:46
apwas long as those paths wrong though they are with /rootfs on the front now validly point to the right file10:46
apwwhich they should as the symlink effectivly strips the prefix (makes it point to the same as /) we should be safe10:46
apwdoes the container work right with it like that10:48
* apw has to nip out for an hour ... will check back in when he gets back10:48
cooloneyapw: http://pastebin.ubuntu.com/1144648/10:51
* henrix -> lunch11:49
dilekshi14:13
dilekscan someone enlighten me why umask 0022 is not working as expected?14:14
dilekssee this with linux-{3.5.1,3.6-rc1,next-201213}14:14
dilekshttp://nopaste.snit.ch/15662914:14
dilekschmod 755 looks like the workaround14:15
* dileks wants to understand14:15
dilekslooks like I have to umask on ${MOD_ROOT_FILES_DIR}14:22
dileksformerly I could do umask 0022 $local-git-repo14:24
* ogasawara back in 2014:52
jsalisburybjf, henrix, herton possible regression with 3.2.0-29.  bug 103559015:30
ubot2Launchpad bug 1035590 in linux "Kernel update on 10 Aug 2012 affects nm-applet signal strength" [Medium,Confirmed] https://launchpad.net/bugs/103559015:30
hggdhogra_: there?15:35
hertonjsalisbury, ack. Only direct change to ipw drivers was "net/wireless: ipw2x00: add supported cipher suites to wiphy initialization"15:36
jsalisburyherton, I also added the network-manager package to the bug for their review15:37
hertonI wonder if nm is trying to use now nl80211 because of that change, and that doesn't work well with this driver15:39
henrixyeah, it could be just a gui thing. it's not clear from the bug if the card actually works or not15:40
henrix(gui or nm)15:40
ogra_hggdh, whats up ?16:11
hggdhogra_: have you tried today's image for quantal-server armhf+omap4? On one machine (the lab, with the uboot) it loops on 'detecting hardware to find CDROM', on another (no preseed, manual) goes thru the language selection, then nothing16:21
hggdhon the loop: I ^C, see a message about seg fault, and hardware detection restarts16:21
hggdhsame thing on the manual, it seems16:22
ogra_well, i just tested desktop an that explodes as well but in ubiquity16:26
ogra_hggdh, bug 1028905 for cdrom-detect ... try if wiping the partition table on the target disk helps16:27
ubot2Launchpad bug 1028905 in cdrom-detect "cdrom-detect in quantal omap4 hangs trying to look for install media on an extended partition" [High,Confirmed] https://launchpad.net/bugs/102890516:27
hggdhoh crap, forgot about this one16:27
ogra_i'll try to nail it down this week16:29
ogra_butu first i need a usable desktop install to test a kernel 16:29
ogra_*but16:29
hggdhogra_: yes indeed, it is the extended partition 16:31
=== skaet_ is now known as skaet
Kanohi apw , why was aufs patched but not enabled?16:51
apwKano, for the same reason we patch it every cycle, because if we don't need to we do not want to enable it16:52
Kanoi would like it to be enabled by default16:52
Kanowhere is the dsc for the -10 package?16:52
apwKano, in the archive ?16:58
Kanoyes16:58
Kanoi only see 916:58
Kanook, found it on https://launchpad.net/ubuntu/+source/linux/16:59
elmohey, do we have quantal kernels for precise yet at all?  even in testing stages17:37
elmoI'm trying debs from quantal directly and not having a huge amount of luck17:37
bjfelmo: https://launchpad.net/~ubuntu-x-swat/+archive/q-lts-backport17:40
bjfelmo: there be kernels there17:41
elmobjf: thanks, will try that17:41
elmobjf: interesting17:49
elmobjf: so, the linux-image-3.5.0-9-generic in quantal doesn't have a hpsa.ko despite having it as =m in the /boot/config file17:49
elmobjf: but the PPA deb *does* have the hpsa.ko17:49
elmoand hpsa is what gives me my root file system, so ...17:50
bjfelmo, so you are golden because you are using the ppa which has the module you need right?17:57
elmobjf: sure sure17:57
elmobjf: but I suspect if I was using quantal (userspace + kernel); the machine wouldn't boot17:57
elmobjf: but I don't have time to (dis)prove that theory right now, so I'll wave my hands and assume you guys have that under control17:58
bjfelmo, ah, that was your point 17:58
bjfelmo, a bug on that would be nice17:58
elmobjf: ok, will file one in a sec17:59
elmojust got to quickly see if quantal fixes all my OCZ SSD woes17:59
=== tyhicks` is now known as tyhicks
ogasawaraelmo: by chance, when you were installing the .debs from quantal directly, did you make sure to install the linux-image-extra deb?18:03
ogasawara$ dpkg -c linux-image-extra-3.5.0-9-generic_3.5.0-9.9_amd64.deb | grep "hpsa"18:03
ogasawara-rw-r--r-- root/root     97080 2012-08-09 07:16 ./lib/modules/3.5.0-9-generic/kernel/drivers/scsi/hpsa.ko18:03
Kanoelmo: what ocz problems? which drive18:05
elmoogasawara: I was, I didn't18:06
elmoogasawara: forgive my ignorance, but why are drivers split out into -extra?18:08
ogasawaraelmo: we slit the -generic package so that we could eliminate maintaining a separate -virtual flavor.  so the linux-image is a paired down offering for vm's, linux-image-extra provides everything else, so most will want both installed.18:09
elmoogasawara: ah, I see.  so PEBKAC, then, no bug needed.  thanks for explaining18:09
elmo0b:00.0 SCSI storage controller: OCZ Technology Group, Inc. Device 1044 (rev 02)18:10
elmoKano: ^-- those; they spass out when more than one is in a given box at the same time18:10
elmounfortunately, the OCZ binary driver works in that case, but the mvsas driver does not18:10
elmoI was hoping quantal's 3.5.xx might fix it, but it doesn't18:10
Kanoelmo: a pci-e ocz?18:11
elmoKano: yes18:11
Kanoi only have got ocz via sata18:11
Kanowhats the pci-id? lspci -vnn18:11
elmoKano: http://paste.ubuntu.com/1145316/18:12
elmoor http://paste.ubuntu.com/1145320/ (as root)18:13
Kanohttp://www.spinics.net/lists/linux-scsi/msg54932.html18:14
Kanohmm thats the part you could write a bug report18:14
Kanodo you use latest firmware?18:14
Kanomvsas is the driver18:15
Kanobtw. did you look at modinfo mysas18:16
Kanothat driver has got 2 modes18:16
micahgjsalisbury: you marked bug 1036063 as triaged, do you need more information from me or not?18:24
ubot2Launchpad bug 1036063 in linux "BUG: soft lockup - CPU#4 stuck for 22s! [rm:30630]" [High,Triaged] https://launchpad.net/bugs/103606318:24
Kanoapw: i reenabled the aufs module, now it fails on hash check (after renameing 9.9 to 10.10 for as 10.10kanotix1)19:29
Kanoapw: how to fix that19:30
apwKano, hash check?19:30
Kanoapw: http://paste.debian.net/183416/19:31
apwKano, what does debian/rules printenv say19:33
* apw suspects you have not pulled a real 10.10 ABI into your package19:33
Kanono i just renamed 9.9 to 10.10 because it failed 19:33
Kanowget -qO- 'http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-quantal.git;a=patch;h=eddf18835fe46235ed6800ff80b88251a390b84b'|sed s/8.8/9.9/g|patch -Rp119:34
apwthen its saying what it should that the ABI is changed, you either need a real abi or to disable it for your build 'skipabi=true'19:34
Kanoi did that, then moved 9.9 to 10.1019:34
apwabi is not disabled it its failing19:34
Kanohttp://paste.debian.net/183417/19:35
apwif you just renames 9.9 to 10.10 thats not going to work19:35
apwyou need to turn of the abi check or get accurate abi files19:35
Kanoso how to do it?19:35
apwskipabi=true19:35
Kanoand then?19:36
apwthen it won't do the check19:36
apwand you need to build it again19:36
Kanoand when i want to update the check?19:36
apwupdate the check?19:36
Kanowell the way you do it19:36
Kanohow would you enable aufs?19:37
apwi would use getabis to pull the abi information, but as you are going to then end up with a failed abi check because you need it to be called 10.10xxx1 you need to disable the check19:39
Kanobut when i compile it twice?19:39
apwno just add skipabi=true19:40
apwand build it just once19:40
Kanoi want to build it with pbuilder19:41
apwso add skipabi in the arch.mk files19:41
Kanoand how do you update it?19:41
apwupdate what19:42
Kanothe abi check19:42
apwif you mean the abi, if you update it you will have to make your version 11.1019:42
apwand the you will be newer than our 11.1119:43
apwand your versioning will go to hell19:43
Kanohmm19:43
Kanocant you just enable aufs by default ;)19:43
apwheh19:44
=== rsalveti` is now known as rsalveti

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