Soekris net5501-70 problem with loading ATA modulesonFreeBSD-Current

Marek Salwerowicz marek_sal at wp.pl
Sun Jan 16 11:40:56 UTC 2011


>>> It would be nice if you enabled verbose kernel messages to get more info.
>> Verbose log in attachment - please see it.
> 
> I've meant log with problem. When you are loading modules on-fly.

so5501a% sudo kldload ata
so5501a% sudo kldload atapci.ko

and dmesg:
pci0: driver added
found-> vendor=0x1022, dev=0x2082, revid=0x00
        domain=0, bus=0, slot=1, func=2
        class=10-10-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0006, statreg=0x0220, cachelnsz=8 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=10
pci0:0:1:2: reprobing on driver added
found-> vendor=0x168c, dev=0x0013, revid=0x01
        domain=0, bus=0, slot=17, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0116, statreg=0x0290, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns)
        intpin=a, irq=15
        powerspec 2  supports D0 D3  current D0
pci0:0:17:0: reprobing on driver added
found-> vendor=0x1022, dev=0x209a, revid=0x01
        domain=0, bus=0, slot=20, func=2
        class=01-01-80, hdrtype=0x00, mfdev=0
        cmdreg=0x0005, statreg=0x02a0, cachelnsz=8 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pci0:0:20:2: reprobing on driver added
atapci0: <AMD ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 20.2 on pci0
ata0: <ATA channel 0> on atapci0
ata0: reset tp1 mask=03 ostat0=60 ostat1=50
ata0: stat0=0x20 err=0x20 lsb=0x20 msb=0x20
ata0: stat1=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=20 stat1=50 devices=0x2
ata0: Identifying devices: 00000002
ata0: New devices: 00000002
ata0-slave: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire
ata1: <ATA channel 1> on atapci0
ata1: reset tp1 mask=00 ostat0=ff ostat1=ff
ata1: Identifying devices: 00000000
ata1: New devices: 00000000
found-> vendor=0x1022, dev=0x2094, revid=0x02
        domain=0, bus=0, slot=21, func=0
        class=0c-03-10, hdrtype=0x00, mfdev=1
        cmdreg=0x0006, statreg=0x0230, cachelnsz=8 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=7
pci0:0:21:0: reprobing on driver added
found-> vendor=0x1022, dev=0x2095, revid=0x02
        domain=0, bus=0, slot=21, func=1
        class=0c-03-20, hdrtype=0x00, mfdev=0
        cmdreg=0x0006, statreg=0x0230, cachelnsz=8 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=7
pci0:0:21:1: reprobing on driver added
pci1: driver added
so5501a%

so5501a%  sudo kldload ataamd
so5501a%  sudo kldload atadisk

dmesg:
ad1: Skipping 80pin cable check
ad1: Skipping 80pin cable check
ad1: setting UDMA33
ad1: 7631MB <LEXAR ATA FLASH CARD 20070228> at ata0-slave UDMA33
ad1: 15630048 sectors [15506C/16H/63S] 1 sectors/interrupt 1 depth queue
GEOM: new disk ad1
GEOM: ad1: media size does not match label.
so5501a%

so5501a% sudo atacontrol list
ATA channel 0:
    Master:      no device present
    Slave:   ad1 <LEXAR ATA FLASH CARD/20070228> ATA/ATAPI revision 4
ATA channel 1:
    Master:      no device present
    Slave:       no device present
so5501a%

So now it works, I am able to mount partition at ad1  ;)



-- 
Marek Salwerowicz









More information about the freebsd-current mailing list