[6145] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Kernel Panic reading scsi-cdrom (fwd)

daemon@ATHENA.MIT.EDU (Henrik Johansson)
Mon Mar 22 02:40:30 1999

Date: 	Mon, 22 Mar 1999 08:07:32 -0100 (GMT+1)
From: Henrik Johansson <henrik@lcdata.se>
To: Nathan Hand <nathanh@wookie.chirp.com.au>
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.96.990322020346.31642C-100000@wookie.chirp.com.au>

Hi Nathan.

I don't think the problem lies in the SCSI-hostadapter; although
it's far from the fastest card around, a data-stream at 1,2Mb/s
(8x150kb/s) shouldn't pose a problem. Besides, a kernel panic
suggests a lockup of the SCSI-bus which is more likely to be 
caused by a misbehaving SCSI-device on the chain.
Have You doublechecked the termination on the bus?
If You have, this firmware-patch might to the trick:
http://homepages.tig.com.au/~cdysan/cw-7502/

Good luck, and all my hopes. ;-)
// Henrik J.

On Mon, 22 Mar 1999, Nathan Hand wrote:

> 
> I posted the following message to linux-kernel on the 12th. It has not
> had any response and I have more information that may be of help to an
> extra focussed group like linux-scsi.
> 
> I was previously using kernel 2.1.132 with the SONY 926S CDR using the
> AHA1505 controller. This combination was working great. Recently I got
> the MATSHITA CW7502 CDR and I'm using it on the same controller (and I
> moved the SONY burner to another machine).
> 
> I don't use CDs often either, so it wasn't until 2.2.3-ac1 that I just
> noticed that trying to copy a CD (using dd if=/dev/scd0 of=iso) caused
> a kernel panic, as in the information attached below. I have done more
> tests and verified the same fault with 2.2.3-ac4 and 2.1.132.
> 
> The SONY 926S is a 2x/6x burner, whereas the CW7502 is a 4x/8x. Is the
> new drive simply too fast for the controller? I believe the 1505 has a
> maximum limit of 3Mb/s, which should be more than enough. Is there any
> known problem with this CDR unit, or is the controller incompatible?
> 
> Please note that it seems that others have noted the same problem. Bug
> report #33800 on the Debian Bug Tracker appears to be the same problem
> though the recommended fix was to comment out the panic call :-/
> 
> The following information (just repeated from the original report sent
> to linux-kernel) contains lspci, the kernel panic, and the information
> provided when inserting the module. Any other info required?
> 
> --
> Nathan Hand - Chirp Web Design - http://www.chirp.com.au/ - $e^{i\pi}+1 = 0$
> Phone: +61 2 6230 1871   Fax: +61 2 6230 4455   E-mail: nathanh@chirp.com.au
> 
> ---------- Forwarded message ----------
> Date: Fri, 12 Mar 1999 18:25:17 +1100 (EST)
> From: Nathan Hand <nathanh@wookie.chirp.com.au>
> To: linux-kernel@vger.rutgers.edu
> Subject: Kernel Panic reading scsi-cdrom
> 
> 
> I'm having trouble with a scsi cd-rom on linux 2.2.3-ac1. I'll be trying
> linux 2.2.3 without the -ac1 patch later tonight to confirm the official
> kernel is at fault. The problem is known to also occur with 2.2.2-ac7: I
> can't precisely pinpoint which kernel started causing troubles though (a
> lot of hardware has moved into/outof this box recently).
> 
> The problem manifests itself as a kernel panic when running
> 
>    dd if=/dev/scd0 of=raw.iso
> 
> The kernel panic occurs quickly; within the first few megabytes.
> 
> The system requires a reset, though sysreq allows me to unmount and sync
> the disks first. The kernel panic log is written below. It was copied by
> hand onto paper, so I can't guarantee perfection, though some effort was
> made to avoid errors. Information from the aha152x modprobe and lspci is
> also given. The kernel was compiled with gcc-2.7.2.3.
> 
> I've repeated the error twice. The second produced an exact match of the
> kernel panic *except* the number 0xc0fdde00 became 0xc031be00. My system
> map doesn't have any symbols with addresses this high (my kernel symbols
> are all prefixed by 0xc01). The fault occurs with and without X, and I'm
> not using a soundcard or tuner card at the same time.
> 
> The scsi adapter is an ISA based Adaptec 1505, so there is no BIOS. I've
> checked interrupts and IO ports and I can't see a conflict.
> 
> The same hardware works fine under Windows 95 (temporarily installed for
> the purposes of proving the hardware wasn't broken or misconfigured).
> 
> 
> -- begin kernel panic --
> sr0: CD-ROM error: Current error sr0b:00: sense key Illegal Request
> Additional sense indicates Illegal mode for this track
> command was: Request Sense 00 00 00 10 00
> 
> aha152x: target left COMMAND
> QUEUE STATUS:
> issue_SC:
> current_SC:
> 0xc0fdde00: target=6; lun=0; cmnd=(Read (6) 00 02 91 08 00
> ); residual=2048; buffers=7; phase |send_ident|; in other(COMMAND); next=0x00000
> 000
> disconnected_SC:
> 
> on bus: SCSISEQ (); SCSISIG (STATUS); INTSTAT (hi); SSTAT (SELDO PHASEMIS PHASEC
> HG REQINIT ); SSTAT (PHASEMIS REGINIT ); SXFRCTL0 (CHI ); SIGNAL (BSYI REQI ); S
> ELID (c0), SSTAT2 (SEMPTY); SFCNT (0); SCSICNT (0), OFFCNT (0), SSTAT4 (); DMACN
> TRL0 (16BIT PIO READ ); DMASTAT (DFIFOEMP )
> enabled interrupts (ENPHASEMIS ENBUSFREE ENREQINIT )
> Kernel panic: aha152x panic
> In interrupt handler - not syncing
> -- end kernel panic --
> 
> -- begin lspci -vv --
> 00:00.0 Host bridge: Silicon Integrated Systems 5571
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
> 	Latency: 255 set
> 
> 00:01.0 ISA bridge: Silicon Integrated Systems 85C503 (rev 01)
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 0 set
> 
> 00:01.1 IDE interface: Silicon Integrated Systems 5513 (rev c0) (prog-if 8a)
> 	Subsystem: Unknown device 1204:60be
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 32 set
> 	Interrupt: pin A routed to IRQ 14
> 	Region 0: I/O ports at 01f0
> 	Region 1: I/O ports at 03f4
> 	Region 2: I/O ports at 0170
> 	Region 3: I/O ports at 0374
> 	Region 4: I/O ports at 4000
> 
> 00:01.2 USB Controller: Silicon Integrated Systems 7001 (rev b0) (prog-if 10)
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 32 set
> 	Interrupt: pin A routed to IRQ 12
> 	Region 0: Memory at e2004000 (32-bit, non-prefetchable)
> 	Region 1: I/O ports at 6000
> 
> 00:0d.0 Multimedia video controller: Brooktree Corporation Bt848 (rev 12)
> 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Latency: 16 min, 40 max, 32 set
> 	Interrupt: pin A routed to IRQ 10
> 	Region 0: Memory at e2005000 (32-bit, prefetchable)
> 
> 00:0e.0 Ethernet controller: Winbond Electronics Corp 89C940
> 	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Interrupt: pin A routed to IRQ 9
> 	Region 0: I/O ports at 6100
> 
> 00:0f.0 Multimedia video controller: 3Dfx Interactive, Inc. Voodoo (rev 02)
> 	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> 	Status: 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Region 0: Memory at e0000000 (32-bit, prefetchable)
> 
> 00:10.0 VGA compatible controller: Matrox Graphics, Inc. MGA 1064SG [Mystique] (rev 03)
> 	Subsystem: Unknown device 102b:0200
> 	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
> 	Status: 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> 	Interrupt: pin A routed to IRQ 0
> 	Region 0: Memory at e1000000 (32-bit, prefetchable)
> 	Region 1: Memory at e2000000 (32-bit, non-prefetchable)
> 	Region 2: Memory at e1800000 (32-bit, non-prefetchable)
> -- end lspci -vv --
> 
> 
> -- begin aha152x module --
> aha152x: BIOS test: passed, detected 1 controller(s)
> aha152x0: vital data: PORTBASE=0x340, IRQ=11, SCSI ID=7, reconnect=enabled, pari
> ty=enabled, synchronous=disabled, delay=100, extended translation=disabled
> aha152x: trying software interrupt, ok.
> scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $
> scsi : 1 host.
>  Vendor: MATSHITA  Model: CD-R   CW-7502    Rev: 4.17
>  Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
> sr0: scsi3-mmc drive: 8x/8x writer xa/form2 cdda tray
> -- end aha152x module --
> 
> 
> --
> Nathan Hand - Chirp Web Design - http://www.chirp.com.au/ - $e^{i\pi}+1 = 0$
> Phone: +61 2 6230 1871   Fax: +61 2 6230 4455   E-mail: nathanh@chirp.com.au
> 
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.rutgers.edu
> 


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post