I managed to misconfigure the 2.4.5 kernel and get repeatable kernel
panics and other odd behavior.  In particular, I was trying to setup
and use a CDRW drive and I added:

CONFIG_BLK_DEV_IDESCSI=m

to my .config file, but I forgot to remove

CONFIG_BLK_DEV_IDECD=m

As a result, I could write CDs, although apparanetly erroneously, with
no complaints.  However, when I tried to mount the newly written CD, I
would get the message:

hdb: irq timeout: status=0xd0 { Busy }          (3x)
hdb: ATAPI reset complete                       (3x)
hdb: drive not ready for command                (1x)

and:

scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 0, lun 0 Read 
(10) 00 00 00 00 10 00 00 01 00
scsi0 channel 0 : resetting for second half of retries.
SCSI bus is being reset for host 0 channel 0.
 I/O error: dev 0b:00, sector 64
isofs_read_super: bread failed, dev=0b:00, iso_blknum=16, block=32
scsi0 : channel 0 target 0 lun 0 request sense failed, performing reset.
SCSI bus is being reset for host 0 channel 0.

The last message repeated a number of times.  As you can see, it ATAPI
interface seems to have figured out that there was a problem, but the
SCSI seems to have hung (?).

Finally, I got a "kernel panic" with "Aiee in interrupt handler" and
"not syncing"

So I rebooted and tried again.  Since it was legitimate to switch
consoles a number of times, once it happened again I tried

(a)  unmounting other filesystems (umount -a, should have been more
specific, I think) in the hopes that I might cleanly unmount the file
systems.  This hung (the bad mount /scd0 hund something in the kernel
that locked umount -a?)

(b)  running ps, which failed this way:
Unable to handle kernel NULL pointer dereference at virtual address
00000004
 printing eip:
c012edf3
*pde = 00000000
Oops: 0002
<etc ...>

(c)  killing the umount -a process (by looking through /proc/*/cmdline
to figure out which one), which resulted in the following interesting
message:
kill -9 200
Unable to handle kernel paging request at virtual address 75f6d358
        printing eip
c0116fd8
*pde = 00000000
Oops: 0000
<etc ...>

In all these cases, there was very little running on this system at
the time of failure (thus the pid of 200).  I'm currently running
linux from scratch, with nothing else started at startup other than
its defaults at the present time.

Recompiling with CONFIG_BLK_DEV_IDECD not set appears to 100% solve
the problem.

I still have the poorly configured kernel available to run (as well as
the bad CDs) if there is interest in an experiment.  Please contact
[EMAIL PROTECTED] if needed.

Other system information:

output of ver_linux:
Linux marvin 2.4.5 #3 Sun Jun 10 18:50:13 MDT 2001 i586 unknown

Gnu C                  2.95.2.1
Gnu make               3.79.1
binutils               2.10.1
util-linux             2.11b
mount                  2.11b
modutils               2.4.5
e2fsprogs              1.19
PPP                    2.4.0b4
Linux C Library        2.2.1
Dynamic linker (ldd)   2.2.1
Procps                 2.0.7
Net-tools              1.59
Kbd                    1.04
Sh-utils               2.0
Modules Loaded         ppp_deflate bsd_comp ppp_async ppp_generic slhc
isofs sr_mod ide-scsi sg cdrom scsi_mod
      [ note: ide-cd was loaded during the "problem" times, but not
      during the initial part of the write ]

cat /proc/cpuinfo 
processor       : 0
vendor_id       : CyrixInstead
cpu family      : 5
model           : 4
model name      : 6x86L 2x Core/Bus Clock
stepping        : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : yes
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu de cx8 cyrix_arr
bogomips        : 133.12

cat /proc/modules 
ppp_deflate            39584   1 (autoclean)
bsd_comp                4176   0 (autoclean)
ppp_async               6224   1 (autoclean)
ppp_generic            13168   3 (autoclean) [ppp_deflate bsd_comp
ppp_async]
slhc                    4768   1 (autoclean) [ppp_generic]
isofs                  17584   0 (autoclean)
sr_mod                 13280   0
ide-scsi                7760   0
sg                     20912   0
cdrom                  27200   0 [sr_mod]
scsi_mod               81360   3 [sr_mod ide-scsi sg]

cat /proc/ioports 
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
f000-f00f : Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]

cat /proc/iomem 
00000000-0009ffff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-047fffff : System RAM
  00100000-001d7ba9 : Kernel code
  001d7baa-002245b7 : Kernel data
10000000-13ffffff : S3 Inc. 86c968 [Vision 968 VRAM] rev 0
ffff0000-ffffffff : reserved

I don't appear to have lspci
cat /proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: HP       Model: CD-Writer+ 7200  Rev: 3.01
  Type:   CD-ROM                           ANSI SCSI revision: 02

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

Reply via email to