Mist, newmake YADD IDE klappt wieder nicht

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
Günther
Developer
Beiträge: 587
Registriert: Freitag 9. September 2005, 21:48

Mist, newmake YADD IDE klappt wieder nicht

Beitrag von Günther »

Nachdem es mit meinem bisherigen view nicht geklappt hat, habe ich einfach mal alles neu ausgescheckt und kompiliert. Erst ging es nicht, dann auf einmal doch. Die Festplatte war ansprechbar. Dann wollte ich spaßhalber ext2 ausprobieren. Habe also

Code: Alles auswählen

umount /hdd
mkfs.ext2 -T largefile -m0 /dev/ide/host0/bus0/target0/lun0/part2
ausgeführt und versucht neu zu mounten:
/bin/mount -t ext2 /dev/ide/host0/bus0/target0/lun0/part2 /hdd
hat nicht geklapppt.
start_ide gibts bei newmake nicht also dachte ich ändere ich das in fstab:

Code: Alles auswählen

proc	/proc		proc	defaults	0 0
tmpfs	/tmp		ramfs	defaults	0 0
sysfs	/sys		sysfs	noauto		0 0
devpts  /dev/pts	devpts	noauto		0 0
/dev/ide/host0/bus0/target0/lun0/part2 /hdd ext2 defaults 1 2
neu gestartet, ging nicht.

Also alles zurück, jetzt geht auch ext 3 nicht mehr. Im Verzeichniss /hdd erscheint nichts mehr. (ist wohl nicht gemounted)

Wenn ich per Hand mounten will kommt folgendes:

Code: Alles auswählen

# /bin/mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part2 /hdd
mount: Mounting /dev/ide/host0/bus0/target0/lun0/part2 on /hdd failed: Invalid argument
# /bin/mount ext3 /dev/ide/host0/bus0/target0/lun0/part2 /hdd
mount: Can't find ext3 in /etc/fstab
#          
in der console ist

Code: Alles auswählen

init started:  BusyBox v1.1.3 (2006.09.13-13:31+0000) multi-call Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
dboxide: $Id: main.c,v 1.9 2006/09/11 17:30:00 carjay Exp $
ide: late registration of driver.
dboxide: activating cs2
dboxide: address space of DBox2 IDE CPLD is at: 0xc38aa000
Probing IDE interface ide0...
hda: IC25N030ATCS04-0, ATA DISK drive
ide0 at 0x010-0x017,0x04e on irq 47
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 58605120 sectors (30006 MB) w/1768KiB Cache, CHS=62016/15/63
Partition check:
 /dev/ide/host0/bus0/target0/lun0: [PTBL] [3876/240/63] p1 p2
Journalled Block Device driver loaded
mount: Mounting /dev/ide/host0/bus0/target0/lun0/part2 on /hdd failed: Invalid argument
ip: RTNETLINK answers: File exists
Das Skrip lief im Wiederholungsfall eigentlich ganz gut durch:

Code: Alles auswählen

BusyBox v1.1.3 (2006.09.13-13:31+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# init_hdd.sh
This command will initialize you hard disk. It will irrevocably
ERASE ALL DATA on the disk!! If this is what you want to do,
enter 3.1415926 to continue.
3.1415926
Continuing...
umount: Couldn't umount /hdd: Invalid argument

The number of cylinders for this disk is set to 3876.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 3876.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (1-3876, default 1): Last cylinder or +size or +sizeM or +sizeK (1-3876, default 3876):
Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (15-3876, default 15): Using default value 15
Last cylinder or +size or +sizeM or +sizeK (15-3876, default 3876): Using default value 3876

Command (m for help): Command (m for help): Partition number (1-4): Hex code (type L to list codes): Changed system type of partition 1 to 82 (Linux swap)

Command (m for help):
Disk /dev/ide/host0/bus0/target0/lun0/disc: 30.0 GB, 30005821440 bytes
240 heads, 63 sectors/track, 3876 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

                                Device Boot    Start       End    Blocks   Id  System
/dev/ide/host0/bus0/target0/lun0/part1               1          14      105808+  82  Linux swap
/dev/ide/host0/bus0/target0/lun0/part2              15        3876    29196720   83  Linux

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
Now creating the file system. This may take a few minutes.
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
28544 inodes, 7299180 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
223 block groups
32768 blocks per group, 32768 fragments per group
128 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000


Warning: could not zero block 7299152 at end of filesystem
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:
Warning: had trouble writing out superblocks
done
This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Mit meinem Halbwissen macht das alles irgendwie keinen Spaß :cry:
Weiss jemand Rat?

EDIT: Achja, neben der Umstellung auf ext2 hatte ich zuvor auch ein flashimage kompiliert (oder zumindest versucht, klappte nicht). Dann wieder yadd geflasht, vielleicht ist dabei auch was zu Bruch gegangen. Ich bin mir sicher, wenn ich alles neu ausschecke und kompiliere geht es wieder, aber das kann ja auch nicht die Lösung sein ???

Danke Günther
Günther
Developer
Beiträge: 587
Registriert: Freitag 9. September 2005, 21:48

ich werd noch zum Hirsch

Beitrag von Günther »

jetzt geht es doch wieder...

Keine Ahnung warum... aber der Inhalt der Festplatte ist wieder über ftp sichtbar.

Uff, so ein Glück

Günther :roll:

EDIT: Kommando wieder zurück, geht doch nicht, die angezeigten Files lagen nicht auf der dbox Platte sondern auf meiner Laptopplatte :evil:

Ich brech zusammen

Günther
Tommy
Tuxboxer
Tuxboxer
Beiträge: 4332
Registriert: Dienstag 7. Mai 2002, 17:04

Beitrag von Tommy »

yo zur zeit ist im newmake irgendwie der Wurm drin. Scheinbar ist Barf im Urlaub - müssen wir halt warten :cry:
---------------------------
Alle weiteren Infos findest Du im WIKI
Bitte vor dem posten Boardregeln lesen und verstehen!
Wie erstelle ich ein Bootlog? Wo finde ich die FAQ?
Günther
Developer
Beiträge: 587
Registriert: Freitag 9. September 2005, 21:48

Beitrag von Günther »

So habe die Holzhammermethode angewandt, einfach alles gelöscht, neu ausgescheckt und neu kompiliert, schon klappt es wieder mit dem Yadd und der HDD (wenn das nicht immer so eine ewigkeit dauern würde). Das mit dem flashimage und dem neuen Kernel probiere ich erst wieder wenn barf da ist. Habe zum Glück noch ein älteres Verzeichnis mit 32-Kernel auf der Platte. Da geht auch das Flashimage.

Günther
Rebel1
Interessierter
Interessierter
Beiträge: 87
Registriert: Montag 14. August 2006, 09:10

Beitrag von Rebel1 »

Günther hat geschrieben:So habe die Holzhammermethode angewandt, einfach alles gelöscht, neu ausgescheckt und neu kompiliert, schon klappt es wieder mit dem Yadd und der HDD (wenn das nicht immer so eine ewigkeit dauern würde). Das mit dem flashimage und dem neuen Kernel probiere ich erst wieder wenn barf da ist. Habe zum Glück noch ein älteres Verzeichnis mit 32-Kernel auf der Platte. Da geht auch das Flashimage.

Günther
Hi,
hiermit kompiliert auch wieder das Flashimage mit dem 2.4.33.3 Kernel unter newmake ohne mucken.

Rebel1

Code: Alles auswählen

--- linux-2.4.33.3-dbox2.config-flash   2006-09-15 21:11:40.000000000 +0200
+++ linux-2.4.33.3-dbox2.config-flash   2006-08-11 23:17:21.000000000 +0200
@@ -271,8 +271,33 @@
 #
 # ATA/IDE/MFM/RLL support
 #
-# CONFIG_IDE is not set
+CONFIG_IDE=m
+CONFIG_BLK_DEV_IDE=m
+# CONFIG_BLK_DEV_HD_IDE is not set
 # CONFIG_BLK_DEV_HD is not set
+# CONFIG_BLK_DEV_IDE_SATA is not set
+CONFIG_BLK_DEV_IDEDISK=m
+# CONFIG_IDEDISK_MULTI_MODE is not set
+# CONFIG_IDEDISK_STROKE is not set
+# CONFIG_BLK_DEV_IDECS is not set
+# CONFIG_BLK_DEV_DELKIN is not set
+# CONFIG_BLK_DEV_IDECD is not set
+# CONFIG_BLK_DEV_IDETAPE is not set
+# CONFIG_BLK_DEV_IDEFLOPPY is not set
+# CONFIG_BLK_DEV_IDESCSI is not set
+# CONFIG_IDE_TASK_IOCTL is not set
+# CONFIG_BLK_DEV_CMD640 is not set
+# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
+# CONFIG_BLK_DEV_ISAPNP is not set
+# CONFIG_BLK_DEV_MPC8xx_IDE is not set
+# CONFIG_IDE_CHIPSETS is not set
+# CONFIG_IDEDMA_AUTO is not set
+# CONFIG_DMA_NONPCI is not set
+# CONFIG_BLK_DEV_ATARAID is not set
+# CONFIG_BLK_DEV_ATARAID_PDC is not set
+# CONFIG_BLK_DEV_ATARAID_HPT is not set
+# CONFIG_BLK_DEV_ATARAID_MEDLEY is not set
+# CONFIG_BLK_DEV_ATARAID_SII is not set

 #
 # SCSI support
@@ -588,7 +613,7 @@
 # CONFIG_QUOTA is not set
 # CONFIG_QFMT_V2 is not set
 # CONFIG_AUTOFS_FS is not set
-# CONFIG_AUTOFS4_FS is not set
+CONFIG_AUTOFS4_FS=y
 # CONFIG_REISERFS_FS is not set
 # CONFIG_REISERFS_CHECK is not set
 # CONFIG_REISERFS_PROC_INFO is not set
@@ -621,7 +646,7 @@
 CONFIG_JFFS2_CMODE_PRIORITY=y
 # CONFIG_JFFS2_CMODE_SIZE is not set
 # CONFIG_JFFS2_PROC is not set
-# CONFIG_CRAMFS is not set
+CONFIG_CRAMFS=y
 CONFIG_SQUASHFS=y
 CONFIG_SQUASHFS_EMBEDDED=y
 CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3

  
Barf
Developer
Beiträge: 1475
Registriert: Dienstag 4. Februar 2003, 22:02

Beitrag von Barf »

Siehe http://tuxbox-forum.dreambox-fan.de/for ... &start=214

Ich glaube, die newmake-version von linux-2.4.33.3-dbox2.config-flash die Probleme beheben. Sonst ist es (yet another...) IDE-Problem.
dietmarw
Contributor
Beiträge: 1833
Registriert: Mittwoch 10. April 2002, 15:39

Beitrag von dietmarw »

Günther hat geschrieben:wenn das nicht immer so eine ewigkeit dauern würde
schonmal mit ccache probiert??

jungfräuliches make <90min