From owner-freebsd-questions Sat Jun 10 4:38:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from frmta00.chello.fr (smtp.chello.fr [212.186.224.11]) by hub.freebsd.org (Postfix) with ESMTP id 1BEC037BD45 for ; Sat, 10 Jun 2000 04:38:33 -0700 (PDT) (envelope-from am@chello.fr) Received: from chello.fr ([212.186.225.38]) by frmta00.chello.fr with ESMTP id <20000610113749.HEHI5849.frmta00@chello.fr> for ; Sat, 10 Jun 2000 13:37:49 +0200 Message-ID: <394245A8.102B17D5@chello.fr> Date: Sat, 10 Jun 2000 15:42:00 +0200 From: Azzeddine Mzouri X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Subject: [Fwd: Content-Type: multipart/mixed; boundary="------------9731853A0749FFC24BB7C5D6" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------9731853A0749FFC24BB7C5D6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------9731853A0749FFC24BB7C5D6 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: Received: from chello.fr ([212.186.225.38]) by frmta01.chello.fr with ESMTP id <20000610112628.EYXM7323.frmta01@chello.fr> for ; Sat, 10 Jun 2000 13:26:28 +0200 Sender: root Message-ID: <394242FD.7FDDAB2@chello.fr> Disposition-Notification-To: Azzeddine Mzouri Date: Sat, 10 Jun 2000 15:30:37 +0200 From: Azzeddine Mzouri X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 CC: am@chello.fr Subject: [Fwd: Mail System Error - Returned Mail] Content-Type: multipart/mixed; boundary="------------758C6706BB12A88FA7704EBD" X-Mozilla-Status2: 00800000 This is a multi-part message in MIME format. --------------758C6706BB12A88FA7704EBD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------758C6706BB12A88FA7704EBD Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: <> To: am@chello.fr From: Mail Administrator Reply-To: Mail Administrator Subject: Mail System Error - Returned Mail Date: Sat, 10 Jun 2000 13:19:44 +0200 Message-ID: <20000610111944.EYWL7323.frmta01@frmta01.chello.fr> MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; Boundary="===========================_ _= 4162597(7323)960635984" Content-Transfer-Encoding: 7BIT X-Mozilla-Status2: 00000000 --===========================_ _= 4162597(7323)960635984 Content-Type: text/plain This Message was undeliverable due to the following reason: Your message was not delivered because the destination computer was not found. Carefully check that it was spelled correctly and try sending it again if there were any mistakes. It is also possible that a network problem caused this situation, so if you are sure the address is correct you might want to try to send it again. If the problem continues, contact your friendly system administrator. Host freebsd.orgs not found The following recipients did not receive this message: Please reply to Postmaster@chello.fr if you feel this message to be in error. --===========================_ _= 4162597(7323)960635984 Content-Type: message/delivery-status Reporting-MTA: dns; frmta01.chello.fr Arrival-Date: Sat, 10 Jun 2000 13:19:44 +0200 Received-From-MTA: dns; chello.fr (212.186.225.38) Final-Recipient: RFC822; Action: failed Status: 5.1.2 Remote-MTA: dns; freebsd.orgs --===========================_ _= 4162597(7323)960635984 Content-Type: message/rfc822 Received: from chello.fr ([212.186.225.38]) by frmta01.chello.fr with ESMTP id <20000610111942.EYWK7323.frmta01@chello.fr> for ; Sat, 10 Jun 2000 13:19:42 +0200 Sender: root Message-ID: <39424167.FA7603B9@chello.fr> Disposition-Notification-To: Azzeddine Mzouri Date: Sat, 10 Jun 2000 15:23:51 +0200 From: Azzeddine Mzouri X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@FreeBSD.ORGs Subject: SOS : Built kernel to describe SCSI AHA1542 ... Content-Type: multipart/mixed; boundary="------------8A4CDA8BCA6ED694390941D5" This is a multi-part message in MIME format. --------------8A4CDA8BCA6ED694390941D5 Content-Type: multipart/alternative; boundary="------------CCDF271E79756612DFBBD2F3" --------------CCDF271E79756612DFBBD2F3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hollo, I try to built my kernel but the "make" fails. It signals errors ... Perhaps, an error in my kernel description (see my file description attached). The text of the error message is the following : /usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'cam_smq_alloc' /usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'cam_sim_alloc' /usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'cam_smq_free' /usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'xpt_bus-register' /usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'xpt_vreate_path' ... /usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'cam_sim_free' *** Error code 1 Stop in /usr/src/sys/compile/NewKernel I think that my SCSI device (see characteristics below) is incorrectly described. Please can you help me to diagnose this situation. Thanks. Azzeddine Mzouri. My machine configuration running under FreeBSD 4.0 is : - AMD-K6 3D 500Mhs - RAM 128MB - SCSI Host Adapter : AHA-1542CP at port 0x330-0x333 irq 10 drq 5 on isa0 - SCSI devices : SEAGATE/SCSI-2 (1010MB) da0 at aha1 bus 0 target 0 lun 0 ... --------------CCDF271E79756612DFBBD2F3 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hollo,

I try to built my kernel but the "make" fails. It signals errors ... Perhaps, an error in my kernel description (see my file description attached).

The text of the error message is the following :

/usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'cam_smq_alloc'
/usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'cam_sim_alloc'
/usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'cam_smq_free'
/usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'xpt_bus-register'
/usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'xpt_vreate_path'

    ...
/usr/src/sys/compile/NewKernel/../../dev/aha/aha.c(.text+0xnnnn): undefined reference to 'cam_sim_free'

*** Error code 1
Stop in /usr/src/sys/compile/NewKernel

I think that my SCSI device (see characteristics below) is incorrectly described.

Please can you help me to diagnose this situation.

Thanks.

Azzeddine Mzouri.
 

My machine configuration running under FreeBSD 4.0 is :

- AMD-K6 3D 500Mhs
- RAM 128MB
- SCSI Host Adapter :    AHA-1542CP at port 0x330-0x333 irq 10 drq 5 on isa0
- SCSI devices : SEAGATE/SCSI-2 (1010MB) da0 at aha1 bus 0 target 0 lun 0
...
  --------------CCDF271E79756612DFBBD2F3-- --------------8A4CDA8BCA6ED694390941D5 Content-Type: text/plain; charset=us-ascii; name="NewKernel" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="NewKernel" # # NewKernel - kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.freebsd.org/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246 2000/03/09 16:32:55 jlemon Exp $ machine "i386" cpu "I586_CPU" ident NEWKERNEL maxusers 32 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options CPU_WT_ALLOC #enable write alloc for AMD K2-6 cpu options NO_MEMORY_HOLE #optimisation for AMD K2-6 cpu #indicates that the 15-16MB range is #definitely not being used by an ISA #memory hole. #options MATH_EMULATE #Support for x87 emulation #COMPATIBILITY OPTIONS options COMPAT_43 #implement system calls compatible #with 4.3BSD and older versions of #FreeBSD. #These three options provide support for System V Interface Definition-style IPC options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores #KTRACE enables the system-call tracing facility ktrace (2). options KTRACE #kernel tracing #Allow ordinary users to take the console - this is useful for X. options UCONSOLE #Allow users to grab the console # XXX - this doesn't belong here either options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor ############################################################################### #NETWORKING OPTIONS #Protocol families: #Only the INET family is officially supported in FreeBSD. # options INET #InterNETworking options INET6 #IPv6 communications protocols #Network interfaces: #The "loop" pseudo-device is MANDATORY when networking is enabled. #The "ether" pseudo-device provide generic code to handle Ethernets; #it is MANDATORY when Ethernet device driver is configured or token-ring #is enabled. #The `bpf' pseudo-device enables the Berkeley Packet Filter. Be aware of #the administrative consequences of enabling this! #The `disc' pseu-do device implements a minimal network interfacei, which #throws away all packets sent and never receives any. It is included for #testing purposes. This shows up as 'ds' interface. #The `tun' pseudo-device implements (user-)ppp and nos-tun #The `pty' device usually turns out be "effectively mandatory", as it is #required for "telnetd", "rlogind", "screen", "emacs", and "xterm", amoung #others. Default value is 16, and Maximum value is 64. # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device bpf # Berkeley packet filter pseudo-device disc # Discard device (ds0, ds1, etc) pseudo-device tun # Tunnel dirver {ppp{8}, nos-tun{8)}. pseudo-device pty # Pseudo-ttys (telnet etc) ######################################################################### # MISCELLANEOUS DEVICES AND OPTIONS pseudo-device gzip # Exec gzipped a.out's pseudo-device md # Memory/malloc disk pseudo-device vn # Vnode driver (turns a file into a device) #pseudo-device log # kernel syslog interface (/dev/klog). MANDATORY #The `ef' pseudo-device provides support for multiple ethernet frame types #specified via ETHER_* options. See ef(4) for details. #pseudo-device ef #Multiple ethernet frames support #options ETHER_II #enable Ethernet_II frame #options ETHER_8023 #enable Ethernet_802.3 (Novell) frame #options ETHER_8022 #enable Ethernet_802.2 frame #options ETHER_SNAP #enable Ethernet_802.2/SNAP frame #FOR IPv6 #The `gif' pseudo-device implements IPv6 over IPv4 tunneling, IPv4 over IPv6 #tunneling, IPv4 over IPv4 tunneling and IPv6 over IPv6 tunneling. #The `faith' pseudo-device captures packets sent to it and diverts them #to the IPv4/IPv6 translation daemon. pseudo-device gif 4 pseudo-device faith 1 # TCP_RESTRICT_RST adds support for blocking the emission of TCP RST packets. # This is useful on systems which are expressed to SYN floods (e.g. IRC # servers) or any system which one does not wantto be easily portscannable. #options TCP_RESTRICT_RST #restrict emission of TCP RST # ICMP_BANDLIM enables icmp error response bandwidth limiting. You typically # want this option as it will help protect the machine from D.O.S. packet # attacks. options ICMP_BANDLIM #Rate limit bad replies # PCI Ethernet NICs. device ed # Novell NE1000 and NE2000; ##################################################################### # FILESYSTEM OPTIONS # Only the root, /usr, and /tmp filesystems need be statically compiled; # everything else will be automatically loaded at mount time. (Exception:i # the UFS family ---FFS, and MFZ --- cannot currently be demand-loaded). Some #people still prefer tp statically compile other filesystems as well. # One of theses is mandatory: options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem # The rest are optional: options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem # The xFS_ROOT options REQUIRE the associated "options xFS" options CD9660_ROOT #CD-ROM usable as root, CD9660 required options FFS_ROOT #FFS usable as root device [keep this!] options NFS_ROOT #NFS usable as root device, NFS required options SUIDDIR #This machine is a Fileserver for #PC users using SAMBA options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] ################################################################## # POSIX P1003.1B # Real time extensions added in the 1993 Posix # P1003_1B: Infrastructure # P1003_1B: Infrastructure (real-time extentions). options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI ############################################################### #HARDWARE DEVICE CONFIGURATION # Mandatory ISA devices : isa, npx device isa #option for "isa": #options MAXMEM="(128*1024)" options AUTO_EOI_1 #options BROKEN_KEYBOARD_RESET # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # PCI devices and PCI options device pci # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # SCSI Controllers controller aha0 #device aha0 at isa? # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) # The keyboard controller : it controls both the keyboard and the PS/2 mouse. device atkbdc0 at isa? port IO_KBD # The AT keyboard device atkbd0 at atkbdc? irq 1 # The video card driver. device vga0 at isa? # Splash screen at start up! Screen savers require this too. pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? options MAXCONS=8 # number of virtual consoles options SC_HISTORY_SIZE=200 # number of history buffer lines options SC_DISABLE_REBOOT # disable reboot key sequence # Add the following option to use the right button of the mouse to past text. options SC_TWOBUTTON_MOUSE # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) #device apm0 at nexus? disable flags 0x20 # Advanced Power Management # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer --------------8A4CDA8BCA6ED694390941D5-- --===========================_ _= 4162597(7323)960635984-- --------------758C6706BB12A88FA7704EBD-- --------------9731853A0749FFC24BB7C5D6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message