/srv/irclogs.ubuntu.com/2011/10/05/#ubuntu-kernel.txt

=== BenC__ is now known as BenC
=== bigbash is now known as zz_bigbash
=== jj-afk is now known as jjohansen
_rubenjk-: you gave the hint on ls -l /sys/classes/ata_device .. after upgrading the box to maverick and then natty, that became available, but i'm still not seeing how i'd be able to figure out which disk is on ata4?06:37
* jk- looks06:38
_ruben(the upgrades themselves were tricky, plain -server install on a 2G flashdisk, 1.5G /, hadda remove certain packages to free enough space :P)06:40
_rubenwell, plain + contaminations over time ;)06:40
jk-hm, I had assumed the 'id' file would contain something sensible06:46
_rubenjk-: it might, for those fluent in hex ;)07:01
jk-_ruben: oh, mine is all zeros here07:07
_rubenjk-: mine's non-zero for rougly 30$07:08
_ruben30%07:08
jk-_ruben: could be a good question for askubuntu.com07:09
_rubengood idea, will post there07:09
=== smb` is now known as smb
janimojjohansen, apw is the last section of https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide uptodate?07:36
janimoI'd like to import a new tree based on 2.6.38 and I am not sure if cloning the oneiric ubuntu tree is recommended or not07:36
janimoin order to save space07:37
janimothis is the linux-ac100 tree based on an upstream that is not on kernel.org 07:37
apwjanimo, if the repo is going to just be a clone of mainline, then you might want to clone from the linux repo instead of ubuntu07:42
apw(there is a local mirror of that in the ubuntu/ directory too)07:42
janimoapw, not a clone of mainline, but of a gitorious based fork of the chromeos kernel07:42
apwjanimo, the nearest base would be linus there i assume, not ours as we have junk on top07:43
* apw makes sure our linus is up to date ... is now07:43
janimoso clone the bare repo off /srv/kernel.ubuntu.com/git/ubuntu/linux-2.6/ ?07:45
jjohansenjanimo: where is the clone going to live?08:06
janimojjohansen, in git/jani/ubuntu-ac100 . I cloned and moved it there already08:07
janimojust not pushed anything to it yet08:07
jjohansenjanimo: ah okay, yeah I would clone off of something close in /srv08:08
* jjohansen is tired so night *08:13
tkamppeterI have an old 32-bit HP Compaq 12-inch laptop and it does not boot with the 3.0.0-12 kernel, but only with the last Natty kernel. How to report a bug/debug this?09:56
smbtkamppeter, I suppose you still get to the grub screen where you could try to replace "quiet" with "debug" and remove the "splash" to potentially get a bit more output before it gets stuck. Then I would open the bug with "ubuntu-bug linux" from the last working natty boot and edit the description to say it is not booting with 3.011:25
smbIf you can get any messages from the failed boot, those should get added, too11:26
tkamppetersmb, thank I will try. In which files kernel boot messages get logged? And are they conserved if I boot a Natty kernel after the crash?11:51
smbtkamppeter, This depends on how far you actually get in the boot. There may be a good chance that it is not far enough (otherwise those would go into /var/log/syslog). If there is nothing but something on the screen, take a picture and attach the jpeg...11:54
Kanohi, will 3.1-rc9 build soon?12:03
Kanoalso i would like to know when 3.0.6 wil be merged to oneirc (+3 dvb patches)12:03
tkamppetersmb, it seems not to be able to mount the root file system. It says something like12:04
tkamppetersmb, Kernel Panic - Not syncing: VFS: Unable to mount root fs on unknown-block(0,0)12:05
tkamppetersmb, Pid: , comm: swapper Not Tainted 3.0.0-12-generic #19-Ubuntu12:06
tkamppetersmb, sorry, Pid: 1, ...12:06
smbtkamppeter, Hm, does this actually happen quite quickly? I begin to think there may be something wrong with the initrd file12:06
tkamppetersmb, yes, it appears immediately.12:07
tkamppeterSo I have the Grub menu, press 'b' after changing to the debug settings, and the crash output immediately shows up.12:08
smbtkamppeter, When you boot back into natty and check /boot, is there a initrd-3.0.0-12-generic or so12:08
tkamppeterThe Natty kernel (with Oneiric as user space) bootes perfectly.12:08
apwcommit 512228f0be3af44bf5cf6cc5750ddd279bbedaf312:09
apwAuthor: Andi Kleen <ak@linux.intel.com>12:09
smbtkamppeter, Also could it be you got /boot on a different fs (which may be full, thus preventing to have a valid new initrd)12:09
apwDate:   Fri Aug 19 16:15:10 2011 -070012:09
apw    Add a personality to report 2.6.x version numbers12:09
apwuggg12:09
tkamppetertill@till-laptop:~$ ls -l /boot/initrd.img-3.0.0-12-generic 12:09
tkamppeter-rw-r--r-- 1 root root 13585679 2011-10-03 11:10 /boot/initrd.img-3.0.0-12-generic12:09
tkamppetertill@till-laptop:~$ 12:09
tkamppetersmb ^is it a problem that there is only an "initrd.img" file?12:10
smbtkamppeter, No, the filename looks ok12:10
smb(just remembered it wrongly)12:10
tkamppetersmb, no, my /boot is on the root partition and has 2.5G free.12:11
tkamppetertill@till-laptop:~$ df -h /boot12:11
tkamppeterFilesystem            Size  Used Avail Use% Mounted on12:11
tkamppeter/dev/sda7              13G  9.0G  2.5G  79% /12:11
tkamppetertill@till-laptop:~$ 12:11
smbtkamppeter, ok... One thing to try: boot natty and then12:11
smbsudo update-initramfs -u -k 3.0.0-12-generic12:12
smb(I hope)12:12
smband after that a12:12
smbsudo update-grub12:12
tkamppeterOK, did it.12:13
smbtkamppeter, Anything sounded like an error message?12:13
tkamppeterBut now I have a debconf menu.12:13
tkamppeter1. install the package maintainer's version12:13
apwtkamppeter, when you have a prompt find out which driver is running your disks12:13
tkamppeter2. keep the local version currently installed12:13
tkamppeter3. show a side-by-side difference between the versions12:14
apwtkamppeter, does it tell you what this version is of ?12:14
smbapw, Sounds rather like a modified /etc/default/grub12:14
apwyeah could be12:14
tkamppeter4. show a 3-way difference between available versions12:14
tkamppeter5. do a 3-way merge between available versions (experimental)12:14
tkamppeter6. start a new shell to examine the situation12:15
smbtkamppeter, I'd probably look at 3 and see what is changed12:15
smbapw, Just a bit strange that this did not happen on any upgrade before...12:16
tkamppeterapw, smb: It has only two "initrd /boot/initrd.img-3.0.0-12-generic" lines added at two points.12:17
apwthen its not /etc/default/grub12:18
smbtkamppeter, Hrrrm, are you by chance still using grub112:18
apwgrub1 ?!?!12:18
smbapw, If you upgraded only for a long time grub2 is not enforced12:18
apwgurgle12:18
tkamppetersmb, this is possible. The computer is 6 years old and I have never done a fresh install, only updates. It must have gone through 12 Ubuntus.12:19
ogra_iirc there is a wiki howto about manually upgrading to grub2 for such cases12:19
tkamppeterSo I need to upgrade to Grub2, how do I do this?12:19
smbtkamppeter, And if you use grub one, better say take maintainers version12:20
smb(cause if one once says stick with mine, then you stick forever...)12:20
ogra_https://help.ubuntu.com/community/Grub2#Upgrading_to_GRUB_2_From_GRUB12:20
tkamppetersmb, I have done so. No more prompts, should I try to reboot?12:21
tkamppeterogra_, thanks.12:21
smbtkamppeter, You could do a quick visual check of /boot/grub/menu.cfg12:21
smbwhether it looks sane12:21
smbBut I guess your problem where those two missing initrd lines12:22
tkamppetersmb, i have no /boot/grub/menu.cfg12:27
smbtkamppeter, So yes, for the future, you may want to consider upgrading to grub2. Even if that means learning a new configuration language...12:27
smbtkamppeter, Something starting with menu? Oh, maybe .lst12:28
* smb ususally types menu.<tab>...12:28
tkamppeterok, looks nice, contains many kernels.12:29
smb... grub2 is grub.cfg, so I likely mixed them up12:29
smbtkamppeter, Then try a boot12:29
tkamppetersmb, I am doing so and it seems that it works.12:30
smbtkamppeter, Good, if uname -a of the booted kernel says 3.0.0-12-generic you are good12:31
smbSo it seems for some reason you had the kernel lines but not the initrd ones. 12:32
tkamppetersmb, it booted the new kernel but the user space of Ubuntu 6.10.12:34
smb6.10 ???12:34
* smb wonders how exactly tkamppeter does updates...12:34
tkamppeterIt probably booted a wrong partition. Didi not know that I had such an old partition around.12:36
apwis that _edgy_ ?12:36
tkamppeterCan be, was the first version where I worked at Ubuntu. I started mid-2006.12:37
tkamppeterNatty kernel boots Oneiric.12:37
smbIf I remember the magics of grub1 correctly then, there is a commented out line in menu.lst which says root=<something> which is used as a template for all of the grub entries later...12:37
smbThough I thought that update-grub would take that and make them all boot the same partition somehow. 12:38
smbThough that could be different for anything below a certain "not automatically done" marker somehow12:38
smbBut I have not really looked closely for a long time12:39
* smb thinks maybe one of the magic Colin's may remember out of their head12:40
tkamppeterWhen I go through the boot menu entries and press e for edit on them, both Oneiric and Natty kernels have roo=(0,6).12:40
apwouch12:40
smbapw, Yes that were those dark times without uuid12:41
tkamppeter## default grub root device12:42
tkamppeter## e.g. groot=(hd0,0)12:42
tkamppeter# groot=(hd0,6)12:42
tkamppeterAnd hd0,6 is the edgy partition.12:43
smbHm, right, so one (well at least me) would expect all boot lines to use 0,6 now... 12:43
ogra_apw, 6.10 is dapper (the only 04 release that was delayed ;) )12:44
tkamppeterThe right one is /dev/sda712:44
apwogra_, na that was 6.0612:44
ogra_hrm, we only had one 06 releaase ever12:44
ogra_06.xx i should say12:45
tkamppeterShould I try s/(hd0,6)/(hd0,7)/12:45
ogra_oh, heh, ignore me12:46
* ogra_ needs to not read that RTL12:46
tkamppeterapw, smb: ^^12:46
tgardnerogasawara, this 3.0.6 stable update is giving me some weird crashes on my HP mini-1012:47
smbtkamppeter, I probably would try that on a single boot instance first, then change the groot line and run update-grub again12:47
smbtkamppeter, After you tested the single changed one12:47
smbtkamppeter, It probably asks you then again whether you want to keep your version or take the new one (which then again has to be answered with "the maintainers version212:48
tkamppetersmb, too late, now its broken down, as this old box does not contain anything important any more and has space waisted by unneeded partitions, I should do a from-scratch installation on it.12:50
tkamppetersmb, instead of trying to break Update records. 5 years are enough.12:51
tkamppeterButh thanks anyway.12:51
smbtkamppeter, Well, at least there was not kernel problem... 12:52
ogasawaratgardner: hrm, I've been running it on my adamo and not seeing any issues.  I'll put it on my mini and see if I can reproduce.13:05
tgardnerogasawara, look through your dmesg closely. I've gotten some random oops that weren't reported right away.13:08
apwogra_, 13:11
ogra_thats me !13:11
apwstupid paste13:11
apwthere were two in 0613:11
apwdapper and edgy13:11
ogra_yeah, i read it RTL :)13:11
* ogra_ must have catches a chinese bug or so13:12
ogra_*catched13:12
apwheh13:12
apwtgardner, hey did you push your hardy tree last night, there seems to be a CVE missing from it13:21
tgardnerapw, Everything up-to-date13:21
tgardnerwhats missing ?13:21
apwtgardner, ahhh my fault, i see why its gone wrong13:21
apwjust not told the tracker enough things13:22
tgardnerogasawara, rebased P to v3.1-rc913:53
ogasawaratgardner: awesome thanks13:53
sconklintgardner, I think I understand the versioning stuff now, and I've moved past tilting at that windmill, so we'll move on to fixing the tools.14:21
tgardnersconklin, good. I'll be bisecting the stable update before I publish it in order to find the regression oops I'm having.14:22
ogasawaratgardner: my mini panics on boot and hangs, looks to be somethings with the i915 driver for me14:24
ogasawaratgardner: am going to bisect as well14:24
tgardnerogasawara, so you've got something to keep you busy today :)14:24
ogasawaratgardner: indeed14:25
* apw is glad its not uploaded :)14:25
* ogasawara back in 2014:40
lamonthttp://pastebin.ubuntu.com/702808/ <-- which part of this is surprising (if any...): i915 vs oneiric15:20
tgardnerapw, ogasawara: ^^ more fun with i91515:21
lamontthat system is rather memory constrained, currently has a frozen mouse on a black screen, and thought it was running apport to report lpstat dying on sigsegv15:22
lamontand it looks like apport didn't manage to actually report the segv15:25
=== yofel_ is now known as yofel
cyphermoxhi, could someone please take a look at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/867679 ; see if I'm wrong in my analysis ?17:24
ubot2Launchpad bug 867679 in linux "Network fails after suspend/resume" [Undecided,Confirmed]17:24
ogasawaraapw, tgardner: bisected the panic and hang on boot with my HP-mini17:31
ogasawaracommit c17bcfb52394745dd9100e042031a1eab8442f9c17:31
ogasawaraAuthor: Andy Whitcroft <apw@canonical.com>17:31
ogasawaraDate:   Fri Sep 23 16:50:27 2011 +010017:31
ogasawara    UBUNTU: SAUCE: acpi_init: move to full RCU free for IO mappings17:31
ogasawarareverting that fixes it17:31
tgardnerogasawara, tahts about the same conclusion I was coming to17:32
tgardnerogasawara, since it was purely for performance I vote we revert it and make apw work on it a bit more17:34
ogasawaratgardner: +117:34
tgardnerogasawara, actually, since its still in master-next we could just rebase it out of existence17:35
ogasawaratgardner: that works for me too17:35
tgardnersconklin, did you ever get versioning working so I can create a stable tracking bug for oneiric ?17:38
apwtgardner, ogasawara, yep one reason i was happy it got a bit more testing before upload17:39
apwconcur with rebasing it out of the history, its never been uploaded17:40
sconklintgardner, working on it now. LP staging system is down, so I'm going to have to test on the live LP.17:40
sconklinshould have it for you soon17:40
tgardnerogasawara, pushed master-next without 'UBUNTU: SAUCE: acpi_init: move to full RCU free for IO mappings'17:48
ogasawaratgardner: ack, thanks17:48
tgardnernow, back to testing stable17:49
tgardnerapw, ogasawara, I've been messing with 'make dpkg-deb' in the upstream kernel. It works pretty well for bisecting.18:00
sconklintgardner, it's a little more difficult than I thought. 18:00
ogasawaratgardner: cool, for mainline I usually use apw's mainline-build-once script when bisecting18:01
tgardnerogasawara, I like the upstream method since you don't have to rebuild the whole kernel every time.18:03
* tgardner -> lunch18:06
sconklintgardner, create-stable-tracker should be fixed now, try it. I'm about to fix the other script that is likely also broken (verify-release-ready)18:25
ogasawaracyphermox: just posted a comment to claire's bug.18:34
ogasawaracyphermox: I've got almost identical hardware with respect to wifi, and am unfortunately not seeing any issues after suspend/resume18:35
ogasawarajibel: does your team have access to a Thinkpad X200s?18:41
cyphermoxogasawara: ok. I tried briefly with a X200, but no luck18:44
ogasawaracyphermox: no luck as in suspend/resume is working?18:45
cyphermoxiirc yes, it was working, and I otherwise couldn't see freezes or whatever18:45
cyphermoxbut I don't think it's quite the same ahrdware either18:46
ogasawaracyphermox: I looked in hexr and I think we might have access to similar (possibly identical) hw, but I don't know how to go about getting access to the hw18:47
cyphermoxogasawara: was there an ID or something for it?18:47
ogasawaracyphermox: in hexr, I'm looking at "Lenovo ThinkPad X200s - 7465CTO"18:48
cyphermoxok.18:48
cyphermoxah, looks like someone's own system :)18:50
ogasawaracyphermox: I'll email him and see if he can help test18:52
ogasawaracyphermox: I'll CC you18:52
cyphermoxI'll take another look at stuff, in case I can find other hardware with teh right wifi card that sees this18:52
cyphermoxogasawara: does it make sense though to try fw_restart=0 in case it avoids crashing as it does? I found that as a possible replacement (though not really the same thing) for wd_disable. I'm also curious why that parameter isn't available :)18:56
tgardnersconklin, https://bugs.launchpad.net/bugs/868628 created with your fixes18:57
ubot2Launchpad bug 868628 in linux "Oneiric update to 3.0.6 (3.0.0-13.20) stable release" [Undecided,New]18:57
sconklintgardner, thanks18:57
ogasawaracyphermox: I'd have to review the changes to see why wd_disable isn't available any longer.  you can try fw_restart but I didn't see any firmware issues in clan's logs, did I miss something?18:59
cyphermoxno, don't think you did18:59
cyphermoxbut I was wondering if it wasn't due to what's in the link I added; as in if the firmware gets reloaded on resume, due to the watchdog doing it or any other reason19:01
cyphermoxeven if there really isn't any indication that this is being done19:01
tgardnerogasawara, pushed 3.0.6 stable onto master-next19:10
ogasawaratgardner: cool19:10
* jjohansen -> lunch19:13
=== kentb is now known as kentb-out

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