DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 19th September 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default segmentation fault

I'm not sure if it's correct to revive the thread just because it's the one same issue .. I've replaced 20g old drive with an 80g ..

dmesg
Code:
[ using 497024 bytes of bsd ELF symbol table ]
console out [ATY,RagePro_C]console in [keyboard] USB and ADB found, using ADB
: memaddr 81000000 size 1000000, : consaddr 81000000, : ioaddr 80881000, size 1000: memtag 9000, iotag 9000: width 1024 linebytes 1024 height 768 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2012 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.2 (GENERIC) #237: Tue Jul 24 09:46:09 MDT 2012
    deraadt@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 402653184 (384MB)
avail mem = 378941440 (361MB)
mainbus0 at root: model iMac,1
cpu0 at mainbus0: 750 (Revision 0x8202): 333 MHz: 512KB backside cache
mem0 at mainbus0
mpcpcibr0 at mainbus0 pci: grackle, Revision 0x40
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 0 function 0 "Motorola MPC106 PCI" rev 0x40
macobio0 at pci0 dev 16 function 0 "Apple Paddington" rev 0x00
macintr0 at macobio0 offset 0x10
mesh0 at macobio0 offset 0x10000 irq 12: 50MHz
scsibus0 at mesh0: 8 targets, initiator 7
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs0 at macobio0 offset 0x14000: irq 17,8,9 headphones
audio0 at awacs0
"fdc" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 18: via-cuda, 0 targets
wdc0 at macobio0 offset 0x20000 irq 13: DMA
wd0 at wdc0 channel 0 drive 0: <WDC WD800BB-55JKA0>
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(wdc0:0:0): using BIOS timings, DMA mode 2
wdc1 at macobio0 offset 0x21000 irq 14: DMA
atapiscsi0 at wdc1 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <LG, CD-ROM CRN-8241B, LAD4> ATAPI 5/cdrom removable
cd0(wdc1:0:0): using BIOS timings, DMA mode 2
bm0 at macobio0 offset 0x11000 irq 42,33: address 00:50:e4:99:89:75
lxtphy0 at bm0 phy 0: LXT970 10/100 PHY, rev. 3
"nvram" at macobio0 offset 0x60000 not configured
vgafb0 at pci0 dev 18 function 0 "ATI Mach64" rev 0x5c, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
ohci0 at pci0 dev 20 function 0 "AT&T/Lucent USB" rev 0x12: irq 28, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "AT&T/Lucent OHCI root hub" rev 1.00/1.00 addr 1
uhidev0 at uhub0 port 1 configuration 1 interface 0 "USB USB Keykoard" rev 1.10/1.10 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "USB USB Keykoard" rev 1.10/1.10 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootpath: /pci/mac-io/ide@20000/disk@0:/bsd
root on wd0a (8f0eef42b0eafdc5.a) swap on wd0b dump on wd0b
WARNING: clock lost 20475 days, using FS time -- CHECK AND RESET THE DATE!
wskbd0: disconnecting from wsdisplay0
wskbd0 detached
ukbd0 detached
uhidev0 detached
uhid0 detached
uhid1 detached
uhidev1 detached
uhidev0 at uhub0 port 1 configuration 1 interface 0 "USB USB Keykoard" rev 1.10/1.10 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "USB USB Keykoard" rev 1.10/1.10 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhub0: illegal enable change, port 1
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4858176 of 4858176-4858207 (wd0 bn 61486592; cn 60998 tn 9 sn 41), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 7077996 of 7077996-7078003 (wd0 bn 63706412; cn 63200 tn 12 sn 56), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4876096 of 4876096-4876127 (wd0 bn 61504512; cn 61016 tn 6 sn 6), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4878528 of 4878528-4878559 (wd0 bn 61506944; cn 61018 tn 12 sn 44), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4883104 of 4883104-4883135 (wd0 bn 61511520; cn 61023 tn 5 sn 21), retrying
wd0: soft error (corrected)
wd0(wdc0:0:0): timeout
	type: ata
	c_bcount: 2048
	c_skip: 0
wd0g: device timeout writing fsbn 4870908 of 4870908-4870911 (wd0 bn 61499324; cn 61011 tn 3 sn 47), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4891168 of 4891168-4891199 (wd0 bn 61519584; cn 61031 tn 5 sn 21), retrying
wd0: soft error (corrected)
wd0(wdc0:0:0): timeout
	type: ata
	c_bcount: 16384
	c_skip: 0
wd0g: device timeout writing fsbn 4891232 of 4891232-4891263 (wd0 bn 61519648; cn 61031 tn 6 sn 22), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4893696 of 4893696-4893727 (wd0 bn 61522112; cn 61033 tn 13 sn 29), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4894080 of 4894080-4894111 (wd0 bn 61522496; cn 61034 tn 3 sn 35), retrying
wd0: soft error (corrected)
wd0(wdc0:0:0): timeout
	type: ata
	c_bcount: 16384
	c_skip: 0
wd0g: device timeout writing fsbn 4894144 of 4894144-4894175 (wd0 bn 61522560; cn 61034 tn 4 sn 36), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4900832 of 4900832-4900863 (wd0 bn 61529248; cn 61040 tn 14 sn 46), retrying
wd0: soft error (corrected)
wd0(wdc0:0:0): timeout
	type: ata
	c_bcount: 16384
	c_skip: 0
wd0g: device timeout writing fsbn 4902912 of 4902912-4902943 (wd0 bn 61531328; cn 61042 tn 15 sn 47), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4915712 of 4915712-4915743 (wd0 bn 61544128; cn 61055 tn 10 sn 58), retrying
wd0: soft error (corrected)
wd0(wdc0:0:0): timeout
	type: ata
	c_bcount: 16384
	c_skip: 0
wd0g: device timeout writing fsbn 7085984 of 7085984-7086015 (wd0 bn 63714400; cn 63208 tn 11 sn 43), retrying
wd0: soft error (corrected)
wd0(wdc0:0:0): timeout
	type: ata
	c_bcount: 16384
	c_skip: 0
wd0g: device timeout writing fsbn 4924352 of 4924352-4924383 (wd0 bn 61552768; cn 61064 tn 4 sn 4), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4925312 of 4925312-4925343 (wd0 bn 61553728; cn 61065 tn 3 sn 19), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4929504 of 4929504-4929535 (wd0 bn 61557920; cn 61069 tn 5 sn 53), retrying
wd0: soft error (corrected)
wd0(wdc0:0:0): timeout
	type: ata
	c_bcount: 16384
	c_skip: 0
wd0g: device timeout writing fsbn 4932800 of 4932800-4932831 (wd0 bn 61561216; cn 61072 tn 10 sn 10), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 4940928 of 4940928-4940959 (wd0 bn 61569344; cn 61080 tn 11 sn 11), retrying
wd0: soft error (corrected)
wdc0:0:0: intr with DRQ (st=0x58<DRDY,DSC,DRQ>)
wd0g: device timeout writing fsbn 7087584 of 7087584-7087615 (wd0 bn 63716000; cn 63210 tn 5 sn 5), retrying
wd0: soft error (corrected)
I still get errors like :
Code:
***********************************|100%Segmentation fault
system(/bin/sh, -c, /usr/local/bin/update-desktop-database) failed:  exit(139)
.......
Segmentation fault
system(/bin/sh, -c, /usr/local/bin/gtk-update-icon-cache -q -t /usr/local/share/
icons/hicolor) failed:  exit(139)
...
Here is the output of smartctl -a /dev/wd0c :
Code:
smartctl 5.43 2012-06-30 r3573 [powerpc-unknown-openbsd5.2] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar
Device Model:     WDC WD800BB-55JKA0
Serial Number:    WD-WCAMD2292502
Firmware Version: 05.01C05
User Capacity:    80,026,361,856 bytes [80.0 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Tue Sep 18 07:44:54 2012 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Total time to complete Offline 
data collection: 		(    0) seconds.
Offline data collection
capabilities: 			 (0x00) 	Offline data collection not supported.
SMART capabilities:            (0x0000)	Automatic saving of SMART data					is not implemented.
Error logging capability:        (0x00)	Error logging supported.
					No General Purpose Logging support.
SCT capabilities: 	       (0x003f)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Error Log Version: 0
No Errors Logged

SMART Self-test log structure revision number 0
Warning: ATA Specification requires self-test log structure revision number = 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


Device does not support Selective Self Tests/Logging
(Now the real annoyance is not those blue-lined errors while installing packages .. but the segmentation fault(s) I get each time I launch an application .. it even shows at login .. :-) .. I can use the OS though .. the replacement drive is clean and I had used it as a usb-based OBSD Box before installation on iMac)
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
a segmentation fault line daemonfowl OpenBSD General 3 16th June 2012 08:13 PM
Segmentation fault error139 delboy FreeBSD Ports and Packages 8 9th July 2009 06:32 PM
Segmentation fault (11) - Apache ijk FreeBSD Ports and Packages 16 15th July 2008 11:04 AM
Segmentation fault ccc FreeBSD General 8 28th June 2008 02:15 PM
MySQL C library - segmentation fault on mysql_select_db() when using CC optimisation gor OpenBSD Packages and Ports 7 10th June 2008 11:42 PM


All times are GMT. The time now is 10:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick