Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 04/11/2008, à 20:45

deax_one

Comment éditer /proc/cmdline? || Options envoyées au noyau

Salut à tous,

j'ai un petit problème suite à une ré-installation.

Je tombe sur un : "Waiting for root file system"
qui échoue,

suite à pas mal de recherches, je pense avoir compris le problème:

mon fichier /proc/cmdline contient n'importe quoi (une suite de caractères cabalistiques)
au lieu de "ro root=/dev/sda2" à mon avis.

J'essaye donc de le modifier depuis un live cd ou chose du genre
mais, même avec les droits administrateurs, je n'y parvient pas!

Des idées?

Merci

Dernière modification par deax_one (Le 05/11/2008, à 14:44)


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#2 Le 05/11/2008, à 12:20

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Salut à tous
(oui oui, vous êtes nombreux même si vous êtes un peu timide pour me répondre big_smile)

un p'tit up,

je n'y arrive toujours pas, ce fichier est-il modifiable à la main???

Aidez-moi, je n'en peu plus de n'être que sous "fenêtre" en attendant...
Merci d'avance


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#3 Le 05/11/2008, à 13:23

MaE$TrO

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Salut,

Le fichier /proc/cmdline contient en fait les arguments donnés au noyau lors du démarrage. Ca sert à rien d'éditer ce fichier. Pour faire court, les parametres qu'il contient sont définis dans /boot/grub/menu.lst. Peux tu poster le contenu de ce fichier ?

Santé

Dernière modification par MaE$TrO (Le 05/11/2008, à 13:24)

Hors ligne

#4 Le 05/11/2008, à 14:32

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

salut MaE$TrO,

merci pour ta réponse,
je viens en effet de lire que le contenu de /proc était virtuel et créé au démarrage
(plus d'infos très intéressantes ici : http://www.linuxfocus.org/Francais/Janu … e324.shtml et là : http://www.redhat.com/docs/manuals/linu … OC-DIR-SYS).

Pour ce qui est de mon grub/menu.lst,
je l'ai vérifié car je pensais que le problème venait de là,
il a l'air correct, toutefois, je n'ai pas d'options particulières en fin de ligne kernel
(je me documente actuellement là-dessus).
Je le posterai ce soir, je suis au boulot là...

'tite info: ma debian (oui, c'est une debian en fait!... big_smile) a démarré grâce au live CD
de gParted qui m'a redemandé le chemin de ma partition racine.

Le problème est donc, selon moi, bien diagnostiqué:
le chemin de ma partition racine ne doit pas être correctement rentré/interprété...


Je poste mon grub/menu.lst ce soir vers 18h.

Merci en tout cas, à+


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#5 Le 05/11/2008, à 14:47

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Je peux pas tester pour l'instant l'envoi d'options au noyau lors du boot,

mais je me demande si les options "acpi=off noapic pci=noacpi nolapic"
ne permettraient pas de solutionner mon problème...

Toutefois, en tant que linuxien curieux (pléonasme?),
je cherche à savoir ce que signifient exactement ces options...

Je transformerai mon problème en "mini How to" avec ce que j'aurais appris...


[edit]Site intéressant détaillant un peu les options à envoyer au noyau:
http://linux-wizard.net/faq.php?section … el_options[/edit]

Dernière modification par deax_one (Le 05/11/2008, à 15:20)


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#6 Le 05/11/2008, à 18:49

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Mon grub/menu.lst

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		15

# Pretty colours
color cyan/blue yellow/red

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
 kopt=root=/dev/sda2 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title		-> Debian GNU/Linux, kernel 2.6.18-6-686 <-
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.18-6-686 root=/dev/sda2 ro 
initrd		/boot/initrd.img-2.6.18-6-686
savedefault

#title		Debian GNU/Linux, kernel 2.6.18-6-686 (single-user mode)
#root		(hd0,1)
#kernel		/boot/vmlinuz-2.6.18-6-686 root=/dev/sda2 ro single
#initrd		/boot/initrd.img-2.6.18-6-686
#savedefault

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title		Windows XP Media Center Edition
root		(hd0,0)
savedefault
chainloader	+1

Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#7 Le 05/11/2008, à 20:34

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Je me permet un p'tit up,

l'utilisation des options "acpi=off noapic pci=noacpi nolapic"
n'a rien donné...

Ma debian démarre toujours en "feintant" par le live CD gParted qui me redemande,
pendant le démarrage, de lui préciser où se trouve le "root block device"...

Des idées?

Merci d'avance


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#8 Le 06/11/2008, à 11:03

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Pour ce qui est du "feintage" par le live CD de gParted,

voici une 'tite vidéo qui montre ce qui se passe
(http://fex.insa-lyon.fr/get?k=cxrUX3cKy5GwFP5vYoH edit : lien mort)

Peut-on en déduire quels paramètres je dois envoyer au noyau lors du boot?

Merci d'avance

Dernière modification par deax_one (Le 20/11/2008, à 11:59)


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#9 Le 06/11/2008, à 12:05

MaE$TrO

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Salut,

Essaie de donner au noyau l'uuid udev plutot que le nom de la partition physique.

Pour ca, dans ton /etc/fstab, tu dois avoir une ligne comme celle ci qui indique ou monter ta partition racine.

UUID=XXXX-XXXXXXXXXXXXXXXXXXx-XXXX / ext3 options...... 0 0

Tu recuperes l'uuid de la partition / et tu le donnes au noyau comme ca :

kernel    /boot/vmlinuz-2.6.18-6-686 root=UUID=XXXXXX-XXX-XXX-XXXXXXXXXXXX ro

Sino, si Debian ne se sert pas de udev et que tu n'as rien qui corresponde à ce que je viens de te dire, envoie à tout hasard le contenu de la commande 'dmesg | grep fs' juste apres avoir booté

Voila, tiens moi au courant

A+

Dernière modification par MaE$TrO (Le 06/11/2008, à 12:07)

Hors ligne

#10 Le 06/11/2008, à 12:58

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Merci MaE$TrO pour ta réponse,

j'ai fait le test avec l'uuid comme tu me l'as indiqué... marche pô...
J'ai aussi mis une label sur mes partitions et tenté ça, ne marche pas non plus...

Je testerai 'dmesg | grep fs' en rentrant ce soir...


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#11 Le 06/11/2008, à 14:53

MaE$TrO

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Regarde aussi ce que te donnes la commande 'fdisk -l' et compare ca avec les entrees contenues dans /boot/grub/menu.lst

A+

Hors ligne

#12 Le 06/11/2008, à 19:54

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

voilà le retour de mon 'dmesg | grep fs'

$ dmesg | grep fs
usbcore: registered new interface driver usbfs
checking if image is initramfs... it is
IA-32 Microcode Update Driver: v1.14a <tigran@aivazian.fsnet.co.uk>
squashfs: version 3.1 (2006/08/19) Phillip Lougher
st: Version 20070203, fixed bufsize 32768, s/g segs 256
usbmon: debugfs is not available
EXT3-fs: mounted filesystem with ordered data mode.
EXT3-fs: mounted filesystem with ordered data mode.

complet:

 000000007ff00000 type: 2
copy_e820_map() start: 00000000e0000000 size: 0000000010000000 end: 00000000f0000000 type: 2
copy_e820_map() start: 00000000fec00000 size: 0000000001400000 end: 0000000100000000 type: 2
 BIOS-e820: 0000000000000000 - 0000000000098800 (usable)
 BIOS-e820: 0000000000098800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007fee0000 (usable)
 BIOS-e820: 000000007fee0000 - 000000007fee3000 (ACPI NVS)
 BIOS-e820: 000000007fee3000 - 000000007fef0000 (ACPI data)
 BIOS-e820: 000000007fef0000 - 000000007ff00000 (reserved)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
1150MB HIGHMEM available.
896MB LOWMEM available.
Entering add_active_range(0, 0, 524000) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->   229376
  HighMem    229376 ->   524000
early_node_map[1] active PFN ranges
    0:        0 ->   524000
On node 0 totalpages: 524000
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 1760 pages used for memmap
  Normal zone: 223520 pages, LIFO batch:31
  HighMem zone: 2301 pages used for memmap
  HighMem zone: 292323 pages, LIFO batch:31
DMI 2.3 present.
Allocating PCI resources starting at 80000000 (gap: 7ff00000:60100000)
Built 1 zonelists.  Total pages: 519907
Kernel command line: ‹h‹XLë‹h‹XP…Ûtÿt$t‰ù‹T$‹D$ÿÓ‰D$[ëI‹\$‹s‹ƒÃÿt$t‰ñ‹D$ÿÕY…Ày
ƒ|$
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 1862.119 MHz processor.
Speakup v-2.00 CVS: Fri Apr 13 13:49:34 EDT 2007 : initialized
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2067772k/2096000k available (4085k kernel code, 26944k reserved, 1482k data, 384k init, 1178496k highmem)
virtual kernel memory layout:
    fixmap  : 0xfffef000 - 0xfffff000   (  64 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
    lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
      .init : 0xc0674000 - 0xc06d4000   ( 384 kB)
      .data : 0xc04fd7f6 - 0xc0670294   (1482 kB)
      .text : 0xc0100000 - 0xc04fd7f6   (4085 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3725.50 BogoMIPS (lpj=1862754)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e3bd 00000000 00000001
monitor/mwait feature present.
using mwait in idle threads.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e3bd 00000000 00000001
Compat vDSO mapped to ffffe000.
CPU: Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz stepping 06
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 3.00 entry at 0xfb7c0, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
libata version 2.20 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
PCI: Firmware left 0000:02:08.0 e100 interrupts enabled, disabling
PCI: Transparent bridge - 0000:00:1e.0
ieee1394: Initialized config rom entry `ip1394'
PCI: Bridge: 0000:00:01.0
  IO window: d000-dfff
  MEM window: fa000000-fcffffff
  PREFETCH window: d0000000-dfffffff
Time: tsc clocksource has been installed.
PCI: Bridge: 0000:00:1e.0
  IO window: e000-efff
  MEM window: fdd00000-fddfffff
  PREFETCH window: fde00000-fdefffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 3405k freed
IA-32 Microcode Update Driver: v1.14a <tigran@aivazian.fsnet.co.uk>
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
NTFS driver 2.1.28 [Flags: R/O].
fuse init (API version 7.8)
JFS: nTxBlock = 8192, nTxLock = 65536
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
PCI: Setting latency timer of device 0000:00:01.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:01.0:pcie00]
Real Time Clock Driver v1.12ac
initialized device: /dev/synth, node ( MAJOR 10, MINOR 25 )
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected an Intel 945G Chipset.
agpgart: AGP aperture is 256M @ 0x0
[drm] Initialized drm 1.1.0 20060810
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM chipsets
intelfb: Version 0.9.4
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
parport0: irq 7 detected
RAMDISK driver initialized: 16 RAM disks of 16396K size 1024 blocksize
loop: loaded (max 8 devices)
Compaq SMART2 Driver (v 2.6.0)
HP CISS Driver (v 3.6.14)
v2.3 : Micro Memory(tm) PCI memory board block driver
MM: desc_per_page = 128
usbcore: registered new interface driver ub
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH7: IDE controller at PCI slot 0000:00:1f.1
ICH7: chipset revision 1
ICH7: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfb00-0xfb07, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: SONY DVD RW DW-G121A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(66)
Uniform CD-ROM driver Revision: 3.20
Loading iSCSI transport class v2.0-724.
Loading Adaptec I2O RAID: Version 2.4 Build 5go
Detecting Adaptec I2O RAID controllers...
Adaptec aacraid driver (1.1-5[2423]-mh3)
aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
scsi: <fdomain> Detection failed (no card)
NCR53c406a: no available ports found
sym53c416.c: Version 1.0.0-ac
qlogicfas: no cards were found, please specify I/O address and IRQ using iobase= and irq= options<6>QLogic Fibre Channel HBA Driver
Emulex LightPulse Fibre Channel SCSI driver 8.1.11
Copyright(c) 2004-2006 Emulex.  All rights reserved.
Failed initialization of WD-7000 SCSI card!
DC390: clustering now enabled by default. If you get problems load
	with "disable_clustering=1" and report to maintainers
megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
megasas: 00.00.03.10-rc1 Wed Feb 14 10:14:25 PST 2007
GDT-HA: Storage RAID Controller Driver. Version: 3.05
GDT-HA: Found 0 PCI Storage RAID Controllers
3ware Storage Controller device driver for Linux v1.26.02.002.
3ware 9000 Storage Controller device driver for Linux v2.26.02.008.
imm: Version 2.05 (for Linux 2.4.0)
nsp32: loading...
RocketRAID 3xxx SATA Controller driver v1.0 (060426)
st: Version 20070203, fixed bufsize 32768, s/g segs 256
ahci 0000:00:1f.2: version 2.1
Clocksource tsc unstable (delta = 303779610 ns)
Time: pit clocksource has been installed.
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl RAID mode
ahci 0000:00:1f.2: flags: 64bit ncq led clo pio slum part 
ata1: SATA max UDMA/133 cmd 0xf8cdc100 ctl 0x00000000 bmdma 0x00000000 irq 15
ata2: SATA max UDMA/133 cmd 0xf8cdc180 ctl 0x00000000 bmdma 0x00000000 irq 15
ata3: SATA max UDMA/133 cmd 0xf8cdc200 ctl 0x00000000 bmdma 0x00000000 irq 15
ata4: SATA max UDMA/133 cmd 0xf8cdc280 ctl 0x00000000 bmdma 0x00000000 irq 15
scsi2 : ahci
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7: WDC WD2500JS-22NCB1, 10.02E02, max UDMA/133
ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi3 : ahci
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: WDC WD2500JS-22NCB1, 10.02E02, max UDMA/133
ata2.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi4 : ahci
ata3: SATA link down (SStatus 0 SControl 300)
scsi5 : ahci
ata4: SATA link down (SStatus 0 SControl 300)
scsi 2:0:0:0: Direct-Access     ATA      WDC WD2500JS-22N 10.0 PQ: 0 ANSI: 5
sd 2:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 < sda5 sda6 > sda4
sd 2:0:0:0: [sda] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg0 type 0
scsi 3:0:0:0: Direct-Access     ATA      WDC WD2500JS-22N 10.0 PQ: 0 ANSI: 5
sd 3:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1
sd 3:0:0:0: [sdb] Attached SCSI disk
sd 3:0:0:0: Attached scsi generic sg1 type 0
aoe: AoE v32 initialised.
usbmon: debugfs is not available
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 9, io mem 0xfdfff000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
116x: driver isp116x-hcd, 03 Nov 2005
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 9, io base 0x0000ff00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 15, io base 0x0000fe00
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 15, io base 0x0000fd00
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 1-8: new high speed USB device using ehci_hcd and address 2
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 10, io base 0x0000fc00
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 1-8: configuration #1 chosen from 1 choice
sl811: driver sl811-hcd, 19 May 2005
Initializing USB Mass Storage driver...
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input0
inport.c: Didn't find InPort mouse at 0x23c
logibm.c: Didn't find Logitech busmouse at 0x23c
input: ImPS/2 Generic Wheel Mouse as /class/input/input1
i2c /dev entries driver
i2c-core: driver [dev_driver] registered
EISA: Probing bus 0 at eisa.0
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Using IPI Shortcut mode
Freeing unused kernel memory: 384k freed
PCI: Setting latency timer of device 0000:02:03.0 to 64
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[15]  MMIO=[fddff000-fddff7ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0010dc00010ca5fc]
scsi 6:0:0:0: Direct-Access     Generic  Flash HS-CF      4.55 PQ: 0 ANSI: 0
sd 6:0:0:0: [sdc] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg2 type 0
scsi 6:0:0:1: Direct-Access     Generic  Flash HS-MS/SD   4.55 PQ: 0 ANSI: 0
sd 6:0:0:1: [sdd] Attached SCSI removable disk
sd 6:0:0:1: Attached scsi generic sg3 type 0
scsi 6:0:0:2: Direct-Access     Generic  Flash HS-SM      4.55 PQ: 0 ANSI: 0
sd 6:0:0:2: [sde] Attached SCSI removable disk
sd 6:0:0:2: Attached scsi generic sg4 type 0
usb-storage: device scan complete
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2096440k swap on /dev/sda5.  Priority:-1 extents:1 across:2096440k
EXT3 FS on sda2, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2011-11-11 12:11 46EF-7D75 -> ../../sda4
lrwxrwxrwx 1 root root 10 2011-11-11 12:11 61e4efb1-80bb-4b5a-bb5f-2d382e311b0f -> ../../sda6
lrwxrwxrwx 1 root root 10 2011-11-11 12:11 e50339f6-7499-4ba8-8d28-b0ac74e5853a -> ../../sda2
lrwxrwxrwx 1 root root 10 2011-11-11 12:11 e5680e8e-8468-4aa2-9198-9de7d541cd9b -> ../../sdb1
lrwxrwxrwx 1 root root 10 2011-11-11 12:11 EE1067E81067B66D -> ../../sda1
# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        7833    62918541    7  HPFS/NTFS
/dev/sda2   *        9139       12271    25165822+  83  Linux
/dev/sda3           12272       30401   145629225    5  Extended
/dev/sda4            7834        9138    10482412+   b  W95 FAT32
/dev/sda5           12272       12532     2096451   82  Linux swap / Solaris
/dev/sda6           12533       30401   143532711   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       30401   244196001   83  Linux

Perso, rien ne me choque là dedans... et toi?

Dernière modification par deax_one (Le 06/11/2008, à 20:44)


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#13 Le 09/11/2008, à 16:47

MaE$TrO

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

le truc choquant dans dmesg reste ce que t'as décrit avant:

Kernel command line: ‹h‹XLë‹h‹XP…Ûtÿt$t‰ù‹T$‹D$ÿÓ‰D$[ëI‹\$‹s‹ƒÃÿt$t‰ñ‹D$ÿÕY…Ày
ƒ|$

Je vois qu'une chose, c'est un /boot/grub/menu.lst malformé.

Alors je sais pas, essaie peut etre de commenter la ligne "kopt=root=/dev/sda2 ro" (le contenu de cette variable ira aussi dans /proc/cmdline) dans menu.lst ou peut etre d'enlever les caracteres '->' et '<-' à ta ligne title.

Sinon, à tout hasard, as-tu édité /boot/grub/menu.lst sous un windows ??

Hors ligne

#14 Le 09/11/2008, à 18:11

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Salut Maestro,

effectivement, cette ligne est dérangeante
et je pense que le problème vient de là...

Je n'ai pas édité menu.lst sous Windows mais directement sous Linux via nano,
pour ce qui est du commentaire sur la ligne kopt,
j'ai déjà essayé avec ou sans
et idem pour les décos "->" et "<-" (qui ne servent à rien, je l'avoue... big_smile )

Je vais me réécrire un p'tit bout du menu.lst histoire de me prévenir de problèmes de caractères invisibles ou de choses comme ça (problèmes que j'avais eu au boulot dû à des tranferts ftp, mais là, il n'y a pas de raison...)


Je tente ça aussi,
et je repasse d'ici peu,

en tout cas, merci pour ta persévérance!


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#15 Le 09/11/2008, à 18:27

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Pas mieux!...

D'autres idées?

Ce que je pige pas c'est comment et pourquoi il boote sans trop de problème (à part qu'il me redemande le chemin du root file system) par le live cd de gparted...
Il doit y avoir un souci dans l'indication que je lui donne par grub & co mais je vois pas quoi...
J'ai déjà tenté en mettant l'uuid, comme tu me l'avais conseillé, et même en étiquetant mes partochs et en faisant une référence au label...

Un peu dépité là...
Si t'as d'autres idées, je t'avoue que je suis preneur de quoi que ce soit...


J'étudie le dpkg-reconfigure que j'ai vu sur d'autres forums...


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#16 Le 09/11/2008, à 18:48

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

'tite question: un UUID, c'est pas sensé rester identique???!!!

l'uuid de ma partoch change...!


edit: j'ai dit une bêtise, je crois qu'il a changé lors d'un formatage... hihi

Dernière modification par deax_one (Le 09/11/2008, à 19:26)


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#17 Le 09/11/2008, à 23:01

MaE$TrO

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Peut-etre y a-t-il un probleme au niveau de la création des regles udev (/etc/rules.d) mais ma connaissance s'arrete la et je dis peut etre des betises.

Sinon, tentes un update-grub. Mais si ton uuid change a chaque fois, le pauvre il va s'y perdre... Regarde du coté des regles udev (?)

A+

Hors ligne

#18 Le 09/11/2008, à 23:40

deax_one

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Je vais me plonger dans les règles udev...

J'y jetterai un oeil,
mais pour l'instant c'est plutôt l'éponge que j'ai jeté...

J'ai installé l'Intrepid Ibex, et pas de pblm au moment de booter,
(installation identique à debian, j'ai viré deb et j'ai installé sur la même partoch et tt et tt (je précise aussi que j'ai tenté 2 installs de debian (stable et testing...)))
je vais maintenant tenter une réinstallation de ma debian
en multi-boot avec Ibex et Windows,
sans réinstaller le grub, en modifiant juste celui installé avec Ibex...


Voilà voilà,
je vais me pencher dans les règles udev parce que, de ce que j'en ai vu, ça permet une bonne flexibilité, optimisation et gestion du matos.


En tout cas, merci encore, de mes nouvelles d'ici peu! wink


Jabber : mat@jabber.lutix.org
[img]http://lutix.org/images/mini_lutix.png[/img]

Hors ligne

#19 Le 25/09/2013, à 14:04

oLiVe007

Re : Comment éditer /proc/cmdline? || Options envoyées au noyau

Salut,

Désolé, pour cette réponse très tardive, mais peut-être que le problème vient d'un mauvais système de fichier.

J'ai eu un problème similaire une fois.
J'ai fini par créer une table de partition comme celle ci pour résoudre le problème

/dev/sda
   /dev/sda1 = 100Mb Partition EFI ou BIOS-boot
   /dev/sda2 = 500Mb ext2 /boot
   /dev/sda3 = ~72Gb ext4 /
   /dev/sda4 = 6Gb swap
/dev/sdb
   /dev/sdb1 = 250Gb ext4 /home


Bricoleur de l'informatique à temps plein.
Matos : J'ai trop d'ordinateur pour un seul homme ;)

Hors ligne