public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Partition information lost on reboot.
@ 2007-08-10 12:17 Jegadeesh
  2007-08-10 12:30 ` Michal Piotrowski
  0 siblings, 1 reply; 3+ messages in thread
From: Jegadeesh @ 2007-08-10 12:17 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have a scsi disk on Adaptec ASC-29320 U320. I have created a linux
partition and ext3 filesystem over it.
Now the problem is, whenever the machine is rebooted, the partition
information to the OS is lost and I get an error saying it as a not valid
block device.
But fdisk tool shows the partitions, but "cat /proc/partitions" doesnt have
this. I need to do a "partprobe" and then have to mount it explicitly.

What could be causing this problem. Given below are some of the command
outputs.

# uname -a
Linux pr.vionline.net 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006
i686 i686 i386 GNU/Linux

# mount /dev/sda1 /disk1
mount: /dev/sda1 is not a valid block device

# fdisk -l /dev/sda

Disk /dev/sda: 73.4 GB, 73407900160 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 7417 59577021 83 Linux
/dev/sda2 7418 8924 12104977+ 83 Linux

# cat /proc/partitions
major minor #blocks name

3 0 60051600 hda
3 1 409626 hda1
3 2 10482412 hda2
3 3 10482412 hda3
3 4 1 hda4
3 5 10482381 hda5
3 6 2096451 hda6
3 7 2096451 hda7
3 8 2096451 hda8
8 0 71687402 sda

Thanks
-Jag

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Partition information lost on reboot.
  2007-08-10 12:17 Partition information lost on reboot Jegadeesh
@ 2007-08-10 12:30 ` Michal Piotrowski
  2007-08-10 22:40   ` Rene Herman
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Piotrowski @ 2007-08-10 12:30 UTC (permalink / raw)
  To: Jegadeesh; +Cc: linux-kernel, linux-scsi, aacraid

[Adding linux-scsi and Adaptec support to CC]

On 10/08/07, Jegadeesh <kovaiteam@gmail.com> wrote:
> Hi,
>
> I have a scsi disk on Adaptec ASC-29320 U320. I have created a linux
> partition and ext3 filesystem over it.
> Now the problem is, whenever the machine is rebooted, the partition
> information to the OS is lost and I get an error saying it as a not valid
> block device.
> But fdisk tool shows the partitions, but "cat /proc/partitions" doesnt have
> this. I need to do a "partprobe" and then have to mount it explicitly.
>
> What could be causing this problem. Given below are some of the command
> outputs.
>
> # uname -a
> Linux pr.vionline.net 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006
> i686 i686 i386 GNU/Linux
>
> # mount /dev/sda1 /disk1
> mount: /dev/sda1 is not a valid block device
>
> # fdisk -l /dev/sda
>
> Disk /dev/sda: 73.4 GB, 73407900160 bytes
> 255 heads, 63 sectors/track, 8924 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 1 7417 59577021 83 Linux
> /dev/sda2 7418 8924 12104977+ 83 Linux
>
> # cat /proc/partitions
> major minor #blocks name
>
> 3 0 60051600 hda
> 3 1 409626 hda1
> 3 2 10482412 hda2
> 3 3 10482412 hda3
> 3 4 1 hda4
> 3 5 10482381 hda5
> 3 6 2096451 hda6
> 3 7 2096451 hda7
> 3 8 2096451 hda8
> 8 0 71687402 sda
>
> Thanks
> -Jag
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

Regards,
Michal

-- 
LOG
http://www.stardust.webpages.pl/log/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Partition information lost on reboot.
  2007-08-10 12:30 ` Michal Piotrowski
@ 2007-08-10 22:40   ` Rene Herman
  0 siblings, 0 replies; 3+ messages in thread
From: Rene Herman @ 2007-08-10 22:40 UTC (permalink / raw)
  To: Michal Piotrowski; +Cc: Jegadeesh, linux-kernel, linux-scsi, aacraid

On 08/10/2007 02:30 PM, Michal Piotrowski wrote:

> [Adding linux-scsi and Adaptec support to CC]
> 
> On 10/08/07, Jegadeesh <kovaiteam@gmail.com> wrote:
>> Hi,
>>
>> I have a scsi disk on Adaptec ASC-29320 U320. I have created a linux
>> partition and ext3 filesystem over it.
>> Now the problem is, whenever the machine is rebooted, the partition
>> information to the OS is lost and I get an error saying it as a not valid
>> block device.
>> But fdisk tool shows the partitions, but "cat /proc/partitions" doesnt have
>> this. I need to do a "partprobe" and then have to mount it explicitly.
>>
>> What could be causing this problem. Given below are some of the command
>> outputs.

Is that the "Adaptec AIC79xx U320 support" (CONFIG_SCSI_AIC79XX) driver? If 
so, did you lower the "Initial bus reset delay" (default is 5000 ms) in the 
kernel configuration?

Rene.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-10 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-10 12:17 Partition information lost on reboot Jegadeesh
2007-08-10 12:30 ` Michal Piotrowski
2007-08-10 22:40   ` Rene Herman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox