Linux PARISC architecture development
 help / color / mirror / Atom feed
From: "James Braid" <james.braid@peace.com>
To: <parisc-linux@lists.parisc-linux.org>
Subject: [parisc-linux] mkraid doesnt work on L2000 with 64-bit kernel
Date: Tue, 30 Apr 2002 17:58:59 +1200	[thread overview]
Message-ID: <002a01c1f00c$1f288eb0$5e01000a@bongo> (raw)

 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a dual CPU L2000 and have installed the 0.9.3 release of
PA-RISC Linux and dist-upgraded to the latest unstable Debian
packages. I am running kernel 2.4.9-64, but this problem also occurs
with 2.4.17-64-smp and non-smp, and 2.4.18-64-smp and non-smp.

When I attempt to make a software RAID0 array on 3 1Gb partitions on
3 18.2gb internal SCSI disks, I get this error:

hypo:~# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sdb1, 976880kB, raid superblock at 976768kB
disk 1: /dev/sdc1, 976880kB, raid superblock at 976768kB
disk 2: /dev/sdd1, 976880kB, raid superblock at 976768kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

Syslog says:

hypo:~# tail /var/log/syslog
Apr 30 05:36:34 hypo kernel: sys32_ioctl: Unknown cmd fd(3)
cmd(400c0910) arg(00028a44)
Apr 30 05:36:34 hypo kernel: sys32_ioctl: Unknown cmd fd(4)
cmd(400c0910) arg(bff00350)
Apr 30 05:36:34 hypo kernel: sys32_ioctl: Unknown cmd fd(4)
cmd(80480923) arg(00029390)

/proc/mdstat says:

hypo:~# cat /proc/mdstat
Personalities : [raid0]
read_ahead not set
unused devices: <none>

I've had a look through the archives and found a few posts about
32-bit to 64-bit IOCTLs but nothing seemed to specifically mention
the RAID stuff.

I also had a look in arch/parisc/kernel/ioctl32.c and there were a
couple of lines commented out with comments like "new RAID code is
half merged". Is RAID on 64-bit PA-RISC a work in progress?

Also, I have noticed that the 2nd CPU in the L2000 is always disabled
when I boot with a SMP kernel, errors like SMP: CPU3 is stuck appear
near the start of bootup. (Sorry I don't have any more detail on
these, but I can provide it if needed)

Any ideas/help would be greatly appreciated. I can provide more
details if needed.

Cheers, James

BTW: Great job on the port to PA-RISC :)

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.1.1

iQA/AwUBPM4yo1W+bhIOiSqWEQJSZQCguc5h0mrXQ7pD352VuLeZDeSJ7PkAnjdl
P8k6Y/oUEcFa8kS95ISO+xQz
=2axk
-----END PGP SIGNATURE-----

             reply	other threads:[~2002-04-30  5:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-30  5:58 James Braid [this message]
2002-04-30 23:57 ` [parisc-linux] mkraid doesnt work on L2000 with 64-bit kernel Paul Bame
2002-05-01  0:42 ` Grant Grundler
2002-05-01  1:15   ` James Braid
2002-05-01  1:25   ` James Braid
2002-05-01  2:08     ` Matthew Wilcox
2002-05-01  3:42     ` Grant Grundler
2002-05-01  4:23       ` James Braid
2002-05-01  4:30         ` James Braid
2002-05-01  4:31         ` James Braid
2002-05-01  5:10           ` Randolph Chung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002a01c1f00c$1f288eb0$5e01000a@bongo' \
    --to=james.braid@peace.com \
    --cc=parisc-linux@lists.parisc-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox