Re: sparc 5.2-beta bsd.rd doesn't get IP address from DHCP

Justin Haynes <[email protected]>
Newsgroups gmane.os.openbsd.sparc
Message-ID <[email protected]>
I guess the bsd.rd would not have your root disk's /etc/hostname.le0 as root
for your bsd.rd is on rd0a.   Does that file on your root disk, sd0a have
media specified?  Perhaps you need to issue ifconfig le0 media <????> at
bsd.rd?

Sent from my iPhone

On Jul 4, 2012, at 2:17 AM, "Sebastian Reitenbach"
<[email protected]> wrote:

> Hi,
>
> just tried to install from the fresh 5.2-beta bsd.rd, but it doesn't get an
IP address via DHCP.
> It seems to have a problem to detect the link on the le0 interface.
> Booting back with the 5.1-current, normal bsd GENERIC, it just works.
> see both dmesgs below.
>
> Rebooting with command: disk bsd.rd
> Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0  File and
args: bsd.rd
>>> OpenBSD BOOT 2.6
> Booting bsd.rd
> Loading at physical address 400000
> 3329948+409020=0x390ea0
> console is ttya
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>        The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2012 OpenBSD. All rights reserved.
http://www.OpenBSD.org
>
> OpenBSD 5.2-beta (RAMDISK) #9: Wed Jun 27 18:30:54 MDT 2012
>    [email protected]:/usr/src/sys/arch/sparc/compile/RAMDISK
> real mem = 200937472 (191MB)
> avail mem = 193236992 (184MB)
> mainbus0 at root: SUNW,SPARCstation-5
> cpu0 at mainbus0: MB86907 @ 170 MHz, on-chip FPU
> cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 512K external (32 b/l)
DVMA coherent cache enabled
> obio0 at mainbus0
> clock0 at obio0 addr 0x71200000: mk48t08 (eeprom)
> timer0 at obio0 addr 0x71d00000 delay constant 82
> zs0 at obio0 addr 0x71100000 pri 12, softpri 6
> zstty0 at zs0 channel 0: console
> zstty1 at zs0 channel 1
> zs1 at obio0 addr 0x71000000 pri 12, softpri 6
> zskbd0 at zs1 channel 0: no keyboard
> zstty2 at zs1 channel 1: mouse
> slavioconfig at obio0 addr 0x71800000 not configured
> auxreg0 at obio0 addr 0x71900000
> power0 at obio0 addr 0x71910000
> fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077
> iommu0 at mainbus0 addr 0x10000000: version 0x5/0x0, page-size 4096, range
64MB
> sbus0 at iommu0: 21.250 MHz
> dma0 at sbus0 slot 5 offset 0x8400000: rev 2
> esp0 at dma0 offset 0x8800000 pri 4: ESP200, 40MHz
> scsibus0 at esp0: 8 targets, initiator 7
> cd0 at scsibus0 targ 2 lun 0: <MATSHITA, CD-ROM CR-504, ST23> SCSI2 5/cdrom
removable
> sd0 at scsibus0 targ 3 lun 0: <IBM, DCAS32160SUN2.1G, S60B> SCSI2 0/direct
fixed serial.IBM_DCAS32160SUN2.1GF2583160_
> sd0: 2063MB, 512 bytes/sector, 4226725 sectors
> "SUNW,bpp" at sbus0 slot 5 offset 0xc800000 not configured
> ledma0 at sbus0 slot 5 offset 0x8400010: rev 2
> le0 at ledma0 offset 0x8c00000 pri 6: address 08:00:20:89:d9:b5
> le0: 16 receive buffers, 4 transmit buffers
> "SUNW,CS4231" at sbus0 class serial slot 4 offset 0xc000000 not configured
> "power-management" at sbus0 slot 4 offset 0xa000000 not configured
> cgsix0 at sbus0 slot 3 offset 0x0 pri 9: SUNW,501-2325, 1152x900, rev 11
> wsdisplay0 at cgsix0
> wsdisplay0: screen 0 added (std, sun emulation)
> bootpath:
/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@3,0
> root on rd0a swap on rd0b dump on rd0b
> erase ^?, werase ^W, kill ^U, intr ^C, status ^T
>
> Welcome to the OpenBSD/sparc 5.2 installation program.
> (I)nstall, (U)pgrade or (S)hell? i
> At any prompt except password prompts you can escape to a shell by
> typing '!'. Default answers are shown in []'s and are selected by
> pressing RETURN.  You can exit this program at any time by pressing
> Control-C, but this can leave your system in an inconsistent state.
>
> Terminal type? [sun]
> System hostname? (short form, e.g. 'foo') warbird
>
> Available network interfaces are: le0.
> Which one do you wish to configure? (or 'done') [le0]
> IPv4 address for le0? (or 'dhcp' or 'none') [dhcp]
> Issuing hostname-associated DHCP request for le0.
> le0: no link ............. sleeping
> Issuing free-roaming DHCP request for le0.
> le0: no link ............. sleeping
> Available network interfaces are: le0.
> Which one do you wish to configure? (or 'done') [le0]
>
>>> OpenBSD BOOT 2.6
> Booting bsd
> Loading at physical address 400000
> 3237020+481972 [52+150528+132973]=0x3d1468
> [ using 283928 bytes of bsd ELF symbol table ]
> console is ttya
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>        The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2012 OpenBSD. All rights reserved.
http://www.OpenBSD.org
>
> uvm_km_kmem_grow: grown to 0xfe000000
> OpenBSD 5.1-current (GENERIC) #62: Sun May 27 12:05:06 MDT 2012
>    [email protected]:/usr/src/sys/arch/sparc/compile/GENERIC
> real mem = 200933376 (191MB)
> avail mem = 192966656 (184MB)
> mainbus0 at root: SUNW,SPARCstation-5
> cpu0 at mainbus0: MB86907 @ 170 MHz, on-chip FPU
> cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 512K external (32 b/l)
DVMA coherent cache enabled
> obio0 at mainbus0
> clock0 at obio0 addr 0x71200000: mk48t08 (eeprom)
> timer0 at obio0 addr 0x71d00000 delay constant 82
> zs0 at obio0 addr 0x71100000 pri 12, softpri 6
> zstty0 at zs0 channel 0: console
> zstty1 at zs0 channel 1
> zs1 at obio0 addr 0x71000000 pri 12, softpri 6
> zskbd0 at zs1 channel 0: no keyboard
> zsms0 at zs1 channel 1
> wsmouse0 at zsms0 mux 0
> slavioconfig at obio0 addr 0x71800000 not configured
> auxreg0 at obio0 addr 0x71900000
> power0 at obio0 addr 0x71910000
> fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077
> iommu0 at mainbus0 addr 0x10000000: version 0x5/0x0, page-size 4096, range
64MB
> sbus0 at iommu0: 21.250 MHz
> dma0 at sbus0 slot 5 offset 0x8400000: rev 2
> esp0 at dma0 offset 0x8800000 pri 4: ESP200, 40MHz
> scsibus0 at esp0: 8 targets, initiator 7
> cd0 at scsibus0 targ 2 lun 0: <MATSHITA, CD-ROM CR-504, ST23> SCSI2 5/cdrom
removable
> sd0 at scsibus0 targ 3 lun 0: <IBM, DCAS32160SUN2.1G, S60B> SCSI2 0/direct
fixed serial.IBM_DCAS32160SUN2.1GF2583160_
> sd0: 2063MB, 512 bytes/sector, 4226725 sectors
> bpp0 at sbus0 slot 5 offset 0xc800000: DMA2
> ledma0 at sbus0 slot 5 offset 0x8400010: rev 2
> le0 at ledma0 offset 0x8c00000 pri 6: address 08:00:20:89:d9:b5
> le0: 16 receive buffers, 4 transmit buffers
> audiocs0 at sbus0 slot 4 offset 0xc000000 pri 9
> audio0 at audiocs0
> "power-management" at sbus0 slot 4 offset 0xa000000 not configured
> cgsix0 at sbus0 slot 3 offset 0x0 pri 9: SUNW,501-2325, 1152x900, rev 11
> wsdisplay0 at cgsix0 mux 1
> wsdisplay0: screen 0 added (std, sun emulation)
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> bootpath:
/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@3,0
> root on sd0a (767d44393957fabc.a) swap on sd0b dump on sd0b
> Automatic boot in progress: starting file system checks.
> /dev/sd0a (767d44393957fabc.a): file system is clean; not checking
> /dev/sd0e (767d44393957fabc.e): file system is clean; not checking
> /dev/sd0d (767d44393957fabc.d): file system is clean; not checking
> setting tty flags
> pf enabled
> starting network
> DHCPREQUEST on le0 to 255.255.255.255 port 67
> DHCPACK from 10.0.0.27 (00:00:24:c9:d4:98)
> bound to 10.0.0.25 -- renewal in 21600 seconds.
> starting early daemons: syslogd pflogd ntpd.
> starting RPC daemons:.
> savecore: no core dump
> ...
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.