* sata_sil problems (lockup at boottime)
@ 2004-12-04 23:34 Gerald Hopf
2004-12-05 8:08 ` Oliver Bausinger
0 siblings, 1 reply; 7+ messages in thread
From: Gerald Hopf @ 2004-12-04 23:34 UTC (permalink / raw)
To: linux-ide
Hello everyone,
i'm having some really strange problems with the sata_sil driver.
My hardware:
Asus A7N8X Deluxe Rev 1.x with onboard Sil3112 Controller
- Samsung SP1614C SATA Harddrive
- for further testing : PATA to SATA Adapter that came with an ABIT
Mainboard
What i'm trying to accomplish: i'm trying to use this Samsung SATA
harddrive in my Linux Fileserver:
When the Silicon Image Controller is enabled (it can be disabled by a
jumper) and no harddrive is connected, everything boots fine.
If i connect a harddrive, i get the following message (exact messages
change slightly) while booting:
- - - - - START - - - - -
======================
[<c0102716>] common_interrupt+0x1a/0x20
[<c0117d70>] __do_softirq+0x30/0x90
[<c0104261>] do_softirq+0x41/0x50
======================
[<c012d0a4>] irq_exit+0x34/0x40
[<c0104165>] do_IRQ+9x45/0x60
[<c0102716>] common_interrupt+0x1a/0x20
[<c010c674>] delay_tsc+0x14/0x20
[<c025efd2>] __delay+0x12/0x20
[<c02d7290>] ata_pio_complet+0xe0/0x1f0
[<c02d7a95>] ata_pio_test+0x95/0xb0
[<c01229bc>] worker_thread+0x1cc/0x290
[<c02d7a00>] ata_pio_task+0x0/0xb0
[<c0110160>] default_wake_function+0x0/0x20
[<c0110160>] default_wake_function+0x0/0x20
[<c01227f0>] worker_thread+0x0/0x290
[<c0126ca5>] kthread+0xa5/0xb0
[<c0126c00>] kthread+0x0/0xb0
[<c01006f1>] kernel_thread_helper+0x5/0x14
handlers:
[<c02d82b0>] (ata_interrupt+0x0/0x1c0)
Disabling IRQ #11
ata: dev 0 ATA, max UDMA/100, 361882080 sectors: lba 48
_
- - - - - END - - - - -
This happens with both the Samsung SP1614C "native" SATA drive, as well
as with an IBM 180GB PATA drive, using a PATA-to-SATA Adapter.
So i'm not sure whether this is harddrive dependent, but at least it
doesn't look like it...
This problem has been there in all of the latest 2.6.X kernel revisions.
I'm currently using 2.6.10-rc3 (which came out today), but i've allready
had this problem in 2.6.9 and 2.6.8 and probably even 2.6.7 if i
remember correctly.
I tried quite a lot to get rid of those problems, including:
- Flashing a new/different Bios (even with different versions of the
Silicon Image SATA Bios part: 4.2.47 and 4.2.50)
- Disabling APIC in the Bios, compiling Kernel with or without APIC
- Changing the IRQ of the Controller by reserving IRQ#11 in the Bios
- Disabling allmost every other onboard device i could, including
serial/parallel/usb/firewire/3com lan (and there are no PCI/Addon cards
besides an nvidia geforce2mx agp card installed in this pc anyway!)
- Connecting drives to both ports
I found the following discussions which might be related to what i'm
experiencing, but noone seems to have a solution. Some seem to suggest
it worked fine till 2.6.5:
(The first two seem to be most related, i'm not so sure of the third one)
http://www.fedoraforum.org/forum/archive/index.php/t-26543.html
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=128180
http://www.fedoraforum.org/forum/archive/index.php/t-23028.html
Screenshots of the error messages can be found here:
http://www.nv-systems.net/pics/lkml/sata_sil1.jpg <-- the one from above
http://www.nv-systems.net/pics/lkml/sata_sil2.jpg <-- with samsung
instead of ibm
http://www.nv-systems.net/pics/lkml/sata_sil3.jpg <-- the screen just
before the problem
Is there ANYTHING i can do (except buying a promise controller) ?
Yours sincerely,
Gerald
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: sata_sil problems (lockup at boottime)
2004-12-04 23:34 sata_sil problems (lockup at boottime) Gerald Hopf
@ 2004-12-05 8:08 ` Oliver Bausinger
2004-12-05 14:15 ` siimage annoyance (was: ata_sil problems (lockup at boottime)) Oliver Bausinger
2004-12-05 16:10 ` sata_sil problems (lockup at boottime) Bartlomiej Zolnierkiewicz
0 siblings, 2 replies; 7+ messages in thread
From: Oliver Bausinger @ 2004-12-05 8:08 UTC (permalink / raw)
To: linux-ide; +Cc: Gerald Hopf
[-- Attachment #1: Type: text/plain, Size: 3381 bytes --]
Hi,
On Sunday 05 December 2004 00:34, you wrote:
> Hello everyone,
>
> i'm having some really strange problems with the sata_sil driver.
>
> My hardware:
> Asus A7N8X Deluxe Rev 1.x with onboard Sil3112 Controller
> - Samsung SP1614C SATA Harddrive
> - for further testing : PATA to SATA Adapter that came with an ABIT
> Mainboard
I have the same problem with this hardware. The harddisk is a SAMSUNG SP1614C
again and the controller is this one:
0000:00:0a.0 Unknown mass storage controller: Silicon Image, Inc. (formerly
CMD Technology Inc) SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev
01)
Subsystem: Silicon Image, Inc. (formerly CMD Technology Inc) SiI 3112
[SATALink/SATARaid] Serial ATA Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
I/O ports at a000 [size=8]
I/O ports at 9800 [size=4]
I/O ports at 9400 [size=8]
I/O ports at 9000 [size=4]
I/O ports at 8800 [size=16]
Memory at e2000000 (32-bit, non-prefetchable)
Trying to insert the sata_sil module on 2.6.{7,8,9,10-rc3} gives
libata version 1.10 loaded.
sata_sil version 0.8
PCI: Found IRQ 5 for device 0000:00:0a.0
ata1: SATA max UDMA/100 cmd 0xD0800080 ctl 0xD080008A bmdma 0xD0800000 irq 5
ata2: SATA max UDMA/100 cmd 0xD08000C0 ctl 0xD08000CA bmdma 0xD0800008 irq 5
irq 5: nobody cared!
[<c012e5aa>] __report_bad_irq+0x2a/0x90
[<c012df60>] handle_IRQ_event+0x30/0x70
[<c012e69c>] note_interrupt+0x6c/0xd0
[<c012e0d0>] __do_IRQ+0x130/0x160
[<c01042b9>] do_IRQ+0x19/0x30
[<c0102896>] common_interrupt+0x1a/0x20
[<c0117ab0>] __do_softirq+0x30/0x90
[<c0117b36>] do_softirq+0x26/0x30
[<c012df24>] irq_exit+0x34/0x40
[<c01042be>] do_IRQ+0x1e/0x30
[<c0102896>] common_interrupt+0x1a/0x20
[<c01005f0>] default_idle+0x0/0x30
[<c0100613>] default_idle+0x23/0x30
[<c010068a>] cpu_idle+0x3a/0x60
[<c032678d>] start_kernel+0x16d/0x1b0
[<c0326360>] unknown_bootoption+0x0/0x1b0
handlers:
[<d0962490>] (ata_interrupt+0x0/0x1c0 [libata])
Disabling IRQ #5
ata1: dev 0 cfg 49:2f00 82:346b 83:7f01 84:4003 85:3c68 86:3c01 87:4003
88:20ff
ata1: dev 0 ATA, max UDMA7, 312581808 sectors: lba48
I think I can rule out hardware problems because a FreeBSD 5.3 install
worked flawlessly on this disk.
[The other possible thing to do is to use the siimage driver in drivers/ide,
but this one stopped working with 2.6.8 and further. The siimage driver works
quite good with 2.6.7, so this is another proof for no hardware problems]
> This problem has been there in all of the latest 2.6.X kernel revisions.
> I'm currently using 2.6.10-rc3 (which came out today), but i've allready
> had this problem in 2.6.9 and 2.6.8 and probably even 2.6.7 if i
> remember correctly.
>
> I tried quite a lot to get rid of those problems, including:
> - Flashing a new/different Bios (even with different versions of the
> Silicon Image SATA Bios part: 4.2.47 and 4.2.50)
Where did you get it? URL?
> - Disabling APIC in the Bios, compiling Kernel with or without APIC
Did the same without result. I also disabled ACPI without any effect on the
problem.
> - Changing the IRQ of the Controller by reserving IRQ#11 in the Bios
My controller's irq is unshared.
> Is there ANYTHING i can do (except buying a promise controller) ?
>
I truly hope so.
Greetings,
Bausi
P.S.: For reference, I append my kernel configuration
[-- Attachment #2: kernel-config --]
[-- Type: text/plain, Size: 7098 bytes --]
bausi@camino:~$ cat /boot/config-2.6.10-rc3 | grep -v ^# | grep -v ^$
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
CONFIG_EMBEDDED=y
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_X86_PC=y
CONFIG_MK7=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_USE_3DNOW=y
CONFIG_HPET_TIMER=y
CONFIG_PREEMPT=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=m
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
CONFIG_EDD=m
CONFIG_HIGHMEM4G=y
CONFIG_HIGHMEM=y
CONFIG_MTRR=y
CONFIG_HAVE_DEC_LOCK=y
CONFIG_PM=y
CONFIG_ACPI_BLACKLIST_YEAR=2001
CONFIG_APM=m
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_MISC=m
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=m
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_CML1=m
CONFIG_PARPORT_SERIAL=m
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_1284=y
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_LBD=y
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDETAPE=m
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_IDE_GENERIC=m
CONFIG_BLK_DEV_CMD640=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_PDC202XX_OLD=m
CONFIG_PDC202XX_BURST=y
CONFIG_BLK_DEV_SIIMAGE=m
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_SIL=m
CONFIG_SCSI_QLA2XXX=y
CONFIG_SCSI_DEBUG=m
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID10=m
CONFIG_MD_RAID5=m
CONFIG_MD_RAID6=m
CONFIG_MD_MULTIPATH=m
CONFIG_BLK_DEV_DM=m
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
CONFIG_DM_MIRROR=m
CONFIG_DM_ZERO=m
CONFIG_NET=y
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK_DEV=m
CONFIG_UNIX=m
CONFIG_NET_KEY=m
CONFIG_INET=y
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_TUNNEL=m
CONFIG_IP_TCPDIAG=y
CONFIG_XFRM=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_TUN=m
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
CONFIG_NET_PCI=y
CONFIG_8139TOO=m
CONFIG_8139TOO_PIO=y
CONFIG_8139TOO_TUNE_TWISTER=y
CONFIG_8139TOO_8129=y
CONFIG_INPUT=y
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_TSDEV=m
CONFIG_INPUT_TSDEV_SCREEN_X=240
CONFIG_INPUT_TSDEV_SCREEN_Y=320
CONFIG_INPUT_EVDEV=m
CONFIG_INPUT_EVBUG=m
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=m
CONFIG_SERIO_CT82C710=m
CONFIG_SERIO_PARKBD=m
CONFIG_SERIO_PCIPS2=m
CONFIG_SERIO_RAW=m
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_SERIAL=m
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_MULTIPORT=y
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_PRINTER=m
CONFIG_PPDEV=m
CONFIG_HW_RANDOM=m
CONFIG_NVRAM=m
CONFIG_RTC=m
CONFIG_GEN_RTC=m
CONFIG_GEN_RTC_X=y
CONFIG_AGP=m
CONFIG_AGP_VIA=m
CONFIG_DRM=y
CONFIG_DRM_MGA=m
CONFIG_HANGCHECK_TIMER=m
CONFIG_VIDEO_SELECT=y
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_SOUND=m
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_RTCTIMER=m
CONFIG_SND_MPU401_UART=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_ENS1371=m
CONFIG_SND_VIA82XX=m
CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_SPLIT_ISO=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_STORAGE=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_KBD=m
CONFIG_USB_MOUSE=m
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
CONFIG_JBD_DEBUG=y
CONFIG_FS_MBCACHE=y
CONFIG_FS_POSIX_ACL=y
CONFIG_DNOTIFY=y
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=m
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=m
CONFIG_NTFS_RW=y
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_DEVPTS_FS_XATTR=y
CONFIG_DEVPTS_FS_SECURITY=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_SMB_FS=m
CONFIG_CIFS=m
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="cp437"
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_UTF8=m
CONFIG_SECURITY=y
CONFIG_SECURITY_CAPABILITIES=y
CONFIG_SECURITY_ROOTPLUG=m
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_WP512=m
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES_586=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_TEA=m
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_KHAZAD=m
CONFIG_CRYPTO_ANUBIS=m
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
CONFIG_CRC_CCITT=m
CONFIG_CRC32=m
CONFIG_LIBCRC32C=m
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y
^ permalink raw reply [flat|nested] 7+ messages in thread
* siimage annoyance (was: ata_sil problems (lockup at boottime))
2004-12-05 8:08 ` Oliver Bausinger
@ 2004-12-05 14:15 ` Oliver Bausinger
2004-12-05 16:10 ` sata_sil problems (lockup at boottime) Bartlomiej Zolnierkiewicz
1 sibling, 0 replies; 7+ messages in thread
From: Oliver Bausinger @ 2004-12-05 14:15 UTC (permalink / raw)
To: linux-ide; +Cc: Gerald Hopf
Replying to myself after more experimentation:
> [The other possible thing to do is to use the siimage driver in
> drivers/ide, but this one stopped working with 2.6.8 and further. The
> siimage driver works quite good with 2.6.7, so this is another proof for no
> hardware problems]
>
Ok, support for the deprected siimage driver has to be explicitly enabled
unter drivers/ide (CONFIG_BLK_DEV_IDE_SATA). Then it recognizes the chipset
and seems to work so far.
The only annoyance is that the driver hangs for some seconds probing the
second port (which is unused):
SiI3112 Serial ATA: IDE controller at PCI slot 0000:00:0a.0
PCI: Found IRQ 5 for device 0000:00:0a.0
SiI3112 Serial ATA: chipset revision 1
SiI3112 Serial ATA: 100% native mode on irq 5
ide2: MMIO-DMA , BIOS settings: hde:DMA, hdf:DMA
ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio
Probing IDE interface ide2...
hde: SAMSUNG SP1614C, ATA DISK drive
ide2 at 0xd0800080-0xd0800087,0xd080008a on irq 5
Probing IDE interface ide3...
hdg: no response (status = 0xfe)
But one can live with that.
Greetings
Bausi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: sata_sil problems (lockup at boottime)
2004-12-05 8:08 ` Oliver Bausinger
2004-12-05 14:15 ` siimage annoyance (was: ata_sil problems (lockup at boottime)) Oliver Bausinger
@ 2004-12-05 16:10 ` Bartlomiej Zolnierkiewicz
2004-12-05 16:38 ` Oliver Bausinger
2004-12-06 22:16 ` Gerald Hopf
1 sibling, 2 replies; 7+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2004-12-05 16:10 UTC (permalink / raw)
To: Oliver Bausinger; +Cc: linux-ide, Gerald Hopf
On Sun, 5 Dec 2004 09:08:32 +0100, Oliver Bausinger <bausi@bausi.org> wrote:
> Hi,
>
>
>
> On Sunday 05 December 2004 00:34, you wrote:
> > Hello everyone,
> >
> > i'm having some really strange problems with the sata_sil driver.
> >
> > My hardware:
> > Asus A7N8X Deluxe Rev 1.x with onboard Sil3112 Controller
> > - Samsung SP1614C SATA Harddrive
> > - for further testing : PATA to SATA Adapter that came with an ABIT
> > Mainboard
>
> I have the same problem with this hardware. The harddisk is a SAMSUNG SP1614C
> again and the controller is this one:
>
> 0000:00:0a.0 Unknown mass storage controller: Silicon Image, Inc. (formerly
> CMD Technology Inc) SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev
> 01)
> Subsystem: Silicon Image, Inc. (formerly CMD Technology Inc) SiI 3112
> [SATALink/SATARaid] Serial ATA Controller
> Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
> I/O ports at a000 [size=8]
> I/O ports at 9800 [size=4]
> I/O ports at 9400 [size=8]
> I/O ports at 9000 [size=4]
> I/O ports at 8800 [size=16]
> Memory at e2000000 (32-bit, non-prefetchable)
>
> Trying to insert the sata_sil module on 2.6.{7,8,9,10-rc3} gives
>
> libata version 1.10 loaded.
> sata_sil version 0.8
> PCI: Found IRQ 5 for device 0000:00:0a.0
> ata1: SATA max UDMA/100 cmd 0xD0800080 ctl 0xD080008A bmdma 0xD0800000 irq 5
> ata2: SATA max UDMA/100 cmd 0xD08000C0 ctl 0xD08000CA bmdma 0xD0800008 irq 5
> irq 5: nobody cared!
> [<c012e5aa>] __report_bad_irq+0x2a/0x90
> [<c012df60>] handle_IRQ_event+0x30/0x70
> [<c012e69c>] note_interrupt+0x6c/0xd0
> [<c012e0d0>] __do_IRQ+0x130/0x160
> [<c01042b9>] do_IRQ+0x19/0x30
> [<c0102896>] common_interrupt+0x1a/0x20
> [<c0117ab0>] __do_softirq+0x30/0x90
> [<c0117b36>] do_softirq+0x26/0x30
> [<c012df24>] irq_exit+0x34/0x40
> [<c01042be>] do_IRQ+0x1e/0x30
> [<c0102896>] common_interrupt+0x1a/0x20
> [<c01005f0>] default_idle+0x0/0x30
> [<c0100613>] default_idle+0x23/0x30
> [<c010068a>] cpu_idle+0x3a/0x60
> [<c032678d>] start_kernel+0x16d/0x1b0
> [<c0326360>] unknown_bootoption+0x0/0x1b0
> handlers:
> [<d0962490>] (ata_interrupt+0x0/0x1c0 [libata])
> Disabling IRQ #5
> ata1: dev 0 cfg 49:2f00 82:346b 83:7f01 84:4003 85:3c68 86:3c01 87:4003
> 88:20ff
> ata1: dev 0 ATA, max UDMA7, 312581808 sectors: lba48
Looks like some other device is using the same IRQ
(it is not handled correctly and gets disabled).
> I think I can rule out hardware problems because a FreeBSD 5.3 install
> worked flawlessly on this disk.
>
> [The other possible thing to do is to use the siimage driver in drivers/ide,
> but this one stopped working with 2.6.8 and further. The siimage driver works
> quite good with 2.6.7, so this is another proof for no hardware problems]
Please try narrowing problem down to specific 2.6.7-bk snapshot. Thanks.
> > This problem has been there in all of the latest 2.6.X kernel revisions.
> > I'm currently using 2.6.10-rc3 (which came out today), but i've allready
> > had this problem in 2.6.9 and 2.6.8 and probably even 2.6.7 if i
> > remember correctly.
Was it working before 2.6.7?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: sata_sil problems (lockup at boottime)
2004-12-05 16:10 ` sata_sil problems (lockup at boottime) Bartlomiej Zolnierkiewicz
@ 2004-12-05 16:38 ` Oliver Bausinger
2004-12-06 22:16 ` Gerald Hopf
1 sibling, 0 replies; 7+ messages in thread
From: Oliver Bausinger @ 2004-12-05 16:38 UTC (permalink / raw)
To: linux-ide; +Cc: Gerald Hopf, Bartlomiej Zolnierkiewicz
On Sunday 05 December 2004 17:10, Bartlomiej Zolnierkiewicz wrote:
> On Sun, 5 Dec 2004 09:08:32 +0100, Oliver Bausinger <bausi@bausi.org> wrote:
> > Hi,
> >
> > On Sunday 05 December 2004 00:34, you wrote:
> > > Hello everyone,
> > >
> > > i'm having some really strange problems with the sata_sil driver.
> > >
> > > My hardware:
> > > Asus A7N8X Deluxe Rev 1.x with onboard Sil3112 Controller
> > > - Samsung SP1614C SATA Harddrive
> > > - for further testing : PATA to SATA Adapter that came with an ABIT
> > > Mainboard
> >
> > I have the same problem with this hardware. The harddisk is a SAMSUNG
> > SP1614C again and the controller is this one:
> >
> > 0000:00:0a.0 Unknown mass storage controller: Silicon Image, Inc.
> > (formerly CMD Technology Inc) SiI 3112 [SATALink/SATARaid] Serial ATA
> > Controller (rev 01)
> > Subsystem: Silicon Image, Inc. (formerly CMD Technology Inc) SiI
> > 3112 [SATALink/SATARaid] Serial ATA Controller
> > Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
> > I/O ports at a000 [size=8]
> > I/O ports at 9800 [size=4]
> > I/O ports at 9400 [size=8]
> > I/O ports at 9000 [size=4]
> > I/O ports at 8800 [size=16]
> > Memory at e2000000 (32-bit, non-prefetchable)
> >
> > Trying to insert the sata_sil module on 2.6.{7,8,9,10-rc3} gives
> >
> > libata version 1.10 loaded.
> > sata_sil version 0.8
> > PCI: Found IRQ 5 for device 0000:00:0a.0
> > ata1: SATA max UDMA/100 cmd 0xD0800080 ctl 0xD080008A bmdma 0xD0800000
> > irq 5 ata2: SATA max UDMA/100 cmd 0xD08000C0 ctl 0xD08000CA bmdma
> > 0xD0800008 irq 5 irq 5: nobody cared!
> > [<c012e5aa>] __report_bad_irq+0x2a/0x90
> > [<c012df60>] handle_IRQ_event+0x30/0x70
> > [<c012e69c>] note_interrupt+0x6c/0xd0
> > [<c012e0d0>] __do_IRQ+0x130/0x160
> > [<c01042b9>] do_IRQ+0x19/0x30
> > [<c0102896>] common_interrupt+0x1a/0x20
> > [<c0117ab0>] __do_softirq+0x30/0x90
> > [<c0117b36>] do_softirq+0x26/0x30
> > [<c012df24>] irq_exit+0x34/0x40
> > [<c01042be>] do_IRQ+0x1e/0x30
> > [<c0102896>] common_interrupt+0x1a/0x20
> > [<c01005f0>] default_idle+0x0/0x30
> > [<c0100613>] default_idle+0x23/0x30
> > [<c010068a>] cpu_idle+0x3a/0x60
> > [<c032678d>] start_kernel+0x16d/0x1b0
> > [<c0326360>] unknown_bootoption+0x0/0x1b0
> > handlers:
> > [<d0962490>] (ata_interrupt+0x0/0x1c0 [libata])
> > Disabling IRQ #5
> > ata1: dev 0 cfg 49:2f00 82:346b 83:7f01 84:4003 85:3c68 86:3c01 87:4003
> > 88:20ff
> > ata1: dev 0 ATA, max UDMA7, 312581808 sectors: lba48
>
> Looks like some other device is using the same IRQ
> (it is not handled correctly and gets disabled).
>
No, IRQ 5 is unshared if I understand correctly. Look here:
root@camino:~# lspci -v |grep IRQ
Flags: bus master, medium devsel, latency 32, IRQ 9
Flags: bus master, medium devsel, latency 32, IRQ 9
Flags: medium devsel, IRQ 9
Flags: bus master, slow devsel, latency 32, IRQ 9
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
Flags: bus master, medium devsel, latency 32, IRQ 11
Flags: bus master, medium devsel, latency 32, IRQ 10
Flags: bus master, medium devsel, latency 64, IRQ 11
Only the SiI 3112 uses IRQ 5.
> > [The other possible thing to do is to use the siimage driver in
> > drivers/ide, but this one stopped working with 2.6.8 and further. The
> > siimage driver works quite good with 2.6.7, so this is another proof for
> > no hardware problems]
>
> Please try narrowing problem down to specific 2.6.7-bk snapshot. Thanks.
Forget this. My config was broken as I didn't enable CONFIG_BLK_DEV_IDE_SATA.
That's why siimage loaded but did nothing.
I'm currently running 2.6.10-rc3 with siimage and it works.
If I really were a hardware problem with interrupt handling, the siimage
driver should be broken as well? But it's not.
Greetings,
Bausi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: sata_sil problems (lockup at boottime)
2004-12-05 16:10 ` sata_sil problems (lockup at boottime) Bartlomiej Zolnierkiewicz
2004-12-05 16:38 ` Oliver Bausinger
@ 2004-12-06 22:16 ` Gerald Hopf
2004-12-07 8:40 ` Oliver Bausinger
1 sibling, 1 reply; 7+ messages in thread
From: Gerald Hopf @ 2004-12-06 22:16 UTC (permalink / raw)
To: linux-ide
Hello everyone,
i'm using this post to answer to multiple questions of more than one
person, so bear in mind that the quotes are not all from the same
person/post.
Oliver Bausinger wrote:
>>I have the same problem with this hardware. The harddisk is a SAMSUNG SP1614C
>>again and the controller is this one:
>>
>>
Great ! I really like the idea that i'm not the only one with this
problem :-)
Oliver Bausinger wrote:
>> I tried quite a lot to get rid of those problems, including:
>> - Flashing a new/different Bios (even with different versions of the
>> Silicon Image SATA Bios part: 4.2.47 and 4.2.50)
>Where did you get it? URL?
I got it from here: http://homepage.ntlworld.com/michael.mcclay/
It's the "A7N8X-Dlx Uber 1009-BETA Sata Enhanced with new SATA bios v4.2.50 <- new (20th nov 04)".
I read about this Bios in the http://www.nforcershq.com/ Forums.
Works fine, but didn't change much (well, actually, it changed nothing regarding this problem...).
Bartlomiej Zolnierkiewicz wrote:
>Looks like some other device is using the same IRQ
>(it is not handled correctly and gets disabled).
>
>
>
On my system, according to the lspci command no IRQs are shared. Only 4
IRQs are in use, and none of them shared (with all the onboard stuff
disabled).
Oliver Bausinger wrote:
>>I think I can rule out hardware problems because a FreeBSD 5.3 install
>>worked flawlessly on this disk.
>>
>>
Same here, this hardware combination has worked absolutely flawless in
Windows XP for months!
I wrote and Bartlomiej Zolnierkiewicz commented/asked:
>>>This problem has been there in all of the latest 2.6.X kernel revisions.
>>>I'm currently using 2.6.10-rc3 (which came out today), but i've allready
>>>had this problem in 2.6.9 and 2.6.8 and probably even 2.6.7 if i
>>>remember correctly.
>>>
>>>
>Was it working before 2.6.7?
>
>
I only recently tried to make this work, so i was not sure about this.
Therefor I just did some (time-consuming) tests with all Kernels between
2.6.5 and 2.6.10-rc3:
Kernel 2.6.5:
- Bootet once and seemed to work, however only ONCE! Unable to reproduce
this even with many reboots.
- (also i am not 100% sure if it actually worked this ONE time, cfdisk
claimed the disk had no partitioning information on it which i thought
it should have had... partitioning and reiserfs-formating worked fine
though)
- In all following boots, the same strange errors, but continued to boot.
- Pictures of the strange errors and continued booting:
- http://www.nv-systems.net/pics/lkml/sata_sil4.jpg (page 1)
- http://www.nv-systems.net/pics/lkml/sata_sil5.jpg (page 2)
- http://www.nv-systems.net/pics/lkml/sata_sil6.jpg (same as page 2 but
slightly different error from another try)
- After booting, harddrive does not respond, commands which access it
(like cfdisk or mount) hang forever.
Kernel 2.6.6:
- Same as 2.6.5, except it didn't even work once.
Kernel 2.6.7:
- Same as 2.6.5, except it didn't even work once.
Kernel 2.6.8.1:
- Same as 2.6.5, except it didn't even work once.
Kernel 2.6.9:
- Hangs during bootup, like described in my original Post here!
Kernel 2.6.10-rc3
- Same behaviour as in 2.6.9
I also tried the depreciated siimage driver (thanks to the
CONFIG_BLK_DEV_IDE_SATA tip, i didn't notice this before and had the
same problems) with kernel 2.6.9,
works flawless (as far as i can tell from such a short test, hdparm -t =
60MB/s). No strange IRQ disabled errors during bootup. Flawless of
course only if you ignore that it takes AGES until it finally gives up
probing the second SATA port. I know someone who bought a second SATA
harddrive just because booting took so long!
I guess i should switch to a more PROMISing SATA controller as soon as
possible... ;-)
Yours sincerely,
Gerald Hopf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: sata_sil problems (lockup at boottime)
2004-12-06 22:16 ` Gerald Hopf
@ 2004-12-07 8:40 ` Oliver Bausinger
0 siblings, 0 replies; 7+ messages in thread
From: Oliver Bausinger @ 2004-12-07 8:40 UTC (permalink / raw)
To: linux-ide
Am Montag 06 Dezember 2004 23:16 schrieb Gerald Hopf:
>
> I also tried the depreciated siimage driver (thanks to the
> CONFIG_BLK_DEV_IDE_SATA tip, i didn't notice this before and had the
> same problems) with kernel 2.6.9,
> works flawless (as far as i can tell from such a short test, hdparm -t =
> 60MB/s). No strange IRQ disabled errors during bootup. Flawless of
> course only if you ignore that it takes AGES until it finally gives up
> probing the second SATA port. I know someone who bought a second SATA
> harddrive just because booting took so long!
>
After some tests, I'm quite sure that the siimage is broken too with this
drive although it boots and works like Gerald describes.
When md5sum a file, read bigger amounts of data from the disk and
md5sum it again, the checksum changed. I can reproduce this permanently with a
number of files.
When I e2fsck the partition, I get bitmap differences. There's an error at
bootup which says something about a Drive Error when booting. I'll post the
exact error when I get back to the machine.
Greetings
Bausi
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-12-07 8:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-04 23:34 sata_sil problems (lockup at boottime) Gerald Hopf
2004-12-05 8:08 ` Oliver Bausinger
2004-12-05 14:15 ` siimage annoyance (was: ata_sil problems (lockup at boottime)) Oliver Bausinger
2004-12-05 16:10 ` sata_sil problems (lockup at boottime) Bartlomiej Zolnierkiewicz
2004-12-05 16:38 ` Oliver Bausinger
2004-12-06 22:16 ` Gerald Hopf
2004-12-07 8:40 ` Oliver Bausinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).