Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-28 Thread Thomas Evans

I've tried it in various slots on both PCI hoses  - no difference.

...tom

Tejun Heo wrote:

Thomas Evans wrote:
  

No like with only a drive attached and no PMP.  The driver is still
unable to IDENTIFY the connected disk:

failed to IDENTIFY (I/O error, err_mask=0x20)



So, the problem is not specific to PMP support.  That makes more sense.
 Does moving the controller to different slot make any difference?

  


-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-28 Thread Tejun Heo
Thomas Evans wrote:
> No like with only a drive attached and no PMP.  The driver is still
> unable to IDENTIFY the connected disk:
> 
> failed to IDENTIFY (I/O error, err_mask=0x20)

So, the problem is not specific to PMP support.  That makes more sense.
 Does moving the controller to different slot make any difference?

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-28 Thread Thomas Evans
No like with only a drive attached and no PMP.  The driver is still
unable to IDENTIFY the connected disk:

failed to IDENTIFY (I/O error, err_mask=0x20)


On Jan 28, 2008 1:51 AM, Thomas Evans <[EMAIL PROTECTED]> wrote:
> On 1/27/08, Tejun Heo <[EMAIL PROTECTED]> wrote:
> > Hmmm... That's strange.  If PERR makes a difference, it means PCI bus
> > side is contributing to the problem but only when PMP is attached while
> > directly attached drive works just fine?
>
> I need to get a esata to sata cable - i returned all my duplicate equipment,
> so i haven't a 3124 with internal sata ports.  I will try soon.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-27 Thread Thomas Evans
I hate blasting the the list with every minute detail.

On 1/27/08, Tejun Heo <[EMAIL PROTECTED]> wrote:
> Hmmm... That's strange.  If PERR makes a difference, it means PCI bus
> side is contributing to the problem but only when PMP is attached while
> directly attached drive works just fine?

I need to get a esata to sata cable - i returned all my duplicate equipment,
so i haven't a 3124 with internal sata ports.  I will try soon.

> Thanks but I'm as lost as you are.  :-(

I backed out my printk's - I must have change the flow somehow.
With only bit 28 set (ignore PERRs) I see:

ata1: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa irq 31
ata2: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa2000 irq 31
ata3: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa4000 irq 31
ata4: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa6000 irq 31
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata1.15: Port Multiplier 1.1, 0x1095:0x4726 r31, 7 ports, feat 0x1/0x9
ata1.00: hard resetting link
ata1.00: SATA link down (SStatus 0 SControl 10)
ata1.01: hard resetting link
ata1.01: SATA link down (SStatus 0 SControl 4000320)
ata1.02: hard resetting link
ata1.02: SATA link down (SStatus 0 SControl 4000320)
ata1.03: hard resetting link
ata1.03: SATA link down (SStatus 0 SControl 4000320)
ata1.04: hard resetting link
ata1.04: SATA link down (SStatus 0 SControl 4000320)
ata1.05: hard resetting link
ata1.05: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata1.06: hard resetting link
ata1.06: SATA link up 1.5 Gbps (SStatus 113 SControl 4000320)
ata1.05: failed to IDENTIFY (I/O error, err_mask=0x20)
ata1.15: hard resetting link
ata1: controller in dubious state, performing PORT_RST
ata1.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)

I'm not sure why there are PCI parity errors - I went so far as to
turn off pci parity from the alpha SRM console.  (it used to work fine
with it on).  This hasn't made much diffence above, except that the
err_mask=0x21 when pci parity is on...?

I'll try a non-PMP connected drive hopefully tommorow evening.

Thanks,

...tom
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-27 Thread Tejun Heo
Thomas Evans wrote:
> Tejun and all -
> 
> I have a new log - I got somewhat further by setting this bit when
> init'd via HOST_CTRL:
> 
> Bit [28]: PERR Rpt Dsbl (R/W) – PERR Report Disable. This bit, when set
> to one, disables reporting of PCI bus
> parity errors to the Command Execution State Machine (such errors would
> otherwise cause the state machine to stop
> and report an error in the Command Error register).

Hmmm... That's strange.  If PERR makes a difference, it means PCI bus
side is contributing to the problem but only when PMP is attached while
directly attached drive works just fine?

> This causes the PMP device to be noticed, but the first qc command never
> completes.
> 
> Please see the log and see if there is anything obvious.

Thanks but I'm as lost as you are.  :-(

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-25 Thread Jay Estabrook
Thomas Evans wrote:
> Saw something that caught my attention might be nothing ...
> 
> When initialized, the port address is a 64 bit address:
> sil24_init_one init_one: port:FD00:09AA
> sil24_init_one init_one: port:FD00:09AA2000
> sil24_init_one init_one: port:FD00:09AA4000
> sil24_init_one init_one: port:FD00:09AA6000

These are KSEG addresses used for getting at the memory/registers
on the card, and were created by doing ioremap(physaddr).

> When the description from ata_port_pbar_desc comes out, it shows:
> ata13: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa irq 31
> ata14: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa2000 irq 31
> ata15: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa4000 irq 31
> ata16: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa6000 irq 31

These are the physical addresses of the memory/registers of the card
on the PCI bus.

> I don't think the output is being truncated?

Nope, not truncated, just diff between physical and KSEG

> Is there some issue with the address?

Don't think so, at this time.

> ...tom
> 
> 
> Thomas Evans wrote:
>> added some more printk's based on what I saw -
>> maybe some issue with the dma port?
>>
>> ...tom
>>
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-25 Thread Thomas Evans

Saw something that caught my attention might be nothing ...

When initialized, the port address is a 64 bit address:
sil24_init_one init_one: port:FD00:09AA
sil24_init_one init_one: port:FD00:09AA2000
sil24_init_one init_one: port:FD00:09AA4000
sil24_init_one init_one: port:FD00:09AA6000

When the description from ata_port_pbar_desc comes out, it shows:
ata13: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa irq 31
ata14: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa2000 irq 31
ata15: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa4000 irq 31
ata16: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa6000 irq 31

I don't think the output is being truncated?

Is there some issue with the address?

...tom


Thomas Evans wrote:

added some more printk's based on what I saw -
maybe some issue with the dma port?

...tom


-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-25 Thread Thomas Evans

added some more printk's based on what I saw -
maybe some issue with the dma port?

...tom


Thomas Evans wrote:

Tejun (and all) -

I've attached a log from my machine marked up with a few extra printk's.
I did add the ssleep() you suggested off line - made no difference.

I'll be happy to add more prinks in places that I did not ...


kobject sata_sil24: registering. parent: , set: module
kobject holders: registering. parent: sata_sil24, set: 
kobject_uevent_env
kobject filter function caused the event to drop!
kobject_uevent_env
fill_kobj_path: path = '/module/sata_sil24'
kobject notes: registering. parent: sata_sil24, set: 
kobject_uevent_env
kobject filter function caused the event to drop!
bus pci: add driver sata_sil24
kobject sata_sil24: registering. parent: , set: drivers
kobject_uevent_env
fill_kobj_path: path = '/bus/pci/drivers/sata_sil24'
pci: Matched Device :00:07.0 with Driver sata_sil24
pci: Probing driver sata_sil24 with device :00:07.0
sata_sil24 :00:07.0: version 1.1
sata_sil24 :00:07.0: init_one ->pcim_enable_device
sata_sil24 :00:07.0: init_one ->pcim_iomap_regions
sata_sil24 :00:07.0: init_one ->pcim_iomap_regions
sata_sil24 :00:07.0: init_one -> IRQ-loss PCI-X Errata.
sata_sil24 :00:07.0: readl(iomap[SIL24_HOST_BAR] + HOST_CTRL) = 011F
sata_sil24 :00:07.0: Clearing completion IRQ loss on PCI-X errata fix
sata_sil24 :00:07.0: init_one -> allocate and fill host
ata4294967295: init_one
ata4294967295: init_one
ata4294967295: init_one
ata4294967295: init_one
sata_sil24 :00:07.0: init_one -> setting 64 bit DMA
sata_sil24 :00:07.0: init_one -> sil24_init_controller
ata4294967295: sil24_config_port - STD WOC
ata4294967295: sil24_config_port - STD WOC
ata4294967295: sil24_config_port - STD WOC
ata4294967295: sil24_config_port - STD WOC
sata_sil24 :00:07.0: init_one -> setting master
PCI: Enabling bus mastering for device :00:07.0
sata_sil24 :00:07.0: init_one -> ata_host_activate
scsi54 : sata_sil24
DEV: registering device: ID = 'host54'
kobject host54: registering. parent: :00:07.0, set: devices
kobject_uevent_env
kobject filter function caused the event to drop!
CLASS: registering class device: ID = 'host54'
kobject host54: registering. parent: scsi_host, set: class_obj
kobject_uevent_env
fill_kobj_path: path = '/class/scsi_host/host54'
class_uevent - name = host54
fill_kobj_path: path = '/devices/pci:00/:00:07.0/host54'
scsi55 : sata_sil24
DEV: registering device: ID = 'host55'
kobject host55: registering. parent: :00:07.0, set: devices
kobject_uevent_env
kobject filter function caused the event to drop!
CLASS: registering class device: ID = 'host55'
kobject host55: registering. parent: scsi_host, set: class_obj
kobject_uevent_env
fill_kobj_path: path = '/class/scsi_host/host55'
class_uevent - name = host55
fill_kobj_path: path = '/devices/pci:00/:00:07.0/host55'
scsi56 : sata_sil24
DEV: registering device: ID = 'host56'
kobject host56: registering. parent: :00:07.0, set: devices
kobject_uevent_env
kobject filter function caused the event to drop!
CLASS: registering class device: ID = 'host56'
kobject host56: registering. parent: scsi_host, set: class_obj
kobject_uevent_env
fill_kobj_path: path = '/class/scsi_host/host56'
class_uevent - name = host56
fill_kobj_path: path = '/devices/pci:00/:00:07.0/host56'
scsi57 : sata_sil24
DEV: registering device: ID = 'host57'
kobject host57: registering. parent: :00:07.0, set: devices
kobject_uevent_env
kobject filter function caused the event to drop!
CLASS: registering class device: ID = 'host57'
kobject host57: registering. parent: scsi_host, set: class_obj
kobject_uevent_env
fill_kobj_path: path = '/class/scsi_host/host57'
class_uevent - name = host57
fill_kobj_path: path = '/devices/pci:00/:00:07.0/host57'
ata5: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa irq 31
ata6: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa2000 irq 31
ata7: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa4000 irq 31
ata8: SATA max UDMA/100 host [EMAIL PROTECTED] port 0x9aa6000 irq 31
ata5: sil24_init_port - no PMP?
ata5: ata_eh_recover - 1
ata5: ata_eh_recover - 2 re-enable link?
ata5.00: ata_eh_recover - 3
ata5.00: ata_eh_recover - 5
ata5.00: ata_eh_recover - 6
ata5.00: ata_eh_recover -> ata_dev_init 7
ata_eh_recover - 8 - retry
ata5: ata_eh_recover - 8a prep for EH
ata5: ata_eh_recover - reset
ata5: ata_eh_recover - ATA_DEV_UNKNOWN
ata_eh_recover - 9 - reset is true
ata_eh_recover -> freezing port -> nr_pmp_links == 0
ata5: ata_eh_recover -> ata_eh_reset

ata5: hard resetting link
ata5: hardreset - 1!
ata5: hardreset - 2!
ata5: hardreset - 3!
ata5: hardreset - 4!
ata5: hardreset - 4a!
ata5: hardreset - 5!
ata5: hardreset - 6!
ata5: hardreset - 7 - ret -EAGAIN!
ata5: PHYS - something is attached.
ata5: sil24_init_port - no PMP?
ata5: sil24_exec_polled_cmd irq_enabled = 
ata5: sil24_exec_polled_cmd paddr  HI:  LO:81A0
ata5

Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-24 Thread Tejun Heo
Thomas Evans wrote:
> That's what I thought - is there another chip that support the 4726
> PMP that you think I could try?

JMicron SATA controllers are ahci and support PMP.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-24 Thread Thomas Evans
That's what I thought - is there another chip that support the 4726
PMP that you think I could try?

...tom


On Jan 24, 2008 10:11 AM, Tejun Heo <[EMAIL PROTECTED]> wrote:
> Thomas Evans wrote:
> > I will work on getting that log - is there anything non-kernel that
> > may have changed that could cause this?  udev changes or something
> > like that?  Just so odd for it to start failing after having worked
> > for so long.
>
> Nope, this is way before userland has any say in it.  The same kernel
> version which used to work doesn't work on two slightly different
> machines.  That's just weird.  :-(
>
> --
> tejun
>
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-24 Thread Tejun Heo
Thomas Evans wrote:
> I will work on getting that log - is there anything non-kernel that
> may have changed that could cause this?  udev changes or something
> like that?  Just so odd for it to start failing after having worked
> for so long.

Nope, this is way before userland has any say in it.  The same kernel
version which used to work doesn't work on two slightly different
machines.  That's just weird.  :-(

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-24 Thread Thomas Evans
I will work on getting that log - is there anything non-kernel that
may have changed that could cause this?  udev changes or something
like that?  Just so odd for it to start failing after having worked
for so long.

...tom

On Jan 23, 2008 10:52 PM, Tejun Heo <[EMAIL PROTECTED]> wrote:
> Thomas Evans wrote:
> > Um, I can, but it's not all that different than the others - is there
> > something I am missing that would collect more info in the logs?
>
> Well, at times, small differences can tell us more information.  The
> best we can do here is to gather as much information as possible.  Even
> if we fail to solve the issue now, it may come handy later when similar
> instances happen and more clues are gathered.
>
> --
> tejun
>
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-23 Thread Tejun Heo
Thomas Evans wrote:
> Um, I can, but it's not all that different than the others - is there
> something I am missing that would collect more info in the logs?

Well, at times, small differences can tell us more information.  The
best we can do here is to gather as much information as possible.  Even
if we fail to solve the issue now, it may come handy later when similar
instances happen and more clues are gathered.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-23 Thread Thomas Evans
Um, I can, but it's not all that different than the others - is there
something I am missing that would collect more info in the logs?

Thanks,

...tom

On Jan 23, 2008 9:32 PM, Tejun Heo <[EMAIL PROTECTED]> wrote:
>
> Thomas Evans wrote:
> > I hadn't tried that until just now - I have 2 3124 cards, 1 without
> > internal connections.
> > Just tried the 1 with internal sata ports - it fails in the same way on
> > a single drive.
>
> There are cable which have SATA connector on one side and e-SATA on the
> other.  You can connect harddrives directly using such cables.  Can you
> please post the failing log?
>
> --
> tejun
>
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-23 Thread Tejun Heo
Thomas Evans wrote:
> I hadn't tried that until just now - I have 2 3124 cards, 1 without
> internal connections.
> Just tried the 1 with internal sata ports - it fails in the same way on
> a single drive.

There are cable which have SATA connector on one side and e-SATA on the
other.  You can connect harddrives directly using such cables.  Can you
please post the failing log?

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-23 Thread Tejun Heo
Thomas Evans wrote:
> Hi All -
>>> If I forget and get the "Plug and Play" error, disconnecting the
>>> drives and resetting isn't enough, nor is power cycling *or*
>>> unplugging the machine.  I have to physically remove the card and
>>> restart without it, power down and then re-insert it.  I could only
>>> plug the card into a 32bit slot, btw.
>> So, except for BIOS weirdness, it works.
> 
> I downgraded the BIOS in the card and it even works better on the x86 -
> not more pnp errors.
> 
>> On x86, BIOS runs, on alpha, it doesn't.  It could be that BIOS
>> configures something.  Can you please post the result of 'lspci
>> -nnvvvxxx' of the sil24 controller on alpha and x86?
> 
> I was attempting to look at that - SRM on Alpha won't run arbitrary
> option BIOSs (at least that I can figure - it will run those of
> devices it recognizes in some way via emulation).
> 
> With that said, I've attached the output ...
> 
> They are different, just don't understand the differences.

The only differences are in the standard section - PCI bus
configuration, BAR allocation, etc.  If you connect a regular harddrive
instead of a PMP, it works well on alpha, right?

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-23 Thread Thomas Evans
Hi All -
> > If I forget and get the "Plug and Play" error, disconnecting the
> > drives and resetting isn't enough, nor is power cycling *or*
> > unplugging the machine.  I have to physically remove the card and
> > restart without it, power down and then re-insert it.  I could only
> > plug the card into a 32bit slot, btw.
>
> So, except for BIOS weirdness, it works.

I downgraded the BIOS in the card and it even works better on the x86 -
not more pnp errors.

> On x86, BIOS runs, on alpha, it doesn't.  It could be that BIOS
> configures something.  Can you please post the result of 'lspci
> -nnvvvxxx' of the sil24 controller on alpha and x86?

I was attempting to look at that - SRM on Alpha won't run arbitrary
option BIOSs (at least that I can figure - it will run those of
devices it recognizes in some way via emulation).

With that said, I've attached the output ...

They are different, just don't understand the differences.

...tom
:00:07.0 Mass storage controller [0180]: Silicon Image, Inc. SiI 3124 PCI-X 
Serial ATA Controller [1095:3124] (rev 02)
Subsystem: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller 
[1095:3124]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping+ SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- 03:05.0 Mass storage controller [0180]: Silicon Image, Inc. SiI 3124 PCI-X 
Serial ATA Controller [1095:3124] (rev 02)
Subsystem: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller 
[1095:3124]
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- 
Stepping+ SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- 

Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-22 Thread Tejun Heo
Hello,

Thomas Evans wrote:
> On 1/21/08, Tejun Heo <[EMAIL PROTECTED]> wrote:
>> Can you install linux on a x86 machine and see whether anything is
>> different?
> 
> Did that today - it mostly works.  There is some sort of conflict with
> the card on the PC I am using.  During POST I sometimes get a "Plug
> and Play configuration error" when the PMP array is plugged into a
> port.
> 
> If I leave it unplugged until I get to GRUB, I can boot and see the
> drives and mount the array.  This is the same card as I have been
> using throughout.
> 
> If I forget and get the "Plug and Play" error, disconnecting the
> drives and resetting isn't enough, nor is power cycling *or*
> unplugging the machine.  I have to physically remove the card and
> restart without it, power down and then re-insert it.  I could only
> plug the card into a 32bit slot, btw.

So, except for BIOS weirdness, it works.

> I have trouble believing that both alpha systems are somehow faulty
> does it happen that BIOSs store away any information about PCI
> devices?

On x86, BIOS runs, on alpha, it doesn't.  It could be that BIOS
configures something.  Can you please post the result of 'lspci
-nnvvvxxx' of the sil24 controller on alpha and x86?

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-22 Thread Thomas Evans
On 1/21/08, Tejun Heo <[EMAIL PROTECTED]> wrote:
> Hello, Thomas.
Hi -

> Can you install linux on a x86 machine and see whether anything is
> different?

Did that today - it mostly works.  There is some sort of conflict with
the card on the PC I am using.  During POST I sometimes get a "Plug
and Play configuration error" when the PMP array is plugged into a
port.

If I leave it unplugged until I get to GRUB, I can boot and see the
drives and mount the array.  This is the same card as I have been
using throughout.

If I forget and get the "Plug and Play" error, disconnecting the
drives and resetting isn't enough, nor is power cycling *or*
unplugging the machine.  I have to physically remove the card and
restart without it, power down and then re-insert it.  I could only
plug the card into a 32bit slot, btw.

I have trouble believing that both alpha systems are somehow faulty
does it happen that BIOSs store away any information about PCI
devices?

Thanks,
...tom

I've attached the lspci/dmesg output from teh x86 in case that helps.
Linux version 2.6.24-rc8 ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 
(prerelease) (Debian 4.1.1-21)) #2 SMP Tue Jan 22 21:04:38 EST 2008
BIOS-provided physical RAM map:
 BIOS-e820:  - 000a (usable)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 2ff9e000 (usable)
 BIOS-e820: 2ff9e000 - 3000 (reserved)
 BIOS-e820: fec0 - fec1 (reserved)
 BIOS-e820: fee0 - fee1 (reserved)
 BIOS-e820: ffb0 - 0001 (reserved)
0MB HIGHMEM available.
767MB LOWMEM available.
found SMP MP-table at 000fe710
Entering add_active_range(0, 0, 196510) 0 entries of 256 used
Zone PFN ranges:
  DMA 0 -> 4096
  Normal   4096 ->   196510
  HighMem196510 ->   196510
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0:0 ->   196510
On node 0 totalpages: 196510
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 1503 pages used for memmap
  Normal zone: 190911 pages, LIFO batch:31
  HighMem zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
DMI 2.3 present.
ACPI: RSDP 000FD720, 0014 (r0 DELL  )
ACPI: RSDT 000FD734, 002C (r1 DELLWS 420 8 ASL61)
ACPI: FACP 000FD760, 0074 (r1 DELLWS 420 8 ASL61)
ACPI: DSDT FFFE5000, 1B2F (r1   DELLdt_ex 1000 MSFT  10B)
ACPI: FACS 2FF9E000, 0040
ACPI: APIC 000FD7D4, 0068 (r1 DELLWS 420 8 ASL61)
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 17
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 6:8 APIC version 17
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 4000 (gap: 3000:cec0)
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 194975
Kernel command line: root=/dev/sdf1 ro single
mapped APIC to b000 (fee0)
mapped IOAPIC to a000 (fec0)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 931.005 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 770208k/786040k available (1699k kernel code, 15136k reserved, 694k 
data, 220k init, 0k highmem)
virtual kernel memory layout:
fixmap  : 0xfff4d000 - 0xf000   ( 712 kB)
pkmap   : 0xff80 - 0xffc0   (4096 kB)
vmalloc : 0xf080 - 0xff7fe000   ( 239 MB)
lowmem  : 0xc000 - 0xeff9e000   ( 767 MB)
  .init : 0xc035e000 - 0xc0395000   ( 220 kB)
  .data : 0xc02a8f50 - 0xc0356a64   ( 694 kB)
  .text : 0xc010 - 0xc02a8f50   (1699 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1863.46 BogoMIPS (lpj=3726929)
Security Framework initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff     
  
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits,

Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-21 Thread Tejun Heo
Hello, Thomas.

Thomas Evans wrote:
>> What do you mean by eSata PMP enclosure?  Is it a different PMP device?
>>   
> It is an external PMP box, 5 drive bays - it is the exact same
> manufacturer and is based on the same PMP:
> 0x1095:0x4726 r31, 7 ports, feat 0x1/0x9

Okay.

>>> I can hook the card and storage enclosure to a windows box and can see
>>> the PM and the drives (and the config space).
>>
>> Hmmm...
>>   
> Yeah - I was perplexed at this point as well ...  I even upgraded the
> BIOS in the card, just hoping ...

Can you install linux on a x86 machine and see whether anything is
different?

> I've attached a few logs - one that references how things looked when it
> all worked.
> I've logs of both the original Norco 4618 card (lspci64.2 and
> dmesg.txt.2) and with the
> newer generic 3124 card (dmesg.txt.newcard lspci.newcard.2).

Hmmm.

 I'm not so good with deciphering the PCI-isms - maybe I just need a
> shorter cable now!?

I have no idea but trying a shorter cable is definitely an option.

Thanks.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-21 Thread Thomas Evans
I should have mentioned that in 1 of the failing logs, it finds the PMP 
device, that is rare, it usually doesn't even see it.
That happened this morning and I was hopeful that somehow it was more 
meaningful than the usual case where it doesn't even notice the PMP.


...tom

Thomas Evans wrote:
I've attached a few logs - one that references how things looked when 
it all worked.
I've logs of both the original Norco 4618 card (lspci64.2 and 
dmesg.txt.2) and with the

newer generic 3124 card (dmesg.txt.newcard lspci.newcard.2).

I'm not so good with deciphering the PCI-isms - maybe I just need a 
shorter cable now!?


...tom




-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-20 Thread Tejun Heo
Hello, Thomas.  (cc'ing linux-ide, you don't have to be subscribed to post)

Thomas Evans wrote:
> I usually go by "[EMAIL PROTECTED]" - unfortunately I am unable to get
> that machine started so I am using gmail instead.
> 
> I have run into an odd situation with that machine - the 4726 port
> multiplier is no longer found by libata/sata_sil24.
> I mean - not at all - I have 2.6.24-rc candidates all the back to rc3 or
> so (was using rc8 most recently).
> I've even tried 2.6.22.1 with your patches for that kernel.  They all
> fail to see the PM - it just tries to do softresets on the esata port
> that has the connection - no iteration of the PM ports.

Up to now, it sounds very much like hardware failure.

> I went so far as to try a new 3124 based card, new cable and I even
> found a copy of the eSata PMP enclosure at a local store to swap that
> out (gotta return it all - way expensive).

What do you mean by eSata PMP enclosure?  Is it a different PMP device?

> I can hook the card and storage enclosure to a windows box and can see
> the PM and the drives (and the config space).

Hmmm...

> The 1 thing I did do was attempt to migrate the machine from a DS20 to a
> DS20L.

What are DS20 and DS20L?

> When I tried to bring up the array there (same card, same boot
> disk) I would get constant SRST failures, -5.  I migrated it back to the
> original system, same thing.  I figured I broke something, which is why
> I tried to replace everything with no luck - it's as if something has
> forgotten how to find the SiI4726.

Hmmm...

> any idea what might be happening?  I would post to the list, but cannot
> right now until I resubscribe as this name ...

That's one weird story.  I don't have much idea at this point.  Can you
try to grab failing kernel log and post it?  You can either connect a
harddrive directly, get a system up from there and grab failing
detection log or set up serial or netconsole.

Thanks.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html