lkml.org 
[lkml]   [1999]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectBug-Report: Unable to mount SCSI-CD-ROM with driver build as mod
hello,
since I'm not sure to whom I have to send this I send it to you -hope, its
o.k.

1. Short desc.: Unable to mount CD-ROM in SCSI-CD-ROM-drive with driver build
as a module. Error message says some modules are missing.

2. Full report: As I wanted to mount a CD-ROM in a CD-ROM-drive on second SCSI
BUS the following message appears:
mount: the kernel does not recognize /dev/scd0 as a block device
(maybe `insmod driver'?)
A view to the modules list with lsmod shows the following:
Module Size Used by
sr_mod 15836 0 (autoclean) (unused)
cdrom 11996 0 (autoclean) [sr_mod]
scsi_mod 53124 1 (autoclean) [sr_mod]
isofs 16844 0 (autoclean) (unused)
serial 41928 1 (autoclean)
memstat 1352 0 (unused)
nls_iso8859-1 2024 2 (autoclean)
vfat 11144 2 (autoclean)
nls_cp437 3548 10 (autoclean)
msdos 7532 8 (autoclean)
fat 23772 10 (autoclean) [vfat msdos]
This looks correct so the error message became strange. Since syslog messages
are redirected to a file and to tty9 I was able to see the following:
Apr 25 19:49:04 ERININ kernel: ncr53c8xx: IO region 0xdc00 to 0xdc7f is in use
Apr 25 19:49:04 ERININ kernel: ncr53c8xx: IO region 0xd800 to 0xd87f is in use
Apr 25 19:49:04 ERININ kernel: scsi : 0 hosts. Apr 25 19:49:04 ERININ insmod:
/lib/modules/2.2.3/scsi/ncr53c8xx.o: init_module: Device or resource busy
This is a correct reaction since the ncr53c8xx driver is inserted into the
kernel due to boot action is done from SCSI HDD. Only CD and Generic support
are build as modules.

3. Key words: modules , CD-ROM , SCSI , ncr53c8xx , mount

4. Linux version 2.2.3 (gcc version 2.7.2.3)

5. No Oops

6. Scripts: No scripts only mount, a particular kernel and a particular
hardware is needed

7. AMD K6-2/350 CPU on Tyan Trinity AT 100 MB with 64 MB RAM


7.1.

7.2. Processor Infos: File cpuinfo from /proc:
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 12
cpu MHz : 350.804049
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep pge mmx 3dnow
bogomips : 699.60

7.3. see above

7.4. SCSI Infos: not aviable due to additional fault. Contents of
/proc/scsi-dir:
total 0
dr-xr-xr-x 2 admin root 0 Apr 25 23:42 .
dr-xr-xr-x 49 admin root 0 Apr 25 16:42 ..
-rw-r--r-- 1 admin root 0 Apr 25 23:42 scsi
-rw-r--r-- 1 admin root 0 Apr 25 23:42 scsi
cat of scsi results with the following:
Attached devices: none
Correct SCSI configuration:
<6>ncr53c8xx: at PCI bus 0, device 9, function 0
<6>ncr53c8xx: 53c810a detected
<6>ncr53c8xx: at PCI bus 0, device 8, function 0
<6>ncr53c8xx: 53c815 detected
<6>ncr53c810a-0: rev=0x12, base=0xe4401000, io_port=0xdc00, irq=11
<6>ncr53c810a-0: ID 7, Fast-10, Parity Checking
<6>ncr53c810a-0: restart (scsi reset).
<6>ncr53c815-1: rev=0x04, base=0xe4400000, io_port=0xd800, irq=15
<6>ncr53c815-1: ID 7, Fast-10, Parity Checking
<6>ncr53c815-1: restart (scsi reset).
<4>scsi0 : ncr53c8xx - revision 3.1h
<4>scsi1 : ncr53c8xx - revision 3.1h
<4>scsi : 2 hosts.
<4> Vendor: IBM Model: DCAS-34330 Rev: S65A
<4> Type: Direct-Access ANSI SCSI revision: 02
<4>Detected scsi disk sda at scsi0, channel 0, id 1, lun 0
<6>ncr53c810a-0-<2,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
<4> Vendor: Model: DFRSS2F Rev: 4B4B
<4> Type: Direct-Access ANSI SCSI revision: 02
<4>Detected scsi disk sdb at scsi0, channel 0, id 2, lun 0
<6>ncr53c810a-0-<3,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
<4> Vendor: IBM OEM Model: 0662S12 Rev: 2 23
<4> Type: Direct-Access ANSI SCSI revision: 02
<4>Detected scsi disk sdc at scsi0, channel 0, id 3, lun 0
<6>ncr53c810a-0-<1,0>: tagged command queue depth set to 16
<6>ncr53c810a-0-<2,0>: tagged command queue depth set to 16
<6>ncr53c810a-0-<3,0>: tagged command queue depth set to 16
<4> Vendor: NOMAI Model: MCD 750I Rev: 2.22
<4> Type: Direct-Access ANSI SCSI revision: 02
<4>Detected scsi removable disk sdd at scsi1, channel 0, id 1, lun 0
<4> Vendor: NEC Model: CD-ROM DRIVE:222 Rev: 3.1k
<4> Type: CD-ROM ANSI SCSI revision: 02
<4> Vendor: PHILIPS Model: CDD2600 Rev: 1.07
<4> Type: CD-ROM ANSI SCSI revision: 02
<4>scsi : detected 4 SCSI disks total.
<6>ncr53c810a-0-<1,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
<4>SCSI device sda: hdwr sector= 512 bytes. Sectors= 8467200 [4134 MB] [4.1 GB]
<4>SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4404489 [2150 MB] [2.2 GB]
<4>SCSI device sdc: hdwr sector= 512 bytes. Sectors= 2055035 [1003 MB] [1.0 GB]
<6>ncr53c815-1-<1,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8) <4>sdd : READ
CAPACITY failed.
<4>sdd : status = 1, message = 00, host = 0, driver = 28
<4>sdd : extended sense code = 2
<4>sdd : block size assumed to be 512 bytes, disk size 1GB.

7.5.

X. Nothing at all.

Appendix: The kernel tries to load a driver allready incorporated in the
kernel and fails. That's this error loke like. That could be caused by errors
in sources but allready in scripts too. So I'm not able to determine who is
responsible to debug this error.

greetings
Manfred Preussig

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.031 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site