Subject: Re: Sysinst won't install onto ld0 on NetBSD 4.0 Beta 2
To: Matthias Scheler <tron@zhadum.org.uk>
From: David W. Rankin Jr. <drankin@bohemians.lexington.ky.us>
List: port-i386
Date: 02/28/2007 00:12:10
On Tue, Feb 27, 2007 at 10:17:24PM +0000, Matthias Scheler wrote:
> On Tue, Feb 27, 2007 at 11:50:31AM -0500, David W. Rankin Jr. wrote:
> > I wasn't able to capture the dmesg yet, since the system booted over
> > VGA, but I will do that if someone needs the output.

> Exit out of "sysinst" via the menu and try "dmesg | grep ld" to figure
> out whether NetBSD recognized any

The boot messages (as below, from a capture of the boot output) shows
ld0. dmesg can read and write ld0, but one strange message pops up:
	fdisk: DIOCGDEFLABEL: Inappropriate ioctl for device

also, disklabel ld0d shows the messages
	disklabel: boot block size 0
	disklabel: super block size 0
Are these messages side-effects of the nature of ld0, or something more
significant?

The default disklabel created ld0e on ld0d. If I newfs it, I get a
filesystem that works, can read and write files, and can be mounted
and unmounted.

sysinst seems to be the only problem. When I attempt to run sysinst to
do an install, instead of giving me ld0d to choose, it says:
 I can not find any hard disks for use by NetBSD.  You will be returned to the
 original menu.
and that's it.

Any ideas? I'm not afraid to generate a special boot disk or test
kernel, with sufficient guidance.

Thanks for looking at this,
David

boot messages:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0_BETA2 (INSTALL) #1: Tue Feb 27 10:26:58 EST 2007
	root@hilda:/files1/netbsd-4-branch/obj/sys/arch/i386/compile/INSTALL
total memory = 511 MB
avail memory = 495 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 596.03 MHz, id 0x683
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 0x1166 product 0x0009 (rev. 0x05)
pchb1 at pci0 dev 0 function 1
pchb1: vendor 0x1166 product 0x0009 (rev. 0x05)
pci1 at pchb1 bus 1
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb0 at pci1 dev 2 function 0: vendor 0x8086 product 0x0962 (rev. 0x01)
pci2 at ppb0 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
aac0 at pci1 dev 2 function 1: Dell PERC 3/Si
aac0: interrupting at irq 10
aac0: i960RX at 100MHz, 64MB mem (54MB cache), no battery support
ld0 at aac0 unit 0: RAID 1 (Mirror)
ld0: 17355 MB, 8815 cyl, 64 head, 63 sec, 512 bytes/sect x 35544576 sectors
fxp0 at pci1 dev 8 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:b0:d0:49:2d:e4
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1 at pci0 dev 8 function 0: i82559 Ethernet, rev 8
fxp1: interrupting at irq 12
fxp1: Ethernet address 00:d0:b7:84:ac:3e
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vga1 at pci0 dev 14 function 0: vendor 0x1002 product 0x4759 (rev. 0x7a)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 15 function 0
pcib0: vendor 0x1166 product 0x0200 (rev. 0x4f)
rccide0 at pci0 dev 15 function 1
rccide0: ServerWorks OSB4 IDE Controller (rev. 0x00)
rccide0: bus-master DMA support present
rccide0: primary channel configured to compatibility mode
rccide0: primary channel interrupting at irq 14
atabus0 at rccide0 channel 0
rccide0: secondary channel configured to compatibility mode
rccide0: secondary channel interrupting at irq 15
atabus1 at rccide0 channel 1
ohci0 at pci0 dev 15 function 2: vendor 0x1166 product 0x0220 (rev. 0x04)
ohci0: interrupting at irq 11
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x1166 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
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 mux 1
wskbd0: connecting to wsdisplay0
npx0 at isa0 port 0xf0-0xff
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
timecounter: Timecounter "TSC" frequency 596031820 Hz quality 800
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
md0: internal 5000 KB image area
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM SN-124, , S003> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(rccide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: fd0
root on md0a dumps on md0b
root file system type: ffs
warning: no /dev/console
init: Creating mfs /dev (488 blocks, 1280 inodes)
erase ^?, werase ^W, kill ^U, intr ^C

-- 
David W. Rankin, Jr.     Christian, Husband, Father, and UNIX Sysadmin. 
   ".... As for me and my household, we will serve the LORD." Joshua 24:15