Hello,
I cannot mount my cdwriter, plugged on a advansys controller. It hangs
the system for a while, and then there are slowdowns periodically.
A cdrom plugged on the same controller works perfectly (with the same
CDs), and the whole scsi system runs well under windows with the same
scsi configuration.
There is no difference if the driver is loaded in the kernel or as
module. The scsi chain is out of order after mounting the device. A scan
performed with writing software did not resolve the trouble.
The whole description of the system is in the attached file. Tell me if
more information are needed.
TIA for your help.
[root@Neo /root]# dmesg
<<scsi driver is charged as a module after>>
Linux version 2.2.13-7mdk ([EMAIL PROTECTED]) (gcc version 2.95.1 19990816
(release)) #1 Wed Sep 15 18:02:18 CEST 1999
Detected 350791872 Hz processor.
Console: colour VGA+ 80x50
Calibrating delay loop... 699.60 BogoMIPS
Memory: 63060k/65472k available (1044k kernel code, 416k reserved, 892k data, 60k init)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: AMD AMD-K6(tm) 3D processor stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch ([EMAIL PROTECTED])
PCI: PCI BIOS revision 2.10 entry at 0xf0720
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Initializing RT netlink socket
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)
Real Time Clock Driver v1.09
RAM disk driver initialized: 16 RAM disks of 4096K size
PCI_IDE: unknown IDE controller on PCI bus 00 device 78, VID=10b9, DID=5229
PCI_IDE: not 100% native mode: will probe irqs later
PCI_IDE: simplex device: DMA disabled
ide0: PCI_IDE Bus-Master DMA disabled (BIOS)
PCI_IDE: simplex device: DMA disabled
ide1: PCI_IDE Bus-Master DMA disabled (BIOS)
hda: IBM-DJNA-371350, ATA DISK drive
hdb: WDC AC26400B, ATA DISK drive
hdc: SAMSUNG SHD-3122A (APOLLO), ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: IBM-DJNA-371350, 12949MB w/1966kB Cache, CHS=1650/255/63
hdb: WDC AC26400B, 6149MB w/512kB Cache, CHS=784/255/63
hdc: SAMSUNG SHD-3122A (APOLLO), 240MB w/64kB Cache, CHS=937/15/35
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
scsi : 0 hosts.
scsi : detected total.
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 > hda3
hdb: hdb1 hdb2 hdb4
hdc: hdc1
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 60k freed
Adding Swap: 104384k swap-space (priority -1)
es1371: version v0.13 time 18:19:49 Sep 15 1999
es1371: found adapter at io 0xb400 irq 5
es1371: features: joystick 0x0
es1371: codec vendor TRA revision 3
es1371: codec features none
es1371: stereo enhancement: no 3D stereo enhancement
VFS: Disk change detected on device fd(2,0)
[root@Neo /root]# modprobe advansys
[root@Neo /root]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: PLEXTOR Model: CD-ROM PX-40TS Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: Traxdata Model: CDR4120 Rev: 5.0J
Type: CD-ROM ANSI SCSI revision: 02
[root@Neo /root]# cat /proc/scsi/advansys/0
AdvanSys SCSI 3.1E: PCI Ultra 16 CDB: IO B000/F, IRQ 11
Device Information for AdvanSys SCSI Host 0:
Target IDs Detected: 2, 3, 7, (7=Host Adapter)
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: PLEXTOR Model: CD-ROM PX-40TS Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: Traxdata Model: CDR4120 Rev: 5.0J
Type: CD-ROM ANSI SCSI revision: 02
EEPROM Settings for AdvanSys SCSI Host 0:
Serial Number: AE85D808L786
Host SCSI ID: 7, Host Queue Size: 16, Device Queue Size: 8
cntl 7f00, no_scam 0
Target ID: 0 1 2 3 4 5 6 7
Disconnects: Y Y Y Y N N N Y
Command Queuing: N N N N N N N N
Start Motor: Y Y Y Y N N N Y
Synchronous Transfer: Y Y Y Y N N N Y
Linux Driver Configuration and Information for AdvanSys SCSI Host 0:
host_busy 0, last_reset 786110, max_id 8, max_lun 8, max_channel 0
unique_id 0, can_queue 16, this_id 7, sg_tablesize 50, cmd_per_lun 1
unchecked_isa_dma 0, use_clustering 1, loaded_as_module 1
flags 8, last_reset bfebe, jiffies c45de
queue_depth: 2:4 3:4
Linux Driver Statistics for AdvanSys SCSI Host 0:
command 0, queuecommand 516, abort 28, reset 4, biosparam 0
interrupt 602, callback 493, done 519
exe_noerror 493, exe_busy 23, exe_error 0, exe_unknown 0
[root@Neo /root]# ll /dev/cdrom ;ll /dev/cdwriter ;ll /dev/scd1
brw------- 2 root disk 11, 0 mai 5 1998 /dev/cdrom
lrwxrwxrwx 1 root root 4 jan 11 22:00 /dev/cdwriter -> scd1
brw-rw---- 1 root cdwriter 11, 1 mai 5 1998 /dev/scd1
[root@Neo /root]# cat /etc/fstab
/dev/hdb1 / ext2 defaults 1 1
/dev/hdb2 /home ext2 defaults 1 2
/dev/hda7 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto
sync,user,noauto,nosuid,nodev,unhide 0 0
/dev/cdrom /mnt/cdrom auto
user,noauto,nosuid,exec,nodev,ro 0 0
/dev/cdwriter /mnt/cdwriter auto
user,noauto,nosuid,exec,nodev,ro 0 0
none /proc proc defaults 0 0
none /dev/pts devpts mode=0622 0 0
/dev/hdb4 /mnt/echanges vfat exec,rw,conv=auto 1 1
/dev/hda1 /mnt/w98 vfat exec,ro,conv=auto 1 0
/dev/hda5 /mnt/docs vfat exec,rw,conv=auto 1 1
/dev/hdc1 /mnt/old vfat exec,rw,conv=auto,suid 1 1
[root@Neo /root]# mount /mnt/cdwriter/
/dev/cdwriter: Erreur d'entr�e/sortie
mount: Aucun medium trouv�
<<the cdwriter door remains blocked>>
[root@Neo /root]# mount /dev/cdrom
<<no reaction, as if the bus scsi is down>>
[root@Neo /root]# ps -ef |grep mount
root 1208 1151 0 21:10 pts/0 00:00:02 mount /dev/cdrom
root 1220 1215 0 21:16 pts/1 00:00:00 grep mount
[root@Neo /root]# kill -9 1208
<<still without reaction !! the system is cyclically blocked for a while>>
<<and eventually (after at least 10 min)>>
Processus arr�t�
<<but system is still having some freezes periodically>>
[root@Neo /root]# cdrecord -scanbus
Cdrecord release 1.8a27 Copyright (C) 1995-1999 J�rg Schilling
scsibus0:
0,0,0 0) *
0,1,0 1) *
0,2,0 2) '0
label' '.anchor w
}
tixD' 'irLi' not present unknown device type 0xe
0,3,0 3) 'PART2
gl' 'obal XCDR_IMAGE_' 'MNTP' reserved unknown device type 0x12
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
<<I thought it could help>>