Problem with APA-1480 (wrong major or minor..

2001-02-04
2001-02-04
  • George Hartzell

    George Hartzell - 2001-02-04

    I'm having trouble mounting a cd on my new Yamaha
    CRW2100SZ on an adaptec 1480 slimscsi card.

    I'm using a DELL Inspiron 3700, Redhat 6.2,
    kernel 2.2.17, pcmcia 3.1.22.  I have a number
    of ethernet cards and a wireless lucent card working fine.

    My /etc/pcmcia/config file says (in part)
    device "apa1480_cb"
      class "scsi" module "cb_enabler",   "scsi/scsi_mod", "scsi/sr_mod", "apa1480_cb"

    When I insert the card, I see:
    Feb  3 22:24:45 rosebud kernel: cs: cb_alloc(bus 32): vendor 0x9004, device 0x6075
    Feb  3 22:24:45 rosebud cardmgr[572]: initializing socket 0
    Feb  3 22:24:45 rosebud cardmgr[572]: socket 0: Adaptec APA-1480 SCSI Host Adapter
    Feb  3 22:24:45 rosebud cardmgr[572]: executing: 'modprobe cb_enabler'
    Feb  3 22:24:45 rosebud cardmgr[572]: executing: 'modprobe scsi_mod'
    Feb  3 22:24:45 rosebud cardmgr[572]: + modprobe: Can't locate module scsi_mod
    Feb  3 22:24:45 rosebud cardmgr[572]: modprobe exited with status 255
    Feb  3 22:24:45 rosebud cardmgr[572]: module /lib/modules/2.2.17/scsi/scsi_mod.o not available
    Feb  3 22:24:45 rosebud cardmgr[572]: executing: 'modprobe sr_mod'
    Feb  3 22:24:45 rosebud cardmgr[572]: executing: 'modprobe apa1480_cb'
    Feb  3 22:24:45 rosebud kernel: cs: cb_config(bus 32)
    Feb  3 22:24:45 rosebud kernel:   fn 0 bar 1: io 0xa00-0xaff
    Feb  3 22:24:45 rosebud kernel:   fn 0 bar 2: mem 0xa0030000-0xa0030fff
    Feb  3 22:24:45 rosebud kernel:   fn 0 rom: mem 0xa0020000-0xa002ffff
    Feb  3 22:24:45 rosebud kernel:   irq 11
    Feb  3 22:24:45 rosebud kernel: apa1480_attach(device 20:00.0)
    Feb  3 22:24:45 rosebud kernel: aic7xxx: <Adaptec PCMCIA SCSI controller> at PCI 32/0/0
    Feb  3 22:24:45 rosebud kernel: aic7xxx: MMAPed I/O failed, reverting to Programmed I/O.
    Feb  3 22:24:45 rosebud kernel: (scsi0) <Adaptec PCMCIA SCSI controller> found at PCI 32/0/0
    Feb  3 22:24:45 rosebud kernel: (scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
    Feb  3 22:24:45 rosebud kernel: (scsi0) Downloading sequencer code... 422 instructions downloaded
    Feb  3 22:24:45 rosebud kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.31/3.2.4
    Feb  3 22:24:45 rosebud kernel:        <Adaptec PCMCIA SCSI controller>
    Feb  3 22:24:45 rosebud kernel: scsi : 1 host.
    Feb  3 22:24:50 rosebud kernel: (scsi0:0:3:0) Synchronous at 20.0 Mbyte/sec, offset 7.
    Feb  3 22:24:50 rosebud kernel:   Vendor: YAMAHA    Model: CRW2100S          Rev: 1.0H
    Feb  3 22:24:50 rosebud kernel:   Type:   CD-ROM                             ANSI SCSI revision: 02
    Feb  3 22:24:50 rosebud kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
    Feb  3 22:24:50 rosebud kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
    Feb  3 22:24:51 rosebud kernel: sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
    Feb  3 22:24:51 rosebud kernel: sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
    Feb  3 22:24:57 rosebud cardmgr[572]: executing: './scsi start scd0'

    scsi_info says: (hartzell@rosebud)[10:25pm]pcmcia>>sudo scsi_info /dev/scd0
    SCSI_ID="0,3,0"
    MODEL="YAMAHA CRW2100S"
    FW_REV="1.0H"

    When I try to mount a cd (the freebsd 4.1 first cd, heresy, I know...) I get:

    (hartzell@rosebud)[10:26pm]pcmcia>>sudo mount -v -t iso9660 /dev/scd0 /mnt/cdrom2
    mount: /dev/scd0 has wrong major or minor number

    The device info is:

    brw-rw----    1 root     disk      11,   0 May  5  1998 /dev/scd0

    If (for grins) I do a cat /dev/scd0 > /dev/null
    it spins up and moves data (piping it into less shows me that its reading real disk data).

    The system also has a cd at hdc whihc works fine

    Help?

    g.

     
    • George Hartzell

      George Hartzell - 2001-02-04

      Ok, I have it fixed!

      After posting, I double checked that my other
      CD was still working, and it generated the same
      error.  I'd been a bit sloppy about rebuilding
      my kernel and the pcmcia modules.  The likely
      culprit was loading the iso9660 feature as a
      module, but I ended up turning enough nobs that
      I might have been multiply confused.

      g.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks