Re: Rasberry Pi 4 has no USB

2021-03-20 Thread Carl Johnson
Carl Johnson  writes:

> Emmanuel Vadot  writes:
>
>> On Sun, 28 Feb 2021 09:26:23 -0800
>> Carl Johnson  wrote:
>>
>>> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
>>> all. That means that I can't use a keyboard or mouse, but I can use a
>>> serial console and ethernet.  I can plug any USB device into any port,
>>> but there is nothing logged in /var/messages.  Running usbconfig as root
>>> just reports 'No device match or lack of permissions'.  Running
>>> 'dmesg | grep -i usb' reports only the following lines:
>>> 
>>>   usb_nop_xceiv0:  on ofwbus0
>>>   bcm_xhci0:  irq 81 at 
>>> device 0.0 on pci2
>>>   usb_needs_explore_all: no devclass
>>>   
>>> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
>>> tested this with Linux and everything worked properly.  This is a new
>>> computer that I bought only a couple of weeks ago.  Does anybody have
>>> any ideas on what this might be, or what I could do to try to figure it
>>> out?
>>> 
>>> Thanks in advance for any ideas.
>>> -- 
>>> Carl Johnsonca...@peak.org
>>
>>  Hello,
>>
>>  This is known, see
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252971#c25
>>
>>  I wanted to wait that a tag was created on the rpi-firmware github
>> repo but it seems that they don't want to so I'll update the port next
>> week so RC1 will have the updated firmware.
>>
>>  Cheers,
>
> Thank you very much for that!  I will test that as soon as it comes
> out.

Just for the record, RC3 now works properly.  Thanks to everyone for
getting this fix in before the release.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Carl Johnson
Peter Cornelius  writes:

> [Retransmssion, stupid HTML mails]
>
> G'day, Carl,
>  
> On 2/28/21 11:26 AM, Carl Johnson wrote:
>> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
>> all.  [...]
>  
> I second the suggestion to do a brief trial with Raspbian or so.  I
> currently run mine under -current as below, but can confirm that I
> have been able to run it since 13 with USB keyboard and mouse. I
> currenly am logged in via the net, so without further USB devices, at
> least the hubs should be present:

I had tested it with Raspbian, and everything worked properly.

> [root@rpi4 ~]# usbconfig  
> ugen0.1: <0x1106 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) 
> pwr=SAVE (0mA)
> ugen0.2:  at usbus0, cfg=0 md=HOST spd=HIGH 
> (480Mbps) pwr=SAVE (100mA)
>  
> [root@rpi4 ~]# uname -a
> FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Tue Feb 23 02:30:31
> UTC 2021 root@rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC 
> arm64
>  
> I can share a 14.0 image I used to initially boot if you have
> somewhere to push it
> (FreeBSD-aarch64-14.0-GENERIC-a63eae65ff8-RaspberryPi4.img, seven and
> a half gig, roughly; an xz. I'd expect at around two).
>  
> I did, though, have to do a couple of tries with Raspbian initially to put a 
> recent firmware onto my RPI4B8GB.
>  
> HOWEVER.
>  
> I also have an odd observation which is that there is NO OTHER USB
> device BUT the above and my mouse/keyboard. This is quite odd since I
> do have more devices connected (most notably a umass
> JMicron-JMS561-based device [1]) and naively hoped that also on arm,
> USB devices would at least show up as ugen-something. Well, at least
> keyboard and mouse did work, did they not?
>  
> I did boot with rasbian, all comes to life instantly and
> beautifully. I even was able to update some firmware on the
> JMS-thingo, see the disks, all blinkenlights there. Back to FreeBSD --
> again, silence. I now really am scratching my head and also have run
> out of ideas... though kind of luxury, compared to you, I guess.
>  
> Any help appreciated, and Carl, as written, if you want my image, where 
> should I put it?
>  
> Cheers,
>  
> Peter.
>  
> [1] https://www.jmicron.com/file/download/1033/JMS561_Product+Brief.pdf

There is another response that states this is a known problem that will
be fixed in -RC1, so I will wait to test that one.  Maybe your problem
will be fixed with that one also.  Meanwhile, I will just go back to
Raspbian until -RC1 comes out.

Thanks for your information.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Carl Johnson
Emmanuel Vadot  writes:

> On Sun, 28 Feb 2021 09:26:23 -0800
> Carl Johnson  wrote:
>
>> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
>> all. That means that I can't use a keyboard or mouse, but I can use a
>> serial console and ethernet.  I can plug any USB device into any port,
>> but there is nothing logged in /var/messages.  Running usbconfig as root
>> just reports 'No device match or lack of permissions'.  Running
>> 'dmesg | grep -i usb' reports only the following lines:
>> 
>>   usb_nop_xceiv0:  on ofwbus0
>>   bcm_xhci0:  irq 81 at 
>> device 0.0 on pci2
>>   usb_needs_explore_all: no devclass
>>   
>> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
>> tested this with Linux and everything worked properly.  This is a new
>> computer that I bought only a couple of weeks ago.  Does anybody have
>> any ideas on what this might be, or what I could do to try to figure it
>> out?
>> 
>> Thanks in advance for any ideas.
>> -- 
>> Carl Johnson ca...@peak.org
>> 
>> ___
>> freebsd-stable@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
>  Hello,
>
>  This is known, see
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252971#c25
>
>  I wanted to wait that a tag was created on the rpi-firmware github
> repo but it seems that they don't want to so I'll update the port next
> week so RC1 will have the updated firmware.
>
>  Cheers,

Thank you very much for that!  I will test that as soon as it comes
out.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Carl Johnson
Tim Daneliuk  writes:

> On 2/28/21 11:26 AM, Carl Johnson wrote:
>> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
>> all. That means that I can't use a keyboard or mouse, but I can use a
>> serial console and ethernet.  I can plug any USB device into any port,
>> but there is nothing logged in /var/messages.  Running usbconfig as root
>> just reports 'No device match or lack of permissions'.  Running
>> 'dmesg | grep -i usb' reports only the following lines:
>> 
>>   usb_nop_xceiv0:  on ofwbus0
>>   bcm_xhci0:  irq 81 at 
>> device 0.0 on pci2
>>   usb_needs_explore_all: no devclass
>>   
>> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
>> tested this with Linux and everything worked properly.  This is a new
>> computer that I bought only a couple of weeks ago.  Does anybody have
>> any ideas on what this might be, or what I could do to try to figure it
>> out?
>> 
>> Thanks in advance for any ideas.
>> 
>
>
> Not to belabour the obvious, but have you booted the machine with Linux
> to see if USB works there?  (Just to avoid the possibility that you
> have bad hardware.)

I did verify that it works on Linux and everything worked properly
there.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Carl Johnson
Mehmet Erol Sanliturk  writes:

> On Sun, Feb 28, 2021 at 8:26 PM Carl Johnson  wrote:
>
>> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
>> all. That means that I can't use a keyboard or mouse, but I can use a
>> serial console and ethernet.  I can plug any USB device into any port,
>> but there is nothing logged in /var/messages.  Running usbconfig as root
>> just reports 'No device match or lack of permissions'.  Running
>> 'dmesg | grep -i usb' reports only the following lines:
>>
>>   usb_nop_xceiv0:  on ofwbus0
>>   bcm_xhci0:  irq 81 at
>> device 0.0 on pci2
>>   usb_needs_explore_all: no devclass
>>
>> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
>> tested this with Linux and everything worked properly.  This is a new
>> computer that I bought only a couple of weeks ago.  Does anybody have
>> any ideas on what this might be, or what I could do to try to figure it
>> out?
>>
>> Thanks in advance for any ideas.
>> --
>> Carl Johnsonca...@peak.org
>>
>> ___
>>
>
>
>
> You did not mention which FreeBSD  you are using  ( please use "uname -a" )
> .
>
> Personally , I do not know  anything about Raspberry Pi with FreeBSD , but
> , without knowing which FreeBSD you are using ,
> it is very likely that no one will be able to give you any information .

You are right that I forgot to mention that.  In this case this is the
binary 13.0-BETA4 image that I downloaded directly from the FreeBSD
website, and verified the checksum.  The output of uname -a is:

FreeBSD basil 13.0-BETA4 FreeBSD 13.0-BETA4 #0 releng/13.0-n244592-e32bc253629: 
Fri Feb 26 08:02:53 UTC 2021 
r...@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC  arm64

Thanks for reminding me.
-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Rasberry Pi 4 has no USB

2021-02-28 Thread Carl Johnson
I have an 8GB RPi 4B that I am trying out, but it has no USB response at
all. That means that I can't use a keyboard or mouse, but I can use a
serial console and ethernet.  I can plug any USB device into any port,
but there is nothing logged in /var/messages.  Running usbconfig as root
just reports 'No device match or lack of permissions'.  Running
'dmesg | grep -i usb' reports only the following lines:

  usb_nop_xceiv0:  on ofwbus0
  bcm_xhci0:  irq 81 at 
device 0.0 on pci2
  usb_needs_explore_all: no devclass
  
Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
tested this with Linux and everything worked properly.  This is a new
computer that I bought only a couple of weeks ago.  Does anybody have
any ideas on what this might be, or what I could do to try to figure it
out?

Thanks in advance for any ideas.
-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Swap Questions

2015-08-14 Thread Carl Johnson
Tim Daneliuk tun...@tundraware.com writes:

 On 08/14/2015 11:38 AM, Carl Johnson wrote:

 I should have mentioned that I had similar problems until I added the
 late option to the swapfile line in fstab.  I suspect that it is a
 general problem with swapfiles and should be in the swapfile example in
 the fstab(5) manpage.
 

 Would you mind posting the exact line you're using...  Thanks

md  noneswapsw,late,file=/var/swapfile  0   0

This is on a Raspberry Pi, but I don't think that should make any
difference.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Swap Questions

2015-08-14 Thread Carl Johnson
Tim Daneliuk tun...@tundraware.com writes:

 On 08/14/2015 10:48 AM, Carl Johnson wrote:
 Tim Daneliuk tun...@tundraware.com writes:
 
 On 08/14/2015 08:53 AM, Patrick M. Hausen wrote:
 HI!

 Am 14.08.2015 um 15:15 schrieb Tim Daneliuk tun...@tundraware.com:

 I just built a 10.2 machine on a cloud-based VPS (Digital Ocean) that has
 512M of memory and 1G of swap partition.  I am seeing a ton of errors like
 this:

 [...]
 So, I added this to fstab (after creating /usr/swap0):

 Did you create it with dd or just with touch? You need to create a
 file that actually occupies the disk blocks with dd.

 HTH
 Patrick


 The file was actually created, and space reserved.
 
 Try removing the md99 device with mdconfig and then run the swapon again.
 

 Now we're getting somewhere.  The problem I discovered is that if I do this:

 1) Remove fstab entry for swap file and reboot
 2) Reinstall fstab entry for swap and swapon

 Voila' - it works.  BUT ...  if I then swapoff that disk *the md device does
 not go away and cannot be removed with mdcoswapon -a
 swapon: md99 on /usr/swap0: Device already in use
 nfig:

 mdconfig -d md99 
 mdconfig: file can only be used with -a


 I also cannot reenable it as swap again (which is why this appeared to not
 be working:

 swapon -a
 swapon: md99 on /usr/swap0: Device already in use


 IOW, the system thinks the /dev/md99 is still in use even though I have 
 swapped it
 off and will neither automatically remove the device nor allow me to do so 
 manually.

I should have mentioned that I had similar problems until I added the
late option to the swapfile line in fstab.  I suspect that it is a
general problem with swapfiles and should be in the swapfile example in
the fstab(5) manpage.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Swap Questions

2015-08-14 Thread Carl Johnson
Tim Daneliuk tun...@tundraware.com writes:

 On 08/14/2015 08:53 AM, Patrick M. Hausen wrote:
 HI!
 
 Am 14.08.2015 um 15:15 schrieb Tim Daneliuk tun...@tundraware.com:

 I just built a 10.2 machine on a cloud-based VPS (Digital Ocean) that has
 512M of memory and 1G of swap partition.  I am seeing a ton of errors like
 this:

 [...]
 So, I added this to fstab (after creating /usr/swap0):
 
 Did you create it with dd or just with touch? You need to create a
 file that actually occupies the disk blocks with dd.
 
 HTH
 Patrick
 

 The file was actually created, and space reserved.

Try removing the md99 device with mdconfig and then run the swapon again.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: top not restoring terminal echo/icanon correctly

2012-04-17 Thread Carl Johnson
Jeremy Chadwick free...@jdc.parodius.com writes:

 On Tue, Apr 17, 2012 at 12:51:15PM -0700, Jeremy Chadwick wrote:
 On Tue, Apr 17, 2012 at 11:22:42AM -0700, Jeremy Chadwick wrote:
  (Please keep me CC'd as I'm not subscribed to the list)
  
  I'd like to request that folks running RELENG_8 (and RELENG_9, though I
  do not use it) please check the behaviour of their terminal after each
  of following commands are run (check terminal after each command):
  
  top -a  (press q after 1 screen refresh)
  top -b
  
  If you find that your input characters in your shell aren't being echo'd
  back after one of the above commands, blindly type stty icanon echo
  and hit Enter and things should be back to normal.
  
  What I'm looking for is confirmation from others of the problem.
  
  Also very important: please provide uname -a output, specifically world
  rebuild date.  It greatly matters, because a commit was recently done
  where now -b functions fine (was previously busted in this way), but now
  -a behaves like -b did.  So src/world date matters.
  
  All of this is documented in PR 161739.  I urge anyone experiencing this
  problem to read that PR in full, as I spent many hours today writing a
  debug routine to confirm that top is sometimes not calling tcsetattr()
  with the original terminal parameters when it exits, and what the
  condition seems to be.
  
  http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/161739
  
  Finally, if anyone want to tackle the problem (work out the logic bug
  that is in there which causes it), please be my guest.  I have other
  things going on right now (doctors appointments) so I don't have as much
  time as I'd like.
  
  Thanks everyone.
 
 Thanks to all those who have responded, including kib@.
 
 The problem is very odd and appears specific to the bash shell, but
 only somewhat.  Below is a part of what I sent kib@ on the matter.
 A chart showing what I've found:
 
 Location  Username   TERM Shell bug?
 =
 VGA console   root   cons25   /bin/csh  no
 VGA console   jdccons25   /usr/local/bin/bash   no
 SSH (PuTTY)   root   xterm/bin/csh  no
 SSH (PuTTY)   jdcxterm/bin/csh  no
 SSH (PuTTY)   jdcxterm/usr/local/bin/bash   yes
 =
 
 In the last case (and only that case): if I move my dotfiles (.bashrc
 and .bash_profile) aside and log in (SSH), top behaves normally.
 Naturally this made me think something is wonky with my dotfiles!...
 
 But the problem *doesn't* happen if my dotfiles are intact and I
 log in via VGA console (cons25) as myself with a bash shell.  So it's
 almost like there's some bizarre combination of things that causes this
 problem.
 
 I'll continue to try and narrow it down.

 Boy this is a weird one.

 In my .bashrc I've been using the following statement to show all
 arguments and set the update interval to 1 second:

 export TOP=-a -s 1

 Removing this completely and logging back in results in no problems
 when running top in any way (top -a, top -s 1, or top -a -s 1).

 However, the problem I describe with icanon/echo never getting restored
 rears its ugly head when running top -a -b, but only under bash
 (with no dotfiles too).  It never happens under csh.

 I can also reproduce this on VGA console when logged in (regardless of
 user), e.g. log in as root (get csh shell), run bash, top -a -b, bam,
 issue happens.

 I don't know what's different about the two shells at this level that
 would cause oddities like this, but um, yeah.  *blink*

I checked /bin/sh and it shows the same problem as bash, but pdksh and
csh don't have any problem.  Running stty -a shows that all have -icanon
and -echo after runnin top, but csh and pdksh appear to ignore those
settings.  I have tried in xterm and console and it doesn't make any
difference.  I tested both on 8.1-RELEASE and 9.0-RELEASE (without ksh).
These are unmodified systems with GENERIC kernels, so the problem is not
new.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: New BSD Installer

2012-02-10 Thread Carl Johnson
Alex Samorukov m...@os2.kiev.ua writes:

 On 02/10/2012 06:56 PM, Joe Holden wrote:
 Guys,

 This should really be reverted to sysinstall until the new installer
 is at least in a state where it consistently works... the most
 important part of a new users experience is the installer and the
 few new installs I have done lately I've just installed 8.2 and
 upgraded from there as the new installer is terribly buggy.

 Hi,

 I am highly against reverting. Old installer is not GPT aware and in
 fact is unmaintained for a very long time.

 About ftp - its probably needs to be handled better, but most of the
 user i think using cd/dvd image, so it is not an issue. And new
 installer is written on shell, so i think its better to fix broken
 parts then to revert it to outdated and unmaintained code.

The major problem I saw is that I couldn't find any mention of the
packages on the CD/DVD in any of the menus.  Is there really no way of
installing them, or did I manage to overlook it?  I ran through it twice
and ended up using sysinstall both times to install the packages.
-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD 9.0-RC1 Available...

2011-10-23 Thread Carl Johnson
Ken Smith kensm...@buffalo.edu writes:

 The first of the Release Candidate builds of the 9.0-RELEASE release
 cycle is now available.  Since this is the first release of a brand
 new branch I cross-post the announcements on both -current and -stable.
 But just so you know most of the developers active in head and stable/9
 pay more attention to the -current mailing list.  If you notice problems
 you can report them through the normal Gnats PR system or on the
 -current mailing list.

 The 9.0-RELEASE cycle will be tracked here:

   http://wiki.freebsd.org/Releng/9.0-TODO

Is anybody *EVER* going to update the official web page?

http://www.freebsd.org/releases/9.0R/schedule.html
is now almost 3 months out of date, and it is the web page that people
will find when navigating from the main page.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD 9.0-BETA3 Available...

2011-10-04 Thread Carl Johnson
Ken Smith kensm...@buffalo.edu writes:

 On 10/4/11 3:39 PM, Arnaud Lacombe wrote:
 you've got to be fraking kidding me, aren't you ?
 
 Code freeze has happened, no date set. BETA-1, BETA-2 have been 
 released, no date set. stable/9 has been created, no date set.
 Branch status has not been updated.

 I'll get to more of it later tonight.

 At most, this edit is a bad joke, just like politician announcing
 a few millions dollars in saving when the yearly budget is in
 deficit by trillions...

 Or an edit done in the 5 minutes I had at the time so people who wanted
 to know the times of things that haven't happened already can get what
 they want to know.

 For the record, I would have made a much better job, if you had let
 me.

 I'd love to know what you would have put for the dates I filled in.

There is also a similar schedule page at
http://www.freebsd.org/releases/9.0R/schedule.html.  It is still out of
date and shows about the same as the other page did.

The distrowatch.org site shows scheduled releases for linux and *BSD,
and they showed BETA1 and BETA2 as originally scheduled.  As a result,
there were a few requests on freebsd-questions asking where to get the
releases.  Of course they hadn't been released, so they no longer show
any scheduled releases for FreeBSD, but still do for NetBSD and OpenBSD.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: if_bridge and IPv6

2011-03-10 Thread Carl Johnson
Daniel O'Connor docon...@gsoft.com.au writes:

 Hi, I have a bridge interface with em0 and tap0/tap1 on it to run a
 layer 2 VPN.

 I find that em0 gets an IPv6 link local address but bridge0 does not
 (via net.inet6.ip6.auto_linklocal). I did some googling and it seems
 that this is a deliberate policy decision, and unfortunately you can't
 change it on a per interface basis :)

 It would be nice if I could suppress automatic link local for em0 and
 enable it on bridge0 rather than having to delete  add them manually.

 Also, does anyone have a code snippet handy for generating link local
 addresses? My google-fu was unable to find a description..

You should be able to do something like the following:

  ifconfig bridge0 inet6 fe80:: eui64 add

That assumes that it has a MAC address already assigned.  I can't help
if it doesn't have one yet.

-- 
Carl Johnsonca...@peak.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: MCA messages after upgrade to 8.2-BEAT1

2010-12-24 Thread Carl Johnson
Alan Cox alan.l@gmail.com writes:

 2010/12/23 Dan Langille d...@langille.org

 On 12/22/2010 9:57 AM, John Baldwin wrote:

 On Wednesday, December 22, 2010 7:41:25 am Miroslav Lachman wrote:

 Dec 21 12:42:26 kavkaz kernel: MCA: Bank 0, Status 0xd40e4833
 Dec 21 12:42:26 kavkaz kernel: MCA: Global Cap 0x0105,
 Status 0x
 Dec 21 12:42:26 kavkaz kernel: MCA: Vendor AuthenticAMD, ID 0x40f33,
 APIC ID 0
 Dec 21 12:42:26 kavkaz kernel: MCA: CPU 0 COR OVER BUSLG Source DRD
 Memory
 Dec 21 12:42:26 kavkaz kernel: MCA: Address 0x236493c0


 You are getting corrected ECC errors in your RAM.  You see them once an
 hour
 because we poll the machine check registers once an hour.  If this happens
 constantly you might have a DIMM that is dying?


 John:

 I take it these ECC errors *may* have been happening for some time. What
 has changed is the OS now polls for the errors and reports them.


 Yes, we enabled MCA by default in 8.1-RELEASE.

Is there some reason that it is only available for i386 and not for
amd64?  Linux has something called mcelog, for machine check errors,
which sounds similar and is available for amd64.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: MCA messages after upgrade to 8.2-BEAT1

2010-12-24 Thread Carl Johnson
Alan Cox alan.l@gmail.com writes:

 On Fri, Dec 24, 2010 at 5:08 PM, Carl Johnson ca...@peak.org wrote:

 Alan Cox alan.l@gmail.com writes:

  2010/12/23 Dan Langille d...@langille.org
 
  On 12/22/2010 9:57 AM, John Baldwin wrote:
 
  On Wednesday, December 22, 2010 7:41:25 am Miroslav Lachman wrote:
 
  Dec 21 12:42:26 kavkaz kernel: MCA: Bank 0, Status 0xd40e4833
  Dec 21 12:42:26 kavkaz kernel: MCA: Global Cap 0x0105,
  Status 0x
  Dec 21 12:42:26 kavkaz kernel: MCA: Vendor AuthenticAMD, ID 0x40f33,
  APIC ID 0
  Dec 21 12:42:26 kavkaz kernel: MCA: CPU 0 COR OVER BUSLG Source DRD
  Memory
  Dec 21 12:42:26 kavkaz kernel: MCA: Address 0x236493c0
 
 
  You are getting corrected ECC errors in your RAM.  You see them once an
  hour
  because we poll the machine check registers once an hour.  If this
 happens
  constantly you might have a DIMM that is dying?
 
 
  John:
 
  I take it these ECC errors *may* have been happening for some time. What
  has changed is the OS now polls for the errors and reports them.
 
 
  Yes, we enabled MCA by default in 8.1-RELEASE.

 Is there some reason that it is only available for i386 and not for
 amd64?  Linux has something called mcelog, for machine check errors,
 which sounds similar and is available for amd64.


 Perhaps I'm misunderstanding your question, but our MCA driver is supported
 and enabled by default on both i386 and amd64.

Thanks, it appears that I misunderstood.  I ran whereis and found
/usr/src/sbin/mca and didn't find it on my amd64 system.  I do see it in
my sysctl listing now that I look there.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: MCA messages after upgrade to 8.2-BEAT1

2010-12-24 Thread Carl Johnson
Jeremy Chadwick free...@jdc.parodius.com writes:

 On Fri, Dec 24, 2010 at 03:08:48PM -0800, Carl Johnson wrote:
 Alan Cox alan.l@gmail.com writes:
 
  2010/12/23 Dan Langille d...@langille.org
 
  On 12/22/2010 9:57 AM, John Baldwin wrote:
 
  On Wednesday, December 22, 2010 7:41:25 am Miroslav Lachman wrote:
 
  Dec 21 12:42:26 kavkaz kernel: MCA: Bank 0, Status 0xd40e4833
  Dec 21 12:42:26 kavkaz kernel: MCA: Global Cap 0x0105,
  Status 0x
  Dec 21 12:42:26 kavkaz kernel: MCA: Vendor AuthenticAMD, ID 0x40f33,
  APIC ID 0
  Dec 21 12:42:26 kavkaz kernel: MCA: CPU 0 COR OVER BUSLG Source DRD
  Memory
  Dec 21 12:42:26 kavkaz kernel: MCA: Address 0x236493c0
 
 
  You are getting corrected ECC errors in your RAM.  You see them once an
  hour
  because we poll the machine check registers once an hour.  If this 
  happens
  constantly you might have a DIMM that is dying?
 
 
  John:
 
  I take it these ECC errors *may* have been happening for some time. What
  has changed is the OS now polls for the errors and reports them.
 
 
  Yes, we enabled MCA by default in 8.1-RELEASE.
 
 Is there some reason that it is only available for i386 and not for
 amd64?  Linux has something called mcelog, for machine check errors,
 which sounds similar and is available for amd64.

 You mean like what John used in his earlier post on this thread?  :-)

 http://lists.freebsd.org/pipermail/freebsd-stable/2010-December/060705.html

Oops!  Yes, I missed that when I read it.

 If you're looking for it for FreeBSD, it's available below as a patch to
 the original (I believe):

 http://www.FreeBSD.org/~jhb/mcelog/

Thanks for the link.

-- 
Carl Johnsonca...@peak.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org