[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.8 sees hard drive; 3.0 doesn't



On Mon, Mar 04, 2002 at 06:46:22PM -0500, Nick Holland wrote:

> Ben Goren wrote:
>
> > On one of them, none of the 3.0 install floppies recognize the
> > hard drive. On  the other, all  is fine. I've tried  all three
> > images  on  the  CD,  plus the  floppy30.fs  from  the  latest
> > snapshot and a  ``make release'' of -stable done  on the 28th;
> > if there's  a different result  among the five disks,  I can't
> > see it.
> >
> > Suggestions most welcome; dmesges below.
>
> I love dmesg's, thanks! 8-)

Have you seen any professionals about this?

> [. . .]  The one that is  not working is running  an old ST3290A
> (that would be a 250M IDE drive),  which is not a DMA drive (no,
> I don't have this memorized...
>
> Interestingly, I don't  think I've ever tried to put  a very old
> drive on a not-so-old computer,  so I'm not sure how wide-spread
> this problem would be...

See below; I might be able to  donate the drive to science if it'd
be worth fixing.

> If  you want  to  prove me  wrong (or  right),  swap the  drives
> between the machines,  the problem should follow  the drive, not
> the machine.

I was afraid you'd suggest that--I'm trying to minimize downtime.

I was able to scrounge another  drive, a 2 1/2 Gbyte ST32532A. The
installer sees it,  so my immediate problem  is solved. Heck, it's
big enough for an /altroot and then some!

So, I  haven't confirmed that  the old  drive has problems  in the
other computer, but I have confirmed that a different, newer drive
has no problem. Good enough diagnostics?

> I'm guessing  if you  were to disable  the pciide  driver (which
> forces  the system  to use  the older  non-DMA driver),  it will
> recognize the ST3290A drive.  This can be done by doing this: [.
> . .]

I think it half-worked. It found a wdc0 but never a wd0.

> Yeah,  disabling DMA  support hurts  performance, but  shouldn't
> have much [. . . .]

Frankly, if floppies weren't so amazingly unreliable (I've had two
brand new  ones go bad just  in this experimenting, and  I've only
needed  two  total (one  for  the  boot  floppy  and one  for  the
sneakernet)) then  I'd be booting  from a  floppy. Or a CD  if the
BIOS supported that. Why does OpenBSD have  to work so well on old
equipment? Lack of cash aside, I have no excuse to upgrade.

Anyway, assuming all goes well with the upgrade, I'll have the old
drive left over. Would anybody want it  to see if it could be made
to work? If not, it'll just go in the Frankenbin.

> Nick.

Thanks much,

b&

P.S. In  light of  a  recent post  of yours  (Nick),  will I  have
trouble with only 16 Mbytes  RAM? They'll be firewalls, of course;
one a bridge, the other with  IPs but no NAT. Nothing but pf, only
minimal logging. b&

P.P.S. The problem drive  came from a Compaq 486  that I installed
my  very first  firewall  on,  using a  brand-new  CD  of Red  Hat
4.1. Oh, the memories.... b&

----8<----3.0 install floppy, old drive, disable pciide*----8<----
OpenBSD 3.0 (RAMDISK) #77: Thu Oct 18 14:59:23 MDT 2001
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK
cpu0: F00F bug workaround installed
cpu0: Intel Pentium (P54C) ("GenuineIntel" 586-class) 133 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8
real mem  = 16367616 (15984K)
avail mem = 11722752 (11448K)
using 225 buffers containing 921600 bytes (900K) of memory
User Kernel Config
UKC> disable pciide*
 31 pciide* disabled
UKC> q8i\^H \^H\^H \^Huit
Continuing...
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 02/08/96, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.1
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI BIOS has 4 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB PCI-ISA" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82437FX" rev 0x02
"Intel 82371FB PCI-ISA" rev 0x02 at pci0 dev 7 function 0 not configured
"Intel 82371FB IDE" rev 0x02 at pci0 dev 7 function 1 not configured
dc0 at pci0 dev 12 function 0 "ADMtek AN983" rev 0x11: irq 12 address
00:03:6d:17:b0:b2
ukphy0 at dc0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000895, model 0x0001, rev. 0
dc1 at pci0 dev 13 function 0 "ADMtek AN983" rev 0x11: irq 15 address
00:03:6d:17:b0:bc
ukphy1 at dc1 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000895, model 0x0001, rev. 0
vga1 at pci0 dev 16 function 0 "S3 Trio32/64" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
wdc0 at isa0 port 0x1f0/8 irq 14
ep0 at isa0 port 0x300/16 irq 5: address 00:20:af:dc:c7:c7, utp (default utp)
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4040 netmask d060 ttymask d062
rd0: fixed, 3560 blocks
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
---->8----3.0 install floppy, old drive, disable pciide*---->8----

----8<----3.0 install floppy, new drive----8<----
OpenBSD 3.0 (RAMDISK) #77: Thu Oct 18 14:59:23 MDT 2001
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK
cpu0: F00F bug workaround installed
cpu0: Intel Pentium (P54C) ("GenuineIntel" 586-class) 133 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8
real mem  = 16367616 (15984K)
avail mem = 11722752 (11448K)
using 225 buffers containing 921600 bytes (900K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 02/08/96, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.1
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI BIOS has 4 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB PCI-ISA" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82437FX" rev 0x02
"Intel 82371FB PCI-ISA" rev 0x02 at pci0 dev 7 function 0 not configured
pciide0 at pci0 dev 7 function 1 "Intel 82371FB IDE" rev 0x02: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST32532A>
wd0: 16-sector PIO, LBA, 2439MB, 4956 cyl, 16 head, 63 sec, 4995648 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
dc0 at pci0 dev 12 function 0 "ADMtek AN983" rev 0x11: irq 12 address
00:03:6d:17:b0:b2
ukphy0 at dc0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000895, model 0x0001, rev. 0
dc1 at pci0 dev 13 function 0 "ADMtek AN983" rev 0x11: irq 15 address
00:03:6d:17:b0:bc
ukphy1 at dc1 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000895, model 0x0001, rev. 0
vga1 at pci0 dev 16 function 0 "S3 Trio32/64" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
ep0 at isa0 port 0x300/16 irq 5: address 00:20:af:dc:c7:c7, utp (default utp)
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4040 netmask d060 ttymask d062
rd0: fixed, 3560 blocks
wd0: no disk label
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
---->8----3.0 install floppy, new drive---->8----

--
Ben Goren
 mailto:ben@trumpetpower.com
 http://www.trumpetpower.com/
 icbm:33o25'37"N_111o57'32"W

[demime 0.98d removed an attachment of type application/pgp-signature]