Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gpt is not working on -current



Hi,

I have:
sd0: GPT GUID: 3f818534-7f4e-11de-9ff5-00016ccbbc94
dk0 at sd0: 3f818552-7f4e-11de-9ff5-00016ccbbc94
dk0: 7815101 blocks at 34, type: ffs

tucana# gpt show sd0
gpt: unable to open device 'rsd0d': Invalid argument

the likely relevant parts of ktruss:
  9626      1 gpt      open("sd0", 0x802, 0x3)     Err#2 ENOENT
  9626      1 gpt      open("sd0d", 0x802, 0)      Err#2 ENOENT
  9626      1 gpt      open("/dev/rsd0", 0x802, 0) Err#2 ENOENT
  9626      1 gpt      open("/dev/rsd0d", 0x802, 0) = 3
  9626      1 gpt      __fstat50(0x3, 0x7f7fffffd3d0) = 0
  9626      1 gpt      open("/dev/drvctl", 0, 0)   = 5
  9626      1 gpt      ioctl(0x5, DRVCTLCOMMAND, 0x7f7fffffd380) = 0
       "\0\^Ra\M-}\^?\^?\0\0`\^A\0\0\0\0\0\0"
  9626      1 gpt      munmap(0x7f7ffdff6000, 0x188) = 0
  9626      1 gpt      close(0x5)                  = 0
  9626      1 gpt      close(0x3)                  = 0
  9626      1 gpt      write(0x2, 0x7f7fffffca60, 0x5) = 5
       "gpt: "
  9626      1 gpt      write(0x2, 0x7f7fffffcb40, 0x1d) = 29
       "unable to open device 'rsd0d'"
  9626      1 gpt      write(0x2, 0x7f7ffd7e77f0, 0x2) = 2
       ": "
  9626      1 gpt      issetugid()                 = 0
  9626      1 gpt      issetugid()                 = 0
  9626      1 gpt      open("/usr/share/nls/nls.alias.db", 0, 0) Err#2 ENOENT
  9626      1 gpt      open("/usr/share/nls/nls.alias", 0, 0) = 3
  9626      1 gpt      fcntl(0x3, 0x2, 0x1)        = 0
  9626      1 gpt      __fstat50(0x3, 0x7f7fffffc5b0) = 0
  9626      1 gpt      mmap(0, 0x5f0, 0x1, 0x2, 0x3, 0, 0) = 0x7f7ffdff6000
  9626      1 gpt      close(0x3)                  = 0
  9626      1 gpt      munmap(0x7f7ffdff6000, 0x5f0) = 0
  9626      1 gpt      open("/usr/share/nls/C/libc.cat", 0, 0x3a) = 3
  9626      1 gpt      __fstat50(0x3, 0x7f7fffffca50) = 0
  9626      1 gpt      mmap(0, 0x10be, 0x1, 0x1, 0x3, 0, 0) = 0x7f7ffdff5000
  9626      1 gpt      close(0x3)                  = 0
  9626      1 gpt      munmap(0x7f7ffdff5000, 0x10be) = 0
  9626      1 gpt      write(0x2, 0x7f7fffffca90, 0x11) = 17
       "Invalid argument\n"
  9626      1 gpt      exit(0)

gpt create and gpt add weren't working either, so I created the gpt entries
on a NetBSD-5 machine where it worked without a hitch.

regards,
        spz
-- 
spz%serpens.de@localhost (S.P.Zeidler)


Home | Main Index | Thread Index | Old Index