ďťż
 
 
   Instalacja + wiele pytań początkującego
 
 

Tematy

 
    
 

 

 

 

Instalacja + wiele pytań początkującego





Neron - 13-07-2006 11:07
Z linuxami miałem już wcześniej doczynienia, ale chciałem przetestować debiana (tym bardziej że słyszałem że bezproblemowo można pod nim skonfigurować moją kartę sieciową realtek 8180). I mam następujące pytanie: czy niezbędne jest sciąganie wszystkich 14 cd, bo słyszałem że jest możliwość zainstalowania go jedynie z 1? Czy to prawda, czy jest to opłacalne? A drugim pytaniem jest: jak mogę zainstalować debiana aby mógł działać na kompie wspólnie z windowsem. Bo niestety jestem w tej problemowej sytuacji że na mój komputer domowy przypada poza mną 3 braci i rodzice :-( , a im linux w ogole nie pasuje (nie są w stanie się przestawić z windowsa), dlatego zależy mi aby na 1 dysku był windows i linux z możliwością wyboru systemu na starcie kompa. Przepraszam że tak dużo i w jednym miejscu, ale naprawdę mi na tym zależy. Z góry dziękuje za wszelaką pomoc.



zjam - 13-07-2006 11:24
Do instalacji wystarczy Ci netinstall ~ 110MB, albo pierwsza płyta.
Najlepiej będzie jak zainstalujesz sobie wersje testing.
Grub instaluje się przy instalacji w mbr i sam rozpoznaje systemy zainstalowane na dysku, także śmiało ściągaj płyte i instaluj ;-)

btw używaj opcji "Pisowania" kolo "Wyśli" bo robisz literówki ;)



KarolOssowski - 13-07-2006 12:44
jeżeli masz cały dysk zajęty windowsem, to będziesz musiał skurczyć patrtycje windowsowe i w wolnym miejscu utworzyć partycje linuksa. i jedno i drugie możesz zrobić programem (qt)parted z poziomu jakiegoś linuksowego livecd, lub programami z windows: (partition magic/ranish (darmowy)/.. ). możesz też zwolnić cały dysk i zrestrukturyzować go od nowa (podczas instalacji).



Neron - 13-07-2006 21:48
Aha, a czy debian umożliwia spartcjonowanie dysku z poziomu instalacji systemu, bo w gruncie rzeczy chciałbym na to przeznaczyć partycje d: która jest sformatowana pod system plików ntfs, bo już mi się kończy sciągać płyta instalacyjna debiana w wersji test, i poprostu musze się upewnić że nie zniszcze żadnych danych pozostałych użytkowników komputera ( a jest ich zbyt wiele aby zrobić backup)



Grabos - 14-07-2006 00:25
Oczywiście Debian ma jakiś program do obsługi partycji w instalatorze więc bez problemu możesz usunąc partycję ntfs i na jej miejsce utworzyć partycję na której możesz zainstalować Debiana.



dodi - 14-07-2006 09:41
cfdisk się nazywa ;-)



Neron - 15-07-2006 12:27
Instalacja się powiodła ale mam mały problem ze sterownikami do karty sieciowej mianowicie podczas wklepywania sterów pod kernela 2.6 wyskakuje mi coś takiego:
neron@debian:~/Desktop/rtl8180_1.5_release26$ su
Password:
debian:/home/neron/Desktop/rtl8180_1.5_release26# make
make -C /lib/modules/2.6.15-1-k7/build SUBDIRS=/home/neron/Desktop/rtl8180_1.5_release26 MODVERDIR=/home/neron/Desktop/rtl8180_1.5_release26 modules
make: *** /lib/modules/2.6.15-1-k7/build: No such file or directory.  Stop.
make: *** [modules] Error 2 wielce się tym nie przejołem sciągłem wersje pod starszą wersje kernela i po wklepaniu make wyskakuje natępujący komunikat:
/usr/include/linux/fs.h:1581: error: ‘bdev’ undeclared (first use in this function)
/usr/include/linux/fs.h:1581: error: ‘iov’ undeclared (first use in this function)
/usr/include/linux/fs.h:1581: error: ‘offset’ undeclared (first use in this function)
/usr/include/linux/fs.h:1582: error: ‘nr_segs’ undeclared (first use in this function)
/usr/include/linux/fs.h:1582: error: ‘get_blocks’ undeclared (first use in this function)
/usr/include/linux/fs.h:1582: error: ‘end_io’ undeclared (first use in this function)
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1585: error: syntax error before ‘blockdev_direct_IO_own_locking’
/usr/include/linux/fs.h:1587: error: syntax error before ‘loff_t’
/usr/include/linux/fs.h: In function ‘blockdev_direct_IO_own_locking’:
/usr/include/linux/fs.h:1590: error: ‘rw’ undeclared (first use in this function)
/usr/include/linux/fs.h:1590: error: ‘iocb’ undeclared (first use in this function)
/usr/include/linux/fs.h:1590: error: ‘inode’ undeclared (first use in this function)
/usr/include/linux/fs.h:1590: error: ‘bdev’ undeclared (first use in this function)
/usr/include/linux/fs.h:1590: error: ‘iov’ undeclared (first use in this function)
/usr/include/linux/fs.h:1590: error: ‘offset’ undeclared (first use in this function)
/usr/include/linux/fs.h:1591: error: ‘nr_segs’ undeclared (first use in this function)
/usr/include/linux/fs.h:1591: error: ‘get_blocks’ undeclared (first use in this function)
/usr/include/linux/fs.h:1591: error: ‘end_io’ undeclared (first use in this function)
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1608: error: syntax error before ‘loff_t’
/usr/include/linux/fs.h:1609: error: syntax error before ‘loff_t’
/usr/include/linux/fs.h:1610: error: syntax error before ‘inode_get_bytes’
/usr/include/linux/fs.h:1611: error: syntax error before ‘loff_t’
/usr/include/linux/fs.h:1628: error: syntax error before ‘dcache_dir_lseek’
/usr/include/linux/fs.h:1628: error: syntax error before ‘loff_t’
/usr/include/linux/fs.h:1645: error: syntax error before ‘generic_read_dir’
/usr/include/linux/fs.h:1645: error: syntax error before ‘size_t’
/usr/include/linux/fs.h:1654: error: syntax error before ‘simple_read_from_buffer’
/usr/include/linux/fs.h:1654: error: syntax error before ‘size_t’
/usr/include/linux/fs.h:1661: error: syntax error before ‘parent_ino’
/usr/include/linux/fs.h: In function ‘parent_ino’:
/usr/include/linux/fs.h:1663: error: ‘ino_t’ undeclared (first use in this function)
/usr/include/linux/fs.h:1663: error: syntax error before ‘res’
/usr/include/linux/fs.h:1666: error: ‘res’ undeclared (first use in this function)
/usr/include/linux/fs.h:1666: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1681: error: syntax error before ‘ssize_t’
/usr/include/linux/fs.h:1683: error: syntax error before ‘}’ token
/usr/include/linux/fs.h:1688: error: syntax error before ‘size_t’
/usr/include/linux/fs.h:1689: error: syntax error before ‘simple_transaction_read’
/usr/include/linux/fs.h:1690: error: syntax error before ‘size_t’
/usr/include/linux/fs.h:1693: error: syntax error before ‘size_t’
/usr/include/linux/fs.h: In function ‘simple_transaction_set’:
/usr/include/linux/fs.h:1695: error: ‘file’ undeclared (first use in this function)
/usr/include/linux/fs.h:1697: error: ‘n’ undeclared (first use in this function)/usr/include/linux/fs.h:1697: error: invalid application of ‘sizeof’ to incomplete type ‘struct simple_transaction_argresp’
/usr/include/linux/fs.h:1704: error: dereferencing pointer to incomplete type
/usr/include/linux/fs.h: At top level:
/usr/include/linux/fs.h:1747: error: syntax error before ‘simple_attr_read’
/usr/include/linux/fs.h:1748: error: syntax error before ‘size_t’
/usr/include/linux/fs.h:1749: error: syntax error before ‘simple_attr_write’
/usr/include/linux/fs.h:1750: error: syntax error before ‘size_t’
In file included from /usr/include/linux/skbuff.h:26,
                from /usr/include/linux/if_ether.h:107,
                from /usr/include/linux/netdevice.h:29,
                from r8180_pci_init.c:29:
/usr/include/linux/mm.h:242: error: syntax error before ‘pgoff_t’
/usr/include/linux/mm.h:260: error: syntax error before ‘}’ token
In file included from /usr/include/linux/skbuff.h:26,
                from /usr/include/linux/if_ether.h:107,
                from /usr/include/linux/netdevice.h:29,
                from r8180_pci_init.c:29:
/usr/include/linux/mm.h: In function ‘get_page’:
/usr/include/linux/mm.h:335: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘put_page’:
/usr/include/linux/mm.h:340: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:340: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:340: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:340: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘page_zonenum’:
/usr/include/linux/mm.h:472: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘page_zone’:
/usr/include/linux/mm.h:480: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘page_to_nid’:
/usr/include/linux/mm.h:487: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘page_to_section’:
/usr/include/linux/mm.h:493: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘set_page_zone’:
/usr/include/linux/mm.h:498: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:499: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘set_page_node’:
/usr/include/linux/mm.h:503: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:504: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘set_page_section’:
/usr/include/linux/mm.h:508: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:509: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘lowmem_page_address’:
/usr/include/linux/mm.h:527: error: arithmetic on pointer to an incomplete type
/usr/include/linux/mm.h:527: error: arithmetic on pointer to an incomplete type
/usr/include/linux/mm.h: In function ‘page_mapping’:
/usr/include/linux/mm.h:569: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:571: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:571: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘PageAnon’:
/usr/include/linux/mm.h:580: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: At top level:
/usr/include/linux/mm.h:587: error: syntax error before ‘page_index’
/usr/include/linux/mm.h: In function ‘page_index’:
/usr/include/linux/mm.h:589: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:589: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:590: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h:591: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘reset_page_mapcount’:
/usr/include/linux/mm.h:601: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘page_mapcount’:
/usr/include/linux/mm.h:606: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: In function ‘page_mapped’:
/usr/include/linux/mm.h:614: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: At top level:
/usr/include/linux/mm.h:650: error: syntax error before ‘loff_t’
/usr/include/linux/mm.h: In function ‘can_do_mlock’:
/usr/include/linux/mm.h:658: error: dereferencing pointer to incomplete type
/usr/include/linux/mm.h: At top level:
/usr/include/linux/mm.h:662: error: syntax error before ‘struct’
/usr/include/linux/mm.h:663: error: syntax error before ‘struct’
/usr/include/linux/mm.h:671: error: syntax error before ‘pgoff_t’
/usr/include/linux/mm.h:675: error: syntax error before ‘}’ token
/usr/include/linux/mm.h:692: error: syntax error before ‘loff_t’
/usr/include/linux/mm.h:695: error: syntax error before ‘loff_t’
/usr/include/linux/mm.h: In function ‘unmap_shared_mapping_range’:
/usr/include/linux/mm.h:697: error: ‘mapping’ undeclared (first use in this function)
/usr/include/linux/mm.h:697: error: ‘holebegin’ undeclared (first use in this function)
/usr/include/linux/mm.h:697: error: ‘holelen’ undeclared (first use in this function)
/usr/include/linux/mm.h: At top level:
/usr/include/linux/mm.h:700: error: syntax error before ‘loff_t’
/usr/include/linux/mm.h:814: error: syntax error before ‘pgoff_t’
/usr/include/linux/mm.h:817: error: syntax error before ‘pgoff_t’
/usr/include/linux/mm.h:826: error: syntax error before ‘pgoff_t’
/usr/include/linux/mm.h:830: error: ‘get_unmapped_area’ redeclared as different kind of symbol
/usr/include/linux/fs.h:977: error: previous declaration of ‘get_unmapped_area’ was here
/usr/include/linux/mm.h:849: error: syntax error before ‘size_t’
/usr/include/linux/mm.h:855: error: syntax error before ‘loff_t’
/usr/include/linux/mm.h:881: error: syntax error before ‘pgoff_t’
In file included from /usr/include/linux/skbuff.h:29,
                from /usr/include/linux/if_ether.h:107,
                from /usr/include/linux/netdevice.h:29,
                from r8180_pci_init.c:29:
/usr/include/linux/net.h:151: error: syntax error before ‘size_t’
/usr/include/linux/net.h:153: error: syntax error before ‘size_t’
/usr/include/linux/net.h:157: error: syntax error before ‘ssize_t’
/usr/include/linux/net.h:186: error: syntax error before ‘size_t’
/usr/include/linux/net.h:188: error: syntax error before ‘size_t’
/usr/include/linux/net.h:198: error: syntax error before ‘size_t’
/usr/include/linux/net.h:200: error: syntax error before ‘size_t’
In file included from /usr/include/linux/skbuff.h:30,
                from /usr/include/linux/if_ether.h:107,
                from /usr/include/linux/netdevice.h:29,
                from r8180_pci_init.c:29:
/usr/include/linux/textsearch.h:161: error: syntax error before ‘payload’
/usr/include/linux/textsearch.h: In function ‘alloc_ts_config’:
/usr/include/linux/textsearch.h:165: error: ‘payload’ undeclared (first use in this function)
/usr/include/linux/textsearch.h:165: error: ‘gfp_mask’ undeclared (first use in this function)
In file included from /usr/include/linux/if_ether.h:107,
                from /usr/include/linux/netdevice.h:29,
                from r8180_pci_init.c:29:
/usr/include/linux/skbuff.h:31:26: error: net/checksum.h: No such file or directory
In file included from /usr/include/linux/if_ether.h:107,
                from /usr/include/linux/netdevice.h:29,
                from r8180_pci_init.c:29:
/usr/include/linux/skbuff.h: At top level:
/usr/include/linux/skbuff.h:210: error: field ‘stamp’ has incomplete type
In file included from /usr/include/linux/netdevice.h:38,
                from r8180_pci_init.c:29:
/usr/include/linux/device.h:93: error: field ‘attr’ has incomplete type
/usr/include/linux/device.h:94: error: syntax error before ‘ssize_t’
/usr/include/linux/device.h:95: error: syntax error before ‘*’ token
/usr/include/linux/device.h:95: error: syntax error before ‘size_t’
/usr/include/linux/device.h:95: error: ‘ssize_t’ declared as function returning a function
/usr/include/linux/device.h:134: error: field ‘attr’ has incomplete type
/usr/include/linux/device.h:135: error: syntax error before ‘ssize_t’
/usr/include/linux/device.h:136: error: syntax error before ‘*’ token
/usr/include/linux/device.h:136: error: syntax error before ‘size_t’
/usr/include/linux/device.h:136: error: ‘ssize_t’ declared as function returning a function
/usr/include/linux/device.h:182: error: field ‘attr’ has incomplete type
/usr/include/linux/device.h:183: error: syntax error before ‘ssize_t’
/usr/include/linux/device.h:184: error: syntax error before ‘*’ token
/usr/include/linux/device.h:184: error: syntax error before ‘size_t’
/usr/include/linux/device.h:184: error: ‘ssize_t’ declared as function returning a function
/usr/include/linux/device.h:199: error: syntax error before ‘dev_t’
/usr/include/linux/device.h:205: error: syntax error before ‘}’ token
/usr/include/linux/device.h: In function ‘class_get_devdata’:
/usr/include/linux/device.h:210: error: dereferencing pointer to incomplete type/usr/include/linux/device.h: In function ‘class_set_devdata’:
/usr/include/linux/device.h:216: error: dereferencing pointer to incomplete type/usr/include/linux/device.h: At top level:
/usr/include/linux/device.h:232: error: field ‘attr’ has incomplete type
/usr/include/linux/device.h:233: error: syntax error before ‘ssize_t’
/usr/include/linux/device.h:234: error: syntax error before ‘*’ token
/usr/include/linux/device.h:234: error: syntax error before ‘size_t’
/usr/include/linux/device.h:234: error: ‘ssize_t’ declared as function returning a function
/usr/include/linux/device.h:263: error: syntax error before ‘dev_t’
/usr/include/linux/device.h:266: error: syntax error before ‘dev_t’
/usr/include/linux/device.h:344: error: field ‘attr’ has incomplete type
/usr/include/linux/device.h:345: error: syntax error before ‘ssize_t’
/usr/include/linux/device.h:347: error: syntax error before ‘*’ token
/usr/include/linux/device.h:348: error: syntax error before ‘size_t’
/usr/include/linux/device.h:348: error: ‘ssize_t’ declared as function returning a function
In file included from r8180_pci_init.c:29:
/usr/include/linux/netdevice.h:480: error: field ‘class_dev’ has incomplete typeIn file included from /usr/include/linux/hardirq.h:6,
                from /usr/include/linux/interrupt.h:11,
                from /usr/include/linux/netdevice.h:508,
                from r8180_pci_init.c:29:
/usr/include/linux/smp_lock.h: In function ‘reacquire_kernel_lock’:
/usr/include/linux/smp_lock.h:37: error: dereferencing pointer to incomplete type
In file included from /usr/include/asm/irq.h:8,
                from /usr/include/linux/irq.h:21,
                from /usr/include/asm-i486/hardirq.h:6,
                from /usr/include/asm/hardirq.h:8,
                from /usr/include/linux/hardirq.h:7,
                from /usr/include/linux/interrupt.h:11,
                from /usr/include/linux/netdevice.h:508,
                from r8180_pci_init.c:29:
/usr/include/asm-i486/irq.h:16:25: error: irq_vectors.h: No such file or directory
In file included from /usr/include/asm-i486/hardirq.h:6,
                from /usr/include/asm/hardirq.h:8,
                from /usr/include/linux/hardirq.h:7,
                from /usr/include/linux/interrupt.h:11,
                from /usr/include/linux/netdevice.h:508,
                from r8180_pci_init.c:29:
/usr/include/linux/irq.h: At top level:
/usr/include/linux/irq.h:76: error: ‘NR_IRQS’ undeclared here (not in a function)
In file included from /usr/include/asm/hw_irq.h:8,
                from /usr/include/linux/irq.h:78,
                from /usr/include/asm-i486/hardirq.h:6,
                from /usr/include/asm/hardirq.h:8,
                from /usr/include/linux/hardirq.h:7,
                from /usr/include/linux/interrupt.h:11,
                from /usr/include/linux/netdevice.h:508,
                from r8180_pci_init.c:29:
/usr/include/asm-i486/hw_irq.h:28: error: ‘NR_IRQ_VECTORS’ undeclared here (not in a function)
In file included from r8180_pci_init.c:29:
/usr/include/linux/netdevice.h: In function ‘netif_poll_disable’:
/usr/include/linux/netdevice.h:862: error: dereferencing pointer to incomplete type
In file included from r8180_pci_init.c:30:
/usr/include/linux/pci.h: At top level:
/usr/include/linux/pci.h:619: error: field ‘class_dev’ has incomplete type
/usr/include/linux/pci.h:824: error: syntax error before ‘size_t’
/usr/include/linux/pci.h:825: error: syntax error before ‘size_t’
In file included from /usr/include/linux/pci.h:871,
                from r8180_pci_init.c:30:
/usr/include/linux/dmapool.h:18: error: syntax error before ‘size_t’
In file included from /usr/include/asm/pci.h:8,
                from /usr/include/linux/pci.h:920,
                from r8180_pci_init.c:30:
/usr/include/asm-i486/pci.h: In function ‘pci_dac_page_to_dma’:
/usr/include/asm-i486/pci.h:66: error: arithmetic on pointer to an incomplete type
/usr/include/asm-i486/pci.h:66: error: arithmetic on pointer to an incomplete type
/usr/include/asm-i486/pci.h: In function ‘pci_dac_dma_to_page’:
/usr/include/asm-i486/pci.h:73: error: invalid use of undefined type ‘struct page’
/usr/include/asm-i486/pci.h: At top level:
/usr/include/asm-i486/pci.h:83: error: syntax error before ‘size_t’
/usr/include/asm-i486/pci.h:88: error: syntax error before ‘size_t’
In file included from /usr/include/asm/dma-mapping.h:8,
                from /usr/include/linux/dma-mapping.h:24,
                from /usr/include/asm-generic/pci-dma-compat.h:7,
                from /usr/include/asm-i486/pci.h:115,
                from /usr/include/asm/pci.h:8,
                from /usr/include/linux/pci.h:920,
                from r8180_pci_init.c:30:
/usr/include/asm-i486/dma-mapping.h:13: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h:16: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h:20: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h: In function ‘dma_map_single’:
/usr/include/asm-i486/dma-mapping.h:23: error: ‘direction’ undeclared (first use in this function)
/usr/include/asm-i486/dma-mapping.h:25: error: ‘ptr’ undeclared (first use in this function)
/usr/include/asm-i486/dma-mapping.h: At top level:
/usr/include/asm-i486/dma-mapping.h:29: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h: In function ‘dma_unmap_single’:
/usr/include/asm-i486/dma-mapping.h:32: error: ‘direction’ undeclared (first use in this function)
/usr/include/asm-i486/dma-mapping.h: In function ‘dma_map_sg’:
/usr/include/asm-i486/dma-mapping.h:46: error: arithmetic on pointer to an incomplete type
/usr/include/asm-i486/dma-mapping.h:46: error: arithmetic on pointer to an incomplete type
/usr/include/asm-i486/dma-mapping.h: At top level:
/usr/include/asm-i486/dma-mapping.h:55: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h: In function ‘dma_map_page’:
/usr/include/asm-i486/dma-mapping.h:57: error: ‘direction’ undeclared (first use in this function)
/usr/include/asm-i486/dma-mapping.h:58: error: ‘page’ undeclared (first use in this function)
/usr/include/asm-i486/dma-mapping.h:58: error: ‘offset’ undeclared (first use in this function)
/usr/include/asm-i486/dma-mapping.h: At top level:
/usr/include/asm-i486/dma-mapping.h:62: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h: In function ‘dma_unmap_page’:
/usr/include/asm-i486/dma-mapping.h:65: error: ‘direction’ undeclared (first use in this function)
/usr/include/asm-i486/dma-mapping.h: At top level:
/usr/include/asm-i486/dma-mapping.h:77: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h:83: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h:91: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h:98: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h:159: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h:168: error: syntax error before ‘size_t’
/usr/include/asm-i486/dma-mapping.h:175: error: syntax error before ‘size_t’
In file included from /usr/include/asm-i486/pci.h:115,
                from /usr/include/asm/pci.h:8,
                from /usr/include/linux/pci.h:920,
                from r8180_pci_init.c:30:
/usr/include/asm-generic/pci-dma-compat.h:19: error: syntax error before ‘size_t’
/usr/include/asm-generic/pci-dma-compat.h: In function ‘pci_alloc_consistent’:
/usr/include/asm-generic/pci-dma-compat.h:22: error: ‘hwdev’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:22: error: ‘dma_handle’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h: At top level:
/usr/include/asm-generic/pci-dma-compat.h:26: error: syntax error before ‘size_t’
/usr/include/asm-generic/pci-dma-compat.h: In function ‘pci_free_consistent’:
/usr/include/asm-generic/pci-dma-compat.h:29: error: ‘hwdev’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:29: error: ‘vaddr’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:29: error: ‘dma_handle’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h: At top level:
/usr/include/asm-generic/pci-dma-compat.h:33: error: syntax error before ‘size_t’
/usr/include/asm-generic/pci-dma-compat.h: In function ‘pci_map_single’:
/usr/include/asm-generic/pci-dma-compat.h:35: error: ‘hwdev’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:35: error: ‘ptr’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:35: error: ‘direction’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h: At top level:
/usr/include/asm-generic/pci-dma-compat.h:40: error: syntax error before ‘size_t’
/usr/include/asm-generic/pci-dma-compat.h: In function ‘pci_unmap_single’:
/usr/include/asm-generic/pci-dma-compat.h:42: error: ‘hwdev’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:42: error: ‘dma_addr’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:42: error: ‘direction’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h: At top level:
/usr/include/asm-generic/pci-dma-compat.h:47: error: syntax error before ‘size_t’
/usr/include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
/usr/include/asm-generic/pci-dma-compat.h:49: error: ‘hwdev’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:49: error: ‘page’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:49: error: ‘offset’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:49: error: ‘direction’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h: At top level:
/usr/include/asm-generic/pci-dma-compat.h:54: error: syntax error before ‘size_t’
/usr/include/asm-generic/pci-dma-compat.h: In function ‘pci_unmap_page’:
/usr/include/asm-generic/pci-dma-compat.h:56: error: ‘hwdev’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:56: error: ‘dma_address’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:56: error: ‘direction’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h: At top level:
/usr/include/asm-generic/pci-dma-compat.h:75: error: syntax error before ‘size_t’
/usr/include/asm-generic/pci-dma-compat.h: In function ‘pci_dma_sync_single_for_cpu’:
/usr/include/asm-generic/pci-dma-compat.h:77: error: ‘hwdev’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:77: error: ‘dma_handle’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:77: error: ‘direction’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h: At top level:
/usr/include/asm-generic/pci-dma-compat.h:82: error: syntax error before ‘size_t’
/usr/include/asm-generic/pci-dma-compat.h: In function ‘pci_dma_sync_single_for_device’:
/usr/include/asm-generic/pci-dma-compat.h:84: error: ‘hwdev’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:84: error: ‘dma_handle’ undeclared (first use in this function)
/usr/include/asm-generic/pci-dma-compat.h:84: error: ‘direction’ undeclared (first use in this function)
In file included from r8180_pci_init.c:33:
/usr/include/linux/rtnetlink.h: At top level:
/usr/include/linux/rtnetlink.h:869: error: syntax error before ‘rtattr_strlcpy’
/usr/include/linux/rtnetlink.h:869: error: syntax error before ‘size_t’
In file included from r8180_pci_init.c:36:
/usr/include/linux/proc_fs.h:44: error: syntax error before ‘off_t’
/usr/include/linux/proc_fs.h:48: error: syntax error before ‘off_t’
/usr/include/linux/proc_fs.h:54: error: syntax error before ‘mode_t’
/usr/include/linux/proc_fs.h:55: error: conflicting types for ‘nlink’
/usr/include/linux/stat.h:63: error: previous declaration of ‘nlink’ was here
/usr/include/linux/proc_fs.h:56: error: syntax error before ‘uid’
/usr/include/linux/proc_fs.h:57: error: syntax error before ‘gid’
/usr/include/linux/proc_fs.h:58: error: conflicting types for ‘size’
/usr/include/linux/stat.h:67: error: previous declaration of ‘size’ was here
/usr/include/linux/proc_fs.h:63: error: conflicting types for ‘parent’
/usr/include/linux/sched.h:656: error: previous declaration of ‘parent’ was here/usr/include/linux/proc_fs.h:64: error: conflicting types for ‘data’
/usr/include/linux/fs.h:1682: error: previous declaration of ‘data’ was here
/usr/include/linux/proc_fs.h:67: error: conflicting types for ‘count’
/usr/include/linux/fs.h:932: error: previous declaration of ‘count’ was here
/usr/include/linux/proc_fs.h:69: error: syntax error before ‘}’ token
/usr/include/linux/proc_fs.h:74: error: syntax error before ‘size_t’
/usr/include/linux/proc_fs.h:81: error: syntax error before ‘loff_t’
/usr/include/linux/proc_fs.h:107: error: syntax error before ‘mode_t’
/usr/include/linux/proc_fs.h:156: error: syntax error before ‘mode_t’
/usr/include/linux/proc_fs.h:160: error: syntax error before ‘mode_t’
/usr/include/linux/proc_fs.h: In function ‘create_proc_read_entry’:
/usr/include/linux/proc_fs.h:163: error: ‘name’ undeclared (first use in this function)
/usr/include/linux/proc_fs.h:163: error: ‘base’ undeclared (first use in this function)
/usr/include/linux/proc_fs.h:165: error: dereferencing pointer to incomplete type
/usr/include/linux/proc_fs.h:166: error: dereferencing pointer to incomplete type
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:172: error: syntax error before ‘mode_t’
/usr/include/linux/proc_fs.h: In function ‘create_proc_info_entry’:
/usr/include/linux/proc_fs.h:174: error: ‘name’ undeclared (first use in this function)
/usr/include/linux/proc_fs.h:174: error: ‘base’ undeclared (first use in this function)
/usr/include/linux/proc_fs.h:175: error: dereferencing pointer to incomplete type
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:180: error: syntax error before ‘mode_t’
/usr/include/linux/proc_fs.h: In function ‘proc_net_create’:
/usr/include/linux/proc_fs.h:182: error: ‘name’ undeclared (first use in this function)
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:186: error: syntax error before ‘mode_t’
/usr/include/linux/proc_fs.h: In function ‘proc_net_fops_create’:
/usr/include/linux/proc_fs.h:188: error: ‘name’ undeclared (first use in this function)
/usr/include/linux/proc_fs.h:190: error: dereferencing pointer to incomplete type
/usr/include/linux/proc_fs.h:190: error: ‘fops’ undeclared (first use in this function)
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:242: error: syntax error before ‘size_t’
/usr/include/linux/proc_fs.h:253: error: field ‘vfs_inode’ has incomplete type
In file included from r8180_pci_init.c:40:
r8180_type.h:62:1: warning: "ENABLE_DBG_PRINT" redefined
<command line>:1:1: warning: this is the location of the previous definition
r8180_pci_init.c: In function ‘rtl8180_pci_probe’:
r8180_pci_init.c:146: error: ‘struct pci_dev’ has no member named ‘slot_name’
r8180_pci_init.c:150: error: ‘struct pci_dev’ has no member named ‘slot_name’
make: *** [r8180_pci_init.o] Error 1
debian:/home/neron/Desktop/rtl8180_1.5# make install
cp rtl8180_24x.o /lib/modules/2.6.15-1-k7/kernel/drivers/net/wireless i nie moge nijak zainstalowac sterów do karty sieciowej (Realtek RTL8180 radiówka), nie wiem mam sciągnąc nowej jajko i kernela czy co ?



qmega - 16-07-2006 15:02
A jakby tak spróbować przez ndis ?



Neron - 17-07-2006 18:56
Tak próbowałem, i tak wyskoczyło że brkuje w krenelu mu tego folderu "build". Chyba mam jakiś problem z tym kernelem bo ani go skonfigurować ani nic (próbowałem make menucofig i make xconfig). Wiece co moge na to zaradzić? Próbowałem zainstalować nowego kernela ale on miał problemy ze starym :-(



alpin19 - 15-09-2006 00:53
...ale, ale - o ile dobrze pamiętam, dla debiana jest pakiet z driverami dla tej karty WiFi. Sam ją miałem i instalowałem sterowniki dla niej przez apt'a.



Verdan - 18-09-2006 11:19
Nie masz po prostu źródeł kernela które są wymagane w tej sytuacji. Zassij z repozytorium.
Katalog /lib/modules/wersja/build jest symlinkiem do katalogu w którym znajdują się źródła jądra.

Pozdrawiam,
V.



Grabos - 18-09-2006 13:07
Jak budujesz moduł do debianowego kernela to użyj module-assistant sam instaluje potrzebne paczki i kompiluje moduł.



zolter - 05-08-2007 12:57
alpin19 : A masz może gdzieś tą paczkę z tymi sterownikami? albo może pamiętasz jak sie nazywała?



v-sgfx - 07-08-2007 19:21
kaka juz raz pisal taki poradnik i ja z niego korzystalem, jest nie zawodny. Wiec dlaczego i ty nie mozesz skorzystac?? Mniej wiecej kilka drobiazgow ci przekaze :>
ja tez mam rtl 8180
sciagasz paczki NDISWRAPPER razem z zaleznosciami depends
nastepnie instalujesz to, mozesz z konsoli mozesz i przez gdebi
nastepnie wydajesz polecenie po instalacji

module-assistant a-i ndiswrapper nastepnie wchodzic cd do lokacji gdzie masz umieszczone sterowniki do Reakteka i wklepujesz:

ndiswrapper -i NET8180.INF
podalem na moim przykladzie nastepnie sprawdzasz poleceniem
ndiswrapper -l jezeli pokazuje driver installed hardware present mozesz przystopic do nastepnych krokow:

musisz uruchomic modul poleceniem

modprobe ndiswrapper na koniec wydaj polecenie
iwconfig jezeli wszytko ok to teraz tylko daj polecenie aby przy kazdym restarcie modul sie uruchamial, zrobisz to tak:

ndiswrapper -m jezeli nie zadziala wklepiesz to:
echo ndiswrapper>>/etc/modules ---
pisalem swoimi slowami, ale wszystko wczesniej wyklute z tutoriala KAKI
nie chce ripowac :P

-------------
jezeli chodzi o kernel to sprawdz jaka wersje masz
apt-cache search linux-image nastepnie znajdz najnowsza i zapamietaj lub skopiuj wersje i polecenie:

aptitude install linux-image-<wersja>-<architektura>
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • minister.pev.pl

  •  

     


     

     
    Copyright 2003. MĂłj serwis