public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	andre@linux-ide.org, Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: ali15x3 on alpha dies in 2.4.21-BK
Date: Thu, 05 Dec 2002 21:20:01 -0500	[thread overview]
Message-ID: <3DF00951.1070104@pobox.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

IDE on this alpha ds10 is totally dead:

attached is the manually-transcribed console messages, patch I did to 
get it to build [thanks Alan], and the IDE section of my .config.

This alpha boots and runs just fine on stock 2.4.20.

[-- Attachment #2: alpha-ide-dead.txt --]
[-- Type: text/plain, Size: 1825 bytes --]

Uniform multi-platform eide driver revision: 7.00beta-2.4
ide: assuming 33mhz system buys speed for pio modes; override with idebus=xx
hda: compaq cdr-8435, atapi cd/dvd-rom drive
hdc: fujitsu mpd3108AT, ata disk drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hdc: 19541088 sectors (10005 MB) w/ 512KiB cache, CHS=19386/16/63
hda: atapi 32x cd-rom driver, 128kB cache
uniform cd-rom driver revision: 3.12
partition check:
 hdc: hdc1 hdc2 hdc3
ali15x3: ide controller at PCI slot 00:0d.0
ali15x3: chipset revision 193
ali15x3: not 100% native mode, will probe irqs later
  ide0: bm-dma at 0x8420-0x8427, bios settings: hda:pio, hdb:pio
  ide1: bm-dma at 0x8428-0x842f, bios settings: hdc:pio, hdd:pio
hdc:hdc: status timeout: status=0xff {busy}

hdc: drive not ready for command

ide1:reset timed-out, status=0xff
hdc: status timeout: status=0xff {busy}
hdc: drive not ready for command
[...stuff scrolls off screen too fast to read...]
end_request: I/O error, dev 16:00 (hdc), sector 2
end_request: I/O error, dev 16:00 (hdc), sector 4
end_request: I/O error, dev 16:00 (hdc), sector 6
end_request: I/O error, dev 16:00 (hdc), sector 8
end_request: I/O error, dev 16:00 (hdc), sector 10
end_request: I/O error, dev 16:00 (hdc), sector 12
end_request: I/O error, dev 16:00 (hdc), sector 14
end_request: I/O error, dev 16:00 (hdc), sector 0
end_request: I/O error, dev 16:00 (hdc), sector 2
end_request: I/O error, dev 16:00 (hdc), sector 4
end_request: I/O error, dev 16:00 (hdc), sector 6
end_request: I/O error, dev 16:00 (hdc), sector 8
end_request: I/O error, dev 16:00 (hdc), sector 10
end_request: I/O error, dev 16:00 (hdc), sector 12
end_request: I/O error, dev 16:00 (hdc), sector 14
 unable to read partition table
[...continues with unrelated stuff, then panics due to no root fs...]

[-- Attachment #3: patch --]
[-- Type: text/plain, Size: 767 bytes --]

===== include/asm-alpha/system.h 1.4 vs edited =====
--- 1.4/include/asm-alpha/system.h	Tue Feb  5 02:49:34 2002
+++ edited/include/asm-alpha/system.h	Thu Dec  5 20:28:28 2002
@@ -310,11 +310,13 @@
 #define __save_flags(flags)	((flags) = rdps())
 #define __save_and_cli(flags)	do { (flags) = swpipl(IPL_MAX); barrier(); } while(0)
 #define __restore_flags(flags)	do { barrier(); setipl(flags); barrier(); } while(0)
+#define __save_and_sti(flags)   do { (flags) = swpipl(IPL_MIN); barrier(); } while(0)
 
 #define local_irq_save(flags)		__save_and_cli(flags)
 #define local_irq_restore(flags)	__restore_flags(flags)
 #define local_irq_disable()		__cli()
 #define local_irq_enable()		__sti()
+#define local_irq_set(flags)		__save_and_sti(flags)
 
 #ifdef CONFIG_SMP
 

[-- Attachment #4: alpha-config.txt --]
[-- Type: text/plain, Size: 2231 bytes --]

#
# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
CONFIG_IDEDISK_STROKE=y
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
CONFIG_IDE_TASK_IOCTL=y
CONFIG_IDE_TASKFILE_IO=y

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
CONFIG_BLK_DEV_ALI15X3=y
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_AMD74XX_OVERRIDE is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_HPT34X_AUTODMA is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NFORCE is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_PDC202XX_BURST is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_PDC202XX_FORCE is not set
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_IDE_MODES=y
# CONFIG_BLK_DEV_ATARAID is not set
# CONFIG_BLK_DEV_ATARAID_PDC is not set
# CONFIG_BLK_DEV_ATARAID_HPT is not set

             reply	other threads:[~2002-12-06  2:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-06  2:20 Jeff Garzik [this message]
2002-12-06 10:44 ` ali15x3 on alpha dies in 2.4.21-BK Ivan Kokshaysky
2002-12-06 19:51   ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DF00951.1070104@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=andre@linux-ide.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox