DHCP question

View: New views
9 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Re: DHCP question

by Stuart Henderson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-07-23, Hari <innomotive@...> wrote:

> On Wed, Jul 23, 2008 at 6:16 PM, Robert Blacquiere
><guldan@...> wrote:
>> I thing here is the real problem. It seems the fxp0 interface fails to
>> do some initializing. This probably results in the interface not being
>> fully enabled/up.
>>
>> I'me not sure what SCB is but i think is related to signaling / irq ?
>>
>> Do you see this also with the bsd.rd kernel? Please look if there are
>> differences between the to in dmesg and ifconfig fxp0 ?
>
> I checked dmesg and the output of 'ifconfig fxp0 up'. There is no
> difference. The only time out messages listed in dmesg are from fxp0
> (dmesg | grep -i time).
>
> How do I check the SCB thing with the bsd.rd kernel?

Please post full unedited dmesg from bsd.rd and from bsd.

Since you have no network with bsd, but you do have network with
bsd.rd, you can write a file with bsd e.g. "dmesg > /dmesg.bsd",
then boot bsd.rd and interrupt the installation. Mount the disk,
e.g. "mount /dev/wd0a /mnt", then you can run dhclient manually
("dhclient fxp0"). Save the bsd.rd dmesg too, use ftp to upload
them both to another machine.

Alternatively just use serial console if you have the right
cable.


Re: DHCP question

by Stuart Henderson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-07-23, Tomas Bodzar <Tomas.Bodzar@...> wrote:
> Eh,I missed something.Look at /etc/hosts and $hostname
> Why is localhost.WORKGROUP localhost in /etc/hosts and

that's based on the domain names you received by dhcp.

> mercury.my.domain in $hostname ?

and that's based on responses to questions during installation.

/etc/hosts should have a FQDN which matches whatever your
hostname is set as pointing at 127.0.0.1.


Re: DHCP question

by Paul de Weerd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 23, 2008 at 11:24:58AM +0000, Stuart Henderson wrote:
| > I checked dmesg and the output of 'ifconfig fxp0 up'. There is no
| > difference. The only time out messages listed in dmesg are from fxp0
| > (dmesg | grep -i time).
| >
| > How do I check the SCB thing with the bsd.rd kernel?
|
| Please post full unedited dmesg from bsd.rd and from bsd.
|
| Since you have no network with bsd, but you do have network with
| bsd.rd, you can write a file with bsd e.g. "dmesg > /dmesg.bsd",
| then boot bsd.rd and interrupt the installation. Mount the disk,
| e.g. "mount /dev/wd0a /mnt", then you can run dhclient manually
| ("dhclient fxp0"). Save the bsd.rd dmesg too, use ftp to upload
| them both to another machine.
|
| Alternatively just use serial console if you have the right
| cable.

Saving these files to a floppy (for the oldtimers) or USB attached
storage has proven quite useful for me.

Cheers,

Paul 'WEiRD' de Weerd

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 


Re: DHCP question

by Henning Brauer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

the amount of bad advice in this thread is incredible.

fxp0 works in bsd.rd, doesn't with bsd.
now what is the biggest difference that affects things like interrupt
routing between those? rrrright, ACPI.

lots of work has been done in the area, so please grab 4.4-beta fron
the snapshots dir on ftp and try that. if that still doesn't work, get
us full dmesgs as stuart already outlined.

--
Henning Brauer, hb@..., henning@...
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam


Re: DHCP question

by Hari-26 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 23, 2008 at 9:28 PM, Henning Brauer <lists-openbsd@...> wrote:
> ..., so please grab 4.4-beta fron
> the snapshots dir on ftp and try that. if that still doesn't work, get
> us full dmesgs as stuart already outlined.

I tried with OpenBSD4.4 beta (July 22, 2008) install. Still facing the
same network problem.

Attached are the dmesgs for bsd.rd and bsd for OpenBSD4.4-latest.

Hari

[demime 1.01d removed an attachment of type application/octet-stream which had a name of dmesg.44.bsd.out]

[demime 1.01d removed an attachment of type application/octet-stream which had a name of dmesg.44.bsd.rd.out]


Re: DHCP question

by Stuart Henderson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

fxp0: warning: SCB timed out (x 3)
fxp0: config command timeout

----- Forwarded message from Hari <innomotive@...> -----

From: Hari <innomotive@...>
Date: Fri, 25 Jul 2008 09:46:28 +0900
To: Stuart Henderson <stu@...>
Subject: Re: DHCP question

On Thu, Jul 24, 2008 at 7:31 PM, Stuart Henderson <stu@...> wrote:
> misc@ doesn't take attachments, those need to be inline

Thought as much...apologies. Here are the dmesgs for the virgin system.

bsd.rd:
<begin>
OpenBSD 4.4-beta (RAMDISK_CD) #824: Tue Jul 22 18:29:32 MDT 2008
    deraadt@...:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Celeron(R) CPU 2.66GHz ("GenuineIntel" 686-class) 2.67 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CNXT-ID,CX16,xTPR
real mem  = 526516224 (502MB)
avail mem = 502517760 (479MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/02/05, BIOS32 rev. 0 @
0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (62 entries)
bios0: vendor Dell Inc. version "A01" date 11/02/2005
bios0: Dell Inc. Dell DC051
apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeb00/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xa800! 0xca800/0x1800!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915G Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel 82915G Video" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
"Intel 82801FB HD Audio" rev 0x04 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: irq 11
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x04
pci2 at ppb1 bus 2
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: irq 9
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: irq 5
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: irq 4
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: irq 3
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: irq 9
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd4
pci3 at ppb2 bus 3
fxp0 at pci3 dev 8 function 0 "Intel 82801FB LAN" rev 0x04, i82562:
irq 10, address 00:16:76:13:ad:54
inphy0 at fxp0 phy 1: i82562G 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CDRWDVD TS-H492C, DE02> ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x04: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <WDC WD800JD-75MSA1>
wd0: 16-sector PIO, LBA48, 76293MB, 156250000 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
"Intel 82801FB SMBus" rev 0x04 at pci0 dev 31 function 3 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
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, using wsdisplay0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask f7fd netmask f7fd ttymask ffff
rd0: fixed, 3800 blocks
uhidev0 at uhub1 port 1 configuration 1 interface 0 "vendor 0x0461 USB
Optical Mouse" rev 2.00/2.00 addr 2
uhidev0: iclass 3/1
uhid at uhidev0 not configured
uhidev1 at uhub1 port 2 configuration 1 interface 0 "Dell Dell USB
Keyboard" rev 1.10/2.00 addr 3
uhidev1: iclass 3/1
ukbd0 at uhidev1
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
softraid0 at root
root on rd0a swap on rd0b dump on rd0b
umass0 at uhub0 port 5 configuration 1 interface 0 "BUFFALO USB Flash
Disk" rev 2.00/40.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <BUFFALO, USB Flash Disk, 4000> SCSI0
0/direct removable
sd0: 1920MB, 244 cyl, 255 head, 63 sec, 512 bytes/sec, 3932160 sec total
<end>

bsd:
<begin>
OpenBSD 4.4-beta (GENERIC) #985: Tue Jul 22 18:14:49 MDT 2008
    deraadt@...:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 2.66GHz ("GenuineIntel" 686-class) 2.67 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CNXT-ID,CX16,xTPR
real mem  = 526516224 (502MB)
avail mem = 500867072 (477MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/02/05, BIOS32 rev. 0 @
0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (62 entries)
bios0: vendor Dell Inc. version "A01" date 11/02/2005
bios0: Dell Inc. Dell DC051
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeb00/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xa800! 0xca800/0x1800!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915G Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel 82915G Video" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xc0000000, size 0x10000000
azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04: irq 11
azalia0: codec[s]: Sigmatel STAC9200
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: irq 11
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x04
pci2 at ppb1 bus 2
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: irq 9
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: irq 5
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: irq 4
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: irq 3
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: irq 9
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd4
pci3 at ppb2 bus 3
fxp0 at pci3 dev 8 function 0 "Intel 82801FB LAN" rev 0x04, i82562:
irq 10, address 00:16:76:13:ad:54
inphy0 at fxp0 phy 1: i82562G 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CDRWDVD TS-H492C, DE02> ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x04: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <WDC WD800JD-75MSA1>
wd0: 16-sector PIO, LBA48, 76293MB, 156250000 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: irq 10
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 256MB DDR2 SDRAM non-parity PC2-4200CL5
spdmem1 at iic0 addr 0x52: 256MB DDR2 SDRAM non-parity PC2-4200CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
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, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask f7fd netmask f7fd ttymask ffff
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 1 configuration 1 interface 0 "Primax
Electronics USB Optical Mouse" rev 2.00/2.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub1 port 2 configuration 1 interface 0 "Dell Dell USB
Keyboard" rev 1.10/2.00 addr 3
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
fxp0: warning: SCB timed out
fxp0: warning: SCB timed out
fxp0: warning: SCB timed out
fxp0: config command timeout
fxp0: warning: SCB timed out
fxp0: warning: SCB timed out
fxp0: warning: SCB timed out
fxp0: config command timeout
fxp0: warning: SCB timed out
fxp0: warning: SCB timed out
fxp0: warning: SCB timed out
fxp0: config command timeout
<end>

Hari

----- End forwarded message -----


Re: DHCP question

by Henning Brauer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Hari <innomotive@...> [2008-07-24 04:44]:
> On Wed, Jul 23, 2008 at 9:28 PM, Henning Brauer <lists-openbsd@...> wrote:
> > ..., so please grab 4.4-beta fron
> > the snapshots dir on ftp and try that. if that still doesn't work, get
> > us full dmesgs as stuart already outlined.
>
> I tried with OpenBSD4.4 beta (July 22, 2008) install. Still facing the
> same network problem.
>
> Attached are the dmesgs for bsd.rd and bsd for OpenBSD4.4-latest.

the list doesn't take attachments.

if that still doesn't work... after install, at the boot> prompt, do
"boot -c", and the the upcoming UKC> prompt do a "disable acpi"
followed by "quit"
once the system is running send dmesgs with and without acpi and
acpidump output (forgot exact instructions, ask list archives) to
marco@ and jordan@ openbsd.org

--
Henning Brauer, hb@..., henning@...
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam


Re: DHCP question

by Hari-26 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jul 25, 2008 at 6:07 PM, Henning Brauer <lists-openbsd@...> wrote:
> if that still doesn't work... after install, at the boot> prompt, do
> "boot -c", and the the upcoming UKC> prompt do a "disable acpi"
> followed by "quit"
> once the system is running send dmesgs with and without acpi and
> acpidump output (forgot exact instructions, ask list archives) to
> marco@ and jordan@ openbsd.org
>
> Henning Brauer

Hello. Apologies for the relatively late reply.

I was kinda hoping that OpenBSD would run OOTB on this. However, from
the looks of it, might take sometime to get it working. Since our team
is on a clock, I got 4.3 CD working on another computer without any
problems. Everything works OOTB and we have set that up for our needs.

As and when time permits, I shall try and follow up on this network
problem. As an aside, would a different NIC solve this problem?

Hari


Re: DHCP question

by Henning Brauer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Hari <innomotive@...> [2008-07-29 02:52]:
> problem. As an aside, would a different NIC solve this problem?

no. you have interrupt routing problems.

--
Henning Brauer, hb@..., henning@...
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam

< Prev | 1 - 2 | Next >
LightInTheBox - Buy quality products at wholesale price!