Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 1999 13:39:53 +1000 (EST)
From:      raymond@one.com.au
Subject:   PnP problem with V3.1
Message-ID:  <199904120339.NAA08810@gw.one.com.au>

next in thread | raw e-mail | index | archive | help
Message sent at 11:01 AM on 12 Apr 99 by PVX::RAYMOND.  Id: 341406.
To:   freebsd-questions@FreeBSD.ORG

dwhite@resnet.uoregon.edu wrote:

>On Sat, 10 Apr 1999 raymond@one.com.au wrote:
>
>> Message sent at 11:06 AM on 10 Apr 99 by PVX::RAYMOND.  Id: 341251.
>> To:   freebsd-questions@FreeBSD.ORG
>>
>> I have been running FreeBSD V3.0 for quite a while.  I use the following to
>> setup the sound chip on my system:
>>
>> config> pnp 1 0 os enable port0 0x220 port1 0x530 port2 0x388 port3 0x370
>> config> pnp 1 0 os enable irq0 10 drq0 1 drq1 5
>>
>> During bootup I then get something like:
>>
>> Probing for PnP devices:
>> CSN 1 Vendor ID: YMH0020 [0x2000a865] Serial 0xffffffff Comp ID: PNPb02f
>> [0x2fb0d041]mss_attach <Yamaha SA2>1 at 0x530 irq 10 dma 1:5 flags 0x15
>> setting up yamaha registers
>> set yamaha master volume to max
>> pcm1 (CS423x/Yamaha <Yamaha SA2> sn 0xffffffff)
>> at 0x530-0x537 irq 10 drq 1 flags 0x15 on isa
>
>Looks normal to me.
>
>> I have just obtained another (almost) identical machine (Asus book PC with
>>ASUS P2L-N/P2E-N Motherboard) and done the PnP config bit.
>>
>> On startup ignores this and on the next boot, going into "config>" shows
>> that the entries typed in above are gone...
>
>This is also normal .. the userconfig options don't stick on 3.x.
>
>I would suggest either of two ideas:
>
>1)  Set the 'Plug & Play OS' option in the BIOS setup to 'no'.  This
>forces the BIOS to configure the PnP cards.
>
>2)  Enter the commands you type at the config> propmpt into the file
>/kernel.config, then create the file /boot/boot.conf and put this in it:
>
>load /kernel
>load -t userconfig_script /kernel.config
>autoboot
>
>Doug White
>Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
>http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org
>

Re option 1 above, the bios on this board can't do that.

Option 2 gives the following output - still doesn't see the pnp device.


Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.1-RELEASE #1: Fri Apr  9 17:40:23 EST 1999
    root@puss.nimbin:/usr/src/sys/compile/ONEWSV31
Timecounter "i8254"  frequency 1193182 Hz
CPU: Celeron (334.09-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x660  Stepping=0
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PA
T,PSE36,MMX,<b24>>
real memory  = 67043328 (65472K bytes)
config> pnp 1 0 os enable port0 0x220 port1 0x530 port2 0x388 port3 0x370
config> pnp 1 0 os enable irq0 10 drq0 1 drq1 5
config> quit
avail memory = 61681664 (60236K bytes)
Preloaded elf kernel "kernel" at 0xf029d000.
Preloaded userconfig_script "/kernel.config" at 0xf029d09c.
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=8086 device=7180)> rev 0x03 on pci0.0.0
chip1: <PCI to PCI bridge (vendor=8086 device=7181)> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.4.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.4.1
chip3: <Intel 82371AB Power management controller> rev 0x01 on pci0.4.3
ed1: <NE2000 PCI Ethernet (RealTek 8029)> rev 0x00 int a irq 10 on pci0.18.0
ed1: address 00:00:e8:df:86:d1, type NE2000 (16 bit) 
Probing for devices on PCI bus 1:
vga0: <ATI model 4742 graphics accelerator> rev 0x5c int a irq 11 on pci1.0.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
pcm0 not found
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST33221A>
wd0: 3098MB (6346368 sectors), 6296 cyls, 16 heads, 63 S/T, 512 B/S
ppc0 at 0x378 irq 7 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
nlpt0: <generic printer> on ppbus 0
nlpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
changing root device to wd0s1a


Ray Newman


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?199904120339.NAA08810>