The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"smbfs & FreeBSD 4.5"
Вариант для распечатки Архивированная нить - только для чтения! 
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"smbfs & FreeBSD 4.5"
Сообщение от Firewalker emailИскать по авторуВ закладки on 27-Июн-02, 23:35  (MSK)
не собирается ядро с поддержкой smbfs --
кто-нибудь сталкивался??
  Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "RE: smbfs & FreeBSD 4.5"
Сообщение от lavr emailИскать по авторуВ закладки on 28-Июн-02, 12:02  (MSK)
>не собирается ядро с поддержкой smbfs --
>кто-нибудь сталкивался??


а что в ядре то и на что ругань?

  Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "RE: smbfs & FreeBSD 4.5"
Сообщение от Firewalker Искать по авторуВ закладки on 29-Июн-02, 18:57  (MSK)
>а что в ядре то и на что ругань?
...

linking kernel
smbfs_smb.o: In function `smbfs_smb_lockandx':
smbfs_smb.o(.text+0x90): undefined reference to `mb_put_uint8'
smbfs_smb.o(.text+0x9d): undefined reference to `mb_put_uint8'
smbfs_smb.o(.text+0xaa): undefined reference to `mb_put_uint16le'
smbfs_smb.o(.text+0xc3): undefined reference to `mb_put_mem'
smbfs_smb.o(.text+0xd6): undefined reference to `mb_put_uint8'
smbfs_smb.o(.text+0xe3): undefined reference to `mb_put_uint8'
smbfs_smb.o(.text+0xf3): undefined reference to `mb_put_uint32le'
smbfs_smb.o(.text+0x10d): undefined reference to `mb_put_uint16le'
smbfs_smb.o(.text+0x127): undefined reference to `mb_put_uint16le'
smbfs_smb.o(.text+0x143): undefined reference to `mb_put_uint16le'
smbfs_smb.o(.text+0x152): undefined reference to `mb_put_uint32le'
smbfs_smb.o(.text+0x167): undefined reference to `mb_put_uint32le'
smbfs_smb.o: In function `smbfs_smb_statfs2':
smbfs_smb.o(.text+0x201): undefined reference to `mb_init'
smbfs_smb.o(.text+0x209): undefined reference to `mb_put_uint16le'
smbfs_smb.o(.text+0x23a): undefined reference to `md_get_uint32'
smbfs_smb.o(.text+0x244): undefined reference to `md_get_uint32le'
smbfs_smb.o(.text+0x24e): undefined reference to `md_get_uint32le'
smbfs_smb.o(.text+0x258): undefined reference to `md_get_uint32le'
smbfs_smb.o(.text+0x265): undefined reference to `md_get_uint16le'
smbfs_smb.o: In function `smbfs_smb_statfs':
smbfs_smb.o(.text+0x32d): undefined reference to `md_get_uint16le'
smbfs_smb.o(.text+0x33f): undefined reference to `md_get_uint16le'
smbfs_smb.o(.text+0x351): undefined reference to `md_get_uint16le'
smbfs_smb.o(.text+0x366): undefined reference to `md_get_uint16le'
smbfs_smb.o: In function `smbfs_smb_setfsize':
smbfs_smb.o(.text+0x420): undefined reference to `mb_put_mem'
smbfs_smb.o(.text+0x42d): undefined reference to `mb_put_uint16le'
...
smb_usr.o: In function `smb_usr_simplerequest':
smb_usr.o(.text+0x398): undefined reference to `mb_put_mem'
smb_usr.o(.text+0x3c7): undefined reference to `mb_put_mem'
smb_usr.o(.text+0x409): undefined reference to `md_get_uint8'
smb_usr.o(.text+0x448): undefined reference to `md_get_mem'
smb_usr.o(.text+0x464): undefined reference to `md_get_uint16le'
smb_usr.o(.text+0x4af): undefined reference to `md_get_mem'
smb_usr.o: In function `smb_cpdatain':
smb_usr.o(.text+0x4f6): undefined reference to `mb_init'
smb_usr.o(.text+0x509): undefined reference to `mb_put_mem'
smb_usr.o: In function `smb_usr_t2request':
smb_usr.o(.text+0x5ff): undefined reference to `m_fixhdr'
smb_usr.o(.text+0x61f): undefined reference to `md_get_mem'
smb_usr.o(.text+0x646): undefined reference to `m_fixhdr'
smb_usr.o(.text+0x66f): undefined reference to `md_get_mem'
*** Error code 1

Stop in /usr/obj/usr/src/sys/k45_2.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


конфигурация такая:
machine         i386
cpu             I586_CPU
ident           K45_2
maxusers        0

makeoptions     CONF_CFLAGS=-fno-builtin
options         CPU_FASTER_5X86_FPU
options         CPU_WT_ALLOC
options         NO_F00F_HACK
options         NO_MEMORY_HOLE
options         USER_LDT
options         INET                    #InterNETworking
options         IPSEC
options         IPSEC_ESP
options         NETSMB
options         NETSMBCRYPTO
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_FORWARD
options         IPFIREWALL_VERBOSE_LIMIT=100
options         IPDIVERT
options         IPFILTER
options         IPFILTER_LOG

options         IPSTEALTH
options         TCPDEBUG
options         RANDOM_IP_ID
options         ICMP_BANDLIM
options         DUMMYNET
options         BRIDGE

options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_DIRHASH             #Improve performance on big directories
options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MD is a potential root device
options         MSDOSFS
options         NTFS
options         SMBFS

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         UCONSOLE                #Allow users to grab the console
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 extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

options         QUOTA
options         SUIDDIR
options         EXT2FS
pseudo-device   pty
pseudo-device   speaker
pseudo-device   gzip
pseudo-device   vn
#pseudo-device  md
pseudo-device   snp     3

device     isa
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

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
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? flags 0x100

# Floating point support - do not disable.
device          npx0    at nexus? port IO_NPX irq 13

# 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 that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          rl              # RealTek 8129/8139
device          ed0     at isa? port 0x280 irq 10 iomem 0xd8000

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
#pseudo-device  sl      1       # Kernel SLIP
pseudo-device   ppp     1       # Kernel PPP
options         PPP_BSDCOMP
options         PPP_DEFLATE
options         PPP_FILTER

pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"
pseudo-device   bpf             #Berkeley packet filter

прошу сильно не бить -- второй раз FreeBSD kernel собираю :-)

  Рекомендовать в FAQ | Cообщить модератору | Наверх

3. "RE: smbfs & FreeBSD 4.5"
Сообщение от grimnir Искать по авторуВ закладки on 29-Июн-02, 19:55  (MSK)
Чегой-то подозрительно много options...

Попробуйте такой конфиг сначала:

# kernel configuration file

machine i386
#cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident MYKERNEL
maxusers 128
options MATH_EMULATE
options INET
options FFS
options FFS_ROOT
options SOFTUPDATES
options NFS
options NFS_ROOT
options MSDOSFS
options CD9660
options CD9660_ROOT
options PROCFS
options NETSMB
options NETSMBCRYPTO
options LIBMCHAIN
options LIBICONV
options SMBFS
options COMPAT_43
options UCONSOLE
options USERCONFIG
options VISUAL_USERCONFIG
options KTRACE
options SYSVSHM
options SYSVMSG
options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM
options KBD_INSTALL_CDEV
options USER_LDT
options MAXMEM="(140*1024)" # зависит от количества памяти у Вас

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
device atapicd
device atapifd

options ATA_STATIC_ID

#SCSI periferals (requiered)
device scbus

#atkbdc0 controls both the keyboard and PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
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? flags 0x100

#floating point support - do not disable
device npx0 at nexus? port IO_NPX irq 13

#power management support
device apm0 at nexus? disable flags 0x20 #APM

#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 (requiered)
device lpt #printer
device plip #TCP/IP over parallel
device ppi #parallel port interface device

#PCI Ethernet NICs that use common MII bus controller code
device miibus
device  dc #intel "Tulip" based NIC

#pseudo-devices - the number indicates how many units to allocate.
pseudo-device loop
pseudo-device ether
pseudo-device sl 1 #kernel SLIP
pseudo-device ppp 1 #kernel PPP
pseudo-device tun #packet tunnel
pseudo-device pty #pseudo-ttys (telnet etc.)

#Berkley packet filter (be aware!)
pseudo-device bpf

#USB support
device uhci #UHCI PCI -> USB interface
device ohci #OHCI PCI -> USB interface
device usb #USB bus (requiered)
device ugen #Generic

#sound card
device pcm


Драйверы устройств, конечно, те, которые у меня наличествуют.

  Рекомендовать в FAQ | Cообщить модератору | Наверх

4. "RE: smbfs & FreeBSD 4.5"
Сообщение от Firewalker Искать по авторуВ закладки on 29-Июн-02, 23:53  (MSK)
разобрался!
я был невнимательный -- нужно было еще:

options         LIBMCHAIN
options         LIBICONV

...

  Рекомендовать в FAQ | Cообщить модератору | Наверх


Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру