Bug 3829 - Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1688
Summary: Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1688
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: SCSI Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Mike Anderson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-29 11:58 UTC by Brice MEALIER
Modified: 2008-03-04 19:24 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.9
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Brice MEALIER 2004-11-29 11:58:20 UTC
Distribution: debian
Hardware Environment: sony vaio + external hd firewire
Software Environment:
Problem Description:

dmesg output when module hangs up:


ieee1394: Error parsing configrom for node 0-00:1023
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: Node added: ID:BUS[0-00:1023]  GUID[0030e0f4e010093d]
sbp2: $Rev: 1219 $ Ben Collins <bcollins@debian.org>
scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: IC35L080  Model: AVVA07-0          Rev:     
  Type:   Direct-Access                      ANSI SCSI revision: 06
SCSI device sda: 160836480 512-byte hdwr sectors (82348 MB)
sda: asking for cache data failed
sda: assuming drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0: p1 p2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
0007527.530: DevMgr_StartCallingTone - Fax element doesn't exist<6>ohci1394: fw-
                                                    host0: AT dma reset ctx=0,
aborting transmission
ieee1394: sbp2: sbp2util_node_write_no_wait failed
ohci1394: fw-host0: AT dma reset ctx=0, aborting transmission
ieee1394: Error parsing configrom for node 0-00:1023
ieee1394: Error parsing configrom for node 0-01:1023
ieee1394: Node suspended: ID:BUS[0-01:1023]  GUID[080046030175f9ea]
ieee1394: Node suspended: ID:BUS[0-00:1023]  GUID[0030e0f4e010093d]
ieee1394: sbp2: aborting sbp2 command
Read (10) 00 02 f7 b3 2f 00 00 f8 00 
ieee1394: sbp2: hpsb_node_write failed.

ieee1394: sbp2: Bus reset in progress - rejecting command
ieee1394: sbp2: aborting sbp2 command
Read (10) 00 02 f7 b4 27 00 00 08 00 
ieee1394: sbp2: hpsb_node_write failed.

ieee1394: sbp2: Bus reset in progress - rejecting command
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: hpsb_node_write failed.

ieee1394: sbp2: Bus reset in progress - rejecting command
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: hpsb_node_write failed.

ieee1394: sbp2: Bus reset in progress - rejecting command
ieee1394: sbp2: Bus reset in progress - rejecting command
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: hpsb_node_write failed.
ieee1394: sbp2: Bus reset in progress - rejecting command
ieee1394: sbp2: Bus reset in progress - rejecting command
scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0
sd 0:0:0:0: Illegal state transition cancel->offline
Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1688
 [<d1307c36>] scsi_device_set_state+0xc6/0x120 [scsi_mod]
 [<d1305594>] scsi_eh_offline_sdevs+0x64/0x80 [scsi_mod]
 [<d1305adc>] scsi_unjam_host+0xcc/0x200 [scsi_mod]
 [<c011a120>] default_wake_function+0x0/0x20
 [<d1305ce1>] scsi_error_handler+0xd1/0x170 [scsi_mod]
 [<d1305c10>] scsi_error_handler+0x0/0x170 [scsi_mod]
 [<c01042b1>] kernel_thread_helper+0x5/0x14
scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0
sd 0:0:0:0: Illegal state transition cancel->offline
Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1688
 [<d1307c36>] scsi_device_set_state+0xc6/0x120 [scsi_mod]
 [<d1305594>] scsi_eh_offline_sdevs+0x64/0x80 [scsi_mod]
 [<d1305adc>] scsi_unjam_host+0xcc/0x200 [scsi_mod]
 [<c011a120>] default_wake_function+0x0/0x20
 [<d1305ce1>] scsi_error_handler+0xd1/0x170 [scsi_mod]
 [<d1305c10>] scsi_error_handler+0x0/0x170 [scsi_mod]
 [<c01042b1>] kernel_thread_helper+0x5/0x14


Then I can not acces the drive anymore!!!


Steps to reproduce:  appears randomly
Comment 1 Matt Zimmerman 2004-12-02 14:15:19 UTC
Looks like a duplicate of bug #3787
Comment 2 Natalie Protasevich 2007-09-19 21:44:21 UTC
Matt, can you update the status on this problem if it exists with current kernel?
Thanks.
Comment 3 Natalie Protasevich 2007-09-19 21:45:20 UTC
Sorry I mean to ask Brice who reported this bug.
Comment 4 Natalie Protasevich 2008-03-04 19:24:12 UTC
I think the bug can be closed, no updates from the reporter.

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