* add-single-device won't work in 2.4.3
@ 2001-03-31 13:52 Armin Obersteiner
2001-03-31 15:07 ` Justin T. Gibbs
0 siblings, 1 reply; 4+ messages in thread
From: Armin Obersteiner @ 2001-03-31 13:52 UTC (permalink / raw)
To: gibbs; +Cc: linux-kernel
hi!
as in the subject, yesterday i upgraded to 2.4.3 (plain, no patches).
add-single-device/del-single-device did not work anymore.
tried with:
controller: adaptec-19160
device: yamaha-4260
MfG,
Armin Obersteiner
--
armin@xos.net pgp public key on request CU
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: add-single-device won't work in 2.4.3
@ 2001-03-31 15:00 Douglas Gilbert
2001-04-01 16:01 ` Armin Obersteiner
0 siblings, 1 reply; 4+ messages in thread
From: Douglas Gilbert @ 2001-03-31 15:00 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-scsi, Armin Obersteiner
Armin,
It works for me:
$ uname -a
Linux frig 2.4.3 #1 Fri Mar 30 16:33:45 EST 2001 i586 unknown
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: DNES-309170W Rev: SA30
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 05 Lun: 00
Vendor: UMAX Model: Astra 1220S Rev: V1.2
Type: Scanner ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 06 Lun: 00
Vendor: YAMAHA Model: CRW4416S Rev: 1.0g
Type: CD-ROM ANSI SCSI revision: 02
$ echo "scsi remove-single-device 2 0 5 0" > /proc/scsi/scsi
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: DNES-309170W Rev: SA30
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 06 Lun: 00
Vendor: YAMAHA Model: CRW4416S Rev: 1.0g
Type: CD-ROM ANSI SCSI revision: 02
$ echo "scsi add-single-device 2 0 5 0" > /proc/scsi/scsi
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: DNES-309170W Rev: SA30
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 06 Lun: 00
Vendor: YAMAHA Model: CRW4416S Rev: 1.0g
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 05 Lun: 00
Vendor: UMAX Model: Astra 1220S Rev: V1.2
Type: Scanner ANSI SCSI revision: 02
$ sg_scan -i
/dev/sg0: scsi1 channel=0 id=1 lun=0 type=0
IBM DNES-309170W SA30 [wide=1 sync=1 cmdq=1 sftre=0 pq=0x0]
/dev/sg1: scsi2 channel=0 id=6 lun=0 type=5
YAMAHA CRW4416S 1.0g [wide=0 sync=1 cmdq=0 sftre=0 pq=0x0]
/dev/sg2: scsi2 channel=0 id=5 lun=0 type=6
UMAX Astra 1220S V1.2 [wide=0 sync=0 cmdq=0 sftre=0 pq=0x0]
This last command is from sg_utils and it sends actual
INQUIRY commands rather than relying on data held in
the midlayer. This demonstrates the devices are responding.
Run on a AMD K6-2 500MHz machine with 2 advansys adapters.
Could you retest. If it continues to fail then it may be
a problem with the new aic7xxx driver. You also have the
option of building with the "old" (i.e. former) aic7xxx
driver.
Doug Gilbert
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: add-single-device won't work in 2.4.3
2001-03-31 13:52 add-single-device won't work in 2.4.3 Armin Obersteiner
@ 2001-03-31 15:07 ` Justin T. Gibbs
0 siblings, 0 replies; 4+ messages in thread
From: Justin T. Gibbs @ 2001-03-31 15:07 UTC (permalink / raw)
To: Armin Obersteiner; +Cc: linux-kernel
>hi!
>
>as in the subject, yesterday i upgraded to 2.4.3 (plain, no patches).
>add-single-device/del-single-device did not work anymore.
>
>tried with:
>
>controller: adaptec-19160
>device: yamaha-4260
Do you get any error messages? Does the problem persist with
the latest driver?
http://people.FreeBSD.org/~gibbs/linux
Use the 2.4.3-pre6 patch.
--
Justin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: add-single-device won't work in 2.4.3
2001-03-31 15:00 Douglas Gilbert
@ 2001-04-01 16:01 ` Armin Obersteiner
0 siblings, 0 replies; 4+ messages in thread
From: Armin Obersteiner @ 2001-04-01 16:01 UTC (permalink / raw)
To: Douglas Gilbert; +Cc: linux-kernel, linux-scsi, gibbs
hi!
problem resolved: the first scsi adaptor is scsi1 NOT scsi0
as in <=2.4.2. so i did add/remove devices from a non existend
controller ...
thanks for posting your /proc/scsi/scsi, i compared it with
mine from 2.4.2 and voila!
i hope this is a "wanted" behavior ...
thanks for all your fast replies!
> $ uname -a
> Linux frig 2.4.3 #1 Fri Mar 30 16:33:45 EST 2001 i586 unknown
>
> $ cat /proc/scsi/scsi
> Attached devices:
> Host: scsi1 Channel: 00 Id: 01 Lun: 00
> Vendor: IBM Model: DNES-309170W Rev: SA30
> Type: Direct-Access ANSI SCSI revision: 03
> Host: scsi2 Channel: 00 Id: 05 Lun: 00
> Vendor: UMAX Model: Astra 1220S Rev: V1.2
> Type: Scanner ANSI SCSI revision: 02
CU,
Armin Obersteiner
--
armin@xos.net pgp public key on request CU
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-04-01 16:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-31 13:52 add-single-device won't work in 2.4.3 Armin Obersteiner
2001-03-31 15:07 ` Justin T. Gibbs
-- strict thread matches above, loose matches on Subject: below --
2001-03-31 15:00 Douglas Gilbert
2001-04-01 16:01 ` Armin Obersteiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox