Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2001 08:48:32 -0600
From:      Duke Normandin <01031149@3web.net>
To:        Ed Alley <alley1@llnl.gov>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: CDROM on 2nd controller
Message-ID:  <20010804084831.A117969@mandy.rockingd.calgary.ab.ca>
In-Reply-To: <200108040812.f748C2Z12819@jordan.llnl.gov>; from "Ed Alley" on Sat, Aug 04, 2001 at 01:12:02AM
References:  <200108040812.f748C2Z12819@jordan.llnl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, Aug 04, 2001 at 01:12:02AM -0700, Ed Alley wrote:
> > From: Duke Normandin <01031149@3web.net>
> 
> > Got any ideas what the BIOS setup means when I set the "2nd controller
> > present" option, I have to choose between "none", "1" or "2". I'm not
> > sure if if means:
> 
> > a. there's a 2nd controller in slot 1 or slot 2
> 
> > b. there's 1 or 2 device(s) attached to the controller
> 
> > I've set it to "1", interpretting the question as "b" above. 
> 
> I can only answer you by telling you how my BIOS is setup.
> I have a large disk on the 1st controller set to LBA.
> The second controller is set to NONE! for both master and slave.
> However, I am running two ATAPI devices on that controller:
> a CDROM and a TAPE. The kernel finds them OK. You only enter
> things in BIOS for IDE disks on my computer.
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Maybe this is my problem. Maybe I should also use "none" for the
2nd controller. Here's the way my BIOS reads:

IDE Multi-sector Transfer				:auto
Primary IDE 32 bit Transfer				:disabled
Primary IDE Block Mode					:disabled
Primary IDE LBA Mode					:slave
Secondary IDE present					:1
	Secondary IDE 32 bit Transfer		:disabled
	Secondary IDE Block Mode			:disabled
	Secondary IDE LBA Mode				:slave

As you say, if the BIOS should *only* reflect the presence of IDE
devices, then the above is wrong for the 2nd controller, and that is
probably why the BIOS is choking at boot-up.

[snipped the good stuff]
 
> Maybe you should experiment around a little bit. Try choosing "none"
> in the entry for your 2nd controller, then make sure that your
> kernel supports ATAPI as above.

I'm still using the GENERIC kernel -- I know, I know! no guts, no glory!
;)

Here's the relevant portion of my '/var/run/dmesg.boot':

wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM LP240A GM240A01X>
wd0: 234MB (479349 sectors), 723 cyls, 13 heads, 51 S/T, 512 B/S
wdc0: unit 1 (wd1): <QUANTUM TRB850A>
wd1: 810MB (1660176 sectors), 1647 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <NEC                 CD-ROM DRIVE:252/3.18>,
removable, dma, iordy
acd0: drive speed 1031KB/sec, 128KB cache
acd0: supported read types: CD-DA
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable changer, unlocked
acd0: changer slot 0 disk present
acd1: changer slot 1 no disk
acd2: changer slot 2 no disk
acd3: changer slot 3 no disk

Here's the relevant portion of my '/usr/src/sys/i386/GENERIC':

# IDE controller and disks
options         "CMD640"        # work around CMD640 chip deficiency
controller      wdc0    at isa? port "IO_WD1" bio irq 14
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

# ATAPI devices
options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          acd0            #IDE CD-ROM
device          wfd0            #IDE Floppy (e.g. LS-120)

So... it appears that I've "pushed all the right buttons" - except for
one! ;) I hate trying to mount my CD changer again until I receive advise
as to how to handle a process that shows up with a "D" status in
'ps -ax', (i.e., a process that is uninterruptable) because I then can't
"shutdown -h now' cleanly.

Thanks for your time and input! L8r...
-- 
-duke
Calgary, Alberta, Canada


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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