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

ohsixwas 2.6.38.10.24 -> 2.6.38.10.25 a no change rebuild?01:12
=== _LibertyZero is now known as LibertyZero
* apw yawns07:55
jk-hey apw08:00
apwjk-, yo ... 08:00
=== smb` is now known as smb
* smb grumbles at udev net rules...08:16
apwsmb, heh what did they do to you today08:23
apw(and moin)08:23
jk-do you have an eth4511 device?08:23
jk-eth5*10^208:24
smbapw, moin :) Well leaving one of my nics named eth0-eth1 which does not help if your interfaces setup wants eth1 or eth008:24
* smb is sadistic and uses bonding08:24
smbprobably more masochistic08:24
apwsmb, you are mad08:24
smbapw, It is that dogfood kind of madness08:25
smbjk-, So not that bad, but still. How do you get that mad numbers?08:26
apwyay lts backports natty hit -proposed08:26
smbapw, and real proposed this time?08:26
smb(as in main)08:26
jk-smb: keep changing the MAC, I guess :) 50-persistent-net should take care of the rest08:26
* jk- wonders how 'random MAC address' ethernet devices are handled by udev08:27
smbIn theory everyone will get a new name right....08:27
apwohsix, i am supprised to see a bump like that in what i assume is the linux-meta package08:27
ohsixapw: apparently it was to include something in the backports, the changelog showed up a few hours later08:27
smbThough that seems to be the purpose as the mac is not really supposed to be different that often08:27
apwohsix, actually no its not, its a backport ...08:29
apw  * Added compat-wireless packages to Natty LBM08:29
apwohsix, ahh you found it08:29
smb\o/ I was able to change a lp status08:30
apwsmb, i wonder if that is cause it still got a high timeout or if they fixed it08:38
smbapw, Sadly it could be either (everybody else not trying to atm or it being fixed)08:39
jk-smb: yeah; but some devices don't have an EEPROM for the MAC, so the driver generates one at probe time08:39
smbjk-, though probably that one should be in the privately usable range, which is ignored for the persistent rules08:40
jk-ahh08:41
jk-thinking++08:41
smbJust saw some skips in there for xen and kvm/quemu driver ids as well08:41
* jk- should read the code rather than making assumptions about it08:41
smb:) As long as it is findable. I seem to fail finding the piece that would actually trigger the renaming...08:42
jk-smb: /etc/udev/rules.d/70-persistent-net.rules08:45
jk-sets NAME=08:45
smbjk-, Well yes, as well as /lib/udev/rules.d/75-persistent-net-generator.rules would set it08:46
jk-but that might not be the issue in your case08:46
jk-yah08:46
jk-smb: it's not something in /etc/network/ ?08:47
smbBut that is setting a shell var. The driver will remain unimpressed unless something tells it a new name...08:47
jk-smb: I thought udev would see that as a new device name, and do the rename?08:48
jk-again, making assumptions here...08:48
smbjk-, Would make the same assumptions that something, somewhere will detect that the name set and the name used are not the same and start the rename08:49
smbThe big question is "where is that hidden"08:49
smbAt least the names of scripts in /etc/network and /lib/udev are not obviously sticking out...08:50
apw# rename interface if needed08:57
apwENV{INTERFACE_NEW}=="?*", NAME="$env{INTERFACE_NEW}"08:57
apwsmb, ^^ i think those two lines cause the rename, and i suspect the actual change may occur in the udev binary08:58
smbapw, Yeah, that sounds like the only possible explanation, cause I could not find anything that remotely looks like doing the job externally.08:59
smbWhich would hint a breakage there when I am left with a ethx-ethy device while the persistent rule section only has either. Sounds like it is forgetting to make a final move09:00
apwsmb thats a bugger and no mistake09:09
lucazadeHi!  I'd like to know if in kernel 3.0 for OO it is included/enabled the support for Gma500 framebuffer09:23
apwlucazade, erm no idea off the top of my head09:51
lucazadeapw, thanks.. I'll give a look :)09:52
ppisatiapw: about our CVE tracker10:28
ppisatiapw: one of the patch i applied in maverick/ti-omap4 had no buglink10:29
ppisatiapw: and i opened one10:29
ppisatiapw: but i don't understand why the CVE page says it affects only the omap4 branch10:29
ppisatiapw: anyway, CVE-2010-329610:29
ubot2ppisati: The cxgb_extension_ioctl function in drivers/net/cxgb3/cxgb3_main.c in the Linux kernel before 2.6.36-rc5 does not properly initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel stack memory via a CHELSIO_GET_QSET_NUM ioctl call. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3296)10:30
ppisatiapw: and here is the LP bug i create: 79543610:30
ppisatiapw: and, while there, can you accpet the maverick nomination? thanks :)10:30
apwbug #79543610:38
ubot2Launchpad bug 795436 in linux-ti-omap4 "CVE 2010-3296" [Undecided,New] https://launchpad.net/bugs/79543610:38
apwppisati, approved10:38
apwppisati, do you mean on the ALL-linux.html page ?10:38
ppisatiyep10:38
ppisatithe cve says "linux before 2.6.36"10:39
apwppisati, if the page is _white_ in that area it means that there is no information to collect, normally that means that the10:39
apwCVE doesn't affect _or_ is already released for that cve on the other branches10:39
apwits a limitation on how that page is generated, and on my list to fix 10:40
ppisatiok10:40
apwmaverick_linux: released (2.6.35-23.36)10:40
apwyeah in the tracker its all 'released' across the board ... so it is missing in the page i scrape to make that combiined one10:41
apwi have a different way to make the page planned, but its not written yet10:41
ppisatiok, no prob10:41
apwtake white to mean "very likely can be ignored" for nwo10:42
apwppisati, ti-omap4 is manually maintained right?10:44
apw(for cves_10:44
tkamppeterI have a problem with USB, seems that my Lenovo laptop is not compatible with the Oneiric kernel. Even directly after reboot "sudo lsusb -vvv" hangs and on the system console I get several message "usb 7-1: device descriptor read/64, error -110" and after some minutes I get "hup 7-0:1.0: unable to enumerate USB device on port 1". Anyone has an idea what happens?11:13
apwtkamppeter, that is possible with the .39 kernel there are a lot of very bad USB fookages about at the moemnt, a lot of them being introduced and fixed by stable updates on all releases11:15
apwtkamppeter, i think they are gone in the 3.0 kernels, but they have install problems cause of the stupid version number so i'd hold off on those as well11:15
tkamppeterapw, I need a working USB quickly to do testing for CUPS development, what should I do?11:16
apwwell you can instlal the just built 3.0 kernel and see if it helps but you may find other problems like ps not being happy when you do11:17
apwi've just had a libc6 upgrade issue due to the version number ... and i have no idea if that machine can even reboot11:17
apwcirtainly reboot into a .39 kernel to do updates11:17
apwtkamppeter, those kernels are in the NEW queue, see the version page for links11:18
tkamppeterapw, perhaps I better boot into .38 first before installing a 3.0.x kernel. But thanks anyway.11:23
Kanohi, is the daily cronjob disabled?11:47
tkamppeterapw, now I have booted into 2.6.38-9 and I have still the same USB problem. Do I have to return to a from-scratch install of Natty to get a dev platform for the printing stack?11:50
apwtkamppeter, i have no idea what the issue if is you have reverted your kernel and its not working.  maybe udev is borked11:50
apwwow Kano is persistant, 40s to get an answer in11:51
tkamppeterapw, is "lsusb" using UDEV?11:51
apwtkamppeter, nope, hmm, oh lsusb is hanging, ... do you have th 38-8 kernle on there ?11:52
apw-9 might have had the stable update which caused all our grief with usb11:52
tkamppeterapw, yes, so will go to that.11:53
tkamppeterapw, booted 2.6.38-8-generic #42-Ubuntu and still the same problem.11:58
apwhrm11:59
apwtkamppeter, when did this last work for you11:59
smbapw, tkamppeter If that helps I am at 2.6.38-10.44 from proposed and lsusb does work. But maybe it could also be of help to try completly power off the machine in question before booting anything...12:01
apwsmb, oh not one of those EC issues ... GAH12:01
smbHm, and this is Natty user-space...12:01
smbprobably not that helpful then12:02
apwi guess lsusb might be foobar12:02
apwnope works here on a half installed OO bog12:02
apwbox12:02
tkamppeterlaptop is Oneiric, the kernel which I am now running must be of Natty times.12:04
tkamppeterWhat are "EC" issues?12:04
smbembedded controller. some piece of hardware controlling/driving a lot of internal things (through acpi)12:05
tkamppeterThe laptop is a Lenovo Thinkpad T400.12:06
smbSo lsusb also seems to work on my server box...12:06
tkamppeterThe USB problem I observed only today.12:06
apwtkamppeter, the embedded controller on some machines have crashed and mad things occur.  the 'fix' has been power off remove battery wait 20 mins and put it back together ... i was scepticle but it worked for me12:06
smb(which is oneiric kernel and user-space)12:06
tkamppeterapw, so I will try. I will restart xchat from another box now.12:07
tkamppeterSo this controller has some memory constantly supplied with power from the battery and also having large backup capacitors to hold data during system reset and battery change?12:10
tkamppeterapw, I am still here, the laptop is running an eternal process.12:13
apwtkamppeter, cirtainly it draws so little that the capacitors in the mchine are enough to keep it alive for some minutes it seems, cking is the expert12:14
tkamppeterapw, smb, I tired the shutdown of my notebook and leaving it without battery for more than 30 minutes, but to no avail, the USB is still broken.13:33
tkamppeterapw, smb, I got a fast "sudo lsusb -vvv" once, then I connected the USB hubs with 10 printers again and it broke again. Seems that connecting many devices is messing up this mysterious memory, but it was never that way before. I am still on kernel 38-8.13:35
tkamppeterapw, smb, I hope I do not need a new laptop.13:35
smbtkamppeter, So does anything change when you connect the hub but for test remove some of the printers?13:36
tkamppetersmb, only first hub, no printers, same problem.13:37
smbHm, so without the hub it works but with it, it does not?13:38
smblike a single printer directly to the usb port works or not?13:39
tkamppeteralso the hub removed, same problem.13:39
smbThough you said it was working once without?13:39
ckingbest to boot back to a known working kernel, and try with one device plugged in to sanity check it13:41
smbcking, Right, though he says that 2.6.38-8 used to work and does not seem to anymore13:42
ckingso sounds like a H/W issue to me13:42
tkamppeterYes, before connecting the hub OK, hub+printers broken, hub broken, hub removed, broken.13:42
smbtkamppeter, I would try then rebooting and trying no hub, but one printer13:42
smbWould you have a different usb hub to try?13:43
ckingand if you have another machine sanity check the printer, then the hub with it.13:43
smbAlso, depending on whether the hub is active can sometimes help to disconnect that from everything13:44
ckinggood point13:44
apwogasawara, i am holding off on uploading linux-meta becuase my machine here is having trouble installing libc with the 2 digit kernel installed14:47
ogasawaraapw: ack14:47
apwright now i am not at all sure how to get out of my hole14:48
ogasawaraapw: is that a warning that I shouldn't try testing14:49
apwi wouldn't upgrade to oneiric with that kernel as the runnig one14:49
apwi have a mahcine half upgraded with libc6 half installed14:49
apwi suspect rebooting will not be a winning plan14:50
apwas to how to get out of it with a half installed package which won't install ... erm14:50
tkamppetersmb, apw, now I have rebooted without any hub or printer connected and the problem persists. 15:09
tkamppetersmb, apw, if this is really from a broken piece of hardware this would mean that this piece of hardware is messing up the memory of the USB subsystem, breaking it down until the system gets neutralized again (30 min without battery).15:11
apwcking, that sounds like you magic EC loses its mind fix ... scarey15:13
smbtkamppeter, Unfortunately that can happen. I got one older desktop that sometimes gets into that state. Removing all power is simpler there, though. 15:13
smbNot sure whether 30mins without battery are really needed15:13
apwcking, can you rmember what the rules are if you over current a USB port.  i seem to remember they can stay disabled forever15:13
apw"forever" meaning until power is removed ...15:14
ckingapw, I'm not sure - I don't know much about USB.15:15
tkamppeterapw, smb, the USB port seems not to be disabled. lsusb -vvv finishes after a timeout of some minutes and all printers are visible after that.15:15
ckingThis is what I googled: "On a laptop, a "power bug" chip is used. That is an 8 pin DIP15:18
ckingchip. It has a precision current sense inside. If the current15:18
ckingexceeds 500mA, some FET transistors inside turn off the power15:18
ckingfeeding the USB port. At the same time, a logic signal from the15:18
ckingpower bug, is sent to one of the OC# pins on the Southbridge.15:18
ckingAs a result, the laptop doesn't need a fuse."15:18
ckingso it should only last until one powers the box off15:19
apwcking, thanks :)15:19
tkamppetercking, thanks.15:20
ckingon a desktop, a polyfuse is used, which may need a long while to cool off before being re-usable15:21
tkamppeterstrange is that the USB plug in which always have the hubs with the printers I is on bus #1. the internal hub which makes lsusb -vvv hanging for several minutes is bus #7, device #1.15:22
ckinghttp://www.pcreview.co.uk/forums/usb-overcurrent-status-detected-t4032559.html15:22
apwtkamppeter, and what is that device when it finally tells you15:23
tkamppeterAlso the plug is still working after once having obtained the hanging "lsusb -vvv".15:23
apwperhaps something else is broke, on that bus15:24
tkamppeterapw: "sudo lsusb -vvv" tells15:24
apwtkamppeter, you know it worked on maverick yes ?15:24
tkamppeterBus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub15:24
apwso perhaps boot a maverick livecd and see if it still does work there15:24
tkamppeteras the start of the new entry, then it hangs for several minutes and continues afterwards.15:25
apwso that sounds like there is something on that bus, but its not working hmmm15:26
tkamppeterapw, I am running now another "sudo lsusb -vvv" capturing the output, to see what happens after the timeout.15:27
apwif you have a place you really know it worked, i think a livecd at that level to confirm if its bug or h/w15:27
ckingor both perhaps?15:28
tkamppeterapw, after the timeout, the broken device's properties are shown normally and no error message is shown. After that the entries of the remaining devices is shown with normal speed.15:29
smbapw, cking Could it "think" that something is connected but there is not anything for real? Or something broken indeed. Hard to tell.15:36
ckingsmb, it's hard to tell at this point15:36
=== fairuz is now known as fairuz_
tkamppeterapw, smb, cking, now I am on Oneiric with the default kernel, all hubs and printers disconnected, shut down the system, taken out the battery for some seconds, booted into said OS. Added back the hubs and printers one by one, tested after each device. Everything perfect as long as the HP LaserJet 1020 is not connected. System even recovers after having connected and removed the LaserJet 1020 (LJ 1020 directly on computer, all the other16:25
tkamppeter printers on hubs as before).16:25
jdstrandogasawara: hey, I wonder if 760131 and 751689 are related in any way...16:40
jdstrandogasawara: nothing to do there, just a thought16:40
apwbug 760131 bug 16:52
ubot2Launchpad bug 760131 in ubuntu-release-notes "Power consumption raised significantly in natty" [Undecided,Fix released] https://launchpad.net/bugs/76013116:52
apwbug 75168916:52
ubot2Launchpad bug 751689 in linux "Thinkpad x201* overheats due to slow fans when on 'auto'" [Critical,Confirmed] https://launchpad.net/bugs/75168916:52
apwjdstrand, maybe the issue is made visible by the clear heating we see with out the fix for the former, but clearly its still a bug somewhere in the latter case, likely bios16:52
jdstrandmake sense16:54
tkamppeterapw, smb, cking, all is working now for me as long as the LaserJet 1020 is not connected and even returns when disconnecting the LaserJet 1020. On two Natty boxes the LaserJet 1020 works without any problem.17:47
tkamppeterapw, smb, cking, thank you very much for your help.17:48
tkamppeterapw, smb, cking, and it seems that taking out the battery for some seconds is enough to reset the EC.17:48
ckingcool17:57
=== rsalveti` is now known as rsalveti
vishhi, i'm trying to kernel bisect and i'm following instructions from https://wiki.ubuntu.com/Kernel/KernelBisection , but after i did a $ git checkout -b mybisect origin/master , i dont have a debian.master/changelog file to add the changelog entry19:06
vish(there is no debian folder too)19:07
vishhow do i get to build the bisected kernel?19:07
jjohansenvish: what kernel did you clone?19:11
vishmaverick19:11
jjohansenvish: if you do19:12
jjohansengit checkout master19:12
jjohansendo have a debian folder then?19:12
vishoh! , /me tries19:12
vishjjohansen: woot! yea, now i have the debian folders,  so would that give me the bisected kernel or the master..  or do i just have to continue as in the wiki?19:15
jjohansenvish: making the branch just makes it so you don't mess up the master branch, if you don't care, you can do it on master.  If you need to fix master you can always do19:16
jjohansengit checkout -f19:16
jjohansengit reset --hard origin/master19:16
vishjjohansen: nah, i dont care about the master.. i'm just trying to bisect to find the commit, and i need to build the deb.. so, i can just skip the " $ git checkout -b mybisect origin/master " part of the wiki and work on the master right?19:18
jjohansenyes19:19
vishjjohansen: thanks.. :)19:19
* bjf -> lunch19:20
=== bjf is now known as bjf-afk
Kanohi, why way module-init-tools raised to 3.13-1-u? i had no problems using 3.12-119:39
Kanoand even the lenny version was enough in my tests19:40
Kanowhich is 3.4...19:40
Kanoa bit stupid to use those depends on mainline19:41
Kanoyou compile the kernel in hardy chroot but depend on a oneric package....19:43
Kanoi can patch that on the fly but it is a stupid thing...19:58
=== yofel_ is now known as yofel
=== bjf-afk is now known as bjf
=== kentb is now known as kentb-out

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