Skip to contentSkip to conversation

Grub2 and two Sil3114 chipset cards

DISCUSSION Kevin Stewart 2 participants 2 messages Jan 10, 2007 – Jan 11, 2007

lore
Share & tools
lore
#0 lore raw

I have an intel system with running debian.

I have installed the system with grub2 all was working fine then I cam up with the smart idea to add more storage 5 SATA disks planning to software raid 5 them

with 1 ST Lab A-223, 4 port SATA card the system boots no problem
with 2 SATA cards installed 4 drives all on one of the cards the other card empty the system still boots, it does not matter which card I have the drives on
the drives seem to respond correctly
if I run the drives split over the cards the system boots to the grub menu then tries to load the kernel and fails to a screen like below

Booting 'Debian GNU/Linux, linux 2.6.18-3-686'

[Linux-bzImage, setup=0x1e00, size=0x131990]
GRUB

I am running the debian package version of grub2 1.95-2

does anyone have any thoughts?

smudge:~# lspci -v
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 650/M650 Host (rev 01)
       Subsystem: Silicon Integrated Systems [SiS] 650/M650 Host
       Flags: bus master, medium devsel, latency 32
       Memory at e8000000 (32-bit, non-prefetchable) [size=64M]
       Capabilities: [c0] AGP version 2.0

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 00009000-00009fff
Memory behind bridge: ed000000-ed0fffff
Prefetchable memory behind bridge: e0000000-e7ffffff

00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS961 [MuTIOL Media IO]
Flags: bus master, medium devsel, latency 0

00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
Flags: medium devsel
I/O ports at 5c00 [size=32]

00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07) (prog-if 10 [OHCI])
Subsystem: Silicon Integrated Systems [SiS] USB 1.0 Controller
Flags: bus master, medium devsel, latency 32, IRQ 169
Memory at ed102000 (32-bit, non-prefetchable) [size=4K]

00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07) (prog-if 10 [OHCI])
Subsystem: Silicon Integrated Systems [SiS] USB 1.0 Controller
Flags: bus master, medium devsel, latency 32, IRQ 177
Memory at ed100000 (32-bit, non-prefetchable) [size=4K]

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 80 [Master])
Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE
Controller (A,B step)
Flags: bus master, fast devsel, latency 128
I/O ports at f000 [size=16]

00:0b.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)

       Subsystem: Silicon Image, Inc. SiI 3114 SATARaid Controller
       Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 185
       I/O ports at a000 [size=8]
       I/O ports at a400 [size=4]
       I/O ports at a800 [size=8]
       I/O ports at ac00 [size=4]
       I/O ports at b000 [size=16]
       Memory at ed101000 (32-bit, non-prefetchable) [size=1K]
       [virtual] Expansion ROM at 20000000 [disabled] [size=512K]
       Capabilities: [60] Power Management version 2

00:0d.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)

       Subsystem: Silicon Image, Inc. SiI 3114 SATARaid Controller
       Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 193
       I/O ports at b400 [size=8]
       I/O ports at b800 [size=4]
       I/O ports at bc00 [size=8]
       I/O ports at c000 [size=4]
       I/O ports at c400 [size=16]
       Memory at ed103000 (32-bit, non-prefetchable) [size=1K]
       [virtual] Expansion ROM at 20080000 [disabled] [size=512K]
       Capabilities: [60] Power Management version 2

00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 201
I/O ports at c800 [size=256]
Memory at ed104000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter (prog-if 00 [VGA])
Subsystem: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP
VGA Display Adapter
Flags: 66MHz, medium devsel, IRQ 5
BIST result: 00
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Memory at ed000000 (32-bit, non-prefetchable) [size=128K]
I/O ports at 9000 [size=128]
Capabilities: [40] Power Management version 1
Capabilities: [50] AGP version 2.0

smudge:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi4 Channel: 00 Id: 00 Lun: 00
 Vendor: ATA      Model: ST3320620AS      Rev: 3.AA
 Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi5 Channel: 00 Id: 00 Lun: 00
 Vendor: ATA      Model: ST3320620AS      Rev: 3.AA
 Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi6 Channel: 00 Id: 00 Lun: 00
 Vendor: ATA      Model: ST3320620AS      Rev: 3.AA
 Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi7 Channel: 00 Id: 00 Lun: 00
 Vendor: ATA      Model: ST3320620AS      Rev: 3.AA
 Type:   Direct-Access                    ANSI SCSI revision: 05
smudge:~# hddtemp /dev/sda /dev/sdb /dev/sdc /dev/sdd
/dev/sda: ST3320620AS: 35 C
/dev/sdb: ST3320620AS: 38 C
/dev/sdc: ST3320620AS: 35 C
/dev/sdd: ST3320620AS: 37 C
#1 lore raw

Dne 10 Leden 2007, 12:16, Kevin Stewart napsal(a):

Quoted 7 lines

I have an intel system with running debian.

I have installed the system with grub2 all was working fine then I cam up with the smart idea to add more storage 5 SATA disks planning to software raid 5 them

Quoted 7 lines

with 1 ST Lab A-223, 4 port SATA card the system boots no problem with 2 SATA cards installed 4 drives all on one of the cards the other card empty the system still boots, it does not matter which card I have the drives on the drives seem to respond correctly if I run the drives split over the cards the system boots to the grub menu then tries to load the kernel and fails to a screen like below

If I remember correctly, I had old ATA-66 driver, which installed add-on to bios for booting only if it had hard-drive attached. So with drives on one card, only one card installs bios add-on. When there are drives on both cards, both cards installs add-on to bios. This may cause the problem - the bios of one card somehow overwrites part of bios of the other card, resulting in badly working bios routine handling the access to the disk.

If you can somehow configure one of the cards, to not add disks to bios, then it may work. But my old ATA-66 card had not such option.

The wierd thing is, that grub finds its own files and can read them (I mean menu.cfg and modules), while it cannot load the linux image (correct me here if I'm not right). I do not understand this behaviour.

--

                            Tomas Ebenlendr
                            http://drak.ucw.cz/ebik