prob raid ich8 jmicron



Hallo!



Problem:
- SATA-Hostadapter not found
VFS: Cannot open root device

(details s. err_boot)

system:
- chipset: ich8
- raidcontroller: JMicron 20360
- linux: 2.6.19, 2.6.20
(details s. lshw)

cause:
- BLK_DEV_JMICRON ?

solution:
- disable IDE, if you has SATA

status: info
----------------------------------------------------------------------------
details

- err_boot
ATA: abnormal status 0x7F on port 0x177
ata_piix 0000:00:1f.5: MAP [ P0 P2 P1 P3 ]
ata3: SATA max UDMA/133 cmd 0xD800 ctl 0xDC02 bmdma 0xE800 irq 17
ata4: SATA max UDMA/133 cmd 0xE000 ctl 0xE402 bmdma 0xE808 irq 17
scsi2 : ata_piix
ATA: abnormal status 0x7F on port 0xD807
....
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Kernel panic.....


- lshw
# lspci
00:00.0 Host bridge: Intel Corporation P965/G965 Memory Controller Hub
(rev 02)
00:01.0 PCI bridge: Intel Corporation P965/G965 PCI Express Root Port (rev
02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4
(rev
02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5
(rev
02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
#2 (rev
02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller
(rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 1 (r
ev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 4 (r
ev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 5 (r
ev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1
(rev
02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2
(rev
02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3
(rev
02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
#1 (rev
02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface
Controll
er (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA
IDE Co
ntroller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller
(rev 02)
00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA
IDE Co
ntroller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon
X300
(PCIE)]
01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
03:00.0 RAID bus controller: JMicron Technologies, Inc. JMicron
20360/20363 AHCI
Controller (rev 02)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI
Contr
oller (rev 02)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device
4364 (
rev 12)
05:00.0 Ethernet controller: 3Com Corporation 3CR990-TX-97 [Typhoon
168-bit] (re
v 02)
05:02.0 Ethernet controller: 3Com Corporation 3CR990-TX-97 [Typhoon
168-bit] (re
v 02)




- test # 2134
# diff .config.old .config | grep "=" | grep -v CONFIG_BLK_DEV_
< CONFIG_IDE=y
< CONFIG_IDE_GENERIC=y
< CONFIG_IDEPCI_SHARE_IRQ=y
< CONFIG_IDEDMA_PCI_AUTO=y
< CONFIG_PDC202XX_BURST=y
< CONFIG_IDEDMA_AUTO=y
< CONFIG_SCSI_MULTI_LUN=y
< CONFIG_SCSI_SAS_ATTRS=m
CONFIG_SCSI_SAS_ATTRS=y
CONFIG_SCSI_EATA=y
CONFIG_SCSI_EATA_MAX_TAGS=16
CONFIG_SATA_AHCI=y
< CONFIG_SATA_INTEL_COMBINED=y
CONFIG_PATA_JMICRON=y
< CONFIG_USB_STORAGE_ISD200=y
< CONFIG_LEDS_TRIGGER_IDE_DISK=y


-> system boot: OK!

ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 19 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:03:00.0 to 64
ahci 0000:03:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA
mode
ahci 0000:03:00.0: flags: 64bit ncq pm led clo pmp pio slum part
ata1: SATA max UDMA/133 cmd 0xF881C100 ctl 0x0 bmdma 0x0 irq 17
ata2: SATA max UDMA/133 cmd 0xF881C180 ctl 0x0 bmdma 0x0 irq 17
scsi0 : ahci
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7, max UDMA/133, 156299375 sectors: LBA48 NCQ (depth 31/32)

- cause:
- CONFIG_ATA_PIIX -> ATA: abnormal status 0x7F on port 0xD807 (?)
- CONFIG_BLK_DEV_JMICRON -> system hang

x Location:
x
x -> Device Drivers
x
x -> ATA/ATAPI/MFM/RLL support
x
x -> ATA/ATAPI/MFM/RLL support (IDE [=y])
x
x -> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
(BLK_D x
x -> PCI IDE chipset support (BLK_DEV_IDEPCI [=y])
x
x -> Generic PCI bus-master DMA support
(BLK_DEV_IDEDMA_PCI x

- solution:
- disable CONFIG_BLK_DEV_JMICRON
or BLK_DEV_IDEPCI

- question:
Why boot debian_netinstall with JMB361 (CONFIG_BLK_DEV_JMICRON)?
Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-11) (waldi@xxxxxxxxxx)
(gcc ver
sion 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Wed Feb 21
16:06:54 U
TC 2007
....
SCSI subsystem initialized
libata version 2.00 loaded.

ahci 0000:03:00.0: version 2.0
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 19 (level, low) -> IRQ 177
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 169
PCI: Setting latency timer of device 0000:00:1a.0 to 64
irq 169: nobody cared (try booting with the "irqpoll" option)
[<c0140353>] __report_bad_irq+0x2b/0x69
[<c0140540>] note_interrupt+0x1af/0x1e7
[<f885f49e>] usb_hcd_irq+0x23/0x50 [usbcore]
[<c013fb57>] handle_IRQ_event+0x23/0x49
....
[<c031a6fd>] start_kernel+0x379/0x380
handlers:
[<f885f47b>] (usb_hcd_irq+0x0/0x50 [usbcore])
Disabling IRQ #169
PCI: Setting latency timer of device 0000:03:00.0 to 64
ahci 0000:03:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA
mode
ahci 0000:03:00.0: flags: 64bit ncq pm led clo pmp pio slum part
ata1: SATA max UDMA/133 cmd 0xF8820100 ctl 0x0 bmdma 0x0 irq 177
ata2: SATA max UDMA/133 cmd 0xF8820180 ctl 0x0 bmdma 0x0 irq 177
scsi0 : ahci
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7, max UDMA/133, 156299375 sectors: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi1 : ahci
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATA-7, max UDMA/133, 156301488 sectors: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
Vendor: ATA Model: ST380815AS Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 05
Vendor: ATA Model: ST380815AS Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 05
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 233
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
....
JMB361: IDE controller at PCI slot 0000:03:00.1
ACPI: PCI Interrupt 0000:03:00.1[B] -> GSI 16 (level, low) -> IRQ 169
JMB361: chipset revision 2
JMB361: 100% native mode on irq 169
ide0: BM-DMA at 0x9000-0x9007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x9008-0x900f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hdb: LITE-ON DVD SHD-16P1S, ATAPI CD/DVD-ROM drive
ide0 at 0x8000-0x8007,0x8402 on irq 169
Probing IDE interface ide1...
ata_piix 0000:00:1f.2: version 2.00
ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ]
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata3: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
scsi2 : ata_piix
ATA: abnormal status 0x7F on port 0x1F7
ata4: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
scsi3 : ata_piix
ATA: abnormal status 0x7F on port 0x177
ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 19 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:00:1f.5 to 64
ata5: SATA max UDMA/133 cmd 0xD800 ctl 0xDC02 bmdma 0xE800 irq 177
ata6: SATA max UDMA/133 cmd 0xE000 ctl 0xE402 bmdma 0xE808 irq 177
scsi4 : ata_piix
ATA: abnormal status 0x7F on port 0xD807
scsi5 : ata_piix
ATA: abnormal status 0x7F on port 0xE007
SCSI device sda: 156299375 512-byte hdwr sectors (80025 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
....
ide-cd: cmd 0x3 timed out
hdb: lost interrupt


.



Relevant Pages