[ previous ] [ next ] [ threads ]
 
 From:  Rainer Zocholl <UseNet dash Posting dash Nospam dash 74308 dash at zocki dot toppoint dot de>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] NE2000 ISA Howto?
 Date:  09 Aug 2004 00:03:00 +0200
ayocee at gmail dot com(Kirk Lane)  08.08.04 13:08

Once upon a time "Kirk Lane " shaped the electrons to say...

>>> No, i m using the "generic" images: generic-pc-1.1b16.img.gz or
>>> generic-pc-1.0.img.gz ungzipped of course.
>>
>> quite obviously, from the boot message you posted, it didn't find
>> the virtual ed0 you configured in bochs. 

Where can i configure?


>> i really don't know why
>> this happens then, 
>> and would surmise that it's a bochs-related thing. 

I have tried several other distries: The card simulation works
for those, but bo "auto detection" because the card is not "PnP".

with mono i got:
00000000000i[SER  ] com1 at 0x03f8 irq 4
00000000000i[     ] init_dev of 'extfpuirq' plugin device by virtual method
00000000000i[     ] init_dev of 'gameport' plugin device by virtual method
00000000000i[     ] init_dev of 'ne2k' plugin device by virtual method
00000000000i[NE2K ] port 0x280/32 irq 10 mac b0:c4:20:00:00:06.
00000000000i[NE2K ] bx_win32_pktmover_c
...
00387002485i[PIC  ] IRQ lowest command 0xc2
00398206096i[NE2K ] asic read invalid address 0002
00398928781i[KBD  ] identify keyboard command received
00399121211i[KBD  ] setting typematic info
00399121543i[KBD  ] setting delay to 500 mS (unused)
00399121543i[KBD  ] setting repeat rate to 10.0 cps (unused)


with picoBSD the card is found:

>> FreeBSD BOOT @ 0x10000: 639/64512 k of memory, internal console
Boot default: 0:fd(0,a)kernel
Usage: bios_drive:interface(unit,partition)kernel_name options
    bios_drive   0, 1, ...
    interface    fd, wd or sd
    unit         0, 1, ...
    partition    a, c, ...
    kernel_name  name of kernel, or ? for list of files in root directory
    options      -a (ask name) -C (cdrom) -c (userconfig) -D (dual consoles)
                 -d (debug early) -g (gdb) -h (serial console) -P (probe kbd)
                 -r (default root) -s (single user) -v (verbose)
Examples:
    1:sd(0,a)mykernel  boot `mykernel' on the first SCSI drive when one IDE
                       drive is present
    1:wd(2,a)          boot from the second (secondary master) IDE drive
    1:sd(0,a)?         list the files in the root directory on the specified
                       drive/unit/partition, and set the default bios_drive,
                       interface, unit and partition
    -cv                boot with the defaults, then run UserConfi



---Active-Drivers----------------------------6 conflicts-------Dev---IRQ--Port--
  Storage :          (Collapsed)
  Network :
   NE1000,NE2000,3C503,WD/SMC80xx Ethernet adapters      CONF ed0      10 0x280
   NE1000,NE2000,3C503,WD/SMC80xx Ethernet adapters      CONF ed1      5  0x300
   3C509 Ethernet adapter                                CONF ep0      10 0x300
   3C509 Ethernet adapter                                CONF ep1      5  0x280
   AT&T Starlan 10 and EN100, 3C507, NI5210 Ethernet ada CONF ie0      10 0x280
   AT&T Starlan 10 and EN100, 3C507, NI5210 Ethernet ada CONF ie1      5  0x300
---Inactive-Drivers--------------------------------------------Dev--------------
  Storage :
  Network :
  Communications :   (Collapsed)
  Input :
  Multimedia :
  PCI :
  Miscellaneous :
--------------------------------------------------------------------------------
 Port address : 0x300     Memory address : 0xd0000
 IRQ number   : 5
 Flags        : 0x0
--------------------------------------------------------------------------------
  [Enter] Edit device parameters  [DEL] Disable device
  [TAB]   Change fields           [Q]   Save and Exit             [?] Help




boot:
Booting 0:fd(0,a)kernel @ 0x30c000
text=0x147000 -


avail memory = 60862464 (59436K bytes)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
ed1 at 0x300-0x31f irq 5 on isa
ed1: address b0:c4:20:00:00:00, type NE2000 (16 bit)
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 not found at 0x2f8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
wdc1 not found at 0x170
ie0: unknown board_id: f000
ie0 not found at 0x280
ie1 not probed due to I/O address conflict with ed1 at 0x300
ep0 not probed due to I/O address conflict with ed1 at 0x300
ep1 not found at 0x280
npx0 on motherboard
npx0: error reporting broken; using 387 emulator
Intel Pentium F00F detected, installing workaround
IP packet filtering initialized, divert enabled, rule-based forwarding disabled,
 default to accept, logging disabled
rootfs is 2200 Kbyte compiled in MFS

-------------------------------------------
  Please wait. The system is coming up...
-------------------------------------------

Reading /etc from startup floppy...


>> i have played with freebsd's ed(4) devices before, and
>> they've work well and fine.

>I'm going to go with this answer here.
>ed definitely does work - 
>I have an NE2K-PCI-type card in my m0n0wall box, 
                ~~~
I have only an ISA card, without PnP.


>working as the WAN interface.