Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Apr 2000 21:12:00 -0700
From:      Randy Bush <randy@psg.com>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   3.4-stable to 4.0-stable wedge
Message-ID:  <E12cKh6-000Lxk-00@rip.psg.com>

next in thread | raw e-mail | index | archive | help
i have done a number of 3.4 to 4.0 upgrades, but this one has started to go
sour.  apologies for bothering folk, but this machine is remote and so i am
worried about screwing it up.

i did the cvsup to 4.0-stable this afternoon (PDT).

i did a buildworld and

    cd /usr/src
    <see notes below>				[**]
    make buildworld
    cd sbin/mknod
    make install
    cd sys/modules
    make install
    <follow directions to build/install a kernel>

then first oopsie

    sh /usr/src/sys/conf/newvers.sh FOO 
    cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  vers.c
    linking kernel
    scsi_sa.o: In function `saopen':
    scsi_sa.o(.text+0x51): undefined reference to `cam_extend_get'
    scsi_sa.o(.text+0x7d): undefined reference to `cam_periph_lock'
    scsi_sa.o(.text+0xa0): undefined reference to `cam_periph_acquire'
    scsi_sa.o(.text+0xae): undefined reference to `cam_periph_unlock'
    scsi_sa.o(.text+0xdb): undefined reference to `cam_periph_unlock'
    scsi_sa.o(.text+0x11c): undefined reference to `cam_periph_release'
    scsi_sa.o(.text+0x13c): undefined reference to `cam_periph_unlock'
    scsi_sa.o: In function `saclose':
    scsi_sa.o(.text+0x194): undefined reference to `cam_extend_get'
    scsi_sa.o(.text+0x1b3): undefined reference to `cam_periph_lock'
    scsi_sa.o(.text+0x1de): undefined reference to `cam_periph_release'
    scsi_sa.o(.text+0x1e4): undefined reference to `cam_periph_unlock'
    scsi_sa.o(.text+0x20d): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x2b5): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x2c7): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x2e4): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x318): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x33c): undefined reference to `cam_periph_unlock'
    scsi_sa.o(.text+0x342): undefined reference to `cam_periph_release'
    scsi_sa.o: In function `sastrategy':
    scsi_sa.o(.text+0x3ab): undefined reference to `cam_extend_get'
    scsi_sa.o(.text+0x459): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x48f): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x527): undefined reference to `xpt_schedule'
    scsi_sa.o: In function `saioctl':
    scsi_sa.o(.text+0x59c): undefined reference to `cam_extend_get'
    scsi_sa.o(.text+0x630): undefined reference to `cam_periph_lock'
    scsi_sa.o(.text+0x9e8): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0xd3b): undefined reference to `cam_periph_ioctl'
    scsi_sa.o(.text+0xd4f): undefined reference to `cam_periph_unlock'
    scsi_sa.o: In function `sainit':
    scsi_sa.o(.text+0xd68): undefined reference to `cam_extend_new'
    scsi_sa.o(.text+0xd91): undefined reference to `xpt_create_path'
    scsi_sa.o(.text+0xda9): undefined reference to `xpt_setup_ccb'
    scsi_sa.o(.text+0xdcb): undefined reference to `xpt_action'
    scsi_sa.o(.text+0xdd6): undefined reference to `xpt_free_path'
    scsi_sa.o: In function `saoninvalidate':
    scsi_sa.o(.text+0xe0d): undefined reference to `xpt_setup_ccb'
    scsi_sa.o(.text+0xe2b): undefined reference to `xpt_action'
    scsi_sa.o(.text+0xee8): undefined reference to `xpt_print_path'
    scsi_sa.o: In function `sacleanup':
    scsi_sa.o(.text+0xf88): undefined reference to `cam_extend_release'
    scsi_sa.o(.text+0xf93): undefined reference to `xpt_print_path'
    scsi_sa.o: In function `saasync':
    scsi_sa.o(.text+0xffb): undefined reference to `cam_periph_alloc'
    scsi_sa.o(.text+0x101b): undefined reference to `cam_periph_async'
    scsi_sa.o: In function `saregister':
    scsi_sa.o(.text+0x10ea): undefined reference to `cam_extend_set'
    scsi_sa.o(.text+0x10ef): undefined reference to `scsi_inquiry_match'
    scsi_sa.o(.text+0x1101): undefined reference to `cam_quirkmatch'
    scsi_sa.o(.text+0x1370): undefined reference to `xpt_setup_ccb'
    scsi_sa.o(.text+0x138e): undefined reference to `xpt_action'
    scsi_sa.o(.text+0x1396): undefined reference to `xpt_announce_periph'
    scsi_sa.o: In function `sastart':
    scsi_sa.o(.text+0x1422): undefined reference to `xpt_release_ccb'
    scsi_sa.o(.text+0x1503): undefined reference to `xpt_release_ccb'
    scsi_sa.o(.text+0x15c6): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x165e): undefined reference to `xpt_action'
    scsi_sa.o(.text+0x1670): undefined reference to `xpt_schedule'
    scsi_sa.o: In function `sadone':
    scsi_sa.o(.text+0x1854): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x1885): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `samount':
    scsi_sa.o(.text+0x18b1): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x18cc): undefined reference to `scsi_test_unit_ready'
    scsi_sa.o(.text+0x18e5): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x1903): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x1928): undefined reference to `scsi_test_unit_ready'
    scsi_sa.o(.text+0x193e): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x198f): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x19a8): undefined reference to `scsi_test_unit_ready'
    scsi_sa.o(.text+0x19c1): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x19df): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x1a42): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x1a60): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x1a98): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x1ab6): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x1ac6): undefined reference to `xpt_release_ccb'
    scsi_sa.o(.text+0x1af6): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x1b09): undefined reference to `xpt_release_ccb'
    scsi_sa.o(.text+0x1b68): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x1b84): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x1bb8): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x1bd6): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x1be8): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x1bfb): undefined reference to `xpt_release_ccb'
    scsi_sa.o(.text+0x1c37): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x1c55): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x1c61): undefined reference to `xpt_release_ccb'
    scsi_sa.o(.text+0x1e63): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x1f09): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x1fa3): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x2115): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `saerror':
    scsi_sa.o(.text+0x2184): undefined reference to `xpt_path_periph'
    scsi_sa.o(.text+0x2304): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x23de): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x245e): undefined reference to `cam_periph_error'
    scsi_sa.o: In function `sagetparams':
    scsi_sa.o(.text+0x2495): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x251f): undefined reference to `scsi_mode_sense'
    scsi_sa.o(.text+0x253b): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x255a): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x25aa): undefined reference to `scsi_sense_print'
    scsi_sa.o(.text+0x2614): undefined reference to `scsi_mode_sense'
    scsi_sa.o(.text+0x2630): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x264f): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x277d): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `sasetparams':
    scsi_sa.o(.text+0x2853): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x2aa3): undefined reference to `xpt_print_path'
    scsi_sa.o(.text+0x2acd): undefined reference to `xpt_release_ccb'
    scsi_sa.o(.text+0x2b09): undefined reference to `scsi_mode_select'
    scsi_sa.o(.text+0x2b27): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x2b45): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x2bf5): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x2c11): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x2c1d): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `saprevent':
    scsi_sa.o(.text+0x2cbc): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x2cd9): undefined reference to `scsi_prevent'
    scsi_sa.o(.text+0x2cef): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x2d0a): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x2d2a): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `sarewind':
    scsi_sa.o(.text+0x2d48): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x2d7f): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x2da1): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x2daa): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `saspace':
    scsi_sa.o(.text+0x2dfe): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x2e4a): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x2e6d): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x2e76): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `sawritefilemarks':
    scsi_sa.o(.text+0x2efb): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x2f3e): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x2f59): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x2f7b): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `sardpos':
    scsi_sa.o(.text+0x2fd7): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x3038): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x305a): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x309a): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `sasetpos':
    scsi_sa.o(.text+0x30bb): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x30f6): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x3118): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x3121): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `saretension':
    scsi_sa.o(.text+0x3154): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x3191): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x31b3): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x31bc): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `sareservereleaseunit':
    scsi_sa.o(.text+0x320f): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x3249): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x326b): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x3274): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `saloadunload':
    scsi_sa.o(.text+0x329c): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x32ea): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x330c): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x3315): undefined reference to `xpt_release_ccb'
    scsi_sa.o: In function `saerase':
    scsi_sa.o(.text+0x3373): undefined reference to `cam_periph_getccb'
    scsi_sa.o(.text+0x33ab): undefined reference to `cam_periph_runccb'
    scsi_sa.o(.text+0x33cd): undefined reference to `cam_release_devq'
    scsi_sa.o(.text+0x33d6): undefined reference to `xpt_release_ccb'
    scsi_pass.o: In function `passinit':
    scsi_pass.o(.text+0x8): undefined reference to `cam_extend_new'
    scsi_pass.o(.text+0x31): undefined reference to `xpt_create_path'
    scsi_pass.o(.text+0x49): undefined reference to `xpt_setup_ccb'
    scsi_pass.o(.text+0x6b): undefined reference to `xpt_action'
    scsi_pass.o(.text+0x76): undefined reference to `xpt_free_path'
    scsi_pass.o: In function `passoninvalidate':
    scsi_pass.o(.text+0xad): undefined reference to `xpt_setup_ccb'
    scsi_pass.o(.text+0xcb): undefined reference to `xpt_action'
    scsi_pass.o(.text+0x18d): undefined reference to `xpt_print_path'
    scsi_pass.o: In function `passcleanup':
    scsi_pass.o(.text+0x1d0): undefined reference to `cam_extend_release'
    scsi_pass.o(.text+0x1e4): undefined reference to `xpt_print_path'
    scsi_pass.o: In function `passasync':
    scsi_pass.o(.text+0x246): undefined reference to `cam_periph_alloc'
    scsi_pass.o(.text+0x267): undefined reference to `cam_periph_async'
    scsi_pass.o: In function `passregister':
    scsi_pass.o(.text+0x316): undefined reference to `cam_extend_set'
    scsi_pass.o(.text+0x378): undefined reference to `xpt_setup_ccb'
    scsi_pass.o(.text+0x396): undefined reference to `xpt_action'
    scsi_pass.o(.text+0x3aa): undefined reference to `xpt_announce_periph'
    scsi_pass.o: In function `passopen':
    scsi_pass.o(.text+0x3e1): undefined reference to `cam_extend_get'
    scsi_pass.o(.text+0x440): undefined reference to `xpt_print_path'
    scsi_pass.o(.text+0x463): undefined reference to `cam_periph_lock'
    scsi_pass.o(.text+0x48c): undefined reference to `cam_periph_acquire'
    scsi_pass.o(.text+0x4a5): undefined reference to `cam_periph_unlock'
    scsi_pass.o: In function `passclose':
    scsi_pass.o(.text+0x4ce): undefined reference to `cam_extend_get'
    scsi_pass.o(.text+0x4eb): undefined reference to `cam_periph_lock'
    scsi_pass.o(.text+0x4fc): undefined reference to `cam_periph_unlock'
    scsi_pass.o(.text+0x502): undefined reference to `cam_periph_release'
    scsi_pass.o: In function `passstart':
    scsi_pass.o(.text+0x5a2): undefined reference to `xpt_release_ccb'
    scsi_pass.o(.text+0x64b): undefined reference to `xpt_action'
    scsi_pass.o(.text+0x65a): undefined reference to `xpt_schedule'
    scsi_pass.o: In function `passdone':
    scsi_pass.o(.text+0x6e2): undefined reference to `xpt_release_ccb'
    scsi_pass.o: In function `passioctl':
    scsi_pass.o(.text+0x714): undefined reference to `cam_extend_get'
    scsi_pass.o(.text+0x744): undefined reference to `xpt_print_path'
    scsi_pass.o(.text+0x773): undefined reference to `cam_periph_getccb'
    scsi_pass.o(.text+0x789): undefined reference to `xpt_alloc_ccb'
    scsi_pass.o(.text+0x79a): undefined reference to `xpt_setup_ccb'
    scsi_pass.o(.text+0x7b0): undefined reference to `xpt_print_path'
    scsi_pass.o(.text+0x7dd): undefined reference to `xpt_free_ccb'
    scsi_pass.o(.text+0x7e6): undefined reference to `xpt_release_ccb'
    scsi_pass.o(.text+0x7f5): undefined reference to `cam_periph_ioctl'
    scsi_pass.o: In function `passsendccb':
    scsi_pass.o(.text+0x82a): undefined reference to `xpt_merge_ccb'
    scsi_pass.o(.text+0x86f): undefined reference to `cam_periph_mapmem'
    scsi_pass.o(.text+0x8a0): undefined reference to `cam_periph_runccb'
    scsi_pass.o(.text+0x8b5): undefined reference to `cam_periph_unmapmem'
    scsi_pass.o: In function `passerror':
    scsi_pass.o(.text+0x8fb): undefined reference to `xpt_path_periph'
    scsi_pass.o(.text+0x90a): undefined reference to `cam_periph_error'
    aic7xxx.o: In function `ahc_create_path':
    aic7xxx.o(.text+0xee3): undefined reference to `xpt_create_path'
    aic7xxx.o: In function `ahc_set_syncrate':
    aic7xxx.o(.text+0x10d8): undefined reference to `xpt_setup_ccb'
    aic7xxx.o(.text+0x10e7): undefined reference to `xpt_async'
    aic7xxx.o(.text+0x10f8): undefined reference to `xpt_free_path'
    aic7xxx.o: In function `ahc_set_width':
    aic7xxx.o(.text+0x127d): undefined reference to `xpt_setup_ccb'
    aic7xxx.o(.text+0x128c): undefined reference to `xpt_async'
    aic7xxx.o(.text+0x129d): undefined reference to `xpt_free_path'
    aic7xxx.o: In function `ahc_attach':
    aic7xxx.o(.text+0x13fb): undefined reference to `cam_simq_alloc'
    aic7xxx.o(.text+0x142b): undefined reference to `cam_sim_alloc'
    aic7xxx.o(.text+0x143b): undefined reference to `cam_simq_free'
    aic7xxx.o(.text+0x144e): undefined reference to `xpt_bus_register'
    aic7xxx.o(.text+0x1460): undefined reference to `cam_sim_free'
    aic7xxx.o(.text+0x1485): undefined reference to `xpt_create_path'
    aic7xxx.o(.text+0x1498): undefined reference to `xpt_bus_deregister'
    aic7xxx.o(.text+0x14a3): undefined reference to `cam_sim_free'
    aic7xxx.o(.text+0x14c2): undefined reference to `xpt_setup_ccb'
    aic7xxx.o(.text+0x14e3): undefined reference to `xpt_action'
    aic7xxx.o(.text+0x1519): undefined reference to `cam_sim_alloc'
    aic7xxx.o(.text+0x1545): undefined reference to `xpt_bus_register'
    aic7xxx.o(.text+0x1561): undefined reference to `cam_sim_free'
    aic7xxx.o(.text+0x157d): undefined reference to `xpt_create_path'
    aic7xxx.o(.text+0x1590): undefined reference to `xpt_bus_deregister'
    aic7xxx.o(.text+0x159b): undefined reference to `cam_sim_free'
    aic7xxx.o(.text+0x15b6): undefined reference to `xpt_setup_ccb'
    aic7xxx.o(.text+0x15d7): undefined reference to `xpt_action'
    aic7xxx.o: In function `ahc_handle_en_lun':
    aic7xxx.o(.text+0x1aed): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x1b4d): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x1b78): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x1b94): undefined reference to `xpt_path_lun_id'
    aic7xxx.o(.text+0x1b9d): undefined reference to `xpt_path_target_id'
    aic7xxx.o(.text+0x1ba9): undefined reference to `xpt_path_path_id'
    aic7xxx.o(.text+0x1bb7): undefined reference to `xpt_create_path'
    aic7xxx.o(.text+0x1bd4): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x1e5e): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x1eb0): undefined reference to `xpt_path_comp'
    aic7xxx.o(.text+0x1f18): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x1f2c): undefined reference to `xpt_free_path'
    aic7xxx.o: In function `ahc_handle_target_cmd':
    aic7xxx.o(.text+0x2300): undefined reference to `xpt_done'
    aic7xxx.o: In function `ahc_handle_seqint':
    aic7xxx.o(.text+0x27a0): undefined reference to `xpt_freeze_devq'
    aic7xxx.o(.text+0x2c65): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x2c88): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x2d25): undefined reference to `xpt_freeze_devq'
    aic7xxx.o: In function `ahc_handle_scsiint':
    aic7xxx.o(.text+0x2fc8): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x31f2): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x32fd): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x353b): undefined reference to `xpt_print_path'
    aic7xxx.o: In function `ahc_setup_initiator_msgout':
    aic7xxx.o(.text+0x3757): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x37ad): more undefined references to `xpt_print_path' follow
    aic7xxx.o: In function `ahc_handle_msg_reject':
    aic7xxx.o(.text+0x3a93): undefined reference to `xpt_setup_ccb'
    aic7xxx.o(.text+0x3aaa): undefined reference to `xpt_async'
    aic7xxx.o: In function `ahc_handle_devreset':
    aic7xxx.o(.text+0x49ac): undefined reference to `xpt_async'
    aic7xxx.o(.text+0x49bd): undefined reference to `xpt_free_path'
    aic7xxx.o: In function `ahc_done':
    aic7xxx.o(.text+0x4ac1): undefined reference to `xpt_done'
    aic7xxx.o(.text+0x4b70): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x4bdc): undefined reference to `xpt_done'
    aic7xxx.o: In function `ahc_action':
    aic7xxx.o(.text+0x59fe): undefined reference to `xpt_freeze_simq'
    aic7xxx.o(.text+0x5f25): undefined reference to `xpt_done'
    aic7xxx.o(.text+0x6008): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x6026): undefined reference to `xpt_done'
    aic7xxx.o(.text+0x603c): undefined reference to `xpt_done'
    aic7xxx.o(.text+0x613e): undefined reference to `xpt_done'
    aic7xxx.o(.text+0x6150): undefined reference to `xpt_done'
    aic7xxx.o: In function `ahc_async':
    aic7xxx.o(.text+0x618b): undefined reference to `xpt_path_lun_id'
    aic7xxx.o(.text+0x6195): undefined reference to `xpt_path_target_id'
    aic7xxx.o: In function `ahc_execute_scb':
    aic7xxx.o(.text+0x6333): undefined reference to `xpt_done'
    aic7xxx.o(.text+0x63ac): undefined reference to `xpt_done'
    aic7xxx.o: In function `ahc_setup_data':
    aic7xxx.o(.text+0x666a): undefined reference to `xpt_done'
    aic7xxx.o(.text+0x6704): undefined reference to `xpt_freeze_simq'
    aic7xxx.o: In function `ahc_freeze_devq':
    aic7xxx.o(.text+0x67af): undefined reference to `xpt_path_target_id'
    aic7xxx.o(.text+0x67b7): undefined reference to `xpt_path_lun_id'
    aic7xxx.o(.text+0x67c2): undefined reference to `xpt_path_sim'
    aic7xxx.o: In function `ahc_set_recoveryscb':
    aic7xxx.o(.text+0x6c54): undefined reference to `xpt_freeze_simq'
    aic7xxx.o: In function `ahc_timeout':
    aic7xxx.o(.text+0x6da4): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x6ee3): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x6f8c): undefined reference to `xpt_freeze_devq'
    aic7xxx.o(.text+0x6fde): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x71b4): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x727a): undefined reference to `xpt_print_path'
    aic7xxx.o: In function `ahc_search_qinfifo':
    aic7xxx.o(.text+0x7352): undefined reference to `xpt_freeze_devq'
    aic7xxx.o: In function `ahc_abort_ccb':
    aic7xxx.o(.text+0x74b6): undefined reference to `xpt_done'
    aic7xxx.o(.text+0x74f5): undefined reference to `xpt_done'
    aic7xxx.o: In function `ahc_abort_scbs':
    aic7xxx.o(.text+0x775b): undefined reference to `xpt_freeze_devq'
    aic7xxx.o: In function `ahc_reset_channel':
    aic7xxx.o(.text+0x7fed): undefined reference to `xpt_async'
    aic7xxx.o: In function `ahc_queue_lstate_event':
    aic7xxx.o(.text+0x8789): undefined reference to `xpt_freeze_devq'
    aic7xxx.o(.text+0x87d2): undefined reference to `xpt_release_devq'
    aic7xxx.o(.text+0x87e1): undefined reference to `xpt_print_path'
    aic7xxx.o(.text+0x8820): undefined reference to `xpt_release_devq'
    aic7xxx.o: In function `ahc_send_lstate_events':
    aic7xxx.o(.text+0x88b2): undefined reference to `xpt_done'
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.

so i checked the config

    foo:/sys/i386/conf# config FOO
    config: line 26: Unknown machine type
    config: line 26: syntax error
    config: line 27: syntax error
    config: line 28: syntax error
    config: line 29: syntax error
    config: line 30: syntax error
    config: line 46: syntax error
    config: line 49: syntax error
    config: line 59: syntax error
    config: can't open ../conf/devices.(null)

looked like the old 3.4 vs 4.0 config mismatch, so i tried

    foo:/usr/src# cd /usr/src/usr.sbin/config/
    foo:/usr/src/usr.sbin/config# make install
    install -c -s -o root -g wheel -m 555   config /usr/sbin
    install -c -o root -g wheel -m 444 config.8.gz  /usr/share/man/man8

and then

    foo:/usr/src/usr.sbin/config# cd /sys/i386/conf/
    foo:/sys/i386/conf# config FOO
    /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found

at this point it is time to stop before i really damage something.

fyi, config is appended.  help appreciated.

randy


#
# GENERIC -- Generic 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 $

# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
#    strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
#
options         INCLUDE_CONFIG_FILE     # Include this file in kernel

machine		i386
cpu		I386_CPU
cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		FOO
maxusers	32

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

#options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
#options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	MFS			#Memory Filesystem
#options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
#options 	NFS_ROOT		#NFS usable as root device, NFS required
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
#options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
#options 	FAILSAFE		#Be conservative
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extentions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies

# Soft updates is technique for improving file system speed and
# making abrupt shutdown less risky.  It is not enabled by default due
# to copyright restraints on the code that implement it.
#
# Read .../../ufs/ffs/README.softupdates to learn what you need to
# do to enable this.  ../../../contrib/sys/softupdates/README gives
# more details on how they actually work.
#
options		SOFTUPDATES

options		TCP_RESTRICT_RST

config		kernel	root on wd0

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options 	NCPU=2			# number of CPUs
#options 	NBUS=4			# number of busses
#options 	NAPIC=1			# number of IO APICs
#options 	NINTR=24		# number of INTs

device		isa
#device		eisa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1

# 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
#device		atapifd			# ATAPI floppy drives
#device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering
#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# SCSI Controllers
#device		ahb		# EISA AHA1742 family
device		ahc		# AHA2940 and onboard AIC7xxx devices
#device		amd		# AMD 53C974 (Teckram DC-390(T))
#device		dpt		# DPT Smartcache - See LINT for options!
#device		isp		# Qlogic family
#device		ncr		# NCR/Symbios Logic
#device		sym		# NCR/Symbios Logic (newer chipsets)

#device		adv0	at isa?
#device		adw
#device		bt0	at isa?
#device		aha0	at isa?
#device		aic0	at isa?

# SCSI peripherals
#device		scbus		# SCSI bus (required)
#device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
#device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# RAID controllers
#device		ida		# Compaq Smart RAID
#device		amr		# AMI MegaRAID
#device		mlx		# Mylex DAC960 family

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
#device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa?
#options 	XSERVER			# support for X server on a vt console
#options 	FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options 	PCVT_SCANSET=2		# IBM keyboards are non-std

# 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

# PCCARD (PCMCIA) support
#device		card
#device		pcic0	at isa? irq 10 port 0x3e0 iomem 0xd0000
#device		pcic1	at isa? irq 11 port 0x3e2 iomem 0xd4000 disable

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
#device		sio2	at isa? disable port IO_COM3 irq 5
#device		sio3	at isa? disable port IO_COM4 irq 9

# Parallel port
#device		ppc0	at isa? irq 7
#device		ppbus		# Parallel port bus (required)
#device		lpt		# Printer
#device		plip		# TCP/IP over parallel
#device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da


# PCI Ethernet NICs.
#device		de		# DEC/Intel DC21x4x (``Tulip'')
#device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
#device		tx		# SMC 9432TX (83c170 ``EPIC'')
#device		vx		# 3Com 3c590, 3c595 (``Vortex'')
#device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')

# PCI Ethernet NICs that use the common MII bus controller code.
#device		miibus		# MII bus support
#device		dc		# DEC/Intel 21143 and various workalikes
#device		rl		# RealTek 8129/8139
#device		sf		# Adaptec AIC-6915 (``Starfire'')
#device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
#device		ste		# Sundance ST201 (D-Link DFE-550TX)
#device		tl		# Texas Instruments ThunderLAN
#device		vr		# VIA Rhine, Rhine II
#device		wb		# Winbond W89C840F
#device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
#device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
#device		ex
device		ep
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attatement needed
# and resources will always be dynamically assigned by the pccard code.
#device		wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those paremeters here.
#device		an
# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
#device		fe0	at isa? port 0x300
#device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
#device		lnc0	at isa? port 0x280 irq 10 drq 0
#device		cs0	at isa? port 0x300
#device		sn0	at isa? port 0x300 irq 10
# requires PCCARD (PCMCIA) support to be activated
#device		xe0	at isa?

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
#pseudo-device	sl	1	# Kernel SLIP
#pseudo-device	ppp	1	# Kernel PPP
#pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
#pseudo-device	md		# Memory "disks"
#pseudo-device	gif	4	# IPv6 and IPv4 tunneling
#pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
#pseudo-device	bpf		#Berkeley packet filter

# USB support
#device		uhci		# UHCI PCI->USB interface
#device		ohci		# OHCI PCI->USB interface
#device		usb		# USB Bus (required)
#device		ugen		# Generic
#device		uhid		# "Human Interface Devices"
#device		ukbd		# Keyboard
#device		ulpt		# Printer
#device		umass		# Disks/Mass storage - Requires scbus and da
#device		ums		# Mouse
# USB Ethernet, requires mii
#device		aue		# ADMtek USB ethernet
#device		cue		# CATC USB ethernet
#device		kue		# Kawasaki LSI USB ethernet


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E12cKh6-000Lxk-00>