Re: Abort trap on 4.3 release

2008-04-16 Thread Pieter Verberne
On Tue, Apr 15, 2008 at 06:33:44PM +, Miod Vallat wrote:
  Yesterday I installed OpenBSD 4.3 release from CD. I copied both
  PORTS_TA.GZ and SRC_TAR.GZ to /tmp. I extracted the ports to /usr/, and
  while extracting src, I tried to make libsndfile in the ports tree. I
  got Abort trap. I tried other commands as well but I got the same.
  Shell buildin commands just worked. I couldn't even halt my system, it
  gave me the same error.
 
 You extracted the source in / instead of /usr/src. As a result, almost
 all commands have been overwritten with similarly-named directories
 containing their sources.
 
 Reinstall, and do not make this mistake a second time.

(Miod: oopz, typed 'r' (reply) again instead of 'L' (group reply))

Uhw.. Pretty sucky. But I can laugh with my mistake.

I think I've read this in the Unix haters handbook; it's to easy to make
big mistakes in UNIX. Ah, here it is..(1)

You're probably, right. I made that typo. (I thought my error-report
would me much to short to be usefull. :-) )

(1) http://web.mit.edu/~simsong/www/ugh.pdf , page 59



Abort trap on 4.3 release

2008-04-15 Thread Pieter Verberne
Hi guys,

Yesterday I installed OpenBSD 4.3 release from CD. I copied both
PORTS_TA.GZ and SRC_TAR.GZ to /tmp. I extracted the ports to /usr/, and
while extracting src, I tried to make libsndfile in the ports tree. I
got Abort trap. I tried other commands as well but I got the same.
Shell buildin commands just worked. I couldn't even halt my system, it
gave me the same error.

So, I turned my laptop off, and on, waited for 'that diskchecking
thing'. Finding an IP via DHCP seems te work, but after the Starting
network-line, I started getting the Abort trap error for ~10 times.
Also, the following line is comming again and again:
[date] init: can't exec getty '/usr/libexec/getty' for port
/dev/sttyC[012345]: Is a directory

(Uhm, I'm not sure if I'll try to fix this install. I think I'll do just
a fresh install instead. But let's just wait for yours commends)

Pieter Verberne


OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz (GenuineIntel
686-class) 1.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,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 1063677952 (1014MB)
avail mem = 1020465152 (973MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/18/07, BIOS32 rev. 0 @
0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 7CETC6WW (2.16 ) date 04/18/2007
bios0: LENOVO 9456HTG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT
SSDT SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4)
EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3)
USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, FVS, 1667, 1333, 1000 MHz
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 98 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4510 serial 35445 type LION oem
SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpidock at acpi0 not configured
bios0: ROM list: 0xc/0xea00! 0xdc000/0x4000! 0xe/0x1!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
agp0 at pchb0: aperture at 0xd000, size 0x1000
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not
configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02:
irq 11
azalia0: RIRB time out
azalia0: codec[s]: Analog Devices/0x1981, 0x/0x, using
Analog Devices/0x1981
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: irq 11
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 Broadcom BCM5751M rev 0x21, BCM5750
C1 (0x4201): irq 11, address 00:16:d3:b5:fd:30
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: irq 11
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02:
irq 11, MoW2, address 00:1b:77:41:2f:59
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: irq 11
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: irq 11
pci4 at ppb3 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: irq 11
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci5 at ppb4 bus 21
cbb0 at pci5 dev 0 function 0 TI PCIXX12 CardBus rev 0x00: irq 11
TI PCIXX12 FireWire rev 0x00 at pci5 dev 0 function 1 not
configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM
disabled
pciide0 at pci0 dev 31 

Re: Abort trap on 4.3 release

2008-04-15 Thread Miod Vallat
 Hi guys,
 
 Yesterday I installed OpenBSD 4.3 release from CD. I copied both
 PORTS_TA.GZ and SRC_TAR.GZ to /tmp. I extracted the ports to /usr/, and
 while extracting src, I tried to make libsndfile in the ports tree. I
 got Abort trap. I tried other commands as well but I got the same.
 Shell buildin commands just worked. I couldn't even halt my system, it
 gave me the same error.

You extracted the source in / instead of /usr/src. As a result, almost
all commands have been overwritten with similarly-named directories
containing their sources.

Reinstall, and do not make this mistake a second time.

Miod



Re: Abort trap on 4.3 release

2008-04-15 Thread Andreas Maus
On Tue, Apr 15, 2008 at 08:01:37PM +0200, Pieter Verberne wrote:
 Hi guys,
Hi Pieter.

 Yesterday I installed OpenBSD 4.3 release from CD. I copied both
Congratulations for your OpenBSD 4.3 CD set ;)

 PORTS_TA.GZ and SRC_TAR.GZ to /tmp. I extracted the ports to /usr/, and
And here is your error.

src.tgz has to be extractes in /usr/src.
You extracted in in /tmp and copied the files to /usr.

tigger:/share/netinst/pub/OpenBSD/4.2# tar tvzf src.tar.gz 
[... snipp ...]
drwxr-xr-x root/wheel0 2007-06-18 22:25 ./bin/chmod
drwxr-xr-x root/wheel0 2007-08-21 00:24 ./bin/chmod/CVS
-rw-r--r-- root/wheel   14 2006-03-01 03:10 ./bin/chmod/CVS/Repository
-rw-r--r-- root/wheel  250 2007-06-18 22:25 ./bin/chmod/CVS/Entries
-rw-r--r-- root/wheel  421 2001-09-06 20:52 ./bin/chmod/Makefile
-rw-r--r-- root/wheel 4864 2007-06-18 22:25 ./bin/chmod/chflags.1
-rw-r--r-- root/wheel 3651 2007-06-18 22:25 ./bin/chmod/chgrp.1

and this will overwrite e.g. /usr/bin/chmod (the file) with the
directory /usr/bin/chmod. And this is causing the abort trap
because under /usr the files has been replaced by directories.

 [date] init: can't exec getty '/usr/libexec/getty' for port
 /dev/sttyC[012345]: Is a directory
--^
See it has been replaced by a directory.
If you extract src.tar.gz to /tmp make sure you copy this to /usr/src.

 (Uhm, I'm not sure if I'll try to fix this install. I think I'll do just
 a fresh install instead. But let's just wait for yours commends)
Either do a fresh install or boot the installation CD, exit to the shell
when prompted if you want to (I)nstall, (U)grade or (S)hell.

Mount your partition and change to the mount point and extract the
filesets you need (base43.tgz, ...) using tar xvzpf ...

HTH,

Andreas.

P.S.: Don't worry I made this error several times ;)

-- 
Windows 95: A 32-bit patch for a 16-bit GUI shell running on top of
an 8-bit operating system written for a 4-bit processor by a 2-bit
company who cannot stand 1 bit of competition.