RFC: ATA to CAM integration patch

Alexander Motin mav at FreeBSD.org
Sun Jun 28 07:55:33 UTC 2009


Daniel O'Connor wrote:
> On Sat, 27 Jun 2009, Kamigishi Rei wrote:
>> This poses the question of daXX enumeration order. I've already had
>> some 'fun' with an IBM server which has an LVD/320 SCSI controller.
>> While the controller's bus was enumerated properly, somehow if you
>> attach an USB mass storage device before the system boot that said
>> mass storage could suddenly appear earlier than one of the SCSI disks
>> (that was on 7.0-RELEASE) thus breaking the boot process sometimes
>> (when it appeared as da0).
> 
> 7.2 has UFSID in GENERIC so you can mount your disks that way which is 
> non-ambiguous.
> 
> Unfortunately you can't specify swap this way because it has no ID, I 
> don't know how hard it would be to add such a thing (which would 
> require a mkswap or somesuch, and modification to the dump & swap 
> code..)

Yes. I've hit this problem. I haven't tried yet, but probably marking 
the whole disk with glabel could be an option now.

-- 
Alexander Motin


More information about the freebsd-current mailing list