WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Random Mac addresses on Dom0

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Random Mac addresses on Dom0
From: "Greg Miller" <greg@xxxxxxxxxxxx>
Date: Thu, 29 May 2008 12:00:20 -0600
Delivery-date: Thu, 29 May 2008 11:01:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjBs5H29aDyztFnR221WoTPMhuADg==

I am running Centos 5.1 and have built Xen 3.2.1 from mercurial. It starts fine but uses a random Mac on every restart resulting in a new IP on every reboot as well. Is there a solution? I would prefer the h/w mac for the interface. Other info: AMD x2-4200, 4GB RAM, SATA, single Ethernet (nForce/forcedeth)

 

My guess is that modules are loading in the wrong order, but I have no idea what the proper order would be or how to specify that.

 

Greg

 

 [root@localhost lib]# dmesg

Linux version 2.6.18.8-xen (root@xxxxxxxxxxxxxxxx) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #4 SMP Sun May 25 16:08:07 MDT 2008

BIOS-provided physical RAM map:

 Xen: 0000000000000000 - 000000001fc00000 (usable)

0MB HIGHMEM available.

508MB LOWMEM available.

NX (Execute Disable) protection: active

On node 0 totalpages: 130048

  DMA zone: 4096 pages, LIFO batch:0

  Normal zone: 125952 pages, LIFO batch:31

found SMP MP-table at 000ff780

DMI present.

ACPI: RSDP (v000 ACPIAM                                ) @ 0x000f93e0

ACPI: RSDT (v001 A M I  OEMRSDT  0x08000731 MSFT 0x00000097) @ 0xbbfd0000

ACPI: FADT (v002 A M I  OEMFACP  0x08000731 MSFT 0x00000097) @ 0xbbfd0200

ACPI: MADT (v001 A M I  OEMAPIC  0x08000731 MSFT 0x00000097) @ 0xbbfd0390

ACPI: MCFG (v001 A M I  OEMMCFG  0x08000731 MSFT 0x00000097) @ 0xbbfd0400

ACPI: OEMB (v001 A M I  AMI_OEM  0x08000731 MSFT 0x00000097) @ 0xbbfde040

ACPI: HPET (v001 A M I  OEMHPET0 0x08000731 MSFT 0x00000097) @ 0xbbfd47e0

ACPI: SSDT (v001 A M I  POWERNOW 0x00000001 AMD  0x00000001) @ 0xbbfd4820

ACPI: DSDT (v001  1ADMB 1ADMB006 0x00000006 INTL 0x20051117) @ 0x00000000

ACPI: Local APIC address 0xfee00000

ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)

ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)

ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])

IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23

ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)

ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)

ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)

ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)

ACPI: IRQ0 used by override.

ACPI: IRQ2 used by override.

ACPI: IRQ9 used by override.

ACPI: IRQ14 used by override.

ACPI: IRQ15 used by override.

Enabling APIC mode:  Flat.  Using 1 I/O APICs

Using ACPI (MADT) for SMP configuration information

Allocating PCI resources starting at c0000000 (gap: bc000000:42c00000)

Detected 2210.175 MHz processor.

Built 1 zonelists.  Total pages: 130048

Kernel command line: ro root=/dev/VolGroup01/LogVol00 console=tty0

Enabling fast FPU save and restore... done.

Enabling unmasked SIMD FPU exception support... done.

Initializing CPU#0

CPU 0 irqstacks, hard=c131d000 soft=c12fd000

PID hash table entries: 2048 (order: 11, 8192 bytes)

Xen reported: 2210.212 MHz processor.

Console: colour VGA+ 80x25

Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

Software IO TLB enabled:

 Aperture:     64 megabytes

 Kernel range: c1eec000 - c5eec000

 Address size: 27 bits

vmalloc area: e0800000-f4ffe000, maxmem 2d7fe000

Memory: 429176k/520192k available (2012k kernel code, 82640k reserved, 833k data, 176k init, 0k highmem)

Checking if this processor honours the WP bit even in supervisor mode... Ok.

Calibrating delay using timer specific routine.. 4422.27 BogoMIPS (lpj=8844559)

Security Framework v1.0.0 initialized

SELinux:  Initializing.

SELinux:  Starting in permissive mode

selinux_register_security:  Registering secondary module capability

Capability LSM initialized as secondary

Mount-cache hash table entries: 512

CPU: After generic identify, caps: 17899375 c3d19375 00000000 00000000 00000001 00000000 0000001a

CPU: After vendor identify, caps: 17899375 c3d19375 00000000 00000000 00000001 00000000 0000001a

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 512K (64 bytes/line)

CPU: After all inits, caps: 17899375 c3d19375 00000000 00000410 00000001 00000000 0000001a

Checking 'hlt' instruction... OK.

SMP alternatives: switching to UP code

ACPI: Core revision 20060707

CPU 1 irqstacks, hard=c131e000 soft=c12fe000

ENABLING IO-APIC IRQs

SMP alternatives: switching to SMP code

Brought up 2 CPUs

Initializing CPU#1

CPU: After generic identify, caps: 17899375 c3d19375 00000000 00000000 00000001 00000000 0000001a

CPU: After vendor identify, caps: 17899375 c3d19375 00000000 00000000 00000001 00000000 0000001a

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 512K (64 bytes/line)

CPU: After all inits, caps: 17899375 c3d19375 00000000 00000410 00000001 00000000 0000001a

migration_cost=117

checking if image is initramfs... it is

Freeing initrd memory: 6718k freed

NET: Registered protocol family 16

ACPI: bus type pci registered

PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved

PCI: Not using MMCONFIG.

PCI: Using configuration type 1

Setting up standard PCI resources

ACPI: Interpreter enabled

ACPI: Using IOAPIC for interrupt routing

Error attaching device data

Error attaching device data

ACPI: PCI Root Bridge [PCI0] (0000:00)

PCI: Probing PCI hardware (bus 00)

Boot video device is 0000:00:0d.0

PCI: Transparent bridge - 0000:00:04.0

ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]

ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]

ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR10._PRT]

ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR11._PRT]

ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR12._PRT]

ACPI: PCI Interrupt Link [LNKA] (IRQs 16 17 18 19) *0, disabled.

ACPI: PCI Interrupt Link [LNKB] (IRQs 16 17 18 19) *0, disabled.

ACPI: PCI Interrupt Link [LNKC] (IRQs 16 17 18 19) *0, disabled.

ACPI: PCI Interrupt Link [LNKD] (IRQs 16 17 18 19) *0, disabled.

ACPI: PCI Interrupt Link [LNEA] (IRQs 16 17 18 19) *0, disabled.

ACPI: PCI Interrupt Link [LNEB] (IRQs 16 17 18 19) *0, disabled.

ACPI: PCI Interrupt Link [LNEC] (IRQs 16 17 18 19) *0, disabled.

ACPI: PCI Interrupt Link [LNED] (IRQs 16 17 18 19) *0, disabled.

ACPI: PCI Interrupt Link [LUB0] (IRQs 20 21 22 23) *5

ACPI: PCI Interrupt Link [LUB2] (IRQs 20 21 22 23) *7

ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *11

ACPI: PCI Interrupt Link [LAZA] (IRQs 20 21 22 23) *10

ACPI: PCI Interrupt Link [LACI] (IRQs 20 21 22 23) *0, disabled.

ACPI: PCI Interrupt Link [LMC9] (IRQs 20 21 22 23) *10

ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *11

ACPI: PCI Interrupt Link [LPMU] (IRQs 20 21 22 23) *0, disabled.

ACPI: PCI Interrupt Link [LSA0] (IRQs 20 21 22 23) *5

ACPI: PCI Interrupt Link [LSA1] (IRQs 20 21 22 23) *0, disabled.

ACPI: PCI Interrupt Link [LATA] (IRQs 20 21 22 23) *0, disabled.

Linux Plug and Play Support v0.97 (c) Adam Belay

pnp: PnP ACPI init

pnp: PnP ACPI: found 12 devices

xen_mem: Initialising balloon driver.

usbcore: registered new driver usbfs

usbcore: registered new driver hub

PCI: Using ACPI for IRQ routing

PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report

pnp: 00:09: ioport range 0xa00-0xadf has been reserved

pnp: 00:09: ioport range 0xae0-0xaef has been reserved

PCI: Bridge: 0000:00:04.0

  IO window: disabled.

  MEM window: disabled.

  PREFETCH window: disabled.

PCI: Bridge: 0000:00:09.0

  IO window: disabled.

  MEM window: disabled.

  PREFETCH window: disabled.

PCI: Bridge: 0000:00:0b.0

  IO window: disabled.

  MEM window: disabled.

  PREFETCH window: disabled.

PCI: Bridge: 0000:00:0c.0

  IO window: disabled.

  MEM window: disabled.

  PREFETCH window: disabled.

PCI: Setting latency timer of device 0000:00:04.0 to 64

PCI: Setting latency timer of device 0000:00:09.0 to 64

PCI: Setting latency timer of device 0000:00:0b.0 to 64

PCI: Setting latency timer of device 0000:00:0c.0 to 64

NET: Registered protocol family 2

IP route cache hash table entries: 4096 (order: 2, 16384 bytes)

TCP established hash table entries: 16384 (order: 5, 131072 bytes)

TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

TCP: Hash tables configured (established 16384 bind 8192)

TCP reno registered

audit: initializing netlink socket (disabled)

audit(1212069455.156:1): initialized

VFS: Disk quotas dquot_6.5.1

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

SELinux:  Registering netfilter hooks

Initializing Cryptographic API

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered (default)

PCI: Setting latency timer of device 0000:00:09.0 to 64

pcie_portdrv_probe->Dev[03e8:10de] has invalid IRQ. Check vendor BIOS

assign_interrupt_mode Found MSI capability

Allocate Port Service[0000:00:09.0:pcie00]

PCI: Setting latency timer of device 0000:00:0b.0 to 64

pcie_portdrv_probe->Dev[03e9:10de] has invalid IRQ. Check vendor BIOS

assign_interrupt_mode Found MSI capability

Allocate Port Service[0000:00:0b.0:pcie00]

PCI: Setting latency timer of device 0000:00:0c.0 to 64

pcie_portdrv_probe->Dev[03e9:10de] has invalid IRQ. Check vendor BIOS

assign_interrupt_mode Found MSI capability

Allocate Port Service[0000:00:0c.0:pcie00]

pci_hotplug: PCI Hot Plug PCI Core version: 0.5

Real Time Clock Driver v1.12ac

hpet_acpi_add: no address or irqs in _CRS

Non-volatile memory driver v1.2

Linux agpgart interface v0.101 (c) Dave Jones

RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize

Xen virtual console successfully installed as xvc0

Event-channel device installed.

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

NFORCE-MCP61: IDE controller at PCI slot 0000:00:06.0

NFORCE-MCP61: chipset revision 162

NFORCE-MCP61: not 100% native mode: will probe irqs later

NFORCE-MCP61: 0000:00:06.0 (rev a2) UDMA133 controller

    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA

Probing IDE interface ide0...

hda: Maxtor 4R120L0, ATA DISK drive

hdb: LITEON DVD-ROM LTD163D, ATAPI CD/DVD-ROM drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

Probing IDE interface ide1...

hda: max request size: 128KiB

hda: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)

hda: cache flushes supported

 hda: hda1 hda2

ide-floppy driver 0.99.newide

usbcore: registered new driver hiddev

usbcore: registered new driver usbhid

/usr/src/xen-3.2-testing.hg/linux-2.6.18-xen.hg/drivers/usb/input/hid-core.c: v2.6:USB HID core driver

PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1

PNP: PS/2 controller doesn't have AUX irq; using default 12

serio: i8042 AUX port at 0x60,0x64 irq 12

serio: i8042 KBD port at 0x60,0x64 irq 1

mice: PS/2 mouse device common for all mice

md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27

md: bitmap version 4.39

TCP bic registered

Initializing IPsec netlink socket

NET: Registered protocol family 1

NET: Registered protocol family 17

Using IPI No-Shortcut mode

Freeing unused kernel memory: 176k freed

Write protecting the kernel read-only data: 367k

input: AT Translated Set 2 keyboard as /class/input/input0

forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.56.

ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23

ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LMAC] -> GSI 23 (level, low) -> IRQ 16

PCI: Setting latency timer of device 0000:00:07.0 to 64

forcedeth: using HIGHDMA

0000:00:07.0: Invalid Mac address detected: 4f:91:e5:db:19:00

Please complain to your hardware vendor. Switching to a random MAC.

eth0: forcedeth.c: subsystem: 01462:7309 bound to 0000:00:07.0

SCSI subsystem initialized

libata version 2.00 loaded.

sata_nv 0000:00:08.0: version 2.0

ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 22

ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LSA0] -> GSI 22 (level, low) -> IRQ 17

PCI: Setting latency timer of device 0000:00:08.0 to 64

ata1: SATA max UDMA/133 cmd 0xE400 ctl 0xE082 bmdma 0xD880 irq 17

ata2: SATA max UDMA/133 cmd 0xE000 ctl 0xDC02 bmdma 0xD888 irq 17

scsi0 : sata_nv

ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

ata1.00: ATA-7, max UDMA/133, 976773168 sectors: LBA48 NCQ (depth 0/32)

ata1.00: ata1: dev 0 multi count 16

ata1.00: configured for UDMA/133

scsi1 : sata_nv

ata2: SATA link down (SStatus 0 SControl 300)

ATA: abnormal status 0x7F on port 0xE007

  Vendor: ATA       Model: ST3500630AS       Rev: 3.AA

  Type:   Direct-Access                      ANSI SCSI revision: 05

SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)

sda: Write Protect is off

sda: Mode Sense: 00 3a 00 00

SCSI device sda: drive cache: write back

SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)

sda: Write Protect is off

sda: Mode Sense: 00 3a 00 00

SCSI device sda: drive cache: write back

 sda: sda1 sda2

sd 0:0:0:0: Attached scsi disk sda

USB Universal Host Controller Interface driver v3.0

ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)

ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 21

ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUB0] -> GSI 21 (level, low) -> IRQ 18

PCI: Setting latency timer of device 0000:00:02.0 to 64

ohci_hcd 0000:00:02.0: OHCI Host Controller

ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1

ohci_hcd 0000:00:02.0: irq 18, io mem 0xdfffb000

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 8 ports detected

ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 20

ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUB2] -> GSI 20 (level, low) -> IRQ 19

PCI: Setting latency timer of device 0000:00:02.1 to 64

ehci_hcd 0000:00:02.1: EHCI Host Controller

ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 2

ehci_hcd 0000:00:02.1: debug port 1

PCI: cache line size of 64 is not supported by device 0000:00:02.1

ehci_hcd 0000:00:02.1: irq 19, io mem 0xdfffac00

ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

usb usb2: configuration #1 chosen from 1 choice

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 8 ports detected

device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@xxxxxxxxxx

kjournald starting.  Commit interval 5 seconds

EXT3-fs: mounted filesystem with ordered data mode.

SELinux:  Disabled at runtime.

SELinux:  Unregistering netfilter hooks

audit(1212069461.924:2): selinux=0 auid=4294967295

hdb: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.20

Floppy drive(s): fd0 is 1.44M

floppy0: Unable to grab DMA2 for the floppy driver

input: PC Speaker as /class/input/input1

sd 0:0:0:0: Attached scsi generic sg0 type 0

floppy0: no floppy controllers found

Floppy drive(s): fd0 is 1.44M

floppy0: Unable to grab DMA2 for the floppy driver

floppy0: no floppy controllers found

lp: driver loaded but no devices found

ACPI: Power Button (FF) [PWRF]

ACPI: Power Button (CM) [PWRB]

ibm_acpi: ec object not found

md: Autodetecting RAID arrays.

md: autorun ...

md: ... autorun DONE.

device-mapper: multipath: version 1.0.4 loaded

EXT3 FS on dm-0, internal journal

kjournald starting.  Commit interval 5 seconds

EXT3 FS on sda1, internal journal

EXT3-fs: mounted filesystem with ordered data mode.

Adding 2031608k swap on /dev/VolGroup01/LogVol01.  Priority:-1 extents:1 across:2031608k

Adding 2031608k swap on /dev/VolGroup00/LogVol01.  Priority:-2 extents:1 across:2031608k

audit(1212069483.088:3): audit_pid=1954 old=0 by auid=4294967295

Bluetooth: Core ver 2.10

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

Bluetooth: L2CAP ver 2.8

Bluetooth: L2CAP socket layer initialized

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: RFCOMM ver 1.8

Bluetooth: HIDP (Human Interface Emulation) ver 1.1

NET: Registered protocol family 10

lo: Disabled Privacy Extensions

IPv6 over IPv4 tunneling driver

Bridge firewalling registered

peth0: Promiscuous mode enabled.

device peth0 entered promiscuous mode

eth0: port 1(peth0) entering learning state

eth0: topology change detected, propagating

eth0: port 1(peth0) entering forwarding state

peth0: Promiscuous mode enabled.

eth0: no IPv6 routers present

peth0: no IPv6 routers present

kjournald starting.  Commit interval 5 seconds

EXT3 FS on dm-2, internal journal

EXT3-fs: mounted filesystem with ordered data mode.

[root@localhost lib]#

 

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.24.3/1472 - Release Date: 5/29/2008 7:27 AM

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>