Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Moj HDD je read only ???

[es] :: Linux :: Moj HDD je read only ???

Strane: 1 2

[ Pregleda: 4087 | Odgovora: 32 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: Moj HDD je read only ???08.01.2007. u 18:42 - pre 210 meseci
Baci pogled na ovaj link.
 
Odgovor na temu

Valerij Zajcev

Član broj: 40886
Poruke: 1374
*.dynamic.sbb.co.yu.



+2 Profil

icon Re: Moj HDD je read only ???11.01.2007. u 22:36 - pre 210 meseci
ovo ide u nedogled :) skinuo sam r1000 (nekoliko puta) v1.5 probao sam sve i da menjam kod, mada u 1.5 taj nedostatak je prepravljen, i nece da ga istalira i to ti je. kernel 2.6.18 je takodje nije prepoznao, e sad se ja nesto pitam, moja mrezna je PCIe GbE LAN, Realtek 8111B , citao sam ovo uputstvo sto ide sa r1000 drajverom ne pise nigde 8111, kada sam kompajlirao kernel bilo je svega osim 8111. Citao sam i drugi su imali ovaj problem doduse ne na slacku (suse,fedora...) ali svi su ga resili 2.6 kernelom, dal je ovo moguce, drajvere sam u kernelu ukljucio kao modul ali ne vredi.
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: Moj HDD je read only ???11.01.2007. u 22:41 - pre 210 meseci
Bilo bi lepo da nam daš output greške da vidim(o) šta se dešava. Nemoguće da samo kod tebe neće da radi :) Inače taj drajver bi trebalo da podržava i tvoj model mrežne kartice.
 
Odgovor na temu

Valerij Zajcev

Član broj: 40886
Poruke: 1374
*.dynamic.sbb.co.yu.



+2 Profil

icon Re: Moj HDD je read only ???11.01.2007. u 23:28 - pre 210 meseci
Ovo postaje smesno! :)
Sada mi je i mis otkazao kada otkucam lsmod pise mi samo "modules" ne znam kako da iskopiram text sada.
Posto vidim linux particiju iz windowsa jel ima negde neki log od zadnjih gresaka gde bih mogao to da prekopiram.
I kako moze mis da mi otkaze?
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: Moj HDD je read only ???11.01.2007. u 23:47 - pre 210 meseci
# lsmod > lsmod.txt
 
Odgovor na temu

Valerij Zajcev

Član broj: 40886
Poruke: 1374
*.dynamic.sbb.co.yu.



+2 Profil

icon Re: Moj HDD je read only ???12.01.2007. u 12:10 - pre 210 meseci
Ovo je kada kucam u rc100 diru

root@darkstar:/home/vlada/r1000_v1.05# make install modules
make -C src/ install
make[1]: Entering directory `/home/vlada/r1000_v1.05/src'
install -m 644 -c r1000.o /lib/modules/2.4.33.3/kernel/drivers/net/
install: cannot stat `r1000.o': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/vlada/r1000_v1.05/src'
make: *** [install] Error 2
root@darkstar:/home/vlada/r1000_v1.05#

================================================

Kada udjem u src

root@darkstar:/home/vlada/r1000_v1.05/src# make clean install
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
install -m 644 -c r1000.o /lib/modules/2.4.33.3/kernel/drivers/net/
install: cannot stat `r1000.o': No such file or directory
make: *** [install] Error 1
root@darkstar:/home/vlada/r1000_v1.05/src#

=========================

evo ga ls mod

root@darkstar:/home/vlada/r1000_v1.05/src# lsmod
Module Size Used by Not tainted
snd-seq-oss 23104 0 (unused)
snd-seq-midi-event 3208 0 [snd-seq-oss]
snd-seq 33552 2 [snd-seq-oss snd-seq-midi-event]
snd-seq-device 3716 0 [snd-seq-oss snd-seq]
snd-pcm-oss 28928 0 (unused)
snd-mixer-oss 11928 0 [snd-pcm-oss]
uhci 23804 0 (unused)
ehci-hcd 17644 0 (unused)
usbcore 56812 1 [uhci ehci-hcd]
i810_rng 2496 0 (unused)
snd-intel8x0 19188 0
snd-ac97-codec 68160 0 [snd-intel8x0]
snd-pcm 52804 0 [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer 13168 0 [snd-seq snd-pcm]
snd 34304 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore 3300 6 [snd]
snd-page-alloc 4980 0 [snd-seq-oss snd-seq snd-seq-device snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]
pcmcia_core 39492 0
ntfs 50848 2 (autoclean)
ide-scsi 9392 0
root@darkstar:/home/vlada/r1000_v1.05/src#

=========================

ovo je lspci

root@darkstar:/home/vlada/r1000_v1.05/src# lspci
00:00.0 Host bridge: Intel Corporation 945G/GZ/P/PL Express Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 945G/GZ/P/PL Express PCI Express Root Port (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0393 (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
root@darkstar:/home/vlada/r1000_v1.05/src#

============================

i ifconfig

root@darkstar:/home/vlada/r1000_v1.05/src# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

root@darkstar:/home/vlada/r1000_v1.05/src#

[Ovu poruku je menjao Valerij Zajcev dana 12.01.2007. u 14:32 GMT+1]
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: Moj HDD je read only ???12.01.2007. u 15:52 - pre 210 meseci
Najbolje idi korak po korak.

# make clean modules
# make install
# depmod -a
# modprobe r1000
 
Odgovor na temu

Valerij Zajcev

Član broj: 40886
Poruke: 1374
*.dynamic.sbb.co.yu.



+2 Profil

icon Re: Moj HDD je read only ???12.01.2007. u 18:05 - pre 210 meseci
ma koji korak po korak kad prvi nece da odradi kako treba :(
evo ga outpu

Code:
root@darkstar:/home/vlada/r1000_v1.05# make clean modules
make -C src/ clean
make[1]: Entering directory `/home/vlada/r1000_v1.05/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
make[1]: Leaving directory `/home/vlada/r1000_v1.05/src'
make -C src/ modules
make[1]: Entering directory `/home/vlada/r1000_v1.05/src'
make -f Makefile_linux24x
make[2]: Entering directory `/home/vlada/r1000_v1.05/src'
gcc -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/lib/modules/2.4.33.3/build/include -I. -DMODVERSIONS -DEXPORT_SYMTAB -include /lib/modules/2.4.33.3/build/include/linux/modversions.h -c r1000_n.c -o r1000_n.o
In file included from /lib/modules/2.4.33.3/build/include/linux/spinlock.h:6,
                 from /lib/modules/2.4.33.3/build/include/linux/module.h:12,
                 from r1000.h:1,
                 from r1000_n.c:5:
/lib/modules/2.4.33.3/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.4.33.3/build/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.4.33.3/build/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules
r1000_n.c:106:1: warning: "IRQ_NONE" redefined
In file included from /lib/modules/2.4.33.3/build/include/asm/highmem.h:25,
                 from /lib/modules/2.4.33.3/build/include/linux/highmem.h:11,
                 from /lib/modules/2.4.33.3/build/include/linux/vmalloc.h:8,
                 from /lib/modules/2.4.33.3/build/include/asm/io.h:47,
                 from /lib/modules/2.4.33.3/build/include/asm/pci.h:41,
                 from /lib/modules/2.4.33.3/build/include/linux/pci.h:683,
                 from r1000.h:2,
                 from r1000_n.c:5:
/lib/modules/2.4.33.3/build/include/linux/interrupt.h:17:1: warning: this is the location of the previous definition
r1000_n.c:107:1: warning: "IRQ_HANDLED" redefined
/lib/modules/2.4.33.3/build/include/linux/interrupt.h:18:1: warning: this is the location of the previous definition
r1000_n.c: At top level:
r1000_n.c:1295: error: conflicting types for 'r1000_tx_action'
r1000_n.c:137: error: previous declaration of 'r1000_tx_action' was here
r1000_n.c:1295: error: conflicting types for 'r1000_tx_action'
r1000_n.c:137: error: previous declaration of 'r1000_tx_action' was here
r1000_n.c:1344: error: conflicting types for 'r1000_rx_action'
r1000_n.c:136: error: previous declaration of 'r1000_rx_action' was here
r1000_n.c:1344: error: conflicting types for 'r1000_rx_action'
r1000_n.c:136: error: previous declaration of 'r1000_rx_action' was here
r1000_n.c: In function `r1000_interrupt':
r1000_n.c:1479: warning: `return' with a value, in function returning void
r1000_n.c:1483: warning: `return' with a value, in function returning void
r1000_n.c: At top level:
r1000_n.c:136: warning: 'r1000_rx_action' declared `static' but never defined
r1000_n.c:137: warning: 'r1000_tx_action' declared `static' but never defined
r1000_n.c:1296: warning: 'r1000_tx_action' defined but not used
r1000_n.c:1345: warning: 'r1000_rx_action' defined but not used
make[2]: *** [r1000_n.o] Error 1
make[2]: Leaving directory `/home/vlada/r1000_v1.05/src'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/vlada/r1000_v1.05/src'
make: *** [modules] Error 2
root@darkstar:/home/vlada/r1000_v1.05# 
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: Moj HDD je read only ???12.01.2007. u 19:32 - pre 210 meseci
Probaj 2.6.19.1 verziju kernela.
 
Odgovor na temu

Valerij Zajcev

Član broj: 40886
Poruke: 1374
*.dynamic.sbb.co.yu.



+2 Profil

icon Re: Moj HDD je read only ???12.01.2007. u 19:49 - pre 210 meseci
sacu da pustim da se skida, ali u sustini meni ovde fali neki modul koliko sam shvatio, a moduli se u kernel dodaju bez kompajliranja kernela, kako da znam koji mi modul ovde treba?
 
Odgovor na temu

Valerij Zajcev

Član broj: 40886
Poruke: 1374
*.dynamic.sbb.co.yu.



+2 Profil

icon Re: Moj HDD je read only ???12.01.2007. u 23:11 - pre 210 meseci
opet nece :( ljudi jel instalirao jos neko ovo cudo? Nemoguce da sam sam.
 
Odgovor na temu

Valerij Zajcev

Član broj: 40886
Poruke: 1374
*.dynamic.sbb.co.yu.



+2 Profil

icon Re: Moj HDD je read only ???13.01.2007. u 11:04 - pre 210 meseci
Dakle svako ko bude imao ovakav problem neka zna da kernel "2.6.19.2" resava situaciju! :)

Code:
eth0      Link encap:Ethernet  HWaddr 00:15:58:72:AA:90
          inet addr:87.116.175.66  Bcast:87.116.175.255  Mask:255.255.254.0
          inet6 addr: fe80::215:58ff:fe72:aa90/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13329 errors:0 dropped:0 overruns:0 frame:0
          TX packets:837 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1470775 (1.4 MiB)  TX bytes:95997 (93.7 KiB)
          Interrupt:17 Base address:0x4000
 
Odgovor na temu

unleaded

Član broj: 114756
Poruke: 74
81.94.12.*



Profil

icon Re: Moj HDD je read only ???13.01.2007. u 11:32 - pre 210 meseci

Mozda bi radilo i sa kernelom 2.6.18.
Cini mi se da je greska bila ovde:

Citat:
In file included from /lib/modules/2.4.33.3/build/include/asm/highmem.h:25,
from /lib/modules/2.4.33.3/build/include/linux/highmem.h:11,
from /lib/modules/2.4.33.3/build/include/linux/vmalloc.h:8,
from /lib/modules/2.4.33.3/build/include/asm/io.h:47,
from /lib/modules/2.4.33.3/build/include/asm/pci.h:41,
from /lib/modules/2.4.33.3/build/include/linux/pci.h:683


Dakle, vukao je headers iz kernela 2.4.33.3


Programmer is an organism that turns coffee into software.
 
Odgovor na temu

[es] :: Linux :: Moj HDD je read only ???

Strane: 1 2

[ Pregleda: 4087 | Odgovora: 32 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.