Manish Jain | 24 Jun 22:24 2016
Picon

Bad experience switching to SSD on FreeBSD 10.3

Hi,

I have a rather bad experience switching to SSD on FreeBSD 10.3 amd64. Things would have been much worse had
the SSD switch not worked for my other OS - Windows XP, a bit surprising because XP does not support SSD TRIM.

For my upgrade, there were 3 components which I upgraded simultaneously :

1) Keyboard -> LED backlit keyboard (Cooler Master Devastator, USB)
2) 2 GB DDR3 RAM -> 8GB DDR3 (G Skill)
3) Sata HD -> SSD (Samsung EVO 500 GB)

The keyboard upgrade itself failed for FreeBSD. The moment I switch on the LED backlight light for the keys,
console output freezes till I turn off the backlight. This is surprising because the keyboard works well
on XP, which was developed almost 2 decades back. The reason this is important for me is because I love
working in the dark, with no bright lights around. LED keyboards make that possible. Not just that, the
keyboard looks sensational - particularly with LED on, when the thing looks futuristic.

So I resigned myself to working without the LED. Upon installation of FreeBSD and Gnome3, the desktop
started crashing. I suspected the RAM to be defective and reinstalled the whole OS with the RAM switched to
the original 2 GB - which was working flawlessly on previous FreeBSD 10.2 installation. Upon reinstall,
things were much better, but then Gnome Tweak Tool just does not work. This makes it impossible to get the
Applications menu and the Window list, which I find absolutely essential. There is no way I can work the
Activities system that Gnome ships with as default. Hotspot makes things much worse, although I think
there is an extension that disable hotspot. But first I have to get the Activities menu and the Window List,
without which I just can't use Gnome. If I can't get Gnome to w
 ork for me, FreeBSD itself becomes useless as a desktop OS.

So I crapped the FreeBSD installation and switched to Windows XP + Cygwin. On XP, the whole thing works
fantastically. My system is much faster, roughly 3 times compared to when I had the SATA HD. Now I am stuck
with Windows XP, when the entire upgrade had targeted removal of XP and FreeBSD as the only OS. The LED
(Continue reading)

Picon

Wiring down network interfaces

Hi,
How do I wire down network interfaces based on their PCI bus addresses? Example: I have the following
network interfaces:
# pciconf -l | grep bge
bge0 <at> pci0:8:0:0:        class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge1 <at> pci0:8:0:1:        class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge2 <at> pci0:10:0:0:       class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge3 <at> pci0:10:0:1:       class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge4 <at> pci0:2:0:0:        class=0x020000 card=0x04f81028 chip=0x165f14e4 rev=0x00 hdr=0x00
bge5 <at> pci0:2:0:1:        class=0x020000 card=0x04f81028 chip=0x165f14e4 rev=0x00 hdr=0x00

I want the network interface at pci0:2:0:0 to be bge0 always, and the one at pci0:2:0:1 to be bge1 always. How
should populate my /boot/device.hints file? I tried following the steps mentioned here, but after
rebooting the system, I ended up with bge2-7 instead (bge0 and bge1 were absent).
 Thanks,Pallav 
Links in the message

|  
Re-numbering network interfaces
  |  |

_______________________________________________
freebsd-questions <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"
Charles W. Ross | 24 Jun 19:24 2016

Resolution on SCFB X11 Driver

Hi all,

I'm running FreeBSD 10.3 on an Intel NUC with 4th generation graphics.
This is not supported by the i915 driver yet, so I'm using the SCFB
(frame buffer) driver.

It works, but I can't seem to set an optimal resolution. My display (24"
Dell) supports 1920*1200, but the system only permits X11 to operate at
1280*1024.

I have tried the usual settings in xorg.conf to define the display's
"Modes" at 1920*1200, but no luck. Running 'xrandr' presents only one
option: 1280*1024.

I know the SCFB driver is capable of operating at higher resolutions,
does anyone have any tips on how to set this?

Thanks,

Charlie
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Janos Dohanics | 24 Jun 17:26 2016

LAN slow or dead, intermittently

Hello List,

Please help me figure out what makes my LAN intermittently slow or just
about dead.

The LAN consists of a pfSense router (m1n1wall), a Netgear GS724T
switch, a recently installed FreeBSD 10.3 machine, several Windows 7 Pro
machines, androids and iPhones, and a Brother printer, altogether
between a dozen and 2 dozen networked devices. 

There are no local servers on the network, so as far as I can tell,
most traffic to and from the local nodes is with the internet

Desktops have wired connections (100 MB or 1 GB NICs), but the phones
and most laptops are connected by WiFi.

WiFi is provided by a Linksys E1500 configured to work only as a WiFi
AP.

There is also a Linksys RE4000W WiFi extender on the network.

The FreeBSD machine, the printer, the switch, the E1500 and RE4000W
WiFis have static IP addresses. Most of the Windows machines have
reserved DHCP addresses, the rest are unreserved DHCP. pfSense is
providing the DHCP server.

I started to investigate the problem using mtr(8) which runs every 10
minutes. Several times in my testing, the average RTT between the
FreeBSD machine (10.10.11.252) and the router's LAN interface
(10.10.11.1) was hundreds of milliseconds. Also, several times, 1 out
(Continue reading)

Processworks | 23 Jun 16:35 2016

Essentials of Project Management Course on August 1st to 2nd, 2016 at Johor Bahru & on August 3rd to 4th, 2016 at Kuala Lumpur [HRDF SBL Khas Claimable]


_______________________________________________
freebsd-questions <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Caroline Hampton | 24 Jun 04:11 2016

7 Resources to Help Teachers Create More Exciting Lesson Plans

Hi there!

It may be summer — but the Open Educators team never takes time off from
sharing ideas for making the classroom a more engaging place for students!

Today, I’m passing on a few resources that offer unique approaches to
teaching core concepts to students of all ages. I encourage you to add this
list to your site (maybe you can include it here:
http://nsa.kpu-m.ac.jp/gijutu/tex/linux/link.html). After all, it won’t be
long before classes are back in session!

25 Great Ideas for Teaching Current Events
<http://www.educationworld.com/a_lesson/lesson/lesson072.shtml>

The Educator's Guide to Real Estate Lesson Plans
<https://www.redfin.com/blog/2015/08/the-educators-guide-to-real-estate-lesson-plans.html>

Veterinary Lesson Plans for K-12 Educators
<https://www.avma.org/KB/K12/Pages/AVMA-educational-resources.aspx>

Teacher Resources and Lesson Plans — Special Needs Students
<https://www.teachervision.com/special-education/teacher-resources/6640.html>

Unmasking Alcohol Manipulators: Critical Thinking Lesson Plans to Subvert
Alcohol Advertisers
<http://www.alcoholtreatment.net/unmasking-alcohol-manipulators/>

K-12 Music Education Lesson Plans
<http://www.teach-nology.com/teachers/lesson_plans/music/>

(Continue reading)

perikillo | 23 Jun 22:19 2016
Picon

Copy bootcode to mirror disk?

Hi I have a server with 2 hard disk in mirror setup.

My slices are:

Code:
root <at> spam:/boot # gpart show ada1
       34  976773101  ada1  GPT  (466G)
         34          6        - free -  (3.0K)
         40        128     1  freebsd-boot  (64K)
        168    2097152     2  freebsd-ufs  (1.0G)
    2097320   16777216     3  freebsd-ufs  (8.0G)
   18874536   16777216     4  freebsd-ufs  (8.0G)
   35651752    1048576     5  freebsd-ufs  (512M)
   36700328    1048576     6  freebsd-swap  (512M)
   37748904  939024231        - free -  (448G)

My mirror has ada0 ada1, ada0 var slice fails, them I decide to replace the
whole disk and follow the instructions for that using gpart and backup my
current good disk layout into my new disk.

gpart backup ada1 | gpart restore -F /dev/ada0

This create my slices, I forget each mirror slice and add each slice into
the mirror again.

Everything working, but looks like I forget to add the bootcode to my new
disk because it won't boot.

Now is booting from 2nd disk but need to boot from all hard disk, if ada1
fails I will have issues.
(Continue reading)

Martin S. Weber | 23 Jun 18:50 2016
Picon
Picon

How to play back to multiple sound cards?

Is there an on-board freebsd way to play back sound to
multiple devices at once (including controlling settings
of the various outputs separately)? Without resorting
to pulseaudio?

TIA,
-Martin
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Martin S. Weber | 23 Jun 17:37 2016
Picon
Picon

Audio volume suddenly very low

Hiho,

I'm looking for pointers of things to try out. I have essentially done
nothing to the audio, I was experimenting with uhidd as I got a new
keyboard (I was using uhidd with the previous keyboard also) and faced
some problems with some key combos not sending keycodes. Suspecting a 
problem with uhidd, I stopped uhidd from starting,
removed its devd.conf, set it to NO in rc.conf, and removed the
cuse4bsd and vkbd modules from loader.conf.

Rebooted, and now my audio is extremely low. So low that even setting
hw.snd.vpc_0db to 1 (argh!) still requires my external amp to go to
+20 dB and it's still quiet. Before I was listening comfortably at
some -50 dB. That's _seven orders of magnitude_ fewer oomph.

Here's my audio hardware:

dmesg | grep pcm                                                                           
pcm0: <NVIDIA (0x0071) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0071) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0071) (HDMI/DP 8ch)> at nid 6 on hdaa0
pcm3: <NVIDIA (0x0071) (HDMI/DP 8ch)> at nid 7 on hdaa0
pcm4: <Realtek (0x0900) (Rear Analog 5.1/2.0)> at nid 20,22,21 and 24,26 on hdaa1
pcm5: <Realtek (0x0900) (Front Analog)> at nid 27 and 25 on hdaa1
pcm6: <Realtek (0x0900) (Onboard Digital)> at nid 17 on hdaa1
pcm7: <Realtek (0x0900) (Rear Digital)> at nid 30 on hdaa1
pcm8: <USB audio> on uaudio0

I'm usually using pcm4 (default unit =4, see below).

(Continue reading)

Stefan `Sec` Zehl | 23 Jun 17:11 2016
Gravatar

freebsd-update && locally modified files

Hi,

I've been a user of freebsd-update for some time, and it works basically
fine, but since quite some time it annoys me with this message:

| The following files are affected by updates, but no changes have
| been downloaded because the files have been modified locally:
| /etc/mail/freebsd.cf
| /etc/mail/freebsd.submit.cf
| /etc/mail/sendmail.cf
| /etc/mail/submit.cf
| /var/db/mergemaster.mtree

How do I get these files back in a state that freebsd-update doesn't
complain about?

I don't care about loosing changes. But even extensive googling has not
helped me find an answer on how to restore those files to their
"original" state that freebsd-update wants them to be in.

The obvious solution of deleting them and letting freebsd-update install
run did not restore those files.

Please help.

CU,
    Sec
--

-- 
``oh no! the gronkulator is broken!''
_______________________________________________
(Continue reading)

Victor Sudakov | 23 Jun 15:42 2016
Picon

bsdinstall and unattended zfs installation

Dear Colleagues,

I'm trying the "bsdinstall script myscript" automated setup feature on
a 10.3-RELEASE system. When myscript looks like this:

PARTITIONS=md0
DISTRIBUTIONS="kernel.txz base.txz games.txz"

everying goes fine.

But when I change it into:

ZFSBOOT_DISKS=md0
DISTRIBUTIONS="kernel.txz base.txz games.txz"

everything gets screwed up, bsdinstall spits out lots of debug and
goes interactive.

What am I missing? What should an install script look like for
unattended ZFS install with a default dataset layout? 

--

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov <at> sibptus.tomsk.ru
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

(Continue reading)


Gmane