Skip to contentSkip to conversation

ALPHA 2.6.17-rc5 AIC7###: does not boot

DISCUSSION Ernst Herzberg 3 participants 6 messages May 30, 2006 – Jun 1, 2006 Alpha port

lore
Share & tools
lore
#0 lore raw

moinmoin.

2.6.16.18 boots and runs without problems.

2.6.17-rc5 with patch
"[PATCH] alpha: generic hweight (Re: ALPHA 2.6.17-rc5 compile error)"
http://www.ussg.iu.edu/hypermail/linux/kernel/0605.3/1559.html

hangs with

[....]
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec aic7895 Ultra SCSI adapter>
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs

1:0:0:0: Attempting to queue an ABORT message
CDB:CDB: 0x12 0x12 0x0 0x0 0x0 0x0 0x0 0x0 0x24 0x24 0x0 0x0
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
1:0:0:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
[....]

dmesg (captured with netconsole and netcat, most messages are duplicated but better than nothing)

-----
Linux version 2.6.17-rc5 (root@olga) (gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Tue May 30 17:48:20 CEST 2006 Linux version 2.6.17-rc5 (root@olga) (gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Tue May 30 17:48:20 CEST 2006 Booting on Tsunami variation DP264 using machine vector DP264 from SRM Booting on Tsunami variation DP264 using machine vector DP264 from SRM Major Options: SMP LEGACY_START VERBOSE_MCHECK MAGIC_SYSRQ Major Options: SMP LEGACY_START VERBOSE_MCHECK MAGIC_SYSRQ Command line: root=/dev/sdb1 netconsole=4444@***.*.**.***/eth0,6666@***.*.**.***/
Command line: root=/dev/sdb1 netconsole=4444@***.*.**.***/eth0,6666@***.*.**.***/

memcluster 0, usage 1, start        0, end      256
memcluster 0, usage 1, start        0, end      256
memcluster 1, usage 0, start      256, end   130976
memcluster 1, usage 0, start      256, end   130976
memcluster 2, usage 1, start   130976, end   131072
memcluster 2, usage 1, start   130976, end   131072
memcluster 3, usage 0, start   131072, end   524282
memcluster 3, usage 0, start   131072, end   524282
memcluster 4, usage 1, start   524282, end   524288
memcluster 4, usage 1, start   524282, end   524288

freeing pages 256:384
freeing pages 256:384
freeing pages 1019:130976
freeing pages 1019:130976
freeing pages 131072:524282
freeing pages 131072:524282
reserving pages 1019:1027
reserving pages 1019:1027
4096K Bcache detected; load hit latency 20 cycles, load miss latency 105 cycles
4096K Bcache detected; load hit latency 20 cycles, load miss latency 105 cycles
SMP: 2 CPUs probed -- cpu_present_mask = 3
Built 1 zonelists
SMP: 2 CPUs probed -- cpu_present_mask = 3
Built 1 zonelists
Kernel command line: root=/dev/sdb1 netconsole=4444@***.*.**.***/eth0,6666@***.*.**.***/
Kernel command line: root=/dev/sdb1 netconsole=4444@***.*.**.***/eth0,6666@***.*.**.***/
netconsole: local port 4444
netconsole: local port 4444
netconsole: local IP ***.*.**.***
netconsole: local IP ***.*.**.***
netconsole: interface eth0
netconsole: interface eth0
netconsole: remote port 6666
netconsole: remote port 6666
netconsole: remote IP ***.*.**.***
netconsole: remote IP ***.*.**.***
netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
PID hash table entries: 4096 (order: 12, 32768 bytes)
PID hash table entries: 4096 (order: 12, 32768 bytes)
Using epoch = 1980
Using epoch = 1980
Console: colour VGA+ 80x25
Console: colour VGA+ 80x25
Dentry cache hash table entries: 524288 (order: 9, 4194304 bytes) Dentry cache hash table entries: 524288 (order: 9, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 8, 2097152 bytes) Inode-cache hash table entries: 262144 (order: 8, 2097152 bytes)
Memory: 4148672k/4194256k available (3168k kernel code, 42144k reserved, 624k data, 168k init)
Memory: 4148672k/4194256k available (3168k kernel code, 42144k reserved, 624k data, 168k init)
Mount-cache hash table entries: 512
Mount-cache hash table entries: 512
SMP starting up secondaries.
SMP starting up secondaries.
Brought up 1 CPUs
Brought up 1 CPUs
SMP: Total of 1 processors activated (1001.25 BogoMIPS).
SMP: Total of 1 processors activated (1001.25 BogoMIPS). migration_cost=0
migration_cost=0
NET: Registered protocol family 16
SMC37c669 Super I/O Controller found @ 0x3f0
NET: Registered protocol family 16
SMC37c669 Super I/O Controller found @ 0x3f0
Linux Plug and Play Support v0.97 (c) Adam Belay
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver hub
NET: Registered protocol family 2
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 7, 1048576 bytes) IP route cache hash table entries: 131072 (order: 7, 1048576 bytes) TCP established hash table entries: 524288 (order: 10, 8388608 bytes) TCP established hash table entries: 524288 (order: 10, 8388608 bytes) TCP bind hash table entries: 65536 (order: 7, 1048576 bytes) TCP bind hash table entries: 65536 (order: 7, 1048576 bytes)
TCP: Hash tables configured (established 524288 bind 65536)
TCP: Hash tables configured (established 524288 bind 65536) TCP reno registered
TCP reno registered
srm_env: version 0.0.5 loaded successfully
srm_env: version 0.0.5 loaded successfully
fuse init (API version 7.6)
fuse init (API version 7.6)
Initializing Cryptographic API
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
isa bounce pool size: 16 pages
Floppy drive(s): fd0 is 2.88M
FDC 0 is a post-1991 82077
FDC 0 is a post-1991 82077
loop: loaded (max 8 devices)
loop: loaded (max 8 devices)
nbd: registered device at major 43
nbd: registered device at major 43
Linux Tulip driver version 1.1.13-NAPI (May 11, 2002)
Linux Tulip driver version 1.1.13-NAPI (May 11, 2002)

tulip0:  EEPROM default media type Autosense.
tulip0:  EEPROM default media type Autosense.
tulip0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
tulip0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
tulip0:  MII transceiver #17 config 1000 status 782d advertising 01e1.
tulip0:  MII transceiver #17 config 1000 status 782d advertising 01e1.
eth0: Digital DS21143 Tulip rev 65 at fffffd0209040000, 00:00:CB:53:30:85, 

IRQ 47.
eth0: Digital DS21143 Tulip rev 65 at fffffd0209040000, 00:00:CB:53:30:85, IRQ 47.
netconsole: device eth0 not up yet, forcing it
netconsole: device eth0 not up yet, forcing it
netconsole: carrier detect appears untrustworthy, waiting 4 seconds
netconsole: carrier detect appears untrustworthy, waiting 4 seconds
eth0: Setting full-duplex based on MII#17 link partner capability of 45e1.
eth0: Setting full-duplex based on MII#17 link partner capability of 45e1.
netconsole: network logging started
netconsole: network logging started
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CY82C693: IDE controller at PCI slot 0000:00:05.1
CY82C693: IDE controller at PCI slot 0000:00:05.1
CY82C693: chipset revision 0
CY82C693: chipset revision 0
CY82C693: not 100% native mode: will probe irqs later
CY82C693: not 100% native mode: will probe irqs later
CY82C693U driver v0.34 99-13-12 Andreas S. Krebs ([email protected]) CY82C693U driver v0.34 99-13-12 Andreas S. Krebs ([email protected])

    ide0: BM-DMA at 0x8800-0x8807    ide0: BM-DMA at 0x8800-0x8807, BIOS 
settings: hda:pio, hdb:pio
, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x8808-0x880f    ide1: BM-DMA at 0x8808-0x880f, BIOS 

settings: hdc:pio, hdd:pio, BIOS settings: hdc:pio, hdd:pio

Linux version 2.6.17-rc5 (root@olga) (gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Tue May 30 17:48:20 CEST 2006 Booting on Tsunami variation DP264 using machine vector DP264 from SRM Major Options: SMP LEGACY_START VERBOSE_MCHECK MAGIC_SYSRQ Command line: root=/dev/sdb1 netconsole=4444@***.*.**.***/eth0,6666@***.*.**.***/
memcluster 0, usage 1, start 0, end 256

memcluster 1, usage 0, start      256, end   130976
memcluster 2, usage 1, start   130976, end   131072
memcluster 3, usage 0, start   131072, end   524282
memcluster 4, usage 1, start   524282, end   524288

freeing pages 256:384
freeing pages 1019:130976
freeing pages 131072:524282
reserving pages 1019:1027
4096K Bcache detected; load hit latency 20 cycles, load miss latency 105 cycles
SMP: 2 CPUs probed -- cpu_present_mask = 3
Built 1 zonelists
Kernel command line: root=/dev/sdb1 netconsole=4444@***.*.**.***/eth0,6666@***.*.**.***/
netconsole: local port 4444
netconsole: local IP ***.*.**.***
netconsole: interface eth0
netconsole: remote port 6666
netconsole: remote IP ***.*.**.***
netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
PID hash table entries: 4096 (order: 12, 32768 bytes)
Using epoch = 1980
Console: colour VGA+ 80x25
Dentry cache hash table entries: 524288 (order: 9, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 8, 2097152 bytes)
Memory: 4148672k/4194256k available (3168k kernel code, 42144k reserved, 624k data, 168k init)
Mount-cache hash table entries: 512
SMP starting up secondaries.
Brought up 1 CPUs
SMP: Total of 1 processors activated (1001.25 BogoMIPS). migration_cost=0
NET: Registered protocol family 16
SMC37c669 Super I/O Controller found @ 0x3f0
hda: CD-950E/TKU, hda: CD-950E/TKU, ATAPI ATAPI CD/DVD-ROMCD/DVD-ROM drive
drive
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 7, 1048576 bytes) TCP established hash table entries: 524288 (order: 10, 8388608 bytes) TCP bind hash table entries: 65536 (order: 7, 1048576 bytes)
TCP: Hash tables configured (established 524288 bind 65536) TCP reno registered
srm_env: version 0.0.5 loaded successfully
fuse init (API version 7.6)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
rtc: ARC console epoch (1980) detected
Real Time Clock Driver v1.12ac
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
isa bounce pool size: 16 pages
Floppy drive(s): fd0 is 2.88M
FDC 0 is a post-1991 82077
loop: loaded (max 8 devices)
nbd: registered device at major 43
Linux Tulip driver version 1.1.13-NAPI (May 11, 2002)

tulip0:  EEPROM default media type Autosense.
tulip0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
tulip0:  MII transceiver #17 config 1000 status 782d advertising 01e1.
eth0: Digital DS21143 Tulip rev 65 at fffffd0209040000, 00:00:CB:53:30:85, 

IRQ 47.
netconsole: device eth0 not up yet, forcing it
netconsole: carrier detect appears untrustworthy, waiting 4 seconds
eth0: Setting full-duplex based on MII#17 link partner capability of 45e1.
netconsole: network logging started
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CY82C693: IDE controller at PCI slot 0000:00:05.1
CY82C693: chipset revision 0
CY82C693: not 100% native mode: will probe irqs later
CY82C693U driver v0.34 99-13-12 Andreas S. Krebs ([email protected])

    ide0: BM-DMA at 0x8800-0x8807, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x8808-0x880f, BIOS settings: hdc:pio, hdd:pio

hda: CD-950E/TKU, ATAPI CD/DVD-ROMide0 at 0x1f0-0x1f7,0x3f6 on irq 14ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: ATAPIhda: ATAPI 52X 52X CD-ROM CD-ROM drive drive, 128kB Cache, 128kB Cache

Uniform CD-ROM driver Revision: 3.20
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
ide-floppy driver 0.99.newide
hda: ATAPI 52X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0 scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec aic7895 Ultra SCSI adapter> <Adaptec aic7895 Ultra SCSI adapter>
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec aic7895 Ultra SCSI adapter>
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs

Vendor: Vendor: IIBBMM Model: Model:
DDDYDYSS--TT3369695500NN Rev: Rev: SS9966HH

Type: Direct-Access Type: Direct-Access
ANSI SCSI revision: 03 ANSI SCSI revision: 03

scsi0:A:1:0: scsi0:A:1:0: Tagged Queuing enabled. Depth 253 Tagged Queuing enabled. Depth 253
target0:0:1: Beginning Domain Validation target0:0:1: Beginning Domain Validation target0:0:1: wide asynchronous
target0:0:1: wide asynchronous
target0:0:1: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8) target0:0:1: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8) target0:0:1: Domain Validation skipping write tests target0:0:1: Domain Validation skipping write tests target0:0:1: Ending Domain Validation
target0:0:1: Ending Domain Validation
Vendor: IBM Model: DDYS-T36950N Rev: S96H
Type: Direct-Access ANSI SCSI revision: 03
scsi0:A:1:0: Tagged Queuing enabled. Depth 253
target0:0:1: Beginning Domain Validation target0:0:1: wide asynchronous
target0:0:1: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8) target0:0:1: Domain Validation skipping write tests target0:0:1: Ending Domain Validation
Vendor: Vendor: IIBBMM Model: Model:
DDNNEESS--330099117700WW Rev: Rev: SSA3A300

Type: Direct-Access Type: Direct-Access
ANSI SCSI revision: 03 ANSI SCSI revision: 03

scsi0:A:6:0: scsi0:A:6:0: Tagged Queuing enabled. Depth 253 Tagged Queuing enabled. Depth 253
target0:0:6: Beginning Domain Validation target0:0:6: Beginning Domain Validation target0:0:6: wide asynchronous
target0:0:6: wide asynchronous
target0:0:6: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8) target0:0:6: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8) target0:0:6: Domain Validation skipping write tests target0:0:6: Domain Validation skipping write tests target0:0:6: Ending Domain Validation
target0:0:6: Ending Domain Validation
Vendor: IBM Model: DNES-309170W Rev: SA30
Type: Direct-Access ANSI SCSI revision: 03
scsi0:A:6:0: Tagged Queuing enabled. Depth 253
target0:0:6: Beginning Domain Validation target0:0:6: wide asynchronous
target0:0:6: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8) target0:0:6: Domain Validation skipping write tests target0:0:6: Ending Domain Validation
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0 scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec aic7895 Ultra SCSI adapter> <Adaptec aic7895 Ultra SCSI adapter>
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec aic7895 Ultra SCSI adapter>
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs

1:0:0:0: Attempting to queue an ABORT message 1:0:0:0: Attempting to queue an ABORT message
CDB:CDB: 0x12 0x12 0x0 0x0 0x0 0x0 0x0 0x0 0x24 0x24 0x0 0x0

1:0:0:0: Command already completed
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
aic7xxx_abort returns 0x2002
1:0:0:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
1:0:0:0: Attempting to queue an ABORT message 1:0:0:0: Attempting to queue an ABORT message
CDB:CDB: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0

1:0:0:0: Command already completed
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
aic7xxx_abort returns 0x2002
1:0:0:0: Attempting to queue a TARGET RESET message 1:0:0:0: Attempting to queue a TARGET RESET message
CDB:CDB: 0x12 0x12 0x0 0x0 0x0 0x0 0x0 0x24 0x0 0x24 0x0 0x0

1:0:0:0: Command not found
1:0:0:0: Command not found
aic7xxx_dev_reset returns 0x2002 aic7xxx_dev_reset returns 0x2002
1:0:0:0: Attempting to queue an ABORT message
CDB: 0x0 0x0 0x0 0x0 0x0 0x0
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
1:0:0:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
1:0:0:0: Command not found
aic7xxx_dev_reset returns 0x2002
1:0:0:0: Attempting to queue an ABORT message 1:0:0:0: Attempting to queue an ABORT message
CDB:CDB: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0

1:0:0:0: Command already completed
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
aic7xxx_abort returns 0x2002
1:0:0:0: Attempting to queue an ABORT message
CDB: 0x0 0x0 0x0 0x0 0x0 0x0
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
1:0:0:0: Attempting to queue an ABORT message 1:0:0:0: Attempting to queue an ABORT message
CDB:CDB: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0

1:0:0:0: Command already completed
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
aic7xxx_abort returns 0x2002
1:0:0:0: scsi: Device offlined - not ready after error recovery 1:0:0:0: scsi: Device offlined - not ready after error recovery 1:0:0:0: Attempting to queue an ABORT message
CDB: 0x0 0x0 0x0 0x0 0x0 0x0
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
1:0:0:0: scsi: Device offlined - not ready after error recovery 1:0:1:0: Attempting to queue an ABORT message 1:0:1:0: Attempting to queue an ABORT message
CDB:CDB: 0x12 0x12 0x0 0x0 0x0 0x0 0x0 0x0 0x24 0x24 0x0 0x0

1:0:1:0: Command already completed
1:0:1:0: Command already completed
aic7xxx_abort returns 0x2002
aic7xxx_abort returns 0x2002
1:0:1:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
1:0:1:0: Command already completed
aic7xxx_abort returns 0x2002
1:0:1:0: Attempting to queue an ABORT message 1:0:1:0: Attempting to queue an ABORT message
CDB:CDB: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0

1:0:1:0: Command already completed
1:0:1:0: Command already completed
aic7xxx_abort returns 0x2002
aic7xxx_abort returns 0x2002
1:0:1:0: Attempting to queue a TARGET RESET message 1:0:1:0: Attempting to queue a TARGET RESET message
CDB:CDB: 0x12 0x12 0x0 0x0 0x0 0x0 0x0 0x0 0x24 0x24 0x0 0x0

1:0:1:0: Command not found
1:0:1:0: Command not found
aic7xxx_dev_reset returns 0x2002 aic7xxx_dev_reset returns 0x2002
1:0:1:0: Attempting to queue an ABORT message
CDB: 0x0 0x0 0x0 0x0 0x0 0x0
1:0:1:0: Command already completed
aic7xxx_abort returns 0x2002
1:0:1:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
1:0:1:0: Command not found
aic7xxx_dev_reset returns 0x2002
1:0:1:0: Attempting to queue an ABORT message 1:0:1:0: Attempting to queue an ABORT message
CDB:CDB: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0

1:0:1:0: Command already completed
1:0:1:0: Command already completed
aic7xxx_abort returns 0x2002
aic7xxx_abort returns 0x2002
1:0:1:0: Attempting to queue an ABORT message
CDB: 0x0 0x0 0x0 0x0 0x0 0x0
1:0:1:0: Command already completed
aic7xxx_abort returns 0x2002
[....repeated forever....]

#1 lore raw
Quoted 26 lines · Ernst Herzberg

moinmoin.

2.6.16.18 boots and runs without problems.

2.6.17-rc5 with patch
"[PATCH] alpha: generic hweight (Re: ALPHA 2.6.17-rc5 compile error)"
http://www.ussg.iu.edu/hypermail/linux/kernel/0605.3/1559.html

hangs with

[....]
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec aic7895 Ultra SCSI adapter>
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs

1:0:0:0: Attempting to queue an ABORT message
CDB:CDB: 0x12 0x12 0x0 0x0 0x0 0x0 0x0 0x0 0x24 0x24 0x0 0x0
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
1:0:0:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
1:0:0:0: Command already completed
aic7xxx_abort returns 0x2002
[....]

Quoted 5 lines

dmesg (captured with netconsole and netcat, most messages are duplicated but better than nothing)

...

James sayeth "Best guess would be lost interrupt ... especially if there's no device usually at target1:0:0 (i.e. the machine doesn't get a reply it expects doing the initial inquiry)."

But I don't recall us making any changes in the Alpha interrupt-management code post-2.6.16. Perhaps it was PCI changes which introduced this regression.

#2 lore raw
Quoted 3 lines · Andrew Morton

But I don't recall us making any changes in the Alpha interrupt-management code post-2.6.16. Perhaps it was PCI changes which introduced this regression.

No. It looks like SMP is screwed up again. And some interrupts don't work as they get routed to inactive CPU.

Ernst, please try this patch.

Ivan.

arch/alpha/kernel/alpha_ksyms.c +0 -1
@@ -182,7 +182,6 @@ EXPORT_SYMBOL(smp_num_cpus);
 EXPORT_SYMBOL(smp_call_function);
 EXPORT_SYMBOL(smp_call_function_on_cpu);
 EXPORT_SYMBOL(_atomic_dec_and_lock);
-EXPORT_SYMBOL(cpu_present_mask);
 #endif /* CONFIG_SMP */
 
 /*
arch/alpha/kernel/smp.c +4 -10
@@ -68,7 +68,6 @@ enum ipi_message_type {
 static int smp_secondary_alive __initdata = 0;
 
 /* Which cpus ids came online.  */
-cpumask_t cpu_present_mask;
 cpumask_t cpu_online_map;
 
 EXPORT_SYMBOL(cpu_online_map);
@@ -439,7 +438,7 @@ setup_smp(void)
 			if ((cpu->flags & 0x1cc) == 0x1cc) {
 				smp_num_probed++;
 				/* Assume here that "whami" == index */
-				cpu_set(i, cpu_present_mask);
+				cpu_set(i, cpu_present_map);
 				cpu->pal_revision = boot_cpu_palrev;
 			}
 
@@ -450,11 +449,10 @@ setup_smp(void)
 		}
 	} else {
 		smp_num_probed = 1;
-		cpu_set(boot_cpuid, cpu_present_mask);
 	}
 
-	printk(KERN_INFO "SMP: %d CPUs probed -- cpu_present_mask = %lx\n",
-	       smp_num_probed, cpu_possible_map.bits[0]);
+	printk(KERN_INFO "SMP: %d CPUs probed -- cpu_present_map = %lx\n",
+	       smp_num_probed, cpu_present_map.bits[0]);
 }
 
 /*
@@ -473,7 +471,7 @@ smp_prepare_cpus(unsigned int max_cpus)
 
 	/* Nothing to do on a UP box, or when told not to.  */
 	if (smp_num_probed == 1 || max_cpus == 0) {
-		cpu_present_mask = cpumask_of_cpu(boot_cpuid);
+		cpu_present_map = cpumask_of_cpu(boot_cpuid);
 		printk(KERN_INFO "SMP mode deactivated.\n");
 		return;
 	}
@@ -486,10 +484,6 @@ smp_prepare_cpus(unsigned int max_cpus)
 void __devinit
 smp_prepare_boot_cpu(void)
 {
-	/*
-	 * Mark the boot cpu (current cpu) as online
-	 */ 
-	cpu_set(smp_processor_id(), cpu_online_map);
 }
 
 int __devinit
arch/alpha/kernel/process.c +3 -3
@@ -94,7 +94,7 @@ common_shutdown_1(void *generic_ptr)
 	if (cpuid != boot_cpuid) {
 		flags |= 0x00040000UL; /* "remain halted" */
 		*pflags = flags;
-		clear_bit(cpuid, &cpu_present_mask);
+		cpu_clear(cpuid, cpu_present_map);
 		halt();
 	}
 #endif
@@ -120,8 +120,8 @@ common_shutdown_1(void *generic_ptr)
 
 #ifdef CONFIG_SMP
 	/* Wait for the secondaries to halt. */
-	cpu_clear(boot_cpuid, cpu_possible_map);
-	while (cpus_weight(cpu_possible_map))
+	cpu_clear(boot_cpuid, cpu_present_map);
+	while (cpus_weight(cpu_present_map))
 		barrier();
 #endif
 
arch/alpha/kernel/sys_titan.c +1 -1
@@ -66,7 +66,7 @@ titan_update_irq_hw(unsigned long mask)
 	register int bcpu = boot_cpuid;
 
 #ifdef CONFIG_SMP
-	cpumask_t cpm = cpu_present_mask;
+	cpumask_t cpm = cpu_present_map;
 	volatile unsigned long *dim0, *dim1, *dim2, *dim3;
 	unsigned long mask0, mask1, mask2, mask3, dummy;
 
include/asm-alpha/smp.h +1 -3
@@ -45,10 +45,8 @@ extern struct cpuinfo_alpha cpu_data[NR_
 #define hard_smp_processor_id()	__hard_smp_processor_id()
 #define raw_smp_processor_id()	(current_thread_info()->cpu)
 
-extern cpumask_t cpu_present_mask;
-extern cpumask_t cpu_online_map;
 extern int smp_num_cpus;
-#define cpu_possible_map	cpu_present_mask
+#define cpu_possible_map	cpu_present_map
 
 int smp_call_function_on_cpu(void (*func) (void *info), void *info,int retry, int wait, cpumask_t cpu);
 
#3 lore raw
Quoted 5 lines · Ivan Kokshaysky
Quoted 3 lines · Andrew Morton

But I don't recall us making any changes in the Alpha interrupt-management code post-2.6.16. Perhaps it was PCI changes which introduced this regression.

Quoted 7 lines

No. It looks like SMP is screwed up again. And some interrupts don't work as they get routed to inactive CPU.

Ernst, please try this patch.

Ivan.

Yesss Sir! The patch works.

olga:~ # uname -a
Linux olga 2.6.17-rc5 #1 SMP Thu Jun 1 18:53:25 CEST 2006 alpha EV6 GNU/Linux

Thanks a lot

Earny

-----
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec aic7895 Ultra SCSI adapter>
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs

Vendor: IBM Model: DDYS-T36950N Rev: S96H
Type: Direct-Access ANSI SCSI revision: 03
scsi0:A:1:0: Tagged Queuing enabled. Depth 253
target0:0:1: Beginning Domain Validation target0:0:1: wide asynchronous
target0:0:1: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8) target0:0:1: Domain Validation skipping write tests target0:0:1: Ending Domain Validation
Vendor: IBM Model: DNES-309170W Rev: SA30
Type: Direct-Access ANSI SCSI revision: 03
scsi0:A:6:0: Tagged Queuing enabled. Depth 253
target0:0:6: Beginning Domain Validation target0:0:6: wide asynchronous
target0:0:6: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8) target0:0:6: Domain Validation skipping write tests target0:0:6: Ending Domain Validation
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec aic7895 Ultra SCSI adapter>
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs

st: Version 20050830, fixed bufsize 32768, s/g segs 256 SCSI device sda: 71687340 512-byte hdwr sectors (36704 MB)
sda: Write Protect is off
sda: Mode Sense: cb 00 00 08
SCSI device sda: drive cache: write back
SCSI device sda: 71687340 512-byte hdwr sectors (36704 MB)
sda: Write Protect is off
sda: Mode Sense: cb 00 00 08
SCSI device sda: drive cache: write back
sda: sda1 sda2
sd 0:0:1:0: Attached scsi disk sda
SCSI device sdb: 17916240 512-byte hdwr sectors (9173 MB)
sdb: Write Protect is off
sdb: Mode Sense: c3 00 00 08
SCSI device sdb: drive cache: write back
SCSI device sdb: 17916240 512-byte hdwr sectors (9173 MB)
sdb: Write Protect is off
sdb: Mode Sense: c3 00 00 08
SCSI device sdb: drive cache: write back
sdb: sdb1
sd 0:0:6:0: Attached scsi disk sdb
sd 0:0:1:0: Attached scsi generic sg0 type 0
sd 0:0:6:0: Attached scsi generic sg1 type 0 [...]

#4 lore raw
Quoted 6 lines · On Thu, 1 Jun 2006 19:11:36 +0200 Ernst Herzberg <[email protected]> wrote:
Quoted 4 lines

Ernst, please try this patch.

Ivan.

Yesss Sir! The patch works.

Thanks, guys.

Ivan, should I scoot that patch into 2.6.17 as-is?

#5 lore raw
Quoted 1 line · Andrew Morton

Ivan, should I scoot that patch into 2.6.17 as-is?

Hopefully yes. Here's a bit more informative description:

After removal of fixup_cpu_present_map() function Alpha ended up with an empty cpu_present_map, so secondary CPUs on SMP systems are not being started.
Worse, on some platforms we route interrupts to secondary CPUs using cpu_possible_map which is still populated properly. As a result, these interrupts go nowhere so the machines like DP264 aren't able to boot even with a primary CPU.
Fixed basically by s/cpu_present_mask/cpu_present_map/.

Ivan.