Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2001 19:38:29 +0100 (CET)
From:      "Hartmann, O." <ohartman@klima.physik.uni-mainz.de>
To:        Glenn Johnson <gjohnson@srrc.ars.usda.gov>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: linux module broken also with patch
Message-ID:  <20011205192049.F26728-100000@klima.physik.uni-mainz.de>
In-Reply-To: <20011205121744.B7038@node1.cluster.srrc.usda.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 5 Dec 2001, Glenn Johnson wrote:

Dear Glenn.

Yes, of course. I approved this two times on all systems after the first
failure! I patched two times and the second time I was asked to patch an
already patched file. Then I started to rebuild the kernel.
In /etc/make.conf I commented out the option to avoid making modules by each
make buildkernel, so that modules are build on each kernel build. I approved
this by looking at the time stamp on the freshly generated files.

Your patch works, yes, I can asure this, but only on one machine with no fxp
interface! Our P4 machine (Dell Precision 340) showed up the same problem
as all other before the patch and after the patch (with the exact same steps
as on the other systems) it works well and shows up it MAC when typing
lmutil lmhostid. But this is not on all systems with the Intel NIC (fxp0).
Definitely not ... I'm sorry not being able to confirm that, but that's the
truth. I post here the dmesg output from one of the SMP machine which has an fxp0
NIC and is not working with your patch and after this I post the dmesg output
of th P4 system that works fine.

Nonworking machine:


Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.4-STABLE #9: Wed Dec  5 16:02:46 CET 2001
    root@klima.physik.uni-mainz.de:/usr/obj/usr/src/sys/KLIMA
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (803.60-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 1073725440 (1048560K bytes)
avail memory = 1041731584 (1017316K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0388000.
Pentium Pro MTRR support enabled
Using $PIR table, 7 entries at 0xc00f12d0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 16 -> irq 10
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <Matrox MGA G200 AGP graphics accelerator> at 0.0 irq 10
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
pci0: <VIA 85C586 ATA controller> at 4.1
sym0: <1010-33> port 0xb800-0xb8ff mem 0xf1800000-0xf1801fff,0xf2000000-0xf20003ff irq 2 at device 9.0 on pci0
sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: handling phase mismatch from SCRIPTS.
sym1: <1010-33> port 0xb400-0xb4ff mem 0xf0800000-0xf0801fff,0xf1000000-0xf10003ff irq 10 at device 9.1 on pci0
sym1: Symbios NVRAM, ID 7, Fast-80, SE, parity checking
sym1: open drain IRQ line driver, using on-chip SRAM
sym1: using LOAD/STORE-based firmware.
sym1: handling phase mismatch from SCRIPTS.
pcib3: <DEC 21154 PCI-PCI bridge> at device 11.0 on pci0
IOAPIC #0 intpin 18 -> irq 11
pci2: <PCI bus> on pcib3
pcib4: <DEC 21154 PCI-PCI bridge> at device 0.0 on pci2
IOAPIC #0 intpin 17 -> irq 13
pci3: <PCI bus> on pcib4
amr0: <AMI MegaRAID> mem 0xf4000000-0xf5ffffff irq 13 at device 0.0 on pci3
amr0: <Series 493 40 Logical Drive Firmware> Firmware F160, BIOS 3.12, 32MB RAM
pci2: <unknown card> (vendor=0x1077, dev=0x1216) at 1.0 irq 11
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x9800-0x983f mem 0xef000000-0xef0fffff,0xef800000-0xef800fff irq 10 at device 12.0 on pci0
fxp0: Ethernet address 00:d0:b7:06:6e:78
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: <Host to PCI bridge> on motherboard
pci4: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc87ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <8 virtual consoles, flags=0x200>
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
sio1: type 16550A
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
DUMMYNET initialized (011031)
IPFW: MOD_LOAD
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, unlimited logging
IPsec: Initialized Security Association Processing.
Waiting 4 seconds for SCSI devices to settle
(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
(noperiph:sym1:0:-1:-1): SCSI BUS reset delivered.
amrd0: <MegaRAID logical drive> on amr0
amrd0: 43735MB (89569280 sectors) RAID 5 (optimal)
SMP: AP CPU #1 Launched!
sa0 at sym0 bus 0 target 4 lun 0
sa0: <HP C5683A C005> Removable Sequential Access SCSI-2 device
sa0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit)
Mounting root from ufs:/dev/amrd0s1a
cd0 at sym1 bus 0 target 3 lun 0
cd0: <TEAC CD-ROM CD-532S 1.0A> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
link_elf: symbol splash_register undefined


Working machine:


Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.4-STABLE #24: Wed Dec  5 18:06:18 CET 2001
    root@stud09.physik.uni-mainz.de:/usr/obj/usr/src/sys/STUD09
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium 4 (1993.94-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,<b28>,ACC>
real memory  = 536309760 (523740K bytes)
avail memory = 517746688 (505612K bytes)
Preloaded elf kernel "kernel" at 0xc03f4000.
Preloaded elf module "agp.ko" at 0xc03f409c.
netsmb_dev: loaded
Using $PIR table, 9 entries at 0xc00fba60
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82850 host to AGP bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=2532)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0113 graphics accelerator> at 0.0 irq 11
pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec80-0xecff mem 0xfe1ffc00-0xfe1ffc7f irq 11 at device 12.0 on pci2
xl0: Ethernet address: 00:06:5b:01:5f:c2
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xff80-0xff9f irq 9 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 10
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xff60-0xff7f irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcm0: <Intel 82801BA (ICH2)> port 0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at device 31.5 on pci0
pcm0: ac97 invalid mode set 0x0008
orm0: <Option ROMs> at iomem 0xc0000-0xca7ff,0xca800-0xcbfff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <8 virtual consoles, flags=0x200>
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0xc on isa0
ppc0: SMC-like chipset (ECP/EPP) in ECP+EPP mode (EPP 1.9)
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0401> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0000> can't assign resources
unknown: <PNP0303> can't assign resources
DUMMYNET initialized (011031)
IPFW: MOD_LOAD
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, unlimited logging
IPsec: Initialized Security Association Processing.
ad0: 38166MB <WDC WD400BB-75CLB0> [77545/16/63] at ata0-master UDMA100
acd0: DVD-ROM <_NEC DV-5800A> at ata1-master using UDMA33
acd1: CD-RW <_NEC CD-RW NR-7800A> at ata1-slave using UDMA33
Mounting root from ufs:/dev/ad0s1a
:>On Wed, Dec 05, 2001 at 06:14:32PM +0100, Hartmann, O. wrote:
:>
:>> Hello.  Today I applied the offered patch for the broken FLEXlm
:>> facility under the Linuxulator. I applied this patch to all of our
:>> systems running FBSD 4.4-STABLE. I recompiled only kernel and loadable
:>> modules and rebooted all machines, but on none the problem went away.
:>>
:>> lmutil lmhostid reports still "" (all machines do have fxp0
:>> interfaces).
:>
:>... snip ...
:>
:>> Puhh ... can anyone report similar experiences?
:>
:>No, I can not report a similar experience.  The patch worked fine for
:>me.  Are you sure you _installed_ the kernel and modules after recompiling
:>them?
:>
:>--
:>Glenn
:>

--
MfG
O. Hartmann

ohartman@klima.physik.uni-mainz.de
----------------------------------------------------------------
IT-Administration des Institutes fuer Physik der Atmosphaere (IPA)
----------------------------------------------------------------
Johannes Gutenberg Universitaet Mainz
Becherweg 21
55099 Mainz

Tel: +496131/3924662 (Maschinenraum)
Tel: +496131/3924144
FAX: +496131/3923532


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011205192049.F26728-100000>