missed disk nodes

2002-12-30 Thread Andrey Koklin
Hi folks,

Silly question, perhaps, but I wasn't able to figure out source of the
problem myself... 

I used rarely magneto-optical disks to transfer data to/from Windows
machine. For compatibility, disks used HDD FAT16 format.
About a month ago the disks began to refuse to mount under -current:

# cat /var/run/dmesg.boot |grep '^da2'
da2 at ahc0 bus 0 target 6 lun 0
da2: FUJITSU M2513A 1700 Removable Optical SCSI-2 device 
da2: 10.000MB/s transfers (10.000MHz, offset 10)
da2: 606MB (310352 2048 byte sectors: 64H 32S/T 151C)

# fdisk /dev/da2
*** Working on device /dev/da2 ***
parameters extracted from in-core disklabel are:
cylinders=151 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=151 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 2048
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6 (0x06),(Primary 'big' DOS (= 32MB))
start 32, size 309216 (603 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 150/ head 63/ sector 32
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

# mount_msdosfs /dev/da2s1c /mnt
mount_msdosfs: /dev/da2s1c: No such file or directory

Indeed, there is only /dev/da2 node now.

But how can I tell the devfs system to create needed nodes?


-- 
Regards,
Andrey




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: missed disk nodes

2002-12-30 Thread phk
In message [EMAIL PROTECTED], Andrey Koklin writes:
Hi folks,

Silly question, perhaps, but I wasn't able to figure out source of the
problem myself... 

I used rarely magneto-optical disks to transfer data to/from Windows
machine. For compatibility, disks used HDD FAT16 format.
About a month ago the disks began to refuse to mount under -current:

Can you please:

dd if=/dev/da2 bs=64k | uuencode - foo | mail [EMAIL PROTECTED]

I have not had an example of a non-512 byte disk with MBR on it until
now.

Poul-Henning


# cat /var/run/dmesg.boot |grep '^da2'
da2 at ahc0 bus 0 target 6 lun 0
da2: FUJITSU M2513A 1700 Removable Optical SCSI-2 device 
da2: 10.000MB/s transfers (10.000MHz, offset 10)
da2: 606MB (310352 2048 byte sectors: 64H 32S/T 151C)

# fdisk /dev/da2
*** Working on device /dev/da2 ***
parameters extracted from in-core disklabel are:
cylinders=151 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=151 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 2048
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6 (0x06),(Primary 'big' DOS (= 32MB))
start 32, size 309216 (603 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 150/ head 63/ sector 32
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

# mount_msdosfs /dev/da2s1c /mnt
mount_msdosfs: /dev/da2s1c: No such file or directory

Indeed, there is only /dev/da2 node now.

But how can I tell the devfs system to create needed nodes?


-- 
Regards,
Andrey




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: missed disk nodes

2002-12-30 Thread Nate Lawson
On Mon, 30 Dec 2002 [EMAIL PROTECTED] wrote:
 Can you please:
   dd if=/dev/da2 bs=64k | uuencode - foo | mail [EMAIL PROTECTED]
 ^^
You probably should add count=1 there, otherwise it's going to be a big
email.

-Nate


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message