Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Apr 1996 00:30:45 +0200
From:      Gianmarco Giovannelli <gmarco@masternet.it>
To:        questions@freebsd.org
Subject:   Msdos FS
Message-ID:  <3161AA95.41C67EA6@masternet.it>

next in thread | raw e-mail | index | archive | help
I have request a lot of times help on a problem that happens to me when I mount msdos fs... I have a
Pentium 166, Adaptec 2940uw, 2 scsi Hd (sd0, 2gb, vfat-win95 : sd1, 1gb, Freebsd), an ide HD (wd2, 1.6gb,
fat) 

I use Osbs to choose to boot from one of the 2 scsi HD and was my idea to have the ide one to exchange
data from the 2 systems... but here arrive the problems :

when I 

#mount /mnt/work  (or /mnt/win95)
mountmsdosfs(): root directory is not a multiple of the clustersize in length
#


It happens with the 2gb scsi and 1.6gb ide ...

1) Some people have said me that it could depend by FIPS : but I NEVER use Fips to grab some space...

2) Every (all 2) hd has only a primary partition (made by pcdos Fdisk).

3) The ide drives gives me the same error if I use it with LBA or in normal mode in bios

4) It happens with this m/b ASUS P/I-P55TP4N and with ASUS P/I-P55TP4XE

5) As I said it happens both with IDE Hd and with SCSI one. So it could not be only a buggy ide controller
on the m/b

6) Ls and other commands seem to work, but when I try to copy something (I put it ro because I am scared
about the error) the file is copied corrupted and sometimes I can see fireworks :-)

Please can someone suggest me some solutions or some hints to try to solve this situation. It's
frustrating copy from one side to another only by floppy or by streamer :-)


Some more info :

-----------------------------------------------------------------------
etc/fstab

/dev/sd1s1b                     none            swap    sw 0 0
/dev/sd1a                       /               ufs     rw 1 1
/dev/wd2s1                      /mnt/work       msdos   ro,noauto 0 0
/dev/sd0s1                      /mnt/win95      msdos   ro,noauto 0 0
/dev/sd1s1f                     /usr            ufs     rw 1 1
/dev/sd1s1e                     /var            ufs     rw 1 1
proc                            /proc           procfs  rw 0 0
/dev/cd0a                       /cdrom          cd9660  ro,noauto 0 0

------------------------------------------------------------------------
disklabel dev/sd0

# /dev/sd0:
type: unknown
disk:
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 264
sectors/unit: 4253391
rpm: 0
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

3 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:  4253391        0    unused        0     0         # (Cyl.    0 - $

-------------------------------------------------------------------------
disklabel /dev/wd2

# /dev/wd2:
type: unknown
disk: 
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 1
sectors/cylinder: 63
cylinders: 50320
sectors/unit: 3170160
rpm: 0
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

3 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:  3170160        0    unused        0     0         # (Cyl.    0 - 50319)
Warning, revolutions/minute 0
boot block size 0
super block size 0

---------------------------------------
disklabel /dev/sd1 (the FreeBSD drive)


type: unknown
disk: 
label: 
flags:
bytes/sector: 512
sectors/track: 1
tracks/cylinder: 1
sectors/cylinder: 1
cylinders: 2131992
sectors/unit: 2131992
rpm: 0
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

3 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:  2131992        0    unused        0     0         # (Cyl.    0 - 2131991)
Warning, revolutions/minute 0
boot block size 0
super block size 0

---------------------------------------

Apr  3 00:22:58 eclipse /kernel: FreeBSD 2.1-STABLE #0: Tue Apr  2 19:05:16 MET DST 1996
Apr  3 00:22:58 eclipse /kernel:     root@eclipse.org:/usr/src/sys/compile/GMARCO
Apr  3 00:22:59 eclipse /kernel: CPU: 166-MHz Pentium 735\90 or 815\100 (Pentium-class CPU)
Apr  3 00:22:59 eclipse /kernel:   Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
Apr  3 00:22:59 eclipse /kernel:   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
Apr  3 00:22:59 eclipse /kernel: real memory  = 33554432 (32768K bytes)
Apr  3 00:22:59 eclipse /kernel: avail memory = 30846976 (30124K bytes)
Apr  3 00:22:59 eclipse /kernel: pcibus_setup(1):	mode1res=0x80000000 (0x80000000), mode2res=0xff (0x0e)
Apr  3 00:23:00 eclipse /kernel: pcibus_setup(2):	mode1res=0x80000000 (0x80000000)
Apr  3 00:23:00 eclipse /kernel: pcibus_check:	device 0 is there (id=122d8086)
Apr  3 00:23:00 eclipse /kernel: Probing for devices on PCI bus 0:
Apr  3 00:23:00 eclipse /kernel: 	configuration mode 1 allows 32 devices.
Apr  3 00:23:00 eclipse /kernel: chip0 <Intel 82437 (Triton)> rev 2 on pci0:0
Apr  3 00:23:00 eclipse /kernel: chip1 <Intel 82371 (Triton)> rev 2 on pci0:7
Apr  3 00:23:00 eclipse /kernel: vga0 <VGA-compatible display device> rev 1 int a irq 10 on pci0:10
Apr  3 00:23:01 eclipse /kernel: 	mapreg[10] type=0 addr=fb7d0000 size=4000.
Apr  3 00:23:01 eclipse /kernel: 	mapreg[14] type=0 addr=fb800000 size=800000.
Apr  3 00:23:01 eclipse /kernel: ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:12
Apr  3 00:23:01 eclipse /kernel: 	mapreg[10] type=1 addr=0000e400 size=0100.
Apr  3 00:23:01 eclipse /kernel: 	mapreg[14] type=0 addr=fb7c0000 size=1000.
Apr  3 00:23:01 eclipse /kernel: ahc0: BurstLen = 8DWDs, Latency Timer = 32PCLKS
Apr  3 00:23:01 eclipse /kernel: ahc0: Reading SEEPROM...done.
Apr  3 00:23:01 eclipse /kernel: ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
Apr  3 00:23:01 eclipse /kernel: ahc0: Downloading Sequencer Program...Done
Apr  3 00:23:02 eclipse /kernel: ahc0: Probing channel A
Apr  3 00:23:02 eclipse /kernel: ahc0 waiting for scsi devices to settle
Apr  3 00:23:02 eclipse /kernel: ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
Apr  3 00:23:03 eclipse /kernel: (ahc0:0:0): "FUJITSU M2932S-512 0110" type 0 fixed SCSI 2
Apr  3 00:23:03 eclipse /kernel: sd0(ahc0:0:0): Direct-Access 2076MB (4253391 512 byte sectors)
Apr  3 00:23:03 eclipse /kernel: sd0(ahc0:0:0): with 3421 cyls, 9 heads, and an average 138 sectors/track
Apr  3 00:23:03 eclipse /kernel: ahc0: target 1 synchronous at 10.0MHz, offset = 0xf
Apr  3 00:23:03 eclipse /kernel: (ahc0:1:0): "FUJITSU M1606S-512 6236" type 0 fixed SCSI 2
Apr  3 00:23:03 eclipse /kernel: sd1(ahc0:1:0): Direct-Access 1041MB (2131992 512 byte sectors)
Apr  3 00:23:03 eclipse /kernel: sd1(ahc0:1:0): with 3457 cyls, 6 heads, and an average 102 sectors/track
Apr  3 00:23:03 eclipse /kernel: ahc0: target 3 synchronous at 4.0MHz, offset = 0xf
Apr  3 00:23:04 eclipse /kernel: (ahc0:3:0): "SONY CD-R   CDU920S 2.0b" type 4 removable SCSI 2
Apr  3 00:23:04 eclipse /kernel: uk0(ahc0:3:0): Unknown 
Apr  3 00:23:04 eclipse /kernel: ahc0: target 4 synchronous at 5.0MHz, offset = 0xf
Apr  3 00:23:04 eclipse /kernel: (ahc0:4:0): "SONY CD-ROM CDU-76S 1.1a" type 5 removable SCSI 2
Apr  3 00:23:04 eclipse /kernel: cd0(ahc0:4:0): CD-ROM 
Apr  3 00:23:04 eclipse /kernel: cd0(ahc0:4:0): UNIT ATTENTION asc:28,0
Apr  3 00:23:04 eclipse /kernel: cd0(ahc0:4:0):  Not ready to ready transition, medium may have changed
Apr  3 00:23:04 eclipse /kernel: cd present.[400000 x 2048 byte records]
Apr  3 00:23:05 eclipse /kernel: ahc0: target 5 synchronous at 4.4MHz, offset = 0x8
Apr  3 00:23:05 eclipse /kernel: (ahc0:5:0): "TANDBERG  TDC 3500 =01:" type 1 removable SCSI 2
Apr  3 00:23:05 eclipse /kernel: st0(ahc0:5:0): Sequential-Access density code 0x0,  drive empty
Apr  3 00:23:05 eclipse /kernel: pci0: uses 8409088 bytes of memory from fb7c0000 upto fbffffff.
Apr  3 00:23:05 eclipse /kernel: pci0: uses 256 bytes of I/O space from e400 upto e4ff.
Apr  3 00:23:05 eclipse /kernel: Probing for devices on the ISA bus:
Apr  3 00:23:05 eclipse /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Apr  3 00:23:05 eclipse /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Apr  3 00:23:06 eclipse /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Apr  3 00:23:06 eclipse /kernel: sio0: type 16550A
Apr  3 00:23:06 eclipse /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Apr  3 00:23:06 eclipse /kernel: sio1: type 16550A
Apr  3 00:23:06 eclipse /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Apr  3 00:23:06 eclipse /kernel: lpt0: Interrupt-driven port
Apr  3 00:23:07 eclipse /kernel: lp0: TCP/IP capable interface
Apr  3 00:23:07 eclipse /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Apr  3 00:23:07 eclipse /kernel: fdc0: NEC 72065B
Apr  3 00:23:07 eclipse /kernel: fd0: 1.44MB 3.5in
Apr  3 00:23:07 eclipse /kernel: wdc1 at 0x170-0x177 irq 15 on isa
Apr  3 00:23:07 eclipse /kernel: wdc1: unit 0 (wd2): <NEC Corporation D3747>
Apr  3 00:23:07 eclipse /kernel: wd2: 1547MB (3170160 sectors), 3145 cyls, 16 heads, 63 S/T, 512 B/S
Apr  3 00:23:07 eclipse /kernel: sb0 at 0x220 irq 5 drq 1 on isa
Apr  3 00:23:07 eclipse /kernel: sb0: <SoundBlaster 16 4.13>
Apr  3 00:23:07 eclipse /kernel: opl0 at 0x388 on isa
Apr  3 00:23:08 eclipse /kernel: opl0: <Yamaha OPL-3 FM>
Apr  3 00:23:08 eclipse /kernel: sbmidi0 at 0x330 on isa
Apr  3 00:23:08 eclipse /kernel:  <SoundBlaster MPU-401>
Apr  3 00:23:08 eclipse /kernel: sbxvi0 at 0x0 drq 5 on isa
Apr  3 00:23:08 eclipse /kernel: sbxvo0: <SoundBlaster 16 4.13>
Apr  3 00:23:08 eclipse /kernel: joy0 at 0x201 on isa
Apr  3 00:23:08 eclipse /kernel: joy0: joystick
Apr  3 00:23:09 eclipse /kernel: npx0 on motherboard
Apr  3 00:23:09 eclipse /kernel: npx0: INT 16 interface
Apr  3 00:23:09 eclipse /kernel: changing root device to sd1a
Apr  3 00:23:09 eclipse /kernel: BIOS Geometries:
Apr  3 00:23:09 eclipse /kernel:  0:0107fe3f 0..263=264 cylinders, 0..254=255 heads, 1..63=63 sectors
Apr  3 00:23:09 eclipse /kernel:  1:0083fe3f 0..131=132 cylinders, 0..254=255 heads, 1..63=63 sectors
Apr  3 00:23:09 eclipse /kernel:  0 accounted for
Apr  3 00:23:09 eclipse /kernel: sd1s1: type 0xa5, start 0, end = 2131991, size 2131992 : OK
Apr  3 00:22:59 eclipse lpd[86]: restarted
Apr  3 00:23:13 eclipse login: ROOT LOGIN (gmarco) ON ttyv0
Apr  3 00:23:13 eclipse login: login on ttyv0 as gmarco



----------------------------------------

Can the error is the fact that HD are bigger than 1gb ?

The A2940 has the bios translation enabled...


I am very sorry for the length of the message but I don't know really what information you need to try to
understand the problem....

Thanks very much to everyone for the attention....




-- 

Regards...

+-------------------------------------+--------------------+
| Internet:  gmarco@masternet.it      |        ,,,         |
| Internet:  gmarco@nettuno.it        |       (o o)        |
| BIX     :  ggiovannelli@bix.com     | ---oo0-(_)-0oo---  |
| Fidonet :  2:332/113.0@fidonet      |     __             |
| Amiganet:  39:102/507@amiganet      |  __/// Gianmarco   |
| http://www.masternet.it/dsc/gmarco  |  \XX/              |
+-------------------------------------+--------------------+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3161AA95.41C67EA6>