2002-12-17 21:58:36

by Markus1108Wagner

[permalink] [raw]
Subject: No booting with a Silicon Image 3112 SATA-Controller

Hi,

I got a PCI SATA-Controller with the SiI 3112 Chipset. I tried to get it
running with

2.4.19-ac4-ide ( from linux-ide.org )
2.4.20-ac1 and -ac2.

The support for the controller is compiled directly into the kernel.

Since I dont have a SATA-HDD, I am using a SATA to PATA dongle with an IBM
DTLA 307030 HDD.

When booting the 2.4.20-ac1/-ac2 kernel, the boot process stops at

VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 132k freed

with no further action.

With Kernel 2.4.19-ac4-ide the system booted and crashed shortly after.

I tried the "ide=reveresed" kernel option with all kernels used.

Some info about my system:
MoBo: ECS Elitegroup K7S5A with AMD Athlon C 1400 ( SiS 735 Chipset )
The HDD ( IBM DTLA-307030 ) works without failure when using the onboard
Controller.

I tried to remove the network and the sound card to get a unique interrupt for
the controller but that didn't change things.

This is the Screen-Output when booting 2.4.20-ac2:
...
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 00:02.5
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SiS735 ATA 100 controller
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
SiI3112 Serial ATA: IDE controller at PCI slot 00:0b.0
PCI: Found IRQ 5 for device 00:0b.0
PCI: Sharing IRQ 5 with 00:11.0
SiI3112 Serial ATA: chipset revision 1
SiI3112 Serial ATA: not 100% native mode: will probe irqs later
ide2: MMIO-DMA at 0xe280ee00-0xe280ee07, BIOS settings: hde:pio, hdf:pio
ide3: MMIO-DMA at 0xe280ee08-0xe280ee0f, BIOS settings: hdg:pio, hdh:pio
hdc: CREATIVECD-RW RW121032E, ATAPI CD/DVD-ROM drive
hdd: CREATIVE CD5233E, ATAPI CD/DVD-ROM drive
hde: IBM-DTLA-307030, ATA DISK drive
hde: DMA disabled
hdg: no response (status = 0xfe)
ide2 at 0xe280ee80-0xe280ee87, 0xe280ee8a on IRQ 5
hde: host protected area => 1
hde: 60036480 sectors (30739 MB) w/1916KiB Cache, CHS=3737/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3 hda4
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 132k freed

Output of scripts/ver_linux:

Linux jupiter 2.4.20-ac2 #2 Die Dez 17 21:08:28 EST 2002 i686 unknown

Gnu C 2.96
Gnu make 3.79.1
util-linux 2.11n
mount 2.11n
modutils 2.4.18
e2fsprogs 1.27
reiserfsprogs 3.x.0j
Linux C Library 2.2.5
Dynamic linker (ldd) 2.2.5
Procps 2.0.7
Net-tools 1.60
Console-tools 0.3.3
Sh-utils 2.0.11
Modules Loaded sr_mod emu10k1 ac97_codec sound soundcore agpgart
nvidia natsemi ide-scsi scsi_mod ide-cd cdrom

cat /proc/pci ( with HDD on oboard IDE) :
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Silicon Integrated Systems [SiS] 735 Host (rev 1).
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xd0000000 [0xd3ffffff].
Bus 0, device 1, function 0:
PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (rev 0).
Master Capable. Latency=64. Min Gnt=10.
Bus 0, device 2, function 0:
ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 0).
Bus 0, device 2, function 5:
IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 208).
Master Capable. Latency=128.
I/O at 0xff00 [0xff0f].
Bus 0, device 11, function 0:
Unknown mass storage controller: PCI device 1095:3112 (CMD Technology Inc)
(rev 1).
IRQ 5.
Master Capable. Latency=64.
I/O at 0xd800 [0xd807].
I/O at 0xd400 [0xd403].
I/O at 0xd000 [0xd007].
I/O at 0xcc00 [0xcc03].
I/O at 0xc800 [0xc80f].
Non-prefetchable 32 bit memory at 0xcffffe00 [0xcfffffff].
Bus 0, device 15, function 0:
Ethernet controller: National Semiconductor Corporation DP83815
(MacPhyter) Ethernet Controller (rev 0).
IRQ 10.
Master Capable. Latency=64. Min Gnt=11.Max Lat=52.
I/O at 0xc400 [0xc4ff].
Non-prefetchable 32 bit memory at 0xcfffe000 [0xcfffefff].
Bus 0, device 17, function 0:
Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 8).
IRQ 5.
Master Capable. Latency=64. Min Gnt=2.Max Lat=20.
I/O at 0xc000 [0xc01f].
Bus 0, device 17, function 1:
Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 8).
Master Capable. Latency=64.
I/O at 0xdc00 [0xdc07].
Bus 1, device 0, function 0:
VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX] (rev
161).
IRQ 11.
Master Capable. Latency=248. Min Gnt=5.Max Lat=1.
Non-prefetchable 32 bit memory at 0xce000000 [0xceffffff].
Prefetchable 32 bit memory at 0xc0000000 [0xc7ffffff].

Hope you can make use of this

best regards,

Markus Wagner


2002-12-18 01:05:06

by Andre Hedrick

[permalink] [raw]
Subject: Re: No booting with a Silicon Image 3112 SATA-Controller


Attached is SATA booting and running as /dev/md0 in raid 1

[root@athy root]# hdparm -t /dev/md0

/dev/md0:
Timing buffered disk reads: 64 MB in 1.55 seconds = 41.29 MB/sec

Try enableing offboard booting.

This is the next rev below, with the real mccoy devices.

Linux version 2.4.20-ac1 ([email protected]) (gcc version 3.2
20020903 (Red Hat Linux 8.0 3.2-7)) #1 Sat Dec 14 02:37:07 PST 2002

SvrWks CSB6: IDE controller at PCI slot 00:0f.1
SvrWks CSB6: chipset revision 160
SvrWks CSB6: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1420-0x1427, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1428-0x142f, BIOS settings: hdc:DMA, hdd:pio
SvrWks CSB6: IDE controller at PCI slot 00:0e.0
PCI: Guessed IRQ 11 for device 00:0e.0
SvrWks CSB6: chipset revision 160
SvrWks CSB6: 100% native mode on irq 11
ide2: BM-DMA at 0x1410-0x1417, BIOS settings: hde:pio, hdf:pio
SiI3112 Serial ATA: IDE controller at PCI slot 00:04.0
SiI3112 Serial ATA: chipset revision 2
SiI3112 Serial ATA: not 100% native mode: will probe irqs later
ide3: MMIO-DMA at 0xe880d000-0xe880d007, BIOS settings: hdg:pio, hdh:pio
ide4: MMIO-DMA at 0xe880d008-0xe880d00f, BIOS settings: hdi:pio, hdj:pio
hda: IC25N030ATCS04-0, ATA DISK drive
blk: queue c0319e00, I/O limit 4095Mb (mask 0xffffffff)
hdc: HL-DT-STDVD-ROM GDR8160B, ATAPI CD/DVD-ROM drive
hdg: WDC WD800BB-00CAA0, ATA DISK drive
blk: queue c031aae4, I/O limit 4095Mb (mask 0xffffffff)
hdi: ST330013AS, ATA DISK drive
blk: queue c031af30, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide3 at 0xe880d080-0xe880d087,0xe880d08a on irq 10
ide4 at 0xe880d0c0-0xe880d0c7,0xe880d0ca on irq 10
hda: host protected area => 1
hda: 58605120 sectors (30006 MB) w/1768KiB Cache, CHS=3648/255/63, UDMA(100)
hdg: host protected area => 1
hdg: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63, UDMA(100)
hdi: host protected area => 1
hdi: 58633344 sectors (30020 MB) w/8192KiB Cache, CHS=58168/16/63 UDMA(100)


On Tue, 17 Dec 2002, Markus Wagner wrote:

> Hi,
>
> I got a PCI SATA-Controller with the SiI 3112 Chipset. I tried to get it
> running with
>
> 2.4.19-ac4-ide ( from linux-ide.org )
> 2.4.20-ac1 and -ac2.
>
> The support for the controller is compiled directly into the kernel.
>
> Since I dont have a SATA-HDD, I am using a SATA to PATA dongle with an IBM
> DTLA 307030 HDD.
>
> When booting the 2.4.20-ac1/-ac2 kernel, the boot process stops at
>
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 132k freed
>
> with no further action.
>
> With Kernel 2.4.19-ac4-ide the system booted and crashed shortly after.
>
> I tried the "ide=reveresed" kernel option with all kernels used.
>
> Some info about my system:
> MoBo: ECS Elitegroup K7S5A with AMD Athlon C 1400 ( SiS 735 Chipset )
> The HDD ( IBM DTLA-307030 ) works without failure when using the onboard
> Controller.
>
> I tried to remove the network and the sound card to get a unique interrupt for
> the controller but that didn't change things.
>
> This is the Screen-Output when booting 2.4.20-ac2:
> ...
> Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> SIS5513: IDE controller at PCI slot 00:02.5
> SIS5513: chipset revision 208
> SIS5513: not 100% native mode: will probe irqs later
> SiS735 ATA 100 controller
> ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
> ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
> SiI3112 Serial ATA: IDE controller at PCI slot 00:0b.0
> PCI: Found IRQ 5 for device 00:0b.0
> PCI: Sharing IRQ 5 with 00:11.0
> SiI3112 Serial ATA: chipset revision 1
> SiI3112 Serial ATA: not 100% native mode: will probe irqs later
> ide2: MMIO-DMA at 0xe280ee00-0xe280ee07, BIOS settings: hde:pio, hdf:pio
> ide3: MMIO-DMA at 0xe280ee08-0xe280ee0f, BIOS settings: hdg:pio, hdh:pio
> hdc: CREATIVECD-RW RW121032E, ATAPI CD/DVD-ROM drive
> hdd: CREATIVE CD5233E, ATAPI CD/DVD-ROM drive
> hde: IBM-DTLA-307030, ATA DISK drive
> hde: DMA disabled
> hdg: no response (status = 0xfe)
> ide2 at 0xe280ee80-0xe280ee87, 0xe280ee8a on IRQ 5
> hde: host protected area => 1
> hde: 60036480 sectors (30739 MB) w/1916KiB Cache, CHS=3737/255/63, UDMA(100)
> ide-floppy driver 0.99.newide
> Partition check:
> hda: hda1 hda2 hda3 hda4
> ide-floppy driver 0.99.newide
> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 4096 buckets, 32Kbytes
> TCP: Hash tables configured (established 32768 bind 65536)
> Linux IP multicast router 0.06 plus PIM-SM
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 132k freed
>
> Output of scripts/ver_linux:
>
> Linux jupiter 2.4.20-ac2 #2 Die Dez 17 21:08:28 EST 2002 i686 unknown
>
> Gnu C 2.96
> Gnu make 3.79.1
> util-linux 2.11n
> mount 2.11n
> modutils 2.4.18
> e2fsprogs 1.27
> reiserfsprogs 3.x.0j
> Linux C Library 2.2.5
> Dynamic linker (ldd) 2.2.5
> Procps 2.0.7
> Net-tools 1.60
> Console-tools 0.3.3
> Sh-utils 2.0.11
> Modules Loaded sr_mod emu10k1 ac97_codec sound soundcore agpgart
> nvidia natsemi ide-scsi scsi_mod ide-cd cdrom
>
> cat /proc/pci ( with HDD on oboard IDE) :
> PCI devices found:
> Bus 0, device 0, function 0:
> Host bridge: Silicon Integrated Systems [SiS] 735 Host (rev 1).
> Master Capable. Latency=32.
> Non-prefetchable 32 bit memory at 0xd0000000 [0xd3ffffff].
> Bus 0, device 1, function 0:
> PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (rev 0).
> Master Capable. Latency=64. Min Gnt=10.
> Bus 0, device 2, function 0:
> ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 0).
> Bus 0, device 2, function 5:
> IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 208).
> Master Capable. Latency=128.
> I/O at 0xff00 [0xff0f].
> Bus 0, device 11, function 0:
> Unknown mass storage controller: PCI device 1095:3112 (CMD Technology Inc)
> (rev 1).
> IRQ 5.
> Master Capable. Latency=64.
> I/O at 0xd800 [0xd807].
> I/O at 0xd400 [0xd403].
> I/O at 0xd000 [0xd007].
> I/O at 0xcc00 [0xcc03].
> I/O at 0xc800 [0xc80f].
> Non-prefetchable 32 bit memory at 0xcffffe00 [0xcfffffff].
> Bus 0, device 15, function 0:
> Ethernet controller: National Semiconductor Corporation DP83815
> (MacPhyter) Ethernet Controller (rev 0).
> IRQ 10.
> Master Capable. Latency=64. Min Gnt=11.Max Lat=52.
> I/O at 0xc400 [0xc4ff].
> Non-prefetchable 32 bit memory at 0xcfffe000 [0xcfffefff].
> Bus 0, device 17, function 0:
> Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 8).
> IRQ 5.
> Master Capable. Latency=64. Min Gnt=2.Max Lat=20.
> I/O at 0xc000 [0xc01f].
> Bus 0, device 17, function 1:
> Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 8).
> Master Capable. Latency=64.
> I/O at 0xdc00 [0xdc07].
> Bus 1, device 0, function 0:
> VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX] (rev
> 161).
> IRQ 11.
> Master Capable. Latency=248. Min Gnt=5.Max Lat=1.
> Non-prefetchable 32 bit memory at 0xce000000 [0xceffffff].
> Prefetchable 32 bit memory at 0xc0000000 [0xc7ffffff].
>
> Hope you can make use of this
>
> best regards,
>
> Markus Wagner
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

Andre Hedrick
LAD Storage Consulting Group


Attachments:
athy.dmesg (14.30 kB)