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

Bug#41033: marked as done ([slink] cannot write partition to SCSI drive using fdisk or cfdisk)



Your message dated 03 May 2000 13:21:19 -0400
with message-id <oaln1ra6sw.fsf@arroz.fake>
and subject line bugs closed in potato boot-floppies
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Jul 1999 06:31:15 +0000
Received: (qmail 8388 invoked from network); 9 Jul 1999 06:31:15 -0000
Received: from ultra.chem.ucsb.edu (128.111.114.119)
  by master.debian.org with SMTP; 9 Jul 1999 06:31:15 -0000
Received: from localhost (norton@localhost)
	by ultra.chem.ucsb.edu (8.9.1a/8.9.0) with SMTP id XAA04526
	for <submit@bugs.debian.org>; Thu, 8 Jul 1999 23:28:28 -0700 (PDT)
Date: Thu, 8 Jul 1999 23:28:27 -0700 (PDT)
From: Valerie Norton <norton@chem.ucsb.edu>
To: submit@bugs.debian.org
Subject: cannot write partition to SCSI drive using fdisk or cfdisk
Message-ID: <Pine.SOL.3.96.990708213939.3196A-100000@ultra.chem.ucsb.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Package: boot floppies
Version: 2.1

I have an Adaptec AHA2940W SCSI controler card with 2 devices on it:
a Fujitsu M2915Q-512 hard drive and a Plextor CD-ROM PX-4XCS.  The
CD-ROM is apparently broken, but I have not gotten any different
results for having it there or not.  I have been able to easily
partition this system using the fdisk provided with WIN95, but it
has obvious drawbacks.

I have used both fdisk and cfdisk from the boot images at:
ftp://ftp.debian.org/debian/dists/stable/main/disks-i386/current/resc1440.bin
ftp://ftp.debian.org/debian/dists/stable/main/disks-i386/current/resc1440tecra.bin
with exactly the same results.  Results are:

For cfdisk (which I am automatically put into by the program):
After the boot, I choose color monitor, continue, continue,
configure keyboard, qwerty/us, partition a Hard Drive.

Select Disk Drive box: /dev/sda (which is set to the default)

In cfdisk I create the partition table:

Name   Flags   Part Type  FS Type          [Label]     Size (MB)
----------------------------------------------------------------
sda1   Boot    Primary    Linux                           400.06
sda2           Primary    Linux                          1608.07
sda3           Primary    Linux Swap                       62.76

This is all of the disk (2 gigs), so I select [Write] and confirm
(yes) that I do want to write this table.  At this point the
computer claims "Writing partition table to disk..." and the HDD
light comes on for about 10 seconds and goes off for about 1 second.
It continues to flash like this for as long as I leave the computer
on, upwards of 4 hours.  It takes 20 minutes to format the drive
entirely.

For fdisk:
After the boot from the flopy, I choose color, continue, continue,
configure the keyboard, qwerty/us.  When Partition a Hard Disk is
default, I type alt+F2 to get:

Please press Enter to activate this console. <enter>
#

At this prompt I start fdisk:

# fdisk
Using /dev/sda as default device!
Device contains neither a valid DOS partition table, nor Sun or SGI disklabel
Building a new disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


Command (m for help): n
Command action
   e  extended
   p  primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-264, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-264, default 264): +400M

Command (m for help): n
Command action
   e  extended
   p  primary partition (1-4)
p
Partition number (1-4): 2
First sylinder (52-264, default 52): 52
Last cylinder or +size or +sizeM or +sizeK (52-264, default 264): +1610M

Command (m for help): n
Command action
   e  extended
   p  primary partition (1-4)
p
Partion number (1-4): 3
First cylinder (258-264, default 258): 258
Last cylinder of +size or +sizeM or +sizeK (258-264, default 264): 264

Command (m for help): a
Partition number (1-4): 1

Command (m for help): t
Partition number (1-4): 3
Hex code (type L to list codes): 82
Changed system type of partition 3 to 82 (Linux swap)

Command (m for help): v
62 unallocated sectors

Command (m for help): p

Disk /dev/sda: 255 heads, 63 sectors, 264 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot  Start    End   Blocks   Id  System
/dev/sda1   *       1     51   409626   83  Linux native
/dev/sda2          52    257  1654695   83  Linux native
/dev/sda3         258    264    56227+  82  Linux swap

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
_

At this point the HDD light starts up the same steady blinking.

Preessing alt+F3 shows:

init: started. Waiting for process 6.
Executing etc/rc auto
pid 12 exited, status=0.
Executing sbin/dbootstrap
pid 13 exited, status=1.
pid 15 exited, status=1.
Executing sbin/dbootstrap
_

So there are apparently no error messages.

Pressing alt F4 shows the SCSI initializations still:

<6>(scsi0) <Adaptec AHA-294X SCSI host adapter> found at PCI 15/0
<6>(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
<6>(scsi0) Downloading sequencer code... 412 instructions downloaded
<4>Failed initialization of WD-7000 SCSI card!
<4>scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.11/3.2.4
<4>       <Adaptec AHA294x SCSI host adapter>
<4>scsi : 1 host.
<4> Vendor: FUJITSU  Model: M2915Q-512         Rev: 0134
<4> Type:   Direct-Access                      ANSI SCSI revision: 02
<4>Detected scsi disk sda at scsi0, channel 0, id0, lun 0
<6>(scsi0:0:0) Synchronous at 20.0 Mbyte/sec, offset 8.
<4> Vendor: PLEXTOR  Model: CD-ROM PX-4XCS     Rev: 1.01
<4> Type:   CD-ROM                             ANSI SCSI revision: 02
<4>Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
<6>(scsi0:2:0) Synchronous at 4.0 Mbyte/sec, offset 15.
<4>scsi : detected 1 SCSI cdrom 1 SCSI disk total.
<4>SCSI device sda: hdwr sector= 512 bytes.  Sectors= 4250695 [2075 MB] [2.1 GB]
<4>Partition check:
<4> sda:Dev 08:00 Sun disklabel: bad magic 0000
<4> unknown partition table
<5>RAMDISK: Compressed image found at block 0
<4>UFS: Mounted root (minix filesystem).
_

This has some things that look odd.  "Failed initialization of
WD-7000 SCSI card!" doesn't make sense since it has already
determained this is an Adaptec device.  After that, the speed of the
hard drive is reported as synchrounous at 20.0 Mbyte/sec when the
maximum this can be set at in the SCSI utility is synchrounous 10
Mbyte/sec.  Both HDD and CD-ROM are set to this maximum speed in the
SCSI utility.

The rest looks fine as far as I can tell.  There is no partion table
on this disk currently because I performed a low level format using
the SCSI utility (part of the card's firmware).  I had the same
problems with the disk after formating with the WIN95 utilities and
deleting all the DOS partitions with that fdisk.

Thank you for any help you can give.

-- 
Valerie Norton
norton@chem.ucsb.edu

---------------------------------------
Received: (at 41033-done) by bugs.debian.org; 3 May 2000 17:21:33 +0000
Received: (qmail 11188 invoked from network); 3 May 2000 17:21:30 -0000
Received: from amsterdam.interport.net (199.184.165.19)
  by master.debian.org with SMTP; 3 May 2000 17:21:30 -0000
Received: from arroz.fake (postfix@216-164-222-228.s482.tnt4.nyw.ny.dialup.rcn.com [216.164.222.228])
	by amsterdam.interport.net (8.8.5/8.8.5) with ESMTP id NAA19326;
	Wed, 3 May 2000 13:21:17 -0400 (EDT)
Received: by arroz.fake (Postfix, from userid 421)
	id 89B6693802; Wed,  3 May 2000 13:21:19 -0400 (EDT)
Sender: apharris@arroz.fake
To: 62623-done@bugs.debian.org, 62234-done@bugs.debian.org,
        61279-done@bugs.debian.org, 60947-done@bugs.debian.org,
        60574-done@bugs.debian.org, 57846-done@bugs.debian.org,
        57770-done@bugs.debian.org, 57243-done@bugs.debian.org,
        49605-done@bugs.debian.org, 42019-done@bugs.debian.org,
        41919-done@bugs.debian.org, 41558-done@bugs.debian.org,
        41033-done@bugs.debian.org, 38090-done@bugs.debian.org,
        38089-done@bugs.debian.org, 36313-done@bugs.debian.org
Subject: bugs closed in potato boot-floppies
From: Adam Di Carlo <adam@onshore.com>
Date: 03 May 2000 13:21:19 -0400
Message-ID: <oaln1ra6sw.fsf@arroz.fake>
Lines: 16
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii


We believe that the bug you reported has been closed in the Potato
version of the boot-floppies.  We may not have received a response
from you so we are closing this bug.

Please let us know if you find that the bug still exists in the potato
version of the boot-floppies, and we can re-open your bug.

Note that there are some temporary but serious problems with those
floppies you should know about on i386:

 - installation of base from floppy probably not working
 - the compact flavor may not work

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>


Reply to: