* [Bug 14708] New: Option remap63 for OnTrack diskmanager not work - kernel panic, unable to mount root filesystem
@ 2009-12-01  0:22 bugzilla-daemon
  2009-12-01  0:28 ` David Miller
  2009-12-01  0:28 ` [Bug 14708] " bugzilla-daemon
  0 siblings, 2 replies; 6+ messages in thread
From: bugzilla-daemon @ 2009-12-01  0:22 UTC (permalink / raw)
  To: linux-ide
http://bugzilla.kernel.org/show_bug.cgi?id=14708
           Summary: Option remap63 for OnTrack diskmanager not work -
                    kernel panic, unable to mount root filesystem
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 2.6.31
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: IDE
        AssignedTo: io_ide@kernel-bugs.osdl.org
        ReportedBy: sachse@gmx.net
        Regression: No
2.4.x has recognized OnTrack Diskmanager automaticaly.
2.6.0 - 2.6.21 supports option "hda=remap63".
2.6.31 ignore this option.
2.6.22 - 2.6.30 not testet.
system configuration
--------------------
livecd ~ # uname -a
Linux livecd 2.6.19-gentoo-r5 #1 SMP Tue Apr 3 01:19:22 UTC 2007 i586 Pentium
75 - 200 GenuineIntel GNU/Linux
------------
livecd ~ # fdisk -l
Disk /dev/hda: 100.0 GB, 100030210560 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         261     2096451    6  FAT16
/dev/hda2             262         759     4000153+   7  HPFS/NTFS
/dev/hda3             760         761       16033+  83  Linux
/dev/hda4             762       12161    91570500    5  Extended
/dev/hda5             762         824      506016   82  Linux swap / Solaris
/dev/hda6             825        9579    70324506   83  Linux
/dev/hda7            9580       12161    20739883+   7  HPFS/NTFS
NOTE:
This fdisk output is with hda=remap63
-----------
livecd ~ # cat /mnt/gentoo/etc/lilo.conf
boot = /fs/lwc/bootsect.lin
map = /boot/.map
lba32
# Here you can select the secondary loader to install.  A few
# examples is:
#
#    boot-text.b
#    boot-menu.b
#    boot-bmp.b
#
install = /boot/boot-bmp.b   # Note that for lilo-22.5.5 or later you
                              # do not need boot-{text,menu,bmp}.b in
                              # /boot, as they are linked into the lilo
                              # binary.
bitmap=/boot/ccc-logo.bmp
bmp-table=30,4,,,,
bmp-timer=67,5,,,
prompt
timeout=50
vga = 791
image = /boot/bzImage-2.6.31-r3
        root = /dev/hda6
        append = "hda=remap63 resume=/dev/hda5"   #need for ontrack - panic
        label = Linux-2.6.31-r3
image = /boot/bzImage-2.6.21-r4
        root = /dev/hda6
        append = "hda=remap63 resume=/dev/hda5"   #need for ontrack
        label = Linux-2.6.21-r4
image = /boot/bzImage-2.6.18-r4
        root = /dev/hda6
        append = "hda=remap63 resume=/dev/hda5"   #need for ontrack
        label = Linux-2.6.18-r4
image = /boot/bzImage-2.6.15-r1
        root = /dev/hda6
        append = "hda=remap63 resume=/dev/hda5"   #need for ontrack
        label = Linux-2.6.15-r1
image = /boot/memtest
        label = memtest
-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply	[flat|nested] 6+ messages in thread- * Re: [Bug 14708] New: Option remap63 for OnTrack diskmanager not work - kernel panic, unable to mount root filesystem
  2009-12-01  0:22 [Bug 14708] New: Option remap63 for OnTrack diskmanager not work - kernel panic, unable to mount root filesystem bugzilla-daemon
@ 2009-12-01  0:28 ` David Miller
  2009-12-01  0:28 ` [Bug 14708] " bugzilla-daemon
  1 sibling, 0 replies; 6+ messages in thread
From: David Miller @ 2009-12-01  0:28 UTC (permalink / raw)
  To: bugzilla-daemon; +Cc: linux-ide
From: bugzilla-daemon@bugzilla.kernel.org
Date: Tue, 1 Dec 2009 00:22:58 GMT
> http://bugzilla.kernel.org/show_bug.cgi?id=14708
> 
>            Summary: Option remap63 for OnTrack diskmanager not work -
>                     kernel panic, unable to mount root filesystem
This was intentionally removed see:
commit d708c40da83a86551556999e924e27fdc43dad71
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date:   Sat Mar 22 16:40:22 2008 +0100
    ide: mark "hdx=remap" and "hdx=remap63" kernel parameters as obsoleted
    
    Mark "hdx=remap" and "hdx=remap63" kernel parameters as obsoleted
    (they are layering violation and should be dealt with in the same
     way as done by libata - device-mapper should be used instead).
    
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
^ permalink raw reply	[flat|nested] 6+ messages in thread
- * [Bug 14708] Option remap63 for OnTrack diskmanager not work - kernel panic, unable to mount root filesystem
  2009-12-01  0:22 [Bug 14708] New: Option remap63 for OnTrack diskmanager not work - kernel panic, unable to mount root filesystem bugzilla-daemon
  2009-12-01  0:28 ` David Miller
@ 2009-12-01  0:28 ` bugzilla-daemon
  1 sibling, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2009-12-01  0:28 UTC (permalink / raw)
  To: linux-ide
http://bugzilla.kernel.org/show_bug.cgi?id=14708
--- Comment #1 from David S. Miller <davem@davemloft.net>  2009-12-01 00:28:58 ---
From: bugzilla-daemon@bugzilla.kernel.org
Date: Tue, 1 Dec 2009 00:22:58 GMT
> http://bugzilla.kernel.org/show_bug.cgi?id=14708
> 
>            Summary: Option remap63 for OnTrack diskmanager not work -
>                     kernel panic, unable to mount root filesystem
This was intentionally removed see:
commit d708c40da83a86551556999e924e27fdc43dad71
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date:   Sat Mar 22 16:40:22 2008 +0100
    ide: mark "hdx=remap" and "hdx=remap63" kernel parameters as obsoleted
    Mark "hdx=remap" and "hdx=remap63" kernel parameters as obsoleted
    (they are layering violation and should be dealt with in the same
     way as done by libata - device-mapper should be used instead).
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-14708-11633@https.bugzilla.kernel.org/>]
- * [Bug 14708] Option remap63 for OnTrack diskmanager not work - kernel panic, unable to mount root filesystem
       [not found] <bug-14708-11633@https.bugzilla.kernel.org/>
@ 2010-11-14 23:14 ` bugzilla-daemon
  2012-06-18 12:51 ` bugzilla-daemon
  2012-06-18 12:51 ` bugzilla-daemon
  2 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-11-14 23:14 UTC (permalink / raw)
  To: linux-ide
https://bugzilla.kernel.org/show_bug.cgi?id=14708
--- Comment #2 from sachse@gmx.net  2010-11-14 23:14:40 ---
remap63 is still missing and device mapper is not working!
Please provide a solution here!
$ fdisk -l /dev/hda
Disk /dev/hda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1027     8249373   54  OnTrackDM6
$ echo 0 $(( `blockdev --getsize /dev/hda` - 63 )) linear /dev/hda 63
|dmsetup create dmhda
$ fdisk -l /dev/mapper/dmhda
Disk /dev/mapper/dmhda: 100.0 GB, 100030210560 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
            Device Boot      Start         End      Blocks   Id  System
/dev/mapper/dmhda1   *           1         261     2096451    6  FAT16
/dev/mapper/dmhda2             262         759     4000153+   7  HPFS/NTFS
/dev/mapper/dmhda3             760         761       16033+  83  Linux
/dev/mapper/dmhda4             762       12161    91570500    5  Extended
/dev/mapper/dmhda5             762         824      506016   82  Linux swap
/dev/mapper/dmhda6             825        9579    70324506   83  Linux
/dev/mapper/dmhda7            9580       12161    20739883+   7  HPFS/NTFS
Disk /dev/mapper/dmhda: 255 heads, 63 sectors, 12161 cylinders
Nr AF  Hd Sec  Cyl  Hd Sec  Cyl     Start      Size ID
 1 80   1   1    0 254  63  260         63    4192902 06
 2 00   1   1  261 254  63  758    4193028    8000307 07
 3 00   1   1  759 254  63  760   12193398      32067 83
 4 00   0   1  761 254  63 1023   12225465  183141000 05
 5 00   1   1  761 254  63  823         63    1012032 82
 6 00   1   1  824 254  63 1023         63  140649012 83
 7 00 254  63 1023 254  63 1023         63   41479767 07
$ kpartx -l /dev/mapper/dmhda
dmhda1 : 0 4192902 /dev/mapper/dmhda 63
dmhda2 : 0 8000307 /dev/mapper/dmhda 4193028
dmhda3 : 0 32067 /dev/mapper/dmhda 12193398
dmhda4 : 0 183141000 /dev/mapper/dmhda 12225465
dmhda5 : 0 1012032 /dev/dm-3 63              <- FAIL
dmhda6 : 0 140649012 /dev/dm-3 1012158       <- FAIL
dmhda7 : 0 41479767 /dev/dm-3 141661233      <- FAIL
FAIL because kpartx is unable to handle logical paritions.
livecd ~ # partx -av /dev/mapper/dmhda
device /dev/mapper/dmhda: start 0 size 195371505
gpt: 0 slices
dos: 7 slices
# 1:        63-  4192964 (  4192902 sectors,   2146 MB)
# 2:   4193028- 12193334 (  8000307 sectors,   4096 MB)
# 3:  12193398- 12225464 (    32067 sectors,     16 MB)
# 4:  12225465-195366464 (183141000 sectors,  93768 MB)
# 5:  12225528- 13237559 (  1012032 sectors,    518 MB)
# 6:  13237623-153886634 (140649012 sectors,  72012 MB)
# 7: 153886698-195366464 ( 41479767 sectors,  21237 MB)
reduced size of partition #4 to 63
BLKPG: Invalid argument
error adding partition 1
BLKPG: Invalid argument
error adding partition 2
BLKPG: Invalid argument
error adding partition 3
BLKPG: Invalid argument
error adding partition 4
BLKPG: Invalid argument
error adding partition 5
BLKPG: Invalid argument
error adding partition 6
BLKPG: Invalid argument
error adding partition 7
livecd ~ # ls /dev/mapper/
control  dmhda
FAIL: partx detects the partitions but is unable to add a partition.
-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply	[flat|nested] 6+ messages in thread
- * [Bug 14708] Option remap63 for OnTrack diskmanager not work - kernel panic, unable to mount root filesystem
       [not found] <bug-14708-11633@https.bugzilla.kernel.org/>
  2010-11-14 23:14 ` bugzilla-daemon
@ 2012-06-18 12:51 ` bugzilla-daemon
  2012-06-18 12:51 ` bugzilla-daemon
  2 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2012-06-18 12:51 UTC (permalink / raw)
  To: linux-ide
https://bugzilla.kernel.org/show_bug.cgi?id=14708
Alan <alan@lxorguk.ukuu.org.uk> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alan@lxorguk.ukuu.org.uk
         Resolution|                            |WILL_NOT_FIX
-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply	[flat|nested] 6+ messages in thread
- * [Bug 14708] Option remap63 for OnTrack diskmanager not work - kernel panic, unable to mount root filesystem
       [not found] <bug-14708-11633@https.bugzilla.kernel.org/>
  2010-11-14 23:14 ` bugzilla-daemon
  2012-06-18 12:51 ` bugzilla-daemon
@ 2012-06-18 12:51 ` bugzilla-daemon
  2 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2012-06-18 12:51 UTC (permalink / raw)
  To: linux-ide
https://bugzilla.kernel.org/show_bug.cgi?id=14708
Alan <alan@lxorguk.ukuu.org.uk> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply	[flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-06-18 12:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01  0:22 [Bug 14708] New: Option remap63 for OnTrack diskmanager not work - kernel panic, unable to mount root filesystem bugzilla-daemon
2009-12-01  0:28 ` David Miller
2009-12-01  0:28 ` [Bug 14708] " bugzilla-daemon
     [not found] <bug-14708-11633@https.bugzilla.kernel.org/>
2010-11-14 23:14 ` bugzilla-daemon
2012-06-18 12:51 ` bugzilla-daemon
2012-06-18 12:51 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).