Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Nie za bardzo wiem jak to zrobić .. aby czegoś nie spartolić .. Może jakaś alternatywa?
Ostatnio edytowany przez kondzio14 (2009-03-18 14:53:12)
Offline
Trudno mi powiedzieć
Wszystko wygląda identycznie.
Za bardzo nie mam już pomysła chyba ze jakieś protokóly chrzanią ale to musi się ktoś inny wypowiedzieć bo ja w tym temacie jestem noga.
Poczekamy narazie.
Offline
Kopiowanie jajka:
odpalasz knoppixa, montujesz Debianową partycję / pod /mnt na przykład i kopiujesz:
cp -dpR /lib/modules/2.6.28 (korzystaj z autouzupełniania pod tabulatorem, nazwa może być specyficzna) /mnt/
potem musisz poszukać samego pliku z jądrem. Będzie to bzimage, vmlinuz lub vmlinux. Znjadziesz go w / lub w /boot. Przekopiuj to do /mnt/boot/nazwa-numerek. jak znajdziesz jakiś initrd to też skopiuj do /mnt/boot/initrd.img-numerek. to samo z system.map (pamiętaj o zgodności numerka).
Dalej, wciąż spod knoppixa, edytujesz /mnt/boot/grub/menu.lst
na końcu dopisujesz coś takiego:
title jajo knop
root *opis niżej*
kernel /boot/tak_jak_nazwałeś_kernel-numerek root=*opis jeszcze niżej* ro
initrd /boot/tak_jak_nazwałeś_initrd-numerek
w root (tym pod title) musisz wpisać to, z czego bootuje działający debianowy kernel, najczęsicej jest to (hd0,0), ale porównaj to z innymi wpisami w tym pliku.
w root od kernela na 99% /dev/sda1, ale też skonsultuj się z poprzednimi wpisami do menu.lst.
W razie czego wklejaj pliki i pisz z wątpliwościami.
Ostatnio edytowany przez lis6502 (2009-03-18 15:39:48)
Offline
Dzięki za obecne rozwiązanie .. jeszcze poczekam, może ktoś będzie miał "lepszy" pomysł.. jeśli nie to hm.. będę musiał kopiować jajo. Ale czy nie jest zachowanie mojego interfejsu co najmniej dziwne? Plików żadne ustrojstwo nie edytuje bo dam mu '/etc/init.d/networking restart' i już w normie.. wszystko działa tylko krótko.. mogła mieć na to wpływ instalacja jakiejś dodatkowej paczki? (hmm tylko niczego ostatnio nie instalowałem).
@EDIT
A czy jest możliwość aby uruchomić Debiana z konfiguracją sprzed np. 2 tygodni?
Ostatnio edytowany przez kondzio14 (2009-03-18 15:53:22)
Offline
Hmm przenosic jajo od knopixa eee to lepiej spróbować jajka od siduxa choćby ręcznie z paczki zainstalować.
Tam też jest jajo dosyć polatane.
Czy wynik polecenia
route
na debianie i knoppixie wygląda jednakowo?
EDIT Na jakim właściwie sterze ta sieciówka pracuje
lspci -v
powinno pokazać.
Ostatnio edytowany przez ilin (2009-03-18 16:19:45)
Offline
#lspci -v 00:00.0 RAM memory: nVidia Corporation MCP65 Memory Controller (rev a3) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, 66MHz, fast devsel, latency 0 Capabilities: [44] HyperTransport: Slave or Primary Interface Capabilities: [dc] HyperTransport: MSI Mapping Enable+ Fixed- 00:01.0 ISA bridge: nVidia Corporation MCP65 LPC Bridge (rev a3) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, 66MHz, fast devsel, latency 0 I/O ports at 1d00 [size=256] 00:01.1 SMBus: nVidia Corporation MCP65 SMBus (rev a1) Subsystem: Hewlett-Packard Company Device 30cf Flags: 66MHz, fast devsel, IRQ 10 I/O ports at 3080 [size=64] I/O ports at 3040 [size=64] I/O ports at 3000 [size=64] Capabilities: [44] Power Management version 2 Kernel driver in use: nForce2_smbus Kernel modules: i2c-nforce2 00:01.3 Co-processor: nVidia Corporation MCP65 SMU (rev a1) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 255 Memory at b0080000 (32-bit, non-prefetchable) [size=512K] 00:02.0 USB Controller: nVidia Corporation MCP65 USB Controller (rev a3) (prog-if 10 [OHCI]) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 18 Memory at b0006000 (32-bit, non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2 Kernel driver in use: ohci_hcd Kernel modules: ohci-hcd 00:02.1 USB Controller: nVidia Corporation MCP65 USB Controller (rev a3) (prog-if 20 [EHCI]) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17 Memory at b0007000 (32-bit, non-prefetchable) [size=256] Capabilities: [44] Debug port: BAR=1 offset=0098 Capabilities: [80] Power Management version 2 Kernel driver in use: ehci_hcd Kernel modules: ehci-hcd 00:06.0 Ethernet controller: nVidia Corporation MCP65 Ethernet (rev a3) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20 Memory at b0008000 (32-bit, non-prefetchable) [size=4K] I/O ports at 30e0 [size=8] Capabilities: [44] Power Management version 2 Kernel driver in use: forcedeth Kernel modules: forcedeth 00:07.0 Audio device: nVidia Corporation MCP65 High Definition Audio (rev a1) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21 Memory at b0000000 (32-bit, non-prefetchable) [size=16K] Capabilities: [44] Power Management version 2 Capabilities: [50] MSI: Mask+ 64bit+ Count=1/1 Enable- Capabilities: [6c] HyperTransport: MSI Mapping Enable+ Fixed+ Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel 00:08.0 PCI bridge: nVidia Corporation MCP65 PCI bridge (rev a1) (prog-if 01 [Subtractive decode]) Flags: bus master, 66MHz, fast devsel, latency 0 Bus: primary=00, secondary=07, subordinate=07, sec-latency=64 Memory behind bridge: b0100000-b01fffff Capabilities: [b8] Subsystem: nVidia Corporation Device cb84 Capabilities: [8c] HyperTransport: MSI Mapping Enable+ Fixed- 00:09.0 IDE interface: nVidia Corporation MCP65 IDE (rev a1) (prog-if 8a [Master SecP PriP]) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, 66MHz, fast devsel, latency 0 [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8] [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1] [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8] [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1] I/O ports at 30c0 [size=16] Capabilities: [44] Power Management version 2 Kernel driver in use: AMD_IDE Kernel modules: ata_generic, amd74xx, ide-pci-generic 00:0a.0 IDE interface: nVidia Corporation MCP65 SATA Controller (rev a3) (prog-if 85 [Master SecO PriO]) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23 I/O ports at 30f8 [size=8] I/O ports at 30ec [size=4] I/O ports at 30f0 [size=8] I/O ports at 30e8 [size=4] I/O ports at 30d0 [size=16] Memory at b0004000 (32-bit, non-prefetchable) [size=8K] Capabilities: [44] Power Management version 2 Kernel driver in use: ahci Kernel modules: ahci, ata_generic, ide-pci-generic 00:0b.0 PCI bridge: nVidia Corporation Device 045b (rev a1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Capabilities: [40] Subsystem: nVidia Corporation Device 0000 Capabilities: [48] Power Management version 2 Capabilities: [50] MSI: Mask- 64bit+ Count=1/2 Enable+ Capabilities: [60] HyperTransport: MSI Mapping Enable+ Fixed- Capabilities: [80] Express Root Port (Slot+), MSI 00 Capabilities: [100] Virtual Channel <?> Kernel driver in use: pcieport-driver Kernel modules: shpchp 00:0c.0 PCI bridge: nVidia Corporation MCP65 PCI Express bridge (rev a1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 Memory behind bridge: b0200000-b02fffff Capabilities: [40] Subsystem: nVidia Corporation Device 0000 Capabilities: [48] Power Management version 2 Capabilities: [50] MSI: Mask- 64bit+ Count=1/2 Enable+ Capabilities: [60] HyperTransport: MSI Mapping Enable+ Fixed- Capabilities: [80] Express Root Port (Slot+), MSI 00 Capabilities: [100] Virtual Channel <?> Kernel driver in use: pcieport-driver Kernel modules: shpchp 00:0d.0 PCI bridge: nVidia Corporation MCP65 PCI Express bridge (rev a1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=05, subordinate=05, sec-latency=0 I/O behind bridge: 00004000-00004fff Memory behind bridge: b1000000-b3ffffff Prefetchable memory behind bridge: 00000000c0000000-00000000cfffffff Capabilities: [40] Subsystem: nVidia Corporation Device 0000 Capabilities: [48] Power Management version 2 Capabilities: [50] MSI: Mask- 64bit+ Count=1/2 Enable+ Capabilities: [60] HyperTransport: MSI Mapping Enable+ Fixed- Capabilities: [80] Express Root Port (Slot+), MSI 00 Capabilities: [100] Virtual Channel <?> Kernel driver in use: pcieport-driver Kernel modules: shpchp 00:0e.0 PCI bridge: nVidia Corporation MCP65 PCI Express bridge (rev a1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=09, subordinate=09, sec-latency=0 I/O behind bridge: 00005000-00005fff Memory behind bridge: b4000000-b5ffffff Prefetchable memory behind bridge: 00000000d0000000-00000000d01fffff Capabilities: [40] Subsystem: nVidia Corporation Device 0000 Capabilities: [48] Power Management version 2 Capabilities: [50] MSI: Mask- 64bit+ Count=1/2 Enable+ Capabilities: [60] HyperTransport: MSI Mapping Enable+ Fixed- Capabilities: [80] Express Root Port (Slot+), MSI 00 Capabilities: [100] Virtual Channel <?> Kernel driver in use: pcieport-driver Kernel modules: shpchp 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration Flags: fast devsel Capabilities: [80] HyperTransport: Host or Secondary Interface 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map Flags: fast devsel 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller Flags: fast devsel 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control Flags: fast devsel Capabilities: [f0] Secure device <?> Kernel driver in use: k8temp Kernel modules: k8temp 03:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 02) Subsystem: Hewlett-Packard Company Broadcom 802.11a/b/g WLAN Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at b0200000 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [58] Vendor Specific Information <?> Capabilities: [e8] MSI: Mask- 64bit+ Count=1/1 Enable- Capabilities: [d0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ AERCap: First Error Pointer: 14, GenCap+ CGenEn- ChkCap+ ChkEn- Capabilities: [13c] Virtual Channel <?> Capabilities: [160] Device Serial Number 1a-00-c3-ff-ff-73-71-2b Capabilities: [16c] Power Budgeting <?> Kernel driver in use: b43-pci-bridge Kernel modules: ssb 05:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, fast devsel, latency 0, IRQ 19 Memory at b1000000 (32-bit, non-prefetchable) [size=16M] Memory at c0000000 (64-bit, prefetchable) [size=256M] Memory at b2000000 (64-bit, non-prefetchable) [size=32M] I/O ports at 4000 [size=128] Capabilities: [60] Power Management version 2 Capabilities: [68] MSI: Mask- 64bit+ Count=1/1 Enable- Capabilities: [78] Express Endpoint, MSI 00 Capabilities: [100] Virtual Channel <?> Capabilities: [128] Power Budgeting <?> Capabilities: [600] Vendor Specific Information <?> Kernel driver in use: nvidia Kernel modules: nvidia, nvidiafb 07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05) (prog-if 10 [OHCI]) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, medium devsel, latency 64, IRQ 5 Memory at b0100000 (32-bit, non-prefetchable) [size=2K] Capabilities: [dc] Power Management version 2 Kernel driver in use: ohci1394 Kernel modules: ohci1394 07:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, medium devsel, latency 64, IRQ 7 Memory at b0100800 (32-bit, non-prefetchable) [size=256] Capabilities: [80] Power Management version 2 Kernel driver in use: sdhci Kernel modules: sdhci 07:05.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at b0100c00 (32-bit, non-prefetchable) [size=256] Capabilities: [80] Power Management version 2 Kernel driver in use: ricoh-mmc Kernel modules: ricoh_mmc 07:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12) Subsystem: Hewlett-Packard Company Device 30cf Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at b0101000 (32-bit, non-prefetchable) [size=256] Capabilities: [80] Power Management version 2 07:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff) (prog-if ff) !!! Unknown header type 7f
Na Debianie :
#route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface localnet * 255.255.255.0 U 0 0 0 eth0 default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
'localnet'??? tutaj chyba nie gra..
<edit>jednak localnet to chyba to samo co 192.168.1.0</edit>
Na Knoppiksie:
#route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Ostatnio edytowany przez kondzio14 (2009-03-18 17:52:41)
Offline
Tutaj też jakieś problemy z sieciówką: http://www.archivum.info/pl.comp.os.linux.sprzet/2008-06/msg00137.html
kanold wrote:
> NAPI dla forcedeth masz wlaczone w kernelu? Jezeli tak to wylacz, jezeli
> nie, to wlacz :)
Tylko chciałem zajrzeć do configu, ale nie mogę go znaleźć...
Jak może nazywać się config jeszcze, bo szukałem:
find / -name forcedeth* /lib/modules/2.6.26-1-vserver-amd64/kernel/drivers/net/forcedeth.ko /lib/modules/2.6.28-1-amd64/kernel/drivers/net/forcedeth.ko /lib/modules/2.6.26-1-openvz-amd64/kernel/drivers/net/forcedeth.ko /lib/modules/2.6.26-1-amd64/kernel/drivers/net/forcedeth.ko
Offline
Config kernela to masz w /boot Ty masz 64bt system?
Trzeba jeszcze w logach poszukać dlaczego rozlącza
Najpierw zobacz do /var/log/messages
Offline
Tak mam OS 64 bit. '/var/log/messages' raczej nic ciekawego nie pokazuje .. wprawdzie teraz chodzi niby stabilnie .. tylko www dużo brakuje do tego co było na Knoppix. Pewnie jutro powrócę do tematu .. i logom się jeszcze przyjrzę, ewentualnie tutaj zamieszczę... Grunt, że nie zrywa na tę chwilę .. a co zrobiłem? Nic, dlatego spodziewam się, że problem powróci.
Offline
kondzio14 napisał(-a):
Hmm.. różnicy teoretycznie być nie powinno ilin, ale u mnie jest ona widoczna.. po prostu nie działają DNS'y.. jeśli nie mam ich wpisanych w /etc/resolv.conf, a tylko w /etc/network/interfaces.
wpisy odnosnie dns'ow w /etc/network/interfaces dzialaja tylko gdy masz zainstalowany stosowny pakiet (resolvconf)
co do samego problemu porownaj wynik ifconfig oraz route -n z okresu gdy net dziala i z okresu gdy nie dziala ... sprawdz tez czy nie chodzi gdzies jakis dhclient ...
Offline