Messages in this thread | | | From | Robert Schiele <> | Subject | Re: Problems when mounting cdroms under 2.3.47 | Date | Wed, 23 Feb 2000 17:14:14 +0100 |
| |
German Jose Gomez Garcia wrote: > > Hello, > > It seems that there is a totally reproducible lock up in 2.3.47 > when trying to mount a SCSI cdrom (connected to an aic7xxx), the kernel > reports a bug at pci.h line 58 and hangs up (not inmediately but > everything you try until it hangs up will seg fault).
I have a similar problem with this version and same hardware, although my system does not lock up completely. I just cannot mount cdroms any more. There where no such problems in 2.3.46.
If I try to mount a cdrom, mount terminates with a segmentation fault, and the kernel produces the following oops:
ksymoops 0.7c on i686 2.3.47. Options used -V (specified) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.3.47/ (default) -M (specified)
Feb 23 16:52:44 schiele kernel: invalid operand: 0000 Feb 23 16:52:44 schiele kernel: CPU: 0 Feb 23 16:52:44 schiele kernel: EIP: 0010:[aic7xxx_reset_channel+1116/1348] Feb 23 16:52:44 schiele kernel: EFLAGS: 00010082 Feb 23 16:52:44 schiele kernel: eax: 00000033 ebx: c40a6040 ecx: 00000012 edx: c3f92660 Feb 23 16:52:44 schiele kernel: esi: 00000000 edi: c408d200 ebp: c40a5858 esp: c2b61c6c Feb 23 16:52:44 schiele kernel: ds: 0018 es: 0018 ss: 0018 Feb 23 16:52:44 schiele kernel: Process mount (pid: 345, stackpage=c2b61000) Feb 23 16:52:44 schiele kernel: Stack: c026d347 c026d400 0000003a c40a5858 c408d200 c40a6040 c1264880 c409fc2a Feb 23 16:52:44 schiele kernel: c4d87b60 c4d80010 00000004 00000000 00000000 c01d75db c1264880 c408d200 Feb 23 16:52:44 schiele kernel: c40a5858 00000246 c4d87bfc c1264800 c408d200 c01ab6f7 c01ab75d c408d200 Feb 23 16:52:44 schiele kernel: Call Trace: [__mon_yday+14855/20108] [__mon_yday+15040/20108] [aic7xxx_run_waiting_queues+99/668] [read_mem+19/100] [write_mem+21/68] [read_aux+240/572] [vortex_probe1+156/2292] Feb 23 16:52:44 schiele kernel: Code: 0f 0b 83 c4 0c 8d 76 00 8d 96 00 00 00 40 8b 4c 24 30 89 91 Using defaults from ksymoops -t elf32-i386 -a i386 Code; 00000000 Before first symbol 00000000 <_EIP>: Code; 00000000 Before first symbol 0: 0f 0b ud2a Code; 00000002 Before first symbol 2: 83 c4 0c addl $0xc,%esp Code; 00000005 Before first symbol 5: 8d 76 00 leal 0x0(%esi),%esi Code; 00000008 Before first symbol 8: 8d 96 00 00 00 40 leal 0x40000000(%esi),%edx Code; 0000000e Before first symbol e: 8b 4c 24 30 movl 0x30(%esp,1),%ecx Code; 00000012 Before first symbol 12: 89 91 00 00 00 00 movl %edx,0x0(%ecx)
Some seconds later, the kernel says:
Feb 23 16:53:14 schiele kernel: scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 4, lun 0 Test Unit Ready 00 00 00 00 00 Feb 23 16:53:14 schiele kernel: (scsi0:-1:-1:-1) aic7xxx_isr - referenced scb not valid during scsiint 0x3 scb(2) Feb 23 16:53:14 schiele kernel: SIMODE0 0x0, SIMODE1 0xad, SSTAT0 0x7, SEQADDR 0xa3 Feb 23 16:53:14 schiele kernel: (scsi0:-1:-1:-1) aic7xxx_isr - referenced scb not valid during scsiint 0x3 scb(2) Feb 23 16:53:14 schiele kernel: SIMODE0 0x0, SIMODE1 0xad, SSTAT0 0x7, SEQADDR 0x160 Feb 23 16:53:15 schiele kernel: SCSI host 0 abort (pid 0) timed out - resetting Feb 23 16:53:15 schiele kernel: SCSI bus is being reset for host 0 channel 0. Feb 23 16:53:17 schiele kernel: SCSI host 0 abort (pid 0) timed out - resetting Feb 23 16:53:17 schiele kernel: SCSI bus is being reset for host 0 channel 0. Feb 23 16:53:17 schiele kernel: SCSI host 0 channel 0 reset (pid 0) timed out - trying harder Feb 23 16:53:17 schiele kernel: SCSI bus is being reset for host 0 channel 0. Feb 23 16:53:17 schiele kernel: SCSI host 0 reset (pid 0) timed out again - Feb 23 16:53:17 schiele kernel: probably an unrecoverable SCSI bus or device hang. Feb 23 16:53:19 schiele kernel: (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
If I tried the mount a second time, the mount hangs in 'D'-state. I did not experience any problems with harddisks, only with cdroms.
Some relevant configuration:
/proc/scsi/scsi: Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: IBM Model: DDRS-39130W Rev: S97B Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: SEAGATE Model: ST39140W Rev: 1281 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 02 Lun: 00 Vendor: HP Model: C2520A Rev: 3503 Type: Processor ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 03 Lun: 00 Vendor: IOMEGA Model: ZIP 100 Rev: J.03 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 04 Lun: 00 Vendor: PIONEER Model: CD-ROM DR-U12X Rev: 1.06 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 05 Lun: 00 Vendor: RICOH Model: MP6200S Rev: 2.40 Type: CD-ROM
/proc/scsi/aix7xxx/0: Adaptec AIC7xxx driver version: 5.2.0/3.2.4 Compile Options: TCQ Enabled By Default : Enabled AIC7XXX_PROC_STATS : Disabled AIC7XXX_RESET_DELAY : 5 Adapter Configuration: SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter Ultra Wide Controller at PCI 0/14/0 PCI MMAPed I/O Base: 0xf4000000 Adapter SEEPROM Config: SEEPROM found and used. Adaptec SCSI BIOS: Enabled IRQ: 11 SCBs: Active 0, Max Active 11, Allocated 31, HW 16, Page 255 Interrupts: 16690 BIOS Control Word: 0x1996 Adapter Control Word: 0x0053 Extended Translation: Enabled Disconnect Enable Flags: 0xffff Ultra Enable Flags: 0x0003 Tag Queue Enable Flags: 0x0003 Ordered Queue Tag Flags: 0x0003 Default Tag Queue Depth: 8 Tagged Queue By Device array for aic7xxx host instance 0: {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} Actual queue depth per device for aic7xxx host instance 0: {8,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1} Statistics: (scsi0:0:0:0) Device using Wide/Sync transfers at 40.0 MByte/sec, offset 8 Transinfo settings: current(12/8/1/0), goal(12/8/1/0), user(12/15/1/0) Total transfers 14173 (12042 reads and 2131 writes) (scsi0:0:1:0) Device using Wide/Sync transfers at 40.0 MByte/sec, offset 8 Transinfo settings: current(12/8/1/0), goal(12/8/1/0), user(12/15/1/0) Total transfers 2189 (2185 reads and 4 writes) (scsi0:0:2:0) Device using Narrow/Async transfers. Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(12/15/1/0) Total transfers 0 (0 reads and 0 writes) (scsi0:0:3:0) Device using Narrow/Async transfers. Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(12/15/1/0) Total transfers 2 (2 reads and 0 writes) (scsi0:0:4:0) Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15 Transinfo settings: current(25/15/0/0), goal(12/15/0/0), user(12/15/1/0) Total transfers 0 (0 reads and 0 writes) (scsi0:0:5:0) Device using Narrow/Async transfers. Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(12/15/1/0) Total transfers 0 (0 reads and 0 writes)
/usr/src/linux/.config: ... # # SCSI support # CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_SD_EXTRA_DEVS=40 CONFIG_CHR_DEV_ST=y CONFIG_ST_EXTRA_DEVS=2 CONFIG_BLK_DEV_SR=y # CONFIG_BLK_DEV_SR_VENDOR is not set CONFIG_SR_EXTRA_DEVS=2 CONFIG_CHR_DEV_SG=y # CONFIG_SCSI_DEBUG_QUEUES is not set CONFIG_SCSI_MULTI_LUN=y CONFIG_SCSI_CONSTANTS=y # CONFIG_SCSI_LOGGING is not set # # SCSI low-level drivers # # CONFIG_SCSI_7000FASST is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AHA152X is not set # CONFIG_SCSI_AHA1542 is not set # CONFIG_SCSI_AHA1740 is not set CONFIG_SCSI_AIC7XXX=y CONFIG_AIC7XXX_TCQ_ON_BY_DEFAULT=y CONFIG_AIC7XXX_CMDS_PER_DEVICE=8 # CONFIG_AIC7XXX_PROC_STATS is not set CONFIG_AIC7XXX_RESET_DELAY=5 # CONFIG_SCSI_IPS is not set # CONFIG_SCSI_ADVANSYS is not set # CONFIG_SCSI_IN2000 is not set # CONFIG_SCSI_AM53C974 is not set # CONFIG_SCSI_MEGARAID is not set # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_DTC3280 is not set # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_EATA_DMA is not set # CONFIG_SCSI_EATA_PIO is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GDTH is not set # CONFIG_SCSI_GENERIC_NCR5380 is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set # CONFIG_SCSI_PPA is not set # CONFIG_SCSI_IMM is not set # CONFIG_SCSI_NCR53C406A is not set # CONFIG_SCSI_SYM53C416 is not set # CONFIG_SCSI_SIM710 is not set # CONFIG_SCSI_NCR53C7xx is not set # CONFIG_SCSI_NCR53C8XX is not set # CONFIG_SCSI_SYM53C8XX is not set # CONFIG_SCSI_PAS16 is not set # CONFIG_SCSI_PCI2000 is not set # CONFIG_SCSI_PCI2220I is not set # CONFIG_SCSI_PSI240I is not set # CONFIG_SCSI_QLOGIC_FAS is not set # CONFIG_SCSI_QLOGIC_ISP is not set # CONFIG_SCSI_QLOGIC_FC is not set # CONFIG_SCSI_QLOGIC_1280 is not set # CONFIG_SCSI_SEAGATE is not set # CONFIG_SCSI_DC390T is not set # CONFIG_SCSI_T128 is not set # CONFIG_SCSI_U14_34F is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SCSI_DEBUG is not set # CONFIG_BLK_DEV_3W_XXXX_RAID is not set ...
If you need more information, feel free to contact me,
Robert
-- Robert Schiele mailto:rschiele@uni-mannheim.de Tel./Fax: +49-621-10059 http://webrum.uni-mannheim.de/math/rschiele/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |