isp driver not 64 bit?

freebsd-list_at_dclg.ca
Date: 11/30/04

  • Next message: Matt Emmerton: "Re: isp driver not 64 bit?"
    Date: Mon, 29 Nov 2004 20:05:39 -0500
    To: freebsd-amd64@freebsd.org, freebsd-hackers@freebsd.org
    
    

    After a bunch of frustrating debugging, I've tenatively come to the
    conclusion that the isp(4) driver is not 64 bit safe --- at the very
    least insofar as the amd64 platform is concerned.

    The test setup was a quad opteron 248 system connected via two isp
    2340 cards to switches which interconnect to an EMC^2 disk array.
    I've made a couple of interim posts on this subject.

    The message from scsi_da.c indicates the correct probe is received
    from the disk. In the test, it was a 131 gig disk of 512 byte
    sectors. However, by the time we get to cam_calc_geometry() in
    cam.c, the structure is corrupt --- containing bad values for both
    volume_size and sector_size.

    The data is bogus enough at this point, that it can't be repaired
    ... and I gave up on the "quick fix" effort. Origionally, it
    manifested as a divide by zero error (the block size was so huge, it
    brought the denominator in the first few lines to zero). But both the
    block_size and the volume_size are bogus making efforts by geom to
    taste the last sector fail.

    The isp driver is quite complex. I havn't encountered much of the
    SCSI or CAM stack before. It would seem a brief overview of where
    things go from the momment when scsi_da prints out the correct size to
    the point at which cam_calc_geometry() receives corrupt data would
    help greately.

    Our hardware vendor is going to try to obtain test hardware for the
    LSI logic HBA and an Adaptec HBA --- so we can test them. The test
    machine remains somewhat available, but it looks like the production
    machines will be linux (unless I can solve this problem this week).

    Dave.

    -- 
    ============================================================================
    |David Gilbert, Independent Contractor.       | Two things can only be     |
    |Mail:       dave@daveg.ca                    |  equal if and only if they |
    |http://daveg.ca                              |   are precisely opposite.  |
    =========================================================GLO================
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Matt Emmerton: "Re: isp driver not 64 bit?"

    Relevant Pages

    • Re: 2.6.23-rc4-mm1 OOPS in forcedeth?
      ... # Generic Driver Options ... # PCI IDE chipsets support ... # SCSI support type (disk, tape, CD-ROM) ...
      (Linux-Kernel)
    • Re: 0x0000007B
      ... If Windows XP Pro cannot install, then you will not get very far with XPe. ... Next I augmented my USB boot with every file system I could find, ... "Windows could not start because of a computer disk hardware configuration ... > Warning:Could not find a driver for Video Controller ...
      (microsoft.public.windowsxp.embedded)
    • Re: RAMDisk and harddisk - Revisited
      ... but your constatation that driver load fails is not accurate in some amount based on info you gave us. ... Only if it is a cloned disk they can have same diskid, but this would be completely different error. ... the ATA Flash Disk was detectable and mountable from RAMDisk image as described. ... e.g. IDE ATA Flash or IDE hard drives. ...
      (microsoft.public.windowsxp.embedded)
    • Re: SCO OS 5.0.7 on Qemu
      ... The OSR5 "wd" IDE driver has code in it to ... > controller used in PC/AT class machines), ... > the kernel to look for a SCSI disk on a "wd" HBA. ... Possible UDMA timing mismatch, ...
      (comp.unix.sco.misc)
    • Re: Seagate Barracuda 160 GB IDE becomes corrupted. RMA?
      ... Driver Description ST3120026A ... Disk Device Physical Info: ... Partition Partition Type Drive Start Offset Partition ... You havent ENABLED 48 bit LBS support in the registry. ...
      (comp.sys.ibm.pc.hardware.storage)