Please CC me on replies. I'm running into issues with hard-coding some devices (see recent post titled 'device.hints isn't setting what I want'). Associated with this issue is confusion over whether I want to use ch0 or pass1. I have these devices: <DEC TL800 (C) DEC 0326> at scbus1 target 0 lun 0 (ch0,pass1) <DEC TZ89 (C) DEC 1837> at scbus1 target 5 lun 0 (sa1,pass2) My understanding: chio(1) will with ch0, whereas mtx(1) will work with pass1. Is this correct? More information/elaboration will help I'm sure. Why do I ask? I can get the tape changer and tape drive hardwired to ch0 and sa1 respectively. I cannot [yet] do the same with pass1. Thanks folks.
In the last episode (Jan 21), Dan Langille said:> Please CC me on replies. > > I'm running into issues with hard-coding some devices (see recent post > titled 'device.hints isn't setting what I want'). > > Associated with this issue is confusion over whether I want to use ch0 > or pass1. I have these devices: > > <DEC TL800 (C) DEC 0326> at scbus1 target 0 lun 0 (ch0,pass1) > <DEC TZ89 (C) DEC 1837> at scbus1 target 5 lun 0 (sa1,pass2) > > My understanding: chio(1) will with ch0, whereas mtx(1) will work with > pass1. Is this correct? More information/elaboration will help I'm sure. > > Why do I ask? I can get the tape changer and tape drive hardwired to ch0 > and sa1 respectively. I cannot [yet] do the same with pass1.You can try wiring them down the same way you wire down regular devices, but if they're created sequentially in probe order, that won't work. Ideally, mtx should use cam_open_spec_device() which, when given a device name, will automatically open the matching pass device. -- Dan Nelson dnelson@allantgroup.com
On Thu, 21 Jan 2010 20:23:43 -0500 Dan Langille <dan@langille.org> wrote:> Please CC me on replies. > > I'm running into issues with hard-coding some devices (see recent post > titled 'device.hints isn't setting what I want'). > > Associated with this issue is confusion over whether I want to use ch0 > or pass1. I have these devices: > > <DEC TL800 (C) DEC 0326> at scbus1 target 0 lun 0 > (ch0,pass1) <DEC TZ89 (C) DEC 1837> at scbus1 target 5 lun > 0 (sa1,pass2) > > My understanding: chio(1) will with ch0, whereas mtx(1) will work with > pass1. Is this correct? More information/elaboration will help I'm > sure. > > Why do I ask? I can get the tape changer and tape drive hardwired to > ch0 and sa1 respectively. I cannot [yet] do the same with pass1. > > Thanks folks.Hi Dan You might take a look at this thread. It looks like what you want to do. http://lists.freebsd.org/pipermail/freebsd-questions/2007-April/146738.html HTH Robert