Woody : messages boot

Bjr,
Comment peut-on faire pour récupérer les messages (d’erreurs en l’occurrence) du boot sur une woody ?
J’ai essayé en créant un fichier /etc/default/bootlogd mais ça ne donne rien dans le /var/log

Merci

/var/log/messages syslog sys* ?
dmesg ?

re-
Merci, j’y pense jamais, j’ai pu récupérer dmesg.
Si ça parle à quelqu’un Linux version 2.4.18-686 (herbert@gondolin) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Sun Apr 14 11:32:47 EST 2002 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fffc000 (usable) BIOS-e820: 000000003fffc000 - 000000003ffff000 (ACPI data) BIOS-e820: 000000003ffff000 - 0000000040000000 (ACPI NVS) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) Warning only 896MB will be used. Use a HIGHMEM enabled kernel. On node 0 totalpages: 229376 zone(0): 4096 pages. zone(1): 225280 pages. zone(2): 0 pages. Found and enabled local APIC! Kernel command line: root=/dev/hdb10 ro Initializing CPU#0 Detected 1822.568 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3630.69 BogoMIPS Memory: 898596k/917504k available (811k kernel code, 18520k reserved, 231k data, 212k init, 0k highmem) Dentry-cache hash table entries: 131072 (order: 8, 1048576 bytes) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes) Page-cache hash table entries: 262144 (order: 8, 1048576 bytes) CPU: Before vendor init, caps: 0383fbff c1c3fbff 00000000, vendor = 2 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 512K (64 bytes/line) CPU: After vendor init, caps: 0383fbff c1c3fbff 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000 CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000 CPU: AMD Athlon(TM) XP 2500+ stepping 00 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 1822.5503 MHz. ..... host bus clock speed is 331.3726 MHz. cpu: 0, clocks: 3313726, slice: 1656863 CPU0<T0:3313712,T1:1656848,D:1,S:1656863,C:3313726> mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xf1960, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router VIA [1106/3177] at 00:11.0 PCI: Found IRQ 11 for device 00:0d.0 PCI: Sharing IRQ 11 with 01:00.0 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Diskquotas version dquot_6.4.0 initialized devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A block: 128 slots per queue, batch=32 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994 Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 8192 buckets, 64Kbytes TCP: Hash tables configured (established 262144 bind 65536) Linux IP multicast router 0.06 plus PIM-SM RAMDISK: cramfs filesystem found at block 0 RAMDISK: Loading 2632 blocks [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|done. Freeing initrd memory: 2632k freed VFS: Mounted root (cramfs filesystem). Freeing unused kernel memory: 212k freed NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Journalled Block Device driver loaded Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 89 PCI: No IRQ known for interrupt pin A of device 00:11.1. Please try using pci=biosirq. VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: Unknown VIA SouthBridge, contact Vojtech Pavlik <vojtech@suse.cz> hda: ST380215A, ATA DISK drive hdb: Maxtor 6Y080L0, ATA DISK drive hdc: HL-DT-ST DVDRAM GSA-H44N, ATAPI CD/DVD-ROM drive hdd: TEAC CD-W552E, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide0: probed IRQ 14 failed, using default. ide1 at 0x170-0x177,0x376 on irq 15 ide1: probed IRQ 15 failed, using default. hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63 hdb: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63 Partition check: /dev/ide/host0/bus0/target0/lun0: p2 p3 p4 < p5 p6 p7 p8 > /dev/ide/host0/bus0/target1/lun0: [PTBL] [9964/255/63] p1 p2 < p5 p6 p7 p8 p9 p10 p11 > p3 p4 ext3: No journal on filesystem on ide0(3,74) FAT: bogus logical sector size 5632 VFS: Can't find a valid FAT filesystem on dev 03:4a.
La partition est en ext2, formatée par un mke2fs de woody

ide1: probed IRQ 15 failed, bizarre.

on dirait qu’il essaye de monter hda1 en ext3
et hdb1 en fat32
mais en général après /dev/ide/host0/bus0/target0/lun0/ il y a le n° de la partition
je dirais que la table de partition est mal interprété
si tu veux vraiment rattraper ta woody prend un disque, formate le avec le minimum de partition (4 maxi)
efface ext2 puis
rsync -s /point_de_montage/woody /point_montage_nouveau_disque/

re-
Bon ok.
Merci d’avoir pris tout ce temps pour m’aider. Mais comme je n’ai pas d’autre dd je vais rester sur le but premier, càd l’utilisation pour compiler

@+

essaye de refaire tes partitions (une install en partition primaire?)…

Une woody ? Gné ?

re-

[quote=“dchost99”]essaye de refaire tes partitions (une install en partition primaire?)…[/quote]Non plus de place pour une primaire.

Bsr,

[quote=“llapingachos”]Une woody ? Gné ?[/quote]Oui pour m’aider à l’installer sur un vieux portable, sans lecteur cd, ni réseau

[quote=“phlinux”]Bsr,

?
ben si c’est pour un portable tu sort le disque (adaptateur 44 - 40) ldlc.com/fiche/PB00020357.html)
tu debootstrap directement …
et puis si tu veux tu léger
viewtopic.php?f=8&t=22621

Sauf erreur, le périphérique bloc (3,74), ou 03:4a en hexadécimal, correspond plutôt à /dev/hdb10. On dirait qu’il essaie de monter cette partition d’abord en ext3 puis en FAT.
Qu’est-ce que cette partition est censée contenir ?
Que raconte fdisk -l /dev/hdb ?
Que contient /etc/fstab ?

re-
@dchost99 : merci. Mais l’affaire est déjà bien enclenchée. Exemple > : http://forum.debian-fr.org/viewtopic.php?f=3&t=16494

re-
@PascalHambourg
Depuis une autre distrib

Par contre depuis le prompt woody, df et mount renvoient bien /dev/hdb10 en ext2, mais fdisk est “unable” de trouver les disques.
Et un fsck renvoit, entre autres, un “superblock is corrupt” et une invitation à lancer cette commande depuis une autre distrib : cela est sans effet. A noter que quand je reboote sur sid (ma config habituelle) j’arrive à une invite de ctrl+D causée par une erreur sur /dev/hdb10 : il semble donc que la partoche soit corrompue, mais cela vient peut être, vu de sid, du formatage en mke2fs version woody (j’ai jonglé avec une autre partition pour formater la hdb10 avec woody)

Sauf erreur, le périphérique bloc (3,74), ou 03:4a en hexadécimal, correspond plutôt à /dev/hdb10. On dirait qu’il essaie de monter cette partition d’abord en ext3 puis en FAT.
Qu’est-ce que cette partition est censée contenir ?
Que raconte fdisk -l /dev/hdb ?
Que contient /etc/fstab ?[/quote]

Wow tu parle le hexa …

re-
Y’a quand même un truc étrange.

Le fdisk de sid [code]phlinux:/home/phlinux# fdisk -l /dev/hdb

Disk /dev/hdb: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00017146

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 651 5229126 c W95 FAT32 (LBA)
/dev/hdb2 652 4513 31021515 5 Extended
/dev/hdb3 5433 9964 36403290 83 Linux
/dev/hdb4 4514 5432 7381867+ 83 Linux
/dev/hdb5 1566 2489 7421998+ 83 Linux
/dev/hdb6 2490 2620 1052226 82 Linux swap / Solaris
/dev/hdb7 2621 3030 3293293+ 83 Linux
/dev/hdb8 3948 4513 4546363+ 83 Linux
/dev/hdb9 3031 3947 7365771 83 Linux
/dev/hdb10 652 1044 3156709+ 83 Linux
/dev/hdb11 1045 1565 4184901 83 Linux
[/code]

Et celui de woody [code]root@woody:/# fdisk -l /dev/hdb

Disk /dev/hdb: 16 heads, 63 sectors, 158816 cylinders
Units = cylinders of 1008 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 10376 5229126 c Win95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary:
phys=(650, 254, 63) should be (650, 15, 63)
/dev/hdb2 10376 71926 31021515 5 Extended
Partition 2 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 15, 63)
/dev/hdb3 86573 158802 36403290 83 Linux
Partition 3 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 15, 63)
/dev/hdb4 71926 86573 7381867+ 83 Linux
Partition 4 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 15, 63)
/dev/hdb5 24943 39669 7421998+ 83 Linux
/dev/hdb6 39669 41757 1052226 82 Linux swap
/dev/hdb7 41757 48291 3293293+ 83 Linux
/dev/hdb8 62906 71926 4546363+ 83 Linux
/dev/hdb9 48291 62906 7365771 83 Linux
/dev/hdb10 10376 16639 3156709+ 83 Linux
/dev/hdb11 16639 24943 4184901 83 Linux[/code]

Par contre si je check le hda il est strictement similaire dans les 2 sorties