Opened 15 years ago
Closed 15 years ago
#3 closed defect (fixed)
ABEND on FreeBSD when non-SCSI device accessed with -d scsi
Reported by: | Dan Lukes | Owned by: | somebody |
---|---|---|---|
Priority: | trivial | Milestone: | Experimental Release 5.39 |
Component: | all | Version: | |
Keywords: | FreeBSD abend | Cc: | ml@… |
Description
Try
smartctl -d scsi /dev/ad0
Bug in os_freebsd.cpp
con->devname == NULL when used in cam_open_spec_device()
more detailed analysis required but not done yet.
Attachments (1)
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Yes, found the reason. It tries to autodetect smart device (using parse_ata_chan_dev) if -d scsi is set. The code should be rewritten to get off parse_ata_chan_dev and to switch only to autodetect_smart_device. I will try to do this.
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I think that the problem is in the open() function. It recognizes type of the device and ignore -d switch on it. So it uses procedure for ATA drive and not for scsi.