Re: bge fail on netboot of NetBSD-6 on v215 and v240

Masanobu SAITOH <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
  Hi, all.

(2013/05/25 4:43), SAITOH Masanobu wrote:
> Hi Erik.
>
> (2013/05/25 2:06), Erik Fair wrote:
>>
>> On May 24, 2013, at 04:51, SAITOH Masanobu <[email protected]> wrote:
>>
>>> This problem was fixed correctly in if_bge.c rev. 1.128. I tested with v210,
>>> PowerMac G5_11 and i386.
>>
>> Has this change been pulled up to netbsd-6?
>>
>> 	Erik <[email protected]>
>
>
> Sorry, I fixed the panic problem I made, not the netboot problem.
> I got SB2500 a few days ago and I heard that SB2500 has the same problem.
> I'll try to fix the problem.
>
>   Thanks.

   My SB2500 booted fine. Loaded ofwboot.net, loaded netbsd via bge0 and then mounted
the root file system using NFS.

Can anyone test with v215 and v240?


> Sun Blade 2500, No Keyboard
> Copyright 1998-2003 Sun Microsystems, Inc.  All rights reserved.
> OpenBoot 4.9.5, 2048 MB memory installed, Serial #55381183.
> Ethernet address 0:3:ba:4d:c:bf, Host ID: 834d0cbf.
>
>
>
> Rebooting with command: boot
> Boot device: disk  File and args:
> The file just loaded does not appear to be executable.
> {0} ok boot net netbsd
> Boot device: /pci@1c,600000/network@3  File and args: netbsd
> 1000 Mbps FDX Link up
>>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.16 (Fri May 17 00:08:17 UTC 2013)
> 1000 Mbps FDX Link up
> Using BOOTP protocol:
>  ip addr=192.168.1.36
>   netmask=255.255.255.0
>   gateway=192.168.1.1
>   root addr=192.168.1.5
>   path=/var/diskless/sparc64-current/root
> 1000 Mbps FDX Link up
> Using BOOTP protocol:
>  ip addr=192.168.1.36
>   netmask=255.255.255.0
>   gateway=192.168.1.1
>   root addr=192.168.1.5
>   path=/var/diskless/sparc64-current/root
> =0xc96128
> Loading netbsd: 8773904+614632+332520 [614544+404442]=0xde0900
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
>     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
>     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 6.99.20 (GENERIC) #4: Fri May 24 20:37:56 JST 2013
>         [email protected]:/disk/sources/4NetBSD-current/src/sys/arch/sparc64/compile/GENERIC
> total memory = 2048 MB
> avail memory = 1993 MB
> mainbus0 (root): SUNW,Sun-Blade-2500 (Sun Blade 2500): hostid 834d0cbf
> cpu0 at mainbus0: SUNW,UltraSPARC-IIIi @ 1280 MHz, UPA id 0
> cpu0: system tick frequency 12 MHz
> cpu0: 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l)
> cpu1 at mainbus0: SUNW,UltraSPARC-IIIi @ 1280 MHz, UPA id 1
> cpu1: system tick frequency 12 MHz
> cpu1: 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l)
> memory-controller at mainbus0 not configured
> memory-controller at mainbus0 not configured
> schizo0 at mainbus0: addr 4000e600000: "Tomatillo", version 0, ign 700, bus A 0 to 0
> schizo0:  pci0 at schizo0
> bge0 at pci0 dev 3 function 0: Broadcom BCM5703 Gigabit Ethernet
> Map control/status regs
> pci_mem_find
> pci_intr_map
> pci_intr_string
> pci_intr_establish
> bge0: interrupting at ivec 371c
> bge0: HW config 00000000, 00000000, 00000000, 00000000
> (bge0: PCI 2.2 DMA setting)
> bge0: ASIC BCM5702/5703 A2 (0x1002), Ethernet address 00:03:ba:4d:0c:bf
> bus_dmamem_alloc
> bus_dmamem_map
> bus_dmamem_create
> bus_dmamem_load
> bzero
> bge_jumbo_buf = 0x158a6a000
> strcpy if_xname
> mii setup
> brgphy0 at bge0 phy 1: BCM5703 1000BASE-T media interface, rev. 2
> brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
> if_attach
> ether_ifattach
> callout_init
> Hardware Flags:
>  - 5700 Family
>  - Supports Jumbo Frames
>  - No EEPROM
>  - ADC bug
> ppm at mainbus0 not configured
> schizo1 at mainbus0: addr 4000ef00000: "Tomatillo", version 0, ign 740, bus B 0 to 0
> schizo1:  pci1 at schizo1
> esiop0 at pci1 dev 4 function 0: Symbios Logic 53c1010-66 (ultra3-wide scsi)
> esiop0: using on-board RAM
> esiop0: interrupting at ivec 1f69
> scsibus0 at esiop0: 16 targets, 8 luns per target
> esiop1 at pci1 dev 4 function 1: Symbios Logic 53c1010-66 (ultra3-wide scsi)
> esiop1: using on-board RAM
> esiop1: interrupting at ivec 1f68
> scsibus1 at esiop1: 16 targets, 8 luns per target
> schizo2 at mainbus0: addr 4000f600000: "Tomatillo", version 0, ign 780, bus A 0 to 1
> schizo2:  pci2 at schizo2
> ebus0 at pci2 dev 7 function 0
> ebus0: Acer Labs M1533 PCI-ISA Bridge, revision 0x00
> flashprom at ebus0 addr 0-fffff not configured
> rtc0 at ebus0 addr 70-71: mc146818 compatible time-of-day clock: m5819p
> pcfiic0 at ebus0 addr 320-321 ipl 2e
> iic0 at pcfiic0: I2C bus
> i2c-bridge at iic0 addr 0x09 not configured
> gpio at iic0 addr 0x18 not configured
> dbcool0 at iic0 addr 0x2c
> dbcool0: ADM1031 dBCool(tm) Controller (rev 0x0083)
> dbcool1 at iic0 addr 0x2e
> dbcool1: ADM1031 dBCool(tm) Controller (rev 0x0083)
> gpio at iic0 addr 0x37 not configured
> gpio at iic0 addr 0x4e not configured
> seeprom0 at iic0 addr 0x50: audio-card-fru-prom: size 8192
> seeprom1 at iic0 addr 0x51: motherboard-fru-prom: size 8192
> seeprom2 at iic0 addr 0x54: scsi-backplane-fru-prom: size 8192
> spdmem0 at iic0 addr 0x5d
> spdmem0: DDR SDRAM (registered), data ECC, 1GB, 286MHz (PC-2300)
> spdmem1 at iic0 addr 0x5e
> spdmem1: DDR SDRAM (registered), data ECC, 1GB, 286MHz (PC-2300)
> clock-generator at iic0 addr 0x69 not configured
> power at ebus0 addr 800-82f ipl 20 not configured
> com0 at ebus0 addr 3f8-3ff ipl 2c: ns16550a, working fifo
> com0: console
> com1 at ebus0 addr 2e8-2ef ipl 2c: ns16550a, working fifo
> dma at ebus0 addr 0-ffff not configured
> alipm0 at pci2 dev 6 function 0: 223KHz clock
> iic1 at alipm0: I2C bus
> card-reader at iic1 addr 0x20 not configured
> autri0 at pci2 dev 8 function 0: Acer Labs M5451 AC-Link Controller Audio Device (rev. 0x02)
> autri0: interrupting at ivec 7a4
> autri0: ac97: Analog Devices AD1881A codec; headphone, Analog Devices Phat Stereo
> audio0 at autri0: full duplex, playback, capture, mmap, independent
> midi0 at autri0: 4DWAVE MIDI UART
> ohci0 at pci2 dev 10 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
> ohci0: interrupting at ivec 7a7
> ohci0: OHCI version 1.0, legacy support
> usb0 at ohci0: USB revision 1.0
> ohci1 at pci2 dev 11 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
> ohci1: interrupting at ivec 7a6
> ohci1: OHCI version 1.0, legacy support
> usb1 at ohci1: USB revision 1.0
> aceride0 at pci2 dev 13 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc4)
> aceride0: using ivec 1f98 for native-PCI interrupt
> atabus0 at aceride0 channel 0
> atabus1 at aceride0 channel 1
> esiop2 at pci2 dev 2 function 0: Symbios Logic 53c875 (ultra-wide scsi)
> esiop2: using on-board RAM
> esiop2: interrupting at ivec 1f8c
> scsibus2 at esiop2: 16 targets, 8 luns per target
> ppb0 at pci2 dev 4 function 0: Texas Instruments product 0xac23 (rev. 0x02)
> pci3 at ppb0 bus 1
> ohci2 at pci3 dev 8 function 0: NEC USB Host Controller (rev. 0x43)
> ohci2: interrupting at ivec 794
> ohci2: OHCI version 1.0
> usb2 at ohci2: USB revision 1.0
> ohci3 at pci3 dev 8 function 1: NEC USB Host Controller (rev. 0x43)
> ohci3: interrupting at ivec 795
> ohci3: OHCI version 1.0
> usb3 at ohci3: USB revision 1.0
> ehci0 at pci3 dev 8 function 2: NEC USB2 Host Controller (rev. 0x04)
> ehci0: interrupting at ivec 796
> ehci0: companion controllers, 3 ports each: ohci2 ohci3
> usb4 at ehci0: USB revision 2.0
> fwohci0 at pci3 dev 11 function 0: Texas Instruments TSB43AA23 IEEE 1394 Host Controller (rev. 0x00)
> fwohci0: interrupting at ivec 797
> fwohci0: OHCI version 1.10 (ROM=1)
> fwohci0: No. of Isochronous channels is 4.
> fwohci0: EUI64 00:05:16:00:00:40:3a:85
> fwohci0: Phy 1394a available S400, 3 ports.
> fwohci0: Link S400, max_rec 2048 bytes.
> ieee1394if0 at fwohci0: IEEE1394 bus
> fwip0 at ieee1394if0: IP over IEEE1394
> fwohci0: Initiate bus reset
> ppm at mainbus0 not configured
> schizo3 at mainbus0: addr 4000ff00000: "Tomatillo", version 0, ign 7c0, bus B 0 to 0
> schizo3:  pci4 at schizo3
> wcfb0 at pci4 dev 2 function 0: 3D Labs WILDCAT 5110 (rev. 0x01)
> i2c at mainbus0 not configured
> pcons at mainbus0 not configured
> fwohci0: BUS reset
> fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
> ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
> ieee1394if0: bus manager 0
> No counter-timer -- using %stick at 12MHz as system clock.
> scsibus0: waiting 2 seconds for devices to settle...
> scsibus1: waiting 2 seconds for devices to settle...
> scsibus2: waiting 2 seconds for devices to settle...
> atapibus0 at atabus1: 2 targets
> cd0 at atapibus0 drive 0: <JLMS XJ-HD166S, , D3S4> cdrom removable
> uhub0 at usb0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1 at usb2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2 at usb1: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub3 at usb3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub4 at usb4: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST336607LSUN36G, 0507> disk fixed
> sd0: 34732 MB, 24622 cyl, 27 head, 107 sec, 512 bytes/sect x 71132959 sectors
> sd0: sync (12.50ns offset 62), 16-bit (160.000MB/s) transfers, tagged queueing
> sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST336607LSUN36G, 0307> disk fixed
> sd1: 34732 MB, 24622 cyl, 27 head, 107 sec, 512 bytes/sect x 71132959 sectors
> sd1: sync (12.50ns offset 62), 16-bit (160.000MB/s) transfers, tagged queueing
> rndattach: maxcpu = 32
> root on bge0
> nfs_boot: trying DHCP/BOOTP
> (bge0: PCI 2.2 DMA setting)
> nfs_boot: DHCP next-server: 192.168.1.5
> nfs_boot: my_domain=execsw.org
> nfs_boot: my_addr=192.168.1.36
> nfs_boot: my_mask=255.255.255.0
> nfs_boot: gateway=192.168.1.1
> root on 192.168.1.5:/var/diskless/sparc64-current/root
> root file system type: nfs
> #





-- 
-----------------------------------------------
                 SAITOH Masanobu ([email protected]
                                  [email protected])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.