public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.3 oops ia64 Itanium1 with Silicon Image IDE
@ 2004-02-20  0:56 Darren Williams
  2004-02-20  2:32 ` David Mosberger
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Darren Williams @ 2004-02-20  0:56 UTC (permalink / raw)
  To: Ia64 Linux; +Cc: LKML

We have an Itainum 1 that oopses on boot with a Silicon Imagae IDE pci
controller. I can boot the same image on a machine with the same setup 
except for RAM, which is 1GB. Looking through the archives it seems
to be related to the following:

http://www.ussg.iu.edu/hypermail/linux/kernel/0306.0/1098.html

Thanks
Darren


Itanium 1 733mhz
RAM 4GB
PIIX onboard controller
RAID bus controller: CMD Technology Inc PCI0680 (rev 02)

Oops:

SiI680: 100% native mode on irq 73
    ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
    ide2: MMIO-DMA , BIOS settings: hde:pio, hdf:pio
hdb: Maxtor 4G120J6, ATA DISK drive
kernel BUG at drivers/block/ll_rw_blk.c:275!
swapper[1]: bugcheck! 0 [1]
                                                                                                                                                             
Pid: 1, CPU 0, comm:              swapper
psr : 00001010085a6010 ifs : 8000000000000309 ip  : [<a0000001002e1ea0>]    Not tainted
ip is at blk_queue_bounce_limit+0x1a0/0x1c0
unat: 0000000000000000 pfs : 0000000000000309 rsc : 0000000000000003
rnat: 00000000000003f8 bsps: 00000000000002dd pr  : 0000000000006959
ldrs: 0000000000000000 ccv : 0000000000000001 fpsr: 0009804c8a70433f
csd : 0000000000000000 ssd : 0000000000000000
b0  : a0000001002e1ea0 b6  : e00000007fe26670 b7  : a0000001002d4320
f6  : 1003e00000000000000a0 f7  : 0ffdaa200000000000000
f8  : 1003e00000000000000a0 f9  : 1003e0000000000000001
f10 : 0fffcccccccccc8c00000 f11 : 1003e0000000000000000
r1  : a00000010088eee0 r2  : ffffffffffffe5f2 r3  : 0000000000000000
r8  : 000000000000002d r9  : 0000000000000000 r10 : a000000100690df8
r11 : a0000001006a0340 r12 : e00000010171fe10 r13 : e000000101718000
r14 : 0000000000000001 r15 : a0000001006a031c r16 : 0000000000004000
r17 : 0000000000004000 r18 : 0000000000000000 r19 : a00000010069f6a8
r20 : a00000010061b280 r21 : a00000010068f1a8 r22 : 00000000000003f9
r23 : 0000000000000fff r24 : c0000ffffc000000 r25 : 000000000000000a
r26 : 000000000000000a r27 : ffffffffffff0000 r28 : 0000000000000000
r29 : 00000000000002e1 r30 : 0000000000000060 r31 : 0000000000000000
                                                                                                                                                             
Call Trace:
 [<a0000001000179e0>] show_stack+0x80/0xa0
                                spà0000010171f9e0 bspà00000101719100
 [<a000000100025740>] die+0x140/0x1e0
                                spà0000010171fbb0 bspà000001017190d8
 [<a000000100025a60>] ia64_bad_break+0x220/0x340
                                spà0000010171fbb0 bspà000001017190b8
 [<a000000100011660>] ia64_leave_kernel+0x0/0x260
                                spà0000010171fc40 bspà000001017190b8
 [<a0000001002e1ea0>] blk_queue_bounce_limit+0x1a0/0x1c0
                                spà0000010171fe10 bspà00000101719070
 [<a00000010031f660>] ide_init_queue+0x180/0x220
                                spà0000010171fe10 bspà00000101719038
 [<a00000010031fd00>] init_irq+0x600/0xae0
                                spà0000010171fe10 bspà00000101718fc8
 [<a000000100320890>] hwif_init+0x170/0x5a0
                                spà0000010171fe20 bspà00000101718f88
 [<a00000010031f300>] probe_hwif_init+0x40/0x100
                                spà0000010171fe20 bspà00000101718f60
 [<a000000100329310>] ide_setup_pci_device+0x90/0x120
                                spà0000010171fe20 bspà00000101718f38
 [<a000000100583300>] siimage_init_one+0x80/0xe0
                                spà0000010171fe20 bspà00000101718f18
 [<a000000100584a90>] ide_scan_pcidev+0x150/0x180
                                spà0000010171fe20 bspà00000101718ee0
 [<a000000100584b30>] ide_scan_pcibus+0x70/0x1a0
                                spà0000010171fe20 bspà00000101718eb0
 [<a000000100584900>] ide_init+0x80/0xc0
                                spà0000010171fe20 bspà00000101718e98
 [<a00000010055ccc0>] do_initcalls+0xc0/0x1c0
                                spà0000010171fe20 bspà00000101718e50
 [<a000000100009190>] init+0x30/0x1a0
                                spà0000010171fe20 bspà00000101718e40
 [<a0000001000193a0>] kernel_thread+0x100/0x140
                                spà0000010171fe20 bspà00000101718e10
 [<a0000001000090b0>] rest_init+0x30/0x60
                                spà0000010171fe20 bspà00000101718e00
 [<a00000010055cb60>] start_kernel+0x340/0x3a0
                                spà0000010171fe20 bspà00000101718da0
 [<a000000100008570>] _start+0x250/0x270
                                spà0000010171fe30 bspà00000101718d30
 <0>Kernel panic: Attempted to kill init!

Config:
#
# Automatically generated make config: don't edit
#

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT\x14
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# Processor type and features
#
CONFIG_IA64=y
CONFIG_64BIT=y
CONFIG_MMU=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_TIME_INTERPOLATION=y
CONFIG_EFI=y
CONFIG_ITANIUM=y
# CONFIG_MCKINLEY is not set
# CONFIG_IA64_GENERIC is not set
CONFIG_IA64_DIG=y
# CONFIG_IA64_HP_ZX1 is not set
# CONFIG_IA64_SGI_SN2 is not set
# CONFIG_IA64_HP_SIM is not set
# CONFIG_IA64_PAGE_SIZE_4KB is not set
# CONFIG_IA64_PAGE_SIZE_8KB is not set
CONFIG_IA64_PAGE_SIZE_16KB=y
# CONFIG_IA64_PAGE_SIZE_64KB is not set
CONFIG_ACPI=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_KERNEL_CONFIG=y
CONFIG_IA64_BRL_EMU=y
# CONFIG_ITANIUM_BSTEP_SPECIFIC is not set
CONFIG_IA64_L1_CACHE_SHIFT=6
# CONFIG_NUMA is not set
CONFIG_VIRTUAL_MEM_MAP=y
CONFIG_IA64_MCA=y
CONFIG_PM=y
CONFIG_IOSAPIC=y
CONFIG_FORCE_MAX_ZONEORDER\x18
# CONFIG_IA64_PAL_IDLE is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
CONFIG_IA32_SUPPORT=y
CONFIG_COMPAT=y
# CONFIG_PERFMON is not set
# CONFIG_IA64_PALINFO is not set
# CONFIG_EFI_VARS is not set
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI_BOOT=y
# CONFIG_ACPI_BUTTON is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
# CONFIG_ACPI_THERMAL is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_RELAXED_AML is not set
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
# CONFIG_HOTPLUG is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Generic Driver Options
#

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Plug and Play support
#

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE@96
# CONFIG_BLK_DEV_INITRD is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

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

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_OFFBOARD=y
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_OPTI621 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
CONFIG_BLK_DEV_SIIMAGE=y
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set

#
# 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 is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set

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

#
# 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 is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
CONFIG_SCSI_QLOGIC_1280=y
CONFIG_SCSI_QLA2XXX=y
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_QLA6322 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DEBUG is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_IPV6 is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETFILTER is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_DGRS is not set
CONFIG_EEPRO100=y
# CONFIG_EEPRO100_PIO is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_VIA_RHINE is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X\x1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Yv8
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y
# CONFIG_INPUT_UINPUT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_COMPUTONE is not set
# CONFIG_ROCKETPORT is not set
# CONFIG_CYCLADES is not set
# CONFIG_DIGIEPCA is not set
# CONFIG_DIGI is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_SYNCLINK is not set
# CONFIG_SYNCLINKMP is not set
# CONFIG_N_HDLC is not set
# CONFIG_RISCOM8 is not set
# CONFIG_SPECIALIX is not set
# CONFIG_SX is not set
# CONFIG_RIO is not set
CONFIG_STALDRV=y
CONFIG_STALLION=y
# CONFIG_ISTALLION is not set
# CONFIG_SGI_L1_SERIAL is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_HCDP=y
CONFIG_SERIAL_8250_ACPI=y
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT%6

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_GEN_RTC is not set
# CONFIG_EFI_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_RAW_DRIVER is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=y
# CONFIG_NFS_V3 is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
# CONFIG_SUNRPC_GSS is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_NEC98_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
CONFIG_EFI_PARTITION=y

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set

#
# Graphics support
#
# CONFIG_FB is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
# CONFIG_SOUND is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
# CONFIG_USB_STORAGE is not set

#
# USB Human Interface Devices (HID)
#
# CONFIG_USB_HID is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_TEST is not set

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# Library routines
#
CONFIG_CRC32=y

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
# CONFIG_IA64_GRANULE_16MB is not set
CONFIG_IA64_GRANULE_64MB=y
CONFIG_DEBUG_KERNEL=y
CONFIG_IA64_PRINT_HAZARDS=y
# CONFIG_DISABLE_VHPT is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_SLAB=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_IA64_DEBUG_CMPXCHG is not set
# CONFIG_IA64_DEBUG_IRQ is not set
CONFIG_DEBUG_INFO=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
Gelato@UNSW <www.gelato.unsw.edu.au>
--------------------------------------------------

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.3 oops ia64 Itanium1 with Silicon Image IDE
  2004-02-20  0:56 2.6.3 oops ia64 Itanium1 with Silicon Image IDE Darren Williams
@ 2004-02-20  2:32 ` David Mosberger
  2004-02-20  2:55 ` Darren Williams
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: David Mosberger @ 2004-02-20  2:32 UTC (permalink / raw)
  To: Darren Williams; +Cc: Ia64 Linux, LKML

>>>>> On Fri, 20 Feb 2004 11:56:23 +1100, Darren Williams <dsw@gelato.unsw.edu.au> said:

  Darren> We have an Itainum 1 that oopses on boot with a Silicon
  Darren> Imagae IDE pci controller. I can boot the same image on a
  Darren> machine with the same setup except for RAM, which is
  Darren> 1GB. Looking through the archives it seems to be related to
  Darren> the following:

  Darren> http://www.ussg.iu.edu/hypermail/linux/kernel/0306.0/1098.html

Hmmh, trying to remember how this all works...

PCI_DMA_BUS_IS_PHYS currently returns its value based on
ia64_max_iommu_merge_mask.  This variable is primarily used to tell
the block-layer (via BIO_VMERGE_BOUNDARY and then
BIOVEC_VIRT_MERGEABLE) whether two physically discontiguous buffers
can be merged via an I/O MMU, such that they appear contiguous from
the perspective of device DMA.

Your machine doesn't have a hardware I/O MMU so it's using swiotlb,
which simulates the effect of a hardware I/O MMU but of course it
cannot do virtual merging, so it has to leave
ia64_max_iommu_merge_mask at its default value (~0).  This in turn has
the effect that PCI_DMA_BUS_IS_PHYS returns 1, which then leads to the
panic you observed in this fashion:

 (1) ide_toggle_bounce() finds that there is no hardware I/O MMU
     (PCI_DMA_BUS_IS_PHYS is 1) and sets the controller's DMA limit to
     its true physical limit
 (2) blk_queue_bounce_limit() finds that the controller can't
     address all physical memory (bounce_pfn < blk_max_low_pfn), and
 (3) controller can't address up to BLK_BOUNCE_ISA (which is ~0UL on ia64)

and so it throws up its hands and gives up.

You could define PCI_DMA_BUS_IS_PHYS as 0, but then you'd get a
needless amount of bounce-buffering, since memory won't be allocated
with GFP_DMA.

Actually, I can't find any uses for ISA_DMA_THRESHOLD anymore, except
for aha1542.c (which probably doesn't work on ia64 anyhow) and for its
use in defining BLK_BOUNCE_ISA.  Perhaps we can define
ISA_DMA_THRESHOLD as 0xffffffff so it matches the 4GB limit implied by
GFP_DMA.  If the controller can do full 32-bit addressing, this should
take avoid the BUG_ON() without any ill effects.

Perhaps someone who understands the disk/block layers better can also
comment.

In summary:

 - You can force PCI_DMA_BUS_IS_PHYS to 0, which is probably the
   safest since it should work even if there is heavy pressure
   on memory <= 4GB.

 - You can try setting ISA_DMA_THRESHOLD to 0xffffffff which should
   work fine as long as there is free memory <= 4GB.

 - You could get a controller that can address all physical memory
   or a machine that has a hardware I/O MMU.

	--david

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.3 oops ia64 Itanium1 with Silicon Image IDE
  2004-02-20  0:56 2.6.3 oops ia64 Itanium1 with Silicon Image IDE Darren Williams
  2004-02-20  2:32 ` David Mosberger
@ 2004-02-20  2:55 ` Darren Williams
  2004-02-20  5:01 ` David Mosberger
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Darren Williams @ 2004-02-20  2:55 UTC (permalink / raw)
  To: linux-ia64

Hi David

I will try the first option of setting

PCI_DMA_BUS_IS_PHYS to 0

and report back. 

I know we must be the only people in the world that
uses these machines, but somebody has to keep the HP
service guys clued up on old technology. The last guy
that payed us a visit though he was in a museum.

Thanks

Darren


On Thu, 19 Feb 2004, David Mosberger wrote:

> >>>>> On Fri, 20 Feb 2004 11:56:23 +1100, Darren Williams <dsw@gelato.unsw.edu.au> said:
> 
>   Darren> We have an Itainum 1 that oopses on boot with a Silicon
>   Darren> Imagae IDE pci controller. I can boot the same image on a
>   Darren> machine with the same setup except for RAM, which is
>   Darren> 1GB. Looking through the archives it seems to be related to
>   Darren> the following:
> 
>   Darren> http://www.ussg.iu.edu/hypermail/linux/kernel/0306.0/1098.html
> 
> Hmmh, trying to remember how this all works...
> 
> PCI_DMA_BUS_IS_PHYS currently returns its value based on
> ia64_max_iommu_merge_mask.  This variable is primarily used to tell
> the block-layer (via BIO_VMERGE_BOUNDARY and then
> BIOVEC_VIRT_MERGEABLE) whether two physically discontiguous buffers
> can be merged via an I/O MMU, such that they appear contiguous from
> the perspective of device DMA.
> 
> Your machine doesn't have a hardware I/O MMU so it's using swiotlb,
> which simulates the effect of a hardware I/O MMU but of course it
> cannot do virtual merging, so it has to leave
> ia64_max_iommu_merge_mask at its default value (~0).  This in turn has
> the effect that PCI_DMA_BUS_IS_PHYS returns 1, which then leads to the
> panic you observed in this fashion:
> 
>  (1) ide_toggle_bounce() finds that there is no hardware I/O MMU
>      (PCI_DMA_BUS_IS_PHYS is 1) and sets the controller's DMA limit to
>      its true physical limit
>  (2) blk_queue_bounce_limit() finds that the controller can't
>      address all physical memory (bounce_pfn < blk_max_low_pfn), and
>  (3) controller can't address up to BLK_BOUNCE_ISA (which is ~0UL on ia64)
> 
> and so it throws up its hands and gives up.
> 
> You could define PCI_DMA_BUS_IS_PHYS as 0, but then you'd get a
> needless amount of bounce-buffering, since memory won't be allocated
> with GFP_DMA.
> 
> Actually, I can't find any uses for ISA_DMA_THRESHOLD anymore, except
> for aha1542.c (which probably doesn't work on ia64 anyhow) and for its
> use in defining BLK_BOUNCE_ISA.  Perhaps we can define
> ISA_DMA_THRESHOLD as 0xffffffff so it matches the 4GB limit implied by
> GFP_DMA.  If the controller can do full 32-bit addressing, this should
> take avoid the BUG_ON() without any ill effects.
> 
> Perhaps someone who understands the disk/block layers better can also
> comment.
> 
> In summary:
> 
>  - You can force PCI_DMA_BUS_IS_PHYS to 0, which is probably the
>    safest since it should work even if there is heavy pressure
>    on memory <= 4GB.
> 
>  - You can try setting ISA_DMA_THRESHOLD to 0xffffffff which should
>    work fine as long as there is free memory <= 4GB.
> 
>  - You could get a controller that can address all physical memory
>    or a machine that has a hardware I/O MMU.
> 
> 	--david
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
Gelato@UNSW <www.gelato.unsw.edu.au>
--------------------------------------------------

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.3 oops ia64 Itanium1 with Silicon Image IDE
  2004-02-20  0:56 2.6.3 oops ia64 Itanium1 with Silicon Image IDE Darren Williams
  2004-02-20  2:32 ` David Mosberger
  2004-02-20  2:55 ` Darren Williams
@ 2004-02-20  5:01 ` David Mosberger
  2004-02-20  6:26 ` Darren Williams
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: David Mosberger @ 2004-02-20  5:01 UTC (permalink / raw)
  To: linux-ia64

>>>>> On Fri, 20 Feb 2004 13:55:08 +1100, Darren Williams <dsw@gelato.unsw.edu.au> said:

  Darren> Hi David I will try the first option of setting

  Darren> PCI_DMA_BUS_IS_PHYS to 0

  Darren> and report back.

OK.  It would be interesting to know whether the ISA_DMA_THRESHOLD
fix also works, since that would be more likel to qualify as a permanent
fix.

  Darren> I know we must be the only people in the world that uses
  Darren> these machines, but somebody has to keep the HP service guys
  Darren> clued up on old technology. The last guy that payed us a
  Darren> visit though he was in a museum.

Heh.. ;-)

There is no need to feel apologetic though: the Intel Tiger platform
should have the same issue.

	--david

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.3 oops ia64 Itanium1 with Silicon Image IDE
  2004-02-20  0:56 2.6.3 oops ia64 Itanium1 with Silicon Image IDE Darren Williams
                   ` (2 preceding siblings ...)
  2004-02-20  5:01 ` David Mosberger
@ 2004-02-20  6:26 ` Darren Williams
  2004-02-24  2:14 ` Darren Williams
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Darren Williams @ 2004-02-20  6:26 UTC (permalink / raw)
  To: linux-ia64

Hi David

This is on main server machine so I will test both on Monday
morning when things are quite, and post results.

Darren


On Thu, 19 Feb 2004, David Mosberger wrote:

> >>>>> On Fri, 20 Feb 2004 13:55:08 +1100, Darren Williams <dsw@gelato.unsw.edu.au> said:
> 
>   Darren> Hi David I will try the first option of setting
> 
>   Darren> PCI_DMA_BUS_IS_PHYS to 0
> 
>   Darren> and report back.
> 
> OK.  It would be interesting to know whether the ISA_DMA_THRESHOLD
> fix also works, since that would be more likel to qualify as a permanent
> fix.
> 
>   Darren> I know we must be the only people in the world that uses
>   Darren> these machines, but somebody has to keep the HP service guys
>   Darren> clued up on old technology. The last guy that payed us a
>   Darren> visit though he was in a museum.
> 
> Heh.. ;-)
> 
> There is no need to feel apologetic though: the Intel Tiger platform
> should have the same issue.
> 
> 	--david
--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
Gelato@UNSW <www.gelato.unsw.edu.au>
--------------------------------------------------

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.3 oops ia64 Itanium1 with Silicon Image IDE
  2004-02-20  0:56 2.6.3 oops ia64 Itanium1 with Silicon Image IDE Darren Williams
                   ` (3 preceding siblings ...)
  2004-02-20  6:26 ` Darren Williams
@ 2004-02-24  2:14 ` Darren Williams
  2004-02-24  2:54 ` David Mosberger
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Darren Williams @ 2004-02-24  2:14 UTC (permalink / raw)
  To: linux-ia64

Hi David

PCI_DMA_BUS_IS_PHYS to 0

boots OK

PCI_DMA_BUS_IS_PHYS Oxffffffff
&
PCI_DMA_BUS_IS_PHYS OxffffffffUL

fail

Before continuing with this there are more serious problems with
the slab layer, see my post (BUG) slab error....

Thanks
Darren




On Thu, 19 Feb 2004, David Mosberger wrote:

> >>>>> On Fri, 20 Feb 2004 13:55:08 +1100, Darren Williams <dsw@gelato.unsw.edu.au> said:
> 
>   Darren> Hi David I will try the first option of setting
> 
>   Darren> PCI_DMA_BUS_IS_PHYS to 0
> 
>   Darren> and report back.
> 
> OK.  It would be interesting to know whether the ISA_DMA_THRESHOLD
> fix also works, since that would be more likel to qualify as a permanent
> fix.
> 
>   Darren> I know we must be the only people in the world that uses
>   Darren> these machines, but somebody has to keep the HP service guys
>   Darren> clued up on old technology. The last guy that payed us a
>   Darren> visit though he was in a museum.
> 
> Heh.. ;-)
> 
> There is no need to feel apologetic though: the Intel Tiger platform
> should have the same issue.
> 
> 	--david
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
Gelato@UNSW <www.gelato.unsw.edu.au>
--------------------------------------------------

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.3 oops ia64 Itanium1 with Silicon Image IDE
  2004-02-20  0:56 2.6.3 oops ia64 Itanium1 with Silicon Image IDE Darren Williams
                   ` (4 preceding siblings ...)
  2004-02-24  2:14 ` Darren Williams
@ 2004-02-24  2:54 ` David Mosberger
  2004-02-25  1:30 ` Darren Williams
  2004-02-28  5:20 ` David Mosberger
  7 siblings, 0 replies; 9+ messages in thread
From: David Mosberger @ 2004-02-24  2:54 UTC (permalink / raw)
  To: linux-ia64


 Darren> Hi David
 Darren> PCI_DMA_BUS_IS_PHYS to 0

 Darren> boots OK

 Darren> PCI_DMA_BUS_IS_PHYS Oxffffffff
 Darren> &
 Darren> PCI_DMA_BUS_IS_PHYS OxffffffffUL

 Darren> fail

Sorry, apparently I wasn't clear: PCI_DMA_BUS_IS_PHYS is a boolean, so
it makes no sense to set it to anything other than 0 or 1.  What I
meant for the second option is to leave PCI_DMA_BUS_IS_PHYS to 1 and
then to set the ISA_DMA_THRESHOLD to 0xffffffff.

 Darren> Before continuing with this there are more serious problems
 Darren> with the slab layer, see my post (BUG) slab error....

I saw your mails, but haven't seen this problem myself.

	--david

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.3 oops ia64 Itanium1 with Silicon Image IDE
  2004-02-20  0:56 2.6.3 oops ia64 Itanium1 with Silicon Image IDE Darren Williams
                   ` (5 preceding siblings ...)
  2004-02-24  2:54 ` David Mosberger
@ 2004-02-25  1:30 ` Darren Williams
  2004-02-28  5:20 ` David Mosberger
  7 siblings, 0 replies; 9+ messages in thread
From: Darren Williams @ 2004-02-25  1:30 UTC (permalink / raw)
  To: linux-ia64

Hi David

So with the correct changes the patch below boots with the 32bit pci silicon
image ide controller and 4GB of ram on Itanium 1.

When physical memory reaches or exceeds 4GB
some 32bit pci cards cannot directly access
the upper bound of phys memory therefore
we need to tell these cards that 4GB is
thier limit.


--- linux-2.6.3/include/asm-ia64/scatterlist.h  2004-02-16 09:41:56.000000000 +1100
+++ linux-2.6.3-latest/include/asm-ia64/scatterlist.h   2004-02-25 12:20:21.000000000 +1100
@@ -15,6 +15,6 @@
        unsigned int dma_length;
 };
  
-#define ISA_DMA_THRESHOLD      (~0UL)
+#define ISA_DMA_THRESHOLD      (0xffffffff)
  
 #endif /* _ASM_IA64_SCATTERLIST_H */
 




On Mon, 23 Feb 2004, David Mosberger wrote:

> 
>  Darren> Hi David
>  Darren> PCI_DMA_BUS_IS_PHYS to 0
> 
>  Darren> boots OK
> 
>  Darren> PCI_DMA_BUS_IS_PHYS Oxffffffff
>  Darren> &
>  Darren> PCI_DMA_BUS_IS_PHYS OxffffffffUL
> 
>  Darren> fail
> 
> Sorry, apparently I wasn't clear: PCI_DMA_BUS_IS_PHYS is a boolean, so
> it makes no sense to set it to anything other than 0 or 1.  What I
> meant for the second option is to leave PCI_DMA_BUS_IS_PHYS to 1 and
> then to set the ISA_DMA_THRESHOLD to 0xffffffff.
> 
>  Darren> Before continuing with this there are more serious problems
>  Darren> with the slab layer, see my post (BUG) slab error....
> 
> I saw your mails, but haven't seen this problem myself.
> 
> 	--david
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
Gelato@UNSW <www.gelato.unsw.edu.au>
--------------------------------------------------

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.3 oops ia64 Itanium1 with Silicon Image IDE
  2004-02-20  0:56 2.6.3 oops ia64 Itanium1 with Silicon Image IDE Darren Williams
                   ` (6 preceding siblings ...)
  2004-02-25  1:30 ` Darren Williams
@ 2004-02-28  5:20 ` David Mosberger
  7 siblings, 0 replies; 9+ messages in thread
From: David Mosberger @ 2004-02-28  5:20 UTC (permalink / raw)
  To: linux-ia64

>>>>> On Wed, 25 Feb 2004 12:30:51 +1100, Darren Williams <dsw@gelato.unsw.edu.au> said:

  Darren> Hi David So with the correct changes the patch below boots
  Darren> with the 32bit pci silicon image ide controller and 4GB of
  Darren> ram on Itanium 1.

OK, I made this change now.  I tried to reproduce it on one of our
machines, but it turns out that none of them have both memory above
4GB and IDE disks (CD-ROMs don't trigger the BUG_ON).  This also
explains why we haven't seen any problems on our Tiger: even though it
has no hardware I/O MMU and memory above 4GB, it has only an IDE
CD-ROM, not an IDE harddisk.

Thanks,

	--david

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-02-28  5:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-20  0:56 2.6.3 oops ia64 Itanium1 with Silicon Image IDE Darren Williams
2004-02-20  2:32 ` David Mosberger
2004-02-20  2:55 ` Darren Williams
2004-02-20  5:01 ` David Mosberger
2004-02-20  6:26 ` Darren Williams
2004-02-24  2:14 ` Darren Williams
2004-02-24  2:54 ` David Mosberger
2004-02-25  1:30 ` Darren Williams
2004-02-28  5:20 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox