Subject: Re: Net4801 probe
To: None <itojun@iijlab.net>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: port-i386
Date: 08/19/2003 16:34:31
BTW, it surprised me that the dubious change got actually committed
without prior discussion, and even pulled up to the 1.6 branch.
Was that necessary? The change appears as not TRT, especially if
the problem is actually not in pci probe code.

Jaromir

itojun@iijlab.net wrote:
> 	here's openbsd's dmesg.  it apparently touches function 1 of
> 	SC1100 device, but does not panic like netbsd does.
> 
> >"NS SC1100 SMI/ACPI" rev 0x00 at pci0 dev 18 function 1 not configured
> 
> itojun
> 
> ------- Forwarded Message
> 
> POST: 0123456789bcefghipajklnoq,,,tvwxy2J
> comBIOS ver. 1.20  20030721  Copyright (C) 2000-2003 Soekris Engineering.
> 
> net4801
> 
> 0128 Mbyte Memory			 CPU Geode 266 Mhz
> 
> Pri Mas	 SanDisk SDCFB-128		 LBA 980-8-32  125 Mbyte
> 
> PXE-M00: BootManage UNDI, PXE-2.0 (build 082)
> 
> Slot   Vend Dev	 ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int
> - -------------------------------------------------------------------
> 0:00:0 1078 0001 06000000 0107 0280 00 1F 00 00000000 00000000 00
> 0:06:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0000000 10
> 0:07:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0001000 10
> 0:08:0 100B 0020 02000000 0107 0290 00 3F 00 0000E301 A0002000 10
> 0:18:2 100B 0502 01018001 0005 0280 00 00 00 00000000 00000000 00
> 0:19:0 0E11 A0F8 0C031008 0117 0280 08 38 00 A0003000 00000000 11
> 
>  4 Seconds to automatic boot.	Press Ctrl-P for entering Monitor.
> Using Drive: 0 Partition: 3
> reading boot.....
> probing: pc0 com0 com1 pci mem[639K 63M a20=on]
> disk: hd0+
> >> OpenBSD/i386 BOOT 2.01
> switching console to com0
> com0: changing speed to 19200 baud
> com0: change your terminal to match!
> com0: will change speed in 5 seconds....
> 
> com0: console is at 19200 baud
> boot> generic -a
> booting hd0a:generic: 4460884+837564/[67+202528+180155]=0x56b1f4
> entry point at 0x100120
> 
> [ using 383204 bytes of bsd ELF symbol table ]
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> 	The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2003 OpenBSD. All rights reserved.  http://www.OpenBSD.org
> 
> OpenBSD 3.3-current (GENERIC) #24: Thu Jul 31 18:20:20 CEST 2003
>     markus@folly:/home/openbsd/src/sys/arch/i386/compile/GENERIC
> cpu0: National Semiconductor Geode GX1 ("Geode by NSC" 586-class) 267 MHz
> cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
> real mem  = 66695168 (65132K)
> avail mem = 55984128 (54672K)
> using 839 buffers containing 3436544 bytes (3356K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 20/30/21, BIOS32 rev. 0 @ 0xf7840
> pcibios0 at bios0: rev. 2.0 @ 0xf0000/0x10000
> pcibios0: pcibios_get_intr_routing - function not supported
> pcibios0: PCI IRQ Routing information unavailable.
> pcibios0: PCI bus #0 is the last bus
> bios0: ROM list: 0xc8000/0xa000
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Cyrix GXm Host-PCI" rev 0x00
> sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00: irq 10 address 00:00:24:c1:34:14
> nsphyter0 at sis0 phy 0: DP83815 10/100 integrated, rev. 1
> sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00: irq 10 address 00:00:24:c1:34:15
> nsphyter1 at sis1 phy 0: DP83815 10/100 integrated, rev. 1
> sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00: irq 10 address 00:00:24:c1:34:16
> nsphyter2 at sis2 phy 0: DP83815 10/100 integrated, rev. 1
> pcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
> "NS SC1100 SMI/ACPI" rev 0x00 at pci0 dev 18 function 1 not configured
> pciide0 at pci0 dev 18 function 2 "NS SC1x00 IDE" rev 0x01: DMA (unsupported), channel 0 wired to compatibility, channel 1 wired to compatibility
> pciide0: channel 0 ignored (other hardware responding at addresses)
> pciide0: channel 1 ignored (not responding; disabled or no drives?)
> "NS SC1100 X-Bus" rev 0x00 at pci0 dev 18 function 5 not configured
> ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08: interrupting at irq 11, OHCI version 1.0, legacy support
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Compaq OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 3 ports with 3 removable, self powered
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> wdc0 at isa0 port 0x1f0/8 irq 14
> wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFB-128>
> wd0: 1-sector PIO, LBA, 122MB, 980 cyl, 8 head, 32 sec, 250880 sectors
> wd0(wdc0:0:0): using BIOS timings
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> sysbeep0 at pcppi0
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> biomask 4800 netmask 4c00 ttymask 4c02
> pctr: user-level cycle counter enabled
> dkcsum: wd0 matched BIOS disk 80
> root device?
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> warning: /dev/console does not exist
> init: not found
> panic: no init
> Stopped at	Debugger+0x4:	leave
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb>
> 
> ------- End of Forwarded Message
> 

-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-