Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2004 14:15:25 +0100
From:      "Nikolaj Hansen" <anh@tiscali.dk>
To:        <freebsd-stable@freebsd.org>
Subject:   5.2.1 upgrade issues
Message-ID:  <IKEGJAOMNMMEIKJOAFAGOEMJCAAA.anh@tiscali.dk>

next in thread | raw e-mail | index | archive | help
Hi all,

I have upgraded my 5.1 -> 5.2.1 with some problems. Here is the current
kernel desc:

FreeBSD sauron.progressit.dk 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Sat Mar
6 02:15:31 CET 2004     root@:/usr/obj/usr/src/sys/MYKERNEL  i386

Problem #1:

The buildworld, buildkernel and installkernel part executed without any
errors at all, but the installworld did not however. So I am probably
running a 5.1 / 5.2.1 hybrid at the moment. The major part of the OS is
running ok. But as you can see from the below dmesg output, some system
services do not find this fact at all amusing. The sendmail and netstat
fails pretty hard.As far as I can tell the process is trying to move
/usr/libexec/ld-elf.so.1 to /libexec/ld-elf.so.1. Since /libexec is a
symbolic link to /usr/libexec this seems a bit strange to me. This is the
installworld error:

...
...
===> libexec/ypxfr
install -s -o root -g wheel -m 555   ypxfr /usr/libexec
install -o root -g wheel -m 444 ypxfr.8.gz  /usr/share/man/man8
===> libexec/rtld-elf
chflags noschg /usr/libexec/ld-elf.so.1
install -s -o root -g wheel -m 555  -fschg -C -b ld-elf.so.1 /libexec
install -o root -g wheel -m 444 rtld.1.gz  /usr/share/man/man1
/usr/share/man/man1/ld-elf.so.1.1.gz -> /usr/share/man/man1/rtld.1.gz
/usr/share/man/man1/ld.so.1.gz -> /usr/share/man/man1/rtld.1.gz
/usr/libexec/ld-elf.so.1 -> /libexec/ld-elf.so.1
*** Error code 1

Stop in /usr/src/libexec/rtld-elf.
*** Error code 1

Stop in /usr/src/libexec.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Problem #2:

For some reason the system refuses to find one of my disks. The disks are
similar 114473MB <WDC WD1200JB-00CRA1> disks. Ad6 is being found, but ad4 is
not. They are on the same raid controller on seperate channels with seperate
cables. The only difference is the cable where the ATA-133 is not being
found, but the ATA-33 is? (Yes I know I should get around to buing a new
cable). Has the ATA interface changed from 5.1 regarding this? The Vinum
system disks seem to be working just fine.

Copyright (c) 1992-2004 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 5.2.1-RELEASE #0: Sat Mar  6 02:15:31 CET 2004
    root@:/usr/obj/usr/src/sys/MYKERNEL
Preloaded elf kernel "/boot/kernel/kernel" at 0xc09dc000.
Preloaded elf module "/boot/kernel/vinum.ko" at 0xc09dc21c.
MPTable: <IBM GNK  Mohican SMP >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (498.67-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268419072 (255 MB)
avail memory = 251092992 (239 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
ioapic0: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
pcib0: <MPTable Host-PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib0: slot 1 INTA routed to irq 11
pcib0: slot 6 INTA routed to irq 15
pcib0: slot 6 INTB routed to irq 10
pcib0: slot 9 INTA routed to irq 11
pcib0: slot 10 INTA routed to irq 9
pcib0: slot 15 INTA routed to irq 10
pcib0: slot 15 INTA routed to irq 10
atapci0: <CMD 649 UDMA100 controller> port
0x2020-0x202f,0x200c-0x200f,0x2010-0x2017,0x2008-0x200b,0x2000-0x2007 irq 11
at device 1.0 on pci0
atapci0: [MPSAFE]
ata2: at 0x2000 on atapci0
ata2: [MPSAFE]
ata3: at 0x2010 on atapci0
ata3: [MPSAFE]
ahc0: <Adaptec aic7895 Ultra SCSI adapter> port 0x2200-0x22ff mem
0xfebff000-0xfebfffff irq 15 at device 6.0 on pci0
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> port 0x2300-0x23ff mem
0xfebfe000-0xfebfefff irq 10 at device 6.1 on pci0
aic7895C: Ultra Wide Channel B, SCSI Id=15, 32/253 SCBs
lnc0: <PCNet/PCI Ethernet adapter> port 0x2040-0x205f mem
0xfebfdc00-0xfebfdc1f irq 11 at device 9.0 on pci0
lnc0: Attaching PCNet/PCI Ethernet adapter
lnc0: PCnet-PCI address 00:06:29:39:61:39
pci0: <display, VGA> at device 10.0 (no driver attached)
isab0: <PCI-ISA bridge> port 0xfe00-0xfe0f at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <GENERIC ATA controller> port
0xffa0-0xffaf,0-0x3,0-0x7,0x3f4-0x3f7,0x1f0-0x1f7 irq 10 at device 15.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci1
ata0: [MPSAFE]
ata1: simplex device, DMA on primary only
ata1: at 0x170 irq 15 on atapci1
ata1: [MPSAFE]
ohci0: <OHCI (generic) USB controller> mem 0xff700000-0xff700fff irq 10 at
device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib1: <MPTable Host-PCI bridge> at pcibus 1 on motherboard
pci1: <PCI bus> on pcib1
pcib1: slot 4 INTA routed to irq 15
pci1: <multimedia, audio> at device 4.0 (no driver attached)
orm0: <Option ROMs> at iomem 0xcd000-0xd0fff,0xc8000-0xccfff,0xc0000-0xc7fff
on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
Timecounters tick every 10.000 msec
ata3-master: DMA limited to UDMA33, non-ATA66 cable or device
GEOM: create disk ad6 dp=0xc2e1ac60
ad6: 114473MB <WDC WD1200JB-00CRA1> [232581/16/63] at ata3-master UDMA33
Waiting 15 seconds for SCSI devices to settle
ses0 at ahc1 bus 0 target 14 lun 0
ses0: <SDR GEM200 2> Fixed Processor SCSI-2 device
ses0: 3.300MB/s transfers
ses0: SAF-TE Compliant Device
GEOM: create disk da0 dp=0xc2e2f850
GEOM: create disk da1 dp=0xc2e2ac50
da0 at ahc1 bus 0 target 0 lun 0
da0: <IBM-PSG ST39103LC     !# B227> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da0: 8678MB (17774160 512 byte sectors: 255H 63S/T 1106C)
da1 at ahc1 bus 0 target 1 lun 0
da1: <IBM-PSG DMVS09D       !# 01B0> Fixed Direct Access SCSI-3 device
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da1: 8678MB (17774160 512 byte sectors: 255H 63S/T 1106C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
pid 418 (sendmail), uid 0: exited on signal 11
pid 1204 (netstat), uid 0: exited on signal 10
pid 1369 (sendmail), uid 25: exited on signal 11
pid 1417 (sendmail), uid 25: exited on signal 11
pid 1412 (sendmail), uid 0: exited on signal 11
pid 1413 (sendmail), uid 25: exited on signal 11

Thanks.

With regards / med venlig hilsen

Nikolaj Hansen



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