Bug 481374
Summary: | udevstart causes kernel oops when udev rpm is installed | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Andrew Elmore <drewelmore> | ||||
Component: | kernel | Assignee: | Cong Wang <amwang> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Martin Jenner <mjenner> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 4.5 | CC: | anderson, esandeen, james.leddy, jrfuller, mmilgram, rkhan, s-taka, tao | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-05-07 22:19:08 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 583726 | ||||||
Attachments: |
|
Description
Andrew Elmore
2009-01-23 20:02:33 UTC
Created attachment 364326 [details]
proposed patch
It seems that in sysfs_readdir(), it operates the list without holding dentry->d_inode->i_sem, so a simple guess would be just adding down(i_sem)/up(i_sem).
NOTE, this patch is _totally_ untested, even without a compiling test. I am sorry for this, because I can't reserve a RHEL4 machine to test (RHTS takes too long time to reserve a machine...).
Can try it?
Created attachment 364327 [details]
updated version
This one is better. Use this.
Hi Andrew, Has this happened since you submitted the bug? How many times? There unfortunately very little information to go on regarding how udev got down that path in the first place. Hello, Andrew, Could you answer James' questions above? Besides, plus mine: 1. how to reproduce it? 2. Did it only occur on one machine? Or every machine? 3. what is the full boot log? Thanks. Hi James, Amerigo, I've seen this bug on several machines within our operations network. In every case, RPMs were being upgraded, and we tracked it down to the udev rpm running udevstart (during which it iterates through /sys). I saw it several times, but was not able to reproduce it on command. thanks, Andrew Thank, Andrew. Mind to try the attached patch? If you just need a patched kernel RPM, just say, I will do. I have a report from another customer (on RHEL4) who produced this same panic signature by running "find" on /sys (In reply to comment #27) > I have a report from another customer (on RHEL4) who produced this same panic > signature by running "find" on /sys How often can you catch it? I remember I also tried to run 'find', but no luck to reproduce. Thanks. Event posted on 12-09-2009 05:12pm JST by mfuruta Hi Takahashi-san, Thank you for your input from your customer! I got your customer's situation that they could not provide vmcore to us and just want to track BZ#481374 only. In this case, that BZ had already been linked to this IT ticket, you can track the BZ on this ticket. Thanks in advance. Regards, Masaki Furuta Internal Status set to 'Waiting on Customer' Status set to: Waiting on Client This event sent from IssueTracker by mfuruta issue 362171 If anyone could provide the steps of reproducing this or test the proposed patch, it would be helpful. I know for my part the customer sees this randomly. I can get them to test the patch though. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. |