Subject: Re: not configured, but works?
To: Paul Goyette <paul@whooppee.com>
From: Perry E. Metzger <perry@piermont.com>
List: port-i386
Date: 08/25/1998 23:18:08
Paul Goyette writes:
> As I recall, the display works because NetBSD uses the BIOS routines to
> manipulate the display.

Nope. The BIOS isn't normally ever called from the kernel -- doing so
would be, er, bad. Consider: the BIOS is 16 bit non-preemptable
non-reentrant code...

> On my x86 box, it also claims that my video adapter is not configured,
> but things work just fine in text mode, and then X takes over....

"Not Configured" means that the device is recognised but no particular 
driver is attached to it. The console driver handles things in text
mode, the X server itself has userland drivers that handle everything
in X mode.

Perry

> 
> On Tue, 25 Aug 1998, Space Case wrote:
> 
> > Well, I replaced the POS Gateway motherboard (too slow) with this thing
> > that I'm having a hard time identifying (words on the box and the single
> > sheet of documentation contain the words "Socket 7 Series", TX-PRO, TOP
> > GUN and M575).  And I also have a Genoa Phantom 3D/DX graphics board.
> > 
> > In the dmesg output below, you'll see four 'not configured' items:
> >  - an Acer Labs 0x1531 host bridge
> >  - a S3 0x8a01 VGA display
> >  - an Acer Labs M5229 IDE controller
> >  - the audio, which has four "not configured" lines itself
> > 
> > The IDE and graphics seem to work even though it claims they're not
> > configured.  How can this be?
> > 
> > And, what do I need to do to get everything configured -- especially
> > the sound?
> > 
> > ~Steve
> > 
> > NetBSD 1.3G (GATEWAY) #9: Thu Aug 20 22:34:29 PDT 1998
> >     root2@gateway:/usr/src/sys/arch/i386/compile/GATEWAY
> > cpu0: family 5 model 6 step 2
> > cpu0: AMD K6 (586-class)
> > real mem  = 66715648
> > avail mem = 58925056
> > using 840 buffers containing 3440640 bytes of memory
> > mainbus0 (root)
> > pci0 at mainbus0 bus 0: configuration mode 1
> > pci0: i/o enabled, memory enabled
> > Acer Labs product 0x1531 (host bridge, revision 0xb3) at pci0 dev 0 functio
n 0 not configured
> > pcib0 at pci0 dev 2 function 0
> > pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xb4)
> > ahc1 at pci0 dev 4 function 0
> > ahc1: interrupting at irq 9
> > ahc1: aic7850 Single Channel, SCSI Id=7, 3 SCBs
> > ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
> > scsibus0 at ahc1 channel 0: 8 targets
> > ahc1: target 1 synchronous at 10.0MHz, offset = 0xf
> > sd0 at scsibus0 targ 1 lun 0: <SEAGATE, ST32550N, 0012> SCSI2 0/direct fixe
d
> > sd0: 2047MB, 3511 cyl, 11 head, 108 sec, 512 bytes/sect x 4194058 sectors
> > S3 product 0x8a01 (VGA display, revision 0x01) at pci0 dev 5 function 0 not
 configured
> > Acer Labs M5229 UDMA IDE Controller (IDE mass storage, interface 0xfa, revi
sion 0x20) at pci0 dev 11 function 0 not configured
> > isa0 at pcib0
> > ne0 at isa0 port 0x280-0x29f irq 10
> > ne0: NE2000 Ethernet
> > ne0: Ethernet address 00:00:e8:a7:2a:31
> > ne1 at isa0 port 0x300-0x31f irq 11
> > ne1: NE2000 Ethernet
> > ne1: Ethernet address 00:00:e8:a7:2b:3c
> > com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
> > com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
> > lpt0 at isa0 port 0x378-0x37b irq 7
> > wdc0 at isa0 port 0x1f0-0x1f7 irq 14
> > atapibus0 at wdc0
> > wd0 at wdc0 drive 0: <ST32122A>
> > wd0: using 16-sector 16-bit pio transfers, lba mode
> > wd0 2014MB, 4092 cyl, 16 head, 63 sec, 512 bytes/sect x 4124736 sectors
> > fe_simple_probe: ff & 70 != 0
> > ate_match: ate_find failed
> > fe_simple_probe: ff & 70 != 0
> > fmv_match: fmv_find failed
> > pcppi0 at isa0 port 0x61
> > midi0 at pcppi0: <PC speaker>
> > sysbeep0 at pcppi0
> > isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
> > npx0 at isa0 port 0xf0-0xff: using exception 16
> > pc0 at isa0 port 0x60-0x6f irq 1: color
> > pc0: console
> > fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
> > fd0 at fdc0 drive 0: 1.2MB, 80 cyl, 2 head, 15 sec
> > fd1 at fdc0 drive 1: 1.44MB, 80 cyl, 2 head, 18 sec
> > isapnp0: read port 0x203
> > isapnp0: <CMI8330. Audio Adapter, @@@0001, , > port 0x530/8,0x388/8 irq 11 
drq 0 not configured
> > isapnp0: <CMI8330. Audio Adapter, @H@0001, , > port 0x320/2 irq 5 not confi
gured
> > isapnp0: <CMI8330. Audio Adapter, @P@0001, , > port 0x200/8 not configured
> > isapnp0: <CMI8330. Audio Adapter, @X@0001, , > port 0x220/16 irq 5 drq 1,5 
not configured
> > biomask 4240 netmask 4e40 ttymask 4ec2
> > disklabel: BIOS sees chs 3511/11/108 as 998/191/22
> > WARNING: old BSD partition ID!
> > disklabel: BIOS sees chs 4092/16/63 as 1023/64/63
> > boot device: wd0
> > root on wd0a dumps on wd0b
> > root file system type: ffs
> > 
> > 
> > 
> > 
> > -- 
> > Steve Allen - wormey@eskimo.com   http://www.eskimo.com/~wormey/   ICQ 6709
819
> > 
> > Faith is the quality that enables you to eat blackberry jam on a picnic
> > without looking to see whether the seeds move.
> > 
> > Contrary to popular belief, Unix is user friendly.  
> > It just happens to be selective about who it makes friends with.
> > 	-Kyle Hearn  <kyle@intex.net>
> > 
> > Next Friday will not be your lucky day.  As a matter of fact, you don't
> > have a lucky day this year.
> > 
> 
> -----------------------------------------------------------------------------
> | Paul Goyette      | Public Key fingerprint:    | E-mail addresses:        |
> | Network Engineer  |   0E 40 D2 FC 2A 13 74 A0  |  paul@whooppee.com       |
> | and kernel hacker |   E4 69 D5 BE 65 E4 56 C6  |  paul.goyette@ascend.com |
> -----------------------------------------------------------------------------
>