IDE strangeness under 2.1.x with SiS 5591 chipset

David Mansell (dhm23@cam.ac.uk)
Sat, 16 May 1998 01:56:18 +0000


--Message-Boundary-18523
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body

I've recently acquired a new motherboard with a SiS 5591 chipset
(IDE controller identified as SIS5513) and Linux doesn't recognize
the bus-mastering IDE controllers properly, it identifies them as
'ide2' and 'ide3' rather than 'ide0' and 'ide1.'

It then detects and uses the first controller as ide0 (there is only
one IDE device in the machine) and uses it as a standard controller
(but I can't use hdparm to set dma mode). There is also strangeness
with 'hdb' which it moans about even though I only have one hard
disk.

This has occured on every 2.1.x kernel I've tried on this machine
(from mid 90's onwards).

I suspect it's just a minor change to the detect code, but I really
don't grok the IDE code in the slightest.

Any help would be appreciated.

(enclosing .config, dmesg and lspci -vvx from 2.1.102, let me know if
you want anything else)

-D

-- 
David Mansell, studying hard as usual...   dhm23@cam.ac.uk
+44 1223 357720  http://ban.joh.cam.ac.uk/  talk: dhm23@moh.joh.cam.ac.uk

--Message-Boundary-18523 Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information.

The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance.

---- File information ----------- File: dmesg Date: 16 May 1998, 1:49 Size: 2419 bytes. Type: Unknown

--Message-Boundary-18523 Content-type: Application/Octet-stream; name="dmesg"; type=Unknown Content-disposition: attachment; filename="dmesg"

Linux version 2.1.102 (dhm23@moh) (gcc version 2.7.2.3) #1 Fri May 15 19:10:30 BST 1998 Console: 8 point font, 400 scans Console: colour VGA+ 80x50, 1 virtual console (max 63) Calibrating delay loop... 165.89 BogoMIPS Memory: 63348k/65536k available (740k kernel code, 392k reserved, 1024k data, 32k init) Checking if this processor honours the WP bit even in supervisor mode... Ok. Swansea University Computer Society NET3.039 for Linux 2.1 NET3: Unix domain sockets 0.16 for Linux NET3.038. Swansea University Computer Society TCP/IP for NET3.037 IP Protocols: ICMP, UDP, TCP VFS: Diskquotas version dquot_6.4.0 initialized CPU: Cyrix 6x86MX 2.5x Core/Bus Clock stepping 04 Checking 386/387 coupling... Ok, fpu using exception 16 error reporting. Checking 'hlt' instruction... Ok. POSIX conformance testing by UNIFIX PCI: Using configuration type 1 PCI: Probing PCI hardware. Starting kswapd v 1.5 parport0: PC-style at 0x378 [SPP,PS2,EPP] Serial driver version 4.25 with enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Software Watchdog Timer: 0.05, timer margin: 60 sec Real Time Clock Driver v1.09 SIS5513: IDE controller on PCI bus 00 dev 01 SIS5513: not 100% native mode: will probe irqs later ide2: BM-DMA at 0x4000-0x4007, BIOS settings: hde:pio, hdf:pio ide3: BM-DMA at 0x4008-0x400f, BIOS settings: hdg:pio, hdh:pio hda: Maxtor 83201A6, ATA DISK drive hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x50) hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x50) hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x50) hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x50) hdb: non-IDE drive, CHS=0/0/0 ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: Maxtor 83201A6, 3060MB w/256kB Cache, CHS=777/128/63 hdb: INVALID GEOMETRY: 0 PHYSICAL HEADS? ne.c: PCI BIOS reports Realtek 8029 at i/o 0xdf80, irq 9. ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov) NE*000 ethercard probe at 0xdf80: 00 c0 f0 2a 05 b6 eth0: NE2000 found at 0xdf80, using IRQ 9. Partition check: hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 > VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 32k freed Adding Swap: 64476k swap-space (priority -1) Swansea University Computer Society IPX 0.38 for NET3.037 IPX Portions Copyright (c) 1995 Caldera, Inc. nfs warning: mount version older than kernel cat uses obsolete /proc/pci interface --Message-Boundary-18523 Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information.

The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance.

---- File information ----------- File: pcilist Date: 16 May 1998, 1:49 Size: 4065 bytes. Type: Unknown

--Message-Boundary-18523 Content-type: Application/Octet-stream; name="pcilist"; type=Unknown Content-disposition: attachment; filename="pcilist"

00:00.0 Host bridge: Silicon Integrated Systems: Unknown device 5591 (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 64 set Region 0: Memory at f4000000 (32-bit, non-prefetchable) 00: 39 10 91 55 07 01 10 22 02 00 00 06 00 40 80 00 10: 00 00 00 f4 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00

00:00.1 IDE interface: Silicon Integrated Systems 5513 (rev d0) (prog-if 80) Subsystem ID: 1254:8404 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 128 set Interrupt: pin A routed to IRQ 0 Region 0: I/O ports at 50840 Region 1: I/O ports at 1c0209b8 Region 2: I/O ports at 14909898 Region 3: I/O ports at 40024080 Region 4: I/O ports at 4000 00: 39 10 13 55 07 00 00 00 d0 80 01 01 00 80 80 00 10: 41 08 05 00 b9 09 02 1c 99 98 90 14 81 40 02 40 20: 01 40 00 00 00 00 00 00 00 00 00 00 54 12 04 84 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00

00:01.0 ISA bridge: Silicon Integrated Systems 85C503 (rev 01) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 set 00: 39 10 08 00 0f 00 00 02 01 00 01 06 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:01.1 Unknown class [ff00]: Silicon Integrated Systems: Unknown device 0009 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- 00: 39 10 09 00 00 00 00 02 00 00 00 ff 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:02.0 PCI bridge: Silicon Integrated Systems SG86C201 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 set Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: ef900000-ef9fffff Prefetchable memory behind bridge: ef700000-ef700000 BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- 00: 39 10 01 00 07 01 00 00 00 00 04 06 00 00 01 00 10: 00 00 00 00 00 00 00 00 00 01 01 00 c0 c0 00 20 20: 90 ef 90 ef 70 ef 70 ef 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00

00:09.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01) Subsystem ID: 5333:8a01 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 4 min, 255 max, 64 set Interrupt: pin A routed to IRQ 0 Region 0: Memory at f8000000 (32-bit, non-prefetchable) 00: 33 53 01 8a 07 00 00 02 01 00 00 03 00 40 00 00 10: 00 00 00 f8 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 33 53 01 8a 30: 00 00 af ff 00 00 00 00 00 00 00 00 00 01 04 ff

00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 8029 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin A routed to IRQ 9 Region 0: I/O ports at df80 00: ec 10 29 80 03 00 00 02 00 00 00 02 00 00 00 00 10: 81 df 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 09 01 00 00

--Message-Boundary-18523 Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information.

The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance.

---- File information ----------- File: config Date: 16 May 1998, 1:50 Size: 1840 bytes. Type: Unknown

--Message-Boundary-18523 Content-type: Application/Octet-stream; name="config"; type=Unknown Content-disposition: attachment; filename="config"

CONFIG_EXPERIMENTAL=y CONFIG_M686=y CONFIG_MODULES=y CONFIG_KMOD=y CONFIG_NET=y CONFIG_PCI=y CONFIG_PCI_DIRECT=y CONFIG_PCI_QUIRKS=y CONFIG_PCI_OPTIMIZE=y CONFIG_PCI_OLD_PROC=y CONFIG_SYSVIPC=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_SYSCTL=y CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_ELF=y CONFIG_BINFMT_JAVA=m CONFIG_VIDEO_SELECT=y CONFIG_PARPORT=y CONFIG_PARPORT_PC=y CONFIG_PNP=y CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_IDEDMA=y CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_RAM=m CONFIG_PARIDE_PARPORT=y CONFIG_PACKET=y CONFIG_FIREWALL=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_FIREWALL=y CONFIG_IP_ALWAYS_DEFRAG=y CONFIG_NET_IPIP=m CONFIG_SYN_COOKIES=y CONFIG_IP_NOSR=y CONFIG_IPX=m CONFIG_ATALK=m CONFIG_NETDEVICES=y CONFIG_DUMMY=m CONFIG_NET_ETHERNET=y CONFIG_NET_ISA=y CONFIG_NE2000=y CONFIG_PLIP=m CONFIG_QUOTA=y CONFIG_MINIX_FS=m CONFIG_EXT2_FS=y CONFIG_FAT_FS=m CONFIG_MSDOS_FS=m CONFIG_UMSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_PROC_FS=y CONFIG_NFS_FS=y CONFIG_SUNRPC=y CONFIG_LOCKD=y CONFIG_CODA_FS=m CONFIG_SMB_FS=m CONFIG_NCP_FS=m CONFIG_NCPFS_NFS_NS=y CONFIG_NCPFS_OS2_NS=y CONFIG_NCPFS_MOUNT_SUBDIR=y CONFIG_AUTOFS_FS=m CONFIG_DEVPTS_FS=y CONFIG_NLS=y CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_CODEPAGE_850=y CONFIG_NLS_ISO8859_1=y CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=y CONFIG_SERIAL_CONSOLE=y CONFIG_MOUSE=y CONFIG_PSMOUSE=y CONFIG_82C710_MOUSE=y CONFIG_WATCHDOG=y CONFIG_SOFT_WATCHDOG=y CONFIG_RTC=y CONFIG_FTAPE=m CONFIG_ZFTAPE=m CONFIG_ZFT_DFLT_BLK_SZ=10240 CONFIG_ZFT_COMPRESSOR=m CONFIG_FT_NR_BUFFERS=3 CONFIG_FT_PROC_FS=y CONFIG_FT_NORMAL_DEBUG=y CONFIG_FT_STD_FDC=y CONFIG_FT_FDC_THR=8 CONFIG_FT_FDC_MAX_RATE=2000 CONFIG_FT_ALPHA_CLOCK=0 CONFIG_SOUND=m CONFIG_SOUND_SB=m CONFIG_SOUND_ADLIB=m CONFIG_SOUND_MSS=m CONFIG_SOUND_YM3812=m CONFIG_MAGIC_SYSRQ=y CONFIG_VGA_CONSOLE=y

--Message-Boundary-18523--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu