Date: Mon, 17 Jan 2000 16:13:14 +0000 From: Brian Somers <brian@Awfulhak.org> To: Peter Wemm <peter@netplex.com.au> Cc: Brian Somers <brian@Awfulhak.org>, freebsd-current@FreeBSD.org, brian@hak.lan.Awfulhak.org Subject: Re: PnP probing in -current Message-ID: <200001171613.QAA25647@hak.lan.Awfulhak.org> In-Reply-To: Message from Peter Wemm <peter@netplex.com.au> of "Mon, 17 Jan 2000 15:59:19 %2B0800." <20000117075919.A40241CD4@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> Brian Somers wrote: > > Hi, > > > > Since the PnP probing code was made unconditional in the bootup > > routines on December 6, I've been having problems with my > > Adaptec 1542CP. > > What PnP device ID does it have? > > static struct isa_pnp_id aha_ids[] = { > {AHA1542_PNP, NULL}, /* ADP1542 */ > {AHA1542_PNPCOMPAT, NULL}, /* PNP00A0 */ > {0} > }; > > ahareg.h:#define AHA1542_PNP 0x42159004 /* ADP1542 */ > ahareg.h:#define AHA1542_PNPCOMPAT 0xA000D040 /* PNP00A0 */ It seems to have ADP1542. > What do you get on dmesg? Any "unknown" devices? Lots of unknown devices, wrt ADP1542: ADP1542: adding irq mask 0xdc00 ADP1542: adding dma mask 0xe0 ADP1542: start dependant ADP1542: adding io range 0x330-0x333, size=0x4, align=0x4 ADP1542: start dependant ADP1542: adding io range 0x334-0x337, size=0x4, align=0x4 ADP1542: start dependant ADP1542: adding io range 0x234-0x237, size=0x4, align=0x4 ADP1542: start dependant ADP1542: adding io range 0x230-0x233, size=0x4, align=0x4 ADP1542: start dependant ADP1542: adding io range 0x134-0x137, size=0x4, align=0x4 ADP1542: start dependant ADP1542: adding io range 0x130-0x133, size=0x4, align=0x4 ADP1542: end dependant ADP1542: adding memory range 0xc8000-0xdc03f, size=0x40, align=0x4000 and a little later: > Have you tried "options PNPBIOS" and "device aha0" (no "at isa? ..."). Without saying it's ``at isa?'' I get only one aha failed line (I'm sure I used to get nothing) at boot time. I still see the ADP lines though (of course). > Can you include some lines from boot -v showing the parsing of the pnp id? Sure, well, what gets recorded by dmesg anyway - if you need anything from before the attached, I'll have to transcribe it manually or muck about with a serial console: range 0xf8000-0xfbfff, size=0x4000 PNP0c02: adding memory range 0xfc000-0xfffff, size=0x4000 PNP0c02: start dependant pnpbios: handle 8 device ID PNP0c02 (020cd041) PNP0a03: adding io range 0x4d0-0x4d1, size=0x2, align=0 PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0 PNP0a03: adding io range 0x480-0x48f, size=0x10, align=0 PNP0a03: start dependant pnpbios: handle 9 device ID PNP0a03 (030ad041) PNP0c02: adding io range 0x40b-0x40b, size=0x1, align=0 PNP0c02: adding io range 0x4d6-0x4d6, size=0x1, align=0 PNP0c02: adding io range 0x5000-0x501f, size=0x20, align=0 PNP0c02: adding io range 0x4000-0x403f, size=0x40, align=0 PNP0c02: start dependant pnpbios: handle 10 device ID PNP0c02 (020cd041) PNP0501: adding irq mask 0x10 PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0 PNP0501: start dependant pnpbios: handle 11 device ID PNP0501 (0105d041) PNP0700: adding dma mask 0x4 PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0 PNP0700: adding irq mask 0x40 PNP0700: start dependant pnpbios: handle 12 device ID PNP0700 (0007d041) PNP0400: adding irq mask 0x80 PNP0400: adding io range 0x378-0x37f, size=0x8, align=0 PNP0400: start dependant pnpbios: handle 13 device ID PNP0400 (0004d041) PNP0501: adding irq mask 00x8 PNP0501: adding io range 0x2f8-0x2ff, size=0x8, align=0 PNP0501: start dependant pnpbios: handle 14 device ID PNP0501 (0105d041) PNP0c02: adding io range 0x208-0x20f, size=0x8, align=0 PNP0c02: start dependant pnpbios: handle 15 device ID PNP0c02 (020cd041) Trying Read_Port at 203 ADP1542: adding irq mask 0xdc00 ADP1542: adding dma mask 0xe0 ADP1542: start dependant ADP1542: adding io range 0x330-0x333, size=0x4, align=0x4 ADP1542: start dependant ADP1542: adding io range 0x334-0x337, size=0x4, align=0x4 ADP1542: start dependant ADP1542: adding io range 0x234-0x237, size=0x4, align=0x4 ADP1542: start dependant ADP1542: adding io range 0x230-0x233, size=0x4, align=0x4 ADP1542: start dependant ADP1542: adding io range 0x134-0x137, size=0x4, align=0x4 ADP1542: start dependant ADP1542: adding io range 0x130-0x133, size=0x4, align=0x4 ADP1542: end dependant ADP1542: adding memory range 0xc8000-0xdc03f, size=0x40, align=0x4000 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 wdc0 at port 0x1f0-0x1f7 irq 14 on isa0 wdc0: unit 0 (wd0): <ST31277A> wd0: 1221MB (2501856 sectors), 2482 cyls, 16 heads, 63 S/T, 512 B/S wd0: ATA INQUIRE valid = 0003, dmamword = 0407, apio = 0003, udma = 0000 wdc0: unit 1 (wd1): <FUJITSU M1623TAU> wd1: 1623MB (3324384 sectors), 3298 cyls, 16 heads, 63 S/T, 512 B/S wd1: ATA INQUIRE valid = 0003, dmamword = 0407, apio = 0003, udma = 0000 wdc1 at port 0x170-0x177 irq 15 on isa0 wdc1: unit 0 (wd2): <QUANTUM FIREBALL EL7.6A> wd2: 7339MB (15032115 sectors), 15907 cyls, 15 heads, 63 S/T, 512 B/S wd2: ATA INQUIRE valid = 0007, dmamword = 0407, apio = 0003, udma = 0007 wdc1: unit 1 (atapi): <CD-ROM CDU311/3.0h>, removable, accel, dma, iordis wcd0: drive speed 1378KB/sec, 256KB cache wcd0: supported read types: CD-DA wcd0: Audio: play, 256 volume levels wcd0: Mechanism: ejectable tray wcd0: Medium: no/blank disc inside, unlocked atkbd: the current kbd controller command byte 0067 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sio0: irq maps: 0x441 0x451 0x441 0x441 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1: irq maps: 0x441 0x449 0x441 0x441 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: configured irq 5 not in bitmap of probed irqs 0 sio2: irq maps: 0x441 0x441 0x441 0x441 sio2: probe failed test(s): 0 1 2 4 6 7 9 sio3: configured irq 9 not in bitmap of probed irqs 0 sio3: irq maps: 0x441 0x441 0x441 0x441 sio3: probe failed test(s): 0 1 2 4 6 7 9 ppc0: parallel port found at 0x378 ppc0: EPP SPP ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: IEEE1284 device found /NIBBLE/PS2/NIBBLE_ID/PS2_ID/Extensibility Link Probing for PnP devices on ppbus0: ppbus0: <Fujitsu PrintPartner 10> NPAP,PJL,PCL lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 plip0: <PLIP network interface> on ppbus0 bpf: lp0 attached isic0 at port 0xe80,0xa60-0xa9f,0x260-0x29f,0x660-0x69f irq 5 flags 0x3 on isa0 isic0: Teles S0/16.3 isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2) isic0: HSCX 82525 or 21525 Version 2.1 isa_probe_children: probing PnP devices unknown: <PNP0000> can't assign resources unknown0: <PNP0200> at port 0-0xf,0x81-0x83,0x87,0x89-0x8b,0x8f-0x91,0xc0-0xdf drq 4 on isa0 unknown1: <PNP0100> at port 0x40-0x43 irq 0 on isa0 unknown2: <PNP0b00> at port 0x70-0x71 irq 8 on isa0 unknown: <PNP0303> can't assign resources unknown: <PNP0800> can't assign resources unknown3: <PNP0c04> at port 0xf0-0xff irq 13 on isa0 unknown4: <PNP0c01> at iomem 0-0x9ffff,0xfffe0000-0xffffffff,0x100000-0x7ffffff on isa0 unknown5: <PNP0c02> at iomem 0xf0000-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfbfff,0xfc000-0xfffff on isa0 unknown6: <PNP0a03> at port 0x4d0-0x4d1,0xcf8-0xcff,0x480-0x48f on isa0 unknown7: <PNP0c02> at port 0x40b,0x4d6,0x5000-0x501f,0x4000-0x403f on isa0 unknown: <PNP0501> can't assign resources unknown: <PNP0700> can't assign resources unknown: <PNP0400> can't assign resources unknown: <PNP0501> can't assign resources unknown8: <PNP0c02> at port 0x208-0x20f on isa0 aha0: status reg test failed ff unknown9: <SCSI Host Adapter> at port 0x330-0x333 irq 11 drq 5 on isa0 de0: enabling 10baseT port BIOS Geometries: 0:026b3f3f 0..619=620 cylinders, 0..63=64 heads, 1..63=63 sectors 1:03373f3f 0..823=824 cylinders, 0..63=64 heads, 1..63=63 sectors 2:01df1f3f 0..479=480 cylinders, 0..31=32 heads, 1..63=63 sectors 3:03fe1520 0..1022=1023 cylinders, 0..21=22 heads, 1..32=32 sectors 0 accounted for Device configuration finished. IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to accept, unlimited logging bpf: sl0 attached bpf: sl1 attached bpf: ppp0 attached bpf: ppp1 attached new masks: bio 4008c040, tty 4003009a, net 400704ba bpf: lo0 attached i4b: ISDN call control device attached i4bisppp: 4 ISDN SyncPPP device(s) attached bpf: isp0 attached bpf: isp1 attached bpf: isp2 attached bpf: isp3 attached i4bctl: ISDN system control port attached i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression) bpf: ipr0 attached bpf: ipr1 attached bpf: ipr2 attached bpf: ipr3 attached i4btel: 2 ISDN telephony interface device(s) attached i4brbch: 4 raw B channel access device(s) attached i4btrc: 4 ISDN trace device(s) attached Mounting root from ufs:/dev/wd0s1a wd0s1: type 0xa5, start 63, end = 2501855, size 2501793 : OK start_init: trying /sbin/init > Cheers, > -Peter > -- > Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au > "All of this is for nothing if we don't go to the stars" - JMS/B5 Thanks. -- Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <http://www.Awfulhak.org> <brian@OpenBSD.org> Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001171613.QAA25647>