Bug 158854 - Firewire ohci1394 crash during boot with connected disk
Firewire ohci1394 crash during boot with connected disk
Status: CLOSED CANTFIX
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
:
: 158855 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-26 03:26 EDT by Jan Kratochvil
Modified: 2015-01-04 17:19 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-01-16 15:50:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
syslogd kernel boot log of 2.6.11-1.1363_FC4 (22.81 KB, text/plain)
2005-05-26 22:14 EDT, Jan Kratochvil
no flags Details

  None (edit)
Description Jan Kratochvil 2005-05-26 03:26:36 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050420 Galeon/1.3.20 (Debian package 1.3.20-1)

Description of problem:
During inserted (I was not there) Firewire disk the Linux kernel crashes while booting.


Version-Release number of selected component (if applicable):
kernel-2.6.11-1.1315_FC4

How reproducible:
Didn't try

Steps to Reproduce:
1. Connect FireWire disk.
2. Boot Fedora Core.


Actual Results:  Badness in get_phy_reg at drivers/ieee1394/ohci1394.c:238 (Not tainted)
 [<f8ad1288>] get_phy_reg+0x288/0x28d [ohci1394]
 [freed_request+22/102] freed_request+0x16/0x66
 [<c02902e6>] freed_request+0x16/0x66
 [__blk_put_request+90/116] __blk_put_request+0x5a/0x74
 [<c0291044>] __blk_put_request+0x5a/0x74
 [<f8ad2892>] ohci_devctl+0x618/0xaf6 [ohci1394]
 [common_interrupt+26/32] common_interrupt+0x1a/0x20
 [<c0103c0e>] common_interrupt+0x1a/0x20
 [delay_pmtmr+11/19] delay_pmtmr+0xb/0x13
 [<c011282b>] delay_pmtmr+0xb/0x13
 [<f8ad49d6>] ohci_irq_handler+0x655/0xce2 [ohci1394]
 [acpi_ev_gpe_detect+200/211] acpi_ev_gpe_detect+0xc8/0xd3
 [<c02357b7>] acpi_ev_gpe_detect+0xc8/0xd3
 [handle_IRQ_event+46/90] handle_IRQ_event+0x2e/0x5a
 [<c01506ed>] handle_IRQ_event+0x2e/0x5a
 [__do_IRQ+179/871] __do_IRQ+0xb3/0x367
 [<c01507cc>] __do_IRQ+0xb3/0x367
 [do_IRQ+74/130] do_IRQ+0x4a/0x82
 [<c0105b1d>] do_IRQ+0x4a/0x82
 =======================


Expected Results:  Booted Fedora Core.


Additional info:

I do not know more information from this accident. Take it or let it be.
Comment 1 Jan Kratochvil 2005-05-26 03:28:56 EDT
*** Bug 158855 has been marked as a duplicate of this bug. ***
Comment 2 Dave Jones 2005-05-26 21:06:02 EDT
Please try a more recent kernel, there have been firewire updates since then.
Comment 3 Jan Kratochvil 2005-05-26 22:14:51 EDT
Created attachment 114898 [details]
syslogd kernel boot log of 2.6.11-1.1363_FC4

Retried with: kernel-2.6.11-1.1363_FC4
I found out now the crash is fortunately not fatal, the machine booted.

Please look at the code - in ohci1394.c get_phy_reg() is a race as it is being
called in this crash from IRQ and as the hardware is not yet ready it calls:
mdelay(1);
I did not investigate whether it is incorrect to call this function from IRQ or
call in that function mdelay().

Note You need to log in before you can comment on or make changes to this bug.