Hi!

I just noticed an oops in my log file. On my SCSI host-adapter
(currently driven with the AMC driver) I saw the following oops
in the log file (ksymoops'd):

Feb 20 08:40:45 linux kernel: Unable to handle kernel paging request at virtual 
address 5a5a5a9e
Feb 20 08:40:45 linux kernel: c01674a3
Feb 20 08:40:45 linux kernel: *pde = 00000000
Feb 20 08:40:45 linux kernel: Oops: 0000
Feb 20 08:40:45 linux kernel: CPU:    0
Feb 20 08:40:45 linux kernel: EIP:    0010:[scan_dir_for_removable+19/64]    Tainted: 
P 
Feb 20 08:40:45 linux kernel: EIP:    0010:[<c01674a3>]    Tainted: P 
Using defaults from ksymoops -t elf32-i386 -a i386
Feb 20 08:40:45 linux kernel: EFLAGS: 00010206
Feb 20 08:40:45 linux kernel: eax: d9d98834   ebx: 5a5a5a5a   ecx: d9d98834   edx: 
d9d98834
Feb 20 08:40:45 linux kernel: esi: de961814   edi: de9ed3ac   ebp: d5abd704   es
p: d6535f18
Feb 20 08:40:45 linux kernel: ds: 0018   es: 0018   ss: 0018
Feb 20 08:40:45 linux kernel: Process msec_find (pid: 12483, stackpage=d6535000)
Feb 20 08:40:45 linux kernel: Stack: de961814 c0167974 de9ed3ac c022e960 00000000 
de961814 de961894 de961880 
Feb 20 08:40:45 linux kernel:        d5abd704 c014bede d5abd704 d6535f90 c014c4a0 
d5abd704 fffffff7 0000000d 
Feb 20 08:40:45 linux kernel:        bfffeb28 c014c6ad d5abd704 c014c4a0 d6535f90 
c013be63 dffef368 dea2deb0 
Feb 20 08:40:45 linux kernel: Call Trace: [devfs_readdir+100/432] [vfs_readdir+94/128] 
[filldir64+0/432] [sys_getdents64+93/197] [filldir64+0/432] 
Feb 20 08:40:45 linux kernel: Call Trace: [<c0167974>] [<c014bede>] [<c014c4a0>]
 [<c014c6ad>] [<c014c4a0>] 
Feb 20 08:40:45 linux kernel:    [<c013be63>] [<c013bfd2>] [<c014b798>] [<c0106fb3>] 
Feb 20 08:40:45 linux kernel: Code: 66 8b 43 44 25 00 f0 00 00 66 3d 00 60 75 0d f6 43 
10 04 74 

>>EIP; c01674a3 <scan_dir_for_removable+13/40>   <=====
Trace; c0167974 <devfs_readdir+64/1b0>
Trace; c014bede <vfs_readdir+5e/80>
Trace; c014c4a0 <filldir64+0/1b0>
Trace; c014c6ad <sys_getdents64+5d/c5>
Trace; c014c4a0 <filldir64+0/1b0>
Trace; c013be63 <sys_fchdir+63/1e0>
Trace; c013bfd2 <sys_fchdir+1d2/1e0>
Trace; c014b798 <sys_fcntl64+98/a0>
Trace; c0106fb3 <system_call+33/40>
Code;  c01674a3 <scan_dir_for_removable+13/40>
00000000 <_EIP>:
Code;  c01674a3 <scan_dir_for_removable+13/40>   <=====
   0:   66 8b 43 44               mov    0x44(%ebx),%ax   <=====
Code;  c01674a7 <scan_dir_for_removable+17/40>
   4:   25 00 f0 00 00            and    $0xf000,%eax
Code;  c01674ac <scan_dir_for_removable+1c/40>
   9:   66 3d 00 60               cmp    $0x6000,%ax
Code;  c01674b0 <scan_dir_for_removable+20/40>
   d:   75 0d                     jne    1c <_EIP+0x1c> c01674bf 
<scan_dir_for_removable+2f/40>
Code;  c01674b2 <scan_dir_for_removable+22/40>
   f:   f6 43 10 04               testb  $0x4,0x10(%ebx)
Code;  c01674b6 <scan_dir_for_removable+26/40>
  13:   74 00                     je     15 <_EIP+0x15> c01674b8 
<scan_dir_for_removable+28/40>


74 warnings issued.  Results may not be reliable.
(I did not include the warnings, mainly mismatch symbols)

I did not do anything to my SCSI device (I only have a TEAC CD-ROM
drive with no CD-ROM in it when the oops happened)

I have three scsi-related entries in my fstab, one comes from my
USB Travel Flash 4-in-one PQI Compact Flash/Smartmedia etc. Reader
which was not connected at that time, scd1 is my IDE-Burner.

/dev/scd1 /mnt/cdrom auto user,iocharset=iso8859-15,exec,codepage=850,ro,noauto 
0 0
/dev/scd0 /mnt/cdrom2 auto user,iocharset=iso8859-15,exec,codepage=850,ro,noauto
 0 0
/dev/sda1 /mnt/usbstorage vfat iocharset=iso8859-15,codepage=850,noauto 0 0

Some dmesg outputs:

scsi0 : AM53/79C974 PCscsi driver rev. 0.5; host I/O address: 0xd000; irq: 5

  Vendor: TEAC      Model: CD-ROM CD-532S    Rev: 1.0A
  Type:   CD-ROM                             ANSI SCSI revision: 02

scsi1 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: IOMEGA    Model: ZIP 100           Rev: 13.A
  Type:   Direct-Access                      ANSI SCSI revision: 00
  Vendor: CREATIVE  Model: CD-RW RW1210E     Rev: LCS6
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
sda : READ CAPACITY failed.
sda : status = 0, message = 00, host = 0, driver = 28 
Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.  
 /dev/scsi/host1/bus0/target0/lun0: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
 unable to read partition table
loop: loaded (max 8 devices)
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 11x/0x caddy
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray

sda : READ CAPACITY failed.
sda : status = 0, message = 00, host = 0, driver = 28 
Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.  
 /dev/scsi/host1/bus0/target0/lun0: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
 unable to read partition table

Really, I don't understand why the kernel always tries to read
sda... (the READ messages are repeated in dmesg until the oops)

Regards,

Reinhard
-- 
Software-Engineer, Developer for Embedded Devices
Project: Pertergrin, a role playing game system
GnuPG Public Key available on request

Attachment: msg55738/pgp00000.pgp
Description: PGP signature

Reply via email to