Re: OpenBSD users.
Riwan, Jakarta, Indonesia Mateusz Gierblinski wrote: Hi misc@ I'm just wondering. Where are you OpenBSD users from? I'm from Belgium, anyone else? Take care
Sound problems on Realtek ALC272
Hello! I've got a Realtec ALC272 codec on my netbook under OpenBSD 4.7 release: % dmesg | grep azalia azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 4 int 16 (irq 11) azalia0: codecs: Realtek ALC272 audio0 at azalia0 While it actually works, it has kind a performance problem - the frequent gaps and echos on playback. The longer playback lasts, the worse the situation goes. Interestingly, pausing and continuing playing make the situation better for some time, but after that problem is back. The situation is worse with music and is slightly better with video regardless of audio file codec and player software. Any things I can do? % mixerctl inputs.dac-0:1=192,192 inputs.dac-4:5=192,192 inputs.dac-2:3=126,126 record.adc-2:3_mute=off record.adc-2:3=120,120 record.adc-0:1_mute=off record.adc-0:1=120,120 inputs.mix_source=mic2 inputs.mix_mic2=120,120 inputs.mix2_source=dac-0:1,mix inputs.mix3_source=dac-4:5,mix inputs.mix4_source=dac-2:3,mix outputs.spkr_source=mix3 outputs.spkr_mute=off outputs.spkr_dir=output outputs.spkr_boost=off outputs.spkr_eapd=on outputs.mic2_source=mix4 outputs.mic2_mute=off inputs.mic2=85,85 outputs.mic2_dir=input-vr80 outputs.hp_source=mix2 outputs.hp_mute=off outputs.hp_boost=off record.adc-0:1_source=mic2,mix,mic record.adc-2:3_source=mic2,mix outputs.mic2_sense=unplugged outputs.hp_sense=unplugged outputs.spkr_muters=mic2,hp outputs.master=255,255 outputs.master.mute=off outputs.master.slaves=dac-0:1,dac-4:5,spkr,hp record.volume=120,120 record.volume.mute=off record.volume.slaves=adc-2:3,adc-0:1 -- Dmitrij D. Czarkoff
Re: 4.7: my error, or system error?
On Tue, Jul 20, 2010 at 12:58 PM, Toni Mueller wrote: > I've recompiled my system(s) several times in order to follow -stable, > but (now?) see this problem: > > # savecore -v /var/crash/ > dumpoff = 4838922240 (9451020 * 512) > savecore: /bsd: kvm_dump_mkheader: invalid magic in cpu_hdr > savecore: no core dump .. > I'd also like to know whether the OpenBSD developers prefer to have > such vague messages in Gnats, or whether they prefer them here on the > list. Is that a joke? We prefer that people not send vague message at all! Duh! Vague == USELESS Be clear and complete. For example, in this case, I would suggest including dmesg, description of how the src tree that was built from was checked out**, what has actually been updated, and what the system was doing when it crashed and left a core that you're trying to save. Willingly vague reports will be mocked and closed. Philip Guenther ** It seems some of people have problems following the directions in the FAQ, so cutting and pasting the actual 'cvs' command that you ran (heck, run them again!), would help assure everyone that you do know what you're doing and haven't driven your system into a wall.
Re: Perl problems in -current
On Tue, Jul 20, 2010 at 5:27 AM, Tom Murphy wrote: > On Sun, Jul 11, 2010 at 06:27:41PM -0700, Philip Guenther wrote: >> When in doubt, use a bigger hammer. You could try using 'ktrace' on >> the web server (probably with the -i option) to see exactly what is >> happening when perl tries to open the Carp/Heavy.pm file. > > ktrace produces a rather large (6M) kdump file. I checked all the paths > below and the only place the file exists is at > /usr/libdata/perl5/Carp/Heavy.pm. The permissions on the file are root:wheel > and 0444, so it should be readable by anyone. I am not sure why it can't > find this file at all. I think I was a bit misleading in my suggestion. I think you should scan the *entire* kdump output to see if it's calling chroot(), for example, which will completely screw the lazy-loading used by Carp.pm for Carp/Heavy.pm. ... > 2037 httpdCALL stat(0x8325f480,0xcfbdac90) > 2037 httpdNAMI "/usr/libdata/perl5/Carp/Heavy.pmc" > 2037 httpdRET stat -1 errno 2 No such file or directory You confirm that that file exists when you check with the normal root directory, which suggests the process is running with some other root directory when it is doing the above, no? Philip Guenther
Re: OpenBSD users.
On Tue, 20 Jul 2010 21:55:56 -0300 Nenhum_de_Nos wrote: > On Tue, 20 Jul 2010 21:25:24 -0300 > Limaunion wrote: > > > On 07/17/2010 08:07 PM, Mateusz Gierblinski wrote: > > > Hi misc@ > > > > > > I'm just wondering. Where are you OpenBSD users from? > > > > > > I'm from Belgium, anyone else? > > > > > > Take care > > > > > > > > > > Buenos Aires, Argentina, South America. > > Joco Pessoa, Paramba - Brazil, South America. > > matheus damn locales (and relatives :) Joao Pessoa, Paraiba - Brazil, South America. matheus -- We will call you cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style
Re: OpenBSD users.
On Tue, 20 Jul 2010 21:25:24 -0300 Limaunion wrote: > On 07/17/2010 08:07 PM, Mateusz Gierblinski wrote: > > Hi misc@ > > > > I'm just wondering. Where are you OpenBSD users from? > > > > I'm from Belgium, anyone else? > > > > Take care > > > > > > Buenos Aires, Argentina, South America. Joco Pessoa, Paramba - Brazil, South America. matheus -- We will call you cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style
Re: using ipmi locally under openbsd
ipmi(4) doesn't support the interface needed for local access with ipmitool/freeipmi etc. On 2010-07-19, Imre Oolberg wrote: > Hallo! > > First of all, I am not a seasoned ipmi user, i rather resently found out > about this possibility to control computers. I would like to ask how to > use ipmitool to control local computer's ipmi facilities from within > OpenBSD. This computer is IBM System x3550 M2 and here is where i stand > > 1. i searched archives and found that in the first place ipmi should be > enabled in kernel, so i did > > ukc> enable ipmi > > and it says in dmesg > > ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1 > ... > iic0: skipping sensors to avoid ipmi0 interactions > > and obviously thanks to this change appeared into sysctl lot of entries > like this > > # sysctl hw.sensors.ipmi0 > hw.sensors.ipmi0.temp0=22.00 degC (Ambient Temp), OK > hw.sensors.ipmi0.fan0=4081 RPM (Fan 1A Tach), OK > hw.sensors.ipmi0.fan1=2784 RPM (Fan 1B Tach), OK > hw.sensors.ipmi0.fan2=4081 RPM (Fan 2A Tach), OK > hw.sensors.ipmi0.fan3=2880 RPM (Fan 2B Tach), OK > .. > hw.sensors.ipmi0.indicator0=On (Power Supply 1), OK > hw.sensors.ipmi0.indicator1=On (Power Supply 2), OK > > 2. then i installed from ports ipmitool since binary packaged didnt have > open interface enabled > > 3. when i run ipmitool i get message about missing device > > # ipmitool mc info > Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No > such file or directory > Get Device ID command failed > > I guess that the computer's ipmi system in itself is working all right, > at the moment in its default configuration, since in addition to the > above mentioned sysctl values i can also issue from another computer for > example > > # ipmitool -I lanplus -H 10.0.25.138 -U USERID -P xxx mc info > > and in return i get an answer as expected. > > If somebody could suggest how to proceed to make ipmitool locally work, > i would be very interested! > > > Best regards, > > Imre > > PS I also tried freeipmi binary package, it says > > # bmc-config > --checkout > > > ipmi_open_inband: driver path required
Re: OpenBSD users.
On 07/17/2010 08:07 PM, Mateusz Gierblinski wrote: Hi misc@ I'm just wondering. Where are you OpenBSD users from? I'm from Belgium, anyone else? Take care Buenos Aires, Argentina, South America.
Re: OpenBSD users.
Aaron Lewis , TsingDao , China.
Re: laptop HP 530 - acpitz3: Critical temperature, shutting down
On Tue, 20 Jul 2010 20:05:25 + Miod Vallat wrote: > > acpitz3: Critical temperature, shutting down > > acpitz3: Critical temperature, shutting down > > scsibus2 at softraid0: 1 targets > > ... > Does this always happen when the laptop is not connected to an > external power source? (i.e. running on battery) The battery said bye bye just a couple of days after its guarantee expired :) So AC all the time. > The acpi in this machine is weird, at least in the tz zone, as there > are a lot of indirect entity references, and interpreting a reference > as an actual value usually yields a huge value, leading to the > behaviour you are seeing. I thought I had fixed them all - at least I > can no longer reproduce this on my 530 - but my acpi-fu is weak. Theo sent me some diffs, let see... jirib
Re: laptop HP 530 - acpitz3: Critical temperature, shutting down
> Hello, > > I've got acpi issues on my laptop - HP 530. [...] > acpitz3: Critical temperature, shutting down > acpitz3: Critical temperature, shutting down > scsibus2 at softraid0: 1 targets > ... > > What is strange is that I get this from time to time ;) I upgraded to > most current snapshot and till now no issue but there are strange > temperature degrees (acpitzX) in dmesg I think. Does this always happen when the laptop is not connected to an external power source? (i.e. running on battery) The acpi in this machine is weird, at least in the tz zone, as there are a lot of indirect entity references, and interpreting a reference as an actual value usually yields a huge value, leading to the behaviour you are seeing. I thought I had fixed them all - at least I can no longer reproduce this on my 530 - but my acpi-fu is weak. > I had dualboot with NetBSD and IIRC in dmesg I saw some notes like > 'ignoring, value is nonsense' (not exact text but the meaning was > like this). We could probably ignore physically impossible values in acpitz, but it is more important to fix the bug for good. Miod
4.7: my error, or system error?
Hi, I've recompiled my system(s) several times in order to follow -stable, but (now?) see this problem: # savecore -v /var/crash/ dumpoff = 4838922240 (9451020 * 512) savecore: /bsd: kvm_dump_mkheader: invalid magic in cpu_hdr savecore: no core dump # savecore -v /var/crash/ dumpoff = 16386560 (32005 * 512) savecore: /bsd: kvm_dump_mkheader: invalid magic in cpu_hdr savecore: no core dump I see it on both i386 and amd64 systems. Since this appears to be very close to bug #1461, which was declared fixed years ago, I'm wondering whether I did something stupid while compiling the system(s), or if the bug has re-appeared. I'd also like to know whether the OpenBSD developers prefer to have such vague messages in Gnats, or whether they prefer them here on the list. TIA! Kind regards, --Toni++
Jerusalem Convention
PP>P1QP>P3P> P2QP5PP: P PP5QQQP0P;P8P 23 P>P:QQP1QQ 2010 P3P>P4P0 , QP>QQP>P8QQQ PP5P6P4QP=P0QP>P4P=P0Q PP>P=QP5QP5P=QP8Q P?P> PP=QP5P3QP0QP8P2P=P>P9 PP5P4P8QP8P=P5. PP0 QQP0QQP8P5 P2 P=P5P9 P?QP8P3P;P0QP0QQQQ P2QP5 P:QP> QP2QP7P0P; QP2P>Q P7P0P=QQP>QQQ Q P;P5QP5P=P8P5P< P?QP>QP8P;P0P:QP8P:P>P9 P8 QP5P;P8QP5P;QQQP2P>P<. PP>P=QP5QP5P=QP8Q P1QP4P5Q P?QP>P2P>P4P8QQQQ P=P0 QQP5Q QP7QP:P0Q : P0P=P3P;P8P9QP:P8P9 , QQP0P=QQP7QP:P8P9 P8 QQQQP:P8P9 (QP8P=QQP>P=P=QP9 P?P5QP5P2P>P4) PP>P;QQP8QQ P1P>P;P5P5 P?P>P4QP>P1P=QQ P8P=QP>QPP6P=P> P=P0 P>QP8QP8P0P;QP=P>P< QP0P9QP5 P:P>P=QP5QP5P=QP8P8: www.jerusalem-medic.com/ru PP> P2QQQP5QP8 P2 PP5QQQP0P;P8PQP>P2Q Q P8 QP5P;P8QP5P;QQQP2P0 , QP:P>QP5P5 P2QP5P3P> Q QP> P?P8QQP P?P>P?P0P;P> P: PP0P< P?P> P>QP8P1P:P5 P=P0P6P P0P4QP5QP0 P8P7 QP0QQQP;P:P8.
laptop HP 530 - acpitz3: Critical temperature, shutting down
Hello, I've got acpi issues on my laptop - HP 530. I think it's some detection issue of temperature values as I had this issues when starting the laptop for the first time per day (thus temperature has be to OK). Last lines before reboot: ... softraid0 at root root on sd0a swap on sd0b dump on sd0b acpitz3: Critical temperature, shutting down acpitz3: Critical temperature, shutting down scsibus2 at softraid0: 1 targets ... What is strange is that I get this from time to time ;) I upgraded to most current snapshot and till now no issue but there are strange temperature degrees (acpitzX) in dmesg I think. I had dualboot with NetBSD and IIRC in dmesg I saw some notes like 'ignoring, value is nonsense' (not exact text but the meaning was like this). If I can help somehow, let me know. jirib OpenBSD 4.7-current (GENERIC.MP) #212: Mon Jul 19 23:43:51 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2600 @ 2.16GHz ("GenuineIntel" 686-class) 2.17 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM real mem = 2138468352 (2039MB) avail mem = 2093481984 (1996MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/10/07, BIOS32 rev. 0 @ 0xf, SMBIOS rev. 2.4 @ 0xf3abf (23 entries) bios0: vendor Hewlett-Packard version "68MVU Ver. F.06" date 12/10/2007 bios0: Hewlett-Packard HP 530 Notebook PC(KP477AA#AKB) acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices C098(S5) C204(S0) C100(S5) C207(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2600 @ 2.16GHz ("GenuineIntel" 686-class) 2.17 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 2 (C098) acpiprt1 at acpi0: bus 8 (C100) acpiprt2 at acpi0: bus 16 (C110) acpiprt3 at acpi0: bus 0 (C002) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpipwrres0 at acpi0: C1E0 acpipwrres1 at acpi0: C1FE acpipwrres2 at acpi0: C206 acpipwrres3 at acpi0: C2EE acpipwrres4 at acpi0: C2EF acpipwrres5 at acpi0: C2F0 acpipwrres6 at acpi0: C2F1 acpitz0 at acpi0: critical temperature 256 degC acpitz1 at acpi0: critical temperature 105 degC acpitz2 at acpi0: critical temperature 105 degC acpitz3 at acpi0: critical temperature 105 degC acpitz4 at acpi0: critical temperature 110 degC acpibat0 at acpi0: C1AC model "Primary" serial 40639 2008/01/20 type LIon oem "Hewlett-Packard" acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: C20B acpibtn1 at acpi0: C20C acpivideo0 at acpi0: C085 acpivout0 at acpivideo0: C133 acpivout1 at acpivideo0: C134 bios0: ROM list: 0xc/0x1! cpu0: Enhanced SpeedStep 2162 MHz: speeds: 2167, 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GME Host" rev 0x03 vga1 at pci0 dev 2 function 0 "Intel 82945GME Video" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 "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 0x01: apic 1 int 16 (irq 10) azalia0: codecs: Conexant CX20549 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 1 int 16 (irq 10) pci1 at ppb0 bus 8 ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 1 int 17 (irq 10) pci2 at ppb1 bus 16 wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 1 int 17 (irq 10), MoW2, address 00:1c:bf:b1:e0:bb uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 1 int 20 (irq 5) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 1 int 20 (irq 5) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe1 pci3 at ppb2 bus 2 fxp0 at pci3 dev 8 function 0 "Intel 82801FBM LAN" rev 0x01, i82562: apic 1 int 20 (irq 5), address 00:1b:38:fa:3c:d2 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x01: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0
Re: OpenBSD users.
Austin, TX, formerly in San Diego On Tue, Jul 20, 2010 at 11:11, Chris Bennett wrote: > Right now I wander back and forth between Austin, TX and Guatemala City, > Guatemala
Re: power management of USB-connected disks
On Tue, 20 Jul 2010, David Gwynne wrote: On 20/07/2010, at 2:48 AM, Jan Stary wrote: I run a small server using an ALIX box and a CF card (wd0) plus two external disks (sd0, sd1) - see the dmesg at bottom. The CF card holds the system, while the two external disks are big storages that are only used sparsely; one of them is a (NFS exported) /backup dir that is only used for about an hour a night, for example. I wonder whether there is something like atactl(8) that I could use to control the power management of these disks - spin them down when not used etc, to reduce noise and heat (I have yet to measure if it would also mean a nontrivial power saving). I understand that atactl only works with ATA drives, which my disks dmesgly are not, being connected through sd(4) - although what's inside the external USB boxes is actually a Seagate Momentus (SATA) and a a Samsung Spinpoint (SATA). there is a (very very) slight chance that the chip that translates from scsi over usb to ata on the actual drive supports the ATA PASSTHRU scsi commands, which the openbsd kernel will now try. this means you might be able to run atactl against those disks. Maybe I don't read it right what you wrote, but the chip is part of an enclosure, not the actual drive. The chances are better than it might seem. Some vendors support SAT ATA PASSTHRU (like new chips from Oxford Semiconductor/PLX or Initio), some other vendors support their own proprietary (and mostly undocumented) "ATA PASSTHRU" (Cypress, JMicron, Sunplus) and the rest don't support anything at all. Not all chips from each mentioned vendor work though. you will need a -current system to try that with though. If you don't want to use atactl(8) or can't use -current, talking directly to drive with scsi(8) works well for this purpose, even with OS version couple of years old. You need to prepare the ATA PASSTHROUGH command yourself then. With Oxford 934DSB, I use the following commands to put the drive to: STOP: /sbin/scsi -f /dev/rsd0c -c "1b 00 00 00 00 00" STANDBY: /sbin/scsi -f /dev/rsd0c -c "a1 06 00 00 00 00 00 00 a0 e0 00 00" SLEEP: /sbin/scsi -f /dev/rsd0c -c "a1 06 00 00 00 00 00 00 a0 e6 00 00" IDLE: /sbin/scsi -f /dev/rsd0c -c "a1 06 00 00 00 00 00 00 a0 e1 00 00" FLUSH CACHE: /sbin/scsi -f /dev/rsd0c -c "a1 06 00 00 00 00 00 00 a0 e7 00 00" Wih JMicron, the following command should put the drive to Standby, but in my case it fails with JM20336. JMicron tech people are reluctant to provide any documentation about their proprietary "ATA PASSTHRU" command. STANDBY: /sbin/scsi -f /dev/rsd0c -c "df 00 00 00 00 00 00 00 00 00 a0 e0" or /sbin/scsi -f /dev/rsd0c -c "df 00 00 00 01 00 00 00 00 00 a0 e0" For Cypress, tech specs is available. considering how budget those usb to ata chips are, i wouldnt hold much hope. I am very happy with Oxford 934DSB, works reliably for me (i.e. with scsi(8) and SAT ATA PASSTHRU). It is quite frequent, even with (better quality) consumer USB drives. Look for USB 2.0 + FireWire + eSATA. Regards, David
Re: OpenBSD users.
Right now I wander back and forth between Austin, TX and Guatemala City, Guatemala
Re: OpenBSD users
Shiu Lam San Josi, Costa Rica
Re: Segmentation Faults shortly after install, somehow random
Again I got Segmentation Fault, this time from sshd and ssh. Now I used gdb, and it was telling me about some problem with libcrypto.so.18.0, my bad I did not keep this file, I directly overwrote it with the lib from my backup , which I needed to create the Softraid. After this sshd and ssh was working normal again. I checked my disks and my ram, they are fine. How did you check them? Hopefully not by using SMART. Did you try swapping drive cables for new ones? I have had MANY drive problems that were from bad cables I used smartctl from linux side (because Im still more familiar with it, and I used atactl. For the ram I used mem86test, overnight, without any errors. Because other OS is working fine, I did not consider the cables, but I give it a try. How should I check the hard disks? I've seen memtest come back with no errors but there still been a problem with the ram. Memtest isn't 100% correct 100% of the time. If the other OS works fine, it's probably not an hardware issue. While it's not bad to look, it seams unlikely
Re: power management of USB-connected disks
On Tue, Jul 20, 2010 at 03:14:40PM +1000, David Gwynne wrote: > On 20/07/2010, at 2:48 AM, Jan Stary wrote: > > > I wonder whether there is something like atactl(8) that I could use > > to control the power management of these disks - spin them down > > when not used etc, to reduce noise and heat (I have yet to measure > > if it would also mean a nontrivial power saving). > > there is a (very very) slight chance that the chip that translates from scsi > over usb to ata on the actual drive supports the ATA PASSTHRU scsi commands, > which the openbsd kernel will now try. this means you might be able to run > atactl against those disks. > > you will need a -current system to try that with though. > > considering how budget those usb to ata chips are, i wouldnt hold much hope. > > dlg For what it's worth, I use two different USB disks on my server that are used in a similar fashion to Jan. And, there is always a short delay before using the disks for the first time after a long period of inactivity. So, I think they are sleeping. -ME snippet from dmesg: umass0 at uhub0 port 3 configuration 1 interface 0 "Western Digital External HDD" rev 2.00/1.06 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: SCSI2 0/direct fixed sd1: 476940MB, 512 bytes/sec, 976773168 sec total uhidev0 at uhub0 port 3 configuration 1 interface 1 "Western Digital External HDD" rev 2.00/1.06 addr 2 uhidev0: iclass 3/0 uhid0 at uhidev0: input=1, output=2, feature=0 umass1 at uhub0 port 4 configuration 1 interface 0 "Western Digital My Book" rev 2.00/1.75 addr 3 umass1: using SCSI over Bulk-Only scsibus3 at umass1: 2 targets, initiator 0 sd2 at scsibus3 targ 1 lun 0: SCSI2 0/direct fixed sd2: 953869MB, 512 bytes/sec, 1953525168 sec total
Re: Segmentation Faults shortly after install, somehow random
andreas wrote: Am 20.07.2010 14:03, schrieb Chris Bennett: andreas wrote: Hello All, I am new to this list and OpenBSD. I installed OpenBSD 4.7 i386 from CD and FTP. So which one is it? ftp or CD? I used CD for boot and prepare, install from Swiss ftp mirror. First I overseen Sorftraid, so I used CCD to mirror my hard disks. What are your bios settings for the disks? The disks used for OpenBSD are set to singel drives in the bios of the PCI-Sata SiI3114 card, no "fake" raid, no IDE emulation is set. On the same 2 disks is also a linux with Softraid, without any noticeable problems. Behind the on-board VIA VT6420 SATA is a winxp with bios based fakeraid with 2 other disks. After short use of the fresh installation I got a Segmentation Fault in more and less. Badly I did not use gdb at this point, because I assumed a failure on my side during installation or on my hardware. Then very early I removed all and start again with Softraid. After a few reboots, I was only getting familiar with OpenBSD and did some little configuration work, sshd was not starting anymore. What did you mess with to screw up sshd? You did an install, not an upgrade? I only use the option install, nerver update. After install to a singel disk, I booted into singel user, backup all, prepare and create softraid. Than after a couple of boots first time more/less was broken, than later ssh/sshd (libcrypto.so.18.0) Again I got Segmentation Fault, this time from sshd and ssh. Now I used gdb, and it was telling me about some problem with libcrypto.so.18.0, my bad I did not keep this file, I directly overwrote it with the lib from my backup , which I needed to create the Softraid. After this sshd and ssh was working normal again. I checked my disks and my ram, they are fine. How did you check them? Hopefully not by using SMART. Did you try swapping drive cables for new ones? I have had MANY drive problems that were from bad cables I used smartctl from linux side (because Im still more familiar with it, and I used atactl. For the ram I used mem86test, overnight, without any errors. Because other OS is working fine, I did not consider the cables, but I give it a try. How should I check the hard disks? smartctl looks at SMART data, which is almost useless. try adding e2fsprogs and use the program in there called badblocks. You will want to use the non-destructive form of a read and write test. This will actually check the partitions for "bad blocks". Read the manual page carefully
Re: Segmentation Faults shortly after install, somehow random
Am 20.07.2010 14:03, schrieb Chris Bennett: > andreas wrote: >> Hello All, >> >> I am new to this list and OpenBSD. I installed OpenBSD 4.7 i386 from CD >> and FTP. > > So which one is it? ftp or CD? I used CD for boot and prepare, install from Swiss ftp mirror. >> First I overseen Sorftraid, so I used CCD to mirror my hard >> disks. > > > What are your bios settings for the disks? The disks used for OpenBSD are set to singel drives in the bios of the PCI-Sata SiI3114 card, no "fake" raid, no IDE emulation is set. On the same 2 disks is also a linux with Softraid, without any noticeable problems. Behind the on-board VIA VT6420 SATA is a winxp with bios based fakeraid with 2 other disks. >> After short use of the fresh installation I got a Segmentation >> Fault in more and less. Badly I did not use gdb at this point, because >> I assumed a failure on my side during installation or on my hardware. >> Then very early I removed all and start again with Softraid. After a >> few reboots, I was only getting familiar with OpenBSD and did some >> little configuration work, sshd was not starting anymore. > > What did you mess with to screw up sshd? You did an install, not an > upgrade? I only use the option install, nerver update. After install to a singel disk, I booted into singel user, backup all, prepare and create softraid. Than after a couple of boots first time more/less was broken, than later ssh/sshd (libcrypto.so.18.0) >> Again I got >> Segmentation Fault, this time from sshd and ssh. Now I used gdb, and it >> was telling me about some problem with libcrypto.so.18.0, my bad I did >> not keep this file, I directly overwrote it with the lib from my backup >> , which I needed to create the Softraid. After this sshd and ssh was >> working normal again. >> >> I checked my disks and my ram, they are fine. > > > How did you check them? Hopefully not by using SMART. > Did you try swapping drive cables for new ones? I have had MANY drive > problems that were from bad cables I used smartctl from linux side (because Im still more familiar with it, and I used atactl. For the ram I used mem86test, overnight, without any errors. Because other OS is working fine, I did not consider the cables, but I give it a try. How should I check the hard disks? >> I am just waiting for the >> next Seg fault... I compiled nothing, I just created some users, >> configured X and xdm. I guess it could be a problem with my sata >> controller and the kernel, because both CCD and Softraid failed. The >> only thing I observed was that this problem was always direct after >> booting, it never occur during the system was running. Also I never had >> a problem when I was using a single disk, but this was just a short >> time during installation. >> >> Thank you for all hints and help. >> >> Andreas >> >> >> # dmesg >> >> OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 >> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC >> cpu0: mobile AMD Athlon(tm) XP 3200+ ("AuthenticAMD" 686-class, 512KB L2 >> cache) 2.21 GHz >> cpu0: >> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE >> >> real mem = 1073246208 (1023MB) >> avail mem = 1031172096 (983MB) >> mainbus0 at root >> bios0 at mainbus0: AT/286+ BIOS, date 08/07/06, BIOS32 rev. 0 @ 0xfda50, >> SMBIOS rev. 2.3 @ 0xf0630 (29 entries) >> bios0: vendor American Megatrends Inc. version "P1.80" date 08/07/2006 >> acpi0 at bios0: rev 0 >> acpi0: tables DSDT FACP APIC >> acpi0: wakeup devices UAR1(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) >> EHCI(S4) USBD(S4) PS2M(S4) PS2K(S4) AC9_(S4) MC9_(S4) ILAN(S4) PCI0(S4) >> SLPB(S4) >> acpitimer0 at acpi0: 3579545 Hz, 24 bits >> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat >> cpu0 at mainbus0: apid 0 (boot processor) >> cpu0: apic clock running at 400MHz >> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 3, 24 pins >> acpiprt0 at acpi0: bus 0 (PCI0) >> acpicpu0 at acpi0 >> acpipwrres0 at acpi0: URP1 >> acpipwrres1 at acpi0: URP2 >> acpipwrres2 at acpi0: FDDP >> acpipwrres3 at acpi0: LPTP >> acpibtn0 at acpi0: PWRB >> acpibtn1 at acpi0: SLPB >> bios0: ROM list: 0xc/0xf000! 0xcf000/0x4400! 0xd3800/0x4800 >> pci0 at mainbus0 bus 0: configuration mode 1 (bios) >> pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80 >> viaagp0 at pchb0: v3 >> agp0 at viaagp0: aperture at 0xe000, size 0xf00 >> ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00 >> pci1 at ppb0 bus 1 >> vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 6600 GT AGP" rev 0xa2 >> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >> wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >> pciide0 at pci0 dev 10 function 0 "CMD Technology SiI3114 SATA" rev >> 0x02: DMA >> pciide0: using apic 2 int 18 (irq 3) for native-PCI interrupt >> pciide0: port 0: device present, speed: 1.5Gb/s >> wd0 at pciide0 channel 0 drive 0: >> wd0: 16-sector PIO, LBA48, 381554MB, 781422768 sectors >> wd0(pciide0:0:0): using
Re: Segmentation Faults shortly after install, somehow random
andreas wrote: Hello All, I am new to this list and OpenBSD. I installed OpenBSD 4.7 i386 from CD and FTP. So which one is it? ftp or CD? First I overseen Sorftraid, so I used CCD to mirror my hard disks. What are your bios settings for the disks? After short use of the fresh installation I got a Segmentation Fault in more and less. Badly I did not use gdb at this point, because I assumed a failure on my side during installation or on my hardware. Then very early I removed all and start again with Softraid. After a few reboots, I was only getting familiar with OpenBSD and did some little configuration work, sshd was not starting anymore. What did you mess with to screw up sshd? You did an install, not an upgrade? Again I got Segmentation Fault, this time from sshd and ssh. Now I used gdb, and it was telling me about some problem with libcrypto.so.18.0, my bad I did not keep this file, I directly overwrote it with the lib from my backup , which I needed to create the Softraid. After this sshd and ssh was working normal again. I checked my disks and my ram, they are fine. How did you check them? Hopefully not by using SMART. Did you try swapping drive cables for new ones? I have had MANY drive problems that were from bad cables I am just waiting for the next Seg fault... I compiled nothing, I just created some users, configured X and xdm. I guess it could be a problem with my sata controller and the kernel, because both CCD and Softraid failed. The only thing I observed was that this problem was always direct after booting, it never occur during the system was running. Also I never had a problem when I was using a single disk, but this was just a short time during installation. Thank you for all hints and help. Andreas # dmesg OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: mobile AMD Athlon(tm) XP 3200+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.21 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 1073246208 (1023MB) avail mem = 1031172096 (983MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/07/06, BIOS32 rev. 0 @ 0xfda50, SMBIOS rev. 2.3 @ 0xf0630 (29 entries) bios0: vendor American Megatrends Inc. version "P1.80" date 08/07/2006 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC acpi0: wakeup devices UAR1(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) EHCI(S4) USBD(S4) PS2M(S4) PS2K(S4) AC9_(S4) MC9_(S4) ILAN(S4) PCI0(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 400MHz ioapic0 at mainbus0: apid 2 pa 0xfec0, version 3, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 acpipwrres0 at acpi0: URP1 acpipwrres1 at acpi0: URP2 acpipwrres2 at acpi0: FDDP acpipwrres3 at acpi0: LPTP acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB bios0: ROM list: 0xc/0xf000! 0xcf000/0x4400! 0xd3800/0x4800 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80 viaagp0 at pchb0: v3 agp0 at viaagp0: aperture at 0xe000, size 0xf00 ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 6600 GT AGP" rev 0xa2 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pciide0 at pci0 dev 10 function 0 "CMD Technology SiI3114 SATA" rev 0x02: DMA pciide0: using apic 2 int 18 (irq 3) for native-PCI interrupt pciide0: port 0: device present, speed: 1.5Gb/s wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 381554MB, 781422768 sectors wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 7 pciide0: port 1: device present, speed: 1.5Gb/s wd1 at pciide0 channel 1 drive 0: wd1: 16-sector PIO, LBA48, 381554MB, 781422768 sectors wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 7 emu0 at pci0 dev 12 function 0 "Creative Labs SoundBlaster Live" rev 0x05: apic 2 int 16 (irq 11) ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at emu0 "Creative Labs PCI Gameport Joystick" rev 0x05 at pci0 dev 12 function 1 not configured pciide1 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA pciide1: using apic 2 int 20 (irq 10) for native-PCI interrupt wd2 at pciide1 channel 0 drive 0: wd2: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 wd3 at pciide1 channel 1 drive 0: wd3: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd3(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6 pciide2 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility pciide2: channel 0 disabled (no drives) atapiscsi0 at pciide2 channel 1 drive 0 scsibus0 at atapiscsi0: 2
Voce recebeu uma mensagem de amor
Voce recebeu uma mensagem de amor de alguem que gosta de voce mensagem romantica 654kbn.gif (15881 bytes) Baixar Sua mensagemenvie mensagens para todos que conhega , mensagens romanticas e de amizade. http://www.gyfsanimados.com.br
Re: Perl problems in -current
On Sun, Jul 11, 2010 at 06:27:41PM -0700, Philip Guenther wrote: > When in doubt, use a bigger hammer. You could try using 'ktrace' on > the web server (probably with the -i option) to see exactly what is > happening when perl tries to open the Carp/Heavy.pm file. > > > Philip Guenther Hi Philip, ktrace produces a rather large (6M) kdump file. I checked all the paths below and the only place the file exists is at /usr/libdata/perl5/Carp/Heavy.pm. The permissions on the file are root:wheel and 0444, so it should be readable by anyone. I am not sure why it can't find this file at all. It seems to find Exporter/Heavy.pm further up in the trace. Copying that file to one of the other places doesn't help. Here are the relevant bits from the trace: 2037 httpdCALL stat(0x8325d900,0xcfbdac90) 2037 httpdNAMI "/usr/local/lib/perl5/site_perl/5.10.1/i386-openbsd/Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "/usr/local/lib/perl5/site_perl/5.10.1/i386-openbsd/Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325f180,0xcfbdac90) 2037 httpdNAMI "/usr/libdata/perl5/i386-openbsd/5.10.1/Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "/usr/libdata/perl5/i386-openbsd/5.10.1/Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325f780,0xcfbdac90) 2037 httpdNAMI "/usr/local/libdata/perl5/i386-openbsd/5.10.1/Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "/usr/local/libdata/perl5/i386-openbsd/5.10.1/Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325f480,0xcfbdac90) 2037 httpdNAMI "/usr/libdata/perl5/Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "/usr/libdata/perl5/Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325f080,0xcfbdac90) 2037 httpdNAMI "/usr/local/libdata/perl5/Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "/usr/local/libdata/perl5/Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325f7c0,0xcfbdac90) 2037 httpdNAMI "/usr/local/libdata/perl5/site_perl/i386-openbsd/Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "/usr/local/libdata/perl5/site_perl/i386-openbsd/Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325f580,0xcfbdac90) 2037 httpdNAMI "/usr/libdata/perl5/site_perl/i386-openbsd/Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "/usr/libdata/perl5/site_perl/i386-openbsd/Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325f540,0xcfbdac90) 2037 httpdNAMI "/usr/local/libdata/perl5/site_perl/Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "/usr/local/libdata/perl5/site_perl/Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325f280,0xcfbdac90) 2037 httpdNAMI "/usr/libdata/perl5/site_perl/Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "/usr/libdata/perl5/site_perl/Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x88596f60,0xcfbdac90) 2037 httpdNAMI "./Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "./Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x88596fa0,0xcfbdac90) 2037 httpdNAMI "/var/www//Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325d280,0xcfbdabf0) 2037 httpdNAMI "/var/www//Carp/Heavy.pm" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpdCALL stat(0x8325f580,0xcfbdac90) 2037 httpdNAMI "/var/www/lib/perl/Carp/Heavy.pmc" 2037 httpdRET stat -1 errno 2 No such file or directory 2037 httpd
Segmentation Faults shortly after install, somehow random
Hello All, I am new to this list and OpenBSD. I installed OpenBSD 4.7 i386 from CD and FTP. First I overseen Sorftraid, so I used CCD to mirror my hard disks. After short use of the fresh installation I got a Segmentation Fault in more and less. Badly I did not use gdb at this point, because I assumed a failure on my side during installation or on my hardware. Then very early I removed all and start again with Softraid. After a few reboots, I was only getting familiar with OpenBSD and did some little configuration work, sshd was not starting anymore. Again I got Segmentation Fault, this time from sshd and ssh. Now I used gdb, and it was telling me about some problem with libcrypto.so.18.0, my bad I did not keep this file, I directly overwrote it with the lib from my backup , which I needed to create the Softraid. After this sshd and ssh was working normal again. I checked my disks and my ram, they are fine. I am just waiting for the next Seg fault... I compiled nothing, I just created some users, configured X and xdm. I guess it could be a problem with my sata controller and the kernel, because both CCD and Softraid failed. The only thing I observed was that this problem was always direct after booting, it never occur during the system was running. Also I never had a problem when I was using a single disk, but this was just a short time during installation. Thank you for all hints and help. Andreas # dmesg OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: mobile AMD Athlon(tm) XP 3200+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.21 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 1073246208 (1023MB) avail mem = 1031172096 (983MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/07/06, BIOS32 rev. 0 @ 0xfda50, SMBIOS rev. 2.3 @ 0xf0630 (29 entries) bios0: vendor American Megatrends Inc. version "P1.80" date 08/07/2006 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC acpi0: wakeup devices UAR1(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) EHCI(S4) USBD(S4) PS2M(S4) PS2K(S4) AC9_(S4) MC9_(S4) ILAN(S4) PCI0(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 400MHz ioapic0 at mainbus0: apid 2 pa 0xfec0, version 3, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 acpipwrres0 at acpi0: URP1 acpipwrres1 at acpi0: URP2 acpipwrres2 at acpi0: FDDP acpipwrres3 at acpi0: LPTP acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB bios0: ROM list: 0xc/0xf000! 0xcf000/0x4400! 0xd3800/0x4800 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80 viaagp0 at pchb0: v3 agp0 at viaagp0: aperture at 0xe000, size 0xf00 ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 6600 GT AGP" rev 0xa2 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pciide0 at pci0 dev 10 function 0 "CMD Technology SiI3114 SATA" rev 0x02: DMA pciide0: using apic 2 int 18 (irq 3) for native-PCI interrupt pciide0: port 0: device present, speed: 1.5Gb/s wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 381554MB, 781422768 sectors wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 7 pciide0: port 1: device present, speed: 1.5Gb/s wd1 at pciide0 channel 1 drive 0: wd1: 16-sector PIO, LBA48, 381554MB, 781422768 sectors wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 7 emu0 at pci0 dev 12 function 0 "Creative Labs SoundBlaster Live" rev 0x05: apic 2 int 16 (irq 11) ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at emu0 "Creative Labs PCI Gameport Joystick" rev 0x05 at pci0 dev 12 function 1 not configured pciide1 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA pciide1: using apic 2 int 20 (irq 10) for native-PCI interrupt wd2 at pciide1 channel 0 drive 0: wd2: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 wd3 at pciide1 channel 1 drive 0: wd3: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd3(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6 pciide2 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility pciide2: channel 0 disabled (no drives) atapiscsi0 at pciide2 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: apic 2 int 21 (irq 11) uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: apic 2 int 21 (irq 11) uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: apic 2 in
Re: Thinkpad SL510 woes
20/08/10 i386 -current and still no luck. I upgraded BIOS also, Lenovo releases BIOS updates pretty often. mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries) bios0: vendor LENOVO version "6JET81WW (1.39 )" date 06/24/2010 bios0: LENOVO 28477TG On 07/08/10 23:00, Toma Vavrys wrote: > i386 -current transcribed errors - 4/7/2010. amd64 -current still works. > > real mem = 2004135936 (1911MB) > avail mem = 1964355584 (1873MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 05/14/10, BIOS32 rev. 0 @ > 0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries) > bios0: vendor LENOVO version "6JET79WW (1.37 )" date 05/14/2010 > bios0: LENOVO 28477TG > acpi at bios0 function 0x0 not configured > mpbios at bios0 function 0x0 not configured > pcibios0 at bios0: rev 3.0 @ 0xfdbf0/0x410 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/304 (17 entries) > pcibios0: bad IRQ table checksum > uvm_fault(0xd07cdf40, 0xd2915000, 0, 1) -> e > fatal page fault (6) in supervisor mode > trap type 6 code 0 eip fde5d cs 68 eflags 10046 cr2 d2915cc4 cpl 0 > panic: trap type 6, code=0, pc=fde5d > > The operating system has halted.
Segmentation Faults shortly after install, somehow random
Hello All, I am new to this list and OpenBSD. I installed OpenBSD 4.7 i386 from CD and FTP. First I overseen Sorftraid, so I used CCD to mirror my hard disks. After short use of the fresh installation I got a Segmentation Fault in more and less. Badly I did not use gdb at this point, because I assumed a failure on my side during installation or on my hardware. Then very early I removed all and start again with Softraid. After a few reboots, I was only getting familiar with OpenBSD and did some little configuration work, sshd was not starting anymore. Again I got Segmentation Fault, this time from sshd and ssh. Now I used gdb, and it was telling me about some problem with libcrypto.so.18.0, my bad I did not keep this file, I directly overwrote it with the lib from my backup, which I needed to create the Softraid. After this sshd and ssh was working normal again. I checked my disks and my ram, they are fine. I am just waiting for the next Seg fault... I compiled nothing, I just created some users, configured X and xdm. I guess it could be a problem with my sata controller and the kernel, because both CCD and Softraid failed. The only thing I observed was that this problem was always direct after booting, it never occur during the system was running. Also I never had a problem when I was using a single disk, but this was just a short time during installation. Thank you for all hints and help. Andreas # dmesg OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: mobile AMD Athlon(tm) XP 3200+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.21 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F XSR,SSE real mem = 1073246208 (1023MB) avail mem = 1031172096 (983MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/07/06, BIOS32 rev. 0 @ 0xfda50, SMBIOS rev. 2.3 @ 0xf0630 (29 entries) bios0: vendor American Megatrends Inc. version "P1.80" date 08/07/2006 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC acpi0: wakeup devices UAR1(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) EHCI(S4) USBD(S4) PS2M(S4) PS2K(S4) AC9_(S4) MC9_(S4) ILAN(S4) PCI0(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 400MHz ioapic0 at mainbus0: apid 2 pa 0xfec0, version 3, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 acpipwrres0 at acpi0: URP1 acpipwrres1 at acpi0: URP2 acpipwrres2 at acpi0: FDDP acpipwrres3 at acpi0: LPTP acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB bios0: ROM list: 0xc/0xf000! 0xcf000/0x4400! 0xd3800/0x4800 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80 viaagp0 at pchb0: v3 agp0 at viaagp0: aperture at 0xe000, size 0xf00 ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 6600 GT AGP" rev 0xa2 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pciide0 at pci0 dev 10 function 0 "CMD Technology SiI3114 SATA" rev 0x02: DMA pciide0: using apic 2 int 18 (irq 3) for native-PCI interrupt pciide0: port 0: device present, speed: 1.5Gb/s wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 381554MB, 781422768 sectors wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 7 pciide0: port 1: device present, speed: 1.5Gb/s wd1 at pciide0 channel 1 drive 0: wd1: 16-sector PIO, LBA48, 381554MB, 781422768 sectors wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 7 emu0 at pci0 dev 12 function 0 "Creative Labs SoundBlaster Live" rev 0x05: apic 2 int 16 (irq 11) ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at emu0 "Creative Labs PCI Gameport Joystick" rev 0x05 at pci0 dev 12 function 1 not configured pciide1 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA pciide1: using apic 2 int 20 (irq 10) for native-PCI interrupt wd2 at pciide1 channel 0 drive 0: wd2: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 wd3 at pciide1 channel 1 drive 0: wd3: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd3(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6 pciide2 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility pciide2: channel 0 disabled (no drives) atapiscsi0 at pciide2 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: apic 2 int 21 (irq 11) uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: apic 2 int 21 (irq 11) uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: apic 2 in