[4.4] Installation kernel stops at rd0: fixed
Hi all! I'd like to install OpenBSD 4.4 on my Acer Aspire 3630 laptop, but bsd.rd stops with "rd0: fixed, 3800 blocks". I tried to disable rd0 or softraid with UKC (also usb -- you know, blind shot), but it won't work. 4.4 and 4.3 bsd kernels stops at "mtrr: Pentium MTRR support" (something like this -- possible typing mistakes), but 4.3 bsd.rd boots properly and goes to install stage. Installed system can't boot, 'cause of MTRR... I'm using various versions of OBSD on several machines, but that is first problem that I'm unable to solve by myself using manuals or Google. I also looked into laptop's BIOS, but there's absolutely nothing to configure :-/ I can include dmesg output from 4.3, I hope it can be helpful, 4.4 doesn't give me any chance to save dmesg :) Please give me any advices, thanks in advance. OpenBSD 4.3 (RAMDISK_CD) #645: Wed Mar 12 11:31:03 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Intel(R) Celeron(R) M processor 1.50GHz ("GenuineIntel" 686-class) 1.51 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF real mem = 500723712 (477MB) avail mem = 477913088 (455MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/20/06, BIOS32 rev. 0 @ 0xfd600, SMBIOS rev. 2.31 @ 0x1ddfb000 (35 entries) bios0: vendor Acer version "3A22" date 03/20/06 bios0: Acer, inc. Aspire 3630 acpi0 at bios0: rev 0, can't enable ACPI bios0: ROM list: 0xc/0xc000 0xdc000/0x8000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "SiS 661 PCI" rev 0x11 agp at pchb0 not configured ppb0 at pci0 dev 1 function 0 "SiS 648FX AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25 pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 661: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 "SiS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured "SiS 7012 AC97" rev 0xa0 at pci0 dev 2 function 7 not configured ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: irq 9, version 1.0, legacy support ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: irq 11, version 1.0, legacy support ehci0 at pci0 dev 3 function 3 "SiS 7002 USB" rev 0x00: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1 sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: couldn't map interrupt cbb0 at pci0 dev 6 function 0 "ENE CB-1410 CardBus" rev 0x01: couldn't map interrupt "Broadcom BCM4318" rev 0x02 at pci0 dev 11 function 0 not configured isa0 at pcib0 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 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1 biomask fffd netmask fffd ttymask rd0: fixed, 3800 blocks root on rd0a swap on rd0b dump on rd0b umass0 at uhub0 port 5 configuration 1 interface 0 "TOSHIBA TransMemory" rev 2.00/1.10 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets sd0 at scsibus1 targ 1 lun 0: SCSI0 0/direct removable sd0: 1911MB, 243 cyl, 255 head, 63 sec, 512 bytes/sec, 3914752 sec total sd0 detached scsibus1 detached umass0 detached umass0 at uhub0 port 5 configuration 1 interface 0 "TOSHIBA TransMemory" rev 2.00/1.10 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets sd0 at scsibus1 targ 1 lun 0: SCSI0 0/direct removable sd0: 1911MB, 243 cyl, 255 head, 63 sec, 512 bytes/sec, 3914752 sec total
Re: OpenBSD
Dnia czwartek, 4 grudnia 2008, rizzo0917 napisa3: > 3: nvidia graphics card, I did some research and found that openbsd and > nvidia don't play well together, however nvidia developed a freebsd driver, > could that work?? The NVidia driver for FreeBSD is a blob, and OpenBSD guys avoid that kind of drivers. Instead there's nv(4) driver which works great except for 3D acceleration, have you tried it? -- Cezary Morga "It's amazing that the amount of news that happens in the world every day always just exactly fits the newspaper." (Jerry Seinfeld)
Re: [4.4] Installation kernel stops at rd0: fixed
feroza <[EMAIL PROTECTED]> writes: > Hi all! > I'd like to install OpenBSD 4.4 on my Acer Aspire 3630 laptop, but > bsd.rd stops with "rd0: fixed, 3800 blocks". I tried to disable rd0 or > softraid with UKC (also usb -- you know, blind shot), but it won't > work. 4.4 and 4.3 bsd kernels stops at "mtrr: Pentium MTRR support" > (something like this -- possible typing mistakes), but 4.3 bsd.rd > boots properly and goes to install stage. Installed system can't boot, > 'cause of MTRR... I'm using various versions of OBSD on several > machines, but that is first problem that I'm unable to solve by myself > using manuals or Google. > > [...] > > acpi0 at bios0: rev 0, can't enable ACPI Maybe you can try disabling acpi? -- Guillaume Pinot http://www.irccyn.ec-nantes.fr/~pinot/ ``Computers are good at following instructions, but not at reading your mind.'' -- Donald E. Knuth, the TeXbook () ASCII ribbon campaign -- Against HTML e-mail /\ http://www.asciiribbon.org -- Against proprietary attachments
Re: [4.4] Installation kernel stops at rd0: fixed
acpi0 at bios0: rev 0, can't enable ACPI Maybe you can try disabling acpi? That's it. Thanks a lot! Guillaume Pinot http://www.irccyn.ec-nantes.fr/~pinot/
Re: QEMU crashes
Hi Todd: You asked for feedback. Most of the time; qemu produces: {tun0 (bridge0 <-> em0)} But sometimes it produces: {tun0 (bridge0 <-> em0)brconfig: bridge0: No such process brconfig: bridge0: No such process } Network access still works, despite the error message. Frank On 2008-Nov-04, Todd T. Fries wrote: Just out of curiosity, humor me, run qemu as root with the following added options: -net nic,vlan=0 -net tap,vlan=0 I've observed that at some point user mode networking has started segv'ed on amd64 when running any qemu guest, and am sorry to report I have not yet tracked down the source of the issue.. Please let me know if you have other experiences. Thanks,
Experience with GA-MA74GM or any other AMD 740G chipset motherboard?
Hi! I'm planning to get a Gigabyte GA-MA74GM-S2H or GA-MA74GM-SH (basically the same motherboard). The goal is to make a "green", lowpower NAS, so I'm mostly interested in SATA and LAN experiences concerning this or similar boards. If you tried it, please write couple of lines describing the good/bad stuff. Thank you for your time! -- Schvberle, Daniel AAM Technologies Kft. IT Architect http://www.aamtech.hu ---
pfsync
hi it is possible that the pfsync between 4.3 <-> 4.4 or between sun 64 bit hardware to intel 64 bit hardware is not compatible ? i can ping the boxes from both sides and i see the incoming states updates by tcpdump. but if i check the state table with pfctl -ss i see just the carp , ospf states and self initated connections form the box himself. holger
kernel crash amd64 hp elitbook 6930p
I get pass this crash if I disable acpi... dmesg and partial (due to segmentation fault) acpidump follows. acpidump -o output at http://anka.org/acpidump/ OpenBSD 4.4-current (GENERIC.MP) #2000: Tue Dec 2 22:35:51 MST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2060275712 (1964MB) avail mem = 2000232448 (1907MB) RTC BIOS diagnostic error fe mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x7bbc4000 (21 entries) bios0: vendor Hewlett-Packard version "68PCU Ver. F.0C" date 10/17/2008 bios0: Hewlett-Packard HP EliteBook 6930p acpi0 at bios0: rev 0 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SSDT SLIC DMAR SSDT SSDT SSDT acpi0: wakeup devices LANC(S5) HDEF(S4) RP02(S5) WNIC(S5) RP03(S5) ECF0(S5) RP05(S5) ECF0(S5) RP06(S5) NIC_(S5) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) U6RM(S3) EHC1(S3) EHC2(S3) PCIB(S5) HST1(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: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.54 MHz cpu0: FPU,VME,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,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 3MB 64b/line 8-way L2 cache cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 MHz cpu1: FPU,VME,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,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 3MB 64b/line 8-way L2 cache ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus -1 (PEGP) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus 2 (RP02) acpiprt3 at acpi0: bus 3 (RP03) acpiprt4 at acpi0: bus 68 (RP05) acpiprt5 at acpi0: bus 133 (PCIB) acpiprt6 at acpi0: bus 0 (PCI0) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpitz0 at acpi0: critical temperature 105 degC acpitz1 at acpi0: critical temperature 112 degC acpitz2 at acpi0: critical temperature 112 degC acpitz3 at acpi0: critical temperature 90 degC acpitz4 at acpi0: critical temperature 95 degC acpibat0 at acpi0: BAT0 model "Primary" serial 02583 2008/09/18 type LIon oem "Hewlett-Packard" acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: LID_ acpivideo at acpi0 not configured cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp at vga1 not configured inteldrm0 at vga1 drm0 at inteldrm0: couldn't find agp "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured "Intel ICH9 IGP M AMT" rev 0x03 at pci0 dev 25 function 0 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 16 (irq 10) uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 17 (irq 10) uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18 (irq 10) ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 19 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: apic 1 int 17 (irq 10) azalia0: RIRB time out azalia0: codecs: Analog Devices/0x194a, AT&T/Lucent/0x1040, using Analog Devices/0x194a audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 1 int 16 (irq 10) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 1 int 17 (irq 10) pci2 at ppb1 bus 2 iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5300AGN" rev 0x00: apic 1 int 17 (irq 10), MIMO 3T3R, MoW, address 00:16:ea:70:8 ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: apic 1 int 18 (irq 10) pci3 at ppb2 bus 3 ppb3 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: apic 1 int 16 (irq 10) pci4 at ppb3 bus 68 uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20 (irq 10) uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 22 (irq 11) uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18 (irq 10) ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 20 (irq 10) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93 pci5 at ppb4 bus 133 "Ricoh 5C832 Firewire" rev 0x06 at pci5 dev 9 function 0 not configured sdhc0 at pci5 dev 9 function 1 "Ricoh 5C822 SD/MMC" rev 0x25: apic
Re: sshd with authlog error message: SOLVED
On Fri, Nov 28, 2008 at 01:30:15PM -0600, Denny White spoke thusly: > Just upgraded to 4.4 the other day. Fresh install, then updated > to stable. I have a loopback adapter on the one xp box with a > cygwin bash script that runs on boot & gets installed as a > service. Click Start - Run, type in the ip address and enter > and explorer comes up with my file shares on my OpenBSD box. > Before in 4.3 there were never any error messages. Now I'm > getting this in authlog: > > Nov 28 13:12:28 badboybox sshd[1280]: channel_by_id: 1: bad id: channel > free > Nov 28 13:12:28 badboybox sshd[1280]: channel_input_success_failure: 1: > unknown > > I googled around and saw others having that problem, but everything > I found had to do with linux. Samba was built with the ssl argument. > Did that just for experimentation to see what I could do with it & > learn something new. I'm also running sshd on a high port rather > than on 22 to keep all the script kiddy crap out of the logs. I can > run sshd with the -q switch and stop the error message, but I'm not > really comfortable with that. Anyone has any idea what's causing it, > I'd appreciate any input. I know ssh has moved up to 5.1 in 4.4, and > I thought maybe something that had changed in it was causing the > problem, but what I don't know. Thanks for any help on it. > Replying to my own message to say problem solved. Don't know what changed in 5.1 or samba, but the error messages can be gotten rid of by adding the following to the ssh command on a windows loopback connector bash script in cygwin & hopefully putty or others if not using cygwin. I don't know since I haven't used putty in a long time. -o TCPKeepAlive=no -o ServerAliveInterval=10 I put 10 since I think sshd checks every 20 seconds or so by default. Anyone correct me if I'm wrong on that. I'd read where the 'no' on the TCPKeepAlive protects against some sort of spoofing. Thought I should explain that since it looks redundant, and very may be with the newer ssh. It wouldn't affect this system anyway, I don't think, since all connections are done using keys rather than passwords. And again, anyone correct me where I'm wrong. Anyway, the error messages are gone. -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: pfsync
On 2008-12-04, Holger Glaess <[EMAIL PROTECTED]> wrote: > hi > > > it is possible that the pfsync between 4.3 <-> 4.4 or between > sun 64 bit hardware to intel 64 bit hardware is not compatible ? > > i can ping the boxes from both sides and i see the incoming > states updates by tcpdump. > > but if i check the state table with pfctl -ss i see just > the carp , ospf states and self initated connections form > the box himself. > > holger > > The protocol changed between 4.3 and 4.4.
Re: QEMU crashes
Yes, the error is the 1st time said bridge is created. Call it a wart. ;-) -- Todd Fries .. [EMAIL PROTECTED] _ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | "..in support of free software solutions." \ 250797 (FWD) | \ \\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt Penned by Frank Bax on 20081203 22:31.57, we have: > Hi Todd: > > You asked for feedback. Most of the time; qemu produces: > > {tun0 (bridge0 <-> em0)} > > But sometimes it produces: > > {tun0 (bridge0 <-> em0)brconfig: bridge0: No such process > brconfig: bridge0: No such process > } > > Network access still works, despite the error message. > > Frank > > > On 2008-Nov-04, Todd T. Fries wrote: >> Just out of curiosity, humor me, run qemu as root with the following added >> options: >> >> -net nic,vlan=0 -net tap,vlan=0 >> >> I've observed that at some point user mode networking has started segv'ed on >> amd64 when running any qemu guest, and am sorry to report I have not yet >> tracked down the source of the issue.. >> >> Please let me know if you have other experiences. >> >> Thanks,
Re: pfsync
hi Stuart Henderson wrote: > On 2008-12-04, Holger Glaess <[EMAIL PROTECTED]> wrote: >> hi >> >> >> it is possible that the pfsync between 4.3 <-> 4.4 or between >> sun 64 bit hardware to intel 64 bit hardware is not compatible ? >> >> i can ping the boxes from both sides and i see the incoming >> states updates by tcpdump. >> >> but if i check the state table with pfctl -ss i see just >> the carp , ospf states and self initated connections form >> the box himself. >> >> holger >> >> > > The protocol changed between 4.3 and 4.4. > > ah ok .thanks holger
Re: QEMU crashes
And you are smart enough to fix it ;-) It is ugly to see it fly by. On Thu, Dec 04, 2008 at 06:39:50AM -0600, [EMAIL PROTECTED] wrote: > Yes, the error is the 1st time said bridge is created. Call it a wart. ;-) > -- > Todd Fries .. [EMAIL PROTECTED] > > _ > | \ 1.636.410.0632 (voice) > | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) > | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) > | "..in support of free software solutions." \ 250797 (FWD) > | \ > \\ > > 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A > http://todd.fries.net/pgp.txt > > Penned by Frank Bax on 20081203 22:31.57, we have: > > Hi Todd: > > > > You asked for feedback. Most of the time; qemu produces: > > > > {tun0 (bridge0 <-> em0)} > > > > But sometimes it produces: > > > > {tun0 (bridge0 <-> em0)brconfig: bridge0: No such process > > brconfig: bridge0: No such process > > } > > > > Network access still works, despite the error message. > > > > Frank > > > > > > On 2008-Nov-04, Todd T. Fries wrote: > >> Just out of curiosity, humor me, run qemu as root with the following added > >> options: > >> > >>-net nic,vlan=0 -net tap,vlan=0 > >> > >> I've observed that at some point user mode networking has started segv'ed > >> on > >> amd64 when running any qemu guest, and am sorry to report I have not yet > >> tracked down the source of the issue.. > >> > >> Please let me know if you have other experiences. > >> > >> Thanks,
You've received A Hallmark E-Card!
Hallmark.comShop OnlineHallmark MagazineE-Cards & MoreAt Gold Crown You have recieved A Hallmark E-Card. Hello! You have recieved a Hallmark E-Card. To see it, click here, There's something special about that E-Card feeling. We invite you to make a friend's day and send one. Hope to see you soon, Your friends at Hallmark Your privacy is our priority. Click the "Privacy and Security" link at the bottom of this E-mail to view our policy. Hallmark.com | Privacy & Security | Customer Service | Store Locator
Re: QEMU crashes
See if this works any better. --- emulators/qemu/files/qemu-ifup +++ emulators/qemu/files/qemu-ifup @@ -16,6 +16,15 @@ echo -n " {$1 ($BRIDGE <-> $ETHER)" # Set the tun device into layer2 mode $SUDO ifconfig $1 link0 up +# setup up $ETHER incase it wasn't created before +if ! ifconfig $ETHER > /dev/null 2>&1; then + if ! $SUDO ifconfig $ETHER create > /dev/null 2>&1; then + echo "$ETHER creation failed, errors will follow" + else + $SUDO ifconfig $ETHER up + fi +fi + # Set up our bridge $SUDO ifconfig $1 group tun > /dev/null 2>&1 $SUDO ifconfig $BRIDGE create > /dev/null 2>&1 && { -- Todd Fries .. [EMAIL PROTECTED] _ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | "..in support of free software solutions." \ 250797 (FWD) | \ \\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt Penned by Marco Peereboom on 20081204 7:22.30, we have: | And you are smart enough to fix it ;-) | | It is ugly to see it fly by. | | On Thu, Dec 04, 2008 at 06:39:50AM -0600, [EMAIL PROTECTED] wrote: | > Yes, the error is the 1st time said bridge is created. Call it a wart. ;-) | > -- | > Todd Fries .. [EMAIL PROTECTED] | > | > _ | > | \ 1.636.410.0632 (voice) | > | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | > | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | > | "..in support of free software solutions." \ 250797 (FWD) | > | \ | > \\ | > | > 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A | > http://todd.fries.net/pgp.txt | > | > Penned by Frank Bax on 20081203 22:31.57, we have: | > > Hi Todd: | > > | > > You asked for feedback. Most of the time; qemu produces: | > > | > > {tun0 (bridge0 <-> em0)} | > > | > > But sometimes it produces: | > > | > > {tun0 (bridge0 <-> em0)brconfig: bridge0: No such process | > > brconfig: bridge0: No such process | > > } | > > | > > Network access still works, despite the error message. | > > | > > Frank | > > | > > | > > On 2008-Nov-04, Todd T. Fries wrote: | > >> Just out of curiosity, humor me, run qemu as root with the following added | > >> options: | > >> | > >> -net nic,vlan=0 -net tap,vlan=0 | > >> | > >> I've observed that at some point user mode networking has started segv'ed on | > >> amd64 when running any qemu guest, and am sorry to report I have not yet | > >> tracked down the source of the issue.. | > >> | > >> Please let me know if you have other experiences. | > >> | > >> Thanks, | >
System panic with bad dir again
Hi all, After replacing all of the SCSI cables in my server and going for a week without a panic I thought I'd gotten to the bottom of this. Now, for the second morning in a row I've found this panic: Debugger(d93328c4,d2bac000,df7e6ca0,d2bac000,d93445cc) at Debugger+0x4 ddb{0}> show panic bad dir ddb{0}> ddb{0}> trace Debugger(d93328c4,d2bac000,df7e6ca0,d2bac000,d93445cc) at Debugger+0x4 panic(d072703b,d93445cc,df7e6d40,d045a888,d93445cc) at panic+0x55 ufs_dirbad(d93445cc,1f800,d072702d,d8b65128,d9e61384) at ufs_dirbad+0x45 ufs_lookup(df7e6d58,d96799b4,df7e6d70,d039b1ff,d07fb438) at ufs_lookup+0xbc1 VOP_LOOKUP(d93328c4,df7e6e58,df7e6e6c,20) at VOP_LOOKUP+0x2e lookup(df7e6e48,d9de4000,400,df7e6e60) at lookup+0x1d0 namei(df7e6e48,d9e0fbb8,0,cfc9b87c) at namei+0x18c sys_stat(d96799b4,df7e6f68,df7e6f58,d96799b4) at sys_stat+0x4a syscall() at syscall+0x12b --- syscall (number 291) --- 0x6e6417d: ddb{0}> (ps and dmesg below) Other details that might be of interest: On reboot after this panic the LSI MegaRAID card will come up with a mismatch between the stored configuration on the card and the configuration information stored on the disk. I then have to enter the LSI interface and choose to use the information stored on the card. When the system then tries to bring up the disks, one of the RAID 1 volumes will be marked as failed. I then select one of the failed disk, and bring it back on-line. This changes this volume from failed to degraded, but when I do the same procedure for the other disk in the RAID 1 volume, the alarms stop immediately and the volume is marked on-line and optimal. The system can then be rebooted and after fscking the disks be back to normal, at least until tomorrow morning at about 1:30 if this pattern holds :-( I'll file this with sendbug as well. Jeff OpenBSD 4.4-current (GENERIC.MP) #1154: Fri Nov 14 16:40:08 MST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Xeon(TM) CPU 2.66GHz ("GenuineIntel" 686-class) 2.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 ,HTT,TM,SBF,CNXT-ID,xTPR real mem = 2146988032 (2047MB) avail mem = 2067472384 (1971MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/09/05, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xf82a0 (48 entries) bios0: vendor American Megatrends Inc. version "080008" date 02/09/2005 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC OEMB acpi0: wakeup devices PS2K(S1) PS2M(S1) SMBS(S1) AUDI(S1) MODM(S1) USB0(S1) USB1(S1) USB2(S1) P0P1(S1) 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 133MHz cpu1 at mainbus0: apid 6 (application processor) cpu1: Intel(R) Xeon(TM) CPU 2.66GHz ("GenuineIntel" 686-class) 2.67 GHz cpu1: 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,CNXT-ID,xTPR cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(TM) CPU 2.66GHz ("GenuineIntel" 686-class) 2.67 GHz cpu2: 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,CNXT-ID,xTPR cpu3 at mainbus0: apid 7 (application processor) cpu3: Intel(R) Xeon(TM) CPU 2.66GHz ("GenuineIntel" 686-class) 2.67 GHz cpu3: 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,CNXT-ID,xTPR ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic1 at mainbus0: apid 9 pa 0xfec8, version 20, 24 pins ioapic2 at mainbus0: apid 10 pa 0xfec80400, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus 3 (P2P3) acpiprt3 at acpi0: bus 5 (P2P4) acpicpu0 at acpi0 acpicpu1 at acpi0 acpicpu2 at acpi0 acpicpu3 at acpi0 acpibtn0 at acpi0: SPBT bios0: ROM list: 0xc/0x8000 0xc8000/0x1800 0xc9800/0x2200 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel E7501 Host" rev 0x01 ppb0 at pci0 dev 2 function 0 "Intel E7500 PCI" rev 0x01 pci1 at ppb0 bus 2 "Intel 82870P2 IOxAPIC" rev 0x04 at pci1 dev 28 function 0 not configured ppb1 at pci1 dev 29 function 0 "Intel 82870P2 PCIX-PCIX" rev 0x04 pci2 at ppb1 bus 5 "Intel 82870P2 IOxAPIC" rev 0x04 at pci1 dev 30 function 0 not configured ppb2 at pci1 dev 31 function 0 "Intel 82870P2 PCIX-PCIX" rev 0x04 pci3 at ppb2 bus 3 ppb3 at pci3 dev 3 function 0 "IBM 133 PCIX-PCIX" rev 0x03 pci4 at ppb3 bus 4 ami0 at pci4 dev 0 function 0 "Symbios Logic MegaRAID 320" rev 0x02: apic 9 int 0 (irq 10) ami0: LSI 532, 32b, FW 414C, BIOS vH429, 128MB RAM ami0: 2 channels, 0 FC loops, 3 logical drives scsibus0 at ami0: 40 targets, initiator 40 sd0 at scsibus0 targ 0 lun 0: SCSI2 0/direct fixed sd0: 69618MB, 512 bytes/sec, 142577664 sec total sd1 at scsibus0 targ 1 lun 0: SCSI2 0/dire
Re: QEMU crashes
Ok, based on some other feedback from Stuart, here is a new diff to test that should work better ;-) --- emulators/qemu/files/qemu-ifup +++ emulators/qemu/files/qemu-ifup @@ -16,16 +16,19 @@ echo -n " {$1 ($BRIDGE <-> $ETHER)" # Set the tun device into layer2 mode $SUDO ifconfig $1 link0 up +# setup up $ETHER incase it wasn't created before +if ! ifconfig $ETHER > /dev/null 2>&1; then + if ! $SUDO ifconfig $ETHER create > /dev/null 2>&1; then + echo "$ETHER creation failed, errors will follow" + else + $SUDO ifconfig $ETHER up + fi +fi + # Set up our bridge $SUDO ifconfig $1 group tun > /dev/null 2>&1 -$SUDO ifconfig $BRIDGE create > /dev/null 2>&1 && { - # Only add rules if the bridge creation succeeds; otherwise - # duplicate rules get loaded each time qemu starts - # The following two block carp packets from wasting cpu cycles inside the - # qemu sessions, remove if testing carp inside qemu - $SUDO brconfig $BRIDGE rule block in on $ETHER dst 33:33:0:0:0:12 - $SUDO brconfig $BRIDGE rule block in on $ETHER dst 01:00:5e:00:00:12 -} +# Creation only happens once; if it was created before .. this will fail +$SUDO ifconfig $BRIDGE create > /dev/null 2>&1 && create=1 # Since we can specify ETHER and BRIDGE above, its possible that # this tun interface or this physical interface was setup as part of # a different bridge earlier, and that is never cleaned up, so we have @@ -39,4 +42,13 @@ do done $SUDO brconfig $BRIDGE add $ETHER up $SUDO brconfig $BRIDGE add $1 up || true +# can not add rules until $ETHER is part of the $BRIDGE +[ -n "$created" ] && { + # Only add rules if the bridge creation succeeds; otherwise + # duplicate rules get loaded each time qemu starts + # The following two block carp packets from wasting cpu cycles inside the + # qemu sessions, remove if testing carp inside qemu + $SUDO brconfig $BRIDGE rule block in on $ETHER dst 33:33:0:0:0:12 + $SUDO brconfig $BRIDGE rule block in on $ETHER dst 01:00:5e:00:00:12 +} echo "}" -- Todd Fries .. [EMAIL PROTECTED] _ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | "..in support of free software solutions." \ 250797 (FWD) | \ \\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt Penned by Frank Bax on 20081203 22:31.57, we have: > Hi Todd: > > You asked for feedback. Most of the time; qemu produces: > > {tun0 (bridge0 <-> em0)} > > But sometimes it produces: > > {tun0 (bridge0 <-> em0)brconfig: bridge0: No such process > brconfig: bridge0: No such process > } > > Network access still works, despite the error message. > > Frank > > > On 2008-Nov-04, Todd T. Fries wrote: >> Just out of curiosity, humor me, run qemu as root with the following added >> options: >> >> -net nic,vlan=0 -net tap,vlan=0 >> >> I've observed that at some point user mode networking has started segv'ed on >> amd64 when running any qemu guest, and am sorry to report I have not yet >> tracked down the source of the issue.. >> >> Please let me know if you have other experiences. >> >> Thanks,
Re: no ocamlopt in openbsd?
On Wed, 3 Dec 2008, Vivek Ayer wrote: Hey guys, I'm trying to compile the texvc in the mediawiki package so I can render LaTeX on the fly, but it needs the ocaml set of binaries including ocamlc and ocamlopt. The OpenBSD 4.3 package for ocaml doesn't have the ocamlopt binary meaning I can't compile texvc. Is there any hope? Should I try installing ocaml from ports instead or is ocamlopt just not available for BSD. I'm running Mediawiki on OpenBSD/sparc64 btw. It would be a great help if I could get this to work. Thanks, Vivek I run -current and have ocaml installed from ports, which gave me ocamlopt as well. I can't comment for 4.3, but I would imagine it's the same.
Re: no ocamlopt in openbsd?
On Thu, Dec 4, 2008 at 1:18 AM, Vivek Ayer <[EMAIL PROTECTED]> wrote: > I'm trying to compile the texvc in the mediawiki package so I can > render LaTeX on the fly, but it needs the ocaml set of binaries > including ocamlc and ocamlopt. The OpenBSD 4.3 package for ocaml > doesn't have the ocamlopt binary meaning I can't compile texvc. Is > there any hope? Should I try installing ocaml from ports instead or is > ocamlopt just not available for BSD. I'm running Mediawiki on > OpenBSD/sparc64 btw. It would be a great help if I could get this to > work. there is no native code backend for sparc64.
Re: no ocamlopt in openbsd?
The sparc64 port of OCaml doesnt include a native code backend, just the bytecode. However, you never *must* have ocamlopt in order to run an OCaml program, as the bytecode backend works fine (but a little slower) in most cases. If there's an option in the texvc package to swap out ocamlopt for ocamlc, then do that and it should all work fine. -anil On 4 Dec 2008, at 06:18, Vivek Ayer wrote: Hey guys, I'm trying to compile the texvc in the mediawiki package so I can render LaTeX on the fly, but it needs the ocaml set of binaries including ocamlc and ocamlopt. The OpenBSD 4.3 package for ocaml doesn't have the ocamlopt binary meaning I can't compile texvc. Is there any hope? Should I try installing ocaml from ports instead or is ocamlopt just not available for BSD. I'm running Mediawiki on OpenBSD/sparc64 btw. It would be a great help if I could get this to work. Thanks, Vivek
Re: ar5424 hal codes ??
when it can be supported bye openbsd ? 2008/12/4 ropers <[EMAIL PROTECTED]> > 2008/12/3 romeofx romeofx <[EMAIL PROTECTED]>: > > # dmesg |grep ath0 > > ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 10 > > ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address xx:xx:xx:xx:xx:xx > > > > ar5424 of hal codes are open now? > > http://svn.freebsd.org/base/projects/ath_hal/ > > > http://madwifi-project.org/wiki/news/20081129/sam-leffler-releases-hal-source > > http://lkml.org/lkml/2008/9/26/321
Re: Experience with GA-MA74GM or any other AMD 740G chipset motherboard?
Hey Daniel, I've been playing around with OpenBSD amd64 on a Gigabyte GA-MA78GPM-DS2H (which is a similar chipset, but not identical) using a Phenom X3. Everything seems to work fairly well. Video works with radeonhd. The on-board azalia works well, but seems a bit noisy (obviously not a OpenBSD problem). The on-board re NIC works fine. AHCI works well on the southbridge, but I was having problems getting hotpluging working with my eSATA drive -- I couldn't manage to reset the bus to detect the new drive without a reboot. Otherwise the system board seems to work fairly well. Feel free to shoot me a message if you have any other questions. Take care, Steve On Thu, Dec 04, 2008 at 11:31:51AM +0100, Schvberle Daniel wrote: > Hi! > > I'm planning to get a Gigabyte GA-MA74GM-S2H or GA-MA74GM-SH > (basically the same motherboard). The goal is to make a "green", > lowpower NAS, so I'm mostly interested in SATA and LAN experiences > concerning this or similar boards. If you tried it, please write > couple of lines describing the good/bad stuff. > > Thank you for your time! > > -- > Schvberle, Daniel AAM Technologies Kft. > IT Architect http://www.aamtech.hu > ---
Re: Fwd: Re: Vlan Tag on Vlan Tag (l2tunneling)
I think it makes sense to commit these parts whatever happens with the rest of the diff. > Index: sys/net/ethertypes.h > === > RCS file: /cvs/src/sys/net/ethertypes.h,v > retrieving revision 1.9 > diff -u -p -r1.9 ethertypes.h > --- sys/net/ethertypes.h 5 May 2008 13:40:17 - 1.9 > +++ sys/net/ethertypes.h 21 Aug 2008 19:18:42 - > @@ -300,6 +300,7 @@ > #define ETHERTYPE_LANPROBE 0x /* HP LanProbe test? */ > #define ETHERTYPE_PAE 0x888E /* 802.1X Port Access Entity */ > #define ETHERTYPE_AOE 0x88A2 /* ATA over Ethernet */ > +#define ETHERTYPE_QINQ 0x88A8 /* 802.1ad VLAN stacking */ > #define ETHERTYPE_LLDP 0x88CC /* Link Layer Discovery > Protocol */ > #define ETHERTYPE_LOOPBACK 0x9000 /* Loopback */ > #define ETHERTYPE_LBACK ETHERTYPE_LOOPBACK /* DEC MOP > loopback */ > Index: usr.sbin/tcpdump/ethertype.h > === > RCS file: /cvs/src/usr.sbin/tcpdump/ethertype.h,v > retrieving revision 1.13 > diff -u -p -r1.13 ethertype.h > --- usr.sbin/tcpdump/ethertype.h 7 Oct 2007 16:41:05 - 1.13 > +++ usr.sbin/tcpdump/ethertype.h 21 Aug 2008 19:18:42 - > @@ -102,6 +102,9 @@ > #ifndef ETHERTYPE_8021Q > #define ETHERTYPE_8021Q 0x8100 > #endif > +#ifndef ETHERTYPE_QINQ > +#define ETHERTYPE_QINQ 0x88a8 > +#endif > #ifndef ETHERTYPE_IPX > #define ETHERTYPE_IPX0x8137 > #endif > Index: usr.sbin/tcpdump/print-ether.c > === > RCS file: /cvs/src/usr.sbin/tcpdump/print-ether.c,v > retrieving revision 1.23 > diff -u -p -r1.23 print-ether.c > --- usr.sbin/tcpdump/print-ether.c7 Oct 2007 16:41:05 - 1.23 > +++ usr.sbin/tcpdump/print-ether.c21 Aug 2008 19:18:42 - > @@ -204,7 +204,11 @@ recurse: > return (1); > > case ETHERTYPE_8021Q: > - printf("802.1Q vid %d pri %d%s", > + printf("802.1Q "); > + case ETHERTYPE_QINQ: > + if (ethertype == ETHERTYPE_QINQ) > + printf("QinQ s"); > + printf("vid %d pri %d%s", > ntohs(*(unsigned short*)p)&0xFFF, > ntohs(*(unsigned short*)p)>>13, > (ntohs(*(unsigned short*)p)&0x1000) ? " cfi " : " ");
Объем поставок от 5 до 100 тонн в месяц.
Sb`f`el{e, opedophmhl`rekh! Nornb` jnlo`mh g`jso`er opndsjr{ ohr`mh k~a{u m`hlemnb`mhi. . Nazel onqr`bnj nr 5 dn 100 rnmm b leqv. P`anr`el on opednok`re. P`qql`rphb`el bnglnfmnqr| ophnaperemh rnb`pnb p`gkhwm{u bhdnb opnhqunfdemh. Gbnmhre! +38 (050) 695 10 60 Ohxhre! [EMAIL PROTECTED] Me sd`kire }rn ohq|ln, nmn b`l ophcndhrq! -- _ This email and any attached files are CONFIDENTIAL and may be legally privileged. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify the sender immediately and then delete this email. rassilki:icq688
4.3-stable panics on a Soekris net-5501
Hi I run OpenBSD 4.3-stable on a soekris net-5501. Today I was dumping files from a wd0 disk to a mountpoint on sd0 disk (external USB). I "accidently" unplugged the power cable of sd0 disk and my system paniced. I think this should not happen, so here are some more details: This is my dmesg: OpenBSD 4.3 (GENERIC) #0: Tue Nov 18 00:09:32 CET 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 434 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX real mem = 268005376 (255MB) avail mem = 251092992 (239MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 20/71/05, BIOS32 rev. 0 @ 0xfac40 pcibios0 at bios0: rev 2.0 @ 0xf/0x1 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc8000/0xa800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x30 glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 00:00:24:c9:5e:28 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, address 00:00:24:c9:5e:29 ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, address 00:00:24:c9:5e:2a ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address 00:00:24:c9:5e:2b ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 0, 32-bit 3579545Hz timer, watchdog, gpio gpio0 at glxpcib0: 32 pins pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 15, version 1.0, legacy support ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 15 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 isa0 at glxpcib0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS gpio1 at nsclpcsio0: 29 pins npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1 biomask e5c5 netmask ffe5 ttymask ffe7 mtrr: K6-family MTRR support (2 registers) softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted umass0 at uhub0 port 1 configuration 1 interface 0 "Western Digital External HDD" rev 2.00/1.04 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets sd0 at scsibus0 targ 1 lun 0: SCSI2 0/direct fixed sd0: 476940MB, 60801 cyl, 255 head, 63 sec, 512 bytes/sec, 976773168 sec total I attached my serial cable and saw the ddb prompt. I don't know what's above the ddb. But, here's ps and trace. ddb> ps PID PPID PGRPUID S FLAGS WAIT COMMAND 13421 20895 14064 0 30x80 pipewrdump 20048 20895 14064 0 30x80 pause dump 22908 20895 14064 0 30x80 pause dump 20895 19284 14064 0 30x80 netio dump 13095 29623 14064 0 2 0x4000cat 19284 29623 14064 0 3 0x4080 wait dump 28848 24380 14064 0 3 0x4080 piperdtee 29623 24380 14064 0 30x80 pause sh 13899 32093 15477 25 3 0x44180 piperdsendmail 24380 14064 14064 0 3 0x4080 pause sh 14064 32093 14064 0 3 0x4080 pause sh 32093 15477 15477 0 30x80 piperdcron 20889 7256 7256 67 3 0x180 netconhttpd 14742 1 14742 0 3 0x4082 ttyin getty 15477 1 15477 0 30x80 selectcron 26526 1 16890 0 30x82 nanosleep perl 28111 1 28111 0 30x81 selectnmbd 7325 11156 11156 0 3 0x181 pause smbd 11156 1
Re: no ocamlopt in openbsd?
How would I do that? Should I look into the texvc Makefile and just change all the ocamlopt lines to ocamlc? Vivek On Thu, Dec 4, 2008 at 6:57 AM, Anil Madhavapeddy <[EMAIL PROTECTED]> wrote: > The sparc64 port of OCaml doesnt include a native code backend, just the > bytecode. However, you never *must* have ocamlopt in order to run an OCaml > program, as the bytecode backend works fine (but a little slower) in most > cases. > > If there's an option in the texvc package to swap out ocamlopt for ocamlc, > then do that and it should all work fine. > > -anil > > On 4 Dec 2008, at 06:18, Vivek Ayer wrote: > >> Hey guys, >> >> I'm trying to compile the texvc in the mediawiki package so I can >> render LaTeX on the fly, but it needs the ocaml set of binaries >> including ocamlc and ocamlopt. The OpenBSD 4.3 package for ocaml >> doesn't have the ocamlopt binary meaning I can't compile texvc. Is >> there any hope? Should I try installing ocaml from ports instead or is >> ocamlopt just not available for BSD. I'm running Mediawiki on >> OpenBSD/sparc64 btw. It would be a great help if I could get this to >> work. >> >> Thanks, >> Vivek
Image::Magick help
Dear List, I'm running 4.3 and installed p5-PerlMagick from packages. When i try to load this module with one of my perl scripts it says: Can't load '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/Magick.so' for module Image::Magick: Cannot load specified object at /usr/libdata/perl5/i386-openbsd/5.8.8/DynaLoader.pm line 230. Of course i have installed ImageMagick with x11 support. What do you suggest? Thanks in advance! -- Gabri Mate [EMAIL PROTECTED]
Re: Image::Magick help
On Thu, Dec 4, 2008 at 12:12 PM, Gabri Mate <[EMAIL PROTECTED]> wrote: > '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/Magick.so' Does this file exist?
Re: no ocamlopt in openbsd?
Hi Vivek and list : > How would I do that? Should I look into the texvc Makefile and just > change all the ocamlopt lines to ocamlc? Have a glance at the Makefile, yes, it seems to me that running something like gmake texvc.bc will get you what you want, i.e. the bytecode executable (I have no idea why this wasn't included in the "all" target in the first place) Regards -- Richard Bonichon
Re: Image::Magick help
On 12:24 Thu 04 Dec , Jesse Zbikowski wrote: > On Thu, Dec 4, 2008 at 12:12 PM, Gabri Mate <[EMAIL PROTECTED]> wrote: > > '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/Magick.so' > > Does this file exist? Yes, of course. ls /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/ Magick.bsMagick.soautosplit.ix -- Gabri Mate [EMAIL PROTECTED]
Re: no ocamlopt in openbsd?
It compiled fine. Thanks. Do I just rename it to texvc now and make it executable or should I create a symbolic link? Thanks again, Vivek On Thu, Dec 4, 2008 at 12:31 PM, Richard Bonichon <[EMAIL PROTECTED]> wrote: > Hi Vivek and list > : >> How would I do that? Should I look into the texvc Makefile and just >> change all the ocamlopt lines to ocamlc? > > Have a glance at the Makefile, yes, it seems to me that running something like > > gmake texvc.bc > > will get you what you want, i.e. the bytecode executable > (I have no idea why this wasn't included in the "all" target in the first > place) > > Regards > -- > Richard Bonichon
Re: mutt and ffs stat performance when starting mutt
hmm, on Wed, Dec 03, 2008 at 03:38:07PM +0800, David Schulz said that > If i now type `mutt` into my Terminal, mutt will take about 736 seconds > just to open up the Mailbox, displaying a "Reading > /home/ds/mail/INBOX...x/148800 (3%)". > `top` shows the CPU (P4, 3GhZ) working away at 60% or so, but vmstat -c > 100 nor iostat -c 100 show much activity. i am not sure how mutt operates but i can confirm very poor performance if the mailbox is on flash devices even with mailboxes 20-30M big. i tried to outsmart it putting the mbox on mfs but it's no use, it is still tampering with the flash for reasons i cannot explain. mutt is slow. -f -- never enough. it is never enough.
Edgeport/421 (TI version) serial is ugen
I recently got an Edgeport/421 (4 USB, 2 RS-232 DB-9, 1 parallel) that seemed like it would be really handy since this computer is legacy free and doesn't have any serial ports and having serial ports would be really handy. http://www.digi.com/products/usb/edgeport.jsp Everything seems to work great. Except the serial ports. Are there any suggestions on what I might need to do to make the serial ports work? >From looking and then taking it apart, it appears to be the newer TI version that is mostly just a TUSB5052 with one of the free ports hooked to a USB Parallel port. http://focus.ti.com/docs/prod/folders/print/tusb5052.html Is there already a USB serial driver that supports the TUSB5052 chip that I can just add the detection to? I am currently looking at uticom.c, but it claims: "XXX: multiport chips are not supported yet" More information if it helps. Snipped from a dmesg with UGEN_DEBUG set and ugendebug set to 10: uhub3 at uhub1 port 3 "Inside Out Networks product 0x028c" rev 1.10/1.51 addr 2 ulpt0 at uhub3 port 5 configuration 1 interface 0 "Inside Out Networks Edgeport/(4)21 Parallel" rev 1.00/1.00 addr 3 ulpt0: using bi-directional mode ugen0 at uhub3 port 6 "Inside Out Networks Edgeport/421" rev 1.10/0.01 addr 4 ugen_set_config: ugen0 to configno 1, sc=0x80127000 ugen_set_config: ifaceno 0 ugen_set_config: endptno 0, endpt=0x81(1,128), sce=0x80127468 ugen_set_config: endptno 1, endpt=0x01(1,0), sce=0x80127310 ugen_set_config: endptno 2, endpt=0x82(2,128), sce=0x80127718 ugen_set_config: endptno 3, endpt=0x02(2,0), sce=0x801275c0 ugen_set_config: endptno 4, endpt=0x87(7,128), sce=0x80128488 Some of the output from usbdevs -vd: Controller /dev/usb1: port 3 addr 2: full speed, self powered, config 1, product 0x028c(0x028c), Inside Out Networks(0x1608), rev 1.51 uhub3 port 1 powered port 2 powered port 3 powered port 4 powered port 5 addr 3: full speed, power 98 mA, config 1, Edgeport/(4)21 Parallel(0x000b), Inside Out Networks(0x1608), rev 1.00 ulpt0 port 6 addr 4: full speed, self powered, config 1, Edgeport/421(0x020c), Inside Out Networks(0x1608), rev 0.01, iSerialNumber V50419195-0 ugen0 I did ask the Google, and marc.info, and although I did find the Linux and Sun drivers that Digi provides, I did not find anything that was useful to me. l8rZ, -- andrew - ICQ# 253198 - Jabber: [EMAIL PROTECTED] BOFH excuse of the day: the butane lighter causes the pincushioning
Re: Image::Magick help
Gabri Mate wrote: On 12:24 Thu 04 Dec , Jesse Zbikowski wrote: On Thu, Dec 4, 2008 at 12:12 PM, Gabri Mate <[EMAIL PROTECTED]> wrote: '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/Magick.so' Does this file exist? Yes, of course. No, not "of course", since it is not obvious. People (yes, including you and me) do happen to screw up things from time to time. ls /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/ Magick.bsMagick.soautosplit.ix Is this script running in a chroot, e.g. by apache (which chroots to /var/www by default)? If so, you need to copy the file to '/var/www/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/Magick.so' also exist, or make perl load it before the forking starts (e.g. in a BEGIN{...}). If anyone knows if there is a way to force preloading of dynamically loaded modules, I'd love to know about it. /Alexander
possible bug in OpenNTPD code?
Hi: I am sort of digging my way through the OpenNTPD codebase for my work. I think I find a bug in the code. Please help me to understand the reason if this is not a bug. In function ntp_main() (ntp.c), we poll() to check if there are any events of interest. We do this: 1. Check internal fds (PIPE_MAIN) 2. Then check PIPE_DNS fds 3. Then check PIPE_HOTPLUG fds Next, for the server, we check all the fds we are listening on. And then finally, for nfs clients, we check the fds for the remote servers. Now, there's the issue in this line; for (j = 1; nfds > 0 && j < idx_peers; j++) { ... } Shouldn't the index start with 3? That is, shouldn't we do this: for (j = 3; nfds > 0 && j < idx_peers; j++) since, indices 0,1 and 2 correspond to the three checks I have written above which are already done. In other words, can we apply the following patch to fix the issue? Index: ntpd/ntp.c === --- ntpd.orig/ntp.c +++ ntpd/ntp.c @@ -344,7 +344,7 @@ ntp_main(int pipe_prnt[2], struct ntpd_c sensor_hotplugevent(hotplugfd); } - for (j = 1; nfds > 0 && j < idx_peers; j++) + for (j = PFD_MAX; nfds > 0 && j < idx_peers; j++) if (pfd[j].revents & (POLLIN|POLLERR)) { nfds--; if (server_dispatch(pfd[j].fd, conf) == -1) Thanks, Ani
wireless ipw2100 scan
I'm using OpenBSD 4.3 and was wondering how to do a wireless scan of all the networks available, specifically secured networks. When I run: ifconfig -M ipw0 I only get unsercured networks. Is there a way to see ALL networks (secured or unsecured)? And when I find the secured network I want to connect to, how would I actually connect to it? My home network is WPA encrypted and wanted know how I can connect to it. I'm using an Intel ipw2100 wireless card and running 4.3 on a Dell Inspiron 600m. I've downloaded the necessary drivers and my dmesg shows the wireless device. Thanks for your help.
Re: dmesg Asus EEE Box 202
> Daniel E. Hassler Sent: Wednesday, December 03, 2008 3:56 PM > > Below is dmesg.boot from an Intel D945GCLF2 - MP kernel sees 4 CPU's ;) > > OpenBSD 4.4-stable (GENERIC.MP) #0: Mon Nov 24 20:06:06 PST 2008 > [EMAIL PROTECTED]:/sys/arch/i386/compile/GENERIC.MP [snippage] > pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, > channel 0 configured to native-PCI, channel 1 configured to native-PCI > pciide1: using apic 4 int 19 (irq 11) for native-PCI interrupt > wd0 at pciide1 channel 1 drive 0: > wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors > wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 [more snippage] The sata controller that is on that board (ICH7) is suppose to be ahci capable. Is there a bios option to turn this on? Would be interesting to be able to do hotswap with this board. Anathae
Re: wireless ipw2100 scan
> I'm using OpenBSD 4.3 and was wondering how to do a wireless scan of > all the networks available, specifically secured networks. > > When I run: > ifconfig -M ipw0 > > I only get unsercured networks. Is there a way to see ALL networks > (secured or unsecured)? > And when I find the secured network I want to connect to, how would I > actually connect to it? > > My home network is WPA encrypted and wanted know how I can connect to > it. > > I'm using an Intel ipw2100 wireless card and running 4.3 on a Dell > Inspiron 600m. I've downloaded the necessary drivers and my dmesg > shows the wireless device. > > > Thanks for your help. WPA was not supported until 4.4; you'll have to upgrade. man ifconfig(8) should answer your other questions. -- Joe Gidi [EMAIL PROTECTED]
texvc problems in mediawiki on openbsd/sparc64 4.3
Hey guys, So I managed to compile texvc on openbsd/sparc64 4.3 inside the /mediawiki/math/ folder using 'gmake texvc.bc' I enabled TeX in Localsettings.php and created directories for math and tmp under /mediawiki/images. However, to my dismay, I get the error "Failed to parse (unknown error):" I enabled logging in mediawiki and the output I get during the parsing is: Unstubbing $wgParser on call of $wgParser->firstCallInit from MessageCache::transform TeX: ./math/texvc '/w/uploads/tmp' '/w/uploads/tmp' 'E=mc^2' 'UTF-8' TeX output: --- I should some output after TeX output, but nothing instead. I tried running the command manually and png ended up in my directory, so I know texvc is working. Someone on RHEL had the same problem and they found out SELinux was causing the problem, so I figured there's something in OpenBSD that does a similar action. The math and tmp folders are chmoded to 777 for now. Should I change something in Localsettings.php? I literally have no clue as to what to do next. Help appreciated, Vivek
Re: bash for root?
Dieter wrote: Like many things in Unix, you are using power tools. If you change root's shell, you need to know what you are doing. Remember that you might find yourself in single user mode with nothing but the root partition mounted. Hence my comment previously about having a statically linked copy of bash in /bin if you want bash as your root shell. OpenBSD prompts you for a shell name when booting into single-user mode. There's no need for precautions when using a dynamically-linked shell, as you can always just type "/bin/sh" when you need to boot into single-user mode and find yourself without your precious libraries. OpenBSD makes it harder to burn yourself. :-)
Re: Image::Magick help
Sorry, i did'nt ment 'of coure' that way. :) The script right now is just 'as is'. Not in a chroot environment. I use mod_perl for apache to load dynamic modules for chrooted cgi scripts. 2008/12/5 Alexander Hall <[EMAIL PROTECTED]> > Gabri Mate wrote: > >> On 12:24 Thu 04 Dec , Jesse Zbikowski wrote: >> >>> On Thu, Dec 4, 2008 at 12:12 PM, Gabri Mate <[EMAIL PROTECTED]> >>> wrote: >>> '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/Magick.so' >>> Does this file exist? >>> >> Yes, of course. >> > > No, not "of course", since it is not obvious. People (yes, including you > and me) do happen to screw up things from time to time. > > ls /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/ >> >> Magick.bsMagick.soautosplit.ix >> >> > Is this script running in a chroot, e.g. by apache (which chroots to > /var/www by default)? If so, you need to copy the file to > > '/var/www/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/Magick.so' > also exist, or make perl load it before the forking starts (e.g. in a > BEGIN{...}). > > If anyone knows if there is a way to force preloading of dynamically loaded > modules, I'd love to know about it. > > /Alexander
Re: bash for root?
OpenBSD prompts you for a shell name when booting into single-user mode. There's no need for precautions when using a dynamically-linked shell, as you can always just type "/bin/sh" when you need to boot into single-user mode and find yourself without your precious libraries. Good luck doing it on remote servers without console access after a forgetful update. Drive safely in your panic to get it back up.
dhcrelay problem
Hi, I am trying to figure out if there is anything special one has to do on a openBSD box to allow DHCP relay. I am trying to get an IP address from a DHCP server which is located on another network. The network is a fully bridged based network. The remote firewall is OpenBSD pf. Here is a quick network diagram in client --> [Switch]>[10.108.192 bsd, dhcprelay enabled] ->network>dhcpserver 10.110.218.34 Please let me know if there are any special configurations required on the openBSD boxes. I have tried using dhcprelay (part of the ISC dhcp package), but haven't had any success.. used:dhcrelay -i em1 10.110.218.34 Dec 05 17:32:28.096531 rule 94/(match) pass out on em0: 10.108.192.4 > 10.110.218.34: icmp: 10.108.192.4 udp port 67 unreachable Dec 05 17:32:36.991689 rule 94/(match) pass in on em0: 10.110.218.34.67 > 10.108.192.4.67: (reply) xid:0x415c814d secs:59 Y:10.108.218.128 S:10.108.192.1 [|bootp] (DF) As you can see bsd gets the ip address from remote network but some how Openbsd doesn't broadcast this or client have some issues. Please help me Thanks Farhan _ Net yourself a bargain. Find great deals on eBay. http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Frover%2Eebay%2Ecom%2Frover%2F 1%2F705%2D10129%2D5668%2D323%2F4%3Fid%3D10&_t=763807330&_r=hotmailTAGLINES&_m =EXT
Re: bash for root?
2008/11/30 Nick Holland <[EMAIL PROTECTED]> > farhan ahmed wrote: > > Question is how can you make shell statically linked? I thought when you > > install package it should be linked rather than manual compiling and > > installing > > I think that is best left as an exercise for the asker. > > Here's what it boils down to: > There is nothing wrong with a properly implemented 'bash' or any > other shell for root. Hint: when the system comes up single user > mode, it will ASK you what shell to use. The statically compiled > part isn't even critical in OpenBSD, unless you are intent on > running bash in single-user mode before all partitions are mounted. > > The problem is when you break things, you break 'em BIG. Original > thread is a case in point. You win awards for courage, not wisdom, > for still being intent on using bash as the root shell while you are > still walking with a limp from your last experience. > > There's a lot of stuff that can go wrong when changing a user's > default shell over the lifecycles of the system (think upgrades!), > virtually all operator error, all avoidable, but errors that can > happen tend to happen. When you break JoeAverage's account, no big > deal, as long as you can get back as root and fix it. When you > break root, you have a problem. Yes, the goal is to do everything > right, but another goal is to make it more difficult to do things > wrong. > > If you don't know how to do it right, test it right, and recover it > right, don't change the root shell. I realize how it is such finger > breaking work to type the five keystrokes "b a s h [enter]" at a > command prompt after logging in...so horrible, I know, but until you > know what you are doing, just manually invoke bash. > > You will know you know what you are doing when you realize you don't > need or want to use bash on OpenBSD. The only good reason I've > found to use bash on OpenBSD is to make it feel like some other OS, > and that's really not a good thing when you are administering the > system (i.e., logging in as root!). > > ksh rocks on OpenBSD. :) > > Nick. > > At first i've also used bash because i missed the comfortable options shipped default with the bash based other system. But after some time i learned to handle ksh and i like it better than bash now. Just add a few options to /etc/profile and it's like at home again. export HISTFILE=~/.sh_history export HISTSIZE=10 export PS1='[EMAIL PROTECTED] \w \$ ' Any suggestions? :)