Subject: Re: OptiPlex 745 problems
To: Ray Phillips <r.phillips@jkmrc.com>
From: Daniel Carosone <dan@geek.com.au>
List: port-i386
Date: 07/05/2007 14:09:09
--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 05, 2007 at 10:12:46AM +1000, Ray Phillips wrote:
>  I've tried to install NetBSD/i386 on a Dell OptiPlex 745 using an=20
>  installation CD made from -current sources CVS updated on 21 June 2007.

I've been running one with a pretty heavy and constant workload for
several months now without any problems, once I got past some of these
same initial stages.

>  The first problem I encountered was the USB keyboard didn't work so I=20
>  couldn't get beyond sysinst's first menu. =20

I had more trouble than that, but I was trying to boot and install off
a usb flash stick rather than CD.  In my case, unless I disabled the
ps/2 keyboard port, usb had serious problems and I couldn't mount
root.

The kerrnel config I used to install (with a usb kbd) was:

 include "arch/i386/conf/GENERIC.MP"
 no azalia* at pci?
 no pckbc* at acpi?
 no pckbc0 at isa?

I don't offhand recall now what problem azalia caused, but it was
probably also related to getting the usb going.  I have a vague
recollection of it making things very slow with a storm of interrupts,
but that may well be misplaced and not have been the issue in this
particular case.

I haven't tried running X on it, the workload is database processing
and report generation.
=20
>  Using a PS/2 keyboard instead I=20
>  was able to look at dmesg's output and found there was no driver for the=
=20
>  machine's gigabit ethernet card so I didn't proceed with the install.

Yeah, I used a usb ethernet at first to install, and had to shove a
pci NIC in the machine for ongoing operation.

A first attempt at supporting the 5754 was added to current last week,
but it doesn't yet work for me; the driver matches and attaches, but
traffic does not flow.

>  If there had been a driver for the ethernet card I was going to install=
=20
>  NetBSD on two of these PCs, connect them using a crossover ethernet cabl=
e=20
>  and see what the transfer rate was when ftp'ing a large file between the=
m. =20
>  I've copied a ~ 20 GB file from one to the other when both were running=
=20
>  Windows XP using Windows Explorer and Windows Task Manager's Networking =
tab=20
>  showed a fairly constant 19% usage of the 1 Gbps bandwidth.  I thought t=
hat=20
>  was unimpressive but I haven't used gigabit cards before so don't know=
=20
>  what's achievable.

Be careful what you're benchmarking: the network or the protocol or
the application.  For any single stream, whether ftp or smb or
anything else, you may need to do tuning of other bottlenecks until
it can fully utilise the network. Also, just FYI, you don't need a
crossover cable for gigabit.

>  I'm told these PCs have 4 GB of RAM installed but XP only sees 3 GB. I w=
as=20
>  hoping NetBSD would be able to address all of it as I believe the 64-bit=
=20
>  version of Win XP can, but dmesg only reports ~ 3 GB. Perhaps NetBSD/amd=
64=20
>  could see it all and that's what I should have been trying to install?

Not sure about this one.  If you want 64-bit go ahead, but it won't
make any specific difference for the NIC and kdb install issues, and
may not either for the memory.  The bios setup screens show the memory
setup quite well, I'd start by confirming how it's physically
populated from there.

--
Dan.

>=20
>=20
>  Ray
>=20
>=20
>=20
>=20
>  Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
>      2006, 2007
>      The NetBSD Foundation, Inc.  All rights reserved.
>  Copyright (c) 1982, 1986, 1989, 1991, 1993
>      The Regents of the University of California.  All rights reserved.
>=20
>  NetBSD 4.99.20 (INSTALL) #1: Thu Jun 21 19:27:22 EST 2007
>          ray@jb.jkmrc.uq.edu.au:/usr/obj/sys/arch/i386/compile/INSTALL
>  total memory =3D 3069 MB
>  avail memory =3D 3005 MB
>  timecounter: Timecounters tick every 10.000 msec
>  timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
>  BIOS32 rev. 0 found at 0xffea0
>  mainbus0 (root)
>  cpu0 at mainbus0: (uniprocessor)
>  cpu0: Intel Core 2 (Merom) (686-class), 2394.16 MHz, id 0x6f6
>  cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
>  cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
>  cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
>  cpu0: features2 e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR,PDCM>
>  cpu0: "Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz"
>  cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
>  cpu0: L2 cache 4 MB 64B/line 16-way
>  cpu0: using thermal monitor 1
>  cpu0: 64 page colors
>  pci0 at mainbus0 bus 0: configuration mode 1
>  pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
>  pchb0 at pci0 dev 0 function 0
>  pchb0: vendor 0x8086 product 0x2990 (rev. 0x02)
>  ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x2991 (rev. 0x02)
>  pci1 at ppb0 bus 1
>  pci1: i/o space, memory space enabled, rd/line, wr/inv ok
>  vga1 at pci1 dev 0 function 0: vendor 0x1002 product 0x7183 (rev. 0x00)
>  vga1: WARNING: ignoring 64-bit BAR @ 0x10
>  vga1: WARNING: ignoring 64-bit BAR @ 0x18
>  wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
>  wsmux1: connecting to wsdisplay0
>  direct rendering for vga1 unsupported
>  vendor 0x1002 product 0x71a3 (miscellaneous display) at pci1 dev 0 funct=
ion=20
>  1 not configured
>  uhci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x2834 (rev. 0x02)
>  uhci0: interrupting at irq 11
>  usb0 at uhci0: USB revision 1.0
>  uhub0 at usb0
>  uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>  uhub0: 2 ports with 2 removable, self powered
>  uhci1 at pci0 dev 26 function 1: vendor 0x8086 product 0x2835 (rev. 0x02)
>  uhci1: interrupting at irq 10
>  usb1 at uhci1: USB revision 1.0
>  uhub1 at usb1
>  uhub1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>  uhub1: 2 ports with 2 removable, self powered
>  ehci0 at pci0 dev 26 function 7: vendor 0x8086 product 0x283a (rev. 0x02)
>  ehci0: interrupting at irq 9
>  ehci0: BIOS has given up ownership
>  ehci0: EHCI version 1.0
>  ehci0: companion controllers, 2 ports each: uhci0 uhci1
>  usb2 at ehci0: USB revision 2.0
>  uhub2 at usb2
>  uhub2: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
>  uhub2: 4 ports with 4 removable, self powered
>  vendor 0x8086 product 0x284b (multimedia subclass 0x03, revision 0x02) a=
t=20
>  pci0 dev 27 function 0 not configured
>  ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x283f (rev. 0x02)
>  pci2 at ppb1 bus 2
>  pci2: i/o space, memory space enabled, rd/line, wr/inv ok
>  ppb2 at pci0 dev 28 function 4: vendor 0x8086 product 0x2847 (rev. 0x02)
>  pci3 at ppb2 bus 3
>  pci3: i/o space, memory space enabled, rd/line, wr/inv ok
>  vendor 0x14e4 product 0x167a (ethernet network, revision 0x02) at pci3 d=
ev 0=20
>  function 0 not configured
>  uhci2 at pci0 dev 29 function 0: vendor 0x8086 product 0x2830 (rev. 0x02)
>  uhci2: interrupting at irq 5
>  usb3 at uhci2: USB revision 1.0
>  uhub3 at usb3
>  uhub3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>  uhub3: 2 ports with 2 removable, self powered
>  uhci3 at pci0 dev 29 function 1: vendor 0x8086 product 0x2831 (rev. 0x02)
>  uhci3: interrupting at irq 10
>  usb4 at uhci3: USB revision 1.0
>  uhub4 at usb4
>  uhub4: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>  uhub4: 2 ports with 2 removable, self powered
>  uhci4 at pci0 dev 29 function 2: vendor 0x8086 product 0x2832 (rev. 0x02)
>  uhci4: interrupting at irq 9
>  usb5 at uhci4: USB revision 1.0
>  uhub5 at usb5
>  uhub5: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>  uhub5: 2 ports with 2 removable, self powered
>  ehci1 at pci0 dev 29 function 7: vendor 0x8086 product 0x2836 (rev. 0x02)
>  ehci1: interrupting at irq 5
>  ehci1: BIOS has given up ownership
>  ehci1: EHCI version 1.0
>  ehci1: companion controllers, 2 ports each: uhci2 uhci3 uhci4
>  usb6 at ehci1: USB revision 2.0
>  uhub6 at usb6
>  uhub6: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
>  uhub6: 6 ports with 6 removable, self powered
>  ppb3 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0xf2)
>  pci4 at ppb3 bus 4
>  pci4: i/o space, memory space enabled
>  pcib0 at pci0 dev 31 function 0
>  pcib0: vendor 0x8086 product 0x2810 (rev. 0x02)
>  piixide0 at pci0 dev 31 function 2
>  piixide0: Intel 82801H Serial ATA Controller (ICH8) (rev. 0x02)
>  piixide0: bus-master DMA support present
>  piixide0: primary channel configured to native-PCI mode
>  piixide0: using irq 10 for native-PCI interrupt
>  atabus0 at piixide0 channel 0
>  piixide0: secondary channel configured to native-PCI mode
>  atabus1 at piixide0 channel 1
>  vendor 0x8086 product 0x283e (SMBus serial bus, revision 0x02) at pci0 d=
ev=20
>  31 function 3 not configured
>  piixide1 at pci0 dev 31 function 5
>  piixide1: Intel 82801H Serial ATA Controller (ICH8) (rev. 0x02)
>  piixide1: bus-master DMA support present
>  piixide1: primary channel wired to native-PCI mode
>  piixide1: using irq 10 for native-PCI interrupt
>  atabus2 at piixide1 channel 0
>  piixide1: secondary channel wired to native-PCI mode
>  atabus3 at piixide1 channel 1
>  isa0 at pcib0
>  com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
>  com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
>  pckbc0 at isa0 port 0x60-0x64
>  pckbd0 at pckbc0 (kbd slot)
>  pckbc0: using irq 1 for kbd slot
>  wskbd0 at pckbd0: console keyboard, using wsdisplay0
>  isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
>  npx0 at isa0 port 0xf0-0xff
>  npx0: reported by CPUID; using exception 16
>  fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
>  isapnp0: no ISA Plug 'n Play devices found
>  timecounter: Timecounter "TSC" frequency 2394082800 Hz quality 800
>  timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
>  fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
>  Kernelized RAIDframe activated
>  md0: internal 5000 KB image area
>  uhub7 at uhub2 port 1
>  uhub7: vendor 0x0424 product 0x2504, class 9/0, rev 2.00/0.01, addr 2
>  uhub7: multiple transaction translators
>  uhub7: 4 ports with 4 removable, self powered
>  uhidev0 at uhub5 port 2 configuration 1 interface 0
>  uhidev0: vendor 0x0461 USB Optical Mouse, rev 2.00/2.00, addr 2, iclass =
3/1
>  uhid at uhidev0 not configured
>  wd0 at atabus0 drive 0uhci1: host controller halted
>  : <ST3160812AS>
>  wd0: quirks 2<FORCE_LBA48>
>  wd0: drive supports 16-sector PIO transfers, LBA48 addressing
>  wd0: 149 GB, 310019 cyl, 16 head, 63 sec, 512 bytes/sect x 312500000 sec=
tors
>  wd0: 32-bit data port
>  wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
>  wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using=
=20
>  DMA)
>  atapibus0 at atabus1: 2 targets
>  cd0 at atapibus0 drive 0: <TSSTcorp CD-RW/DVD-ROM TS-H493A, , D200> cdro=
m=20
>  removable
>  cd0: 32-bit data port
>  cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
>  cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using =
DMA)
>  boot device: fd0
>  root on md0a dumps on md0b
>  root file system type: ffs
>  WARNING: clock gained 13 days
>  WARNING: CHECK AND RESET THE DATE!
>  warning: no /dev/console

--rwEMma7ioTxnRzrJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFGjG7kEAVxvV4N66cRAtarAKD5btd1BvXrNAQwosIaLkoAx9aLWgCgwRkH
YCo3VIw1kYZd1zFDSVLkKFk=
=g5sW
-----END PGP SIGNATURE-----

--rwEMma7ioTxnRzrJ--