Custom Query (1469 matches)
Results (151 - 153 of 1469)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#201 | fixed | os_freebsd.cpp: Have smartd prefer real device names over passN | ||
Description |
The device scanning code in os_freebsd.cpp remembers the last name for a particular device. This can cause all your devices to be reported as "passN" if the pass device is last in the list: # camcontrol devlist <SEAGATE ST336754LC D402> at scbus0 target 0 lun 0 (da0,pass0) <SEAGATE ST336754LC D402> at scbus0 target 1 lun 0 (da1,pass1) <Hitachi HDS721016CLA382 JPEOA3FF> at scbus1 target 0 lun 0 (ada0,pass2) <PLDS DVD-ROM DH-16D5S VD15> at scbus2 target 0 lun 0 (cd0,pass3) <SAMSUNG HD161HJ JF100-22> at scbus3 target 0 lun 0 (ada1,pass4) Unpatched smartd output: Configuration file /usr/local/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices Device: /dev/pass0, opened Device: /dev/pass0, [SEAGATE ST336754LC D402], 36.4 GB Device: /dev/pass0, is SMART capable. Adding to "monitor" list. Device: /dev/pass1, opened Device: /dev/pass1, [SEAGATE ST336754LC D402], 36.4 GB Device: /dev/pass1, is SMART capable. Adding to "monitor" list. Device: /dev/pass2, opened Device: /dev/pass2, Hitachi HDS721016CLA382, S/N:JPE060HH0RGT8P, WWN:5-000cca-370ca37a8, FW:JPEOA3FF, 160 GB Device: /dev/pass2, found in smartd database: Hitachi Deskstar 7K1000.C Device: /dev/pass2, is SMART capable. Adding to "monitor" list. The attached patch keeps smartd from overwriting a good device name with "pass", resulting in much better detection: Configuration file /usr/local/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices Device: /dev/da0, opened Device: /dev/da0, [SEAGATE ST336754LC D402], 36.4 GB Device: /dev/da0, is SMART capable. Adding to "monitor" list. Device: /dev/da1, opened Device: /dev/da1, [SEAGATE ST336754LC D402], 36.4 GB Device: /dev/da1, is SMART capable. Adding to "monitor" list. Device: /dev/ada0, opened Device: /dev/ada0, Hitachi HDS721016CLA382, S/N:JPE060HH0RGT8P, WWN:5-000cca-370ca37a8, FW:JPEOA3FF, 160 GB Device: /dev/ada0, found in smartd database: Hitachi Deskstar 7K1000.C Device: /dev/ada0, is SMART capable. Adding to "monitor" list. |
|||
#18 | fixed | os_freebsd.cpp - convert ATA interfaces from *::ata_command_interface to the ata_pass_through | ||
Description |
Currently os_freebsd.cpp is still using old ata_command_interface style for all ata classes. Migration to the ata_pass_through will allow to avoid unneeded code duplication and problems related to this. Also it will give an abilty to implement multisector reading and 48bit i/o. |
|||
#2 | fixed | os_freebsd.cpp - added USB detection and converted to the new interface | ||
Description |
This is the patch agains current SVN. What was done: 1) Added USB type autodection using CAM layer and USB bus FreeBSD interface. Tested on FreeBSD 7. 2) Converted old style interface to the new, tested with ATA and SCSI devices, should work for other types also |