samedi 21 juillet 2012

Facelift le bios.

Y'a des jours ou tu te dit que l'affreux BIOS complètement bancal qui te gratifie d'un logo pixellisé à  mort  mérite un traitement choc.

Ben ce jour est arrivé.  

Enfin presque, je vais PROBABLEMENT devoir ouvrir cette machine pour réparer/remplacer le lecteur de disquette (Floppy). 

Avis: la plupart de ces pages proposent des techniques qui ont un potentiel de destruction de données, matériel et plus. Vous êtes avertis.

Mission et collecte d'informations:

Extraire le BIOS depuis l'EEPROM avec l'Universal BIOS Backup Toolkit:

http://forums.mydigitallife.info/threads/9856-Universal-BIOS-Backup-Toolkit


Faire l'ajout d'un boot manager pour l'USB dans le BIOS (probablement LA solution)

http://forum.plop.at/index.php?topic=1154.0


Bref:Editing BIOS for USB boot on the old MB    


Download PLoP Boot Manager //add plpbt.rom in BIOS, not replace? Or what ROM  I must replace with? //Usually your network interface card has a socket for additional boot-ROM.//If activated, it will be called from your BIOS at a specified address.
So you have to add plop to your NIC ROM.// To add plop to your BIOS there is no general recipe...  To give you an idea on BIOS editing take a look at http://rayer.ic.cz/romos/romose.htm


Extraire et remplacer le logo et un lien vers une gallerie de logos:

http://www.flazh.de/en/bios-boot-logo.htm 

Outils pour travailler le BIOS:

http://www.biosflash.de/e/bios-software-tools.htm


Ajouter le support du boot depuis l'USB.  


Extraire un BIOS depuis Linux via Wine

http://smhteam.info/wiki/?wiki=MiseAJoursDuBIOS

Installer wine et cabextract  
#apt-get install wine cabextract
Lancer spXXXXX.exe
wine spXXXXX.exe
Il va se lancer et planter (normal nous ne somme pas sur un pc HP mais sous wine) Extraire Rom.bin du fichier rom.cab se trouvant dans le répertoire ~/.wine/drive_c/SWSetup/SPXXXXX avec cabextract
cd ~/.wine/drive_c/SWSetup/SPXXXXX
cabextract rom.cab
Ça y est vous avez l'image du bios à flasher : Rom.bin
Ressusciter un BIOS:

http://forums.mydigitallife.info/threads/870-Bios-Recovery-Procedures/page102?p=535440&posted=1#post535440

Extrait de conversation depuis une archive web à propos de modification de BIOS HP/Compaq :

http://forums.mydigitallife.info/archive/index.php/t-7681-p-5.html

You may also read this HP BIOS RECOVERY PROCEDURE (http://forums.mydigitallife.info/showpost.php?p=112105&postcount=308)

For those who wants package their own mod:

You need this patched NEW HPQFlash version 4.2.5.3 (http://www.sendspace.com/file/3p9rl1) and this TOOL (http://www.larshederer.homepage.t-online.de/cabpack.htm) to rebuild the ROM.cab (chose MSZIP compression type)
 regards

I've just downloaded this modded BIOS (HP Compaq nx7300 Notebook PC) but after rebooting still with SLIC 2.0...

BEFORE using this manual method look the MODED BIOS's LIST (http://forums.mydigitallife.info/showpost.php?p=111460&postcount=290).

And read this HP BIOS RECOVERY PROCEDURE (http://forums.mydigitallife.info/showpost.php?p=112105&postcount=308)

SLIC 2.1 BIOS update for Laptop HP NC6400

0- download SLIC2.1 collection from Here (http://forums.mydigitallife.info/showthread.php?t=5952) and extract the file Hp[HPQOEMSLIC-MPC-HPQ]2.1.BIN
1- download HxDEN here (http://mh-nexus.de/en/programs.php)
2- download the original BIOS sp36877 (http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=321957&prodSeriesId=1847703&prodNameId=1847704&swEnvOID=2096&swLang=8&mode=2&taskId=135&swItem=ob-54183-1) this one is for HP NC6400 only
3- Once HPQFlash is launched press "Next"
4- in HxDEN: open Hp[HPQOEMSLIC-MPC-HPQ]2.1.BIN, select and copy from HPQOEMSLIC-MPCWINDOWS to the end (170 octets)
5- in HxDEN: open RAM and load HPQFlash.exe
search the string HPQOEMSLIC, select from HPQOEMSLIC-MPCWINDOWS to 1C and replace (paste) theses 170 octets
save changes and close HxDEN
6- in HPQlash windows press "Next" -> updating ROM starts
7- after rebooting SLIC 2.1 is here (check with this TOOL (http://forums.mydigitallife.info/showthread.php?t=6925))

For VISTA/WINDOWS7 HxDen has to be started as Administrator

A great thanks to all who contributes to this result.

This method can be used for other HP models, unfortunately if you find 2 occurrences of the marker (HPQOEMSLIC-MPCWINDOWS....) in your bios file like 6910p, 6710b, 6715b, the SLIC table will remain in version 2.0 after reboot.


I've tried also this method but still not updates SLIC to 2.1. (HP Compaq nx7300 Notebook PC)
How do I update SLIC to 2.1???

Thanx
Annita
17 Sep 2010, 03:45 PM
Hi,

That's sound for me a problem of SLP validation in BIOS. You need a HP DMI TOOL HPBI103.EXE to override this protection.

You have first to build a Bootable DOS floppy or USB pen (http://rapidshare.com/files/113917960/HP_USB_Disk_Storage_Format_Tool.rar) with everyting on it (http://rapidshare.com/files/113919628/MiniDOS.rar) and launch the command HPBI103 read slp, if it is disable, enter HPBI103.EXE write slp on.

HP DMI TOOLS
http://www.filefactory.com/file/ahff26a/n/HP_DMI_Tools-20090325_zip"
HP USB Disk Storage Format Tool:
http://rapidshare.com/files/113917960/HP_USB_Disk_Storage_Format_Tool.rar
MiniDOS:
http://rapidshare.com/files/113919628/MiniDOS.rar


regards

After using this method (and I think it worked) do I have to "close" the write slp function, by booting the same way and entering HPBI103.EXE write slp OFF or there's no need to do it?

Thanx
TTAV134
17 Sep 2010, 04:05 PM
hello,

to make your SLIC table visible the right command is HPBI103.EXE write slp ON, and use SlicDumptoolkit to check.
Annita
17 Sep 2010, 07:47 PM
I've done that and updated the BIOS and it's working, the SLIC shows 2.1.
What I mean is if I need to turn this option to OFF again or leave it always ON???
sebus
17 Sep 2010, 07:58 PM
You want to have it ON, just leave it alone now

sebus
Annita
17 Sep 2010, 08:30 PM
OK, thanx!!! That's what I needed to know...
TTAV134
19 Sep 2010, 05:46 PM
We can see that many users facing problems with SLP validation certainly because they received the laptop with LINUX. To avoid this,I've incl a modification in all BIOS from this LIST (http://forums.mydigitallife.info/threads/7681-This-is-no-request-thread!-HP-COMPAQ-bioses-how-to-modify-the-bios?p=111460#post111460).
From now the tool HPBI103.exe (write SLP ON) is useless.

For those interested by the how to:

The call to "SLP state" sub prog is replaced by some Nop's

Here is an exemple from hp6910p, for other models it is quite same.

mov dword ptr [esi+88h], 0
clc
mov ax, 1
call sub_107C0 ; test if SLP ON
jb short loc_101D1 ; jmp if not
push esi
push edi
push ds
push es
push es
mov ax, 1
push 0F389h
call far ptr 0F000h:30E7h
pop es
assume es:nothing
cld
mov ecx, 9Ch ; 156 octets
mov esi, 0FFFE6300h
mov edi, 0B874h
rep movs byte ptr es:[edi], byte ptr [esi]
cld
mov ecx, 0B6h ; 182 octets
mov esi, 0FFFE6200h ; marker table address


And after modification:

mov dword ptr [esi+88h], 0
clc
mov ax, 1
nop
nop
clc
jb short loc_101D1 ; never jump because of clc
push esi
push edi
push ds
push es
push es
mov ax, 1
push 0F389h
call far ptr 0F000h:30E7h
pop es
assume es:nothing
cld
mov ecx, 9Ch ; 156 octets
mov esi, 0FFFE6300h
mov edi, 0B874h
rep movs byte ptr es:[edi], byte ptr [esi]
cld
mov ecx, 0B6h ; 182 octets
mov esi, 0FFFE6200h ; marker table address

Depending of the model the call "jb short loc_101D1" have been also replaced by Nop's

Voila.

mercredi 18 juillet 2012

L'odeur de l'air saturé de WiFi le matin.

Atheros:

http://www.pettingers.org/code/airraid.html

something similar to fakeap.pl from the good folks at Black Alchemy. Their fakeap.pl is a version that works with Prism chipset wireless cards.

Demande des testeurs

This will generate fully random (wireless) MAC addresses, no WEP (open), full power, use a random assortment of the built-in default ESSIDs, sleep for the default (0.6 sec) between generations, and use all available channels. The MACs will, in all likelihood, almost never be repeated so any scanners will see a nearly infinite number of APs if they watch long enough.

http://www.pettingers.org/media/airraid-0.1.tar.gz

Prism

http://www.blackalchemy.to/project/fakeap/

Fake AP is a proof of concept released under the GPL.

Fake AP runs on Linux (tested on RedHat 7.3). For *BSD versions, see the links below.

Perl 5.6 or later

One or more Prism2/2.5/3 based 802.11b cards with the CVS version of the Host AP Driver for Intersil Prism2/2.5/3 working

fakeap-0.3.2.tar.gz
fakeap-0.3.1.tar.gz



 Their fakeap.pl


 David Coppa has made an OpenBSD version of Fake AP

[2003-07-06 Broken Link, sorry! If you have the new URL, let us know]

Ils Cherche la version BSD.

 A *BSD version from SolarfluX is available
SolarfluX bsdfap





Un portable de plus à remonter.

Je vais lui organiser sa deuxième vie.  Dans mon laboratoire.

jeudi 12 juillet 2012

Gestionnaire de fenêtre ... cassé.

 Enlightenment e17


 apt-get install e17... informatif mais on va passer par synaptic, paquet par paquet.

en cour.

  FVWM 4  
 Openbox:   
Window Maker 


etc contiendra pas mal tout le nécessaire.... 

Edit: Merde. J'ai tout pété. J'aurais dût tester dans une machine virtuelle avant. 

Si le bureau gèle ( 'est pas de la clim' que je parle)





If nothing works, not even changing to a textconsole (alt-ctl-F1)
 or restarting the X-server (alt-ctl-backspace), (Mon préféré)


Le système BRUISE:

The SYSRQ-key (print-key, on the upper right side of the keyboard) will help you
 to cleanly reboot a frozen system.

The following sequence of key-combinations are possible:

# ALT+SYSRQ+R (should give back control of the keyboard )

# ALT+SYSRQ+S (issues a sync)

# ALT+SYSRQ+E (Sends term to all processes but init)

# ALT+SYSRQ+I (Sends kill to all processes but init) Ooooh, j'aime !

# ALT+SYSRQ+U (filesystems are mounted readonly, prevents fsck at reboot)

# ALT+SYSRQ+B (reboots the system, without the previous steps this would be a hard reset).


Source et Crédit:

http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/What_to_do_if_the_desktop_freezes

Francisation du système Linux / Knoppix / Debian


Notes pour franciser mon système.
Testé et j'ai trouvé ça pas mal (pour un échec) :
sudo locale-gen : génère des fichiers de langue.
sudo dpkg-reconfigure locales  
Info sur environnement: env 
apt-get install localepurge ou via synaptic

Choisir langues à conserver au moins utf8, de préférence 2 par lang
ue. 

sudo dpkg-reconfigure localepurge
sudo localepurge
reboot
Franciser un système base Debian d
’après
http://www.debian.org/doc/manuals/fr/debian-fr-howto/ch3.html 
La variable LANGUAGE n'est a priori pas nécessaire si LANG a été définie et si vous n'utilisez qu'une seule langue (le français). Toutefois, vous pouvez ajouter LANGUAGE=fr dans le fichier /etc/environment.

Fait en root via leafpad = idem
sudo tasksel semble calicement efficace. 

Je trouve que locale purge fait vraiment
 un boulot de nettoyage gratifiant après les installations des paquets

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

Trouvailles; 

netenv pour laptops -Chiale si environnement réseau lui conviend pas... 
language-env 
harden-environment pas installé 
---------------------------------------------------------------------------------------
Extrait de:
http://www.debian.org/doc/manuals/fr/debian-fr-howto/ch-autres.html#s6.2 
pour avoir KDE en français :
     apt-get install kde-i18n-fr 

Édit: Pas testé, KDE m'horripile


Si vous êtes le seul utilisateur de votre machine et si vous travaillez uniquement avec un nombre restreint de langues, vous pouvez gagner beaucoup de place en supprimant les fichiers de paramètres régionaux inutiles. 
Le paquet localepurge fait ce travail très proprement.
     apt-get install localepurge


N'oubliez pas de choisir les paramètres régionaux que vous voulez conserver ! En cas de problème, les fichiers de paramètres régionaux supprimés peuvent être récupérés uniquement en réinstallant tous les paquets déjà installés (opération un peu longue). 
Un autre paquet associé aux paramètres régionaux est localeconf
Pour l'instant, je ne lui ai trouvé strictement aucune utilité (rien de plus que ce que propose le debconf de locales). ..
----------------------------------------------------------------------------------------------------- 
Mise-à-jour de l'environnement :  (fonctionne pas pour moi)
http://www.commentcamarche.net/forum/affich-1505592-knoppix-changer-langue-de-tout-le-systeme
réglé le problème en rajoutant dans le fichier /etc/profile : 
export LC_ALL="fr_FR" 
puis une petite mise-à-jour de l'environnement : 
env-update && source /etc/profile 
env-update semble intéressant. Marche pas chez moi. 
--------------------------------------------------------------------------------------

  • From a root shell, edit the file '/ramdisk/skyrix/skyrix41/documents/17780.defaults' and add a new line containing just the string
    language = English;
    to the end of the file, just before the '}' (close-curly-brace) which denotes the end of the configuration information. This should cause the 'andrea' account to use English labels from the start. Do the same thing to the files 10000.defaults and 17210.defaults to change the default language for the 'root' and 'hans' accounts, respectively.

Bonus Fedora:
Try using these steps to change the FEDORA language setting from a command prompt:
  Go to the Fedora system configuration diretory
1. cd /etc/sysconfig
  Make backup copy of your language setting file
2. cp i18n i18n.backup
  Edit language setting file to allow english as default
3. You can edit the file by using nano or vi text editors available on all Fedora systems from SSH. 

I prefer nano so: 4. nano i18n

5. Edit the file to include these lines as the first three lines of the file:
LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16" SUPPORTED="en_US.UTF-8:en_US:en"

  6. Save the file and restart system. 
If you can not restart the system you need to have permission to restart init.d

mardi 10 juillet 2012

Le C pour les Ours

Très fier d'avoir un chum qui s'embarque tellement fort à faire du C qu'y me déstabilise... ou, vus mon état, me restabilise.

Tu clanche ,  Ours en feu !

Hate d,avoir fini mon expérience des OS sur Pentium1  pour m'y mettre moi aussi.

jeudi 5 juillet 2012

Live OS pour Laptop pentium 1 (586 )

Critères base pour qualifier;

Gui (X) + wifi wpa2 sur CD sur pentium1mmx.
plupart des isos testés dans virtualbox.


DSL :
oui.

puppy legacy:
oui Vedette car 1er wifi +/- ok

OpenBSD :
OUi Vedette car wifi super. mais fuck partitions.. et MOCHE.


 Frenzy
BSD
processeur Pentium  32 Mo ram startx... gui magnifique...
test: boot rapide sans problème, netconf lan: network wireless wiconf
pas de wifi mais carte détectée. ---PARFAIT impossible à installer

 
knoppix STD 0.1=
Candidat vedette;   voir toute outils; http://s-t-d.org/tools.html
pas de wifi installe sur hd réussit. et startx ok.

Caine:
splash tres cool beau... mais gel apres boot: live gel, safe; gele; install... gele... debug:gele... nomodeset... gele textonly:idem.... dommage...


 Polippix:
BOOT OK... ÉCRAN NOIR.... BASÉ KUBUNTU=BOOT LENT... AIDE DIT MINIMUM384 MO... VGA=788: AFFICHAGE CORRMPUS... STARTX:... LENT. .. OUI.... TRÈS JOLI!.. MAIS PAS LA PATIENCE.

NimbleX
Slackware-based   CD
no root password is required to log on to the desktop, and the default root password is displayed on NimbleX's web site.

Slax kill bill
oui mais pas de wifi. Mais wine inclus


Slax custom:
non. (a date)

dynebolic.org:
non p2 minimum maintenant et dvd..


OVERCLOCKIX: BOOT OK, WIFI ALLUME... LENT... JOLI... PAS DEWIFI

 swiftlinux
.org ... based on Linux Mint 'Debian' edition  retains the spirit of antiX Linux.  keeping the IceWM and ROX pinboard desktop environment t still small enough to fit onto a CD. Download Swift Linux 0.2.0 Download Diet Swift linux 0.2.0, Special editions Taylor Swift   Minnesota Swift  Chicago Swift   Silicon Valley Swift Linux 0.2.0 (Size: 683.4 MB)

BackBox Linux
 i386, dvd Size: 986,2 MB improved WiFi driver (compat-wireless aircrack patched);

 nutyx
n.org/ ....  Non :686, pas possible de faire fonctionner sur i586 Pentium
mais articles bons: http://www.nutyx.org/articles/view.php?id=112&action=methode-favorite-d-installation-des-nutyxien-ne-s

siduction 12.1.1

DebXPde
Debian-based live CD featuring the LXDE desktop environment and a trimmed-down collection of lightweight applications for everyday tasks.

Fermi Linux LTS (Long Term Support)
is a site distribution based on Scientific Linux, which is in essence Red Hat Enterprise Linux, recompiled. It is Scientific Linux with Fermilab's security hardening

Aptosid
686?

Frugalware
i686...

NetSecL:
  i686  live DVD based on openSUSE (starting from version 3.0, previous versions were based on Slackware Linux)...
Mais: Distribution Release: NetSecL 2.4
 Metasploit is updated to its latest version;  installation CD  (675MB, MD5).
voir; http://distrowatch.com/index.php?distribution=netsecl



knoppix = install wifi wpa2 gui: parfait. Manque d'applications et WM plutôt ordinaire.

Matriux:
dvd     2.2 GB
Debian-based security distribution

Deft:
NON 686 CMOV ftp://ftp.cc.uoc.gr/mirrors/linux/deftlinux/iso/
DEFT 7 is  a new concept of Computer Forensic system that use LXDE as desktop environment and WINE for execute Windows tools under Linux and mount manager as tool for device management.
 http://www.deftlinux.net/about/packets-list/

http://www.desktoplinux.com/news/NS4640953056.html?regen=yes&display=yes
opensuse non live custom; ?
opensuse live = non
geexbox=?
http://wmlive.sourceforge.net/
Juppix
 Linux Live-CD with a comfortable programming environment for the Java, C and O'Caml programming languages that has been distributed to hundreds of undergaduate students at the University of Paris 7 over the last few years.

Descent|OS.
Ubuntu-based desktop Linux distribution featuring a traditional desktop environment (GNOME 2 in the 2.x series, MATE in later versions). The project's mission is to provide an intuitive and modern desktop environment anybody can use.

Cultix.
dvd 1 gb Debian-based distribution
http://sourceforge.net/projects/cultix/files/

http://www.imagineos.com.br/=?

http://fr.wikipedia.org/wiki/Scientific_Linux
http://fr.wikipedia.org/wiki/Syllable presque conforme à la norme POSIX

 anonymos
-shmoo.iso

 beakos

-balam
-xfce-1.7-i386.iso

 bsdanywhere
46-i386.iso

miros
MIR80316.ISO  

openSUSE
-12.1-NET-i586.iso

Petite Linux 11.4
i686.torrent

android
-x86-2.2-generic

elive
_1.9.61-zeitgeist NON CMOV 686

  knoppix
-std-0.1.iso

 MIRB0818
.ISO

  puppy-4.2.1retro-k2.6.

  rescatux
_cdrom_usb_hyb

   super_grub2_disk
_hybri

  ToutouLinux
-431.iso

Liste rapideet inexacte  à classer, doublons inside.

alpine-2.4.4-x86.iso
alterslax.iso
ALTFLUXMySLAX.iso
ALTMySLAX.iso
android-x86-2.2-generic.iso
anonymos-shmoo.iso
beakos-balam-xfce-1.7-i386.i
bsdanywhere46-i386.iso
bt2final.iso
delicate-0.1-alpha2.iso
eeebuntu-3.0-standard.iso
generic_x86.iso.7z

GENTOO
-install-x86-minimal-2
boot ok.
Installation via wi-fi pénible: abandonnée.

haiku
-r1alpha3-iso.zip

hakin9
- 18203-h9l-3.1.2-aur

Helix
2008R1.iso

IcarosLight
_1_4_0.7z
icepuppy
-014.iso

Imagineos
_en-20110605-i486-K

knoppix-std
-0.1.iso.torrent

KNOPPIX_V6.7.1CD-2011-09-14-
parfait

kolibri
_0.7.7.0_iso_en.7z

LighthousePup
-5.03-G.iso

linuxconsole
1.0.2010-cd.iso

minix
_R3.2.0-116fcea.iso.bz2

MIR80316.ISO
MIRB0818.ISO

NimbleX
-2010_Beta.iso

opendarwin-7.2.1.iso.bz2

openSUSE-12.1-NET-i586.iso

papuglinux-11.1a.iso

Petite Linux 11.4 i686

Porteus
-XFCE-v1.2-rc2-i486.i

puppy
-4.2.1retro-k2.6.21.7-s

ReactOS
-0.3.14-REL-iso

salix-ratpoison
-13.37.iso

semplice_2.0.2_203.0.iso

slackware-13.37-iso
slax.iso

SyllableDesktop
-0.6.7-1.i586

ToutouLinux
-431.iso

wifiway
-3.0-final-v2.iso

xubuntu
-12.04
-alternate-i386
-desktop-i386.i

zenwalk-openbox-7.0.iso

Commodore (Joke) http://www.commodoreusa.net/CUSA_OS_Vision_Download.aspx

Aide:
http://freeengineer.org/learnUNIXin10minutes.html
"Knoppix Remaster"


Ergonomique et maximum de wm:
pas de kde
pas de gnome
blackbox,enlightenment, hackedbox, lXDE, XFCE ?

assez de fonctions et lib:
partition+forensic+antiforensic + pentest + anonym
Forage
metasploit + armitage ?
pas de cups
pas de sendmail
pas de auto swap?
pas de graphisme
pas de audio
pas de suite de bureau lourde
pas de chat sauf irc
pas de java
pas de flash sauf si passe par gpl,d stuff...
pas de jeux inutiles.
wine?
 probablement pas virtualbox (trop gros)
tor vidalia ?
dosbox ?
qemu ?
bochs ?
francisé.
support wifi maximal
support pdf iso et convert doc.
code:bloc IDE pour n00b comme moi.
sleuthkit

maximum de browser:
mini ffox
pas chrome chromum pe ok
pas sunbird

Derivatives
CeroWrt[12] - CeroWrt purpose is to complement the debloat-testing kernel tree and provide a platform for real-world testing of bufferbloat fixes.[13]
Chillifire - OpenWrt-based firmware with focus on wireless hotspot management[citation needed]
Coova - OpenWrt-based with focus on wireless hotspots.
Gargoyle[14] - A web interface for OpenWrt with a strong emphasis on usability. It was originally available as a set of packages for OpenWrt. As the author of Gargoyle started to make modifications to the base system layout of OpenWrt, the package system was dropped and the only currently available downloads are full firmware images. Gargoyle makes extensive use of JavaScript, to offload as much work as possible to the client computer, and is focused on ease of use, striving to reach a level comparable to the appliance feel of commercial router firmware.
Flukso - Wireless sensor nodes using an Atheros AR2317 chipset running a patched OpenWrt OS for communication. Sources and hardware schematics available on Github.
FON - OpenWrt-based wireless routers acting as hotspots. Sources and toolchain available on fonosfera.org
FreeWRT - A fork of the OpenWrt project.
Freifunk - German software supports wireless mesh networks with OLSR, based on OpenWrt, available in several languages.
LibreWRT - OpenWrt-based GNU/Linux-libre distribution for computers with minimal resources, such as the Ben Nanonote, ath9k based wifi routers, and other hardware.
Midge Linux
Obelisco - (Website in Spanish)
OpenSAN - OpenWRT-based iSCSI target Storage Area Network realization.
OpenWRT/MLPPP - A fork of OpenWrt and Linux/MLPPP. Offers a better than stock MLPPP implementation (to avoid DPI-based throttling and for line bonding) by using Linux/MLPPP code. Developed by Canadian ISP's Acanac and Caneris, it also features web interface tweaks (mostly to make initial setup and basic configuration easier on the average user) and comes pre-packaged with consumer-oriented features like USB support for their most popular hardware and QoS scripts.
PacketProtector - OpenWrt-based security distribution that includes IDS, IPS, VPN, and web antivirus capabilities.
qMp - OpenWrt distribution for quick deployments of Mesh networks and nodes for wireless community networks.
RO.B.IN - ROBIN (ROuting Batman INside) is an FOSS mesh network project, deployed on top of OpenWrt kamikaze, running on any Atheros AP51 routers and using the B.A.T.M.A.N. routing algorithm.
X-Wrt - Enhancements to the OpenWrt web interface.

mercredi 4 juillet 2012

g_vfs_done():md2[WRITE(offset=434585600, length=131072)]error = 28

g_vfs_done():md2[WRITE(offset=434585600, length=131072)]error = 28

La cause ne semble pas être le cd... mais un manque de mémoire... m'as essayer de faire de la swap et un swapon et de jouer avec la taille du ramdisc avant install au hdd...

J'ai des indices qui suivent en dessous;

Extrait de:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2005-12/msg02078.html


What do I need to fix to be able to use a RAM-backed filesystem?


From mdconfig(8):


-t type
Select the type of the memory disk.


malloc Storage for this type of memory disk is allocated with
malloc(9). This limits the size to the malloc bucket
limit in the kernel. If the -o reserve option is not
set, creating and filling a large malloc-backed memory
disk is a very easy way to panic a system.




It allocates kernel address space which is quite scarce on 32-bit
platforms. I'm not sure if it allocated physical memory. Given the
panicking behavior, I suspect that is deferred.


Yes, that's why -o reserve is recommended to allocate it all up-front.

J'ai testé un install2hdd malloc -o;
y'a skippé complètement la copie des fichiers...
Le script m'a aussi dit que l,install était réussie.
Connard. 

I believe this is mostly accurate. If you're actually out of memory,
there's a good chance you're going to be swapping anyway so this might
or might not actually cost you anything. If you have frequent, randomly
distributed access to the file system it's likely to be expensive. On
the other hand, if there are hot spots, the swapping may be beneficial
because it will allow other processes to proceed more efficiently.


Also in the case when you are not swapping, swap-backed md is actually faster than malloc backed.

En fait, dans mon cas spécifiquement, y'a bien un swap file, mais le live-cd s'en sert pas, même avec un swapon...  Bordel.

Really you need to make sure that whatever you use your system for, you have enough RAM that you never need to swap. Otherwise you're throwing away most of your system's performance for no good reason.

===================================================
Extrait qui peut aider:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2007-08/msg00528.html



Re: kernel panic with memory disks
From: Stefan Lambrev <stefan.lambrev@xxxxxxxxxxxxxxxx>
Date: Tue, 21 Aug 2007 10:32:45 +0300
Hello,


Eric Kjeldergaard wrote:
On 20/08/07, Stefan Lambrev <stefan.lambrev@xxxxxxxxxxxxxxxx> wrote:
Hello,


I do not know if this is know behavior, and I know that 6.2 panic if the
memory disk got full,
but on 7-current the panic is before the disk got full.


Here is what I do:


mdconfig -a -t malloc -s 800m
newfs /dev/md0
mount /dev/md0 /mnt
cp 600mb.file /mnt

Si je suis pas dans le champs, le gars assignait ici 800 megs dans son malloc...

-t type
Select the type of the memory disk.


malloc Storage for this type of memory disk is allocated with
malloc(9). This limits the size to the malloc bucket
limit in the kernel. If the -o reserve option is not
set, creating and filling a large malloc-backed memory
disk is a very easy way to panic a system.
-- mdconfig(8)


I really should read manuals more carefully :) Thanks for the information.


Just one more question - to prevent panic I should use "-o reserve" and have to increase:
vfs.maxmallocbufspace
vfs.bufmallocspace




jeudi 28 juin 2012

OpenBSD: initiation sur 586

C'est assez fabuleux de voir son OS évoluer dans notre face, depuis l'affichage web en mode texte via Lynx et saluer l'arrivée des cadres dans Dillo...

C'est moins cool de pas comprendre pourquoi Chromium se lance pas...

J'ai espoir de pouvoir faire un dual boot avec openSuse puisque la version DVD indique 586... Alors que les live-cd indique 686... WTF ?

Pentium1=586 Pentium 2= 686 etc...

http://ftp.openbsd.org/pub/OpenBSD/5.1/packages/i386/

http://www.gabsoftware.com/tips/tutorial-install-gnome-desktop-and-gnome-display-manager-on-openbsd-4-8/

http://www.nomoa.com/articles/OpenBSD_Fanboys_feel_justified








Pages

Membres