I have been encountering a kernel panic in 2.2.14 that I believe is due to
a SCSI bug. I can useually make it crash by logging into X, as im running
GNOME the magicdev deamon starts and interrogates my SCSI CD-RW drive and
causes things to freak out. This only seems to work half the time, mind,
and I have uptimes ranging from 5 (login, boom) minutes to 13hrs
(although a good 5 of those hours were when the box was pretty much
unused). I find that logging into/out of X and generally attacking my CD
drive eventually causes something to happen though.
Also, on bootup I get some messages telling me about an unexpected IO-APIC
and that I should email linux-smp. Is this something I should really worry
about, and if so, could it be a factor in this crash?

The output of the crash is always along these lines:

(scsi0:-1:-1:-1) referenced SCB 0 not valid during SELTO
SCSI SEG = 0x5a SEQ ADDR =0x8 SSTAT = 0x10 SSTAT1 = 0x8a

(note: this bit fills the console until the kernel panic below happens.
Sometimes the kernel panic never happens and I merely have to reboot
because my system starts to grind to a halt and all my virtual terminals
are useless because they are filled with this.)

Unable to handle kernel NULL pointer dereference at virtual address
00000040
<insert lots of cpu registers and stacks etc, the Oops code was 0000 btw
so I presume that means there was no oops?>
Aiee, killing interrupt handler
Kernel panic: Attempting to kill the idle task
In swapper task - not syncing

Kernel version:
Linux version 2.2.14 ([EMAIL PROTECTED]) (gcc version
egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #4 SMP Thu Mar 2
08:05:25 GMT 2000

ver_linux:
-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux terri.jives.demon.co.uk 2.2.14 #4 SMP Thu Mar 2 08:05:25 GMT 2000
i686 unknown
Kernel modules         2.3.7
Gnu C                  egcs-2.91.66
Binutils               2.9.1.0.24
Linux C Library        2.1.2
Dynamic linker         ldd (GNU libc) 2.1.2
Procps                 2.0.4
Mount                  2.9u
Net-tools              1.53
Console-tools          1999.03.02
Sh-utils               2.0
Modules Loaded         emu10k1 sg sr_mod aic7xxx ide-cd cdrom soundcore
eeprom lm80 sensors i2c-i801 i2c-core nfs lockd sunrpc vfat
fat

/proc/cpuinfo:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 7
model name      : Pentium III (Katmai)
stepping        : 3
cpu MHz         : 533.089574
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
sep_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 3
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 pn mmx fxsr xmm
bogomips        : 532.48

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 7
model name      : Pentium III (Katmai)
stepping        : 3
cpu MHz         : 533.089574
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
sep_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 3
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 pn mmx fxsr xmm
bogomips        : 532.48

/proc/modules:
emu10k1                55588   1
sg                     12564   0 (autoclean)
sr_mod                 18168   1 (autoclean)
aic7xxx               112920   1
ide-cd                 23412   1 (autoclean)
cdrom                  13624   0 (autoclean) [sr_mod ide-cd]
soundcore               3012   4 (autoclean) [emu10k1]
eeprom                  2892   0 (unused)
lm80                    5324   0 (unused)
sensors                 5372   0 [eeprom lm80]
i2c-i801                3848   0 (unused)
i2c-core                9820   0 [eeprom lm80 sensors i2c-i801]
nfs                    28896   1 (autoclean)
lockd                  31656   0 (autoclean) [nfs]
sunrpc                 54276   1 (autoclean) [nfs lockd]
vfat                    9404   2 (autoclean)
fat                    31104   2 (autoclean) [vfat]

SCSI information (/proc/scsi/scsi):
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: YAMAHA   Model: CRW8424S         Rev: 1.0d
  Type:   CD-ROM                           ANSI SCSI revision: 02

Other notes:
I've noticed that for some reason this CD drive doesnt appear to want to
lock itself when I mount it, even though it does support tray locking.
I dont know if thats relavent, but I found it very disturbing as I
useually assume that if a drive isnt locked, it isnt mounted. My IDE DVD
drive locks itself with no problems.
Just in case its useful, here's /proc/scsi/aic7xxx/0

Adaptec AIC7xxx driver version: 5.1.21/3.2.4
Compile Options:
  TCQ Enabled By Default : Enabled
  AIC7XXX_PROC_STATS     : Enabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7892 Ultra 160/m SCSI host adapter
                           Ultra-160/m LVD/SE Wide Controller
    PCI MMAPed I/O Base: 0xfc8ff000
    PCI Bus 0x03 Device 0x20
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 32
                   SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 32, Page 255
             Interrupts: 26598
      BIOS Control Word: 0x58f4
   Adapter Control Word: 0x5c5e
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
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:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:3:0)
  Device using Narrow/Sync transfers at 20.0 MByte/sec, offset 15
  Transinfo settings: current(12/15/0/0), goal(9/127/0/2), user(9/127/1/2)
  Transinfo settings: current(12/15/0/0), goal(9/127/0/2), user(9/127/1/2)
  Total transfers 28 (28 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       9      14       0       0       5       0       0       0
  Writes:       0       0       0       0       0       0       0       0

--
nick
Any help appreciated....


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to