Re: /dev/dsp: Device busy
--- Geert Hendrickx [EMAIL PROTECTED] wrote: Hello, I have a problem playing sounds in FreeBSD. Sometimes it works, sometimes it doesn't, and then I get the following error message: /dev/dsp: Device busy but lsof | grep dsp yields nothing. Can anyone help me with this mystery? :-) Thanks in advance, GH Same here. Toshiba laptop. FBSD 4.9. KDE 3.1.4. /dev/dsp is from time to time hold by artsd. Problem is, it is hold even when nothing is played. fstat /dev/dsp shows the problem. If anyone find a solution, pls. let me know. TIA, /Dorin. -- powered by FreeBSD/Postfix/KMail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netgear nic
--- Drew Tomlinson [EMAIL PROTECTED] wrote: - Original Message - From: David Bear [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 8:36 PM Subject: netgear nic the NIC selection at the local store was terrible. I ended up buying a netgear FA311. I cannot tell what chipset this has.. It is the numbers VS318AG in it.. anyone used a netgear nic with fbsd 4.9? I think I am using two of them but I can't remember for sure and am unwilling to open my box just to find out. :) It's a standard PCI 10/100 card and they show up in my dmesg.boot file as this: dc0: 82c169 PNIC 10/100BaseTX port 0x6100-0x61ff mem 0xf400-0xf4ff irq 10 at device 18.0 on pci0 dc1: 82c169 PNIC 10/100BaseTX port 0x6200-0x62ff mem 0xf4001000-0xf40010ff irq 11 at device 19.0 on pci0 So they use the 'dc' driver. HTH, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] FWIW: I have a FA411 PCMCIA, use ed on FBSD 4.8. Works great. dmesg: snip ed1 at port 0x300-0x31f irq 11 flags 0x3 slot 1 on pccard1 ed1: address xx:xx:xx:xx:xx:xx, type NE2000 (16 bit) HTH, /Dorin. __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Invalid Partition - help on setting up loader
--- Joseph [EMAIL PROTECTED] wrote: Hi list. Merry Christmas!! This is my first post on a Freebsd Mailing List, so don't be too harsh on me if my ettiquette isn't acceptable. Ok, I guess I'll get to the heart of this post: I'm trying to figure out how to boot 5-releng-1 alongside my 4-stable slice. After a surprisingly successful buildworld/kernel, installworld, I used /stand/sysinstall to fdisk/disklabel the appropriate partitions. By the way, both slices exist on the same disk. Booting to stable was fine, however, booting to current gave me: invalid partion I was, however, able to get it to work, when I pointed the boot to 0:ad(2,e)/boot/loader (which is the location of my current's root partition.) The FreeBSD boot process wants to use a partition from active slice by default. You can try set rootdev in /boot/loader.conf to your / partition. Please see the archives, this issues have been discussed before. If the error persists, check which slice is marked active in PT. HTH, /Dorin. I'm happy with how my current installation went, but I may have missed a crucial step along the way. Any advice welcome [edit] I was referred here from the newbies list. Go figure. If this isn't a newb question, what is? PS. Running 5.x and 4.x on same disk is not just a walk in the park :). Good luck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to find package name
--- fbsd_user [EMAIL PROTECTED] wrote: What is the sure fired way to get the correct spelling of the package name to use with pkg_add -r command? If you have installed ports, and you know the port name (which you can find easily), you can go to /usr/ports/portpath and cat/sed distinfo file. HIH, /Dorin. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.1 PowerPak Installation problem
I have created a log file using dmesg, but, I am unable to copy on to the floppy disc. When I try to mount the floppy with mount /dev/fd0 /mnt, it gives me error message: Device is not configured. Try: mount -t msdos /dev/fd0 /mnt with any DOS formated disc. If you want to mount a UFS partition/floppy, you have to create actually the FS structure first using newfs (but you will not be able to easily read it from Win :) ). % man 1 fdformat quote Note that fdformat does only perform low-level formatting. In order to create a file system on the medium, see the commands newfs(8) for a UFS file system, or newfs_msdos(8) for an MS-DOS (FAT) file system. /quote Mount expects a file system structure on that disc (either UFS or DOS). I formatted the floppy using fdformat command, and when tried to mount, it gives me error message incorrect super block. Now this format is not copatible with windows system. No file system present (in this case, mount tried to mount the default ufs FS, which expect to start with a superblock, which is not there, as you haven't newfs-ed the disc). I also created another dos fat partition and tried to mount so that I could copy the log file to dos partition, it won't work. I have used this method to transfer the files on a Linux system. Again, see above (newfs(8)). If you formated as type, again, use -t msdos to specify the type (default is ufs). Is there a way to transfer files from FreeBSD to Windows? Simple way:) : new floppy (preformated in old DOS/IBM format), insert, mount -t msdos /dev/fd0 /mnt , copy the stuff, umount /dev/fd0, extract, go to windoze /Dorin. PS. In case of errors, check if you have the /dev/fd0 device actually. You should, if your drive is recognized during boot. PS2. Maybe you want to take a look at www.onlamp.com, they have many nice written tutorials about FreeBSD to put you on track. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.1 Installation problem
--- Admin [EMAIL PROTECTED] wrote: Dear Sir/ Madam, After installing the FreeBSD minimum installation, I, installed the ports using the sysinstall. But, when I tried to install XFree86 package, it failed to complete the installation. Now, it has corrupted the root (/) and /tmp partition. After running the fsck command manually on root, I recovered the root file system, but, it won't let me recover the /tmp filesystem. I desperately need help to continue with the installation. Please advise a.s.ap. You need to provide more details of what you did, what configuration you have, and what happened to save us from guessing:). Just an advice. /Dorin. Kind Regards Gurdial Chandra Sycos AES ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Fwd: fixit.flp or fixit via live filesystem CD]
--- Peter Leftwich [EMAIL PROTECTED] wrote: RE2: http://www.freebsd.org/relnotes/4-STABLE/installation/i386/trouble.html The page above always makes a skirting blow or furtive glance at what is possible with a fixit.flp (namely that /stand and /mnt2/stand have some goodies) but without the use of the ls binary command I am a fish driving a tricycle (that is, useless!) I think you should able to use those commands with a live cd, but not with a pruned floppy. Using REL 4.8 so far. I tried to make man work, but after doing some mounting-linking for required utility files, I failed:) Most of the system repair utilities are there; though, if you are unable to read man on another box while you tinker, and you always forget the commands options like me, it's arcane:) /Dorin. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Solved [Re: delete first partition XP and reformat as ufs - kernel not found]
--- Dan Strick [EMAIL PROTECTED] wrote: On Mon, 1 Dec 2003, Dorin H [EMAIL PROTECTED] wrote: snip If no RTFM is available, point me to the source files. I am not familiar with the FreeBSD kernel sources, but I'll have no problem reading some code. snip This may not be exactly correct. See the section 8 man page for boot. (i.e. Do man boot.) The source is in /usr/src/sys/boot/i386. The information is there (boot(8)). Thank you for reminding me that 10 minutes spent reading the whole man page saves some hours of hair-pulling struggle. If I understand this and your previous emails on this subject, you began with this MBR partition/slice table arrangement: ad0s1 XP ad0s2 FreeBSD and everything worked fine. Then you changed the MBR partitions to: ad0s1 XP ad0s2 Debian swap ad0s3 Debian / ad0s4 FreeBSD and FreeBSD would not boot correctly because the file /etc/fstab, created during the initial FreeBSD installation process, still had /dev/ad0s2 where it now needed to have /dev/ad0s4 because you renumbered its MBR partition. Then you fixed that and everything seemed to work fine until you decided to reuse the XP partition for more FreeBSD disk space. So you changed your MBR partition table to: ad0s1 FreeBSD (addtitional file system space) ad0s2 Debian swap ad0s3 Debian / ad0s4 FreeBSD (the operating system) and FreeBSD would no longer boot. This might be due to boot1 confusion. Each partition in the MBR has a flag byte and a type byte. The 0x80 bit in the flag byte marks the partition as active. Normally at most one partition has the active bit set. A non-interactive MBR bootstrap program typically boots whichever partition has the active bit set. I couldn't present it better. And yes, the problem was due to order of partitions marked as bootable: BOOTABLE ad0s1 FreeBSD (not used) ad0s2 Debian swap ad0s3 Debian / BOOTABLE ad0s4 FreeBSD (the operating system) Trying to boot ad0s1 failed of course. At the promp: FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: I did again the experiment: 1. marked ad0s1 as bootable 2. reboot 3. again the promt (from which the slice info is missing ! that tricked me) Supplying this solve the booting problem! | vvv boot: 0:ad(0,4,a)/kernel (Still pending: I have to see how can I make it find the loader.conf also :) ) The FreeBSD boot1 program, the program loaded by the MBR bootstrap, is not hardwired with the number of the MBR partition in which it was installed (perhaps it ought to be). Instead it uses the first MBR partition of FreeBSD type with the active bit set. If no FreeBSD MBR partition has the active bit set, the boot1 program chooses the first FreeBSD MBR partition. This normally works correctly even if you have more than one bootable FreeBSD MBR partition because the FreeBSD boot0 MBR program normally rewrites the MBR record with the appropriate active bit set before it invokes the FreeBSD boot1 program. You say that you are using Debian lilo for your MBR bootstrap program rather than the FreeBSD boot0 program. Totally new to FreeBSD boot process, so using Debian LILO felt safer at that time. I don't know much about lilo, but I am guessing that it does not set the active partition in the MBR partition table before it boots a partition. Then the boot1 program tries to load the boot2 program from ad0s1 instead of ad0s4. I will try investigate the problem. Though I remember reading something like this somewhere... I can't find the source to mention it here. Workaround: you can make ad0s4 the only active FreeBSD partition with the fdisk program. If nothing else changes that, boot1 will correctly boot ad0s4. Yes, the workaround is correct. It was the solution. Thank you for your explanations, /Dorin. PS. It is so nice to be able to compile again the ports stuff on my machine :) (ad0s1a = /usr/ports, ad0s1d=/usr/src ;) ) __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load new drivers during install
--- Ion-Mihai Tetcu [EMAIL PROTECTED] wrote: On Tue, 16 Dec 2003 11:44:26 -0600 michael Alexander [EMAIL PROTECTED] wrote: Is there a way to load updated or additional drivers during initial install? (like redhats 'expert' install option) Not tested, but you can load a kld from floppy using Sysinstall/Configure/Load KLD (scroll down, it is the last option). I don't know if this requires some live system features to be already installed (corresponding to a postupgrade action), but you can give it a try. /Dorin. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sharity-light/winxp issues
--- Redmond Militante [EMAIL PROTECTED] wrote: hi all i almost have sharity-light working well enough to be able to map a windows share to my freebsd5.1 box. the two machines are: 1. Freebsd 5.1-RELEASE, DHCP but i'm using dyndns.org to map the address of 'machine1.gotdns.org' to this machine, ipfilter enabled 2. Windows Xp pro, DHCP but i'm using dyndns.org to map the address of 'machine2.gotdns.org' to this machine, windows xp built in firewall turned on i'm able to successfully map a windows share on the winxp machine using as root: shlight //24.24.24.24/files /mnt/win -U username -P password in order to do this i had to disable the built in windows firewall on the winxp box. is there a way to do this without having to disable the built in windows firewall entirely? snip This is a little offtopic, but you can configure the Win firewall to pass connections for the file sharing service (the Server) (if I remember it correctly is 443) (see control panel, network conns, properties for local connection, advanced, settings and add port) Hope this helps, /Dorin. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Solved [Re: delete first partition XP and reformat as ufs - kernel not found]
snip The problem was that the new XP partition, not ^^^ Oops, mistype: I was talking about the new FreeBSD partition. The second stage FreeBSD boostrap program, boot2, assumes that the the slice being booted is the FreeBSD slice with the active partition flag set or (if no FreeBSD slice has the active partition flag) the first FreeBSD slice. If you have two FreeBSD slices on a single disk and your MBR (master bootstrap record) program does not rewrite the MBR with the active flag set for the selected slice before it runs boot2, either because you have disabled that feature with the boot0cfg command or because you are not using the FreeBSD boot0 MBR program, then boot2 could very easily try to boot the wrong slice. If I understand your email, you must have run afoul of the fragile assumptions made by boot2. What program were you using for the master bootstrap? Do you know which slice had the active partition flag? I am using the Debian lilo in MBR to select which os I should boot. Initially was: ad0s1 XP * marked as bootable ad0s2Swap Debian Debian / FreeBSD (swap, /)* marked as bootable Everything was fine. I needed space for FreeBSD, so went into /stand/sysinstall and delete XP; recreate a new FreeBSD slice, press W to save it into MBR, forgot the pesky bootable flag, return to FreeBSD, and before creating any partition in the new FreeBSD slice, now first, I rebooted. In MBR I had: FreeBSD (no slices) * marked as bootable Swap Debian Debian / FreeBSD (swap, /)* marked as bootable In this moment, the FreeBSD doesn't boot anymore. From fixit/live cd, I reset the bootable flag for first slice and the system booted finely well. I was hoping that I can specify in the boot2 prompt the correct partition, on ad0s4 Dan Strick [EMAIL PROTECTED] __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Solved [Re: delete first partition XP and reformat as ufs - kernel not found]
Sorry for replying again, but I succeed to press send while editing the previous reply :((( (press tab + space - send, ooops) I hope I included all the relevant information in my previous reply. To finish, I was wondering if I can specify in boot2 prompt which is the correct slicepartition to use for booting. If my assumptions are correct, in expression 0:ad(0,a)/kernel ^ ^ ^ ^ ^ | | | | | | | | | - the path inside the partition | | | | | | | - partition in slice | | | | | - ??? is this the slice #, drive # ??? | - refers to driver - refers to the disk unit If no RTFM is available, point me to the source files. I am not familiar with the FreeBSD kernel sources, but I'll have no problem reading some code. Thank you again, /Dorin. PS2. Does anybody has a clue why the FreeBSD associates the slice # 2 (i.e. ad0s2) for the PT entry 4? Initially, I had MBR PT: ad0s1 XP - not used, reserved space - not used, reserved space ad0s2 FreeBSD (swap, /) I have installed Debian swap and / in entries 2 and 3, and the FreeBSD associated the (correct) numbers: ad0s1 XP ad0s2 Debian swap ad0s3 Debian / ad0s4 FreeBSD (swap, /) ^^ This made the FreeBSD boot process to fail until I fixit the /etc/fstab to mount the correct root partition. At that time, I was also unable to specify in boot2 prompt (?) where my / is. My opinion is that if the PT entry # corresponding to the PT entry were used in the first place, this problem will be avoid. Probably this reflects a superficial view, but for a simple HDD configuration this make sense to me. Thanks again for any opinions/suggestions. __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Solved [Re: delete first partition XP and reformat as ufs - kernel not found]
Hi there, Hoping that this will help somebody else: Deleting the XP boot partition that came first on disk (the FreeBSD was the last) and changing its type to FreeBSD FS render my laptop unbootable. I got the prompt when trying to boot FreeBSD: FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: The problem was that the new XP partition, not yet labeled, was still marked as bootable, as well as the real bootable FreeBSD partition. Flipping that flag off repair the problem! QUESTION: Where I can find an explanation of the syntax for previous prompt (boot2 prompt according to handbook) ? All my attempts to redirect the boot to search in the correct partition failed. Thanks a lot, /Dorin. PS. Please CC me, I am not subscribed to questions list. Thank you! __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why there is not freebsd-kde list?
Hi there, There is a gnome mailing list, but not kde list. Is the free Qt the cause of lack of interest? Thank you, /Dorin. PS. Questions related to kde errors/build problems and so on, should be directed to ports or stable or current? Suggestions? __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why there is not freebsd-kde list?
Thank you for the pointers. /Dorin. Still, I am curious why there is not such a list on the FreeBSD mailman interface. From the least I have read, Qt is not free for comercial purposes. I was wondering if this is the issue. --- Dave Cantrell [EMAIL PROTECTED] wrote: On Mon November 24 2003 21:15, Dorin H wrote: Hi there, There is a gnome mailing list, but not kde list. Is the free Qt the cause of lack of interest? https://lists.csociety.org/listinfo/kde-freebsd drc -- Dave Cantrell [EMAIL PROTECTED] Lincoln, Nebraska, USA __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Does USB cable modem SB4200 or compatible work under FreeBSD?
Hi everybpdy, Has anybody succeeded to configure a cable modem SB4200 (4100) using the USB connection? Is there any chance that this USB modem will get support under FreeBSD? It is supported by Debian, and I it is the only annoying thing that keeps me from switching completely to FreeBSD...:( Thanks a lot! Regards, /Dorin. PS. If somebody is writing a driver, I be happy to help. PS2. The system recognize it correctly; nevertheless, I have not been able to use the ifconfig to make it work. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]