2.1.82: problems with SCSI CDROM when using modules

Trevor Johnson (trevor@jpj.net)
Fri, 30 Jan 1998 07:24:40 -0500 (EST)


I configured 2.1.82 with

CONFIG_SCSI=y
# CONFIG_BLK_DEV_SD is not set
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=m
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_AHA1542=y

and no other low-level drivers. At boot time the aha1542 driver says:

Configuring Adaptec (SCSI-ID 7) at IO:234, IRQ 10, DMA priority 7
scsi0 : Adaptec 1542
scsi : 1 host.
Vendor: NEC Model: CD-ROM DRIVE:463 Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02
Vendor: NEC Model: CD-ROM DRIVE:463 Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02
Vendor: NEC Model: CD-ROM DRIVE:463 Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02
Vendor: NEC Model: CD-ROM DRIVE:463 Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02
Vendor: ARCHIVE Model: Python 25501-XXX Rev: 2.96
Type: Sequential-Access ANSI SCSI revision: 02
scsi : detected total.

I did:

# modprobe cdrom; modprobe scsi_mod; modprobe sr_mod

to load the needed modules. However, I get this error message:

# mount -t iso9660 /dev/sr0 /cdrom
mount: the kernel does not recognize /dev/sr0 as a block device
(maybe `insmod driver'?)

The system works well with 2.1.72. Ideally, I would like to have the
AHA-1542 driver as a module too, but I get the message "Device or resource
busy" when trying to load it. I'm using a Tekram DC-300B host adaptor.

/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
0234-0237 : aha1542
0278-027a : parport1
02f8-02ff : serial(auto)
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
6000-6007 : ide0
6008-600f : ide1
6200-621f : NE2000

/proc/interrupts
CPU0
0: 1036126 XT PIC timer
1: 22508 XT PIC keyboard
2: 0 XT PIC cascade
3: 108061 XT PIC serial
4: 13844 XT PIC serial
10: 13 XT PIC aha1542
11: 11505 XT PIC NE2000
13: 1 XT PIC fpu
14: 9970 XT PIC ide0
15: 71729 XT PIC ide1
NMI: 0

/proc/dma
4: cascade
7: aha1542
___
Trevor Johnson