You are not logged in.

#176 2011-01-25 11:19:57

andrews
Member
Registered: 2010-08-28
Posts: 25

Re: Latest udev causes kernel panics (something about libata)

Installed kernel26 2.6.36.3-2 from http://dev.archlinux.org/~tpowa/kernel26/
Normal boot and dvd usage with udev-165, maybe need more testing but looks fine.

Offline

#177 2011-01-25 11:42:55

hammer
Member
Registered: 2011-01-24
Posts: 28

Re: Latest udev causes kernel panics (something about libata)

net147 wrote:

Patched kernel26 2.6.36.3-2 packages for testing here: http://dev.archlinux.org/~tpowa/kernel26/
Reference: http://mailman.archlinux.org/pipermail/ … 18180.html

How many days does it take to be included in non-testing repos?Approximately...:)

Offline

#178 2011-01-25 12:48:02

phucnguyen
Member
Registered: 2011-01-24
Posts: 5

Re: Latest udev causes kernel panics (something about libata)

darkbeanies wrote:

How to fix problem:

Download following package:

http://schlunix.org/archlinux/core/os/i … pkg.tar.xz

64 bit people: replace "i686" with "x86_64" without the quotes, ha ha...)

Gnome users-you need to downgrade upower, get it here:   http://schlunix.org/archlinux/extra/os/ … pkg.tar.xz

Open terminal and navigate to wherever you downloaded the packages.

If you're downgrading upower , run this command first:

sudo pacman -U upower-0.9.7-2-i686.pkg.tar.xz

Then:

sudo pacman -U udev-164-3-i686.pkg.tar.xz

Then do:

sudo mkinitcpio -p kernel26

This seems to work (5 reboots without error so far...)

Thanks darkbeanies!

Offline

#179 2011-01-25 13:57:51

hammer
Member
Registered: 2011-01-24
Posts: 28

Re: Latest udev causes kernel panics (something about libata)

Thanks too...first (re)boot without problems after one week or so:D

Offline

#180 2011-01-25 16:59:54

soundman
Member
From: Istanbul, Turkey
Registered: 2010-06-05
Posts: 17

Re: Latest udev causes kernel panics (something about libata)

Bug closed.

Closed by  Tobias Powalowski (tpowa)
Monday, 24 January 2011, 20:46 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  patch added to all kernels

Offline

#181 2011-01-26 11:53:52

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: Latest udev causes kernel panics (something about libata)

> patch added to all kernels

Looks like patched kernel is not in repositories yet, right? I got 2.6.36.3-1 and kernel panics occure sometimes on boot.

Offline

#182 2011-01-26 12:09:35

net147
Member
Registered: 2010-04-16
Posts: 8

Re: Latest udev causes kernel panics (something about libata)

Mr. Alex wrote:

> patch added to all kernels

Looks like patched kernel is not in repositories yet, right? I got 2.6.36.3-1 and kernel panics occure sometimes on boot.

It is now.

Offline

#183 2011-01-26 12:13:41

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: Latest udev causes kernel panics (something about libata)

What's the version of patched kernel?

Offline

#184 2011-01-26 12:16:15

net147
Member
Registered: 2010-04-16
Posts: 8

Re: Latest udev causes kernel panics (something about libata)

Mr. Alex wrote:

What's the version of patched kernel?

kernel26 2.6.36.3-2
kernel26-lts 2.6.32.28-2

Reference:
http://www.archlinux.org/packages/?sort … =&limit=50

Offline

#185 2011-01-26 12:24:19

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: Latest udev causes kernel panics (something about libata)

So it came out just today. Probably that's why I still can't update it - not in close mirror yet.

Offline

#186 2011-01-26 12:27:00

net147
Member
Registered: 2010-04-16
Posts: 8

Re: Latest udev causes kernel panics (something about libata)

It's available for me on the mirrors.kernel.org mirror.

Offline

#187 2011-01-26 14:02:11

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Latest udev causes kernel panics (something about libata)

Is this patch going to be included in the next kernel patch at kernel.org?

Offline

#188 2011-01-26 15:29:42

Kilzool
Member
From: Ireland
Registered: 2010-08-04
Posts: 232

Re: Latest udev causes kernel panics (something about libata)

Hallelujah.  Glad that is fixed.

# pacman -Syu   

[2011-01-26 10:12] upgraded kernel26 (2.6.36.3-1 -> 2.6.36.3-2)
[2011-01-26 10:12] upgraded kernel26-headers (2.6.36.3-1 -> 2.6.36.3-2)


woohoo.. Now I can get Udev 165 and Upower.

TO ME: That kernel panic bug was like a broken intersection light.

Last edited by Kilzool (2011-01-26 15:31:17)

Offline

#189 2011-01-26 20:16:18

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: Latest udev causes kernel panics (something about libata)

The kernel panics might be fixed (though I never had those anyway) but I've still got the udev-165-related problem with detection of my sata DVD drive.

kernel26 2.6.36.3-2 / udev-165-1:

Jan 26 19:58:16 localhost kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Jan 26 19:58:16 localhost kernel: ata3.00: failed command: IDENTIFY PACKET DEVICE
Jan 26 19:58:16 localhost kernel: ata3.00: cmd a1/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
Jan 26 19:58:16 localhost kernel: res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Jan 26 19:58:16 localhost kernel: ata3.00: status: { DRDY }
Jan 26 19:58:16 localhost kernel: ata3: hard resetting link
Jan 26 19:58:16 localhost kernel: ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Jan 26 19:58:16 localhost kernel: ata3.00: configured for UDMA/100
Jan 26 19:58:16 localhost kernel: ata3: EH complete

and an extra long wait while udev uevents are processed.

kernel26 2.6.36.3-2 / udev-165 with the "Use ata_id, not scsi_id, on ATAPI devices" commit reverted:

Jan 26 20:00:55 localhost kernel: ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Jan 26 20:00:55 localhost kernel: ata3.00: ATAPI: TSSTcorp CDDVDW SH-S223C, SB03, max UDMA/100
Jan 26 20:00:55 localhost kernel: ata3.00: configured for UDMA/100

and everything normal.  Ho hum.

Offline

#190 2011-01-26 20:34:17

omer666
Member
Registered: 2011-01-26
Posts: 70

Re: Latest udev causes kernel panics (something about libata)

sm4tik wrote:

There's an interesting link in this bug report in case someone hasn't seen it yet.
http://www.linuxquestions.org/questions … en-852843/
Looks like the latest udev isn't such a good idea afterall. I thought it was just bad luck with my new hardware, but am glad to see it isn't so. Though, as comet.berkeley in the other forum says:

If I were a new user I would give up on Linux and go back to Windows...

In the old days we used to make fun of Windows because of the "Blue Screen of Death" would occur so often.

This is exactly what I am seeing now with Linux!

Quite harsh words, but still.. Anyways, it seems that downgrading udev to 164 should be a temporary workaround. I'll post more experiences again once I get my networking problem solved.

One must not be a hater like that, and remember this critical difference between these two operating systems : if something is seriously broken in Arch linux, it will be fixed as soon as possible by the community. There will always be someone who cares. But at Microsoft's offices, they don't care. They will fix the problem according to the schedule, which is normal. After all it is their job, and if that means organisation, it also means that they won't lend a hand 'cause it's a job, and not for the community. And in addition, Microsoft has some Mac Pros if Windows breaks. So they definitely don't care.

Offline

#191 2011-01-26 22:32:42

Painless
Member
Registered: 2006-02-06
Posts: 233

Re: Latest udev causes kernel panics (something about libata)

All working nicely for me now after the latest updates.

I'm glad Arch concentrated on the cause rather than trying to deal with the symptoms.  An holistic distro ...

Thanks to the developers.  big_smile

Offline

#192 2011-01-27 22:01:46

cms07
Member
Registered: 2011-01-01
Posts: 8

Re: Latest udev causes kernel panics (something about libata)

When I downgraded to udev-164-3, I had to downgrade upower as well.

Offline

#193 2011-01-29 01:43:31

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: Latest udev causes kernel panics (something about libata)

Like azleifel I'm also still having problems with SATA drive detection (udev165-1, kernel26 2.6.36.3-2).

Offline

#194 2011-01-30 22:36:34

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Latest udev causes kernel panics (something about libata)

Does anyone know if this patch will be included in future versions of a vanilla kernel (kernel.org)?

Offline

#195 2011-01-30 23:01:26

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: Latest udev causes kernel panics (something about libata)

I just updated to kernel26 2.6.37-5, reinstalled the Arch udev-165-1 package and got no errors during boot...only got to sort out a new issue with automounting of removable devices ("Not Authorized") now!

Edit: Posted too soon. Though  "got no errors during boot" was true, I'm still getting the same old "failed command: IDENTIFY PACKET DEVICE" errors when mounting/unmounting a DVD.  Back to using the patched udev again...

Last edited by azleifel (2011-01-31 00:11:16)

Offline

#196 2011-01-31 16:55:06

beerad
Member
Registered: 2011-01-10
Posts: 14

Re: Latest udev causes kernel panics (something about libata)

@archman-cro The patch was submitted to #upstream-fixes and stable. I haven't seen that it's been committed to anyone's git tree yet, but it or something similar is going to have to make it into the current kernel (and stable series). I expect to see it in 2.6.38, but who knows. Whether it's identical to what Tejun Heo posted, and net147 backported, again, who knows..

Offline

#197 2011-01-31 19:21:08

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Latest udev causes kernel panics (something about libata)

beerad, thanks for the explanation. It'd be cool if I could somehow look for the fix when it hits mainline, cause then I won't need to patch the kernel anymore (for a custom kernel). How do the kernel26 maintainers look out for that stuff? How and when do they know a certain patch is useless?

Offline

#198 2011-02-01 16:33:19

beerad
Member
Registered: 2011-01-10
Posts: 14

Re: Latest udev causes kernel panics (something about libata)

Ha, the patch is in 2.6.38-rc3. Just search the ChangeLog for libata. The same for the stable series as they come out. That's probably the simplest method.

Offline

#199 2011-02-01 17:00:05

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Latest udev causes kernel panics (something about libata)

Awesome, thanks!

Offline

#200 2011-02-08 04:26:05

mpz
Member
Registered: 2010-10-14
Posts: 54

Re: Latest udev causes kernel panics (something about libata)

phucnguyen wrote:

I attempted to downgrade udev but got this message

error: failed to prepare transaction (could not satisfy dependencies)
:: upower: requires udev>=165

It turned out there was only 1 version of upower (0.9.8-2). The package was required by gdm and gnome-session.

How do I get around this? Many thanks.

wget http://arm.konnichi.com/extra/os/i686/upower-0.9.7-2-i686.pkg.tar.xz
pacman -U upower-0.9.7-2-i686.pkg.tar.xz

or as appropriate for your build

Offline

Board footer

Powered by FluxBB