Post #327,287
6/3/10 10:51:48 AM
|
How long should a kernel upgrade take
I had a kernel upgrade listed today. Applied it, and it's been taking forever. It sat at Generating grub.cfg ... for at least 10 minutes. Then
Found linux image: /boot/vmlinuz-2.6.32-22-generic
Found initrd image: /boot/initrd.img-2.6.32-22-generic
for at least 20, and
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
for about a half-hour so far. Is this normal?
--
Drew
|
Post #327,289
6/3/10 10:57:08 AM
|
looks broken to me
let it sit for a whime then reboot. Get into the grub menu, choose the latest and see if it will boot
|
Post #327,290
6/3/10 11:01:08 AM
|
Killed dpkg ... Update Manager trying to recover
We'll see how this goes.
--
Drew
|
Post #327,317
6/3/10 6:36:22 PM
6/3/10 6:39:29 PM
|
Re: How long should a kernel upgrade take
never mind.
Just ignore me.
I hope box is willing to drive up to Cleveland to help you out.
Edited by folkert
June 3, 2010, 06:39:29 PM EDT
|
Post #327,326
6/3/10 8:32:49 PM
|
gonna hafta wait until my sister moves there
streetsboro close by?
|
Post #327,328
6/3/10 9:07:06 PM
|
Look at the edit.
|
Post #327,330
6/3/10 9:35:31 PM
|
I did
way too many kernels, 3 is plenty and static had a good point if /boot is a separate partition and nearly full more problems.
|
Post #327,332
6/3/10 9:49:10 PM
|
I've had /boot fill right up before.
Not pretty. The initrd tools don't know how to handle that situation. :-(
Wade.
Q:Is it proper to eat cheeseburgers with your fingers? A:No, the fingers should be eaten separately.
|
Post #327,322
6/3/10 7:48:20 PM
|
Is /boot on its own partition?
If so, and it's getting full, then you'll get a slowdown at that point.
Wade.
Q:Is it proper to eat cheeseburgers with your fingers? A:No, the fingers should be eaten separately.
|
Post #327,334
6/3/10 10:07:36 PM
|
Nope
Hmm ...
** (synaptic:26243): WARNING **: no statusfd changes/content updates in terminal for 120 seconds
** (synaptic:26243): WARNING **: TerminalTimeout in step: Preparing linux-image-2.6.32-22-generic
--
Drew
|
Post #327,335
6/3/10 11:22:03 PM
|
Oh dear.
I think you've found the current major kernel bug.
There seems a problem in the scheduler that has been cropping up under some not very well defined load patterns that starves processes of scheduling time (it has to do with process priority). There are several bugs on Ubuntu's launchpad about it and a few threads on LKML, too. What I read a few days suggests the kernel programmers might have an idea what it is, but I didn't see a definitive fix, either. And then it has to trickle down to the distros. :-(
Wade.
Q:Is it proper to eat cheeseburgers with your fingers? A:No, the fingers should be eaten separately.
|
Post #327,341
6/3/10 11:56:54 PM
|
Current kernel is as-of Apr 28
The problem I'm having is even doing the upgrade.
So now what I'd like to do is just upgrade everything except the kernel. But synaptic won't let me un-mark it.
--
Drew
|
Post #327,352
6/4/10 6:49:13 AM
|
Because its already aprtially installed.
|
Post #327,354
6/4/10 7:17:49 AM
|
Something to try.
You do know about "apt-get -f install" ? Then once that's sorted things out, you can apt-get remove it. :-)
At least synaptic and apt-get share the database 100%. aptitude keeps its own copy of stuff.
Wade.
Q:Is it proper to eat cheeseburgers with your fingers? A:No, the fingers should be eaten separately.
|
Post #327,369
6/4/10 10:06:31 AM
|
Well, I let it churn overnight
And it was still stuck at Found memtest86+ image: /boot/memtest86+.bin
Going to try the '-f install' route and see how that goes.
--
Drew
|
Post #327,373
6/4/10 10:39:50 AM
|
Anything in /var/log/(message,syslog,daemon)
Pertaining to killed items?
|
Post #327,376
6/4/10 10:54:54 AM
|
What the hell?
Jun 4 09:23:32 drook-desktop kernel: [1294365.477612] sd 4:0:0:0: [sdb] Unhandled error code
Jun 4 09:23:32 drook-desktop kernel: [1294365.477619] sd 4:0:0:0: [sdb] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
Jun 4 09:23:32 drook-desktop kernel: [1294365.477625] sd 4:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 7f 00 00 08 00
Jun 4 09:24:02 drook-desktop kernel: [1294396.101035] usb 1-8: reset high speed USB device using ehci_hcd and address 4
Jun 4 09:24:12 drook-desktop kernel: [1294406.344302] usb 1-8: reset high speed USB device using ehci_hcd and address 4
Jun 4 09:24:49 drook-desktop kernel: [1294443.101047] usb 1-8: reset high speed USB device using ehci_hcd and address 4
Jun 4 09:24:59 drook-desktop kernel: [1294453.345155] usb 1-8: reset high speed USB device using ehci_hcd and address 4
Jun 4 09:25:36 drook-desktop kernel: [1294490.101034] usb 1-8: reset high speed USB device using ehci_hcd and address 4
Jun 4 09:25:46 drook-desktop kernel: [1294500.345031] usb 1-8: reset high speed USB device using ehci_hcd and address 4
Jun 4 09:26:23 drook-desktop kernel: [1294537.101040] usb 1-8: reset high speed USB device using ehci_hcd and address 4
Jun 4 09:26:33 drook-desktop kernel: [1294547.345000] usb 1-8: reset high speed USB device using ehci_hcd and address 4
Jun 4 09:27:10 drook-desktop kernel: [1294584.101033] usb 1-8: reset high speed USB device using ehci_hcd and address 4
Jun 4 09:27:20 drook-desktop kernel: [1294594.345036] usb 1-8: reset high speed USB device using ehci_hcd and address 4
Jun 4 09:27:34 drook-desktop pulseaudio[1347]: ratelimit.c: 25777 events suppressed
Jun 4 09:27:39 drook-desktop pulseaudio[1347]: ratelimit.c: 28543 events suppressed
Jun 4 09:27:39 drook-desktop pulseaudio[1347]: protocol-native.c: Failed to push data into queue
Jun 4 09:27:57 drook-desktop pulseaudio[1347]: last message repeated 10 times
That's been repeating over and over for days. I'm guessing the external hard drive I had plugged in didn't unmount properly when I shut it down.
--
Drew
|
Post #327,374
6/4/10 10:41:48 AM
|
also try...
dpkg --remove (package-name)
that shoudl remove the offeding package and then continue on with:
apt-get -f install
|
Post #327,377
6/4/10 10:57:56 AM
|
Well crap
dpkg: error processing linux-image-2.6.32-22-generic (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
--
Drew
|
Post #327,382
6/4/10 1:07:26 PM
|
Well...
maunally install it and it only...
dpkg -i /var/cache/apt/archive/linux-image-2.6.32-22-generic<tab for completion>
Cheers.
You might also want to fixup that USB thinger before you go much further... as that is probably being scanned during the initrd fixup and the grub config.
Which means... plug the damned thing in again.
|
Post #327,388
6/4/10 3:37:35 PM
|
Dunno which did it, but it did
I turned the external drive back on and did the kernel by itself via dpkg. Finished right away. Rest of the upgrade is running now, will see how it goes.
Thanks muchly.
--
Drew
|
Post #327,392
6/4/10 8:22:04 PM
|
OT how far are you from streetsboro OH ?
|
Post #327,397
6/5/10 12:47:13 AM
|
About 28 miles as the crow flies...
Or about 36 miles via the expressways and highways.
|
Post #327,398
6/5/10 2:16:51 AM
|
What he ^^^^^ said
--
Drew
|
Post #327,405
6/5/10 8:08:23 AM
|
cool, will be in the neighborhood late july
give sis a chance to settle in and get unpacked, she should be there end of june
|
Post #327,415
6/5/10 2:11:33 PM
|
Nifty, give us a warning
Umm, I didn't mean that the way it sounded. (Entirely.)
--
Drew
|
Post #327,417
6/5/10 4:58:59 PM
|
yeah, my sis can be a handful :-)
|
Post #327,421
6/5/10 5:33:28 PM
|
Ha! :-)
|
Post #327,422
6/5/10 5:35:00 PM
|
Sorry I didn't mean to over step.
but you know me... mister but-in-ski.
|
Post #327,361
6/4/10 8:39:14 AM
|
can it be nice 'ed?
|
Post #327,367
6/4/10 9:47:52 AM
|
I don't know.
I found a relavant LKML thread the other day, but couldn't today. From memory, it's not that simple. There seems to be other 'priorities' that the scheduler sorts out as well as the nice levels and some things, like i/o, that cause priority shifts. The problem seems to be shifting something too far and that pins some process so far over they get too much scheduler time.
I found a suggestion it might be fixed in 2.6.33.
Wade.
Q:Is it proper to eat cheeseburgers with your fingers? A:No, the fingers should be eaten separately.
|