2.6.9-rc2-mm2: 3ware card info not in /proc/scsi
Did this get broken?
Begin forwarded message:
Date: Thu, 23 Sep 2004 11:09:06 -0500
From: Glenn Johnson <[email protected]>
To: [email protected]
Subject: 2.6.9-rc2-mm2: 3ware card info not in /proc/scsi
I have a 3Ware-7500 series card. I was trying the 2.6.9-rc2-mm2 kernel and discovered that the 3dmd utility was not working. A little poking around revealed that the cause was because the 3Ware directory was not in /proc/scsi, even though I have CONFIG_SCSI_PROC_FS=y in my config file. The 3dmd utility works fine with mainline 2.6.9-rc2 and it worked with the 2.6.8-mm series of kernels. Those kernels have a 3w-xxxx directory in /proc/scsi.
Thanks.
Signature · 7 lines
Glenn Johnson - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Quoted 1 line · Andrew Morton
Did this get broken?
The changelog says it was deliberate:
ChangeSet 1.2212 2004/09/10 17:48:45 [email protected]
[PATCH] 3ware 5/6/7/8000 driver v1.26.02.000
- Remove deprecated SCSI_IOCTL_SEND_COMMAND interface.
- Remove deprecated /proc/scsi/3w-xxxx interface.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Convert entire driver to pci_driver format.
- Remove all mdelays, replace w/msleep to fix possible watchdog timer issues.
- Make all register accesses macros.
- Remove all prototypes from header file, reorder functions to eliminate all prototypes but one.
- Add sysfs 'queue_depth' setting attribute.
- Add sysfs 'stats' attribute.
- Fix spinlocks everywhere, remove tw_lock spinlock.
- Remove all bitfields, add bitmask access macros.
- Remove un-needed scsi_eh_abort entrypoint. Controller does not support aborting invididual IO's, scsi_eh_reset sufficient.
I presume there's an updated utility from amcc somewhere that uses the new sysfs interface.
James
Quoted 11 lines · James Bottomley
Quoted 1 line · Andrew Morton
Did this get broken?
The changelog says it was deliberate:
ChangeSet 1.2212 2004/09/10 17:48:45 [email protected]
[PATCH] 3ware 5/6/7/8000 driver v1.26.02.000- Remove deprecated
SCSI_IOCTL_SEND_COMMANDinterface.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
... and there goes smartmontools support until v5.34 is released.
More generally (not just 3ware), several smartmontools users have complained to me about the warnings sent to their log every time smartd wakes up (30 minutes) and checks their SCSI disks in recent 2.6 versions. One deprecated warning should be sufficient.
Quoted 15 lines
- Remove deprecated
/proc/scsi/3w-xxxxinterface.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Convert entire driver topci_driverformat.
- Remove all mdelays, replace w/msleep to fix possible watchdog timer issues.
- Make all register accesses macros.
- Remove all prototypes from header file, reorder functions to eliminate all prototypes but one.
- Add sysfs 'queue_depth' setting attribute.
- Add sysfs 'stats' attribute.
- Fix spinlocks everywhere, removetw_lockspinlock.
- Remove all bitfields, add bitmask access macros.
- Remove un-neededscsi_eh_abortentrypoint. Controller does not support aborting invididual IO's,scsi_eh_resetsufficient.
Quoted 2 lines
I presume there's an updated utility from amcc somewhere that uses the new sysfs interface.
From an application maintainer's point of view sysfs is relatively new (only in lk 2.6) and just starting to settle down.
Doug Gilbert
Quoted 7 lines · Andrew Morton
I have a 3Ware-7500 series card. I was trying the 2.6.9-rc2-mm2 kernel and discovered that the 3dmd utility was not working. A little poking around revealed that the cause was because the 3Ware directory was not in
/proc/scsi, even though I haveCONFIG_SCSI_PROC_FS=yin my config file. The 3dmd utility works fine with mainline 2.6.9-rc2 and it worked with the 2.6.8-mm series of kernels. Those kernels have a 3w-xxxx directory in/proc/scsi.
You need to update 3Ware tools using "engeneering phase software" at : http://www.3ware.com/support/index.asp
François
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html