Superuser

Autor Thema: Ich werde noch wahnsinnig...  (Gelesen 7071 mal)

Offline Ebbi

  • Sobl Administrator
  • Sobl Guru
  • *****
  • Beiträge: 1315
  • Minusgeek
Ich werde noch wahnsinnig...
« am: 21. März 2010, 15:36:10 »
Moin,

das Umformatieren einer FC-AL Platte von 520 Byte Blocksize auf 512 Byte mit einer Blade 2000 treibt mich noch in den Wahnsinn.
Unter Solaris hat das bisher geklappt, nur bei einer Platte bin ich bisher glücklos gewesen.
Daher habe ich mal andere OS probiert.
Unter Linux will ich mein Glück mit sg_format versuchen, das soll wohl gehen:
http://linux.die.net/man/8/sg_format

Folgende Erlebnisse habe ich dabei gemacht:

- Ubuntu 9.10:
{0} ok boot cdrom
Boot device: /pci@8,700000/scsi@6/disk@6,0:f  File and args:
SILO Version 1.4.14
     ERROR: Last Trap: Fast Data Access MMU Miss

Evaluating:
Error -256


- Ubuntu 9.04: Bootet, findet aber keine Kernelmodule:
   lqqqqqqqqqqqqqqu [!!] Load installer components from CD tqqqqqqqqqqqqqqqk
   x                                                                       x
   x No kernel modules were found. This probably is due to a mismatch      x
   x between the kernel used by this version of the installer and the      x
   x kernel version available in the archive.                              x
   x                                                                       x
   x If you're installing from a mirror, you can work around this problem  x
   x by choosing to install a different version of Ubuntu. The install     x
   x will probably fail to work if you continue without kernel modules.    x
   x                                                                       x
   x Continue the install without loading kernel modules?                  x
   x                                                                       x
   x     <Go Back>                                       <Yes>    <No>     x
   x                                                                       x
   mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
Das qla2xxx Modul kann manuell auch nicht geladen werden. (Problem mit/wegen QLA2200 Firmware)


- Fedora 12 Alpha: Bootet, findet aber keine Platte und hängt sich auf (ist ja noch Alpha)


- Fedora 9 Beta: Bootet, findet aber keine Platte und produziert Fehler:
ERROR: asr: seeking device "/dev/sdb" to 18446744073709551104
ERROR: ddf1: seeking device "/dev/sdb" to 18446744073709551104
ERROR: hpt37x: seeking device "/dev/sdb" to 4608
ERROR: hpt45x: seeking device "/dev/sdb" to 18446744073709545984
ERROR: isw: seeking device "/dev/sdb" to 18446744073709550592
ERROR: jmicron: seeking device "/dev/sdb" to 18446744073709551104
ERROR: lsi: seeking device "/dev/sdb" to 18446744073709551104
ERROR: nvidia: seeking device "/dev/sdb" to 18446744073709550592
ERROR: pdc: seeking device "/dev/sdb" to 18446744073709519360
ERROR: sil: seeking device "/dev/sdb" to 18446744073709551104
ERROR: via: seeking device "/dev/sdb" to 18446744073709551104


- Debian 5.0.4: Bootet, findet aber keine Platte (Problem mit/wegen QLA2200 Firmware)
    lqqqqqqqqqqqqqqqqqqqu [!] Detect network hardware tqqqqqqqqqqqqqqqqqqqqk
    x                                                                      x
    x Some of your hardware needs non-free firmware files to operate. The  x
    x firmware can be loaded from removable media, such as a USB stick or  x
    x floppy.                                                              x
    x                                                                      x
    x The missing firmware files are: ql2200_fw.bin                        x
    x                                                                      x
    x If you have such media available now, insert it, and continue.       x
    x                                                                      x
    x Load missing firmware from removable media?                          x
    x                                                                      x
    x     <Yes>                                                   <No>     x
    x                                                                      x
    mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


- Gentoo 2010: Bootet und findet Platte (Lädt QLA2200 Firmware automatisch):
QLogic Fibre Channel HBA Driver: 8.03.01-k4
PCI: Enabling device: (0001:00:04.0), cmd 3
qla2xxx 0001:00:04.0: Found an ISP2200, irq 20, iobase 0x000007fd00100000
qla2xxx 0001:00:04.0: Configuring PCI space...
qla2xxx 0001:00:04.0: Configure NVRAM parameters...
qla2xxx 0001:00:04.0: Inconsistent NVRAM detected: checksum=0x0 id=
qla2xxx 0001:00:04.0: Falling back to functioning (yet invalid -- WWPN) defaults.
qla2xxx 0001:00:04.0: Verifying loaded RISC code...
qla2xxx 0001:00:04.0: firmware: requesting ql2200_fw.bin
qla2xxx 0001:00:04.0: Allocated (252 KB) for firmware dump...
qla2xxx 0001:00:04.0: LIP reset occurred (f8f7).
scsi2 : qla2xxx
qla2xxx 0001:00:04.0:
 QLogic Fibre Channel HBA Driver: 8.03.01-k4
  QLogic QLA22xx -
  ISP2200: PCI (66 MHz) @ 0001:00:04.0 hdma-, host#=2, fw=2.02.08 TP
qla2xxx 0001:00:04.0: LIP occurred (f7f7).
qla2xxx 0001:00:04.0: LOOP UP detected (1 Gbps).
scsi 2:0:0:0: Direct-Access     SEAGATE  ST314680 CLAR146 7A06 PQ: 0 ANSI: 3
sd 2:0:0:0: [sda] Unsupported sector size 520.
sd 2:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
sd 2:0:0:0: [sda] 520-byte physical blocks
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: a7 00 10 08
sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 2:0:0:0: [sda] Unsupported sector size 520.
sd 2:0:0:0: [sda] Attached SCSI disk
   Mag aber trotzdem nicht:
livecd ~ # fdisk /dev/sda

Unable to read /dev/sda

  dmesg sagt:
loop0: rw=0, want=98970, limit=98968
Buffer I/O error on device loop0, logical block 49484
attempt to access beyond end of device
loop0: rw=0, want=98972, limit=98968
Buffer I/O error on device loop0, logical block 49485
attempt to access beyond end of device
loop0: rw=0, want=98974, limit=98968
Buffer I/O error on device loop0, logical block 49486
attempt to access beyond end of device
loop0: rw=0, want=98976, limit=98968
Buffer I/O error on device loop0, logical block 49487
attempt to access beyond end of device
loop0: rw=0, want=98970, limit=98968
Buffer I/O error on device loop0, logical block 49484
attempt to access beyond end of device
loop0: rw=0, want=98972, limit=98968
Buffer I/O error on device loop0, logical block 49485
attempt to access beyond end of device
loop0: rw=0, want=98974, limit=98968
Buffer I/O error on device loop0, logical block 49486
attempt to access beyond end of device
loop0: rw=0, want=98976, limit=98968
Buffer I/O error on device loop0, logical block 49487
attempt to access beyond end of device
loop0: rw=0, want=98970, limit=98968
Buffer I/O error on device loop0, logical block 49484
attempt to access beyond end of device
loop0: rw=0, want=98972, limit=98968
Buffer I/O error on device loop0, logical block 49485
attempt to access beyond end of device
loop0: rw=0, want=98974, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98976, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98970, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98972, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98974, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98976, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98970, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98972, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98974, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98976, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98970, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98972, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98974, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98976, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98970, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98972, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98974, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98976, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98970, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98972, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98974, limit=98968
attempt to access beyond end of device
loop0: rw=0, want=98976, limit=98968


Nach dem  ich bei Linux glücklos war, wollte ich mal BSD probieren.
Allerdings ist da auch nicht viel besser:


- FreeBSD 8.0: Findet Platte (da0), hat aber beim Partitionieren Probleme:
Unable to find device node for /dev/da0b in /dev! The creation of filesystems will be aborted.

- NetBSD 5.0.2: hängt sich auf
mainbus0 (root): SUNW,Sun-Blade-1000 (): hostid 830ff357
cpu0 at mainbus0panic: alloc_cpuinfo: upa-portid
Stopped in pid 0.1 (system) at  0x13b78f0:      nop
db>


- OpenBSD 4.6: Platte gefunden, kann aber nicht benutzt werden

Available disks are: sd0.
Which one is the root disk? (or 'done') [sd0]
The auto-allocated layout for sd0 is:
disklabel: /dev/rsd0c: Device not configured
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] a
disklabel: /dev/rsd0c: Device not configured
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] c

You will now create a Sun-style disklabel on the disk.  The disklabel defines
how OpenBSD splits up the disk into OpenBSD partitions in which filesystems
and swap space are created.  You must provide each filesystem's mountpoint
in this program.

disklabel: /dev/rsd0c: Device not configured
The auto-allocated layout for sd0 is:
disklabel: /dev/rsd0c: Device not configured
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] e
disklabel: /dev/rsd0c: Device not configured


Vielleicht hat noch jemand eine Idee, um mich vor dem Wahnsinn zu retten.  :-\
Besten Dank!

sonnenblen.de - Das unabhängige Sun User Forum

Ich werde noch wahnsinnig...
« am: 21. März 2010, 15:36:10 »

Offline Toktar

  • Sobl Master
  • ****
  • Beiträge: 333
Re: Ich werde noch wahnsinnig...
« Antwort #1 am: 21. März 2010, 18:48:30 »
Schonmal daran gedacht, das genau diese Platte einen Fehler hat. Funktioniert denn der Boot unter Linux mit den anderen FC-Platten?
Toktar
--
Jawoll!
Und DNS braucht's nicht, das ist was fuer Weicheier, die sich keine Zahlen merken koennen.
[Karlheinz Boehme in dcsf]

Offline Ebbi

  • Sobl Administrator
  • Sobl Guru
  • *****
  • Beiträge: 1315
  • Minusgeek
Re: Ich werde noch wahnsinnig...
« Antwort #2 am: 21. März 2010, 22:20:46 »
Schonmal daran gedacht, das genau diese Platte einen Fehler hat.
Na klar. ;)

Funktioniert denn der Boot unter Linux mit den anderen FC-Platten?
Bei den anderen Platten habe ich gar nicht so einen Eiertanz veranstalten müssen, das ging einfach mit format unter Solaris.
Die stecken schon im T3+.

Ich glaube, ich installiere mal auf eine funktionierende Platte ein Ubuntu und probiere dann mal dieses sg_format aus.

Offline Ebbi

  • Sobl Administrator
  • Sobl Guru
  • *****
  • Beiträge: 1315
  • Minusgeek
Re: Ich werde noch wahnsinnig...
« Antwort #3 am: 24. März 2010, 10:34:44 »
Bei meinem Versuch mit sformat hat die Platte funktioniert, aber ich irgendwas hat mit den Sektoren nicht gestimmt.
Es stand nicht die gleiche Kapazität wie bei den anderen Platten zur Verfügung.
http://www.sonnenblen.de/index.php/topic,6214.0.html

Ich glaube, ich installiere mal auf eine funktionierende Platte ein Ubuntu und probiere dann mal dieses sg_format aus.
Tja, nach dem Ubuntu ohne ql2200_fw.bin keine Platten findet, habe ich "mal schnell" Gentoo installiert.
[offtopic]Ich muss sagen, das ging wirklich relativ schnell und vor allem problemlos.[/offtopic]

sg_format aus den sg_utils ist aber recht umfangreich und ich habe keine für passende Option gefunden, um den Fehler von sformat zu korrigieren.