Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2011 12:40:48 +0100
From:      "Marek Salwerowicz" <marek_sal@wp.pl>
To:        "Alexander Motin" <mav@FreeBSD.org>
Cc:        current <current@freebsd.org>
Subject:   Re: Soekris net5501-70 problem with loading ATA modulesonFreeBSD-Current
Message-ID:  <3A3C33C4497548B796EB98EF3216BEB0@marekdesktop>
References:  <mailpost.1295099154.9461759.68423.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw><4D31FF65.6010000@FreeBSD.org><0A45D61F328244969D19C8A45A03F92D@marekdesktop> <4D32209B.3010705@FreeBSD.org> <815E0E902FA54E6C934B5FB01D31045A@marekdesktop> <4D3233D0.9070108@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

>>> 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










Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A3C33C4497548B796EB98EF3216BEB0>