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

Bug#404950: Installation Report [mips] [rc1] [Failure] SWARM (Broadcom BCM91250a)



On Thu, Jan 04, 2007 at 04:48:09PM +0100, Frans Pop wrote:
> On Friday 29 December 2006 21:45, Karsten Merker wrote:
> > "The following partitions are going to be formatted:
> >    partition #3 of IDE1 master, partition # (hda) as ext3
> >    partition #7 of IDE1 master, partition # (hda) as ext3
> >                                 ^^^^^^^^^^^^^^^^^
> 
> Karsten has mailed me the full partman log privately, and from that the 
> cause of the problem shows very clearly.
> 
> The device that is passed to partman is:
> /dev/ide/host0/bus0/target0/lun0/part
> 
> The code in partman that interprets this expects either:
> /dev/ide/host0/bus0/target0/lun0/disc
> /dev/ide/host0/bus0/target0/lun0/part1
> 
> But in this case, "part" without a partition number seems to be used for 
> the whole disk, which perfectly explains the display as a partition 
> without partition number.
> We could support this in the relevant partman function, but I'd like to 
> know if this use of "part" to indicate the whole disk is valid first. It 
> could also be a bug, either in the kernel or in udev's devfs 
> compatibility code.
> 
> So, my follow-up questions:
> - what is the output of 'cd /dev/ide/host0/bus0/target0/lun0/; ls -l'?

~ # cd /dev/ide/host0/bus0/target0/lun0/; ls -l
brw-rw----    1 root     root       3,   0 Jan  4 19:07 part
brw-rw----    1 root     root       3,   1 Jan  4 19:07 part1
brw-rw----    1 root     root       3,   2 Jan  4 19:07 part2
brw-rw----    1 root     root       3,   3 Jan  4 19:07 part3
brw-rw----    1 root     root       3,   4 Jan  4 19:07 part4
brw-rw----    1 root     root       3,   5 Jan  4 19:07 part5
brw-rw----    1 root     root       3,   6 Jan  4 19:07 part6
brw-rw----    1 root     root       3,   7 Jan  4 19:07 part7
brw-rw----    1 root     root       3,   8 Jan  4 19:07 part8
/dev/ide/host0/bus0/target0/lun0 #

> - what is the non-devfs representation of this disk (e.g. /dev/hda*) and
>   what devices are present for that?

~ # ls -l /dev/hda*
lrwxrwxrwx    1 root     root           32 Jan  4 19:07 /dev/hda ->
ide/host0/bus0/target0/lun0/part
lrwxrwxrwx    1 root     root           33 Jan  4 19:07 /dev/hda1 ->
ide/host0/bus0/target0/lun0/part1
lrwxrwxrwx    1 root     root           33 Jan  4 19:07 /dev/hda2 ->
ide/host0/bus0/target0/lun0/part2
lrwxrwxrwx    1 root     root           33 Jan  4 19:07 /dev/hda3 ->
ide/host0/bus0/target0/lun0/part3
lrwxrwxrwx    1 root     root           33 Jan  4 19:07 /dev/hda4 ->
ide/host0/bus0/target0/lun0/part4
lrwxrwxrwx    1 root     root           33 Jan  4 19:07 /dev/hda5 ->
ide/host0/bus0/target0/lun0/part5
lrwxrwxrwx    1 root     root           33 Jan  4 19:07 /dev/hda6 ->
ide/host0/bus0/target0/lun0/part6
lrwxrwxrwx    1 root     root           33 Jan  4 19:07 /dev/hda7 ->
ide/host0/bus0/target0/lun0/part7
lrwxrwxrwx    1 root     root           33 Jan  4 19:07 /dev/hda8 ->
ide/host0/bus0/target0/lun0/part8
~ #

> - what driver is being used for this disk controller?

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SWARM IDE driver
ide-swarm: IDE interface at GenBus slot 4
Probing IDE interface ide0...
hda: SAMSUNG SP1604N, ATA DISK drive
hdb: IBM-DHEA-36481, ATA DISK drive
ide0 at 0x90000000100b3e00-0x90000000100b3e07,0x90000000100b7ec0 on irq 36
hda: max request size: 512KiB
hda: 312581808 sectors (160041 MB) w/2048KiB Cache, CHS=19457/255/63
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
hdb: max request size: 128KiB
hdb: 12692736 sectors (6498 MB) w/472KiB Cache, CHS=12592/16/63
hdb: cache flushes not supported
 hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 >

AFAIK the driver uses the generic IDE support, just initialization
is platform specific. Please cf.

http://www.linux-mips.org/git?p=linux.git;a=blob;f=drivers/ide/mips/swarm.c;h=09c9e7936b0dff79c5d44f84732a003f910ca2f5;hb=linux-2.6.18-stable

Regards,
Karsten
-- 
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.



Reply to: