Re: Unable to install FreeBSD from external USB cdrom

2007-10-09 Thread Daniel O'Connor
On Fri, 1 Jun 2007, Daniel O'Connor wrote:
 The other approach would be to just splat an install CD onto a flash
 disk, eg..

 fdisk -BI /dev/da0
 bsdlabel -w -B /dev/da0s1
 newfs -b 4096 -f 512 -i 8192 -O1 -U /dev/da0s1
 mount /dev/da0s1a /mnt
 cd /mnt
 tar zxf /dev/acd0
 umount /mnt

 ... actually that won't work because sysinstall doesn't know how to
 mount UFS partitions to read dist files :(

 I did look at adding that when I did the patch for FAT partitions but
 it's more complex (I wasn't sure of the canonical way to find them..
 Easiest would be to look in /dev I guess)

As part of this I wrote a patch that teaches sysinstall how to load 
install.cfg from a CDROM or DOS partition (eg USB stick).

I just submitted a PR but haven't got a number yet, here is the patch..
http://www.gsoft.com.au/~doconnor/sysinstall-cfg-menu.diff

Currently I still use DVD for the actual install..

I have booted a sysinstall (I extracted it from mfsroot.gz into /sbin 
and did 'set init_path=/sbin/sysinstall in the loader), however I 
haven't fully tested it as I ran out of time.

The problem is that unless you boot sysinstall as init it goes 
into maintenance mode and will not install stuff properly - by 
design.

If anyone is interested in hacking on this sort of stuff feel free to 
get it touch with me :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: Heads UP - MFC for em coming shortly

2007-10-09 Thread Mike Tancsa

At 12:37 AM 10/9/2007, Jack Vogel wrote:

 Thanks,
  I did find this reference
 http://www.higherorder.com.au/2007/6/25/intel_82573_patch

 Is there a way from FreeBSD to tell remotely if its needed ?

Well, there would be a way, reading the MANC register and
seeing if the suspect bit is present, but am not sure if there
is some important point at which the thing gets misprogrammed,
its just best to use the patcher, its harmless if its not needed.

Sorry, I realize its a hassle to boot to that wonder DOS :)



OK, did some tests on local PM nics here at the office. On one nic 
(same model as what is causing us problems in the field) we can run 
the program over and over again, and it always exits with a zero 
value. Is this normal ?   On another NIC that we recently bought, it 
exits with a 1 which supposedly says not needed.  How do we know 
that the update has taken ?  Is there any danger of it losing its 
reprogramming ?  In short, how do we verify it worked


The version I am using is

lava# ls -l dcgdis.exe
-rw-r--r--  1 root  wheel  160029 Oct  4  2005 dcgdis.exe
lava# md5 dcgdis.exe
MD5 (dcgdis.exe) = a48d9e127c19528bd4a650e692b2f2be
lava#

Is there a newer one ?

---Mike

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


Rahsia Hebat Teknik Menjana Kewangan!!!..

2007-10-09 Thread futureincome03
Assalamualaikum/Salam Sejahtera...

IMPIKAN KEBEBASAN KEWANGAN ANDA?.. http://www.halimhazlin.com/12946

TERRRAMAT MUDAH DAN SENANG ANDA TIDAK PERLU RAGU-RAGU UTK MENYERTAI PROGRAM INI 
KERANA PROGRAM INI TELAH DIBERI SENTUHAN YANG PENUH MEYAKINKAN... 
 
Anda impikan kebebasan kewangan, masa atau bekerja? Tiada pekerjaan? Masalah 
kewangan merunsingkan anda? Ramai yang telah berjaya!
 
Ketahui dengan lebih lanjut bagaimana kami memperoleh pendapatan melebihi 
RM15,000.00 sebulan hanya dengan mengamalkan teknik kewangan ini dan ketahuilah 
cara bagaimana anda juga mampu bebaskan diri !...
 
 
Sila layari laman web kami: http://www.halimhazlin.com/12946
 
PROGRAM INI BUKANLAH SATU PELABURAN ATAU SKIM CEPAT KAYA,tetapi
dengan usaha Anda!

Terbuka kepada semua golongan masa kini baik yang bekerja, penggangur, 
surirumah, 
graduan yang masih tercari2 pekerjaan. 

Pelbagai perniagaan telah dijalankan masih belum membuahkan hasil. Masalah 
kewangan merunsingkan anda? 
Ramai yang telah berjaya!

Bermula dari rumah sahaja!. Modal RM74.00, Income Besar. True!

Ketahui dengan lebih lanjut bagaimana kami memperolehi pendapatan 
melebihi 4 atau 5 angka sebulan hanya dengan mengamalkan rahsia hebat
teknik kewangan dan ketahuilah cara bagaimana anda juga mampu bebaskan 
diri yang selama ini dibelenggu masalah dan di bebani dengan hutang!
MUDAH, LOGIK DAN PRAKTIKAL, TIADA RISIKO, MODAL KECIL UNTUNG LUMAYAN, MULAKAN 
PERNIAGAAN ANDA DI SINI.

Marilah kita sama-sama menjaya, saling bantu-membantu dengan peluang
yang ada.  Tiada siapa yang dapat mengubah hidup kita melainkan diri
kita sendiri.

Sila layari laman web kami: http://www.halimhazlin.com/12946 untuk daftar 
sendiri melalui online.
Email: [EMAIL PROTECTED]
 SELAMAT MENYAMBUT RAMADAN AL-MUBARAK 

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


Re: Heads UP - MFC for em coming shortly

2007-10-09 Thread Jack Vogel
On 10/9/07, Mike Tancsa [EMAIL PROTECTED] wrote:
 At 12:37 AM 10/9/2007, Jack Vogel wrote:
   Thanks,
I did find this reference
   http://www.higherorder.com.au/2007/6/25/intel_82573_patch
  
   Is there a way from FreeBSD to tell remotely if its needed ?
 
 Well, there would be a way, reading the MANC register and
 seeing if the suspect bit is present, but am not sure if there
 is some important point at which the thing gets misprogrammed,
 its just best to use the patcher, its harmless if its not needed.
 
 Sorry, I realize its a hassle to boot to that wonder DOS :)


 OK, did some tests on local PM nics here at the office. On one nic
 (same model as what is causing us problems in the field) we can run
 the program over and over again, and it always exits with a zero
 value. Is this normal ?   On another NIC that we recently bought, it
 exits with a 1 which supposedly says not needed.  How do we know
 that the update has taken ?  Is there any danger of it losing its
 reprogramming ?  In short, how do we verify it worked

 The version I am using is

 lava# ls -l dcgdis.exe
 -rw-r--r--  1 root  wheel  160029 Oct  4  2005 dcgdis.exe
 lava# md5 dcgdis.exe
 MD5 (dcgdis.exe) = a48d9e127c19528bd4a650e692b2f2be
 lava#

 Is there a newer one ?

There has only ever been one of these things, and its a binary
wad to me just as to you, so I don't know why it returns success
multple times, I guess it just checks the NIC type and does the
write. People writing this are not Unix types, they are DOS tools
programmers, should tell you something :)

I was just talking to one of our Linux engineers and they actually
export the ability to read and write the eeprom via ethtool, maybe
I should look into adding something like a sysctl for that.

Right now, just run it once, then test to see if the problem has
disappeared.

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


ICH9 support for Motherboard: Foxconn G33M?

2007-10-09 Thread Abdullah Ibn Hamad Al-Marri
Hello,

This is just a fresh csup buildworld, buildkernel with GENERIC

Motherboard: Foxconn G33M

ata controllers not found so it runs generic @ udma33 slowest possible


here is the  dmesg

server1# cat /var/run/dmesg.boot
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Wed Oct 10 02:08:23 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU E6750  @ 2.66GHz (2666.06-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6fb  Stepping = 11
  
Features=0xbfebfbffFPU,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,PBE
  Features2=0xe3fdSSE3,RSVD2,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
real memory  = 2137718784 (2038 MB)
avail memory = 2086768640 (1990 MB)
ACPI APIC Table: 052507 APIC1114
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: 052507 RSDT1114 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: display, VGA at device 2.0 (no driver attached)
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib1
re0: RealTek 8169SC/8110SC Single-chip Gigabit Ethernet port
0xe800-0xe8ff mem 0xfebffc00-0xfebffcff irq 22 at device 2.0 on pci1
miibus0: MII bus on re0
rgephy0: RTL8169S/8110S media interface on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
re0: Ethernet address: 00:01:6c:18:b9:70
re0: [FAST]
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: GENERIC ATA controller port
0xd880-0xd887,0xd800-0xd803,0xd480-0xd487,0xd400-0xd403,0xd080-0xd08f,0xd000-0xd00f
irq 19 at device 31.2 on pci0
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)
atapci1: GENERIC ATA controller port
0xc880-0xc887,0xc800-0xc803,0xc480-0xc487,0xc400-0xc403,0xc080-0xc08f,0xc000-0xc00f
irq 19 at device 31.5 on pci0
ata4: ATA channel 0 on atapci1
ata5: ATA channel 1 on atapci1
acpi_button0: Power Button on acpi0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ppc0: parallel port not found.
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 1.000 msec
ad4: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata2-master UDMA33
ad6: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata3-master UDMA33
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad4s1a


server1# pciconf -lv
[EMAIL PROTECTED]:0:0:class=0x06 card=0x0ce3105b chip=0x29c08086
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
class  = bridge
subclass   = HOST-PCI
[EMAIL PROTECTED]:2:0: class=0x03 card=0x0ce3105b chip=0x29c28086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
class  = display
subclass   = VGA
[EMAIL PROTECTED]:30:0:class=0x060401 card=0x0ce3105b chip=0x244e8086
rev=0x92 hdr=0x01
vendor = 'Intel Corporation'
device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6),
6300ESB Hub Interface to PCI Bridge'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:31:0:class=0x060100 card=0x0ce3105b chip=0x29188086
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
class  = bridge
subclass   = PCI-ISA
[EMAIL PROTECTED]:31:2:  class=0x01018f card=0x0ce3105b chip=0x29218086
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
class  = mass storage
subclass   = ATA
[EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x0ce3105b chip=0x29308086
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
class  = serial bus
subclass   = SMBus
[EMAIL PROTECTED]:31:5:  class=0x010185 card=0x0ce3105b chip=0x29268086
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
class  = mass 

Re: ICH9 support for Motherboard: Foxconn G33M?

2007-10-09 Thread LI Xin
Abdullah Ibn Hamad Al-Marri wrote:
 Hello,
 
 This is just a fresh csup buildworld, buildkernel with GENERIC
 
 Motherboard: Foxconn G33M
 
 ata controllers not found so it runs generic @ udma33 slowest possible

I think the chipset is not yet supported by -HEAD now.  Would you please
try the attached patch to see if it works?

Cheers,
-- 
Xin LI [EMAIL PROTECTED]  http://www.delphij.net/
FreeBSD - The Power to Serve!
Index: ata-chipset.c
===
RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v
retrieving revision 1.201
diff -u -p -r1.201 ata-chipset.c
--- ata-chipset.c   4 Oct 2007 19:17:15 -   1.201
+++ ata-chipset.c   9 Oct 2007 18:40:28 -
@@ -1713,6 +1713,7 @@ ata_intel_ident(device_t dev)
  { ATA_I82801HBM_S2, 0, AHCI, 0x00, ATA_SA300, ICH8M },
  { ATA_I82801IB_S1,  0, AHCI, 0x00, ATA_SA300, ICH9 },
  { ATA_I82801IB_S2,  0, AHCI, 0x00, ATA_SA300, ICH9 },
+ { ATA_I82801IB_AH2, 0, AHCI, 0x00, ATA_SA300, ICH9 },
  { ATA_I82801IB_AH4, 0, AHCI, 0x00, ATA_SA300, ICH9 },
  { ATA_I82801IB_AH6, 0, AHCI, 0x00, ATA_SA300, ICH9 },
  { ATA_I31244,   0,0, 0x00, ATA_SA150, 31244 },
Index: ata-pci.h
===
RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.h,v
retrieving revision 1.80
diff -u -p -r1.80 ata-pci.h
--- ata-pci.h   4 Oct 2007 19:17:16 -   1.80
+++ ata-pci.h   9 Oct 2007 18:39:51 -
@@ -169,6 +169,7 @@ struct ata_connect_task {
 #define ATA_I82801HBM_S10x28298086
 #define ATA_I82801HBM_S20x282a8086
 #define ATA_I82801IB_S1 0x29208086
+#define ATA_I82801IB_AH20x29218086
 #define ATA_I82801IB_AH60x29228086
 #define ATA_I82801IB_AH40x29238086
 #define ATA_I82801IB_S2 0x29268086


signature.asc
Description: OpenPGP digital signature


Re: ICH9 support for Motherboard: Foxconn G33M?

2007-10-09 Thread Abdullah Ibn Hamad Al-Marri
On 10/9/07, LI Xin [EMAIL PROTECTED] wrote:
 Abdullah Ibn Hamad Al-Marri wrote:
  Hello,
 
  This is just a fresh csup buildworld, buildkernel with GENERIC
 
  Motherboard: Foxconn G33M
 
  ata controllers not found so it runs generic @ udma33 slowest possible

 I think the chipset is not yet supported by -HEAD now.  Would you please
 try the attached patch to see if it works?

 Cheers,
 --
 Xin LI [EMAIL PROTECTED]http://www.delphij.net/
 FreeBSD - The Power to Serve!

 Index: ata-chipset.c
 ===
 RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v
 retrieving revision 1.201
 diff -u -p -r1.201 ata-chipset.c
 --- ata-chipset.c   4 Oct 2007 19:17:15 -   1.201
 +++ ata-chipset.c   9 Oct 2007 18:40:28 -
 @@ -1713,6 +1713,7 @@ ata_intel_ident(device_t dev)
   { ATA_I82801HBM_S2, 0, AHCI, 0x00, ATA_SA300, ICH8M },
   { ATA_I82801IB_S1,  0, AHCI, 0x00, ATA_SA300, ICH9 },
   { ATA_I82801IB_S2,  0, AHCI, 0x00, ATA_SA300, ICH9 },
 + { ATA_I82801IB_AH2, 0, AHCI, 0x00, ATA_SA300, ICH9 },
   { ATA_I82801IB_AH4, 0, AHCI, 0x00, ATA_SA300, ICH9 },
   { ATA_I82801IB_AH6, 0, AHCI, 0x00, ATA_SA300, ICH9 },
   { ATA_I31244,   0,0, 0x00, ATA_SA150, 31244 },
 Index: ata-pci.h
 ===
 RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.h,v
 retrieving revision 1.80
 diff -u -p -r1.80 ata-pci.h
 --- ata-pci.h   4 Oct 2007 19:17:16 -   1.80
 +++ ata-pci.h   9 Oct 2007 18:39:51 -
 @@ -169,6 +169,7 @@ struct ata_connect_task {
  #define ATA_I82801HBM_S10x28298086
  #define ATA_I82801HBM_S20x282a8086
  #define ATA_I82801IB_S1 0x29208086
 +#define ATA_I82801IB_AH20x29218086
  #define ATA_I82801IB_AH60x29228086
  #define ATA_I82801IB_AH40x29238086
  #define ATA_I82801IB_S2 0x29268086

Thank you Li,

It works, and thank you for the RELENG_6 patch too.

I'm attaching it just in case someone needs it.


-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/


patch-i82801ib-6.diff
Description: Binary data
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: ICH9 support for Motherboard: Foxconn G33M?

2007-10-09 Thread LI Xin
Abdullah Ibn Hamad Al-Marri wrote:
 Thank you Li,
 
 It works, and thank you for the RELENG_6 patch too.

Thanks.  I have just committed the -CURRENT patch against -HEAD and it
should appear in RELENG_7 (7.0-BETA).

Cheers,
-- 
Xin LI [EMAIL PROTECTED]  http://www.delphij.net/
FreeBSD - The Power to Serve!



signature.asc
Description: OpenPGP digital signature


problems bridging on RELENG_6

2007-10-09 Thread David Yeske
I have a machine running FreeBSD stable that I am trying to bridge for
use with openvpn.  I am able to use the older bridge interface by
running the following.

sysctl net.link.ether.bridge.enable=1
sysctl net.link.ether.bridge.config=fxp0,tap0

When I try and use the new if_bridge interface my packets don't appear
to make it through the bridge.  Here is what I am running

ifconfig bridge0 create
ifconfig bridge0 addm fxp0 addm tap0 up

Here is the output of uname -a on my machine.

FreeBSD nfs 6.2-STABLE FreeBSD 6.2-STABLE #1: Sun Sep  9 02:01:33 EDT
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NFS  i386


I have used the if_bridge interface on a FreeBSD current machine to
bridge nfe0 and ath0 without problems.  Has anyone had problems with
the if_bridge interface on RELENG_6?  I also noticed the following
weird messages coming from dmesg on the local machine.

arp: unknown hardware address format (0x)

Any suggestions or help is greatly appreciated.

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


Re: problems bridging on RELENG_6

2007-10-09 Thread Daniel O'Connor
On Wed, 10 Oct 2007, David Yeske wrote:
 I have used the if_bridge interface on a FreeBSD current machine to
 bridge nfe0 and ath0 without problems.  Has anyone had problems with
 the if_bridge interface on RELENG_6?  I also noticed the following
 weird messages coming from dmesg on the local machine.

 arp: unknown hardware address format (0x)

I have used bridging between bge  tap on RELENG_6..

FreeBSD cain.gsoft.com.au 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Feb  2 17:35:07 
CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

bge0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
options=18VLAN_MTU,VLAN_HWTAGGING
ether 00:30:48:89:be:54
media: Ethernet autoselect (1000baseTX full-duplex)
status: active
bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 203.31.81.10 netmask 0xffc0 broadcast 203.31.81.63
inet 203.31.81.6 netmask 0x broadcast 203.31.81.6
inet 203.31.81.11 netmask 0x broadcast 203.31.81.11
ether 6a:5c:63:99:30:6c
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto stp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0
member: tap1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
member: tap0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
member: bge0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
tap0: flags=8942BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
ether 00:bd:2d:73:00:00
Opened by PID 994
tap1: flags=8942BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
ether 00:bd:63:73:00:01
Opened by PID 1007


-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Realtek eth isn't detected in Intel DG31PR mobo

2007-10-09 Thread Abdullah Ibn Hamad Al-Marri
Hello Guys,

Maybe this is in HEAD? I'm not sure.

intel says Gigabit (10/100/1000 Mbits/sec) LAN subsystem using the
Realtek* RTL8111-GR Gigabit Ethernet Controller

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Sat Sep  8 03:21:29 AST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/WEB
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU E6750  @ 2.66GHz (2666.62-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6fb  Stepping = 11
  
Features=0xbfebfbffFPU,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,PBE
  Features2=0xe3fdSSE3,RSVD2,MON,DS_CPL,VMX,b6,EST,TM2,b9,CX16,b14,b15
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
real memory  = 3210739712 (3062 MB)
avail memory = 3143385088 (2997 MB)
ACPI APIC Table: INTEL DG31PR
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
acpi0: INTEL on motherboard
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
Timecounter HPET frequency 14318180 Hz quality 2000
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci0: display, VGA at device 2.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 17 at device 28.1 on pci0
pci3: ACPI PCI bus on pcib3
rl0: Realtek RTL8168B PCI-E Gigabit Ethernet Adapter port
0xc000-0xc0ff mem 0xd002-0xd0020fff irq 17 at device 0.0 on pci3
rl0: [GIANT-LOCKED]
version:1.73
rl0: Ethernet address: 00:19:d1:a7:a4:72
rl0: Ethernet address: 00:19:d1:a7:a4:72
pcib4: ACPI PCI-PCI bridge at device 30.0 on pci0
pci4: ACPI PCI bus on pcib4
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH7 SATA300 controller port
0xd060-0xd067,0xd050-0xd053,0xd040-0xd047,0xd030-0xd033,0xd020-0xd02f
irq 17 at device 31.2 on pci0
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)
acpi_button0: Sleep Button on acpi0
acpi_button1: Power Button on acpi0
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
atkbd0: [GIANT-LOCKED]
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 1.000 msec
ipfw2 initialized, divert loadable, rule-based forwarding disabled,
default to accept, logging limited to 1 packets/entry by default
ad4: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata2-master SATA150
ad6: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata3-master SATA150
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad4s1a

[EMAIL PROTECTED]:0:0:   class=0x02 card=0xd6088086 chip=0x816810ec 
rev=0x01 hdr=0x00
vendor = 'Realtek Semiconductor'
class  = network
subclass   = ethernet

So I used Realtek driver to get it working.

=
=  Realtek 8139C/8139C+/8169S/8169SB/8169SC/8168B/8101E Driver for
FreeBSD v4.x/5.x/6.0 =
=

shouldn't be re0 instead of rl0?

Could someone please look into it, Pyun?
-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Realtek eth isn't detected in Intel DG31PR mobo

2007-10-09 Thread Pyun YongHyeon
On Wed, Oct 10, 2007 at 04:46:50AM +0300, Abdullah Ibn Hamad Al-Marri wrote:
  Hello Guys,
  
  Maybe this is in HEAD? I'm not sure.
  
  intel says Gigabit (10/100/1000 Mbits/sec) LAN subsystem using the
  Realtek* RTL8111-GR Gigabit Ethernet Controller
  
  Copyright (c) 1992-2007 The FreeBSD Project.
  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  The Regents of the University of California. All rights reserved.
  FreeBSD is a registered trademark of The FreeBSD Foundation.
  FreeBSD 6.2-STABLE #0: Sat Sep  8 03:21:29 AST 2007
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WEB
  Timecounter i8254 frequency 1193182 Hz quality 0
  CPU: Intel(R) Core(TM)2 Duo CPU E6750  @ 2.66GHz (2666.62-MHz 686-class 
  CPU)
Origin = GenuineIntel  Id = 0x6fb  Stepping = 11

  Features=0xbfebfbffFPU,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,PBE

  Features2=0xe3fdSSE3,RSVD2,MON,DS_CPL,VMX,b6,EST,TM2,b9,CX16,b14,b15
AMD Features=0x2010NX,LM
AMD Features2=0x1LAHF
Cores per package: 2
  real memory  = 3210739712 (3062 MB)
  avail memory = 3143385088 (2997 MB)
  ACPI APIC Table: INTEL DG31PR
  FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
   cpu0 (BSP): APIC ID:  0
   cpu1 (AP): APIC ID:  1
  ioapic0 Version 2.0 irqs 0-23 on motherboard
  acpi0: INTEL on motherboard
  acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
  Timecounter HPET frequency 14318180 Hz quality 2000
  acpi0: Power Button (fixed)
  Timecounter ACPI-fast frequency 3579545 Hz quality 1000
  acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
  cpu0: ACPI CPU on acpi0
  cpu1: ACPI CPU on acpi0
  pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
  pci0: ACPI PCI bus on pcib0
  pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
  pci1: ACPI PCI bus on pcib1
  pci0: display, VGA at device 2.0 (no driver attached)
  pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
  pci2: ACPI PCI bus on pcib2
  pcib3: ACPI PCI-PCI bridge irq 17 at device 28.1 on pci0
  pci3: ACPI PCI bus on pcib3
  rl0: Realtek RTL8168B PCI-E Gigabit Ethernet Adapter port
  0xc000-0xc0ff mem 0xd002-0xd0020fff irq 17 at device 0.0 on pci3
  rl0: [GIANT-LOCKED]
  version:1.73
  rl0: Ethernet address: 00:19:d1:a7:a4:72
  rl0: Ethernet address: 00:19:d1:a7:a4:72
  pcib4: ACPI PCI-PCI bridge at device 30.0 on pci0
  pci4: ACPI PCI bus on pcib4
  isab0: PCI-ISA bridge at device 31.0 on pci0
  isa0: ISA bus on isab0
  atapci0: Intel ICH7 SATA300 controller port
  0xd060-0xd067,0xd050-0xd053,0xd040-0xd047,0xd030-0xd033,0xd020-0xd02f
  irq 17 at device 31.2 on pci0
  ata2: ATA channel 0 on atapci0
  ata3: ATA channel 1 on atapci0
  pci0: serial bus, SMBus at device 31.3 (no driver attached)
  acpi_button0: Sleep Button on acpi0
  acpi_button1: Power Button on acpi0
  atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
  atkbd0: AT Keyboard irq 1 on atkbdc0
  atkbd0: [GIANT-LOCKED]
  ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
  ata1 at port 0x170-0x177,0x376 irq 15 on isa0
  sc0: System console at flags 0x100 on isa0
  sc0: VGA 16 virtual consoles, flags=0x300
  vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
  Timecounters tick every 1.000 msec
  ipfw2 initialized, divert loadable, rule-based forwarding disabled,
  default to accept, logging limited to 1 packets/entry by default
  ad4: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata2-master SATA150
  ad6: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata3-master SATA150
  SMP: AP CPU #1 Launched!
  Trying to mount root from ufs:/dev/ad4s1a
  
  [EMAIL PROTECTED]:0:0:   class=0x02 card=0xd6088086 chip=0x816810ec 
  rev=0x01 hdr=0x00
  vendor = 'Realtek Semiconductor'
  class  = network
  subclass   = ethernet
  
  So I used Realtek driver to get it working.
  
  =
  =  Realtek 8139C/8139C+/8169S/8169SB/8169SC/8168B/8101E Driver for
  FreeBSD v4.x/5.x/6.0 =
  =
  
  shouldn't be re0 instead of rl0?
  
  Could someone please look into it, Pyun?

Try attached patch.
I've touched rl(4) too because rl(4) should not attach to
unsupported hardwares.

-- 
Regards,
Pyun YongHyeon
Index: if_re.c
===
RCS file: /home/ncvs/src/sys/dev/re/if_re.c,v
retrieving revision 1.95
diff -u -r1.95 if_re.c
--- if_re.c 14 Aug 2007 02:00:04 -  1.95
+++ if_re.c 10 Oct 2007 02:54:15 -
@@ -180,6 +180,8 @@
RealTek 8168/8111B PCIe Gigabit Ethernet },
{ RT_VENDORID, RT_DEVICEID_8168, RL_HWREV_8168_SPIN2,
RealTek 8168/8111B PCIe Gigabit Ethernet },
+   { RT_VENDORID, RT_DEVICEID_8168, RL_HWREV_8168_SPIN3,
+