Re: Fixing (scsi) drives at particular /dev locations
On Sat, Mar 06, 2004 at 10:53:17PM -0500, [EMAIL PROTECTED] wrote: FreeBSD 5.2.1; Sun/Cobalt LX50; GENERIC kernel Greetings, The darned LX50 is wired with the first SCSI bus out the back, and the second toward the builtin drives. So, upon adding an external drive, the internal drives all renumber with the generic kernel+device hints. I thought adding a line to /boot/device.hints might work, so reading /usr/src/sys/i386/conf/gethints.awk for clues, I added: hint.da.0.at=ahc1 Close, but no cigar. See the section on SCSI DEVICE CONFIGURATION in /usr/src/sys/conf/NOTES. What you want is: hint.scbus.0.at=ahc1 hint.scbus.1.at=ahc0 hint.da.0.at=scbus0 hint.da.0.target=0 hint.da.0.unit=0 which swaps the ordering of the SCSI busses, and wires down da0 to bus 0, target 0, LUN 0. You could probably get away with just the first two lines, as the rest should be the default anyhow. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Fixing (scsi) drives at particular /dev locations
Date: Sun, 7 Mar 2004 11:59:43 + From: Matthew Seaman [EMAIL PROTECTED] hint.da.0.at=ahc1 Close, but no cigar. See the section on SCSI DEVICE CONFIGURATION in /usr/src/sys/conf/NOTES. What you want is: hint.scbus.0.at=ahc1 hint.scbus.1.at=ahc0 hint.da.0.at=scbus0 hint.da.0.target=0 hint.da.0.unit=0 which swaps the ordering of the SCSI busses, and wires down da0 to bus 0, target 0, LUN 0. You could probably get away with just the first two lines, as the rest should be the default anyhow. I went looking in /usr/src/sys/i386/conf instead, oops! What threw me though was there was no scbus identified in the boot messages. Boot output goes like this: ... da0 at ahc0 bus 0 target 0 lun 0 ... da1 at ahc0 bus 0 target 1 lun 0 ... But I tried what the Good Doctor ordered, and now I feel fine! Thanks!!! -sam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fixing (scsi) drives at particular /dev locations
FreeBSD 5.2.1; Sun/Cobalt LX50; GENERIC kernel Greetings, The darned LX50 is wired with the first SCSI bus out the back, and the second toward the builtin drives. So, upon adding an external drive, the internal drives all renumber with the generic kernel+device hints. I thought adding a line to /boot/device.hints might work, so reading /usr/src/sys/i386/conf/gethints.awk for clues, I added: hint.da.0.at=ahc1 But that didn't have a noticeable effect. Looking again, I probably asked too much from that interface, as I see no examples with ctlr name+numbers to the right of the =. So, how to fix device 0 lun 0 on ahc 1 to be da0? Alternatively how to get /devfs to incorporate the ctlr number in the /dev entry, like: dac1s1a? Thanks, -sam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]