2.6.39-rc3-git3 crashs after booting
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
(cc's added. Please retain them)
The crash appears to be due to either the scsi or block code.
Quoted 472 lines · On Thu, 14 Apr 2011 04:17:51 -0400 "werner" <[email protected]> wrote:
The problem with the crashs after booting which started with 2.6.39-rc1 continues with 2.6.39-rc3-git3
Pls see enclosed a screen foto
Pls see below also a comparison of the config between
2.6.38.2 , what don't crashs but runs stable. Thus, the
problem are either the general changes from 2.6.38.2 to 2.6.39, or one of the few additional features visible from the diff below.W.Landgraf
SYS-Linux
===========
3,4c3,4
< # Linux/i386 2.6.38.2 Kernel Configuration
< # Mon Mar 28 02:17:05 2011
---Quoted 2 lines
# Linux/i386 2.6.39-rc3-git3 Kernel Configuration
# Thu Apr 14 01:56:21 201151d50
<CONFIG_X86_TRAMPOLINE=y
64d62
<CONFIG_LOCK_KERNEL=y
85a84Quoted 1 line
#
CONFIG_FHANDLEis not set97d95
< #CONFIG_GENERIC_HARDIRQS_NO_DEPRECATEDis not set 99a98Quoted 1 line
CONFIG_GENERIC_IRQ_SHOW=y101,103c100
< #CONFIG_AUTO_IRQ_AFFINITYis not set
< #CONFIG_IRQ_PER_CPUis not set
< #CONFIG_HARDIRQS_SW_RESENDis not set
---Quoted 1 line
CONFIG_IRQ_FORCED_THREADING=y287d283
<CONFIG_X86_CPU=y
411,414d406
<CONFIG_PM=y
< #CONFIG_PM_DEBUGis not set
<CONFIG_PM_SLEEP_SMP=y
<CONFIG_PM_SLEEP=y
416a409Quoted 1 line
CONFIG_HIBERNATE_CALLBACKS=y418a412,413
Quoted 2 lines
CONFIG_PM_SLEEP=yCONFIG_PM_SLEEP_SMP=y420c415,416
<CONFIG_PM_OPS=y
---Quoted 2 lines
CONFIG_PM=y
#CONFIG_PM_DEBUGis not set448a445
Quoted 1 line
#
CONFIG_ACPI_APEI_PCIEAERis not set553,554d549
<CONFIG_OLPC_OPENFIRMWARE=y
<CONFIG_OLPC_OPENFIRMWARE_DT=y
586a582Quoted 1 line
#
CONFIG_RAPIDIOis not set616,618c612
<CONFIG_ASK_IP_FIB_HASH=y
< #CONFIG_IP_FIB_TRIEis not set
<CONFIG_IP_FIB_HASH=y
---Quoted 1 line
#
CONFIG_IP_FIB_TRIE_STATSis not set621a616
Quoted 1 line
CONFIG_IP_ROUTE_CLASSID=y705a701
Quoted 1 line
#
CONFIG_NF_CONNTRACK_TIMESTAMPis not set713a710
Quoted 1 line
CONFIG_NF_CONNTRACK_BROADCAST=m714a712
Quoted 1 line
#
CONFIG_NF_CONNTRACK_SNMPis not set731a730
Quoted 1 line
#
CONFIG_NETFILTER_XT_TARGET_AUDITis not set753a753
Quoted 1 line
#
CONFIG_NETFILTER_XT_MATCH_ADDRTYPEis not set761a762
Quoted 1 line
#
CONFIG_NETFILTER_XT_MATCH_DEVGROUPis not set790a792
Quoted 1 line
#
CONFIG_IP_SETis not set835d836
<CONFIG_IP_NF_MATCH_ADDRTYPE=m
848d848
<CONFIG_NF_NAT_SNMP_BASIC=m
941d940
<CONFIG_TIPC_NODES=255
994d992
<CONFIG_PHONET_PIPECTRLR=y1007a1006Quoted 1 line
#
CONFIG_NET_SCH_SFBis not set1014a1014,1015
Quoted 2 lines
#
CONFIG_NET_SCH_MQPRIOis not set
#CONFIG_NET_SCH_CHOKEis not set
1024d1024
<CONFIG_NET_CLS_ROUTE=y1050a1051Quoted 1 line
CONFIG_RFS_ACCEL=y
1102a1104Quoted 1 line
#
CONFIG_CAN_C_CANis not set1169,1177c1171,1172
<CONFIG_BT_L2CAP=m
<CONFIG_BT_SCO=m
<CONFIG_BT_RFCOMM=m
<CONFIG_BT_RFCOMM_TTY=y
<CONFIG_BT_BNEP=m
<CONFIG_BT_BNEP_MC_FILTER=y
<CONFIG_BT_BNEP_PROTO_FILTER=y
<CONFIG_BT_CMTP=m
<CONFIG_BT_HIDP=m
---Quoted 2 lines
#
CONFIG_BT_L2CAPis not set
#CONFIG_BT_SCOis not set
1199a1195Quoted 1 line
#
CONFIG_BT_WILINKis not set
1266a1263Quoted 1 line
CONFIG_ARCH_NO_SYSDEV_OPS=y
1272d1268
<CONFIG_MTD_CONCAT=y1296a1293Quoted 1 line
#
CONFIG_MTD_SWAPis not set
1355a1353Quoted 1 line
#
CONFIG_MTD_LATCH_ADDRis not set
1392a1391Quoted 1 line
#
CONFIG_MTD_NAND_ECC_BCHis not set1425,1428d1423
<
< #
< # UBI debugging options
< #1444a1440Quoted 1 line
CONFIG_OF_PCI=y
1522a1519Quoted 1 line
CONFIG_SENSORS_LIS3LV02D=m
1572a1570Quoted 1 line
CONFIG_SENSORS_LIS3_I2C=m
1698d1695
< #CONFIG_SCSI_SAS_LIBSAS_DEBUGis not set1706a1704Quoted 1 line
#
CONFIG_SCSI_BNX2X_FCOEis not set
1873a1872Quoted 1 line
#
CONFIG_PATA_ARASAN_CFis not set1956c1955,1961
< #CONFIG_TARGET_COREis not set
---Quoted 7 lines
#
CONFIG_DM_FLAKEYis not setCONFIG_TARGET_CORE=mCONFIG_TCM_IBLOCK=mCONFIG_TCM_FILEIO=mCONFIG_TCM_PSCSI=mCONFIG_LOOPBACK_TARGET=mCONFIG_LOOPBACK_TARGET_CDB_DEBUG=y
2155d2159
<CONFIG_R8169_VLAN=y2178d2181
<CONFIG_CHELSIO_T3_DEPENDS=y2180d2182
<CONFIG_CHELSIO_T4_DEPENDS=y2182d2183
<CONFIG_CHELSIO_T4VF_DEPENDS=y2243a2245Quoted 1 line
#
CONFIG_ATH5K_TRACERis not set2254c2256,2258
< #CONFIG_CARL9170is not set
---Quoted 3 lines
CONFIG_CARL9170=mCONFIG_CARL9170_LEDS=yCONFIG_CARL9170_WPC=y
2294c2298
<CONFIG_IWLWIFI=m
---Quoted 1 line
CONFIG_IWLAGN=m2301,2303c2305,2313
<CONFIG_IWLAGN=m
<CONFIG_IWL4965=y
<CONFIG_IWL5000=y
---Quoted 9 lines
CONFIG_IWL_P2P=yCONFIG_IWLWIFI_LEGACY=m#
# Debugging Options
#
#CONFIG_IWLWIFI_LEGACY_DEBUGis not setCONFIG_IWLWIFI_LEGACY_DEVICE_TRACING=yCONFIG_IWL4965=m
2337a2348Quoted 1 line
CONFIG_RT2800PCI_RT53XX=y
2353a2365Quoted 1 line
CONFIG_RTL8192CU=m
2354a2367Quoted 1 line
CONFIG_RTL8192C_COMMON=m
2410a2424Quoted 1 line
CONFIG_USB_VL600=m
2703a2718Quoted 1 line
#
CONFIG_KEYBOARD_QT1070is not set
2786a2802Quoted 1 line
#
CONFIG_TOUCHSCREEN_ATMEL_MXTis not set
2803d2818
<CONFIG_TOUCHSCREEN_QT602240=m2806a2822Quoted 1 line
#
CONFIG_TOUCHSCREEN_WM831Xis not set
2829a2846Quoted 1 line
#
CONFIG_TOUCHSCREEN_TSC2005is not set2893c2910,2913
<CONFIG_DEVKMEM=y
---Quoted 4 lines
CONFIG_UNIX98_PTYS=yCONFIG_DEVPTS_MULTIPLE_INSTANCES=yCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=256
2895d2914
<CONFIG_COMPUTONE=m2899d2917
<CONFIG_DIGIEPCA=m2902d2919
<CONFIG_ISI=m
2905a2923,2924Quoted 2 lines
CONFIG_NOZOMI=mCONFIG_ISI=m2908,2909c2927
<CONFIG_RISCOM8=m
<CONFIG_SPECIALIX=m
---Quoted 1 line
CONFIG_DEVKMEM=y2911,2913d2928
<CONFIG_STALLION=m
<CONFIG_ISTALLION=m
<CONFIG_NOZOMI=m2951d2965
< #CONFIG_SERIAL_GRLIB_GAISLER_APBUARTis not set 2958,2961d2971
<CONFIG_UNIX98_PTYS=y
<CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
<CONFIG_LEGACY_PTYS=y
<CONFIG_LEGACY_PTY_COUNT=2563063a3074,3075Quoted 2 lines
#
CONFIG_I2C_PXAis not set
#CONFIG_I2C_PXA_PCIis not set
3070a3083Quoted 1 line
#
CONFIG_I2C_DIOLAN_U2Cis not set
3093a3107Quoted 1 line
#
CONFIG_SPI_ALTERAis not set
3097a3112Quoted 1 line
#
CONFIG_SPI_OC_TINYis not set3220a3236,3237
Quoted 2 lines
CONFIG_BATTERY_BQ27X00_I2C=yCONFIG_BATTERY_BQ27X00_PLATFORM=y
3271a3289Quoted 1 line
#
CONFIG_SENSORS_LINEAGEis not set
3284a3303Quoted 1 line
#
CONFIG_SENSORS_LTC4151is not set
3290a3310Quoted 1 line
#
CONFIG_SENSORS_MAX6639is not set
3294a3315Quoted 1 line
#
CONFIG_PMBUSis not set3304a3326,3327
Quoted 2 lines
#
CONFIG_SENSORS_SCH5627is not set
#CONFIG_SENSORS_ADS1015is not set
3328d3350
<CONFIG_SENSORS_LIS3_I2C=m3336d3357
<CONFIG_SENSORS_LIS3LV02D=m3431a3453Quoted 1 line
#
CONFIG_TPS6105Xis not set
3434a3457Quoted 1 line
#
CONFIG_TWL4030_MADCis not set
3442a3466Quoted 1 line
#
CONFIG_MFD_MAX8997is not set
3461a3486Quoted 1 line
CONFIG_AB8500_GPADC=y
3510a3536Quoted 1 line
#
CONFIG_MEDIA_CONTROLLERis not set
3533a3560Quoted 1 line
#
CONFIG_IR_ITE_CIRis not set3572a3600,3602
Quoted 3 lines
CONFIG_VIDEOBUF2_CORE=mCONFIG_VIDEOBUF2_MEMOPS=mCONFIG_VIDEOBUF2_VMALLOC=m
3670a3701Quoted 1 line
#
CONFIG_MEDIA_ALTERA_CIis not set
3679a3711Quoted 1 line
#
CONFIG_VIDEO_NOON010PC30is not set
3693a3726Quoted 1 line
#
CONFIG_SOC_CAMERA_OV9740is not set
3709a3743Quoted 1 line
#
CONFIG_USB_GSPCA_NW80Xis not set
3735a3770Quoted 1 line
#
CONFIG_USB_GSPCA_VICAMis not set3788a3824,3828
Quoted 5 lines
#
# Texas Instruments WL128x FM driver (ST based)
#
#CONFIG_RADIO_WL128Xis not set
3839a3880Quoted 1 line
#
CONFIG_DVB_USB_TECHNISAT_USB2is not set3871a3913,3916
Quoted 4 lines
#
# Supported FireWire (IEEE 1394) Adapters
#3873,3874d3917
<CONFIG_DVB_FIREDTV_FIREWIRE=y
< #CONFIG_DVB_FIREDTV_IEEE1394is not set3955a3999Quoted 1 line
CONFIG_DVB_DIB9000=m
3958a4003Quoted 1 line
CONFIG_DVB_STV0367=m
4038d4082
<CONFIG_DRM_I830=m4079a4124Quoted 1 line
CONFIG_FB_CYBER2000_DDC=y
4167a4213Quoted 1 line
#
CONFIG_LCD_LD9040is not set
4174c4220
<CONFIG_BACKLIGHT_MBP_NVIDIA=m
---Quoted 1 line
#
CONFIG_BACKLIGHT_APPLEis not set4401a4448,4450
Quoted 3 lines
#
CONFIG_SND_USB_6FIREis not setCONFIG_SND_FIREWIRE=y
#CONFIG_SND_FIREWIRE_SPEAKERSis not set
4421a4471Quoted 1 line
CONFIG_SND_SOC_CS4271=m
4424a4475Quoted 1 line
CONFIG_SND_SOC_DFBMCS320=m
4425a4477Quoted 1 line
CONFIG_SND_SOC_MAX9850=m
4426a4479Quoted 1 line
CONFIG_SND_SOC_SGTL5000=m
4430a4484Quoted 1 line
CONFIG_SND_SOC_TVL320AIC32X4=m
4466a4521Quoted 1 line
CONFIG_SND_SOC_WM8991=m
4470a4526Quoted 1 line
CONFIG_SND_SOC_LM4857=m4525,4526d4580
<CONFIG_HID_EGALAX=m
<CONFIG_HID_ELECOM=m4527a4582Quoted 1 line
#
CONFIG_HID_KEYTOUCHis not set
4533a4589Quoted 1 line
#
CONFIG_HID_LCPOWERis not set
4539d4594
<CONFIG_HID_MAGICMOUSE=m
4555a4611,4612Quoted 2 lines
CONFIG_HID_ROCCAT_COMMON=m
#CONFIG_HID_ROCCAT_ARVOis not set
4557a4615Quoted 1 line
#
CONFIG_HID_ROCCAT_KOVAPLUSis not set4570,4571d4627
<CONFIG_HID_WACOM=m
<CONFIG_HID_WACOM_POWER_SUPPLY=y4638a4695Quoted 1 line
#
CONFIG_USB_STORAGE_REALTEKis not set
4649a4707Quoted 1 line
#
CONFIG_USB_STORAGE_ENE_UB6250is not set
4752a4811Quoted 1 line
#
CONFIG_USB_GADGET_FUSB300is not set
4847a4907Quoted 1 line
#
CONFIG_MEMSTICK_R592is not set
4854a4915Quoted 1 line
#
CONFIG_LEDS_LM3530is not set5053a5115,5120
Quoted 6 lines
CONFIG_STALLION=mCONFIG_ISTALLION=mCONFIG_DIGIEPCA=mCONFIG_RISCOM8=mCONFIG_SPECIALIX=mCONFIG_COMPUTONE=m5072,5075c5139
<CONFIG_USB_DABUSB=y
<CONFIG_USB_SE401=m
<CONFIG_VIDEO_USBVIDEO=m
<CONFIG_USB_VICAM=m
---Quoted 1 line
CONFIG_DVB_CXD2099=m5084,5085c5148,5150
<CONFIG_BRCM80211_PCI=y
< #CONFIG_BRCMFMACis not set
---Quoted 3 lines
CONFIG_BRCMSMAC=yCONFIG_BRCMFMAC=y
#CONFIG_BRCMDBGis not set
5214a5280Quoted 1 line
#
CONFIG_FB_OLPC_DCONis not set5224a5291,5292
Quoted 2 lines
CONFIG_RTS_PSTOR=m
#CONFIG_RTS_PSTOR_DEBUGis not set
5229d5296
<CONFIG_AUTOFS_FS=y5273a5341Quoted 1 line
CONFIG_IIO_KFIFO_BUF=m5286a5355,5356
Quoted 2 lines
CONFIG_LIS3L02DQ_BUF_KFIFO=y
#CONFIG_LIS3L02DQ_BUF_RING_SWis not set5298a5369,5371
Quoted 3 lines
CONFIG_AD7606=mCONFIG_AD7606_IFACE_PARALLEL=mCONFIG_AD7606_IFACE_SPI=m
5320a5394Quoted 1 line
CONFIG_MAX517=m
5340d5413
<CONFIG_ADIS16251=m5386a5460Quoted 1 line
#
CONFIG_IIO_SYSFS_TRIGGERis not set
5387a5462Quoted 1 line
CONFIG_XVMALLOC=y
5388a5464Quoted 1 line
#
CONFIG_ZRAM_DEBUGis not set
5391d5466
<CONFIG_SAMSUNG_LAPTOP=m
5398,5402d5472
<
< #
< # Texas Instruments shared transport line discipline < #
<CONFIG_ST_BT=m
5408,5409d5477
<CONFIG_LIRC_IT87=m
<CONFIG_LIRC_ITE8709=m
5417,5418d5484
<CONFIG_SMB_FS=y
< #CONFIG_SMB_NLS_DEFAULTis not set 5419a5486,5488Quoted 3 lines
CONFIG_EASYCAP_SND=y
#CONFIG_EASYCAP_OSSis not setCONFIG_EASYCAP_DEBUG=y
5446a5516Quoted 1 line
CONFIG_FT1000_PCMCIA=m5468a5539,5544
Quoted 6 lines
#
CONFIG_DRM_PSBis not set#
# Altera FPGA firmware download module
#CONFIG_ALTERA_STAPL=m
5473a5550Quoted 1 line
CONFIG_DELL_WMI_AIO=m
5476a5554Quoted 1 line
CONFIG_HP_ACCEL=m5493a5572,5573
Quoted 2 lines
CONFIG_ASUS_WMI=mCONFIG_ASUS_NB_WMI=m5504a5585,5586
Quoted 2 lines
#
CONFIG_XO15_EBOOKis not setCONFIG_SAMSUNG_LAPTOP=m
5515a5598Quoted 1 line
#
CONFIG_DMI_SYSFSis not set
5517a5601Quoted 1 line
#
CONFIG_SIGMAis not set
5689a5774Quoted 1 line
CONFIG_PSTORE=y
5826a5912Quoted 1 line
CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
5834a5921Quoted 1 line
#
CONFIG_DEBUG_SECTION_MISMATCHis not set
5839d5925
<CONFIG_BKL=y5890a5977Quoted 1 line
#
CONFIG_TEST_KSTRTOXis not set
6119a6207Quoted 1 line
CONFIG_CPU_RMAP=y---
Professional hosting for everyone - http://www.host.ru
James Bottomley
maintainerQuoted 10 lines · Andrew Morton
(cc's added. Please retain them)
The crash appears to be due to either the scsi or block code.
Quoted 4 lines · On Thu, 14 Apr 2011 04:17:51 -0400 "werner" <[email protected]> wrote:
The problem with the crashs after booting which started with 2.6.39-rc1 continues with 2.6.39-rc3-git3
Pls see enclosed a screen foto
It's a bit hard to tell from the jpg, but it looks like it could be another instance of the steve whitehouse crash that was discovered a day or so ago. We're still preparing the final fix, but this is what we have as an interim if you could try it out.
James
---
block/blk.h +2 -1
@@ -62,7 +62,8 @@ static inline struct request *__elv_next_request(struct request_queue *q)return rq; } -if (!q->elevator->ops->elevator_dispatch_fn (q,0 )) +if (test_bit (QUEUE_FLAG_DEAD , &q->queue_flags) || + !q->elevator->ops->elevator_dispatch_fn (q,0 ))return NULL ; } }
drivers/scsi/scsi_sysfs.c +8 -8
@@ -322,14 +322,9 @@ static void scsi_device_dev_release_usercontext(struct work_struct *work)kfree (evt); } -if (sdev->request_queue) { - sdev->request_queue->queuedata =NULL ; -/* user context needed to free queue */ -scsi_free_queue (sdev->request_queue); -/* temporary expedient, try to catch use of queue lock -* after free of sdev */ - sdev->request_queue =NULL ; - } +/* temporary expedient, try to catch use of queue lock after +* free of sdev */ + sdev->request_queue =NULL ;scsi_target_reap (scsi_target (sdev));
@@ -937,6 +932,11 @@ void __scsi_remove_device(struct scsi_device *sdev)if (sdev->host->hostt->slave_destroy) sdev->host->hostt->slave_destroy (sdev);transport_destroy_device (dev); +/* Setting this to NULL causes the request function to reject +* any I/O requests */ + sdev->request_queue->queuedata =NULL ; +/* Freeing the queue signals to block that we're done */ +scsi_free_queue (sdev->request_queue);put_device (dev); }
drivers/scsi/scsi_sysfs.c static void scsi_device_dev_release_usercontext(struct work_struct *work) · line 327
Quoted 3 lines · James Bottomley
drivers/scsi/scsi_sysfs.c +3
-0+/* temporary expedient, try to catch use of queue lock after +* free of sdev */ + sdev->request_queue =NULL ;
Couldnt help to notice this small ugliness while skimming the patch - please use the customary (multi-line) comment style:
/*
* Comment .....
* ...... goes here.
*/
specified in Documentation/CodingStyle.
Thanks,
Ingo
James Bottomley
maintainerQuoted 9 lines · Ingo Molnar
drivers/scsi/scsi_sysfs.c static void scsi_device_dev_release_usercontext(struct work_struct *work) · line 327
Quoted 3 lines · James Bottomley
drivers/scsi/scsi_sysfs.c +3
-0+/* temporary expedient, try to catch use of queue lock after +* free of sdev */ + sdev->request_queue =NULL ;Couldnt help to notice this small ugliness while skimming the patch - please use the customary (multi-line) comment style:
Quoted 4 lines
/*
* Comment .....
* ...... goes here.
*/
It's just code motion, so it was cut and paste. The actual file is a nasty mix of comment styles, so it doesn't really matter one way or the other.
James
Quoted 10 lines · James Bottomley
Quoted 9 lines · Ingo Molnar
drivers/scsi/scsi_sysfs.c static void scsi_device_dev_release_usercontext(struct work_struct *work) · line 327
Quoted 3 lines · James Bottomley
drivers/scsi/scsi_sysfs.c +3
-0+/* temporary expedient, try to catch use of queue lock after +* free of sdev */ + sdev->request_queue =NULL ;Couldnt help to notice this small ugliness while skimming the patch - please use the customary (multi-line) comment style:
Quoted 7 lines
Quoted 4 lines
/*
* Comment .....
* ...... goes here.
*/It's just code motion, so it was cut and paste. The actual file is a nasty mix of comment styles, so it doesn't really matter one way or the other.
That's not really true - most other multi-line comments are fine in that file - i checked that before sending my feedback.
Really, why are you even arguing about it? You have not noticed it during review - that can happen - but you should really fix small details if someone points them out during review. Instead you are forcing reviewers though an unnecessary and time-wasting email exchange.
Thanks,
Ingo
Quoted 4 lines · Andrew Morton
Quoted 2 lines · On Thu, 14 Apr 2011 04:17:51 -0400 "werner" <[email protected]> wrote:
The problem with the crashs after booting which started with 2.6.39-rc1 continues with 2.6.39-rc3-git3
Although I'm not sure whether it is related, another bug report about a lockup introduced between 2.6.38 and 2.6.39-rc1 can be found here:
https://bugzilla.kernel.org/show_bug.cgi?id=32982.
Bart.