[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sata sucks



Hi,

I have installed two new SATA disks I want to run in a software-RAID
1, besides some SCSI disks and an SATA DVD R/W. Once I enable all SATA
ports in the BIOS, booting fails with displaying the messages
'Secondary device added' and 'Secondary device removed' in turn,
indefinitely.

With only two of the SATA ports enabled in the BIOS, I can boot and
even read from the DVD drive, and one of the hard disks is
detected. BIOS detects all SATA devices as ports are enabled.

How can I make use of at least three of the SATA ports at the same
time?


Info:

Debian testing, Asus A8N-SLI

lee@yun:~$ uname -a
Linux yun 2.6.16.2-yun #2 PREEMPT Sun Apr 9 19:43:30 CEST 2006 i686 GNU/Linux


lee@yun:~$ lspci
0000:00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
0000:00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
0000:00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
0000:00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
0000:00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
0000:00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
0000:00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
0000:00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: nVidia Corporation GeForce 7800 GTX (rev a1)
0000:05:06.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 Ultra3 SCSI Adapter (rev 01)
0000:05:06.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 Ultra3 SCSI Adapter (rev 01)
0000:05:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
0000:05:07.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04)
0000:05:07.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)


yun:/home/lee# cat /proc/scsi/scsi 
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: IC35L036UWD210-0 Rev: S5BS
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: QUANTUM  Model: ATLAS10K2-TY184L Rev: DA40
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 12 Lun: 00
  Vendor: IBM      Model: DDYS-T18350N     Rev: S96H
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 15 Lun: 00
  Vendor: FUJITSU  Model: MAP3367NP        Rev: 0108
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: Maxtor 7V300F0   Rev: VA11
  Type:   Direct-Access                    ANSI SCSI revision: 05


yun:/home/lee# cat /boot/grub/menu.lst
[...]
title           2.6.16.2-yun
root            (hd0,0)
kernel          /boot/yk-2.6.16.2 root=/dev/sda1 libata.atapi_enabled=1 ro
savedefault
boot


yun:/home/lee# grep -i sata /var/log/messages
[...]
Apr 29 17:49:34 yun kernel: ata1: SATA max UDMA/133 cmd 0x9E0 ctl 0xBE2 bmdma 0xD400 irq 10
Apr 29 17:49:34 yun kernel: ata2: SATA max UDMA/133 cmd 0x960 ctl 0xB62 bmdma 0xD408 irq 10
Apr 29 17:49:34 yun kernel: ata1: SATA link up 3.0 Gbps (SStatus 123)
Apr 29 17:49:34 yun kernel: nv_sata: Primary device added
Apr 29 17:49:34 yun kernel: nv_sata: Primary device removed
Apr 29 17:49:34 yun kernel: nv_sata: Secondary device added
Apr 29 17:49:34 yun kernel: nv_sata: Secondary device removed
Apr 29 17:49:34 yun kernel: scsi2 : sata_nv
Apr 29 17:49:34 yun kernel: ata2: SATA link down (SStatus 0)
Apr 29 17:49:34 yun kernel: scsi3 : sata_nv


yun:/home/lee# cat /proc/interrupts 
           CPU0       
  0:    2626453    IO-APIC-edge  timer
  1:       6604    IO-APIC-edge  i8042
  2:          0          XT-PIC  cascade
  3:      26052   IO-APIC-level  eth0
  5:     185766   IO-APIC-level  nvidia
  7:          1   IO-APIC-level  EMU10K1
 10:         16   IO-APIC-level  libata
 11:      13219   IO-APIC-level  sym53c8xx, sym53c8xx, ehci_hcd:usb1
 12:      74377    IO-APIC-edge  i8042
NMI:          0 
LOC:    2626421 
ERR:          0
MIS:          1


yun:/home/lee# lsmod
Module                  Size  Used by
nvidia               4537492  12 
agpgart                22768  1 nvidia
snd_emu10k1_synth       5440  0 
snd_emux_synth         28224  1 snd_emu10k1_synth
snd_seq_virmidi         4800  1 snd_emux_synth
snd_seq_midi_emul       4800  1 snd_emux_synth
snd_seq_oss            25252  0 
snd_seq_midi            5792  0 
snd_seq_midi_event      5440  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq                40524  8 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_emu10k1            94500  1 snd_emu10k1_synth
snd_rawmidi            17504  3 snd_seq_virmidi,snd_seq_midi,snd_emu10k1
snd_ac97_codec         79328  1 snd_emu10k1
snd_ac97_bus            1728  1 snd_ac97_codec
snd_pcm_oss            39072  0 
snd_mixer_oss          13312  1 snd_pcm_oss
snd_pcm                64264  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_seq_device          6476  7 snd_emu10k1_synth,snd_emux_synth,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer              17092  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc          7240  2 snd_emu10k1,snd_pcm
snd_util_mem            3136  2 snd_emux_synth,snd_emu10k1
snd_hwdep               6340  2 snd_emux_synth,snd_emu10k1
snd                    39040  13 snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
ehci_hcd               22792  0 
usbcore                95456  2 ehci_hcd
nvnet                  69284  0 


The DVD is on one of the SATA ports currently disabled. I can enable
the other ports and disable the ports that are currently enabled and
get the DVD drive and the other HD (wich is the same type)
listed. Booting with all 4 SATA ports enabled fails. I haven't tried
to access the SATA disk yet.


GH
-- 
Life is hard; and then you die.



Reply to: