Re: Kernekompilering fejler

From: Lars Bonnesen (none@lars.bonnesen--gmail.com.lh.bsd-dk.dk)
Date: Mon 18 Dec 2006 - 21:10:54 CET


Date: Mon, 18 Dec 2006 21:10:54 +0100
From: "Lars Bonnesen" <none@lars.bonnesen--gmail.com.lh.bsd-dk.dk>
To: bsd-dk@bsd-dk.dk
Subject: Re: Kernekompilering fejler

On 12/18/06, Michael Knudsen <none@e--molioner.dk.lh.bsd-dk.dk> wrote:

> Maa jeg see dmesg fra den oprindelige kerne? Jeg vil ogsaa gerne have
> en fra den den nye, hvis muligt.

Selvfølgelig. Den nye (den der giver problemer), kan jeg ikke lige
lave dmesg. Så skal jeg kopiere den gamle bsd og boote. Det vil jeg
helst undgå, men hvis det er meget nødvendigt, må jeg jo forsøge. Her
er den oprindelige - den, der fungerer:

OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3.01 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,CNXT-ID
real mem = 3345768448 (3267352K)
avail mem = 3060711424 (2988976K)
using 4256 buffers containing 167391232 bytes (163468K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 02/22/06, SMBIOS rev. 2.3 @
0xfd490 (83 entries)
bios0: Intel Corporation D915GUX
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc0000/0xae00!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915G/P/GV Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel 82915G/P/GV PCIE" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel 82915G/P/GV Video" rev 0x04:
aperture at 0xff280000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x03: irq 11
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Realtek ALC880 (rev. 8.0), HDA version 1.0
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
pci2 at ppb1 bus 5
ppb2 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x03
pci3 at ppb2 bus 4
mskc0 at pci3 dev 0 function 0 "Marvell Yukon 88E8050" rev 0x17,
Marvell Yukon-2 EC rev. A2 (0x1): irq 3
msk0 at mskc0 port A, address 00:13:20:80:89:68
eephy0 at msk0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2
ppb3 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03
pci4 at ppb3 bus 3
ppb4 at pci0 dev 28 function 3 "Intel 82801FB PCIE" rev 0x03
pci5 at ppb4 bus 2
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 9
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb5 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd3
pci6 at ppb5 bus 6
em0 at pci6 dev 0 function 0 "Intel PRO/1000MT (82546GB)" rev 0x03:
irq 9, address 00:04:23:d6:ad:84
em1 at pci6 dev 0 function 1 "Intel PRO/1000MT (82546GB)" rev 0x03:
irq 11, address 00:04:23:d6:ad:85
em2 at pci6 dev 1 function 0 "Intel PRO/1000MT (82546GB)" rev 0x03:
irq 11, address 00:04:23:d6:ac:ec
em3 at pci6 dev 1 function 1 "Intel PRO/1000MT (82546GB)" rev 0x03:
irq 9, address 00:04:23:d6:ac:ed
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <ASUS, DVD-E616P3, 1.05> SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x03: 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: <Maxtor 6Y080M0>
wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 1 drive 0: <Maxtor 6L250S0>
wd1: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 10
iic0 at ichiic0
adt0 at iic0 addr 0x2e: emc6d100 rev 0x68
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
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ff65 netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
wd1: no disk label
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
syncing disks... done
rebooting...
OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3.01 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,CNXT-ID
real mem = 3345768448 (3267352K)
avail mem = 3060711424 (2988976K)
using 4256 buffers containing 167391232 bytes (163468K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 02/22/06, SMBIOS rev. 2.3 @
0xfd490 (83 entries)
bios0: Intel Corporation D915GUX
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc0000/0xae00!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915G/P/GV Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel 82915G/P/GV PCIE" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel 82915G/P/GV Video" rev 0x04:
aperture at 0xff280000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x03: irq 11
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Realtek ALC880 (rev. 8.0), HDA version 1.0
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
pci2 at ppb1 bus 5
ppb2 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x03
pci3 at ppb2 bus 4
mskc0 at pci3 dev 0 function 0 "Marvell Yukon 88E8050" rev 0x17,
Marvell Yukon-2 EC rev. A2 (0x1): irq 3
msk0 at mskc0 port A, address 00:13:20:80:89:68
eephy0 at msk0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2
ppb3 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03
pci4 at ppb3 bus 3
ppb4 at pci0 dev 28 function 3 "Intel 82801FB PCIE" rev 0x03
pci5 at ppb4 bus 2
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 9
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb5 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd3
pci6 at ppb5 bus 6
em0 at pci6 dev 0 function 0 "Intel PRO/1000MT (82546GB)" rev 0x03:
irq 9, address 00:04:23:d6:ad:84
em1 at pci6 dev 0 function 1 "Intel PRO/1000MT (82546GB)" rev 0x03:
irq 11, address 00:04:23:d6:ad:85
em2 at pci6 dev 1 function 0 "Intel PRO/1000MT (82546GB)" rev 0x03:
irq 11, address 00:04:23:d6:ac:ec
em3 at pci6 dev 1 function 1 "Intel PRO/1000MT (82546GB)" rev 0x03:
irq 9, address 00:04:23:d6:ac:ed
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <ASUS, DVD-E616P3, 1.05> SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x03: 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: <Maxtor 6Y080M0>
wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 1 drive 0: <Maxtor 6L250S0>
wd1: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 10
iic0 at ichiic0
adt0 at iic0 addr 0x2e: emc6d100 rev 0x68
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
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ff65 netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
wd1: no disk label
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Jeg kan i øvrigt se at der et sted står "rebooting" - mærkeligt...

> Det er ret vaesentligt, hvilke versioner der er tale om.
>
> > >Proev lige at koere disklabel paa begge diske og se, om resultatet giver
> > >det samme.
> >
> > Det samme som hvad? Disklabel giver:
>
> Hov. Jeg mente det samme paa gammel og ny kerne.

Ok, men den nye kerne kommer jeg jo ikke ret meget længere med. Den
beder om sh lokation, og så kommer jeg ikke meget længere.

Vh, Lars.



This archive was generated by hypermail 2b30 : Sun 31 Dec 2006 - 23:00:02 CET