Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 1995 23:11:32 -0500
From:      Jon Loeliger <jdl@chrome.onramp.net>
To:        vak@cronyx.ru
Cc:        freebsd-current@freebsd.org
Subject:   Success with the ATAPI NEC-260 CDROM!
Message-ID:  <199509110411.XAA06549@chrome.onramp.net>
In-Reply-To: Your message of "Tue, 05 Sep 1995 20:48:49 %2B0400." <AAnz7JmSH0@crox.net.kiae.su> 

next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, vak@cronyx.ru scribbled:

> Great!
> 
> Now it should work.  Here is the (final?) patch.
> 
> Serge

Serge,

Thanks for waiting.  I'm finally home again, and I've been able
to test your latest patch.  It is definitely *much* better now!

wd0: probe started
wd0: checking RW register on port 0x1f0 + 0x4
wd0: reseting
wd0: diagnosing
wd0: Error : 0x1
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <WDC AC31000H>
wd0: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S
atapi0.1 at 0x1f0: attach called
atapi.1 at 0x1f0: identify not ready, status=1<check>
wd1: probe started
wd1: checking RW register on port 0x170 + 0x4
wd1: reseting
wd1: diagnosing
wd0: Error : 0x1
wdc1 at 0x170-0x177 irq 15 on isa
atapi1.0 at 0x170: attach called
wdc1: unit 0 (atapi): <NEC                 CD-ROM DRIVE:260>, removable, iordy
wcd0: info 80-85-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-20-20-20-20-20-20-20-20-20-20-20-20-20-20-20-20-20-20-20-20-0-0-0-0-0-0-34-2e-32-33-20-20-20-20-4e-45-43-20-20-20-20-20-20-20-20-20-20-20-20-20-20-20-20-20-43-44-2d-52-4f-4d-20-44-52-49-56-45-3a-32-36-30-0-0-0-0-0-0-0-0-0-a-0-0-0-3-0-0-3-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-b4-0-b4-0-0-0-0-0-0-0-0-0-0
atapi1.0: req im 5a-0-2a-0-0-0-0-0-18-0-0-0-0-0-0-0 len=24
atapi1.0: start
atapi1.0: send cmd 5a-0-2a-0-0-0-0-0-18-0-0-0-0-0-0-0
atapi1.0: intr ireason=0x3, len=24, status=41<ready,check>, error=64<abort>
atapi1.0: phase complete
wcd1: result of mode sense is code=100, error=0xf01df474
atapi1.0: req im 5a-0-2a-0-0-0-0-0-18-0-0-0-0-0-0-0 len=24
atapi1.0: start
atapi1.0: send cmd 5a-0-2a-0-0-0-0-0-18-0-0-0-0-0-0-0
atapi1.0: intr ireason=0x2, len=24, status=48<ready,drq>, error=0
atapi1.0: phase data in
atapi1.0: intr ireason=0x3, len=24, status=40<ready>, error=0
atapi1.0: phase complete
wcd0: result of second mode sense is code=0, error=0xf01df474
wcd0: 344Kb/sec, 256Kb cache, audio play, 256 volume levels, ejectable tray
wcd0: medium type unknown, unlocked
wcd0: cap 0-16-0-0-0-0-0-0-2a-e-0-0-71-65-29-3-61-1-0-1-0-1-61-1
atapi1.1 at 0x170: attach called
atapi.1 at 0x170: no device


An "lsdev" shows:

    wdc0       Unknown         ST506/ESDI/IDE disk controller
    wd0        Unknown         ST506/ESDI/IDE disk
    wdc1       Unknown         ST506/ESDI/IDE disk controller
    wcd0       Idle            ATAPI compact disc: NEC            CD-ROM DRIVE:

Which is *really* nice!

I've done a MAKEDEV to get:

    zinc: {158} ll wcd*
brw-r-----  1 root  operator   19,   0 Aug 23 12:23 wcd0c

I then:
    zinc: {160} mount -t cd9660 /dev/wcd0c /cdrom

zinc: {161} ls /cdrom
00_index.txt    catscan         ddeml.dll       msajt110.dll    splash3.bmp
beerhelp.hlp    catscans        fullpic         setup.exe       threed.vbx
beerpicl        cmdialog.vbx    gloss.hlp       setup.lst       vbdb300.dll
beerpics        commdlg.dll     homebrew.exe    setup1.ex_      vbrun300.dll
beertxt         ctl3d.dll       labels          setupkit.dl_    ver.dl_
brewing2.mdb    ddeml.dl_       msaes110.dll    setupkit.dll    ver.dll

Success!  The Walnut Creek Beer Homebrewing Guide CD!
I looked at a few files in here and the data appears to be good too.

This is most excellent!  Hey Serge, Thanks!  This last patch did it!

jdl


PS- Hmmm...  It looks like something has corrupted *some* of the files
    on my disk, though.  Those homebrew.exe's just aren't running on
    my FreeBSD system...  Anyone have any ideas?

PPS- Don't make me put a smiley in there...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509110411.XAA06549>