Hi Dario, you can't eject the CD-ROM drive, unless you unmount it first
(e.g., 'umount -v /dev/cdrom') and you can't unmount it while any number
of users are still accessing it.
Regards,
Dario Lesca wrote:
Hi, some question:
1) How to read from command line the label of cd-rom (IDE/SCSI)
inserted into device?
2) How to eject the cd-rom simply press the eject button of device when:
o the cd-rom is mounted.
o the cd-rom is mounted and the users use the files on it.
3) I have 7 cdrom SCSI connecto to channel 2 of a SCSI adapter on a system
whit kernel 2.4.18-27.8.0 and when I mount and use the cd-rom I
get in /var/log/message the attached error: what means?
Thanks for your reply...
---
Dario Lesca ([EMAIL PROTECTED])
---[attach]---
Jun 5 12:37:36 server kernel: scsi1:0:4:0: Attempting to queue an ABORT
message
Jun 5 12:37:36 server kernel: scsi1: Dumping Card State while idle, at
SEQADDR
0x8
Jun 5 12:37:36 server kernel: ACCUM = 0x4, SINDEX = 0x47, DINDEX = 0x25,
ARG_2
= 0x0
Jun 5 12:37:36 server kernel: HCNT = 0x0 SCBPTR = 0x0
Jun 5 12:37:36 server kernel: SCSISEQ = 0x12, SBLKCTL = 0x6
Jun 5 12:37:36 server kernel: DFCNTRL = 0x0, DFSTATUS = 0x89
Jun 5 12:37:36 server kernel: LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 =
0x80
Jun 5 12:37:36 server kernel: SSTAT0 = 0x0, SSTAT1 = 0x8
Jun 5 12:37:36 server kernel: SCSIPHASE = 0x0
Jun 5 12:37:36 server kernel: STACK == 0xe7, 0x160, 0x175, 0x3
Jun 5 12:37:36 server kernel: SCB count = 4
Jun 5 12:37:36 server kernel: Kernel NEXTQSCB = 3
Jun 5 12:37:36 server kernel: Card NEXTQSCB = 3
Jun 5 12:37:36 server kernel: QINFIFO entries:
Jun 5 12:37:36 server kernel: Waiting Queue entries:
Jun 5 12:37:36 server kernel: Disconnected Queue entries: 0:2
Jun 5 12:37:36 server kernel: QOUTFIFO entries:
Jun 5 12:37:36 server kernel: Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10
11
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Jun 5 12:37:36 server kernel: Sequencer SCB Info: 0(c 0x44, s 0x47, l 0, t
0x2)
1(c 0x0, s 0xff, l 255, t 0xff) 2(c 0x0, s 0xff, l 255, t 0xff) 3(c 0x0, s
0xff
, l 255, t 0xff) 4(c 0x0, s 0xff, l 255, t 0xff) 5(c 0x0, s 0xff, l 255, t
0xff)
6(c 0x0, s 0xff, l 255, t 0xff) 7(c 0x0, s 0xff, l 255, t 0xff) 8(c 0x0, s
0xff
, l 255, t 0xff) 9(c 0x0, s 0xff, l 255, t 0xff) 10(c 0x0, s 0xff, l 255, t
0xff
) 11(c 0x0, s 0xff, l 255, t 0xff) 12(c 0x0, s 0xff, l 255, t 0xff) 13(c
0x0, s
0xff, l 255, t 0xff) 14(c 0x0, s 0xff, l 255, t 0xff) 15(c 0x0, s 0xff, l
255, t
0xff) 16(c 0x0, s 0xff, l 255, t 0xff) 17(c 0x0, s 0xff, l 255, t 0xff)
18(c 0x
0, s 0xff, l 255, t 0xff) 19(c 0x0, s 0xff, l 255, t 0xff) 20(c 0x0, s 0xff,
l 2
55, t 0xff) 21(c 0x0, s 0xff, l 255, t 0xff) 22(c 0x0, s 0xff, l 255, t
0xff) 23
(c 0x0, s 0xff, l 255, t 0xff) 24(c 0x0, s 0xff, l 255, t 0xff) 25(c 0x0, s
0xff
, l 255, t 0xff) 26(c 0x0, s 0xff, l 255, t 0xff) 27(c 0x0, s 0xff, l 255, t
0xf
f) 28(c 0x0, s 0xff, l 255, t 0xff) 29(c 0x0, s 0xff, l 255, t 0xf
Jun 5 12:37:37 server kernel: ) 30(c 0x0, s 0xff, l 255, t 0xff) 31(c 0x0,
s 0x
ff, l 255, t 0xff)
Jun 5 12:37:37 server kernel: Pending list: 2(c 0x40, s 0x47, l 0)
Jun 5 12:37:37 server kernel: Kernel Free SCB list: 1 0
Jun 5 12:37:37 server kernel: Untagged Q(4): 2
Jun 5 12:37:37 server kernel: DevQ(0:0:0): 0 waiting
Jun 5 12:37:37 server kernel: DevQ(0:1:0): 0 waiting
Jun 5 12:37:37 server kernel: DevQ(0:2:0): 0 waiting
Jun 5 12:37:37 server kernel: DevQ(0:3:0): 0 waiting
Jun 5 12:37:37 server kernel: DevQ(0:4:0): 0 waiting
Jun 5 12:37:37 server kernel: DevQ(0:5:0): 0 waiting
Jun 5 12:37:37 server kernel: DevQ(0:6:0): 0 waiting
Jun 5 12:37:37 server kernel: (scsi1:A:4:0): Queuing a recovery SCB
Jun 5 12:37:37 server kernel: scsi1:0:4:0: Device is disconnected,
re-queuing S
CB
Jun 5 12:37:37 server login(pam_unix)[1954]: session closed for user sispac
Jun 5 12:37:37 server kernel: (scsi1:A:4:0): Abort Message Sent
Jun 5 12:37:37 server kernel: Recovery code sleeping
Jun 5 12:37:37 server kernel: (scsi1:A:4:0): SCB 2 - Abort Completed.
Jun 5 12:37:37 server kernel: Recovery SCB completes
Jun 5 12:37:37 server kernel: Recovery code awake
Jun 5 12:37:37 server kernel: aic7xxx_abort returns 0x2002
--
Panos Platon Tsapralis,
Software Engineer,
SAP-R/3 specialist, ABAP/4 developer,
registered Linux user #305894,
Mozilla (Rel.1.3) on RedHat Linux (Rel.8.0),
Athens, GREECE,
cell-phone No. +306946462857,
[EMAIL PROTECTED], [EMAIL PROTECTED]
--
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list