Liquorix kernel doesn't attach SD cards.
Jos.v.W.
Status: Contributor
Joined: 25 Jan 2011
Posts: 57
Reply Quote
SD cards are not attached unless they are already
inserted before booting the liquorix kernel.
No such issue using the Debian kernel 3.5-trunk-amd64.
Back to top
Jos.v.W.
Status: Contributor
Joined: 25 Jan 2011
Posts: 57
Reply Quote
Booting with already inserted SD card,
removing and reinserting the card shows the following kernel errors:
-----
kernel: mmc0: card f80b removed
kernel: mmc0: SD Status: Invalid Allocation Unit size.
kernel: mmc0: new SD card at address f80b
kernel: mmcblk0: mmc0:f80b S032B 29.6 MiB (ro)
kernel: mmcblk0: p1
kernel: mmcblk0: error -84 transferring data, sector 67, nr 32, cmd response 0x900, card status 0xb00
kernel: mmcblk0: retrying using single block read
kernel: mmc0: card f80b removed
kernel: mmc0: SD Status: Invalid Allocation Unit size.
kernel: mmc0: new SD card at address f80b
kernel: mmcblk0: mmc0:f80b S032B 29.6 MiB (ro)
kernel: mmcblk0: p1
-----
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1122
Reply Quote
Jos, I'm not getting the same behavior on my system. Are these the messages you get right after inserting the SD card into your system?

Also, please provide the output of inxi -bxx.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
and also of inxi -pluo
with the ssd card plugged in and active.
Back to top
Liquorix kernel doesn't attach SD cards.
Jos.v.W.
Status: Contributor
Joined: 25 Jan 2011
Posts: 57
Reply Quote
:: damentz wrote ::
Jos, I'm not getting the same behavior on my system. Are these the messages you get right after inserting the SD card into your system?

Also, please provide the output of inxi -bxx.

Yes, I removed and reinserted the card a few times.
When the card wasn't inserted at boot time, nothing happens, no card attached.
Debian's kernel doesn't have that issue.

This isn't a specific 3.6 issue since I always had to insert an sd card prior to booting all previous liquorix kernels too.
Could it be a configuration error?

:: Code ::
System:    Host: debian Kernel: 3.6.0-3.dmz.2-liquorix-amd64 x86_64 (64 bit, gcc: 4.7.2)
           Desktop: Xfce 4.10.0git-922754a (Gtk 2.24.13) dm: lightdm Distro: Debian GNU/Linux wheezy/sid
Machine:   System: Acer (portable) product: TravelMate 4530 version: V1.11 serial: LXTPN0C01491707B691601
           Mobo: Acer model: Elgon serial: LXTPN0C01491707B691601 Bios: Acer version: V1.11 date: 08/06/2008
           Chassis: type: 10 serial: LXTPN0C01491707B691601
CPU:       Dual core AMD Athlon X2 QL-64 (-MCP-) clocked at 2100.00 MHz
Graphics:  Card: Advanced Micro Devices [AMD] nee ATI RS780M/RS780MN [Mobility Radeon HD 3200 Graphics] bus-ID: 01:05.0 chip-ID: 1002:9612
           X.org: 1.13.99 drivers: ati,radeon tty size: 137x24 Advanced Data: N/A for root
Network:   Card-1: Broadcom NetXtreme BCM5764M Gigabit Ethernet PCIe
           driver: tg3 ver: 3.124 bus-ID: 06:00.0 chip-ID: 14e4:1684
           Card-2: Ralink RT2790 Wireless 802.11n 1T/2R PCIe driver: rt2800pci ver: 2.3.0 bus-ID: 05:00.0 chip-ID: 1814:0781
Drives:    HDD Total Size: 250.1GB (20.7% used)
Info:      Processes: 154 Uptime: 19 min Memory: 1523.8/3698.1MB Runlevel: 5 Gcc sys: 4.7.2 Client: Shell inxi: 1.8.20


< Edited by Jos.v.W. :: Oct 25, 12, 21:47 >

Back to top
Jos.v.W.
Status: Contributor
Joined: 25 Jan 2011
Posts: 57
Reply Quote
:: techAdmin wrote ::
and also of inxi -pluo
with the ssd card plugged in and active.

The SD card mmcblk0 is mounted and active,
inxi -pluo:
:: Code ::

Partition: ID: / size: 19G used: 12G (66%) fs: ext4 dev: /dev/sda1
           label: N/A uuid: 6358264e-67bc-4443-a14d-eb08d628aaae
           ID: /home size: 207G used: 49G (25%) fs: ext4 dev: /dev/sda5
           label: N/A uuid: 1769e533-3261-4e61-b86f-d5c8bda5b2dc
           ID: /media/jos/disk size: 30M used: 704K (3%) fs: vfat dev: /dev/mmcblk0p1 label: N/A uuid: N/A
           ID: swap-1 size: 4.95GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
           label: N/A uuid: 0fdfec4a-90ae-4fba-94cd-e8f9c92972e5
           ID: swap-2 size: 1.74GB used: 0.04GB (2%) fs: swap dev: /dev/zram0
           label: N/A uuid: a7f6c659-e2fb-4870-ab87-998cc28b2178
           ID: swap-3 size: 1.74GB used: 0.04GB (2%) fs: swap dev: /dev/zram1
           label: N/A uuid: eb3219cc-401d-411f-8aa9-ddd656387ec0
Unmounted: ID: /dev/sr0 size: 1.07G label: N/A uuid: N/A
           ID: /dev/mmcblk0 size: 0.03G label: N/A uuid: N/A

Back to top
Jos.v.W.
Status: Contributor
Joined: 25 Jan 2011
Posts: 57
Reply Quote
I reverted to kernel 3.5.0-4.dmz.1-liquorix-amd64.
Here no such error "SD Status: Invalid Allocation Unit size"
though the SD card needs to be inserted before booting

:: Code ::
mmc0: card f80b removed
mmc0: new SD card at address f80b
mmcblk0: mmc0:f80b S032B 29.6 MiB (ro)
mmcblk0: p1


P.S. Is there still a copy of kernel 3.5.0-7 on your server?
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1122
Reply Quote
No, there's not. I replaced 3.5 with 3.6 and left 3.4 (a long term kernel) in the past branch.

One last thing, you can try is using a different SD card and try formatting it from scratch. It could be that your specific SD card / SD card adapter is just generally bad or incompatible with partition table setup.

Your last option is to submit a bug report to bugzilla.kernel.org/ if you can create an easy procedure to reproduce this bug.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours