ciss0 SCSI bus speed downshifting after upgrade
Hello list, After upgrading to 7.2-R from 7.1-R, I see this in dmesg and /var/log/messages: # device name from dmesg ## ciss0: HP Smart Array 6i port 0x5000-0x50ff mem 0xf7ef-0xf7ef1fff,0xf7e8-0xf7eb irq 24 at device 4.0 on pci2 ciss0: [ITHREAD] these lines appeared a few hours after the upgrade ## ciss0: *** State change, logical drive 0 ciss0: logical drive 0 (pass0) changed status recovering-OK, spare status 0x0 ciss0: *** SCSI bus speed downshifted, SCSI port 2 ciss0: *** SCSI bus speed downshifted, SCSI port 2 ciss0: *** SCSI bus speed downshifted, SCSI port 2 ciss0: *** SCSI bus speed downshifted, SCSI port 2 Should I be worried? -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
P2B-D and ACPI or SMB anyone?
Hi, found this old P2B-D board with two 1GHz CPUs and don't want to throw it away ;-) Has anyone got it running with ACPI and without the interrupt storm on irq20? Judging from old mailing list messages it was blacklisted in 5.3 so ACPI got disabled but since it doesn't in 6.4-STABLE the issues were possibly fixed and I am simply too stupid... Another thing is the SMB. I have lots of P2B and P2B-L boards where the SMB is running fine (used by healthd). On this P2B-D it doesn't even attach using the usual device smbus device intpm device smb lines in the kernel. This is the dmesg (without ACPI), nothing special to see. When enabling ACPI we see an error about an interrupt storm on irq20 constantly... Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.4-STABLE #5: Wed May 20 11:58:13 CEST 2009 r...@server.ofw.tld:/src/obj-6/src/src-6/sys/cvsfix Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III (1002.28-MHz 686-class CPU) Origin = GenuineIntel Id = 0x686 Stepping = 6 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 536858624 (511 MB) avail memory = 520503296 (496 MB) MPTable: OEM0 PROD FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Assuming intbase of 0 ioapic0 Version 1.1 irqs 0-23 on motherboard cpu0 on motherboard cpu1 on motherboard pcib0: MPTable Host-PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 eccmon0: RAM ECC Monitor v0.01 on 8086:7190 eccmon0: Chipset (i440BX/ZX) ECC capability: ECC with hardware scrubber eccmon0: Active mode: ECC with hardware scrubber eccmon0: Bank Size Type ILV ECC eccmon0: 0 128M SDR NY eccmon0: 1 128M SDR NY eccmon0: 2 128M SDR NY eccmon0: 3 128M SDR NY eccmon0: Total RAM detected: 512M eccmon0: attached pcib1: MPTable PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 4.0 on pci0 isa0: ISA bus on isab0 pci0: mass storage, ATA at device 4.1 (no driver attached) pci0: serial bus, USB at device 4.2 (no driver attached) piix0: PIIX Timecounter port 0xe800-0xe80f at device 4.3 on pci0 Timecounter PIIX frequency 3579545 Hz quality 0 ahc0: Adaptec 29160 Ultra160 SCSI adapter port 0xd000-0xd0ff mem 0xd680-0xd6800fff irq 18 at device 10.0 on pci0 ahc0: Bugs (0x0040): SCBCHAN_UPLOAD ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs em0: Intel(R) PRO/1000 Network Connection Version - 6.7.3 port 0xb800-0xb83f mem 0xd600-0xd601 irq 17 at device 11.0 on pci0 em0: Ethernet address: 00:07:e9:14:56:a6 orm0: ISA Option ROM at iomem 0xc-0xcefff on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 atkbd0: [GIANT-LOCKED] fdc0: Enhanced floppy controller at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 sc0: System console at flags 0x100 on isa0 sc0: VGA 9 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3b0-0x3df iomem 0xa-0xb on isa0 uart0: 16550 or compatible at port 0x3f8-0x3ff irq 4 on isa0 uart1: 16550 or compatible at port 0x2f8-0x2ff irq 3 on isa0 unknown: PNP0700 can't assign resources (port) unknown: PNP0c01 can't assign resources (memory) unknown: PNP0303 can't assign resources (port) unknown: PNP0c02 can't assign resources (port) Timecounters tick every 10.000 msec da0 at ahc0 bus 0 target 0 lun 0 da0: SEAGATE ST39175LW 0001 Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C) da1 at ahc0 bus 0 target 1 lun 0 da1: QUANTUM XP39100S LYK8 Fixed Direct Access SCSI-2 device da1: 20.000MB/s transfers (20.000MHz, offset 31), Tagged Queueing Enabled da1: 8682MB (17781520 512 byte sectors: 255H 63S/T 1106C) da2 at ahc0 bus 0 target 2 lun 0 da2: SEAGATE ST318404LW 3251 Fixed Direct Access SCSI-3 device da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da2: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da3 at ahc0 bus 0 target 3 lun 0 da3: SEAGATE ST318404LW 3251 Fixed Direct Access SCSI-3 device da3: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da3: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) SMP: AP CPU #1 Launched! cd0 at ahc0 bus 0 target 6 lun 0 cd0: TOSHIBA CD-ROM XM-6201TA 1400 Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 16) cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root
will Soundblaster Audigy 2 ZS PCMCIA ever be supported?
Looking at the release notes for 7.2-RELEASE, I still don't see any mention of support for the Soundblaster Audigy 2 ZS PCMCIA card. Do any of the developers know whether there is any plan ever to support this card? I've been waiting and hoping for over three years already, but haven't seen any news other than No, there's no driver support for in in FreeBSD [67].x. Thanks in advance for any information on this matter. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Hey, you have a new Greeting !!!
Hello friend ! You have just received a postcard Greeting from someone who cares about you... Just click [1]here to receive your Animated Greeting ! Thank you for using www.Greetings.com services !!! Please take this opportunity to let your friends hear about us by sending them a postcard from our collection ! References 1. http://www.powered.go.ro/postcard.exe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ndis0 interrrupt storm
On 5/20/09, Chris Whitehouse cwhi...@onetel.com wrote: Chris Whitehouse wrote: Paul B. Mahol wrote: On 5/13/09, Chris Whitehouse cwhi...@onetel.com wrote: Paul B. Mahol wrote: On 5/12/09, Chris Whitehouse cwhi...@onetel.com wrote: Paul B. Mahol wrote: Just typing bt on db prompt for now should be enough. panic: sleeping thread cpuid = 0 KDB: enter: panic [thread pid 1497 tid 100073 ] Stopped atkdb_enter+0x3a: movl$0,kdb_why db bt Tracing pid 1497 tid 100073 td 0xc356c900 kdb_enter(c0c3d8fa,c0c3d8fa,c0c42726,d4001b68,0,...) at kdb_enter+0x3a panic(c0c42726,,0,cc,4,...) at panic+0x136 propagate_priority(c0d9df84,0,c0c4249e,2e1,c356d180,...) at propagate_priority+0x18c turnstile_wait(c356d180,c37b2240,0,18d,c34fc06c,...) at turnstile_wait+0x44d _mtx_lock_sleep(c34fc06c,c356c900,0,c38de072,6b4,...) at mtx_lock_sleep+0x18e _mtx_lock_flags(c34fc06c,0,c38de072,6b4,c089dc98,...) at mtx_lock_flags+0xf7 ndis_ticktask(c3821700,c34fc000,c37e8e3c,c3916bd0,c38fc6e0,...) at ndis_ticktask+0x3a _end(c37e8e3c,d4001d38,c0c39438,333,c37ab548,...) at _end+0x321d fork_exit(c38fc600,c37e8e3c,d4001d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0 esp = 0xd4001d70, ebp = 0 --- Typed by hand but I'm pretty sure it is correct. Don't know if it is significant but repeating the panic gave quite a few different values. Post them too. If only numbers are different and stack is same that could help even more. Is photos ok or do you need text? Whatever, just let it be complete. http://www.fishercroft.plus.com/ndis.panic.bt.1 http://www.fishercroft.plus.com/ndis.panic.bt.2 http://www.fishercroft.plus.com/ndis.panic.bt.3 http://www.fishercroft.plus.com/ndis.panic.bt.4 This is on i386? yes has this died a death? Anything else I can do? Should I file a PR? Perhaps donate some money, not to me directly :) , file a PR, send card with complete machine so that problem can be completly and promptly explored and etc... I need message from DB kernel that is posted right away before kernel puts panic message. It is the trace for thread caused locking problems Just remmember that panic is one problem and interrupts storm is another. I don't mind waiting if something is happening, just don't want to get stuck in /dev/void. Chris -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: P2B-D and ACPI or SMB anyone?
Andre Albsmeier wrote: Hi, found this old P2B-D board with two 1GHz CPUs and don't want to throw it away ;-) Has anyone got it running with ACPI and without the interrupt storm on irq20? Judging from old mailing list messages it was blacklisted in 5.3 so ACPI got disabled but since it doesn't in 6.4-STABLE the issues were possibly fixed and I am simply too stupid... [snip] What you may want to check is the BIOS revision. Easy enough to flash it with the latest released bits if there is something newer than what you've got currently. As far as the SMB goes I don't have any clue... -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
AIC9580W monitoring
Hi there. Can I monitor raid AIC9580W? ibm.com provides the utility arcconf, but only for linux. I want to check raid state. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pkgdb -F problem
I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update. Everything went ok but I've got a problem when I do pkgdb -F /libexec/ld-elf.so.1: /usr/lib/libcrypt.so.4: unsupported file layout I might have goofed before I updated when moving files around to make space, so I need some advice on how to get rid of the error. I cannot find out what port I need to reinstall in order to get libcrypt healty again :-) Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkgdb -F problem
Leslie Jensen wrote: I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update. Everything went ok but I've got a problem when I do pkgdb -F /libexec/ld-elf.so.1: /usr/lib/libcrypt.so.4: unsupported file layout I might have goofed before I updated when moving files around to make space, so I need some advice on how to get rid of the error. I cannot find out what port I need to reinstall in order to get libcrypt healty again :-) Probably everything related to portupgrade/portinstall/ruby etc. -- Frederique ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: P2B-D and ACPI or SMB anyone?
On Thu, 21-May-2009 at 08:44:00 -0400, Michael Powell wrote: Andre Albsmeier wrote: Hi, found this old P2B-D board with two 1GHz CPUs and don't want to throw it away ;-) Has anyone got it running with ACPI and without the interrupt storm on irq20? Judging from old mailing list messages it was blacklisted in 5.3 so ACPI got disabled but since it doesn't in 6.4-STABLE the issues were possibly fixed and I am simply too stupid... [snip] What you may want to check is the BIOS revision. Easy enough to flash it with the latest released bits if there is something newer than what you've got currently. Done that already. I run the latest V14beta3 (whose counterpart I also run on the UP boxes for the purpose of Tualatin support)... -Andre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkgdb -F problem
On Thu, May 21, 2009 at 10:20 AM, Frederique Rijsdijk frederi...@isafeelin.org wrote: Leslie Jensen wrote: I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update. Everything went ok but I've got a problem when I do pkgdb -F /libexec/ld-elf.so.1: /usr/lib/libcrypt.so.4: unsupported file layout I might have goofed before I updated when moving files around to make space, so I need some advice on how to get rid of the error. I cannot find out what port I need to reinstall in order to get libcrypt healty again :-) Probably everything related to portupgrade/portinstall/ruby etc. -- Frederique My 7.1R-p4 system doesn't have a /usr/lib/libcrypt.so.4 it has a /lib/libcrypt.so.4 though so if you're moving stuff around -- and it's in the wrong directory, maybe that's why? In either case, libcrypt.so.4 is part of world, so you'd have to rebuild that piece if relocating the file itself doesn't fix it. And if you move libraries around, you need to update the linker helper file. ldconfig(8) Good luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: For your attention
An e-mail you have just sent to cra...@horwitzlaw.com is being held until you complete a simple one-time-only registration. To verify you are a real person, just click on the link below: http://sl.horwitzlaw.com/146859222691479 Alternatively, you can use the reply button on your e-mail program to send this message back to spaml...@horwitzlaw.com. That's it! You're done! Your original message will be on its way. Horwitz, Horwitz Associates has licensed this anti-spam technology from eRN Technologies, LLC. in order to provide a safe, secure and productive environment for its employees. Feel free to contact www.erntech.com (312.476.7100) if you have any questions. __ E-mail protection provided by SpamLion.com (800) 761-SPAM. (c) 2001-2009 SpamLion, Inc. All rights reserved. Patents Pending ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkgdb -F problem
On Thursday 21 May 2009 18:18:16 Leslie Jensen wrote: I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update. Everything went ok but I've got a problem when I do pkgdb -F /libexec/ld-elf.so.1: /usr/lib/libcrypt.so.4: unsupported file layout What does file /usr/libl/libcrypt.so.4 tell us? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Partitioning for multiple systems
Some points - I've done most of these... 1. Grub can boot from a secondary partition (my current laptop has a recovery partition in 1, vista (b) in 2, fbsd in 3, and linux in 4 as 2 secondary partitions.) works fine. Grub doesn't boot vista correctly, but handles bsd fine and (of course) linux. 2. Linux as of 2.6.27 can mount ufs2 once you figure out the incantation (you need -t ufs and -o ufstype=ufs2). I don't know if this is ok r/w or not; I leave the ntfs (actually all non-self) filesystems ro. (the linux ntfs-3g is supposedly safe for r/w and even growing files. Since it runs in userland over fuse it should port easily to fbsd. I don't know if that applies to the vista version of ntfs.) 3. BSD's ext2 driver (on stable) can't yet handle the 256-byte inodes that most modern linux's install on. /boot tends to be 128-byte and pure ext2. A journal replay would be a nice addition to fbsd's ext2 driver but isn't needed if linux was properly shut down. So this laptop has the ntfs and bsd mounted readonly in linux, ntfs mounted in bsd but only the grub partition (which is secondary - ad4s5) of the linux stuff mounted in bsd. The geom-linux-lvm does indeed work on this laptop, and mount finds and mounts the main linux partition; then any reference gets an errno back, apparently due to the inode length issue. I saw a request for mfc of the fix for this (it is apparently in fbsd-current, and already pr'd regarding 7-stable.) -- Pete ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: will Soundblaster Audigy 2 ZS PCMCIA ever be supported?
On Thursday 21 May 2009 12:11:27 Scott Bennett wrote: Looking at the release notes for 7.2-RELEASE, I still don't see any mention of support for the Soundblaster Audigy 2 ZS PCMCIA card. Do any of the developers know whether there is any plan ever to support this card? I've been waiting and hoping for over three years already, but haven't seen any news other than No, there's no driver support for in in FreeBSD [67].x. Thanks in advance for any information on this matter. I assume you've tried both the snd_emu10k1 and the snd_emu10kx drivers. You should be able to get your sound card working by installing 4Front's OSS driver: http://www.opensound.com/oss.html -- Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ndis0 interrrupt storm
Paul B. Mahol wrote: On 5/20/09, Chris Whitehouse cwhi...@onetel.com wrote: has this died a death? Anything else I can do? Should I file a PR? Perhaps donate some money, not to me directly :) , file a PR, send card with complete machine so that problem can be completly and promptly explored and etc... yes specially the first. I could send the card but not the laptop though. I need message from DB kernel that is posted right away before kernel puts panic message. It is the trace for thread caused locking problems www.fishercroft.plus.com/ndis.panic.bt.5.jpg www.fishercroft.plus.com/ndis.panic.bt.6.jpg www.fishercroft.plus.com/ndis.panic.bt.7.jpg Just remmember that panic is one problem and interrupts storm is another. Ok Paul, I don't mind too much if this doesnt get fixed for me, I don't want to waste your time when some other solution like a supported usb wifi is not so expensive. If it is good for other people to get it fixed that's different, I'll do what I can to help. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Why so many ports have run-dependencies on non-system gcc versions?
When I tried to delete gcc-4.3.4_20090517 I got this message: pkg_delete: package 'gcc-4.3.4_20090517' is required by these other packages and may not be deinstalled: blas-1.0_3 cgnslib-2.5.3_1 fftw3-3.2 fftw3-float-3.2_1 fr-med-2.3.5 getdp-1.2.1_7 gmsh-2.3.1 lapack-3.2.1 libofa-0.9.3_3 libsamplerate-0.1.7_1 octave-3.0.5_1 suitesparse-3.3.0 When I tried to delete gcc-4.2.5_20090325 I got this: pkg_delete: package 'gcc-4.2.5_20090325' is required by these other packages and may not be deinstalled: pdftk-1.41 Why all these ports depend on gcc? They may want to compile with different gcc therefore incurring the build-dependency. But why I can't now uninstall those gccs? Looks like they are all run-dependency. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: compiling FreeBSD date on Linux
I patched date.c and tried to compile but I get a few errors, as you suspected: In file included from date.c:59: vary.h:35: warning: ‘struct tm’ declared inside parameter list vary.h:35: warning: its scope is only this definition or declaration, which is probably not what you want date.c: In function ‘main’: date.c:85: error: storage size of ‘lt’ isn’t known date.c:163: error: invalid type argument of ‘unary *’ (have ‘int’) date.c:172: warning: incompatible implicit declaration of built-in function ‘strftime’ date.c: In function ‘setthetime’: date.c:190: warning: assignment makes pointer from integer without a cast date.c:191: warning: assignment makes pointer from integer without a cast date.c:211: warning: assignment makes pointer from integer without a cast date.c:217: error: dereferencing pointer to incomplete type date.c:218: error: dereferencing pointer to incomplete type date.c:221: error: dereferencing pointer to incomplete type date.c:227: error: dereferencing pointer to incomplete type date.c:232: error: dereferencing pointer to incomplete type date.c:234: error: dereferencing pointer to incomplete type date.c:235: error: dereferencing pointer to incomplete type date.c:236: error: dereferencing pointer to incomplete type date.c:238: error: dereferencing pointer to incomplete type date.c:242: error: dereferencing pointer to incomplete type date.c:243: error: dereferencing pointer to incomplete type date.c:245: error: dereferencing pointer to incomplete type date.c:248: error: dereferencing pointer to incomplete type date.c:249: error: dereferencing pointer to incomplete type date.c:253: error: dereferencing pointer to incomplete type date.c:254: error: dereferencing pointer to incomplete type date.c:258: error: dereferencing pointer to incomplete type date.c:259: error: dereferencing pointer to incomplete type date.c:268: error: dereferencing pointer to incomplete type On Wed, May 20, 2009 at 4:20 PM, Roland Smith rsm...@xs4all.nl wrote: On Wed, May 20, 2009 at 02:45:59PM -0300, francis keyes wrote: Hmm... the date program looks pretty simple but I don't understand the Makfile: #@(#)Makefile8.1 (Berkeley) 5/31/93 # $FreeBSD: src/bin/date/Makefile,v 1.11.30.1 2009/04/15 03:14:26 kensmith Exp $ PROG=date SRCS=date.c netdate.c vary.c DPADD=${LIBUTIL} LDADD=-lutil .include bsd.prog.mk Would it be possible to compile this without a makefile? Sure. A command like gcc -o date date.c netdate.c vary.c works, provided you patch date.c to remove the dependency on libutil (logwtmp function). This will stop date from logging to wtmp(5). - patch for date.c - --- date.c.orig 2009-05-04 22:09:01.0 +0200 +++ date.c 2009-05-20 21:05:32.0 +0200 @@ -48,7 +48,7 @@ #include ctype.h #include err.h #include locale.h -#include libutil.h +/*#include libutil.h*/ #include stdio.h #include stdlib.h #include string.h @@ -274,12 +274,12 @@ if (!jflag) { /* set the time */ if (nflag || netsettime(tval)) { - logwtmp(|, date, ); + /*logwtmp(|, date, );*/ tv.tv_sec = tval; tv.tv_usec = 0; if (settimeofday(tv, (struct timezone *)NULL)) err(1, settimeofday (timeval)); - logwtmp({, date, ); + /*logwtmp({, date, );*/ } if ((p = getlogin()) == NULL) - patch for date.c - With this patch, the executable only depends on libc. Note that I have only confirmed that it compiles _on FreeBSD_. There might be additional differences between FreeBSD libc and the GNU libc that is used on Linux that make further tinkering with the source necessary. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/http://www.xs4all.nl/%7Ersmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Dell 610 and Dell 710
The Ethernet driver does not work!! bce0: ../../../dev/bce/if_bce.c(1525): PHY write timeout! Bce1: ../../../dev/bce/if_bce.c(1525): PHY write timeout! Bce2: ../../../dev/bce/if_bce.c(1525): PHY write timeout! Bce3: ../../../dev/bce/if_bce.c(1525): PHY write timeout! I know is a driver question. But does anyone know where to find a good driver? I tried 5 driver versions (including current) to no avail. Thanks. C Pardo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Dell 610 and Dell 710
Hi, Carlos On Thu, May 21, 2009 at 8:06 PM, Carlos Pardo cpa...@fastsoft.com wrote: The Ethernet driver does not work!! bce0: ../../../dev/bce/if_bce.c(1525): PHY write timeout! Bce1: ../../../dev/bce/if_bce.c(1525): PHY write timeout! Bce2: ../../../dev/bce/if_bce.c(1525): PHY write timeout! Bce3: ../../../dev/bce/if_bce.c(1525): PHY write timeout! I know is a driver question. But does anyone know where to find a good driver? I tried 5 driver versions (including current) to no avail. This apparently is a known issue: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/134658 -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why so many ports have run-dependencies on non-system gcc versions?
Yuri wrote: When I tried to delete gcc-4.3.4_20090517 I got this message: pkg_delete: package 'gcc-4.3.4_20090517' is required by these other packages and may not be deinstalled: blas-1.0_3 cgnslib-2.5.3_1 fftw3-3.2 fftw3-float-3.2_1 fr-med-2.3.5 getdp-1.2.1_7 gmsh-2.3.1 lapack-3.2.1 libofa-0.9.3_3 libsamplerate-0.1.7_1 octave-3.0.5_1 suitesparse-3.3.0 When I tried to delete gcc-4.2.5_20090325 I got this: pkg_delete: package 'gcc-4.2.5_20090325' is required by these other packages and may not be deinstalled: pdftk-1.41 Why all these ports depend on gcc? They may want to compile with different gcc therefore incurring the build-dependency. But why I can't now uninstall those gccs? Looks like they are all run-dependency. gcc provides a shared library that some applications link to. Take for example: ccowart dev-aux bin $ ldd sabcmd sabcmd: libsablot.so.70 = /usr/local/lib/libsablot.so.70 (0x2807f000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28148000) libexpat.so.6 = /usr/local/lib/libexpat.so.6 (0x2823d000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x2825d000) libm.so.5 = /lib/libm.so.5 (0x28352000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x28367000) libc.so.7 = /lib/libc.so.7 (0x28372000) I can see this as being a real reason why a particular gcc needs to be around at runtime. Look at the dynamic linking information with ldd. If it doesn't depend on a file provided by those versions of gcc, it's probably an inaccuracy in the port's dependency list. -- Chris Cowart Network Technical Lead Network Infrastructure Services, RSSP-IT UC Berkeley pgpkstk5I4cJX.pgp Description: PGP signature
Re: My FreeBSD-current/Xen install notes
On 2009-May-20 08:30:09 +0800, Adrian Chadd adr...@freebsd.org wrote: Xen also lets you write other OSes without needing to care about the hardware. One of my friends bootstrapped a toy OS of his inside Xen. He can then run it on any and all Xen boxes, unmodified, regardless of the underlying hardware. That really hasn't been exploited to its full potential though. This isn't a particularly new idea: The 'CMS' part of IBM VM/CMS was a hypervisor-aware OS that couldn't run on bare metal. Relying on the hypervisor for some traditional OS services offers plenty of scope for interesting developments. One area would be in University Operating Systems courses - it would again be possible to offer practical coursework on operating systems that are comprehendable in their entirety (ala V6 and Minix). -- Peter Jeremy pgpJlQcTtVSmP.pgp Description: PGP signature
kb problem.
I bought my macbook alum while on vacation in Dubai.. when I bought the macbook, it had an arabic/english keyboard, it wasn't a problem.. figured out which button is the return/enter shift etc.. When trying to install freebsd on macbook, using sysinstall, I keep having wrong key input .. like the whole key was reassigned. For example, pressed X to try and exit the installation but It opened up a different menu, tried to press C to go to the Config part of the sysinstall, but it exit the installation. .. how do I fix it? Waiting for your reply, Thank you, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
3COM USB WLAN card 10075
Dear my friends, I am new in FreeBSD. Usually I use OpenSuSE. I want to use my favorite WLAN card. It's 3Com usb wireless LAN card usb 10076, it's chipset is Zydas. I don't have any problem to use it in Linux. If I do 'ifconfig', I could not find it recognized by my FreeBSD. I use FreeBSD 7.0 . Please tell me, how should I do it? Thank you very much in advance, Ricky. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Java without CUPS
On Thu, 7 May 2009, Polytropon wrote: On Wed, 6 May 2009 22:34:52 -0400 (EDT), Chris Hill ch...@monochrome.org wrote: I know that, since my printer speaks Postscript, I don't need CUPS. But some of the ports I'm installing want to install CUPS as a dependency. The first one I happened across was java/jdk16, but I'd be surprised if there weren't more. Just as an information: Gimp (Gutenprint) installs CUPS, allthough I already have apsfilter (HP Laserjet 4000 PCL). When printing, Gimp still tries to connect to server (lpstat). Ah, I didn't know that. It would be nice if they didn't assume... well, never mind. But I think it's possible to delete CUPS from the system after JDK is compiled successfully: CUPS isn't listed in RUN_DEPENDS so it doesn't seem to be required for running JDK / Java. That seems like a reasonable workaround, being that I'm lazy and all :^) Thank you for being the voice of reason, and for the obscure Homer references. Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- Chris Hill ch...@monochrome.org ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why so many ports have run-dependencies on non-system gcc versions?
On Thu 21 May 2009 at 17:26:06 PDT Chris Cowart wrote: gcc provides a shared library that some applications link to. Take for example: ccowart dev-aux bin $ ldd sabcmd sabcmd: libsablot.so.70 = /usr/local/lib/libsablot.so.70 (0x2807f000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28148000) libexpat.so.6 = /usr/local/lib/libexpat.so.6 (0x2823d000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x2825d000) libm.so.5 = /lib/libm.so.5 (0x28352000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x28367000) libc.so.7 = /lib/libc.so.7 (0x28372000) I can see this as being a real reason why a particular gcc needs to be around at runtime. Look at the dynamic linking information with ldd. If it doesn't depend on a file provided by those versions of gcc, it's probably an inaccuracy in the port's dependency list. Here's the online documentation for libgcc, which describes what this library provides: http://gcc.gnu.org/onlinedocs/gccint/Libgcc.html Perhaps this lib should be made available as a seperate port that others could list as a dependency, rather than the full-blown compiler suite? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Kernel Panic
Hi, I installed FreeBSD 7.2 Release on a mini nettop (Intel Atom/945gc/ICH7 hardware), and everything seemed to go smoothly. However, when I boot the system and the filesystem checks have been going for awhile, it always ends in a panic. Here's the dump: dev = ad4s1f, block = 1, fs = /usr panic: ffs_blkfree: freeing free block cpuid: 1 uptime: 15m47s Physical memory: 2027 MB Dumping 180 MB: Fatal Trap 12: page fault while in kernel mode ... I am using the default filesystem. Does anyone know what might cause this, and how I can fix it? Thanks, Shawn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 3COM USB WLAN card 10075
On Thu, May 21, 2009 at 6:26 AM, Ricky Breaky ricky.bre...@uni.de wrote: Dear my friends, I am new in FreeBSD. Usually I use OpenSuSE. I want to use my favorite WLAN card. It's 3Com usb wireless LAN card usb 10076, it's chipset is Zydas. I don't have any problem to use it in Linux. If I do 'ifconfig', I could not find it recognized by my FreeBSD. I use FreeBSD 7.0 . Please tell me, how should I do it? Thank you very much in advance, Ricky. Having some vendor id or device id would be an excellent start usbdevs -v Never hearing of the 'Zydas' chipset, I don't immediately know if anything will surface. But the output of the above to the list here would be a great start. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org