[Bug 666265] New: Kernel support for Amiga hard disk drive
https://bugzilla.novell.com/show_bug.cgi?id=666265 https://bugzilla.novell.com/show_bug.cgi?id=666265#c0 Summary: Kernel support for Amiga hard disk drive Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i586 OS/Version: openSUSE 11.3 Status: NEW Severity: Enhancement Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: AmigaPhil@ping.be QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13 The Amiga Fast File System (affs) is supported by the kernel, but real Amiga HDD can't be accessed because of a missing Amiga partition table support. Reproducible: Always Steps to Reproduce: 1. Install an Amiga hard disk drive in the machine 2. Boot the openSUSE system 3. Check the availability of the disk with fdisk Actual Results: Linux1:~ # fdisk -l Disk /dev/sda: 2276 MB, 2276762112 bytes 71 heads, 62 sectors/track, 1010 cylinders Units = cylinders of 4402 * 512 = 2253824 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/sda doesn't contain a valid partition table Expected Results: The tested HDD had 5 partitions which should have been shown as sda1, sda2 ... Linux1:~ # cat /boot/config-`uname -r` | grep -i affs CONFIG_AFFS_FS=m Linux1:~ # modinfo affs filename: /lib/modules/2.6.34.7-0.7-default/kernel/fs/affs/affs.ko license: GPL description: Amiga filesystem support for Linux srcversion: F7CC8EAAB523A5566DDB101 depends: vermagic: 2.6.34.7-0.7-default SMP mod_unload modversions 586TSC Linux1:~ # grep -i Amiga /boot/config-2.6.34.7-0.7-default # CONFIG_AMIGA_PARTITION is not set -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=666265
https://bugzilla.novell.com/show_bug.cgi?id=666265#c1
Philippe Duchenne
https://bugzilla.novell.com/show_bug.cgi?id=666265
https://bugzilla.novell.com/show_bug.cgi?id=666265#c2
--- Comment #2 from Philippe Duchenne
https://bugzilla.novell.com/show_bug.cgi?id=666265
https://bugzilla.novell.com/show_bug.cgi?id=666265#c3
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=666265
https://bugzilla.novell.com/show_bug.cgi?id=666265#c4
Philippe Duchenne
https://bugzilla.novell.com/show_bug.cgi?id=666265
https://bugzilla.novell.com/show_bug.cgi?id=666265#c5
--- Comment #5 from Philippe Duchenne
I can attach here a dump of the root block, but, erm, you have to tell me how to do that (I believe it is with the dd command but don't know the parameters to pass). (Is there a built-in command in Linux to show the content of a binary as hex/ascii ?)
Ok, I found how to do that : Linux1:/home/amigaphil/AmigaD # dd if=Amiga1.img of=Amiga1.root count=16 16+0 records in 16+0 records out 8192 bytes (8.2 kB) copied, 0.0266258 s, 308 kB/s Linux1:/home/amigaphil/AmigaD # hexdump -C Amiga1.root 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000400 52 44 53 4b 00 00 00 40 a9 ce aa f3 00 00 00 07 |RDSK...@........| 00000410 00 00 02 00 00 00 00 40 ff ff ff ff 00 00 00 03 |.......@........| 00000420 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| * 00000440 00 00 50 6b 00 00 00 d8 00 00 00 01 00 00 00 00 |..Pk............| 00000450 00 00 50 6b 00 00 00 00 00 00 00 00 00 00 00 00 |..Pk............| 00000460 00 00 50 6b 00 00 50 6b 00 00 00 03 00 00 00 00 |..Pk..Pk........| 00000470 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000480 00 00 00 00 00 00 00 d7 00 00 00 01 00 00 50 6a |..............Pj| 00000490 00 00 00 d7 00 00 00 00 00 00 00 08 00 00 00 00 |................| 000004a0 51 55 41 4e 54 55 4d 20 56 49 4b 49 4e 47 20 32 |QUANTUM VIKING 2| 000004b0 2e 33 20 57 53 45 20 20 38 38 30 38 00 00 00 00 |.3 WSE 8808....| 000004c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000600 50 41 52 54 00 00 00 40 67 27 10 cc 00 00 00 07 |PART...@g'......| 00000610 00 00 00 04 00 00 00 01 00 00 00 00 00 00 00 00 |................| 00000620 00 00 00 00 03 48 44 30 00 00 00 00 00 00 00 00 |.....HD0........| 00000630 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000680 00 00 00 10 00 00 00 80 00 00 00 00 00 00 00 01 |................| 00000690 00 00 00 01 00 00 00 d8 00 00 00 02 00 00 00 00 |................| 000006a0 00 00 00 00 00 00 00 01 00 00 03 b7 00 00 00 40 |...............@| 000006b0 00 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff |................| 000006c0 44 4f 53 03 00 00 00 00 00 00 00 00 00 00 00 00 |DOS.............| 000006d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000800 50 41 52 54 00 00 00 40 67 26 f9 ec 00 00 00 07 |PART...@g&......| 00000810 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000820 00 00 00 00 03 48 44 31 00 00 00 00 00 00 00 00 |.....HD1........| 00000830 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000880 00 00 00 10 00 00 00 80 00 00 00 00 00 00 00 01 |................| 00000890 00 00 00 01 00 00 00 d8 00 00 00 02 00 00 00 00 |................| 000008a0 00 00 00 00 00 00 03 b8 00 00 16 3e 00 00 00 e0 |...........>....| 000008b0 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 |................| 000008c0 44 4f 53 03 00 00 00 00 00 00 00 00 00 00 00 00 |DOS.............| 000008d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000a00 50 41 52 54 00 00 00 40 67 26 c9 e1 00 00 00 07 |PART...@g&......| 00000a10 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000a20 00 00 00 00 03 48 44 32 00 00 00 00 00 00 00 00 |.....HD2........| 00000a30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000a80 00 00 00 10 00 00 00 80 00 00 00 00 00 00 00 01 |................| 00000a90 00 00 00 01 00 00 00 d8 00 00 00 02 00 00 00 00 |................| 00000aa0 00 00 00 00 00 00 16 3f 00 00 33 e0 00 00 00 c0 |.......?..3.....| 00000ab0 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 |................| 00000ac0 44 4f 53 03 00 00 00 00 00 00 00 00 00 00 00 00 |DOS.............| 00000ad0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000c00 50 41 52 54 00 00 00 40 67 26 a1 7f 00 00 00 07 |PART...@g&......| 00000c10 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000c20 00 00 00 00 03 48 44 33 00 00 00 00 00 00 00 00 |.....HD3........| 00000c30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000c80 00 00 00 10 00 00 00 80 00 00 00 00 00 00 00 01 |................| 00000c90 00 00 00 01 00 00 00 d8 00 00 00 02 00 00 00 00 |................| 00000ca0 00 00 00 00 00 00 33 e1 00 00 3e fe 00 00 00 60 |......3...>....`| 00000cb0 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 |................| 00000cc0 44 4f 53 03 00 00 00 00 00 00 00 00 00 00 00 00 |DOS.............| 00000cd0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000e00 50 41 52 54 00 00 00 40 67 26 84 bc 00 00 00 07 |PART...@g&......| 00000e10 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000e20 00 00 00 00 03 48 44 34 00 00 00 00 00 00 00 00 |.....HD4........| 00000e30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000e80 00 00 00 10 00 00 00 80 00 00 00 00 00 00 00 01 |................| 00000e90 00 00 00 01 00 00 00 d8 00 00 00 02 00 00 00 00 |................| 00000ea0 00 00 00 00 00 00 3e ff 00 00 50 6a 00 00 00 a0 |......>...Pj....| 00000eb0 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 |................| 00000ec0 44 4f 53 03 00 00 00 00 00 00 00 00 00 00 00 00 |DOS.............| 00000ed0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00002000 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=666265
https://bugzilla.novell.com/show_bug.cgi?id=666265#c
Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=666265
https://bugzilla.novell.com/show_bug.cgi?id=666265#c6
Jeff Mahoney
From a quick look at your dump, it looks like your partition table may be corrupt.
Do you happen to have a the log from when the physical disk was attached? I expect it to say something about the checksum. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=666265
https://bugzilla.novell.com/show_bug.cgi?id=666265#c7
Philippe Duchenne
https://bugzilla.novell.com/show_bug.cgi?id=666265
https://bugzilla.novell.com/show_bug.cgi?id=666265#c8
Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com