Skip to contentSkip to conversation

New: 2.6.0-test10 (SMP) hangs at boot during SCSI initialization (fwd)

Bug 1589 Martin J. Bligh 2 participants 2 messages Nov 25, 2003

lore
Share & tools
lore
#0 lore raw

http://bugme.osdl.org/show_bug.cgi?id=1589

Summary: 2.6.0-test10 (SMP) hangs at boot during SCSI
initialization
Kernel Version: 2.6.10-test10
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]

Distribution: Gentoo

Hardware Environment:
please root # lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller (rev 11)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge 00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 05) 00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE (rev 04) 00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI (rev 03) 00:09.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02) 00:10.0 PCI bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] PCI (rev 05) 01:05.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4400] (rev a3)
02:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-768 [Opus] USB (rev 07) 02:04.0 Ethernet controller: Accton Technology Corporation EN-1216 Ethernet Adapter (rev 11)
02:06.0 FireWire (IEEE 1394): Lucent Microelectronics FW323 (rev 04) 02:07.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02) 02:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)

Software Environment:
unpatched 2.6.10-test10

#
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_REPORT_LUNS is not set CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=32
CONFIG_AIC7XXX_RESET_DELAY_MS=15000
# CONFIG_AIC7XXX_PROBE_EISA_VL is not set
# CONFIG_AIC7XXX_BUILD_FIRMWARE is not set
# CONFIG_AIC7XXX_DEBUG_ENABLE is not set
CONFIG_AIC7XXX_DEBUG_MASK=0
CONFIG_AIC7XXX_REG_PRETTY_PRINT=y

Problem Description:

With aic7xxx=verbose, the boot gets as far as:

Nov 24 21:51:25 s_kernel@please kernel: ahc_pci:0:9:0: Reading SEEPROM...done.
Nov 24 21:51:25 s_kernel@please kernel: ahc_pci:0:9:0: BIOS eeprom is present
Nov 24 21:51:25 s_kernel@please kernel: ahc_pci:0:9:0: Secondary High byte
termination Enabled
Nov 24 21:51:25 s_kernel@please kernel: ahc_pci:0:9:0: Secondary Low byte
termination Enabled
Nov 24 21:51:25 s_kernel@please kernel: ahc_pci:0:9:0: Primary Low Byte
termination Enabled
Nov 24 21:51:25 s_kernel@please kernel: ahc_pci:0:9:0: Primary High Byte
termination Enabled
Nov 24 21:51:25 s_kernel@please kernel: ahc_pci:0:9:0: Downloading Sequencer
Program... 422 instructions downloaded
Nov 24 21:51:25 s_kernel@please kernel: ahc_pci:0:9:0: Features 0x1def6, Bugs

0x40, Flags 0x20485540

and then completely hangs, nothing but a reset will break out. I have heard a report that someone else had this problem and their kernel would boot after they recompiled without SMP support. I will try that tomorrow, but it is late now.

Oh, and I should mention that 2.6.0-test9 has been working without a hitch.

Steps to reproduce:

#1 lore raw

"Martin J. Bligh" <[email protected]> wrote:

| http://bugme.osdl.org/show_bug.cgi?id=1589
| 
|            Summary: 2.6.0-test10 (SMP) hangs at boot during SCSI
|                     initialization
|     Kernel Version: 2.6.10-test10
|             Status: NEW
|           Severity: normal
|              Owner: [email protected]
|          Submitter: [email protected]
..
| and then completely hangs, nothing but a reset will break out. I have heard a
| report that someone else had this problem and their kernel would boot after they
| recompiled without SMP support.  I will try that tomorrow, but it is late now. 
| 
| Oh, and I should mention that 2.6.0-test9 has been working without a hitch.

Does the following patch fix your problem?

http://marc.theaimsgroup.com/?l=linux-scsi&m=106965748506343&w=2

Signature · 3 lines
Dick Streefland                      ////                      Altium BV
[email protected]           (@ @)          http://www.altium.com
--------------------------------oOO--(_)--OOo---------------------------