Re: Detect hardware changes

2006-01-02 Thread Robert Huff

For the record, I just swapped a ZYNX 345 for a Linksys EG-1032
and have been hit by this.
Given the discussion, I have no idea where to start.  I do have
various pieces of data (appended) which may help.
1) boot probes
2) output of kldstat
3) output of pciconf
4) screen capture of trying to config things manually

My kernel config has miibus, but neither nge or sk in the
expectation the card would attract the right module in the boot
process.  (Which worked for the old de.)
Actually I do have a place to start: what is the correct
driver?  This page:

 http://wwwhttp://www.freebsd.org/releases/6.0R/hardware-i386.html#ETHERNET

puts the EG-1032 under both nge and sk


Robert Huff



boot probes 

Jan  2 23:24:22 jerusalem kernel: Copyright (c) 1992-2006 The FreeBSD Project.
Jan  2 23:24:22 jerusalem kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 
1989, 1991, 1992, 1993, 1994
Jan  2 23:24:22 jerusalem kernel: The Regents of the University of California. 
All rights reserved.
Jan  2 23:24:22 jerusalem kernel: FreeBSD 7.0-CURRENT #0: Mon Jan  2 20:29:30 
EST 2006
Jan  2 23:24:22 jerusalem kernel: [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/JERUSALEM
Jan  2 23:24:22 jerusalem kernel: WARNING: WITNESS option enabled, expect 
reduced performance.
Jan  2 23:24:22 jerusalem kernel: WARNING: MPSAFE network stack disabled, 
expect reduced performance.
Jan  2 23:24:22 jerusalem kernel: Using 16 colors for the VM-PQ tuning (512, 8)
Jan  2 23:24:22 jerusalem kernel: Preloaded elf kernel /boot/kernel/kernel at 
0xc0882000.
Jan  2 23:24:22 jerusalem kernel: Preloaded elf module 
/boot/kernel/accf_http.ko at 0xc0882188.
Jan  2 23:24:22 jerusalem kernel: Preloaded elf module /boot/kernel/acpi.ko 
at 0xc0882238.
Jan  2 23:24:22 jerusalem kernel: Calibrating clock(s) ... i8254 clock: 1193226 
Hz
Jan  2 23:24:22 jerusalem kernel: CLK_USE_I8254_CALIBRATION not specified - 
using default frequency
Jan  2 23:24:22 jerusalem kernel: Timecounter i8254 frequency 1193182 Hz 
quality 0
Jan  2 23:24:22 jerusalem kernel: Calibrating TSC clock ... TSC clock: 
2261012444 Hz
Jan  2 23:24:22 jerusalem kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.26GHz 
(2261.01-MHz 686-class CPU)
Jan  2 23:24:22 jerusalem kernel: Origin = GenuineIntel  Id = 0xf24  Stepping 
= 4
Jan  2 23:24:22 jerusalem kernel: 
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
Jan  2 23:24:22 jerusalem kernel: 
Jan  2 23:24:22 jerusalem kernel: Instruction TLB: 4-KB, 2-MB or 4-MB pages, 
fully associative, 64 entries
Jan  2 23:24:22 jerusalem kernel: Data TLB: 4-KB or 4-MB pages, fully 
associative, 64 entries
Jan  2 23:24:22 jerusalem kernel: 1st-level data cache: 8-KB, 4-way set 
associative, sectored cache, 64-byte line size
Jan  2 23:24:22 jerusalem kernel: Trace cache: 12K-uops, 8-way set associative
Jan  2 23:24:22 jerusalem kernel: 2nd-level cache: 512-KB, 8-way set 
associative, sectored cache, 64-byte line size
Jan  2 23:24:22 jerusalem kernel: real memory  = 536854528 (511 MB)
Jan  2 23:24:22 jerusalem kernel: Physical memory chunk(s):
Jan  2 23:24:22 jerusalem kernel: 0x1000 - 0x0009efff, 
647168 bytes (158 pages)
Jan  2 23:24:22 jerusalem kernel: 0x0010 - 0x003f, 
3145728 bytes (768 pages)
Jan  2 23:24:22 jerusalem kernel: 0x00c25000 - 0x1f6c3fff, 
514453504 bytes (125599 pages)
Jan  2 23:24:22 jerusalem kernel: avail memory = 515940352 (492 MB)
Jan  2 23:24:22 jerusalem kernel: bios32: Found BIOS32 Service Directory header 
at 0xc00f1bf0
Jan  2 23:24:22 jerusalem kernel: bios32: Entry = 0xf13b0 (c00f13b0)  Rev = 0  
Len = 1
Jan  2 23:24:22 jerusalem kernel: pcibios: PCI BIOS entry at 0xf+0x15b0
Jan  2 23:24:22 jerusalem kernel: pnpbios: Found PnP BIOS data at 0xc00fa840
Jan  2 23:24:22 jerusalem kernel: pnpbios: Entry = f:a870  Rev = 1.0
Jan  2 23:24:22 jerusalem kernel: pnpbios: OEM ID cd041
Jan  2 23:24:22 jerusalem kernel: Other BIOS signatures found:
Jan  2 23:24:22 jerusalem kernel: mem: memory
Jan  2 23:24:22 jerusalem kernel: Pentium Pro MTRR support enabled
Jan  2 23:24:22 jerusalem kernel: io: I/O
Jan  2 23:24:22 jerusalem kernel: null: null device, zero device
Jan  2 23:24:22 jerusalem kernel: random: entropy source, Software, Yarrow
Jan  2 23:24:22 jerusalem kernel: npx0: [FAST]
Jan  2 23:24:22 jerusalem kernel: npx0: math processor on motherboard
Jan  2 23:24:22 jerusalem kernel: npx0: INT 16 interface
Jan  2 23:24:22 jerusalem kernel: acpi0: ASUS P4S533 on motherboard
Jan  2 23:24:22 jerusalem kernel: acpi0: [MPSAFE]
Jan  2 23:24:22 jerusalem kernel: pci_open(1):  mode 1 addr port (0x0cf8) is 
0x8070
Jan  2 23:24:22 jerusalem kernel: pci_open(1a): mode1res=0x8000 (0x8000)
Jan  2 23:24:22 jerusalem kernel: pci_cfgcheck: device 0 

Re: Detect hardware changes

2005-12-21 Thread Loren M. Lang
On Mon, Dec 12, 2005 at 08:27:06AM -0600, Keith Bottner wrote:
  
  -Original Message-
  From: Loren M. Lang [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 09, 2005 9:06 AM
  To: Peter Giessel
  Cc: Keith Bottner; 'FreeBSD Questions'
  Subject: Re: Detect hardware changes
  
  On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote:
   On 12/8/2005 11:51, Keith Bottner seems to have typed:
[EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
rev=0x10 hdr=0x00
vendor   = 'Linksys'
device   = 'EG1032 Gigabit Ethernet'
class= network
subclass = ethernet
   
   Looks like this should be supported using the nge driver.
  
  No, actually the sk driver, look at the first line of pciconfig 
  output. ifconfig -a should list a network card called skc0 which you 
  just need to configure.  If all you need is dhcp then just run 
  dhclient skc0.  Add the device to rc.conf for it to work on boot.
  Use man rc.conf for help or copy the line for the xl0 network card you 
  already have.
  
   ___
   freebsd-questions@freebsd.org mailing list 
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  [EMAIL PROTECTED]
   
  
  ipconfig -a doesn't show the skc0 device which I believe is my 
  ultimate problem. Can I infer from your earlier message that this 
  means the sk module is not being loaded or is not available? How can I 
  check to see if the loadable module is installed?
  
  Thanks,
  
  Keith
 
  Hello Keith
 
  skc0 is the controller. You should see sk0 in ifconfig -a.
 
  Can you please show us the output of ifconfig -a and rc.conf. 
 
  Thank you
  Robert
 
 Ifconfig does not show skc0 but here is the output for completeness:

Did you try ifconfig -a?  Also, any lines on sk0 or skc0 from the output
of dmesg would be helpful.

 
 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=9RXCSUM,VLAN_MTU
   inet 192.168.1.217 netmask 0xff00 broadcast 192.168.1.255
   inet6 fe80::2b0:d0ff:fe16:3d30%xl0 prefixlen 64 scopeid 0x1 
   ether 00:b0:d0:16:3d:30
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet 127.0.0.1 netmask 0xff00 
   inet6 ::1 prefixlen 128 
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
 
 And rc.conf is:
 
 defaultrouter=192.168.1.1
 hostname=gsdev.bltmobile.com
 ifconfig_xl0=inet 192.168.1.217  netmask 255.255.255.0
 ifconfig_skc0=inet 10.0.130.204  netmask 255.255.255.0
 linux_enable=YES
 moused_enable=YES
 sshd_enable=YES
 usbd_enable=YES
 postgresql_enable=YES
 
 Anything else that I can send that will help?
 
 Keith
 
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgpzM1f2Mgfx0.pgp
Description: PGP signature


Re: Detect hardware changes

2005-12-12 Thread Alex Zbyslaw

Keith Bottner wrote:


I have not compiled a kernel. This is a standard FreeBSD 5.4-Release
installation. How can I check to see if the loadable module is installed?

 


Have a look in /var/run/dmesg.boot and see if you have a line like

sk0: unknown media type 0xff

If so, plug your card into the network and try again.  Even if you don't 
see such a line, try it if you haven't already.  If that doesn't work 
then what does /var/run/dmesg.boot show for sk0 and skc0?


I have an SMC card based which fails to attach without a cable -- not 
sure if it needs to be plugged in to a router or not.  The onboard 
chipset on a different PC has no such failing.


--Alex


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Detect hardware changes

2005-12-12 Thread Keith Bottner
 
 -Original Message-
 From: Loren M. Lang [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 09, 2005 9:06 AM
 To: Peter Giessel
 Cc: Keith Bottner; 'FreeBSD Questions'
 Subject: Re: Detect hardware changes
 
 On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote:
  On 12/8/2005 11:51, Keith Bottner seems to have typed:
   [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
   rev=0x10 hdr=0x00
   vendor   = 'Linksys'
   device   = 'EG1032 Gigabit Ethernet'
   class= network
   subclass = ethernet
  
  Looks like this should be supported using the nge driver.
 
 No, actually the sk driver, look at the first line of pciconfig 
 output. ifconfig -a should list a network card called skc0 which you 
 just need to configure.  If all you need is dhcp then just run 
 dhclient skc0.  Add the device to rc.conf for it to work on boot.
 Use man rc.conf for help or copy the line for the xl0 network card you 
 already have.
 
  ___
  freebsd-questions@freebsd.org mailing list 
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
  
 
 ipconfig -a doesn't show the skc0 device which I believe is my 
 ultimate problem. Can I infer from your earlier message that this 
 means the sk module is not being loaded or is not available? How can I 
 check to see if the loadable module is installed?
 
 Thanks,
 
 Keith

 Hello Keith

 skc0 is the controller. You should see sk0 in ifconfig -a.

 Can you please show us the output of ifconfig -a and rc.conf. 

 Thank you
 Robert

Ifconfig does not show skc0 but here is the output for completeness:

xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=9RXCSUM,VLAN_MTU
inet 192.168.1.217 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::2b0:d0ff:fe16:3d30%xl0 prefixlen 64 scopeid 0x1 
ether 00:b0:d0:16:3d:30
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00 
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 

And rc.conf is:

defaultrouter=192.168.1.1
hostname=gsdev.bltmobile.com
ifconfig_xl0=inet 192.168.1.217  netmask 255.255.255.0
ifconfig_skc0=inet 10.0.130.204  netmask 255.255.255.0
linux_enable=YES
moused_enable=YES
sshd_enable=YES
usbd_enable=YES
postgresql_enable=YES

Anything else that I can send that will help?

Keith




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Detect hardware changes

2005-12-12 Thread Keith Bottner
-Original Message-
From: Alex Zbyslaw [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 12, 2005 4:55 AM
To: Keith Bottner
Cc: freebsd-questions@freebsd.org
Subject: Re: Detect hardware changes

Keith Bottner wrote:

I have not compiled a kernel. This is a standard FreeBSD 5.4-Release 
installation. How can I check to see if the loadable module is installed?

  

 Have a look in /var/run/dmesg.boot and see if you have a line like

 sk0: unknown media type 0xff

 If so, plug your card into the network and try again.  Even if you don't
see such a line, try it if you haven't already.  If that doesn't work then
what does /var/run/dmesg.boot show for sk0 and skc0?

 I have an SMC card based which fails to attach without a cable -- not sure
if it needs to be plugged in to a  router or not.  The onboard chipset on a
different PC has no such failing.

--Alex

Ok I find the lines that related to skc in the /var/run/dmesg.boot and they
are included below:

skc0: Linksys EG1032 Gigabit Ethernet port 0xe800-0xe8ff mem
0xfbfffc00-0xfbfffcff irq 11 at device 9.0 on pci2
skc0: failed: rid 0x10 is ioport, requested 3
device_attach: skc0 attach returned 6

The second line says failed but I don't where it says anything regarding
why. Any ideas?

Thanks,

Keith





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detect hardware changes

2005-12-12 Thread Alex Zbyslaw

Keith Bottner wrote:


Ok I find the lines that related to skc in the /var/run/dmesg.boot and they
are included below:

skc0: Linksys EG1032 Gigabit Ethernet port 0xe800-0xe8ff mem
0xfbfffc00-0xfbfffcff irq 11 at device 9.0 on pci2
skc0: failed: rid 0x10 is ioport, requested 3
device_attach: skc0 attach returned 6

The second line says failed but I don't where it says anything regarding
why. Any ideas?
 

Well, it *does* say why, you just don't understand what it is saying.  
Nor do I ;-)


I suggest you try on the hardware list, try filing a PR, or be bold and 
email the author of the driver.  PR is probably the recommended route, 
but don't quote me.


Just to be clear, if the device is not attaching then nothing you do 
with pciconf or in any config file will make any difference.


You could also try:
   google for your specific error rid 0x10 is ioport

   If this is 5.4, try downloading and booting from 6.0 CD (just CD1 
should be required) and see if that spots it.  When you get into 
sysinstall you can hit Pause then Page Up to see the boot log.
   If this is 6.0 then vice versa!  Your card is listed as apparently 
5.4 compatible, but manufacturers just go and change things so cards 
which worked in one revision, fail in another.


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detect hardware changes

2005-12-12 Thread Robert Marella
On Mon, 12 Dec 2005 08:27:06 -0600
Keith Bottner [EMAIL PROTECTED] wrote:

  
  On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote:
   On 12/8/2005 11:51, Keith Bottner seems to have typed:
[EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
rev=0x10 hdr=0x00
vendor   = 'Linksys'
device   = 'EG1032 Gigabit Ethernet'
class= network
subclass = ethernet
   

 
 Ifconfig does not show skc0 but here is the output for completeness:
 
 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=9RXCSUM,VLAN_MTU
   inet 192.168.1.217 netmask 0xff00 broadcast 192.168.1.255
   inet6 fe80::2b0:d0ff:fe16:3d30%xl0 prefixlen 64 scopeid 0x1 
   ether 00:b0:d0:16:3d:30
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet 127.0.0.1 netmask 0xff00 
   inet6 ::1 prefixlen 128 
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
 
 And rc.conf is:
 
 defaultrouter=192.168.1.1
 hostname=gsdev.bltmobile.com
 ifconfig_xl0=inet 192.168.1.217  netmask 255.255.255.0
 ifconfig_skc0=inet 10.0.130.204  netmask 255.255.255.0
 linux_enable=YES
 moused_enable=YES
 sshd_enable=YES
 usbd_enable=YES
 postgresql_enable=YES
 
 Anything else that I can send that will help?
 
 Keith

Hello Keith

I'm not sure I can be of any help. I have an older Asus board (2years)
that uses an onboard sk card. Here is the output from my machine

[EMAIL PROTECTED]:5:0:  class=0x02 card=0x80eb1043 chip=0x170010b7 rev=0x12
hdr=0x00 vendor   = '3COM Corp, Networking Division'
device   = '3C940 and 3C2000 Gigabit Ethernet PCI CODEC?'
class= network
subclass = ethernet

Mine is 3COM while yours is Linksys.

[EMAIL PROTECTED] ~ grep sk /var/run/dmesg.boot
skc0: 3Com 3C940 Gigabit Ethernet port 0xd800-0xd8ff mem
0xfeafc000-0xfeaf irq 22 at device 5.0 on pci2 skc0: 3Com Gigabit
LOM (3C940) rev. (0x1) sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:0c:6e:91:de:a6
miibus0: MII bus on sk0

The mii bus is shown here and unless you have removed it from your
kernel it would be automatic.

From rc.conf

defaultrouter=10.0.0.1
hostname=p4.konav201.local
ifconfig_sk0=inet 10.0.0.103  media 100baseTX mediaopt full-duplex
netmask 255.255.255.0

Notice that it is sk0 _not_ skc0. AFAIK this is not your problem but it
should be changed in your rc.conf file. Except for an occasional
watchdog it is working fine.

I google'd for your error rid 0x10 is ioport but didn't see any
solutions. There was some reference to ACPI so it might be something to
try. 

BTW I am running 6 Stable.

I hope this helps. Good luck
Robert


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detect hardware changes

2005-12-09 Thread Loren M. Lang
On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote:
 On 12/8/2005 11:51, Keith Bottner seems to have typed:
  [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
  rev=0x10
  hdr=0x00
  vendor   = 'Linksys'
  device   = 'EG1032 Gigabit Ethernet'
  class= network
  subclass = ethernet
 
 Looks like this should be supported using the nge driver.

No, actually the sk driver, look at the first line of pciconfig output.
ifconfig -a should list a network card called skc0 which you just need
to configure.  If all you need is dhcp then just run dhclient skc0.  Add
the device to rc.conf for it to work on boot.  Use man rc.conf for help
or copy the line for the xl0 network card you already have.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgpCCHLX2QZ8x.pgp
Description: PGP signature


RE: Detect hardware changes

2005-12-09 Thread Keith Bottner
I have not compiled a kernel. This is a standard FreeBSD 5.4-Release
installation. How can I check to see if the loadable module is installed?

Keith 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Odhiambo
Washington
Sent: Friday, December 09, 2005 12:35 AM
To: freebsd-questions@freebsd.org
Subject: Re: Detect hardware changes

Have you compiled a custom kernel? Do you have the nge driver included in
that kernel?

* On 08/12/05 15:14 -0600, Keith Bottner wrote:
 I believe so but for some reason it is still not showing up in 
 ifconfig or as a dev node. Do I need to do something special for 
 FreeBSD to start recognizing it at boot?
 
 -Original Message-
 From: Peter Giessel [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 08, 2005 3:02 PM
 To: Keith Bottner
 Cc: 'FreeBSD Questions'
 Subject: RE: Detect hardware changes
 
 On 12/8/2005 11:51, Keith Bottner seems to have typed:
  [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
  rev=0x10 hdr=0x00
  vendor   = 'Linksys'
  device   = 'EG1032 Gigabit Ethernet'
  class= network
  subclass = ethernet


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
One monk said to the other, The fish has flopped out of the net! How will
it live?  The other said, When you have gotten out of the net, I'll tell
you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Detect hardware changes

2005-12-09 Thread Keith Bottner
ipconfig -a doesn't show the skc0 device which I believe is my ultimate
problem. Can I infer from your earlier message that this means the sk module
is not being loaded or is not available? How can I check to see if the
loadable module is installed?

Thanks,

Keith

-Original Message-
From: Loren M. Lang [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 09, 2005 9:06 AM
To: Peter Giessel
Cc: Keith Bottner; 'FreeBSD Questions'
Subject: Re: Detect hardware changes

On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote:
 On 12/8/2005 11:51, Keith Bottner seems to have typed:
  [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
  rev=0x10 hdr=0x00
  vendor   = 'Linksys'
  device   = 'EG1032 Gigabit Ethernet'
  class= network
  subclass = ethernet
 
 Looks like this should be supported using the nge driver.

No, actually the sk driver, look at the first line of pciconfig output.
ifconfig -a should list a network card called skc0 which you just need to
configure.  If all you need is dhcp then just run dhclient skc0.  Add the
device to rc.conf for it to work on boot.  Use man rc.conf for help or copy
the line for the xl0 network card you already have.

 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 

--
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detect hardware changes

2005-12-09 Thread Robert Marella
: 
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Fri, 9 Dec 2005 15:54:27 -0600
Keith Bottner [EMAIL PROTECTED] wrote:

Please do not top post!

 
 -Original Message-
 From: Loren M. Lang [mailto:[EMAIL PROTECTED] 
 Sent: Friday, December 09, 2005 9:06 AM
 To: Peter Giessel
 Cc: Keith Bottner; 'FreeBSD Questions'
 Subject: Re: Detect hardware changes
 
 On Thu, Dec 08, 2005 at 12:02:25PM -0900, Peter Giessel wrote:
  On 12/8/2005 11:51, Keith Bottner seems to have typed:
   [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
   rev=0x10 hdr=0x00
   vendor   = 'Linksys'
   device   = 'EG1032 Gigabit Ethernet'
   class= network
   subclass = ethernet
  
  Looks like this should be supported using the nge driver.
 
 No, actually the sk driver, look at the first line of pciconfig
 output. ifconfig -a should list a network card called skc0 which you
 just need to configure.  If all you need is dhcp then just run
 dhclient skc0.  Add the device to rc.conf for it to work on boot.
 Use man rc.conf for help or copy the line for the xl0 network card
 you already have.
 
  ___
  freebsd-questions@freebsd.org mailing list 
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
  
 
 ipconfig -a doesn't show the skc0 device which I believe is my
 ultimate problem. Can I infer from your earlier message that this
 means the sk module is not being loaded or is not available? How can
 I check to see if the loadable module is installed?
 
 Thanks,
 
 Keith

Hello Keith

skc0 is the controller. You should see sk0 in ifconfig -a.

Can you please show us the output of ifconfig -a and rc.conf. 

Thank you
Robert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detect hardware changes

2005-12-08 Thread Svein Halvor Halvorsen
On 12/8/05, Keith Bottner [EMAIL PROTECTED] wrote:
 Does anyone know of a utility that can run on FreeBSD and detect the
 addition of new hardware? Specifically network cards? When I originally
 installed FreeBSD I only had a single NIC and since I installed a second but
 FreeBSD does not recognize it. Any ideas on how I can get FreeBSD to be
 aware of the new NIC?

I think someone replied to you (or someone with a similar problem)
just the other day. Use pciconf -lv to list all hardvare. If you see
none@ lines, this means that no drivers did attach to the hardware.
Then you either need to recompile you kernel og load the correct
kernel module or, if the hardware is not supported, either write a new
driver yourself or replace the hardware (or the os).

You can use the ifconfig utility to list all recognized NICs installed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Detect hardware changes

2005-12-08 Thread Keith Bottner
I realized I had the problem when ifconfig did not pickup the network card
after a reboot.

I went ahead and ran pciconf -lv like you suggested and the relevant
output looks like this:

[EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 rev=0x10
hdr=0x00
vendor   = 'Linksys'
device   = 'EG1032 Gigabit Ethernet'
class= network
subclass = ethernet
[EMAIL PROTECTED]:12:0:  class=0x02 card=0x00c71028 chip=0x920010b7 rev=0x78
hdr=0x00
vendor   = '3COM Corp, Networking Division'
device   = '3C905C-TX Fast EtherLink for PC Management NIC'
class= network
subclass = ethernet 

The new NIC that I added is the first one and the old NIC is the second. It
seems that the system is detecting it fine but ifconfig still does not
display it and there does not appear to be a dev node for it as well. I
added the appropriate line in rc.conf and rebooted the system hoping that
would cause something to update properly but there was no change.

Are there additional steps that have to be taken?

Thanks for your help so far,

Keith
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Svein
Halvor Halvorsen
Sent: Thursday, December 08, 2005 12:48 PM
To: Keith Bottner
Cc: FreeBSD Questions
Subject: Re: Detect hardware changes

On 12/8/05, Keith Bottner [EMAIL PROTECTED] wrote:
 Does anyone know of a utility that can run on FreeBSD and detect the 
 addition of new hardware? Specifically network cards? When I 
 originally installed FreeBSD I only had a single NIC and since I 
 installed a second but FreeBSD does not recognize it. Any ideas on how 
 I can get FreeBSD to be aware of the new NIC?

I think someone replied to you (or someone with a similar problem) just the
other day. Use pciconf -lv to list all hardvare. If you see none@ lines,
this means that no drivers did attach to the hardware.
Then you either need to recompile you kernel og load the correct kernel
module or, if the hardware is not supported, either write a new driver
yourself or replace the hardware (or the os).

You can use the ifconfig utility to list all recognized NICs installed.



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Detect hardware changes

2005-12-08 Thread Peter Giessel
On 12/8/2005 11:51, Keith Bottner seems to have typed:
 [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
 rev=0x10
 hdr=0x00
 vendor   = 'Linksys'
 device   = 'EG1032 Gigabit Ethernet'
 class= network
 subclass = ethernet

Looks like this should be supported using the nge driver.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Detect hardware changes

2005-12-08 Thread Keith Bottner
I believe so but for some reason it is still not showing up in ifconfig or
as a dev node. Do I need to do something special for FreeBSD to start
recognizing it at boot?

-Original Message-
From: Peter Giessel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 08, 2005 3:02 PM
To: Keith Bottner
Cc: 'FreeBSD Questions'
Subject: RE: Detect hardware changes

On 12/8/2005 11:51, Keith Bottner seems to have typed:
 [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
 rev=0x10 hdr=0x00
 vendor   = 'Linksys'
 device   = 'EG1032 Gigabit Ethernet'
 class= network
 subclass = ethernet

Looks like this should be supported using the nge driver.



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detect hardware changes

2005-12-08 Thread Odhiambo Washington
Have you compiled a custom kernel? Do you have the nge driver included
in that kernel?

* On 08/12/05 15:14 -0600, Keith Bottner wrote:
 I believe so but for some reason it is still not showing up in ifconfig or
 as a dev node. Do I need to do something special for FreeBSD to start
 recognizing it at boot?
 
 -Original Message-
 From: Peter Giessel [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, December 08, 2005 3:02 PM
 To: Keith Bottner
 Cc: 'FreeBSD Questions'
 Subject: RE: Detect hardware changes
 
 On 12/8/2005 11:51, Keith Bottner seems to have typed:
  [EMAIL PROTECTED]:9:0:  class=0x02 card=0x00241737 chip=0x10321737 
  rev=0x10 hdr=0x00
  vendor   = 'Linksys'
  device   = 'EG1032 Gigabit Ethernet'
  class= network
  subclass = ethernet


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
One monk said to the other, The fish has flopped out of the net! How
will it live?  The other said, When you have gotten out of the net,
I'll tell you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]