Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2010 02:02:48 -0800 (PST)
From:      Pavel Timofeev <timp87@gmail.com>
To:        freebsd-scsi@freebsd.org
Subject:   Re: iscsi_initiator crashes system (FreeBSD 8.2-BETA1)
Message-ID:  <30462423.post@talk.nabble.com>
In-Reply-To: <E1PSVeQ-0007EF-89@kabab.cs.huji.ac.il>
References:  <AANLkTi=YQbuDtS75AJON4yJJMhS0nx%2BBK1GeNcsdanUU@mail.gmail.com> <E1PSVeQ-0007EF-89@kabab.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

> IMHO you are playing with fire :-).
> At first glance it doesn't look as an iscsi bug, but firstly
> use gpart(8) to get a valid label or use sade(8).

sade(8) does not help. Same error.
Current partition and bsdlabel are made with sade(8):
[root@timbsd ~]# fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=1305 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1305 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 20964762 (10236 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
[root@timbsd ~]# bsdlabel /dev/da0s1
# /dev/da0s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 20964762        0    4.2BSD        0     0     0
  c: 20964762        0    unused        0     0         # "raw" part, don't
edit

I will try gpart(8).
-- 
View this message in context: http://old.nabble.com/iscsi_initiator-crashes-system-%28FreeBSD-8.2-BETA1%29-tp30455007p30462423.html
Sent from the freebsd-scsi mailing list archive at Nabble.com.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30462423.post>