Tahiti_Man
Group: Members
Posts: 6
Joined: Dec. 2004 |
|
Posted: Dec. 13 2004,17:31 |
|
Thx for the tip, but nope - didn't help.
Here are some more clues... The most correct sounding explanation of what's happening so far: http://sg.torque.net/scsi/SCSI-2.4-HOWTO.html#sr
"The sr driver is capable of recognizing 256 CDROM/DVD drives when it is loaded at kernel boot time or later as a module. However, once it is loaded, it will only recognize a fixed number of additional drives. The number of additional drives that can be accommodated is set by the kernel configuration parameter CONFIG_SR_EXTRA_DEVS whose default value is 2. "
So far, all that I can think of is 1) trying to know when sr module is loaded, and trying to get the aha driver loaded before that, or get sr to load later
or
2) Trying to figure out how to build my own kernel with something other than 2 for the max number of sr devices
From dmesg or modprobe when modprobed: aha152x: BIOS test: passed, detected 1 controller(s) aha152x: resetting bus... aha152x2: vital data: rev=1, io=0x340 (0x340/0x340), irq=11, scsiid=7, reconnect=enabl ed, parity=enabled, synchronous=disabled, delay=1000, extended translation=disabled aha152x2: trying software interrupt, ok. scsi2 : Adaptec 152x SCSI driver; $Revision: 2.5 $
From dmesg or running modprobe manually: Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Vendor: NAKAMICH Model: M Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 J-4.8S Rev: 1.04 ...
From /proc/scsi/scsi - there is another scsi card internal - first two items are from that: root@box:/etc# more /proc/scsi/scsi Attached devices: Host: scsi1 Channel: 00 Id: 01 Lun: 00 Vendor: DEC Model: RZ25L © DEC Rev: 0007 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 02 Lun: 00 Vendor: SONY Model: CD-ROM CDU-55S Rev: 1.0f Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 00 Lun: 01 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 00 Lun: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 00 Lun: 03 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 01 Lun: 00 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 01 Lun: 01 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 01 Lun: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 01 Lun: 03 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 02 Lun: 00 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 02 Lun: 01 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 02 Lun: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 02 Lun: 03 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 03 Lun: 00 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 03 Lun: 01 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 03 Lun: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 03 Lun: 03 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 04 Lun: 00 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 04 Lun: 01 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 04 Lun: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 04 Lun: 03 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 05 Lun: 00 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 05 Lun: 01 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 05 Lun: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 05 Lun: 03 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 06 Lun: 00 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 06 Lun: 01 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 06 Lun: 02 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 06 Lun: 03 Vendor: NAKAMICH Model: MJ-4.8S Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02
From manual calls to mount: ie. mounting /dev/sr1 to /mnt/nakcd1 root@box:/etc# mount /dev/sr1 mount: block device /dev/sr1 is write-protected, mounting read-only root@box:/etc# mount /dev/sr2 mount: block device /dev/sr2 is write-protected, mounting read-only mount /dev/root@box:/etc# mount /dev/sr3 mount: /dev/sr3: unknown device root@box:/etc#
again, thx for any help..
cheers -Mike
|