I know custom kernels aren't supported, but I ran into some odd issues
when I tried to make a new stripped-down 3.8-stable kernel for my new
hardware (a 3com 3C2000-T card).

I generate kernel configs with dmassage (-s option) to remove unused
drivers and a bit of hand-tweaking to remove features I don't use
(emulation).  My old custom config was for my xl and rl cards, and
worked just fine.  For the new config, I simply removed the rl
references and uncommented the necessary sk ones.

The compile went normally, but on boot there appeared to be something
wrong with the sk card.  It wouldn't transmit traffic.  CUSTOM's dmesg
showed that it found hardware identical to GENERIC except that it used
vga0 instead of vga1.  The GENERIC dmesg is appended below.

Everything was just fine on the xl0 interface, but sk0 was another
story.  Pings complained that remote hosts were down, and traceroutes
died with host unreachable.  The routing table had all the right
entries, and running ifconfig down/up didn't change anything.  ARP
tables showed that no MAC addresses were discovered for any host on
the sk0 side.

Oddly enough, named errors indicated that incoming DNS requests were
being recieved, but transmit was a problem.  I got a large number of
these in /var/log/messages:
Feb 25 22:25:38 dell named[21218]: client 10.0.0.2#1037: error sending response:
 host unreachable

Since GENERIC works fine, I am going to stick with that for the time
being.  However, this could be indicative of some kind of dependency
not being handled correctly?  I figured it might be worth bringing up.

Thanks.

--david


OpenBSD 3.8-stable (GENERIC) #3: Fri Feb  3 23:16:47 EST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 599 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 268005376 (261724K)
avail mem = 237662208 (232092K)
using 3297 buffers containing 13504512 bytes (13188K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(af) BIOS, date 10/13/00, BIOS32 rev. 0 @ 0xfd790
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd790/0x870
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf20/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x9800 0xc9800/0x800 0xca000/0x800
0xe0000/0x4000! 0xe4000/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia Riva TNT2" rev 0x11
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 52049H3>
wd0: 16-sector PIO, LBA, 19473MB, 39882528 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SC-148C, C002> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power" rev 0x02 at pci0 dev 7 function 3 not configured
skc0 at pci0 dev 16 function 0 "3Com 3c940" rev 0x10: irq 9
skc0: Marvell Yukon (0x1)
sk0 at skc0 port A: address 00:0a:5e:5c:50:41
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3
xl0 at pci0 dev 17 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq
10, address 00:01:03:c3:66:4e
bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask fb6d netmask ff6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Reply via email to